{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.MediaConvert.Types.AacSpecification
( AacSpecification
( ..,
AacSpecification_MPEG2,
AacSpecification_MPEG4
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype AacSpecification = AacSpecification'
{ AacSpecification -> Text
fromAacSpecification ::
Core.Text
}
deriving stock
( Int -> AacSpecification -> ShowS
[AacSpecification] -> ShowS
AacSpecification -> String
(Int -> AacSpecification -> ShowS)
-> (AacSpecification -> String)
-> ([AacSpecification] -> ShowS)
-> Show AacSpecification
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AacSpecification] -> ShowS
$cshowList :: [AacSpecification] -> ShowS
show :: AacSpecification -> String
$cshow :: AacSpecification -> String
showsPrec :: Int -> AacSpecification -> ShowS
$cshowsPrec :: Int -> AacSpecification -> ShowS
Prelude.Show,
ReadPrec [AacSpecification]
ReadPrec AacSpecification
Int -> ReadS AacSpecification
ReadS [AacSpecification]
(Int -> ReadS AacSpecification)
-> ReadS [AacSpecification]
-> ReadPrec AacSpecification
-> ReadPrec [AacSpecification]
-> Read AacSpecification
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AacSpecification]
$creadListPrec :: ReadPrec [AacSpecification]
readPrec :: ReadPrec AacSpecification
$creadPrec :: ReadPrec AacSpecification
readList :: ReadS [AacSpecification]
$creadList :: ReadS [AacSpecification]
readsPrec :: Int -> ReadS AacSpecification
$creadsPrec :: Int -> ReadS AacSpecification
Prelude.Read,
AacSpecification -> AacSpecification -> Bool
(AacSpecification -> AacSpecification -> Bool)
-> (AacSpecification -> AacSpecification -> Bool)
-> Eq AacSpecification
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AacSpecification -> AacSpecification -> Bool
$c/= :: AacSpecification -> AacSpecification -> Bool
== :: AacSpecification -> AacSpecification -> Bool
$c== :: AacSpecification -> AacSpecification -> Bool
Prelude.Eq,
Eq AacSpecification
Eq AacSpecification
-> (AacSpecification -> AacSpecification -> Ordering)
-> (AacSpecification -> AacSpecification -> Bool)
-> (AacSpecification -> AacSpecification -> Bool)
-> (AacSpecification -> AacSpecification -> Bool)
-> (AacSpecification -> AacSpecification -> Bool)
-> (AacSpecification -> AacSpecification -> AacSpecification)
-> (AacSpecification -> AacSpecification -> AacSpecification)
-> Ord AacSpecification
AacSpecification -> AacSpecification -> Bool
AacSpecification -> AacSpecification -> Ordering
AacSpecification -> AacSpecification -> AacSpecification
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 :: AacSpecification -> AacSpecification -> AacSpecification
$cmin :: AacSpecification -> AacSpecification -> AacSpecification
max :: AacSpecification -> AacSpecification -> AacSpecification
$cmax :: AacSpecification -> AacSpecification -> AacSpecification
>= :: AacSpecification -> AacSpecification -> Bool
$c>= :: AacSpecification -> AacSpecification -> Bool
> :: AacSpecification -> AacSpecification -> Bool
$c> :: AacSpecification -> AacSpecification -> Bool
<= :: AacSpecification -> AacSpecification -> Bool
$c<= :: AacSpecification -> AacSpecification -> Bool
< :: AacSpecification -> AacSpecification -> Bool
$c< :: AacSpecification -> AacSpecification -> Bool
compare :: AacSpecification -> AacSpecification -> Ordering
$ccompare :: AacSpecification -> AacSpecification -> Ordering
$cp1Ord :: Eq AacSpecification
Prelude.Ord,
(forall x. AacSpecification -> Rep AacSpecification x)
-> (forall x. Rep AacSpecification x -> AacSpecification)
-> Generic AacSpecification
forall x. Rep AacSpecification x -> AacSpecification
forall x. AacSpecification -> Rep AacSpecification x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep AacSpecification x -> AacSpecification
$cfrom :: forall x. AacSpecification -> Rep AacSpecification x
Prelude.Generic
)
deriving newtype
( Int -> AacSpecification -> Int
AacSpecification -> Int
(Int -> AacSpecification -> Int)
-> (AacSpecification -> Int) -> Hashable AacSpecification
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: AacSpecification -> Int
$chash :: AacSpecification -> Int
hashWithSalt :: Int -> AacSpecification -> Int
$chashWithSalt :: Int -> AacSpecification -> Int
Prelude.Hashable,
AacSpecification -> ()
(AacSpecification -> ()) -> NFData AacSpecification
forall a. (a -> ()) -> NFData a
rnf :: AacSpecification -> ()
$crnf :: AacSpecification -> ()
Prelude.NFData,
Text -> Either String AacSpecification
(Text -> Either String AacSpecification)
-> FromText AacSpecification
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String AacSpecification
$cfromText :: Text -> Either String AacSpecification
Core.FromText,
AacSpecification -> Text
(AacSpecification -> Text) -> ToText AacSpecification
forall a. (a -> Text) -> ToText a
toText :: AacSpecification -> Text
$ctoText :: AacSpecification -> Text
Core.ToText,
AacSpecification -> ByteString
(AacSpecification -> ByteString) -> ToByteString AacSpecification
forall a. (a -> ByteString) -> ToByteString a
toBS :: AacSpecification -> ByteString
$ctoBS :: AacSpecification -> ByteString
Core.ToByteString,
AacSpecification -> ByteStringBuilder
(AacSpecification -> ByteStringBuilder) -> ToLog AacSpecification
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: AacSpecification -> ByteStringBuilder
$cbuild :: AacSpecification -> ByteStringBuilder
Core.ToLog,
HeaderName -> AacSpecification -> [Header]
(HeaderName -> AacSpecification -> [Header])
-> ToHeader AacSpecification
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> AacSpecification -> [Header]
$ctoHeader :: HeaderName -> AacSpecification -> [Header]
Core.ToHeader,
AacSpecification -> QueryString
(AacSpecification -> QueryString) -> ToQuery AacSpecification
forall a. (a -> QueryString) -> ToQuery a
toQuery :: AacSpecification -> QueryString
$ctoQuery :: AacSpecification -> QueryString
Core.ToQuery,
Value -> Parser [AacSpecification]
Value -> Parser AacSpecification
(Value -> Parser AacSpecification)
-> (Value -> Parser [AacSpecification])
-> FromJSON AacSpecification
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [AacSpecification]
$cparseJSONList :: Value -> Parser [AacSpecification]
parseJSON :: Value -> Parser AacSpecification
$cparseJSON :: Value -> Parser AacSpecification
Core.FromJSON,
FromJSONKeyFunction [AacSpecification]
FromJSONKeyFunction AacSpecification
FromJSONKeyFunction AacSpecification
-> FromJSONKeyFunction [AacSpecification]
-> FromJSONKey AacSpecification
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [AacSpecification]
$cfromJSONKeyList :: FromJSONKeyFunction [AacSpecification]
fromJSONKey :: FromJSONKeyFunction AacSpecification
$cfromJSONKey :: FromJSONKeyFunction AacSpecification
Core.FromJSONKey,
[AacSpecification] -> Encoding
[AacSpecification] -> Value
AacSpecification -> Encoding
AacSpecification -> Value
(AacSpecification -> Value)
-> (AacSpecification -> Encoding)
-> ([AacSpecification] -> Value)
-> ([AacSpecification] -> Encoding)
-> ToJSON AacSpecification
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [AacSpecification] -> Encoding
$ctoEncodingList :: [AacSpecification] -> Encoding
toJSONList :: [AacSpecification] -> Value
$ctoJSONList :: [AacSpecification] -> Value
toEncoding :: AacSpecification -> Encoding
$ctoEncoding :: AacSpecification -> Encoding
toJSON :: AacSpecification -> Value
$ctoJSON :: AacSpecification -> Value
Core.ToJSON,
ToJSONKeyFunction [AacSpecification]
ToJSONKeyFunction AacSpecification
ToJSONKeyFunction AacSpecification
-> ToJSONKeyFunction [AacSpecification]
-> ToJSONKey AacSpecification
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [AacSpecification]
$ctoJSONKeyList :: ToJSONKeyFunction [AacSpecification]
toJSONKey :: ToJSONKeyFunction AacSpecification
$ctoJSONKey :: ToJSONKeyFunction AacSpecification
Core.ToJSONKey,
[Node] -> Either String AacSpecification
([Node] -> Either String AacSpecification)
-> FromXML AacSpecification
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String AacSpecification
$cparseXML :: [Node] -> Either String AacSpecification
Core.FromXML,
AacSpecification -> XML
(AacSpecification -> XML) -> ToXML AacSpecification
forall a. (a -> XML) -> ToXML a
toXML :: AacSpecification -> XML
$ctoXML :: AacSpecification -> XML
Core.ToXML
)
pattern AacSpecification_MPEG2 :: AacSpecification
pattern $bAacSpecification_MPEG2 :: AacSpecification
$mAacSpecification_MPEG2 :: forall r. AacSpecification -> (Void# -> r) -> (Void# -> r) -> r
AacSpecification_MPEG2 = AacSpecification' "MPEG2"
pattern AacSpecification_MPEG4 :: AacSpecification
pattern $bAacSpecification_MPEG4 :: AacSpecification
$mAacSpecification_MPEG4 :: forall r. AacSpecification -> (Void# -> r) -> (Void# -> r) -> r
AacSpecification_MPEG4 = AacSpecification' "MPEG4"
{-# COMPLETE
AacSpecification_MPEG2,
AacSpecification_MPEG4,
AacSpecification'
#-}