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