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