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