{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.AppFlow.Types.SlackConnectorOperator
( SlackConnectorOperator
( ..,
SlackConnectorOperator_ADDITION,
SlackConnectorOperator_BETWEEN,
SlackConnectorOperator_DIVISION,
SlackConnectorOperator_EQUAL_TO,
SlackConnectorOperator_GREATER_THAN,
SlackConnectorOperator_GREATER_THAN_OR_EQUAL_TO,
SlackConnectorOperator_LESS_THAN,
SlackConnectorOperator_LESS_THAN_OR_EQUAL_TO,
SlackConnectorOperator_MASK_ALL,
SlackConnectorOperator_MASK_FIRST_N,
SlackConnectorOperator_MASK_LAST_N,
SlackConnectorOperator_MULTIPLICATION,
SlackConnectorOperator_NO_OP,
SlackConnectorOperator_PROJECTION,
SlackConnectorOperator_SUBTRACTION,
SlackConnectorOperator_VALIDATE_NON_NEGATIVE,
SlackConnectorOperator_VALIDATE_NON_NULL,
SlackConnectorOperator_VALIDATE_NON_ZERO,
SlackConnectorOperator_VALIDATE_NUMERIC
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype SlackConnectorOperator = SlackConnectorOperator'
{ SlackConnectorOperator -> Text
fromSlackConnectorOperator ::
Core.Text
}
deriving stock
( Int -> SlackConnectorOperator -> ShowS
[SlackConnectorOperator] -> ShowS
SlackConnectorOperator -> String
(Int -> SlackConnectorOperator -> ShowS)
-> (SlackConnectorOperator -> String)
-> ([SlackConnectorOperator] -> ShowS)
-> Show SlackConnectorOperator
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SlackConnectorOperator] -> ShowS
$cshowList :: [SlackConnectorOperator] -> ShowS
show :: SlackConnectorOperator -> String
$cshow :: SlackConnectorOperator -> String
showsPrec :: Int -> SlackConnectorOperator -> ShowS
$cshowsPrec :: Int -> SlackConnectorOperator -> ShowS
Prelude.Show,
ReadPrec [SlackConnectorOperator]
ReadPrec SlackConnectorOperator
Int -> ReadS SlackConnectorOperator
ReadS [SlackConnectorOperator]
(Int -> ReadS SlackConnectorOperator)
-> ReadS [SlackConnectorOperator]
-> ReadPrec SlackConnectorOperator
-> ReadPrec [SlackConnectorOperator]
-> Read SlackConnectorOperator
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [SlackConnectorOperator]
$creadListPrec :: ReadPrec [SlackConnectorOperator]
readPrec :: ReadPrec SlackConnectorOperator
$creadPrec :: ReadPrec SlackConnectorOperator
readList :: ReadS [SlackConnectorOperator]
$creadList :: ReadS [SlackConnectorOperator]
readsPrec :: Int -> ReadS SlackConnectorOperator
$creadsPrec :: Int -> ReadS SlackConnectorOperator
Prelude.Read,
SlackConnectorOperator -> SlackConnectorOperator -> Bool
(SlackConnectorOperator -> SlackConnectorOperator -> Bool)
-> (SlackConnectorOperator -> SlackConnectorOperator -> Bool)
-> Eq SlackConnectorOperator
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SlackConnectorOperator -> SlackConnectorOperator -> Bool
$c/= :: SlackConnectorOperator -> SlackConnectorOperator -> Bool
== :: SlackConnectorOperator -> SlackConnectorOperator -> Bool
$c== :: SlackConnectorOperator -> SlackConnectorOperator -> Bool
Prelude.Eq,
Eq SlackConnectorOperator
Eq SlackConnectorOperator
-> (SlackConnectorOperator -> SlackConnectorOperator -> Ordering)
-> (SlackConnectorOperator -> SlackConnectorOperator -> Bool)
-> (SlackConnectorOperator -> SlackConnectorOperator -> Bool)
-> (SlackConnectorOperator -> SlackConnectorOperator -> Bool)
-> (SlackConnectorOperator -> SlackConnectorOperator -> Bool)
-> (SlackConnectorOperator
-> SlackConnectorOperator -> SlackConnectorOperator)
-> (SlackConnectorOperator
-> SlackConnectorOperator -> SlackConnectorOperator)
-> Ord SlackConnectorOperator
SlackConnectorOperator -> SlackConnectorOperator -> Bool
SlackConnectorOperator -> SlackConnectorOperator -> Ordering
SlackConnectorOperator
-> SlackConnectorOperator -> SlackConnectorOperator
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 :: SlackConnectorOperator
-> SlackConnectorOperator -> SlackConnectorOperator
$cmin :: SlackConnectorOperator
-> SlackConnectorOperator -> SlackConnectorOperator
max :: SlackConnectorOperator
-> SlackConnectorOperator -> SlackConnectorOperator
$cmax :: SlackConnectorOperator
-> SlackConnectorOperator -> SlackConnectorOperator
>= :: SlackConnectorOperator -> SlackConnectorOperator -> Bool
$c>= :: SlackConnectorOperator -> SlackConnectorOperator -> Bool
> :: SlackConnectorOperator -> SlackConnectorOperator -> Bool
$c> :: SlackConnectorOperator -> SlackConnectorOperator -> Bool
<= :: SlackConnectorOperator -> SlackConnectorOperator -> Bool
$c<= :: SlackConnectorOperator -> SlackConnectorOperator -> Bool
< :: SlackConnectorOperator -> SlackConnectorOperator -> Bool
$c< :: SlackConnectorOperator -> SlackConnectorOperator -> Bool
compare :: SlackConnectorOperator -> SlackConnectorOperator -> Ordering
$ccompare :: SlackConnectorOperator -> SlackConnectorOperator -> Ordering
$cp1Ord :: Eq SlackConnectorOperator
Prelude.Ord,
(forall x. SlackConnectorOperator -> Rep SlackConnectorOperator x)
-> (forall x.
Rep SlackConnectorOperator x -> SlackConnectorOperator)
-> Generic SlackConnectorOperator
forall x. Rep SlackConnectorOperator x -> SlackConnectorOperator
forall x. SlackConnectorOperator -> Rep SlackConnectorOperator x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep SlackConnectorOperator x -> SlackConnectorOperator
$cfrom :: forall x. SlackConnectorOperator -> Rep SlackConnectorOperator x
Prelude.Generic
)
deriving newtype
( Int -> SlackConnectorOperator -> Int
SlackConnectorOperator -> Int
(Int -> SlackConnectorOperator -> Int)
-> (SlackConnectorOperator -> Int)
-> Hashable SlackConnectorOperator
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: SlackConnectorOperator -> Int
$chash :: SlackConnectorOperator -> Int
hashWithSalt :: Int -> SlackConnectorOperator -> Int
$chashWithSalt :: Int -> SlackConnectorOperator -> Int
Prelude.Hashable,
SlackConnectorOperator -> ()
(SlackConnectorOperator -> ()) -> NFData SlackConnectorOperator
forall a. (a -> ()) -> NFData a
rnf :: SlackConnectorOperator -> ()
$crnf :: SlackConnectorOperator -> ()
Prelude.NFData,
Text -> Either String SlackConnectorOperator
(Text -> Either String SlackConnectorOperator)
-> FromText SlackConnectorOperator
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String SlackConnectorOperator
$cfromText :: Text -> Either String SlackConnectorOperator
Core.FromText,
SlackConnectorOperator -> Text
(SlackConnectorOperator -> Text) -> ToText SlackConnectorOperator
forall a. (a -> Text) -> ToText a
toText :: SlackConnectorOperator -> Text
$ctoText :: SlackConnectorOperator -> Text
Core.ToText,
SlackConnectorOperator -> ByteString
(SlackConnectorOperator -> ByteString)
-> ToByteString SlackConnectorOperator
forall a. (a -> ByteString) -> ToByteString a
toBS :: SlackConnectorOperator -> ByteString
$ctoBS :: SlackConnectorOperator -> ByteString
Core.ToByteString,
SlackConnectorOperator -> ByteStringBuilder
(SlackConnectorOperator -> ByteStringBuilder)
-> ToLog SlackConnectorOperator
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: SlackConnectorOperator -> ByteStringBuilder
$cbuild :: SlackConnectorOperator -> ByteStringBuilder
Core.ToLog,
HeaderName -> SlackConnectorOperator -> [Header]
(HeaderName -> SlackConnectorOperator -> [Header])
-> ToHeader SlackConnectorOperator
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> SlackConnectorOperator -> [Header]
$ctoHeader :: HeaderName -> SlackConnectorOperator -> [Header]
Core.ToHeader,
SlackConnectorOperator -> QueryString
(SlackConnectorOperator -> QueryString)
-> ToQuery SlackConnectorOperator
forall a. (a -> QueryString) -> ToQuery a
toQuery :: SlackConnectorOperator -> QueryString
$ctoQuery :: SlackConnectorOperator -> QueryString
Core.ToQuery,
Value -> Parser [SlackConnectorOperator]
Value -> Parser SlackConnectorOperator
(Value -> Parser SlackConnectorOperator)
-> (Value -> Parser [SlackConnectorOperator])
-> FromJSON SlackConnectorOperator
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [SlackConnectorOperator]
$cparseJSONList :: Value -> Parser [SlackConnectorOperator]
parseJSON :: Value -> Parser SlackConnectorOperator
$cparseJSON :: Value -> Parser SlackConnectorOperator
Core.FromJSON,
FromJSONKeyFunction [SlackConnectorOperator]
FromJSONKeyFunction SlackConnectorOperator
FromJSONKeyFunction SlackConnectorOperator
-> FromJSONKeyFunction [SlackConnectorOperator]
-> FromJSONKey SlackConnectorOperator
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [SlackConnectorOperator]
$cfromJSONKeyList :: FromJSONKeyFunction [SlackConnectorOperator]
fromJSONKey :: FromJSONKeyFunction SlackConnectorOperator
$cfromJSONKey :: FromJSONKeyFunction SlackConnectorOperator
Core.FromJSONKey,
[SlackConnectorOperator] -> Encoding
[SlackConnectorOperator] -> Value
SlackConnectorOperator -> Encoding
SlackConnectorOperator -> Value
(SlackConnectorOperator -> Value)
-> (SlackConnectorOperator -> Encoding)
-> ([SlackConnectorOperator] -> Value)
-> ([SlackConnectorOperator] -> Encoding)
-> ToJSON SlackConnectorOperator
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [SlackConnectorOperator] -> Encoding
$ctoEncodingList :: [SlackConnectorOperator] -> Encoding
toJSONList :: [SlackConnectorOperator] -> Value
$ctoJSONList :: [SlackConnectorOperator] -> Value
toEncoding :: SlackConnectorOperator -> Encoding
$ctoEncoding :: SlackConnectorOperator -> Encoding
toJSON :: SlackConnectorOperator -> Value
$ctoJSON :: SlackConnectorOperator -> Value
Core.ToJSON,
ToJSONKeyFunction [SlackConnectorOperator]
ToJSONKeyFunction SlackConnectorOperator
ToJSONKeyFunction SlackConnectorOperator
-> ToJSONKeyFunction [SlackConnectorOperator]
-> ToJSONKey SlackConnectorOperator
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [SlackConnectorOperator]
$ctoJSONKeyList :: ToJSONKeyFunction [SlackConnectorOperator]
toJSONKey :: ToJSONKeyFunction SlackConnectorOperator
$ctoJSONKey :: ToJSONKeyFunction SlackConnectorOperator
Core.ToJSONKey,
[Node] -> Either String SlackConnectorOperator
([Node] -> Either String SlackConnectorOperator)
-> FromXML SlackConnectorOperator
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String SlackConnectorOperator
$cparseXML :: [Node] -> Either String SlackConnectorOperator
Core.FromXML,
SlackConnectorOperator -> XML
(SlackConnectorOperator -> XML) -> ToXML SlackConnectorOperator
forall a. (a -> XML) -> ToXML a
toXML :: SlackConnectorOperator -> XML
$ctoXML :: SlackConnectorOperator -> XML
Core.ToXML
)
pattern SlackConnectorOperator_ADDITION :: SlackConnectorOperator
pattern $bSlackConnectorOperator_ADDITION :: SlackConnectorOperator
$mSlackConnectorOperator_ADDITION :: forall r.
SlackConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
SlackConnectorOperator_ADDITION = SlackConnectorOperator' "ADDITION"
pattern SlackConnectorOperator_BETWEEN :: SlackConnectorOperator
pattern $bSlackConnectorOperator_BETWEEN :: SlackConnectorOperator
$mSlackConnectorOperator_BETWEEN :: forall r.
SlackConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
SlackConnectorOperator_BETWEEN = SlackConnectorOperator' "BETWEEN"
pattern SlackConnectorOperator_DIVISION :: SlackConnectorOperator
pattern $bSlackConnectorOperator_DIVISION :: SlackConnectorOperator
$mSlackConnectorOperator_DIVISION :: forall r.
SlackConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
SlackConnectorOperator_DIVISION = SlackConnectorOperator' "DIVISION"
pattern SlackConnectorOperator_EQUAL_TO :: SlackConnectorOperator
pattern $bSlackConnectorOperator_EQUAL_TO :: SlackConnectorOperator
$mSlackConnectorOperator_EQUAL_TO :: forall r.
SlackConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
SlackConnectorOperator_EQUAL_TO = SlackConnectorOperator' "EQUAL_TO"
pattern SlackConnectorOperator_GREATER_THAN :: SlackConnectorOperator
pattern $bSlackConnectorOperator_GREATER_THAN :: SlackConnectorOperator
$mSlackConnectorOperator_GREATER_THAN :: forall r.
SlackConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
SlackConnectorOperator_GREATER_THAN = SlackConnectorOperator' "GREATER_THAN"
pattern SlackConnectorOperator_GREATER_THAN_OR_EQUAL_TO :: SlackConnectorOperator
pattern $bSlackConnectorOperator_GREATER_THAN_OR_EQUAL_TO :: SlackConnectorOperator
$mSlackConnectorOperator_GREATER_THAN_OR_EQUAL_TO :: forall r.
SlackConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
SlackConnectorOperator_GREATER_THAN_OR_EQUAL_TO = SlackConnectorOperator' "GREATER_THAN_OR_EQUAL_TO"
pattern SlackConnectorOperator_LESS_THAN :: SlackConnectorOperator
pattern $bSlackConnectorOperator_LESS_THAN :: SlackConnectorOperator
$mSlackConnectorOperator_LESS_THAN :: forall r.
SlackConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
SlackConnectorOperator_LESS_THAN = SlackConnectorOperator' "LESS_THAN"
pattern SlackConnectorOperator_LESS_THAN_OR_EQUAL_TO :: SlackConnectorOperator
pattern $bSlackConnectorOperator_LESS_THAN_OR_EQUAL_TO :: SlackConnectorOperator
$mSlackConnectorOperator_LESS_THAN_OR_EQUAL_TO :: forall r.
SlackConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
SlackConnectorOperator_LESS_THAN_OR_EQUAL_TO = SlackConnectorOperator' "LESS_THAN_OR_EQUAL_TO"
pattern SlackConnectorOperator_MASK_ALL :: SlackConnectorOperator
pattern $bSlackConnectorOperator_MASK_ALL :: SlackConnectorOperator
$mSlackConnectorOperator_MASK_ALL :: forall r.
SlackConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
SlackConnectorOperator_MASK_ALL = SlackConnectorOperator' "MASK_ALL"
pattern SlackConnectorOperator_MASK_FIRST_N :: SlackConnectorOperator
pattern $bSlackConnectorOperator_MASK_FIRST_N :: SlackConnectorOperator
$mSlackConnectorOperator_MASK_FIRST_N :: forall r.
SlackConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
SlackConnectorOperator_MASK_FIRST_N = SlackConnectorOperator' "MASK_FIRST_N"
pattern SlackConnectorOperator_MASK_LAST_N :: SlackConnectorOperator
pattern $bSlackConnectorOperator_MASK_LAST_N :: SlackConnectorOperator
$mSlackConnectorOperator_MASK_LAST_N :: forall r.
SlackConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
SlackConnectorOperator_MASK_LAST_N = SlackConnectorOperator' "MASK_LAST_N"
pattern SlackConnectorOperator_MULTIPLICATION :: SlackConnectorOperator
pattern $bSlackConnectorOperator_MULTIPLICATION :: SlackConnectorOperator
$mSlackConnectorOperator_MULTIPLICATION :: forall r.
SlackConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
SlackConnectorOperator_MULTIPLICATION = SlackConnectorOperator' "MULTIPLICATION"
pattern SlackConnectorOperator_NO_OP :: SlackConnectorOperator
pattern $bSlackConnectorOperator_NO_OP :: SlackConnectorOperator
$mSlackConnectorOperator_NO_OP :: forall r.
SlackConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
SlackConnectorOperator_NO_OP = SlackConnectorOperator' "NO_OP"
pattern SlackConnectorOperator_PROJECTION :: SlackConnectorOperator
pattern $bSlackConnectorOperator_PROJECTION :: SlackConnectorOperator
$mSlackConnectorOperator_PROJECTION :: forall r.
SlackConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
SlackConnectorOperator_PROJECTION = SlackConnectorOperator' "PROJECTION"
pattern SlackConnectorOperator_SUBTRACTION :: SlackConnectorOperator
pattern $bSlackConnectorOperator_SUBTRACTION :: SlackConnectorOperator
$mSlackConnectorOperator_SUBTRACTION :: forall r.
SlackConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
SlackConnectorOperator_SUBTRACTION = SlackConnectorOperator' "SUBTRACTION"
pattern SlackConnectorOperator_VALIDATE_NON_NEGATIVE :: SlackConnectorOperator
pattern $bSlackConnectorOperator_VALIDATE_NON_NEGATIVE :: SlackConnectorOperator
$mSlackConnectorOperator_VALIDATE_NON_NEGATIVE :: forall r.
SlackConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
SlackConnectorOperator_VALIDATE_NON_NEGATIVE = SlackConnectorOperator' "VALIDATE_NON_NEGATIVE"
pattern SlackConnectorOperator_VALIDATE_NON_NULL :: SlackConnectorOperator
pattern $bSlackConnectorOperator_VALIDATE_NON_NULL :: SlackConnectorOperator
$mSlackConnectorOperator_VALIDATE_NON_NULL :: forall r.
SlackConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
SlackConnectorOperator_VALIDATE_NON_NULL = SlackConnectorOperator' "VALIDATE_NON_NULL"
pattern SlackConnectorOperator_VALIDATE_NON_ZERO :: SlackConnectorOperator
pattern $bSlackConnectorOperator_VALIDATE_NON_ZERO :: SlackConnectorOperator
$mSlackConnectorOperator_VALIDATE_NON_ZERO :: forall r.
SlackConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
SlackConnectorOperator_VALIDATE_NON_ZERO = SlackConnectorOperator' "VALIDATE_NON_ZERO"
pattern SlackConnectorOperator_VALIDATE_NUMERIC :: SlackConnectorOperator
pattern $bSlackConnectorOperator_VALIDATE_NUMERIC :: SlackConnectorOperator
$mSlackConnectorOperator_VALIDATE_NUMERIC :: forall r.
SlackConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
SlackConnectorOperator_VALIDATE_NUMERIC = SlackConnectorOperator' "VALIDATE_NUMERIC"
{-# COMPLETE
SlackConnectorOperator_ADDITION,
SlackConnectorOperator_BETWEEN,
SlackConnectorOperator_DIVISION,
SlackConnectorOperator_EQUAL_TO,
SlackConnectorOperator_GREATER_THAN,
SlackConnectorOperator_GREATER_THAN_OR_EQUAL_TO,
SlackConnectorOperator_LESS_THAN,
SlackConnectorOperator_LESS_THAN_OR_EQUAL_TO,
SlackConnectorOperator_MASK_ALL,
SlackConnectorOperator_MASK_FIRST_N,
SlackConnectorOperator_MASK_LAST_N,
SlackConnectorOperator_MULTIPLICATION,
SlackConnectorOperator_NO_OP,
SlackConnectorOperator_PROJECTION,
SlackConnectorOperator_SUBTRACTION,
SlackConnectorOperator_VALIDATE_NON_NEGATIVE,
SlackConnectorOperator_VALIDATE_NON_NULL,
SlackConnectorOperator_VALIDATE_NON_ZERO,
SlackConnectorOperator_VALIDATE_NUMERIC,
SlackConnectorOperator'
#-}