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