{-# 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.H265CodecLevel
( H265CodecLevel
( ..,
H265CodecLevel_AUTO,
H265CodecLevel_LEVEL_1,
H265CodecLevel_LEVEL_2,
H265CodecLevel_LEVEL_2_1,
H265CodecLevel_LEVEL_3,
H265CodecLevel_LEVEL_3_1,
H265CodecLevel_LEVEL_4,
H265CodecLevel_LEVEL_4_1,
H265CodecLevel_LEVEL_5,
H265CodecLevel_LEVEL_5_1,
H265CodecLevel_LEVEL_5_2,
H265CodecLevel_LEVEL_6,
H265CodecLevel_LEVEL_6_1,
H265CodecLevel_LEVEL_6_2
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype H265CodecLevel = H265CodecLevel'
{ H265CodecLevel -> Text
fromH265CodecLevel ::
Core.Text
}
deriving stock
( Int -> H265CodecLevel -> ShowS
[H265CodecLevel] -> ShowS
H265CodecLevel -> String
(Int -> H265CodecLevel -> ShowS)
-> (H265CodecLevel -> String)
-> ([H265CodecLevel] -> ShowS)
-> Show H265CodecLevel
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [H265CodecLevel] -> ShowS
$cshowList :: [H265CodecLevel] -> ShowS
show :: H265CodecLevel -> String
$cshow :: H265CodecLevel -> String
showsPrec :: Int -> H265CodecLevel -> ShowS
$cshowsPrec :: Int -> H265CodecLevel -> ShowS
Prelude.Show,
ReadPrec [H265CodecLevel]
ReadPrec H265CodecLevel
Int -> ReadS H265CodecLevel
ReadS [H265CodecLevel]
(Int -> ReadS H265CodecLevel)
-> ReadS [H265CodecLevel]
-> ReadPrec H265CodecLevel
-> ReadPrec [H265CodecLevel]
-> Read H265CodecLevel
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [H265CodecLevel]
$creadListPrec :: ReadPrec [H265CodecLevel]
readPrec :: ReadPrec H265CodecLevel
$creadPrec :: ReadPrec H265CodecLevel
readList :: ReadS [H265CodecLevel]
$creadList :: ReadS [H265CodecLevel]
readsPrec :: Int -> ReadS H265CodecLevel
$creadsPrec :: Int -> ReadS H265CodecLevel
Prelude.Read,
H265CodecLevel -> H265CodecLevel -> Bool
(H265CodecLevel -> H265CodecLevel -> Bool)
-> (H265CodecLevel -> H265CodecLevel -> Bool) -> Eq H265CodecLevel
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: H265CodecLevel -> H265CodecLevel -> Bool
$c/= :: H265CodecLevel -> H265CodecLevel -> Bool
== :: H265CodecLevel -> H265CodecLevel -> Bool
$c== :: H265CodecLevel -> H265CodecLevel -> Bool
Prelude.Eq,
Eq H265CodecLevel
Eq H265CodecLevel
-> (H265CodecLevel -> H265CodecLevel -> Ordering)
-> (H265CodecLevel -> H265CodecLevel -> Bool)
-> (H265CodecLevel -> H265CodecLevel -> Bool)
-> (H265CodecLevel -> H265CodecLevel -> Bool)
-> (H265CodecLevel -> H265CodecLevel -> Bool)
-> (H265CodecLevel -> H265CodecLevel -> H265CodecLevel)
-> (H265CodecLevel -> H265CodecLevel -> H265CodecLevel)
-> Ord H265CodecLevel
H265CodecLevel -> H265CodecLevel -> Bool
H265CodecLevel -> H265CodecLevel -> Ordering
H265CodecLevel -> H265CodecLevel -> H265CodecLevel
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 :: H265CodecLevel -> H265CodecLevel -> H265CodecLevel
$cmin :: H265CodecLevel -> H265CodecLevel -> H265CodecLevel
max :: H265CodecLevel -> H265CodecLevel -> H265CodecLevel
$cmax :: H265CodecLevel -> H265CodecLevel -> H265CodecLevel
>= :: H265CodecLevel -> H265CodecLevel -> Bool
$c>= :: H265CodecLevel -> H265CodecLevel -> Bool
> :: H265CodecLevel -> H265CodecLevel -> Bool
$c> :: H265CodecLevel -> H265CodecLevel -> Bool
<= :: H265CodecLevel -> H265CodecLevel -> Bool
$c<= :: H265CodecLevel -> H265CodecLevel -> Bool
< :: H265CodecLevel -> H265CodecLevel -> Bool
$c< :: H265CodecLevel -> H265CodecLevel -> Bool
compare :: H265CodecLevel -> H265CodecLevel -> Ordering
$ccompare :: H265CodecLevel -> H265CodecLevel -> Ordering
$cp1Ord :: Eq H265CodecLevel
Prelude.Ord,
(forall x. H265CodecLevel -> Rep H265CodecLevel x)
-> (forall x. Rep H265CodecLevel x -> H265CodecLevel)
-> Generic H265CodecLevel
forall x. Rep H265CodecLevel x -> H265CodecLevel
forall x. H265CodecLevel -> Rep H265CodecLevel x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep H265CodecLevel x -> H265CodecLevel
$cfrom :: forall x. H265CodecLevel -> Rep H265CodecLevel x
Prelude.Generic
)
deriving newtype
( Int -> H265CodecLevel -> Int
H265CodecLevel -> Int
(Int -> H265CodecLevel -> Int)
-> (H265CodecLevel -> Int) -> Hashable H265CodecLevel
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: H265CodecLevel -> Int
$chash :: H265CodecLevel -> Int
hashWithSalt :: Int -> H265CodecLevel -> Int
$chashWithSalt :: Int -> H265CodecLevel -> Int
Prelude.Hashable,
H265CodecLevel -> ()
(H265CodecLevel -> ()) -> NFData H265CodecLevel
forall a. (a -> ()) -> NFData a
rnf :: H265CodecLevel -> ()
$crnf :: H265CodecLevel -> ()
Prelude.NFData,
Text -> Either String H265CodecLevel
(Text -> Either String H265CodecLevel) -> FromText H265CodecLevel
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String H265CodecLevel
$cfromText :: Text -> Either String H265CodecLevel
Core.FromText,
H265CodecLevel -> Text
(H265CodecLevel -> Text) -> ToText H265CodecLevel
forall a. (a -> Text) -> ToText a
toText :: H265CodecLevel -> Text
$ctoText :: H265CodecLevel -> Text
Core.ToText,
H265CodecLevel -> ByteString
(H265CodecLevel -> ByteString) -> ToByteString H265CodecLevel
forall a. (a -> ByteString) -> ToByteString a
toBS :: H265CodecLevel -> ByteString
$ctoBS :: H265CodecLevel -> ByteString
Core.ToByteString,
H265CodecLevel -> ByteStringBuilder
(H265CodecLevel -> ByteStringBuilder) -> ToLog H265CodecLevel
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: H265CodecLevel -> ByteStringBuilder
$cbuild :: H265CodecLevel -> ByteStringBuilder
Core.ToLog,
HeaderName -> H265CodecLevel -> [Header]
(HeaderName -> H265CodecLevel -> [Header])
-> ToHeader H265CodecLevel
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> H265CodecLevel -> [Header]
$ctoHeader :: HeaderName -> H265CodecLevel -> [Header]
Core.ToHeader,
H265CodecLevel -> QueryString
(H265CodecLevel -> QueryString) -> ToQuery H265CodecLevel
forall a. (a -> QueryString) -> ToQuery a
toQuery :: H265CodecLevel -> QueryString
$ctoQuery :: H265CodecLevel -> QueryString
Core.ToQuery,
Value -> Parser [H265CodecLevel]
Value -> Parser H265CodecLevel
(Value -> Parser H265CodecLevel)
-> (Value -> Parser [H265CodecLevel]) -> FromJSON H265CodecLevel
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [H265CodecLevel]
$cparseJSONList :: Value -> Parser [H265CodecLevel]
parseJSON :: Value -> Parser H265CodecLevel
$cparseJSON :: Value -> Parser H265CodecLevel
Core.FromJSON,
FromJSONKeyFunction [H265CodecLevel]
FromJSONKeyFunction H265CodecLevel
FromJSONKeyFunction H265CodecLevel
-> FromJSONKeyFunction [H265CodecLevel]
-> FromJSONKey H265CodecLevel
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [H265CodecLevel]
$cfromJSONKeyList :: FromJSONKeyFunction [H265CodecLevel]
fromJSONKey :: FromJSONKeyFunction H265CodecLevel
$cfromJSONKey :: FromJSONKeyFunction H265CodecLevel
Core.FromJSONKey,
[H265CodecLevel] -> Encoding
[H265CodecLevel] -> Value
H265CodecLevel -> Encoding
H265CodecLevel -> Value
(H265CodecLevel -> Value)
-> (H265CodecLevel -> Encoding)
-> ([H265CodecLevel] -> Value)
-> ([H265CodecLevel] -> Encoding)
-> ToJSON H265CodecLevel
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [H265CodecLevel] -> Encoding
$ctoEncodingList :: [H265CodecLevel] -> Encoding
toJSONList :: [H265CodecLevel] -> Value
$ctoJSONList :: [H265CodecLevel] -> Value
toEncoding :: H265CodecLevel -> Encoding
$ctoEncoding :: H265CodecLevel -> Encoding
toJSON :: H265CodecLevel -> Value
$ctoJSON :: H265CodecLevel -> Value
Core.ToJSON,
ToJSONKeyFunction [H265CodecLevel]
ToJSONKeyFunction H265CodecLevel
ToJSONKeyFunction H265CodecLevel
-> ToJSONKeyFunction [H265CodecLevel] -> ToJSONKey H265CodecLevel
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [H265CodecLevel]
$ctoJSONKeyList :: ToJSONKeyFunction [H265CodecLevel]
toJSONKey :: ToJSONKeyFunction H265CodecLevel
$ctoJSONKey :: ToJSONKeyFunction H265CodecLevel
Core.ToJSONKey,
[Node] -> Either String H265CodecLevel
([Node] -> Either String H265CodecLevel) -> FromXML H265CodecLevel
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String H265CodecLevel
$cparseXML :: [Node] -> Either String H265CodecLevel
Core.FromXML,
H265CodecLevel -> XML
(H265CodecLevel -> XML) -> ToXML H265CodecLevel
forall a. (a -> XML) -> ToXML a
toXML :: H265CodecLevel -> XML
$ctoXML :: H265CodecLevel -> XML
Core.ToXML
)
pattern H265CodecLevel_AUTO :: H265CodecLevel
pattern $bH265CodecLevel_AUTO :: H265CodecLevel
$mH265CodecLevel_AUTO :: forall r. H265CodecLevel -> (Void# -> r) -> (Void# -> r) -> r
H265CodecLevel_AUTO = H265CodecLevel' "AUTO"
pattern H265CodecLevel_LEVEL_1 :: H265CodecLevel
pattern $bH265CodecLevel_LEVEL_1 :: H265CodecLevel
$mH265CodecLevel_LEVEL_1 :: forall r. H265CodecLevel -> (Void# -> r) -> (Void# -> r) -> r
H265CodecLevel_LEVEL_1 = H265CodecLevel' "LEVEL_1"
pattern H265CodecLevel_LEVEL_2 :: H265CodecLevel
pattern $bH265CodecLevel_LEVEL_2 :: H265CodecLevel
$mH265CodecLevel_LEVEL_2 :: forall r. H265CodecLevel -> (Void# -> r) -> (Void# -> r) -> r
H265CodecLevel_LEVEL_2 = H265CodecLevel' "LEVEL_2"
pattern H265CodecLevel_LEVEL_2_1 :: H265CodecLevel
pattern $bH265CodecLevel_LEVEL_2_1 :: H265CodecLevel
$mH265CodecLevel_LEVEL_2_1 :: forall r. H265CodecLevel -> (Void# -> r) -> (Void# -> r) -> r
H265CodecLevel_LEVEL_2_1 = H265CodecLevel' "LEVEL_2_1"
pattern H265CodecLevel_LEVEL_3 :: H265CodecLevel
pattern $bH265CodecLevel_LEVEL_3 :: H265CodecLevel
$mH265CodecLevel_LEVEL_3 :: forall r. H265CodecLevel -> (Void# -> r) -> (Void# -> r) -> r
H265CodecLevel_LEVEL_3 = H265CodecLevel' "LEVEL_3"
pattern H265CodecLevel_LEVEL_3_1 :: H265CodecLevel
pattern $bH265CodecLevel_LEVEL_3_1 :: H265CodecLevel
$mH265CodecLevel_LEVEL_3_1 :: forall r. H265CodecLevel -> (Void# -> r) -> (Void# -> r) -> r
H265CodecLevel_LEVEL_3_1 = H265CodecLevel' "LEVEL_3_1"
pattern H265CodecLevel_LEVEL_4 :: H265CodecLevel
pattern $bH265CodecLevel_LEVEL_4 :: H265CodecLevel
$mH265CodecLevel_LEVEL_4 :: forall r. H265CodecLevel -> (Void# -> r) -> (Void# -> r) -> r
H265CodecLevel_LEVEL_4 = H265CodecLevel' "LEVEL_4"
pattern H265CodecLevel_LEVEL_4_1 :: H265CodecLevel
pattern $bH265CodecLevel_LEVEL_4_1 :: H265CodecLevel
$mH265CodecLevel_LEVEL_4_1 :: forall r. H265CodecLevel -> (Void# -> r) -> (Void# -> r) -> r
H265CodecLevel_LEVEL_4_1 = H265CodecLevel' "LEVEL_4_1"
pattern H265CodecLevel_LEVEL_5 :: H265CodecLevel
pattern $bH265CodecLevel_LEVEL_5 :: H265CodecLevel
$mH265CodecLevel_LEVEL_5 :: forall r. H265CodecLevel -> (Void# -> r) -> (Void# -> r) -> r
H265CodecLevel_LEVEL_5 = H265CodecLevel' "LEVEL_5"
pattern H265CodecLevel_LEVEL_5_1 :: H265CodecLevel
pattern $bH265CodecLevel_LEVEL_5_1 :: H265CodecLevel
$mH265CodecLevel_LEVEL_5_1 :: forall r. H265CodecLevel -> (Void# -> r) -> (Void# -> r) -> r
H265CodecLevel_LEVEL_5_1 = H265CodecLevel' "LEVEL_5_1"
pattern H265CodecLevel_LEVEL_5_2 :: H265CodecLevel
pattern $bH265CodecLevel_LEVEL_5_2 :: H265CodecLevel
$mH265CodecLevel_LEVEL_5_2 :: forall r. H265CodecLevel -> (Void# -> r) -> (Void# -> r) -> r
H265CodecLevel_LEVEL_5_2 = H265CodecLevel' "LEVEL_5_2"
pattern H265CodecLevel_LEVEL_6 :: H265CodecLevel
pattern $bH265CodecLevel_LEVEL_6 :: H265CodecLevel
$mH265CodecLevel_LEVEL_6 :: forall r. H265CodecLevel -> (Void# -> r) -> (Void# -> r) -> r
H265CodecLevel_LEVEL_6 = H265CodecLevel' "LEVEL_6"
pattern H265CodecLevel_LEVEL_6_1 :: H265CodecLevel
pattern $bH265CodecLevel_LEVEL_6_1 :: H265CodecLevel
$mH265CodecLevel_LEVEL_6_1 :: forall r. H265CodecLevel -> (Void# -> r) -> (Void# -> r) -> r
H265CodecLevel_LEVEL_6_1 = H265CodecLevel' "LEVEL_6_1"
pattern H265CodecLevel_LEVEL_6_2 :: H265CodecLevel
pattern $bH265CodecLevel_LEVEL_6_2 :: H265CodecLevel
$mH265CodecLevel_LEVEL_6_2 :: forall r. H265CodecLevel -> (Void# -> r) -> (Void# -> r) -> r
H265CodecLevel_LEVEL_6_2 = H265CodecLevel' "LEVEL_6_2"
{-# COMPLETE
H265CodecLevel_AUTO,
H265CodecLevel_LEVEL_1,
H265CodecLevel_LEVEL_2,
H265CodecLevel_LEVEL_2_1,
H265CodecLevel_LEVEL_3,
H265CodecLevel_LEVEL_3_1,
H265CodecLevel_LEVEL_4,
H265CodecLevel_LEVEL_4_1,
H265CodecLevel_LEVEL_5,
H265CodecLevel_LEVEL_5_1,
H265CodecLevel_LEVEL_5_2,
H265CodecLevel_LEVEL_6,
H265CodecLevel_LEVEL_6_1,
H265CodecLevel_LEVEL_6_2,
H265CodecLevel'
#-}