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