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