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