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