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