{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.MediaLive.Types.M2tsBufferModel
( M2tsBufferModel
( ..,
M2tsBufferModel_MULTIPLEX,
M2tsBufferModel_NONE
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype M2tsBufferModel = M2tsBufferModel'
{ M2tsBufferModel -> Text
fromM2tsBufferModel ::
Core.Text
}
deriving stock
( Int -> M2tsBufferModel -> ShowS
[M2tsBufferModel] -> ShowS
M2tsBufferModel -> String
(Int -> M2tsBufferModel -> ShowS)
-> (M2tsBufferModel -> String)
-> ([M2tsBufferModel] -> ShowS)
-> Show M2tsBufferModel
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [M2tsBufferModel] -> ShowS
$cshowList :: [M2tsBufferModel] -> ShowS
show :: M2tsBufferModel -> String
$cshow :: M2tsBufferModel -> String
showsPrec :: Int -> M2tsBufferModel -> ShowS
$cshowsPrec :: Int -> M2tsBufferModel -> ShowS
Prelude.Show,
ReadPrec [M2tsBufferModel]
ReadPrec M2tsBufferModel
Int -> ReadS M2tsBufferModel
ReadS [M2tsBufferModel]
(Int -> ReadS M2tsBufferModel)
-> ReadS [M2tsBufferModel]
-> ReadPrec M2tsBufferModel
-> ReadPrec [M2tsBufferModel]
-> Read M2tsBufferModel
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [M2tsBufferModel]
$creadListPrec :: ReadPrec [M2tsBufferModel]
readPrec :: ReadPrec M2tsBufferModel
$creadPrec :: ReadPrec M2tsBufferModel
readList :: ReadS [M2tsBufferModel]
$creadList :: ReadS [M2tsBufferModel]
readsPrec :: Int -> ReadS M2tsBufferModel
$creadsPrec :: Int -> ReadS M2tsBufferModel
Prelude.Read,
M2tsBufferModel -> M2tsBufferModel -> Bool
(M2tsBufferModel -> M2tsBufferModel -> Bool)
-> (M2tsBufferModel -> M2tsBufferModel -> Bool)
-> Eq M2tsBufferModel
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: M2tsBufferModel -> M2tsBufferModel -> Bool
$c/= :: M2tsBufferModel -> M2tsBufferModel -> Bool
== :: M2tsBufferModel -> M2tsBufferModel -> Bool
$c== :: M2tsBufferModel -> M2tsBufferModel -> Bool
Prelude.Eq,
Eq M2tsBufferModel
Eq M2tsBufferModel
-> (M2tsBufferModel -> M2tsBufferModel -> Ordering)
-> (M2tsBufferModel -> M2tsBufferModel -> Bool)
-> (M2tsBufferModel -> M2tsBufferModel -> Bool)
-> (M2tsBufferModel -> M2tsBufferModel -> Bool)
-> (M2tsBufferModel -> M2tsBufferModel -> Bool)
-> (M2tsBufferModel -> M2tsBufferModel -> M2tsBufferModel)
-> (M2tsBufferModel -> M2tsBufferModel -> M2tsBufferModel)
-> Ord M2tsBufferModel
M2tsBufferModel -> M2tsBufferModel -> Bool
M2tsBufferModel -> M2tsBufferModel -> Ordering
M2tsBufferModel -> M2tsBufferModel -> M2tsBufferModel
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: M2tsBufferModel -> M2tsBufferModel -> M2tsBufferModel
$cmin :: M2tsBufferModel -> M2tsBufferModel -> M2tsBufferModel
max :: M2tsBufferModel -> M2tsBufferModel -> M2tsBufferModel
$cmax :: M2tsBufferModel -> M2tsBufferModel -> M2tsBufferModel
>= :: M2tsBufferModel -> M2tsBufferModel -> Bool
$c>= :: M2tsBufferModel -> M2tsBufferModel -> Bool
> :: M2tsBufferModel -> M2tsBufferModel -> Bool
$c> :: M2tsBufferModel -> M2tsBufferModel -> Bool
<= :: M2tsBufferModel -> M2tsBufferModel -> Bool
$c<= :: M2tsBufferModel -> M2tsBufferModel -> Bool
< :: M2tsBufferModel -> M2tsBufferModel -> Bool
$c< :: M2tsBufferModel -> M2tsBufferModel -> Bool
compare :: M2tsBufferModel -> M2tsBufferModel -> Ordering
$ccompare :: M2tsBufferModel -> M2tsBufferModel -> Ordering
$cp1Ord :: Eq M2tsBufferModel
Prelude.Ord,
(forall x. M2tsBufferModel -> Rep M2tsBufferModel x)
-> (forall x. Rep M2tsBufferModel x -> M2tsBufferModel)
-> Generic M2tsBufferModel
forall x. Rep M2tsBufferModel x -> M2tsBufferModel
forall x. M2tsBufferModel -> Rep M2tsBufferModel x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep M2tsBufferModel x -> M2tsBufferModel
$cfrom :: forall x. M2tsBufferModel -> Rep M2tsBufferModel x
Prelude.Generic
)
deriving newtype
( Int -> M2tsBufferModel -> Int
M2tsBufferModel -> Int
(Int -> M2tsBufferModel -> Int)
-> (M2tsBufferModel -> Int) -> Hashable M2tsBufferModel
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: M2tsBufferModel -> Int
$chash :: M2tsBufferModel -> Int
hashWithSalt :: Int -> M2tsBufferModel -> Int
$chashWithSalt :: Int -> M2tsBufferModel -> Int
Prelude.Hashable,
M2tsBufferModel -> ()
(M2tsBufferModel -> ()) -> NFData M2tsBufferModel
forall a. (a -> ()) -> NFData a
rnf :: M2tsBufferModel -> ()
$crnf :: M2tsBufferModel -> ()
Prelude.NFData,
Text -> Either String M2tsBufferModel
(Text -> Either String M2tsBufferModel) -> FromText M2tsBufferModel
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String M2tsBufferModel
$cfromText :: Text -> Either String M2tsBufferModel
Core.FromText,
M2tsBufferModel -> Text
(M2tsBufferModel -> Text) -> ToText M2tsBufferModel
forall a. (a -> Text) -> ToText a
toText :: M2tsBufferModel -> Text
$ctoText :: M2tsBufferModel -> Text
Core.ToText,
M2tsBufferModel -> ByteString
(M2tsBufferModel -> ByteString) -> ToByteString M2tsBufferModel
forall a. (a -> ByteString) -> ToByteString a
toBS :: M2tsBufferModel -> ByteString
$ctoBS :: M2tsBufferModel -> ByteString
Core.ToByteString,
M2tsBufferModel -> ByteStringBuilder
(M2tsBufferModel -> ByteStringBuilder) -> ToLog M2tsBufferModel
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: M2tsBufferModel -> ByteStringBuilder
$cbuild :: M2tsBufferModel -> ByteStringBuilder
Core.ToLog,
HeaderName -> M2tsBufferModel -> [Header]
(HeaderName -> M2tsBufferModel -> [Header])
-> ToHeader M2tsBufferModel
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> M2tsBufferModel -> [Header]
$ctoHeader :: HeaderName -> M2tsBufferModel -> [Header]
Core.ToHeader,
M2tsBufferModel -> QueryString
(M2tsBufferModel -> QueryString) -> ToQuery M2tsBufferModel
forall a. (a -> QueryString) -> ToQuery a
toQuery :: M2tsBufferModel -> QueryString
$ctoQuery :: M2tsBufferModel -> QueryString
Core.ToQuery,
Value -> Parser [M2tsBufferModel]
Value -> Parser M2tsBufferModel
(Value -> Parser M2tsBufferModel)
-> (Value -> Parser [M2tsBufferModel]) -> FromJSON M2tsBufferModel
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [M2tsBufferModel]
$cparseJSONList :: Value -> Parser [M2tsBufferModel]
parseJSON :: Value -> Parser M2tsBufferModel
$cparseJSON :: Value -> Parser M2tsBufferModel
Core.FromJSON,
FromJSONKeyFunction [M2tsBufferModel]
FromJSONKeyFunction M2tsBufferModel
FromJSONKeyFunction M2tsBufferModel
-> FromJSONKeyFunction [M2tsBufferModel]
-> FromJSONKey M2tsBufferModel
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [M2tsBufferModel]
$cfromJSONKeyList :: FromJSONKeyFunction [M2tsBufferModel]
fromJSONKey :: FromJSONKeyFunction M2tsBufferModel
$cfromJSONKey :: FromJSONKeyFunction M2tsBufferModel
Core.FromJSONKey,
[M2tsBufferModel] -> Encoding
[M2tsBufferModel] -> Value
M2tsBufferModel -> Encoding
M2tsBufferModel -> Value
(M2tsBufferModel -> Value)
-> (M2tsBufferModel -> Encoding)
-> ([M2tsBufferModel] -> Value)
-> ([M2tsBufferModel] -> Encoding)
-> ToJSON M2tsBufferModel
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [M2tsBufferModel] -> Encoding
$ctoEncodingList :: [M2tsBufferModel] -> Encoding
toJSONList :: [M2tsBufferModel] -> Value
$ctoJSONList :: [M2tsBufferModel] -> Value
toEncoding :: M2tsBufferModel -> Encoding
$ctoEncoding :: M2tsBufferModel -> Encoding
toJSON :: M2tsBufferModel -> Value
$ctoJSON :: M2tsBufferModel -> Value
Core.ToJSON,
ToJSONKeyFunction [M2tsBufferModel]
ToJSONKeyFunction M2tsBufferModel
ToJSONKeyFunction M2tsBufferModel
-> ToJSONKeyFunction [M2tsBufferModel] -> ToJSONKey M2tsBufferModel
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [M2tsBufferModel]
$ctoJSONKeyList :: ToJSONKeyFunction [M2tsBufferModel]
toJSONKey :: ToJSONKeyFunction M2tsBufferModel
$ctoJSONKey :: ToJSONKeyFunction M2tsBufferModel
Core.ToJSONKey,
[Node] -> Either String M2tsBufferModel
([Node] -> Either String M2tsBufferModel)
-> FromXML M2tsBufferModel
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String M2tsBufferModel
$cparseXML :: [Node] -> Either String M2tsBufferModel
Core.FromXML,
M2tsBufferModel -> XML
(M2tsBufferModel -> XML) -> ToXML M2tsBufferModel
forall a. (a -> XML) -> ToXML a
toXML :: M2tsBufferModel -> XML
$ctoXML :: M2tsBufferModel -> XML
Core.ToXML
)
pattern M2tsBufferModel_MULTIPLEX :: M2tsBufferModel
pattern $bM2tsBufferModel_MULTIPLEX :: M2tsBufferModel
$mM2tsBufferModel_MULTIPLEX :: forall r. M2tsBufferModel -> (Void# -> r) -> (Void# -> r) -> r
M2tsBufferModel_MULTIPLEX = M2tsBufferModel' "MULTIPLEX"
pattern M2tsBufferModel_NONE :: M2tsBufferModel
pattern $bM2tsBufferModel_NONE :: M2tsBufferModel
$mM2tsBufferModel_NONE :: forall r. M2tsBufferModel -> (Void# -> r) -> (Void# -> r) -> r
M2tsBufferModel_NONE = M2tsBufferModel' "NONE"
{-# COMPLETE
M2tsBufferModel_MULTIPLEX,
M2tsBufferModel_NONE,
M2tsBufferModel'
#-}