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