{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.Forecast.Types.FeaturizationMethodName
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.Forecast.Types.FeaturizationMethodName
  ( FeaturizationMethodName
      ( ..,
        FeaturizationMethodName_Filling
      ),
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude

newtype FeaturizationMethodName = FeaturizationMethodName'
  { FeaturizationMethodName -> Text
fromFeaturizationMethodName ::
      Data.Text
  }
  deriving stock
    ( Int -> FeaturizationMethodName -> ShowS
[FeaturizationMethodName] -> ShowS
FeaturizationMethodName -> String
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]
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
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
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
Prelude.Ord,
      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
    ( Eq FeaturizationMethodName
Int -> FeaturizationMethodName -> Int
FeaturizationMethodName -> Int
forall a. Eq 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 -> ()
forall a. (a -> ()) -> NFData a
rnf :: FeaturizationMethodName -> ()
$crnf :: FeaturizationMethodName -> ()
Prelude.NFData,
      Text -> Either String FeaturizationMethodName
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String FeaturizationMethodName
$cfromText :: Text -> Either String FeaturizationMethodName
Data.FromText,
      FeaturizationMethodName -> Text
forall a. (a -> Text) -> ToText a
toText :: FeaturizationMethodName -> Text
$ctoText :: FeaturizationMethodName -> Text
Data.ToText,
      FeaturizationMethodName -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: FeaturizationMethodName -> ByteString
$ctoBS :: FeaturizationMethodName -> ByteString
Data.ToByteString,
      FeaturizationMethodName -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: FeaturizationMethodName -> ByteStringBuilder
$cbuild :: FeaturizationMethodName -> ByteStringBuilder
Data.ToLog,
      HeaderName -> FeaturizationMethodName -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> FeaturizationMethodName -> [Header]
$ctoHeader :: HeaderName -> FeaturizationMethodName -> [Header]
Data.ToHeader,
      FeaturizationMethodName -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: FeaturizationMethodName -> QueryString
$ctoQuery :: FeaturizationMethodName -> QueryString
Data.ToQuery,
      Value -> Parser [FeaturizationMethodName]
Value -> Parser 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
Data.FromJSON,
      FromJSONKeyFunction [FeaturizationMethodName]
FromJSONKeyFunction FeaturizationMethodName
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [FeaturizationMethodName]
$cfromJSONKeyList :: FromJSONKeyFunction [FeaturizationMethodName]
fromJSONKey :: FromJSONKeyFunction FeaturizationMethodName
$cfromJSONKey :: FromJSONKeyFunction FeaturizationMethodName
Data.FromJSONKey,
      [FeaturizationMethodName] -> Encoding
[FeaturizationMethodName] -> Value
FeaturizationMethodName -> Encoding
FeaturizationMethodName -> Value
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
Data.ToJSON,
      ToJSONKeyFunction [FeaturizationMethodName]
ToJSONKeyFunction FeaturizationMethodName
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [FeaturizationMethodName]
$ctoJSONKeyList :: ToJSONKeyFunction [FeaturizationMethodName]
toJSONKey :: ToJSONKeyFunction FeaturizationMethodName
$ctoJSONKey :: ToJSONKeyFunction FeaturizationMethodName
Data.ToJSONKey,
      [Node] -> Either String FeaturizationMethodName
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String FeaturizationMethodName
$cparseXML :: [Node] -> Either String FeaturizationMethodName
Data.FromXML,
      FeaturizationMethodName -> XML
forall a. (a -> XML) -> ToXML a
toXML :: FeaturizationMethodName -> XML
$ctoXML :: FeaturizationMethodName -> XML
Data.ToXML
    )

pattern FeaturizationMethodName_Filling :: FeaturizationMethodName
pattern $bFeaturizationMethodName_Filling :: FeaturizationMethodName
$mFeaturizationMethodName_Filling :: forall {r}.
FeaturizationMethodName -> ((# #) -> r) -> ((# #) -> r) -> r
FeaturizationMethodName_Filling = FeaturizationMethodName' "filling"

{-# COMPLETE
  FeaturizationMethodName_Filling,
  FeaturizationMethodName'
  #-}