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