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