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