{-# 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.FixedAfd
( FixedAfd
( ..,
FixedAfd_AFD_0000,
FixedAfd_AFD_0010,
FixedAfd_AFD_0011,
FixedAfd_AFD_0100,
FixedAfd_AFD_1000,
FixedAfd_AFD_1001,
FixedAfd_AFD_1010,
FixedAfd_AFD_1011,
FixedAfd_AFD_1101,
FixedAfd_AFD_1110,
FixedAfd_AFD_1111
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype FixedAfd = FixedAfd'
{ FixedAfd -> Text
fromFixedAfd ::
Data.Text
}
deriving stock
( Int -> FixedAfd -> ShowS
[FixedAfd] -> ShowS
FixedAfd -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [FixedAfd] -> ShowS
$cshowList :: [FixedAfd] -> ShowS
show :: FixedAfd -> String
$cshow :: FixedAfd -> String
showsPrec :: Int -> FixedAfd -> ShowS
$cshowsPrec :: Int -> FixedAfd -> ShowS
Prelude.Show,
ReadPrec [FixedAfd]
ReadPrec FixedAfd
Int -> ReadS FixedAfd
ReadS [FixedAfd]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [FixedAfd]
$creadListPrec :: ReadPrec [FixedAfd]
readPrec :: ReadPrec FixedAfd
$creadPrec :: ReadPrec FixedAfd
readList :: ReadS [FixedAfd]
$creadList :: ReadS [FixedAfd]
readsPrec :: Int -> ReadS FixedAfd
$creadsPrec :: Int -> ReadS FixedAfd
Prelude.Read,
FixedAfd -> FixedAfd -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: FixedAfd -> FixedAfd -> Bool
$c/= :: FixedAfd -> FixedAfd -> Bool
== :: FixedAfd -> FixedAfd -> Bool
$c== :: FixedAfd -> FixedAfd -> Bool
Prelude.Eq,
Eq FixedAfd
FixedAfd -> FixedAfd -> Bool
FixedAfd -> FixedAfd -> Ordering
FixedAfd -> FixedAfd -> FixedAfd
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 :: FixedAfd -> FixedAfd -> FixedAfd
$cmin :: FixedAfd -> FixedAfd -> FixedAfd
max :: FixedAfd -> FixedAfd -> FixedAfd
$cmax :: FixedAfd -> FixedAfd -> FixedAfd
>= :: FixedAfd -> FixedAfd -> Bool
$c>= :: FixedAfd -> FixedAfd -> Bool
> :: FixedAfd -> FixedAfd -> Bool
$c> :: FixedAfd -> FixedAfd -> Bool
<= :: FixedAfd -> FixedAfd -> Bool
$c<= :: FixedAfd -> FixedAfd -> Bool
< :: FixedAfd -> FixedAfd -> Bool
$c< :: FixedAfd -> FixedAfd -> Bool
compare :: FixedAfd -> FixedAfd -> Ordering
$ccompare :: FixedAfd -> FixedAfd -> Ordering
Prelude.Ord,
forall x. Rep FixedAfd x -> FixedAfd
forall x. FixedAfd -> Rep FixedAfd x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep FixedAfd x -> FixedAfd
$cfrom :: forall x. FixedAfd -> Rep FixedAfd x
Prelude.Generic
)
deriving newtype
( Eq FixedAfd
Int -> FixedAfd -> Int
FixedAfd -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: FixedAfd -> Int
$chash :: FixedAfd -> Int
hashWithSalt :: Int -> FixedAfd -> Int
$chashWithSalt :: Int -> FixedAfd -> Int
Prelude.Hashable,
FixedAfd -> ()
forall a. (a -> ()) -> NFData a
rnf :: FixedAfd -> ()
$crnf :: FixedAfd -> ()
Prelude.NFData,
Text -> Either String FixedAfd
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String FixedAfd
$cfromText :: Text -> Either String FixedAfd
Data.FromText,
FixedAfd -> Text
forall a. (a -> Text) -> ToText a
toText :: FixedAfd -> Text
$ctoText :: FixedAfd -> Text
Data.ToText,
FixedAfd -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: FixedAfd -> ByteString
$ctoBS :: FixedAfd -> ByteString
Data.ToByteString,
FixedAfd -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: FixedAfd -> ByteStringBuilder
$cbuild :: FixedAfd -> ByteStringBuilder
Data.ToLog,
HeaderName -> FixedAfd -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> FixedAfd -> [Header]
$ctoHeader :: HeaderName -> FixedAfd -> [Header]
Data.ToHeader,
FixedAfd -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: FixedAfd -> QueryString
$ctoQuery :: FixedAfd -> QueryString
Data.ToQuery,
Value -> Parser [FixedAfd]
Value -> Parser FixedAfd
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [FixedAfd]
$cparseJSONList :: Value -> Parser [FixedAfd]
parseJSON :: Value -> Parser FixedAfd
$cparseJSON :: Value -> Parser FixedAfd
Data.FromJSON,
FromJSONKeyFunction [FixedAfd]
FromJSONKeyFunction FixedAfd
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [FixedAfd]
$cfromJSONKeyList :: FromJSONKeyFunction [FixedAfd]
fromJSONKey :: FromJSONKeyFunction FixedAfd
$cfromJSONKey :: FromJSONKeyFunction FixedAfd
Data.FromJSONKey,
[FixedAfd] -> Encoding
[FixedAfd] -> Value
FixedAfd -> Encoding
FixedAfd -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [FixedAfd] -> Encoding
$ctoEncodingList :: [FixedAfd] -> Encoding
toJSONList :: [FixedAfd] -> Value
$ctoJSONList :: [FixedAfd] -> Value
toEncoding :: FixedAfd -> Encoding
$ctoEncoding :: FixedAfd -> Encoding
toJSON :: FixedAfd -> Value
$ctoJSON :: FixedAfd -> Value
Data.ToJSON,
ToJSONKeyFunction [FixedAfd]
ToJSONKeyFunction FixedAfd
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [FixedAfd]
$ctoJSONKeyList :: ToJSONKeyFunction [FixedAfd]
toJSONKey :: ToJSONKeyFunction FixedAfd
$ctoJSONKey :: ToJSONKeyFunction FixedAfd
Data.ToJSONKey,
[Node] -> Either String FixedAfd
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String FixedAfd
$cparseXML :: [Node] -> Either String FixedAfd
Data.FromXML,
FixedAfd -> XML
forall a. (a -> XML) -> ToXML a
toXML :: FixedAfd -> XML
$ctoXML :: FixedAfd -> XML
Data.ToXML
)
pattern FixedAfd_AFD_0000 :: FixedAfd
pattern $bFixedAfd_AFD_0000 :: FixedAfd
$mFixedAfd_AFD_0000 :: forall {r}. FixedAfd -> ((# #) -> r) -> ((# #) -> r) -> r
FixedAfd_AFD_0000 = FixedAfd' "AFD_0000"
pattern FixedAfd_AFD_0010 :: FixedAfd
pattern $bFixedAfd_AFD_0010 :: FixedAfd
$mFixedAfd_AFD_0010 :: forall {r}. FixedAfd -> ((# #) -> r) -> ((# #) -> r) -> r
FixedAfd_AFD_0010 = FixedAfd' "AFD_0010"
pattern FixedAfd_AFD_0011 :: FixedAfd
pattern $bFixedAfd_AFD_0011 :: FixedAfd
$mFixedAfd_AFD_0011 :: forall {r}. FixedAfd -> ((# #) -> r) -> ((# #) -> r) -> r
FixedAfd_AFD_0011 = FixedAfd' "AFD_0011"
pattern FixedAfd_AFD_0100 :: FixedAfd
pattern $bFixedAfd_AFD_0100 :: FixedAfd
$mFixedAfd_AFD_0100 :: forall {r}. FixedAfd -> ((# #) -> r) -> ((# #) -> r) -> r
FixedAfd_AFD_0100 = FixedAfd' "AFD_0100"
pattern FixedAfd_AFD_1000 :: FixedAfd
pattern $bFixedAfd_AFD_1000 :: FixedAfd
$mFixedAfd_AFD_1000 :: forall {r}. FixedAfd -> ((# #) -> r) -> ((# #) -> r) -> r
FixedAfd_AFD_1000 = FixedAfd' "AFD_1000"
pattern FixedAfd_AFD_1001 :: FixedAfd
pattern $bFixedAfd_AFD_1001 :: FixedAfd
$mFixedAfd_AFD_1001 :: forall {r}. FixedAfd -> ((# #) -> r) -> ((# #) -> r) -> r
FixedAfd_AFD_1001 = FixedAfd' "AFD_1001"
pattern FixedAfd_AFD_1010 :: FixedAfd
pattern $bFixedAfd_AFD_1010 :: FixedAfd
$mFixedAfd_AFD_1010 :: forall {r}. FixedAfd -> ((# #) -> r) -> ((# #) -> r) -> r
FixedAfd_AFD_1010 = FixedAfd' "AFD_1010"
pattern FixedAfd_AFD_1011 :: FixedAfd
pattern $bFixedAfd_AFD_1011 :: FixedAfd
$mFixedAfd_AFD_1011 :: forall {r}. FixedAfd -> ((# #) -> r) -> ((# #) -> r) -> r
FixedAfd_AFD_1011 = FixedAfd' "AFD_1011"
pattern FixedAfd_AFD_1101 :: FixedAfd
pattern $bFixedAfd_AFD_1101 :: FixedAfd
$mFixedAfd_AFD_1101 :: forall {r}. FixedAfd -> ((# #) -> r) -> ((# #) -> r) -> r
FixedAfd_AFD_1101 = FixedAfd' "AFD_1101"
pattern FixedAfd_AFD_1110 :: FixedAfd
pattern $bFixedAfd_AFD_1110 :: FixedAfd
$mFixedAfd_AFD_1110 :: forall {r}. FixedAfd -> ((# #) -> r) -> ((# #) -> r) -> r
FixedAfd_AFD_1110 = FixedAfd' "AFD_1110"
pattern FixedAfd_AFD_1111 :: FixedAfd
pattern $bFixedAfd_AFD_1111 :: FixedAfd
$mFixedAfd_AFD_1111 :: forall {r}. FixedAfd -> ((# #) -> r) -> ((# #) -> r) -> r
FixedAfd_AFD_1111 = FixedAfd' "AFD_1111"
{-# COMPLETE
FixedAfd_AFD_0000,
FixedAfd_AFD_0010,
FixedAfd_AFD_0011,
FixedAfd_AFD_0100,
FixedAfd_AFD_1000,
FixedAfd_AFD_1001,
FixedAfd_AFD_1010,
FixedAfd_AFD_1011,
FixedAfd_AFD_1101,
FixedAfd_AFD_1110,
FixedAfd_AFD_1111,
FixedAfd'
#-}