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