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