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