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