{-# 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.Prelude as Prelude
newtype M2tsAribCaptionsPidControl = M2tsAribCaptionsPidControl'
{ M2tsAribCaptionsPidControl -> Text
fromM2tsAribCaptionsPidControl ::
Core.Text
}
deriving stock
( Int -> M2tsAribCaptionsPidControl -> ShowS
[M2tsAribCaptionsPidControl] -> ShowS
M2tsAribCaptionsPidControl -> String
(Int -> M2tsAribCaptionsPidControl -> ShowS)
-> (M2tsAribCaptionsPidControl -> String)
-> ([M2tsAribCaptionsPidControl] -> ShowS)
-> Show M2tsAribCaptionsPidControl
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]
(Int -> ReadS M2tsAribCaptionsPidControl)
-> ReadS [M2tsAribCaptionsPidControl]
-> ReadPrec M2tsAribCaptionsPidControl
-> ReadPrec [M2tsAribCaptionsPidControl]
-> Read 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
(M2tsAribCaptionsPidControl -> M2tsAribCaptionsPidControl -> Bool)
-> (M2tsAribCaptionsPidControl
-> M2tsAribCaptionsPidControl -> Bool)
-> Eq M2tsAribCaptionsPidControl
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
Eq M2tsAribCaptionsPidControl
-> (M2tsAribCaptionsPidControl
-> M2tsAribCaptionsPidControl -> Ordering)
-> (M2tsAribCaptionsPidControl
-> M2tsAribCaptionsPidControl -> Bool)
-> (M2tsAribCaptionsPidControl
-> M2tsAribCaptionsPidControl -> Bool)
-> (M2tsAribCaptionsPidControl
-> M2tsAribCaptionsPidControl -> Bool)
-> (M2tsAribCaptionsPidControl
-> M2tsAribCaptionsPidControl -> Bool)
-> (M2tsAribCaptionsPidControl
-> M2tsAribCaptionsPidControl -> M2tsAribCaptionsPidControl)
-> (M2tsAribCaptionsPidControl
-> M2tsAribCaptionsPidControl -> M2tsAribCaptionsPidControl)
-> Ord 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
$cp1Ord :: Eq M2tsAribCaptionsPidControl
Prelude.Ord,
(forall x.
M2tsAribCaptionsPidControl -> Rep M2tsAribCaptionsPidControl x)
-> (forall x.
Rep M2tsAribCaptionsPidControl x -> M2tsAribCaptionsPidControl)
-> Generic M2tsAribCaptionsPidControl
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
( Int -> M2tsAribCaptionsPidControl -> Int
M2tsAribCaptionsPidControl -> Int
(Int -> M2tsAribCaptionsPidControl -> Int)
-> (M2tsAribCaptionsPidControl -> Int)
-> Hashable M2tsAribCaptionsPidControl
forall 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 -> ()
(M2tsAribCaptionsPidControl -> ())
-> NFData M2tsAribCaptionsPidControl
forall a. (a -> ()) -> NFData a
rnf :: M2tsAribCaptionsPidControl -> ()
$crnf :: M2tsAribCaptionsPidControl -> ()
Prelude.NFData,
Text -> Either String M2tsAribCaptionsPidControl
(Text -> Either String M2tsAribCaptionsPidControl)
-> FromText M2tsAribCaptionsPidControl
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String M2tsAribCaptionsPidControl
$cfromText :: Text -> Either String M2tsAribCaptionsPidControl
Core.FromText,
M2tsAribCaptionsPidControl -> Text
(M2tsAribCaptionsPidControl -> Text)
-> ToText M2tsAribCaptionsPidControl
forall a. (a -> Text) -> ToText a
toText :: M2tsAribCaptionsPidControl -> Text
$ctoText :: M2tsAribCaptionsPidControl -> Text
Core.ToText,
M2tsAribCaptionsPidControl -> ByteString
(M2tsAribCaptionsPidControl -> ByteString)
-> ToByteString M2tsAribCaptionsPidControl
forall a. (a -> ByteString) -> ToByteString a
toBS :: M2tsAribCaptionsPidControl -> ByteString
$ctoBS :: M2tsAribCaptionsPidControl -> ByteString
Core.ToByteString,
M2tsAribCaptionsPidControl -> ByteStringBuilder
(M2tsAribCaptionsPidControl -> ByteStringBuilder)
-> ToLog M2tsAribCaptionsPidControl
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: M2tsAribCaptionsPidControl -> ByteStringBuilder
$cbuild :: M2tsAribCaptionsPidControl -> ByteStringBuilder
Core.ToLog,
HeaderName -> M2tsAribCaptionsPidControl -> [Header]
(HeaderName -> M2tsAribCaptionsPidControl -> [Header])
-> ToHeader M2tsAribCaptionsPidControl
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> M2tsAribCaptionsPidControl -> [Header]
$ctoHeader :: HeaderName -> M2tsAribCaptionsPidControl -> [Header]
Core.ToHeader,
M2tsAribCaptionsPidControl -> QueryString
(M2tsAribCaptionsPidControl -> QueryString)
-> ToQuery M2tsAribCaptionsPidControl
forall a. (a -> QueryString) -> ToQuery a
toQuery :: M2tsAribCaptionsPidControl -> QueryString
$ctoQuery :: M2tsAribCaptionsPidControl -> QueryString
Core.ToQuery,
Value -> Parser [M2tsAribCaptionsPidControl]
Value -> Parser M2tsAribCaptionsPidControl
(Value -> Parser M2tsAribCaptionsPidControl)
-> (Value -> Parser [M2tsAribCaptionsPidControl])
-> FromJSON 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
Core.FromJSON,
FromJSONKeyFunction [M2tsAribCaptionsPidControl]
FromJSONKeyFunction M2tsAribCaptionsPidControl
FromJSONKeyFunction M2tsAribCaptionsPidControl
-> FromJSONKeyFunction [M2tsAribCaptionsPidControl]
-> FromJSONKey M2tsAribCaptionsPidControl
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [M2tsAribCaptionsPidControl]
$cfromJSONKeyList :: FromJSONKeyFunction [M2tsAribCaptionsPidControl]
fromJSONKey :: FromJSONKeyFunction M2tsAribCaptionsPidControl
$cfromJSONKey :: FromJSONKeyFunction M2tsAribCaptionsPidControl
Core.FromJSONKey,
[M2tsAribCaptionsPidControl] -> Encoding
[M2tsAribCaptionsPidControl] -> Value
M2tsAribCaptionsPidControl -> Encoding
M2tsAribCaptionsPidControl -> Value
(M2tsAribCaptionsPidControl -> Value)
-> (M2tsAribCaptionsPidControl -> Encoding)
-> ([M2tsAribCaptionsPidControl] -> Value)
-> ([M2tsAribCaptionsPidControl] -> Encoding)
-> ToJSON M2tsAribCaptionsPidControl
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
Core.ToJSON,
ToJSONKeyFunction [M2tsAribCaptionsPidControl]
ToJSONKeyFunction M2tsAribCaptionsPidControl
ToJSONKeyFunction M2tsAribCaptionsPidControl
-> ToJSONKeyFunction [M2tsAribCaptionsPidControl]
-> ToJSONKey M2tsAribCaptionsPidControl
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [M2tsAribCaptionsPidControl]
$ctoJSONKeyList :: ToJSONKeyFunction [M2tsAribCaptionsPidControl]
toJSONKey :: ToJSONKeyFunction M2tsAribCaptionsPidControl
$ctoJSONKey :: ToJSONKeyFunction M2tsAribCaptionsPidControl
Core.ToJSONKey,
[Node] -> Either String M2tsAribCaptionsPidControl
([Node] -> Either String M2tsAribCaptionsPidControl)
-> FromXML M2tsAribCaptionsPidControl
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String M2tsAribCaptionsPidControl
$cparseXML :: [Node] -> Either String M2tsAribCaptionsPidControl
Core.FromXML,
M2tsAribCaptionsPidControl -> XML
(M2tsAribCaptionsPidControl -> XML)
-> ToXML M2tsAribCaptionsPidControl
forall a. (a -> XML) -> ToXML a
toXML :: M2tsAribCaptionsPidControl -> XML
$ctoXML :: M2tsAribCaptionsPidControl -> XML
Core.ToXML
)
pattern M2tsAribCaptionsPidControl_AUTO :: M2tsAribCaptionsPidControl
pattern $bM2tsAribCaptionsPidControl_AUTO :: M2tsAribCaptionsPidControl
$mM2tsAribCaptionsPidControl_AUTO :: forall r.
M2tsAribCaptionsPidControl -> (Void# -> r) -> (Void# -> r) -> r
M2tsAribCaptionsPidControl_AUTO = M2tsAribCaptionsPidControl' "AUTO"
pattern M2tsAribCaptionsPidControl_USE_CONFIGURED :: M2tsAribCaptionsPidControl
pattern $bM2tsAribCaptionsPidControl_USE_CONFIGURED :: M2tsAribCaptionsPidControl
$mM2tsAribCaptionsPidControl_USE_CONFIGURED :: forall r.
M2tsAribCaptionsPidControl -> (Void# -> r) -> (Void# -> r) -> r
M2tsAribCaptionsPidControl_USE_CONFIGURED = M2tsAribCaptionsPidControl' "USE_CONFIGURED"
{-# COMPLETE
M2tsAribCaptionsPidControl_AUTO,
M2tsAribCaptionsPidControl_USE_CONFIGURED,
M2tsAribCaptionsPidControl'
#-}