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