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