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