{-# 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.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype CmafSegmentControl = CmafSegmentControl'
{ CmafSegmentControl -> Text
fromCmafSegmentControl ::
Data.Text
}
deriving stock
( Int -> CmafSegmentControl -> ShowS
[CmafSegmentControl] -> ShowS
CmafSegmentControl -> String
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]
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
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
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
Prelude.Ord,
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
( Eq CmafSegmentControl
Int -> CmafSegmentControl -> Int
CmafSegmentControl -> Int
forall a. Eq 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 -> ()
forall a. (a -> ()) -> NFData a
rnf :: CmafSegmentControl -> ()
$crnf :: CmafSegmentControl -> ()
Prelude.NFData,
Text -> Either String CmafSegmentControl
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String CmafSegmentControl
$cfromText :: Text -> Either String CmafSegmentControl
Data.FromText,
CmafSegmentControl -> Text
forall a. (a -> Text) -> ToText a
toText :: CmafSegmentControl -> Text
$ctoText :: CmafSegmentControl -> Text
Data.ToText,
CmafSegmentControl -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: CmafSegmentControl -> ByteString
$ctoBS :: CmafSegmentControl -> ByteString
Data.ToByteString,
CmafSegmentControl -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: CmafSegmentControl -> ByteStringBuilder
$cbuild :: CmafSegmentControl -> ByteStringBuilder
Data.ToLog,
HeaderName -> CmafSegmentControl -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> CmafSegmentControl -> [Header]
$ctoHeader :: HeaderName -> CmafSegmentControl -> [Header]
Data.ToHeader,
CmafSegmentControl -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: CmafSegmentControl -> QueryString
$ctoQuery :: CmafSegmentControl -> QueryString
Data.ToQuery,
Value -> Parser [CmafSegmentControl]
Value -> Parser 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
Data.FromJSON,
FromJSONKeyFunction [CmafSegmentControl]
FromJSONKeyFunction CmafSegmentControl
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [CmafSegmentControl]
$cfromJSONKeyList :: FromJSONKeyFunction [CmafSegmentControl]
fromJSONKey :: FromJSONKeyFunction CmafSegmentControl
$cfromJSONKey :: FromJSONKeyFunction CmafSegmentControl
Data.FromJSONKey,
[CmafSegmentControl] -> Encoding
[CmafSegmentControl] -> Value
CmafSegmentControl -> Encoding
CmafSegmentControl -> Value
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
Data.ToJSON,
ToJSONKeyFunction [CmafSegmentControl]
ToJSONKeyFunction CmafSegmentControl
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [CmafSegmentControl]
$ctoJSONKeyList :: ToJSONKeyFunction [CmafSegmentControl]
toJSONKey :: ToJSONKeyFunction CmafSegmentControl
$ctoJSONKey :: ToJSONKeyFunction CmafSegmentControl
Data.ToJSONKey,
[Node] -> Either String CmafSegmentControl
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String CmafSegmentControl
$cparseXML :: [Node] -> Either String CmafSegmentControl
Data.FromXML,
CmafSegmentControl -> XML
forall a. (a -> XML) -> ToXML a
toXML :: CmafSegmentControl -> XML
$ctoXML :: CmafSegmentControl -> XML
Data.ToXML
)
pattern CmafSegmentControl_SEGMENTED_FILES :: CmafSegmentControl
pattern $bCmafSegmentControl_SEGMENTED_FILES :: CmafSegmentControl
$mCmafSegmentControl_SEGMENTED_FILES :: forall {r}. CmafSegmentControl -> ((# #) -> r) -> ((# #) -> r) -> r
CmafSegmentControl_SEGMENTED_FILES = CmafSegmentControl' "SEGMENTED_FILES"
pattern CmafSegmentControl_SINGLE_FILE :: CmafSegmentControl
pattern $bCmafSegmentControl_SINGLE_FILE :: CmafSegmentControl
$mCmafSegmentControl_SINGLE_FILE :: forall {r}. CmafSegmentControl -> ((# #) -> r) -> ((# #) -> r) -> r
CmafSegmentControl_SINGLE_FILE = CmafSegmentControl' "SINGLE_FILE"
{-# COMPLETE
CmafSegmentControl_SEGMENTED_FILES,
CmafSegmentControl_SINGLE_FILE,
CmafSegmentControl'
#-}