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