{-# 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.M2tsAribCaptionsPidControl
( M2tsAribCaptionsPidControl
( ..,
M2tsAribCaptionsPidControl_AUTO,
M2tsAribCaptionsPidControl_USE_CONFIGURED
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype M2tsAribCaptionsPidControl = M2tsAribCaptionsPidControl'
{ M2tsAribCaptionsPidControl -> Text
fromM2tsAribCaptionsPidControl ::
Data.Text
}
deriving stock
( Int -> M2tsAribCaptionsPidControl -> ShowS
[M2tsAribCaptionsPidControl] -> ShowS
M2tsAribCaptionsPidControl -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [M2tsAribCaptionsPidControl] -> ShowS
$cshowList :: [M2tsAribCaptionsPidControl] -> ShowS
show :: M2tsAribCaptionsPidControl -> String
$cshow :: M2tsAribCaptionsPidControl -> String
showsPrec :: Int -> M2tsAribCaptionsPidControl -> ShowS
$cshowsPrec :: Int -> M2tsAribCaptionsPidControl -> ShowS
Prelude.Show,
ReadPrec [M2tsAribCaptionsPidControl]
ReadPrec M2tsAribCaptionsPidControl
Int -> ReadS M2tsAribCaptionsPidControl
ReadS [M2tsAribCaptionsPidControl]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [M2tsAribCaptionsPidControl]
$creadListPrec :: ReadPrec [M2tsAribCaptionsPidControl]
readPrec :: ReadPrec M2tsAribCaptionsPidControl
$creadPrec :: ReadPrec M2tsAribCaptionsPidControl
readList :: ReadS [M2tsAribCaptionsPidControl]
$creadList :: ReadS [M2tsAribCaptionsPidControl]
readsPrec :: Int -> ReadS M2tsAribCaptionsPidControl
$creadsPrec :: Int -> ReadS M2tsAribCaptionsPidControl
Prelude.Read,
M2tsAribCaptionsPidControl -> M2tsAribCaptionsPidControl -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: M2tsAribCaptionsPidControl -> M2tsAribCaptionsPidControl -> Bool
$c/= :: M2tsAribCaptionsPidControl -> M2tsAribCaptionsPidControl -> Bool
== :: M2tsAribCaptionsPidControl -> M2tsAribCaptionsPidControl -> Bool
$c== :: M2tsAribCaptionsPidControl -> M2tsAribCaptionsPidControl -> Bool
Prelude.Eq,
Eq M2tsAribCaptionsPidControl
M2tsAribCaptionsPidControl -> M2tsAribCaptionsPidControl -> Bool
M2tsAribCaptionsPidControl
-> M2tsAribCaptionsPidControl -> Ordering
M2tsAribCaptionsPidControl
-> M2tsAribCaptionsPidControl -> M2tsAribCaptionsPidControl
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 :: M2tsAribCaptionsPidControl
-> M2tsAribCaptionsPidControl -> M2tsAribCaptionsPidControl
$cmin :: M2tsAribCaptionsPidControl
-> M2tsAribCaptionsPidControl -> M2tsAribCaptionsPidControl
max :: M2tsAribCaptionsPidControl
-> M2tsAribCaptionsPidControl -> M2tsAribCaptionsPidControl
$cmax :: M2tsAribCaptionsPidControl
-> M2tsAribCaptionsPidControl -> M2tsAribCaptionsPidControl
>= :: M2tsAribCaptionsPidControl -> M2tsAribCaptionsPidControl -> Bool
$c>= :: M2tsAribCaptionsPidControl -> M2tsAribCaptionsPidControl -> Bool
> :: M2tsAribCaptionsPidControl -> M2tsAribCaptionsPidControl -> Bool
$c> :: M2tsAribCaptionsPidControl -> M2tsAribCaptionsPidControl -> Bool
<= :: M2tsAribCaptionsPidControl -> M2tsAribCaptionsPidControl -> Bool
$c<= :: M2tsAribCaptionsPidControl -> M2tsAribCaptionsPidControl -> Bool
< :: M2tsAribCaptionsPidControl -> M2tsAribCaptionsPidControl -> Bool
$c< :: M2tsAribCaptionsPidControl -> M2tsAribCaptionsPidControl -> Bool
compare :: M2tsAribCaptionsPidControl
-> M2tsAribCaptionsPidControl -> Ordering
$ccompare :: M2tsAribCaptionsPidControl
-> M2tsAribCaptionsPidControl -> Ordering
Prelude.Ord,
forall x.
Rep M2tsAribCaptionsPidControl x -> M2tsAribCaptionsPidControl
forall x.
M2tsAribCaptionsPidControl -> Rep M2tsAribCaptionsPidControl x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep M2tsAribCaptionsPidControl x -> M2tsAribCaptionsPidControl
$cfrom :: forall x.
M2tsAribCaptionsPidControl -> Rep M2tsAribCaptionsPidControl x
Prelude.Generic
)
deriving newtype
( Eq M2tsAribCaptionsPidControl
Int -> M2tsAribCaptionsPidControl -> Int
M2tsAribCaptionsPidControl -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: M2tsAribCaptionsPidControl -> Int
$chash :: M2tsAribCaptionsPidControl -> Int
hashWithSalt :: Int -> M2tsAribCaptionsPidControl -> Int
$chashWithSalt :: Int -> M2tsAribCaptionsPidControl -> Int
Prelude.Hashable,
M2tsAribCaptionsPidControl -> ()
forall a. (a -> ()) -> NFData a
rnf :: M2tsAribCaptionsPidControl -> ()
$crnf :: M2tsAribCaptionsPidControl -> ()
Prelude.NFData,
Text -> Either String M2tsAribCaptionsPidControl
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String M2tsAribCaptionsPidControl
$cfromText :: Text -> Either String M2tsAribCaptionsPidControl
Data.FromText,
M2tsAribCaptionsPidControl -> Text
forall a. (a -> Text) -> ToText a
toText :: M2tsAribCaptionsPidControl -> Text
$ctoText :: M2tsAribCaptionsPidControl -> Text
Data.ToText,
M2tsAribCaptionsPidControl -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: M2tsAribCaptionsPidControl -> ByteString
$ctoBS :: M2tsAribCaptionsPidControl -> ByteString
Data.ToByteString,
M2tsAribCaptionsPidControl -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: M2tsAribCaptionsPidControl -> ByteStringBuilder
$cbuild :: M2tsAribCaptionsPidControl -> ByteStringBuilder
Data.ToLog,
HeaderName -> M2tsAribCaptionsPidControl -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> M2tsAribCaptionsPidControl -> [Header]
$ctoHeader :: HeaderName -> M2tsAribCaptionsPidControl -> [Header]
Data.ToHeader,
M2tsAribCaptionsPidControl -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: M2tsAribCaptionsPidControl -> QueryString
$ctoQuery :: M2tsAribCaptionsPidControl -> QueryString
Data.ToQuery,
Value -> Parser [M2tsAribCaptionsPidControl]
Value -> Parser M2tsAribCaptionsPidControl
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [M2tsAribCaptionsPidControl]
$cparseJSONList :: Value -> Parser [M2tsAribCaptionsPidControl]
parseJSON :: Value -> Parser M2tsAribCaptionsPidControl
$cparseJSON :: Value -> Parser M2tsAribCaptionsPidControl
Data.FromJSON,
FromJSONKeyFunction [M2tsAribCaptionsPidControl]
FromJSONKeyFunction M2tsAribCaptionsPidControl
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [M2tsAribCaptionsPidControl]
$cfromJSONKeyList :: FromJSONKeyFunction [M2tsAribCaptionsPidControl]
fromJSONKey :: FromJSONKeyFunction M2tsAribCaptionsPidControl
$cfromJSONKey :: FromJSONKeyFunction M2tsAribCaptionsPidControl
Data.FromJSONKey,
[M2tsAribCaptionsPidControl] -> Encoding
[M2tsAribCaptionsPidControl] -> Value
M2tsAribCaptionsPidControl -> Encoding
M2tsAribCaptionsPidControl -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [M2tsAribCaptionsPidControl] -> Encoding
$ctoEncodingList :: [M2tsAribCaptionsPidControl] -> Encoding
toJSONList :: [M2tsAribCaptionsPidControl] -> Value
$ctoJSONList :: [M2tsAribCaptionsPidControl] -> Value
toEncoding :: M2tsAribCaptionsPidControl -> Encoding
$ctoEncoding :: M2tsAribCaptionsPidControl -> Encoding
toJSON :: M2tsAribCaptionsPidControl -> Value
$ctoJSON :: M2tsAribCaptionsPidControl -> Value
Data.ToJSON,
ToJSONKeyFunction [M2tsAribCaptionsPidControl]
ToJSONKeyFunction M2tsAribCaptionsPidControl
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [M2tsAribCaptionsPidControl]
$ctoJSONKeyList :: ToJSONKeyFunction [M2tsAribCaptionsPidControl]
toJSONKey :: ToJSONKeyFunction M2tsAribCaptionsPidControl
$ctoJSONKey :: ToJSONKeyFunction M2tsAribCaptionsPidControl
Data.ToJSONKey,
[Node] -> Either String M2tsAribCaptionsPidControl
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String M2tsAribCaptionsPidControl
$cparseXML :: [Node] -> Either String M2tsAribCaptionsPidControl
Data.FromXML,
M2tsAribCaptionsPidControl -> XML
forall a. (a -> XML) -> ToXML a
toXML :: M2tsAribCaptionsPidControl -> XML
$ctoXML :: M2tsAribCaptionsPidControl -> XML
Data.ToXML
)
pattern M2tsAribCaptionsPidControl_AUTO :: M2tsAribCaptionsPidControl
pattern $bM2tsAribCaptionsPidControl_AUTO :: M2tsAribCaptionsPidControl
$mM2tsAribCaptionsPidControl_AUTO :: forall {r}.
M2tsAribCaptionsPidControl -> ((# #) -> r) -> ((# #) -> r) -> r
M2tsAribCaptionsPidControl_AUTO = M2tsAribCaptionsPidControl' "AUTO"
pattern M2tsAribCaptionsPidControl_USE_CONFIGURED :: M2tsAribCaptionsPidControl
pattern $bM2tsAribCaptionsPidControl_USE_CONFIGURED :: M2tsAribCaptionsPidControl
$mM2tsAribCaptionsPidControl_USE_CONFIGURED :: forall {r}.
M2tsAribCaptionsPidControl -> ((# #) -> r) -> ((# #) -> r) -> r
M2tsAribCaptionsPidControl_USE_CONFIGURED = M2tsAribCaptionsPidControl' "USE_CONFIGURED"
{-# COMPLETE
M2tsAribCaptionsPidControl_AUTO,
M2tsAribCaptionsPidControl_USE_CONFIGURED,
M2tsAribCaptionsPidControl'
#-}