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