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