{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.MediaConvert.Types.Eac3AtmosSurroundExMode
( Eac3AtmosSurroundExMode
( ..,
Eac3AtmosSurroundExMode_DISABLED,
Eac3AtmosSurroundExMode_ENABLED,
Eac3AtmosSurroundExMode_NOT_INDICATED
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype Eac3AtmosSurroundExMode = Eac3AtmosSurroundExMode'
{ Eac3AtmosSurroundExMode -> Text
fromEac3AtmosSurroundExMode ::
Core.Text
}
deriving stock
( Int -> Eac3AtmosSurroundExMode -> ShowS
[Eac3AtmosSurroundExMode] -> ShowS
Eac3AtmosSurroundExMode -> String
(Int -> Eac3AtmosSurroundExMode -> ShowS)
-> (Eac3AtmosSurroundExMode -> String)
-> ([Eac3AtmosSurroundExMode] -> ShowS)
-> Show Eac3AtmosSurroundExMode
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Eac3AtmosSurroundExMode] -> ShowS
$cshowList :: [Eac3AtmosSurroundExMode] -> ShowS
show :: Eac3AtmosSurroundExMode -> String
$cshow :: Eac3AtmosSurroundExMode -> String
showsPrec :: Int -> Eac3AtmosSurroundExMode -> ShowS
$cshowsPrec :: Int -> Eac3AtmosSurroundExMode -> ShowS
Prelude.Show,
ReadPrec [Eac3AtmosSurroundExMode]
ReadPrec Eac3AtmosSurroundExMode
Int -> ReadS Eac3AtmosSurroundExMode
ReadS [Eac3AtmosSurroundExMode]
(Int -> ReadS Eac3AtmosSurroundExMode)
-> ReadS [Eac3AtmosSurroundExMode]
-> ReadPrec Eac3AtmosSurroundExMode
-> ReadPrec [Eac3AtmosSurroundExMode]
-> Read Eac3AtmosSurroundExMode
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [Eac3AtmosSurroundExMode]
$creadListPrec :: ReadPrec [Eac3AtmosSurroundExMode]
readPrec :: ReadPrec Eac3AtmosSurroundExMode
$creadPrec :: ReadPrec Eac3AtmosSurroundExMode
readList :: ReadS [Eac3AtmosSurroundExMode]
$creadList :: ReadS [Eac3AtmosSurroundExMode]
readsPrec :: Int -> ReadS Eac3AtmosSurroundExMode
$creadsPrec :: Int -> ReadS Eac3AtmosSurroundExMode
Prelude.Read,
Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode -> Bool
(Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode -> Bool)
-> (Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode -> Bool)
-> Eq Eac3AtmosSurroundExMode
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode -> Bool
$c/= :: Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode -> Bool
== :: Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode -> Bool
$c== :: Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode -> Bool
Prelude.Eq,
Eq Eac3AtmosSurroundExMode
Eq Eac3AtmosSurroundExMode
-> (Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode -> Ordering)
-> (Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode -> Bool)
-> (Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode -> Bool)
-> (Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode -> Bool)
-> (Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode -> Bool)
-> (Eac3AtmosSurroundExMode
-> Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode)
-> (Eac3AtmosSurroundExMode
-> Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode)
-> Ord Eac3AtmosSurroundExMode
Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode -> Bool
Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode -> Ordering
Eac3AtmosSurroundExMode
-> Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode
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 :: Eac3AtmosSurroundExMode
-> Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode
$cmin :: Eac3AtmosSurroundExMode
-> Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode
max :: Eac3AtmosSurroundExMode
-> Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode
$cmax :: Eac3AtmosSurroundExMode
-> Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode
>= :: Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode -> Bool
$c>= :: Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode -> Bool
> :: Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode -> Bool
$c> :: Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode -> Bool
<= :: Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode -> Bool
$c<= :: Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode -> Bool
< :: Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode -> Bool
$c< :: Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode -> Bool
compare :: Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode -> Ordering
$ccompare :: Eac3AtmosSurroundExMode -> Eac3AtmosSurroundExMode -> Ordering
$cp1Ord :: Eq Eac3AtmosSurroundExMode
Prelude.Ord,
(forall x.
Eac3AtmosSurroundExMode -> Rep Eac3AtmosSurroundExMode x)
-> (forall x.
Rep Eac3AtmosSurroundExMode x -> Eac3AtmosSurroundExMode)
-> Generic Eac3AtmosSurroundExMode
forall x. Rep Eac3AtmosSurroundExMode x -> Eac3AtmosSurroundExMode
forall x. Eac3AtmosSurroundExMode -> Rep Eac3AtmosSurroundExMode x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Eac3AtmosSurroundExMode x -> Eac3AtmosSurroundExMode
$cfrom :: forall x. Eac3AtmosSurroundExMode -> Rep Eac3AtmosSurroundExMode x
Prelude.Generic
)
deriving newtype
( Int -> Eac3AtmosSurroundExMode -> Int
Eac3AtmosSurroundExMode -> Int
(Int -> Eac3AtmosSurroundExMode -> Int)
-> (Eac3AtmosSurroundExMode -> Int)
-> Hashable Eac3AtmosSurroundExMode
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: Eac3AtmosSurroundExMode -> Int
$chash :: Eac3AtmosSurroundExMode -> Int
hashWithSalt :: Int -> Eac3AtmosSurroundExMode -> Int
$chashWithSalt :: Int -> Eac3AtmosSurroundExMode -> Int
Prelude.Hashable,
Eac3AtmosSurroundExMode -> ()
(Eac3AtmosSurroundExMode -> ()) -> NFData Eac3AtmosSurroundExMode
forall a. (a -> ()) -> NFData a
rnf :: Eac3AtmosSurroundExMode -> ()
$crnf :: Eac3AtmosSurroundExMode -> ()
Prelude.NFData,
Text -> Either String Eac3AtmosSurroundExMode
(Text -> Either String Eac3AtmosSurroundExMode)
-> FromText Eac3AtmosSurroundExMode
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String Eac3AtmosSurroundExMode
$cfromText :: Text -> Either String Eac3AtmosSurroundExMode
Core.FromText,
Eac3AtmosSurroundExMode -> Text
(Eac3AtmosSurroundExMode -> Text) -> ToText Eac3AtmosSurroundExMode
forall a. (a -> Text) -> ToText a
toText :: Eac3AtmosSurroundExMode -> Text
$ctoText :: Eac3AtmosSurroundExMode -> Text
Core.ToText,
Eac3AtmosSurroundExMode -> ByteString
(Eac3AtmosSurroundExMode -> ByteString)
-> ToByteString Eac3AtmosSurroundExMode
forall a. (a -> ByteString) -> ToByteString a
toBS :: Eac3AtmosSurroundExMode -> ByteString
$ctoBS :: Eac3AtmosSurroundExMode -> ByteString
Core.ToByteString,
Eac3AtmosSurroundExMode -> ByteStringBuilder
(Eac3AtmosSurroundExMode -> ByteStringBuilder)
-> ToLog Eac3AtmosSurroundExMode
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: Eac3AtmosSurroundExMode -> ByteStringBuilder
$cbuild :: Eac3AtmosSurroundExMode -> ByteStringBuilder
Core.ToLog,
HeaderName -> Eac3AtmosSurroundExMode -> [Header]
(HeaderName -> Eac3AtmosSurroundExMode -> [Header])
-> ToHeader Eac3AtmosSurroundExMode
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> Eac3AtmosSurroundExMode -> [Header]
$ctoHeader :: HeaderName -> Eac3AtmosSurroundExMode -> [Header]
Core.ToHeader,
Eac3AtmosSurroundExMode -> QueryString
(Eac3AtmosSurroundExMode -> QueryString)
-> ToQuery Eac3AtmosSurroundExMode
forall a. (a -> QueryString) -> ToQuery a
toQuery :: Eac3AtmosSurroundExMode -> QueryString
$ctoQuery :: Eac3AtmosSurroundExMode -> QueryString
Core.ToQuery,
Value -> Parser [Eac3AtmosSurroundExMode]
Value -> Parser Eac3AtmosSurroundExMode
(Value -> Parser Eac3AtmosSurroundExMode)
-> (Value -> Parser [Eac3AtmosSurroundExMode])
-> FromJSON Eac3AtmosSurroundExMode
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [Eac3AtmosSurroundExMode]
$cparseJSONList :: Value -> Parser [Eac3AtmosSurroundExMode]
parseJSON :: Value -> Parser Eac3AtmosSurroundExMode
$cparseJSON :: Value -> Parser Eac3AtmosSurroundExMode
Core.FromJSON,
FromJSONKeyFunction [Eac3AtmosSurroundExMode]
FromJSONKeyFunction Eac3AtmosSurroundExMode
FromJSONKeyFunction Eac3AtmosSurroundExMode
-> FromJSONKeyFunction [Eac3AtmosSurroundExMode]
-> FromJSONKey Eac3AtmosSurroundExMode
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [Eac3AtmosSurroundExMode]
$cfromJSONKeyList :: FromJSONKeyFunction [Eac3AtmosSurroundExMode]
fromJSONKey :: FromJSONKeyFunction Eac3AtmosSurroundExMode
$cfromJSONKey :: FromJSONKeyFunction Eac3AtmosSurroundExMode
Core.FromJSONKey,
[Eac3AtmosSurroundExMode] -> Encoding
[Eac3AtmosSurroundExMode] -> Value
Eac3AtmosSurroundExMode -> Encoding
Eac3AtmosSurroundExMode -> Value
(Eac3AtmosSurroundExMode -> Value)
-> (Eac3AtmosSurroundExMode -> Encoding)
-> ([Eac3AtmosSurroundExMode] -> Value)
-> ([Eac3AtmosSurroundExMode] -> Encoding)
-> ToJSON Eac3AtmosSurroundExMode
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [Eac3AtmosSurroundExMode] -> Encoding
$ctoEncodingList :: [Eac3AtmosSurroundExMode] -> Encoding
toJSONList :: [Eac3AtmosSurroundExMode] -> Value
$ctoJSONList :: [Eac3AtmosSurroundExMode] -> Value
toEncoding :: Eac3AtmosSurroundExMode -> Encoding
$ctoEncoding :: Eac3AtmosSurroundExMode -> Encoding
toJSON :: Eac3AtmosSurroundExMode -> Value
$ctoJSON :: Eac3AtmosSurroundExMode -> Value
Core.ToJSON,
ToJSONKeyFunction [Eac3AtmosSurroundExMode]
ToJSONKeyFunction Eac3AtmosSurroundExMode
ToJSONKeyFunction Eac3AtmosSurroundExMode
-> ToJSONKeyFunction [Eac3AtmosSurroundExMode]
-> ToJSONKey Eac3AtmosSurroundExMode
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [Eac3AtmosSurroundExMode]
$ctoJSONKeyList :: ToJSONKeyFunction [Eac3AtmosSurroundExMode]
toJSONKey :: ToJSONKeyFunction Eac3AtmosSurroundExMode
$ctoJSONKey :: ToJSONKeyFunction Eac3AtmosSurroundExMode
Core.ToJSONKey,
[Node] -> Either String Eac3AtmosSurroundExMode
([Node] -> Either String Eac3AtmosSurroundExMode)
-> FromXML Eac3AtmosSurroundExMode
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String Eac3AtmosSurroundExMode
$cparseXML :: [Node] -> Either String Eac3AtmosSurroundExMode
Core.FromXML,
Eac3AtmosSurroundExMode -> XML
(Eac3AtmosSurroundExMode -> XML) -> ToXML Eac3AtmosSurroundExMode
forall a. (a -> XML) -> ToXML a
toXML :: Eac3AtmosSurroundExMode -> XML
$ctoXML :: Eac3AtmosSurroundExMode -> XML
Core.ToXML
)
pattern Eac3AtmosSurroundExMode_DISABLED :: Eac3AtmosSurroundExMode
pattern $bEac3AtmosSurroundExMode_DISABLED :: Eac3AtmosSurroundExMode
$mEac3AtmosSurroundExMode_DISABLED :: forall r.
Eac3AtmosSurroundExMode -> (Void# -> r) -> (Void# -> r) -> r
Eac3AtmosSurroundExMode_DISABLED = Eac3AtmosSurroundExMode' "DISABLED"
pattern Eac3AtmosSurroundExMode_ENABLED :: Eac3AtmosSurroundExMode
pattern $bEac3AtmosSurroundExMode_ENABLED :: Eac3AtmosSurroundExMode
$mEac3AtmosSurroundExMode_ENABLED :: forall r.
Eac3AtmosSurroundExMode -> (Void# -> r) -> (Void# -> r) -> r
Eac3AtmosSurroundExMode_ENABLED = Eac3AtmosSurroundExMode' "ENABLED"
pattern Eac3AtmosSurroundExMode_NOT_INDICATED :: Eac3AtmosSurroundExMode
pattern $bEac3AtmosSurroundExMode_NOT_INDICATED :: Eac3AtmosSurroundExMode
$mEac3AtmosSurroundExMode_NOT_INDICATED :: forall r.
Eac3AtmosSurroundExMode -> (Void# -> r) -> (Void# -> r) -> r
Eac3AtmosSurroundExMode_NOT_INDICATED = Eac3AtmosSurroundExMode' "NOT_INDICATED"
{-# COMPLETE
Eac3AtmosSurroundExMode_DISABLED,
Eac3AtmosSurroundExMode_ENABLED,
Eac3AtmosSurroundExMode_NOT_INDICATED,
Eac3AtmosSurroundExMode'
#-}