{-# 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.H265Level
( H265Level
( ..,
H265Level_H265_LEVEL_1,
H265Level_H265_LEVEL_2,
H265Level_H265_LEVEL_2_1,
H265Level_H265_LEVEL_3,
H265Level_H265_LEVEL_3_1,
H265Level_H265_LEVEL_4,
H265Level_H265_LEVEL_4_1,
H265Level_H265_LEVEL_5,
H265Level_H265_LEVEL_5_1,
H265Level_H265_LEVEL_5_2,
H265Level_H265_LEVEL_6,
H265Level_H265_LEVEL_6_1,
H265Level_H265_LEVEL_6_2,
H265Level_H265_LEVEL_AUTO
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype H265Level = H265Level'
{ H265Level -> Text
fromH265Level ::
Data.Text
}
deriving stock
( Int -> H265Level -> ShowS
[H265Level] -> ShowS
H265Level -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [H265Level] -> ShowS
$cshowList :: [H265Level] -> ShowS
show :: H265Level -> String
$cshow :: H265Level -> String
showsPrec :: Int -> H265Level -> ShowS
$cshowsPrec :: Int -> H265Level -> ShowS
Prelude.Show,
ReadPrec [H265Level]
ReadPrec H265Level
Int -> ReadS H265Level
ReadS [H265Level]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [H265Level]
$creadListPrec :: ReadPrec [H265Level]
readPrec :: ReadPrec H265Level
$creadPrec :: ReadPrec H265Level
readList :: ReadS [H265Level]
$creadList :: ReadS [H265Level]
readsPrec :: Int -> ReadS H265Level
$creadsPrec :: Int -> ReadS H265Level
Prelude.Read,
H265Level -> H265Level -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: H265Level -> H265Level -> Bool
$c/= :: H265Level -> H265Level -> Bool
== :: H265Level -> H265Level -> Bool
$c== :: H265Level -> H265Level -> Bool
Prelude.Eq,
Eq H265Level
H265Level -> H265Level -> Bool
H265Level -> H265Level -> Ordering
H265Level -> H265Level -> H265Level
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 :: H265Level -> H265Level -> H265Level
$cmin :: H265Level -> H265Level -> H265Level
max :: H265Level -> H265Level -> H265Level
$cmax :: H265Level -> H265Level -> H265Level
>= :: H265Level -> H265Level -> Bool
$c>= :: H265Level -> H265Level -> Bool
> :: H265Level -> H265Level -> Bool
$c> :: H265Level -> H265Level -> Bool
<= :: H265Level -> H265Level -> Bool
$c<= :: H265Level -> H265Level -> Bool
< :: H265Level -> H265Level -> Bool
$c< :: H265Level -> H265Level -> Bool
compare :: H265Level -> H265Level -> Ordering
$ccompare :: H265Level -> H265Level -> Ordering
Prelude.Ord,
forall x. Rep H265Level x -> H265Level
forall x. H265Level -> Rep H265Level x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep H265Level x -> H265Level
$cfrom :: forall x. H265Level -> Rep H265Level x
Prelude.Generic
)
deriving newtype
( Eq H265Level
Int -> H265Level -> Int
H265Level -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: H265Level -> Int
$chash :: H265Level -> Int
hashWithSalt :: Int -> H265Level -> Int
$chashWithSalt :: Int -> H265Level -> Int
Prelude.Hashable,
H265Level -> ()
forall a. (a -> ()) -> NFData a
rnf :: H265Level -> ()
$crnf :: H265Level -> ()
Prelude.NFData,
Text -> Either String H265Level
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String H265Level
$cfromText :: Text -> Either String H265Level
Data.FromText,
H265Level -> Text
forall a. (a -> Text) -> ToText a
toText :: H265Level -> Text
$ctoText :: H265Level -> Text
Data.ToText,
H265Level -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: H265Level -> ByteString
$ctoBS :: H265Level -> ByteString
Data.ToByteString,
H265Level -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: H265Level -> ByteStringBuilder
$cbuild :: H265Level -> ByteStringBuilder
Data.ToLog,
HeaderName -> H265Level -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> H265Level -> [Header]
$ctoHeader :: HeaderName -> H265Level -> [Header]
Data.ToHeader,
H265Level -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: H265Level -> QueryString
$ctoQuery :: H265Level -> QueryString
Data.ToQuery,
Value -> Parser [H265Level]
Value -> Parser H265Level
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [H265Level]
$cparseJSONList :: Value -> Parser [H265Level]
parseJSON :: Value -> Parser H265Level
$cparseJSON :: Value -> Parser H265Level
Data.FromJSON,
FromJSONKeyFunction [H265Level]
FromJSONKeyFunction H265Level
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [H265Level]
$cfromJSONKeyList :: FromJSONKeyFunction [H265Level]
fromJSONKey :: FromJSONKeyFunction H265Level
$cfromJSONKey :: FromJSONKeyFunction H265Level
Data.FromJSONKey,
[H265Level] -> Encoding
[H265Level] -> Value
H265Level -> Encoding
H265Level -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [H265Level] -> Encoding
$ctoEncodingList :: [H265Level] -> Encoding
toJSONList :: [H265Level] -> Value
$ctoJSONList :: [H265Level] -> Value
toEncoding :: H265Level -> Encoding
$ctoEncoding :: H265Level -> Encoding
toJSON :: H265Level -> Value
$ctoJSON :: H265Level -> Value
Data.ToJSON,
ToJSONKeyFunction [H265Level]
ToJSONKeyFunction H265Level
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [H265Level]
$ctoJSONKeyList :: ToJSONKeyFunction [H265Level]
toJSONKey :: ToJSONKeyFunction H265Level
$ctoJSONKey :: ToJSONKeyFunction H265Level
Data.ToJSONKey,
[Node] -> Either String H265Level
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String H265Level
$cparseXML :: [Node] -> Either String H265Level
Data.FromXML,
H265Level -> XML
forall a. (a -> XML) -> ToXML a
toXML :: H265Level -> XML
$ctoXML :: H265Level -> XML
Data.ToXML
)
pattern H265Level_H265_LEVEL_1 :: H265Level
pattern $bH265Level_H265_LEVEL_1 :: H265Level
$mH265Level_H265_LEVEL_1 :: forall {r}. H265Level -> ((# #) -> r) -> ((# #) -> r) -> r
H265Level_H265_LEVEL_1 = H265Level' "H265_LEVEL_1"
pattern H265Level_H265_LEVEL_2 :: H265Level
pattern $bH265Level_H265_LEVEL_2 :: H265Level
$mH265Level_H265_LEVEL_2 :: forall {r}. H265Level -> ((# #) -> r) -> ((# #) -> r) -> r
H265Level_H265_LEVEL_2 = H265Level' "H265_LEVEL_2"
pattern H265Level_H265_LEVEL_2_1 :: H265Level
pattern $bH265Level_H265_LEVEL_2_1 :: H265Level
$mH265Level_H265_LEVEL_2_1 :: forall {r}. H265Level -> ((# #) -> r) -> ((# #) -> r) -> r
H265Level_H265_LEVEL_2_1 = H265Level' "H265_LEVEL_2_1"
pattern H265Level_H265_LEVEL_3 :: H265Level
pattern $bH265Level_H265_LEVEL_3 :: H265Level
$mH265Level_H265_LEVEL_3 :: forall {r}. H265Level -> ((# #) -> r) -> ((# #) -> r) -> r
H265Level_H265_LEVEL_3 = H265Level' "H265_LEVEL_3"
pattern H265Level_H265_LEVEL_3_1 :: H265Level
pattern $bH265Level_H265_LEVEL_3_1 :: H265Level
$mH265Level_H265_LEVEL_3_1 :: forall {r}. H265Level -> ((# #) -> r) -> ((# #) -> r) -> r
H265Level_H265_LEVEL_3_1 = H265Level' "H265_LEVEL_3_1"
pattern H265Level_H265_LEVEL_4 :: H265Level
pattern $bH265Level_H265_LEVEL_4 :: H265Level
$mH265Level_H265_LEVEL_4 :: forall {r}. H265Level -> ((# #) -> r) -> ((# #) -> r) -> r
H265Level_H265_LEVEL_4 = H265Level' "H265_LEVEL_4"
pattern H265Level_H265_LEVEL_4_1 :: H265Level
pattern $bH265Level_H265_LEVEL_4_1 :: H265Level
$mH265Level_H265_LEVEL_4_1 :: forall {r}. H265Level -> ((# #) -> r) -> ((# #) -> r) -> r
H265Level_H265_LEVEL_4_1 = H265Level' "H265_LEVEL_4_1"
pattern H265Level_H265_LEVEL_5 :: H265Level
pattern $bH265Level_H265_LEVEL_5 :: H265Level
$mH265Level_H265_LEVEL_5 :: forall {r}. H265Level -> ((# #) -> r) -> ((# #) -> r) -> r
H265Level_H265_LEVEL_5 = H265Level' "H265_LEVEL_5"
pattern H265Level_H265_LEVEL_5_1 :: H265Level
pattern $bH265Level_H265_LEVEL_5_1 :: H265Level
$mH265Level_H265_LEVEL_5_1 :: forall {r}. H265Level -> ((# #) -> r) -> ((# #) -> r) -> r
H265Level_H265_LEVEL_5_1 = H265Level' "H265_LEVEL_5_1"
pattern H265Level_H265_LEVEL_5_2 :: H265Level
pattern $bH265Level_H265_LEVEL_5_2 :: H265Level
$mH265Level_H265_LEVEL_5_2 :: forall {r}. H265Level -> ((# #) -> r) -> ((# #) -> r) -> r
H265Level_H265_LEVEL_5_2 = H265Level' "H265_LEVEL_5_2"
pattern H265Level_H265_LEVEL_6 :: H265Level
pattern $bH265Level_H265_LEVEL_6 :: H265Level
$mH265Level_H265_LEVEL_6 :: forall {r}. H265Level -> ((# #) -> r) -> ((# #) -> r) -> r
H265Level_H265_LEVEL_6 = H265Level' "H265_LEVEL_6"
pattern H265Level_H265_LEVEL_6_1 :: H265Level
pattern $bH265Level_H265_LEVEL_6_1 :: H265Level
$mH265Level_H265_LEVEL_6_1 :: forall {r}. H265Level -> ((# #) -> r) -> ((# #) -> r) -> r
H265Level_H265_LEVEL_6_1 = H265Level' "H265_LEVEL_6_1"
pattern H265Level_H265_LEVEL_6_2 :: H265Level
pattern $bH265Level_H265_LEVEL_6_2 :: H265Level
$mH265Level_H265_LEVEL_6_2 :: forall {r}. H265Level -> ((# #) -> r) -> ((# #) -> r) -> r
H265Level_H265_LEVEL_6_2 = H265Level' "H265_LEVEL_6_2"
pattern H265Level_H265_LEVEL_AUTO :: H265Level
pattern $bH265Level_H265_LEVEL_AUTO :: H265Level
$mH265Level_H265_LEVEL_AUTO :: forall {r}. H265Level -> ((# #) -> r) -> ((# #) -> r) -> r
H265Level_H265_LEVEL_AUTO = H265Level' "H265_LEVEL_AUTO"
{-# COMPLETE
H265Level_H265_LEVEL_1,
H265Level_H265_LEVEL_2,
H265Level_H265_LEVEL_2_1,
H265Level_H265_LEVEL_3,
H265Level_H265_LEVEL_3_1,
H265Level_H265_LEVEL_4,
H265Level_H265_LEVEL_4_1,
H265Level_H265_LEVEL_5,
H265Level_H265_LEVEL_5_1,
H265Level_H265_LEVEL_5_2,
H265Level_H265_LEVEL_6,
H265Level_H265_LEVEL_6_1,
H265Level_H265_LEVEL_6_2,
H265Level_H265_LEVEL_AUTO,
H265Level'
#-}