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