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