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