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