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