{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.MediaLive.Types.SmoothGroupSegmentationMode
( SmoothGroupSegmentationMode
( ..,
SmoothGroupSegmentationMode_USE_INPUT_SEGMENTATION,
SmoothGroupSegmentationMode_USE_SEGMENT_DURATION
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype SmoothGroupSegmentationMode = SmoothGroupSegmentationMode'
{ SmoothGroupSegmentationMode -> Text
fromSmoothGroupSegmentationMode ::
Data.Text
}
deriving stock
( Int -> SmoothGroupSegmentationMode -> ShowS
[SmoothGroupSegmentationMode] -> ShowS
SmoothGroupSegmentationMode -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SmoothGroupSegmentationMode] -> ShowS
$cshowList :: [SmoothGroupSegmentationMode] -> ShowS
show :: SmoothGroupSegmentationMode -> String
$cshow :: SmoothGroupSegmentationMode -> String
showsPrec :: Int -> SmoothGroupSegmentationMode -> ShowS
$cshowsPrec :: Int -> SmoothGroupSegmentationMode -> ShowS
Prelude.Show,
ReadPrec [SmoothGroupSegmentationMode]
ReadPrec SmoothGroupSegmentationMode
Int -> ReadS SmoothGroupSegmentationMode
ReadS [SmoothGroupSegmentationMode]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [SmoothGroupSegmentationMode]
$creadListPrec :: ReadPrec [SmoothGroupSegmentationMode]
readPrec :: ReadPrec SmoothGroupSegmentationMode
$creadPrec :: ReadPrec SmoothGroupSegmentationMode
readList :: ReadS [SmoothGroupSegmentationMode]
$creadList :: ReadS [SmoothGroupSegmentationMode]
readsPrec :: Int -> ReadS SmoothGroupSegmentationMode
$creadsPrec :: Int -> ReadS SmoothGroupSegmentationMode
Prelude.Read,
SmoothGroupSegmentationMode -> SmoothGroupSegmentationMode -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SmoothGroupSegmentationMode -> SmoothGroupSegmentationMode -> Bool
$c/= :: SmoothGroupSegmentationMode -> SmoothGroupSegmentationMode -> Bool
== :: SmoothGroupSegmentationMode -> SmoothGroupSegmentationMode -> Bool
$c== :: SmoothGroupSegmentationMode -> SmoothGroupSegmentationMode -> Bool
Prelude.Eq,
Eq SmoothGroupSegmentationMode
SmoothGroupSegmentationMode -> SmoothGroupSegmentationMode -> Bool
SmoothGroupSegmentationMode
-> SmoothGroupSegmentationMode -> Ordering
SmoothGroupSegmentationMode
-> SmoothGroupSegmentationMode -> SmoothGroupSegmentationMode
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 :: SmoothGroupSegmentationMode
-> SmoothGroupSegmentationMode -> SmoothGroupSegmentationMode
$cmin :: SmoothGroupSegmentationMode
-> SmoothGroupSegmentationMode -> SmoothGroupSegmentationMode
max :: SmoothGroupSegmentationMode
-> SmoothGroupSegmentationMode -> SmoothGroupSegmentationMode
$cmax :: SmoothGroupSegmentationMode
-> SmoothGroupSegmentationMode -> SmoothGroupSegmentationMode
>= :: SmoothGroupSegmentationMode -> SmoothGroupSegmentationMode -> Bool
$c>= :: SmoothGroupSegmentationMode -> SmoothGroupSegmentationMode -> Bool
> :: SmoothGroupSegmentationMode -> SmoothGroupSegmentationMode -> Bool
$c> :: SmoothGroupSegmentationMode -> SmoothGroupSegmentationMode -> Bool
<= :: SmoothGroupSegmentationMode -> SmoothGroupSegmentationMode -> Bool
$c<= :: SmoothGroupSegmentationMode -> SmoothGroupSegmentationMode -> Bool
< :: SmoothGroupSegmentationMode -> SmoothGroupSegmentationMode -> Bool
$c< :: SmoothGroupSegmentationMode -> SmoothGroupSegmentationMode -> Bool
compare :: SmoothGroupSegmentationMode
-> SmoothGroupSegmentationMode -> Ordering
$ccompare :: SmoothGroupSegmentationMode
-> SmoothGroupSegmentationMode -> Ordering
Prelude.Ord,
forall x.
Rep SmoothGroupSegmentationMode x -> SmoothGroupSegmentationMode
forall x.
SmoothGroupSegmentationMode -> Rep SmoothGroupSegmentationMode x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep SmoothGroupSegmentationMode x -> SmoothGroupSegmentationMode
$cfrom :: forall x.
SmoothGroupSegmentationMode -> Rep SmoothGroupSegmentationMode x
Prelude.Generic
)
deriving newtype
( Eq SmoothGroupSegmentationMode
Int -> SmoothGroupSegmentationMode -> Int
SmoothGroupSegmentationMode -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: SmoothGroupSegmentationMode -> Int
$chash :: SmoothGroupSegmentationMode -> Int
hashWithSalt :: Int -> SmoothGroupSegmentationMode -> Int
$chashWithSalt :: Int -> SmoothGroupSegmentationMode -> Int
Prelude.Hashable,
SmoothGroupSegmentationMode -> ()
forall a. (a -> ()) -> NFData a
rnf :: SmoothGroupSegmentationMode -> ()
$crnf :: SmoothGroupSegmentationMode -> ()
Prelude.NFData,
Text -> Either String SmoothGroupSegmentationMode
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String SmoothGroupSegmentationMode
$cfromText :: Text -> Either String SmoothGroupSegmentationMode
Data.FromText,
SmoothGroupSegmentationMode -> Text
forall a. (a -> Text) -> ToText a
toText :: SmoothGroupSegmentationMode -> Text
$ctoText :: SmoothGroupSegmentationMode -> Text
Data.ToText,
SmoothGroupSegmentationMode -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: SmoothGroupSegmentationMode -> ByteString
$ctoBS :: SmoothGroupSegmentationMode -> ByteString
Data.ToByteString,
SmoothGroupSegmentationMode -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: SmoothGroupSegmentationMode -> ByteStringBuilder
$cbuild :: SmoothGroupSegmentationMode -> ByteStringBuilder
Data.ToLog,
HeaderName -> SmoothGroupSegmentationMode -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> SmoothGroupSegmentationMode -> [Header]
$ctoHeader :: HeaderName -> SmoothGroupSegmentationMode -> [Header]
Data.ToHeader,
SmoothGroupSegmentationMode -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: SmoothGroupSegmentationMode -> QueryString
$ctoQuery :: SmoothGroupSegmentationMode -> QueryString
Data.ToQuery,
Value -> Parser [SmoothGroupSegmentationMode]
Value -> Parser SmoothGroupSegmentationMode
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [SmoothGroupSegmentationMode]
$cparseJSONList :: Value -> Parser [SmoothGroupSegmentationMode]
parseJSON :: Value -> Parser SmoothGroupSegmentationMode
$cparseJSON :: Value -> Parser SmoothGroupSegmentationMode
Data.FromJSON,
FromJSONKeyFunction [SmoothGroupSegmentationMode]
FromJSONKeyFunction SmoothGroupSegmentationMode
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [SmoothGroupSegmentationMode]
$cfromJSONKeyList :: FromJSONKeyFunction [SmoothGroupSegmentationMode]
fromJSONKey :: FromJSONKeyFunction SmoothGroupSegmentationMode
$cfromJSONKey :: FromJSONKeyFunction SmoothGroupSegmentationMode
Data.FromJSONKey,
[SmoothGroupSegmentationMode] -> Encoding
[SmoothGroupSegmentationMode] -> Value
SmoothGroupSegmentationMode -> Encoding
SmoothGroupSegmentationMode -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [SmoothGroupSegmentationMode] -> Encoding
$ctoEncodingList :: [SmoothGroupSegmentationMode] -> Encoding
toJSONList :: [SmoothGroupSegmentationMode] -> Value
$ctoJSONList :: [SmoothGroupSegmentationMode] -> Value
toEncoding :: SmoothGroupSegmentationMode -> Encoding
$ctoEncoding :: SmoothGroupSegmentationMode -> Encoding
toJSON :: SmoothGroupSegmentationMode -> Value
$ctoJSON :: SmoothGroupSegmentationMode -> Value
Data.ToJSON,
ToJSONKeyFunction [SmoothGroupSegmentationMode]
ToJSONKeyFunction SmoothGroupSegmentationMode
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [SmoothGroupSegmentationMode]
$ctoJSONKeyList :: ToJSONKeyFunction [SmoothGroupSegmentationMode]
toJSONKey :: ToJSONKeyFunction SmoothGroupSegmentationMode
$ctoJSONKey :: ToJSONKeyFunction SmoothGroupSegmentationMode
Data.ToJSONKey,
[Node] -> Either String SmoothGroupSegmentationMode
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String SmoothGroupSegmentationMode
$cparseXML :: [Node] -> Either String SmoothGroupSegmentationMode
Data.FromXML,
SmoothGroupSegmentationMode -> XML
forall a. (a -> XML) -> ToXML a
toXML :: SmoothGroupSegmentationMode -> XML
$ctoXML :: SmoothGroupSegmentationMode -> XML
Data.ToXML
)
pattern SmoothGroupSegmentationMode_USE_INPUT_SEGMENTATION :: SmoothGroupSegmentationMode
pattern $bSmoothGroupSegmentationMode_USE_INPUT_SEGMENTATION :: SmoothGroupSegmentationMode
$mSmoothGroupSegmentationMode_USE_INPUT_SEGMENTATION :: forall {r}.
SmoothGroupSegmentationMode -> ((# #) -> r) -> ((# #) -> r) -> r
SmoothGroupSegmentationMode_USE_INPUT_SEGMENTATION = SmoothGroupSegmentationMode' "USE_INPUT_SEGMENTATION"
pattern SmoothGroupSegmentationMode_USE_SEGMENT_DURATION :: SmoothGroupSegmentationMode
pattern $bSmoothGroupSegmentationMode_USE_SEGMENT_DURATION :: SmoothGroupSegmentationMode
$mSmoothGroupSegmentationMode_USE_SEGMENT_DURATION :: forall {r}.
SmoothGroupSegmentationMode -> ((# #) -> r) -> ((# #) -> r) -> r
SmoothGroupSegmentationMode_USE_SEGMENT_DURATION = SmoothGroupSegmentationMode' "USE_SEGMENT_DURATION"
{-# COMPLETE
SmoothGroupSegmentationMode_USE_INPUT_SEGMENTATION,
SmoothGroupSegmentationMode_USE_SEGMENT_DURATION,
SmoothGroupSegmentationMode'
#-}