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