{-# 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.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype M2tsBufferModel = M2tsBufferModel'
{ M2tsBufferModel -> Text
fromM2tsBufferModel ::
Data.Text
}
deriving stock
( Int -> M2tsBufferModel -> ShowS
[M2tsBufferModel] -> ShowS
M2tsBufferModel -> String
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]
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
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
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
Prelude.Ord,
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
( Eq M2tsBufferModel
Int -> M2tsBufferModel -> Int
M2tsBufferModel -> Int
forall a. Eq 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 -> ()
forall a. (a -> ()) -> NFData a
rnf :: M2tsBufferModel -> ()
$crnf :: M2tsBufferModel -> ()
Prelude.NFData,
Text -> Either String M2tsBufferModel
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String M2tsBufferModel
$cfromText :: Text -> Either String M2tsBufferModel
Data.FromText,
M2tsBufferModel -> Text
forall a. (a -> Text) -> ToText a
toText :: M2tsBufferModel -> Text
$ctoText :: M2tsBufferModel -> Text
Data.ToText,
M2tsBufferModel -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: M2tsBufferModel -> ByteString
$ctoBS :: M2tsBufferModel -> ByteString
Data.ToByteString,
M2tsBufferModel -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: M2tsBufferModel -> ByteStringBuilder
$cbuild :: M2tsBufferModel -> ByteStringBuilder
Data.ToLog,
HeaderName -> M2tsBufferModel -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> M2tsBufferModel -> [Header]
$ctoHeader :: HeaderName -> M2tsBufferModel -> [Header]
Data.ToHeader,
M2tsBufferModel -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: M2tsBufferModel -> QueryString
$ctoQuery :: M2tsBufferModel -> QueryString
Data.ToQuery,
Value -> Parser [M2tsBufferModel]
Value -> Parser 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
Data.FromJSON,
FromJSONKeyFunction [M2tsBufferModel]
FromJSONKeyFunction M2tsBufferModel
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [M2tsBufferModel]
$cfromJSONKeyList :: FromJSONKeyFunction [M2tsBufferModel]
fromJSONKey :: FromJSONKeyFunction M2tsBufferModel
$cfromJSONKey :: FromJSONKeyFunction M2tsBufferModel
Data.FromJSONKey,
[M2tsBufferModel] -> Encoding
[M2tsBufferModel] -> Value
M2tsBufferModel -> Encoding
M2tsBufferModel -> Value
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
Data.ToJSON,
ToJSONKeyFunction [M2tsBufferModel]
ToJSONKeyFunction M2tsBufferModel
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [M2tsBufferModel]
$ctoJSONKeyList :: ToJSONKeyFunction [M2tsBufferModel]
toJSONKey :: ToJSONKeyFunction M2tsBufferModel
$ctoJSONKey :: ToJSONKeyFunction M2tsBufferModel
Data.ToJSONKey,
[Node] -> Either String M2tsBufferModel
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String M2tsBufferModel
$cparseXML :: [Node] -> Either String M2tsBufferModel
Data.FromXML,
M2tsBufferModel -> XML
forall a. (a -> XML) -> ToXML a
toXML :: M2tsBufferModel -> XML
$ctoXML :: M2tsBufferModel -> XML
Data.ToXML
)
pattern M2tsBufferModel_MULTIPLEX :: M2tsBufferModel
pattern $bM2tsBufferModel_MULTIPLEX :: M2tsBufferModel
$mM2tsBufferModel_MULTIPLEX :: forall {r}. M2tsBufferModel -> ((# #) -> r) -> ((# #) -> r) -> r
M2tsBufferModel_MULTIPLEX = M2tsBufferModel' "MULTIPLEX"
pattern M2tsBufferModel_NONE :: M2tsBufferModel
pattern $bM2tsBufferModel_NONE :: M2tsBufferModel
$mM2tsBufferModel_NONE :: forall {r}. M2tsBufferModel -> ((# #) -> r) -> ((# #) -> r) -> r
M2tsBufferModel_NONE = M2tsBufferModel' "NONE"
{-# COMPLETE
M2tsBufferModel_MULTIPLEX,
M2tsBufferModel_NONE,
M2tsBufferModel'
#-}