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