{-# 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.SageMaker.Types.ClarifyFeatureType
-- 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.SageMaker.Types.ClarifyFeatureType
  ( ClarifyFeatureType
      ( ..,
        ClarifyFeatureType_Categorical,
        ClarifyFeatureType_Numerical,
        ClarifyFeatureType_Text
      ),
  )
where

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

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

pattern ClarifyFeatureType_Categorical :: ClarifyFeatureType
pattern $bClarifyFeatureType_Categorical :: ClarifyFeatureType
$mClarifyFeatureType_Categorical :: forall {r}. ClarifyFeatureType -> ((# #) -> r) -> ((# #) -> r) -> r
ClarifyFeatureType_Categorical = ClarifyFeatureType' "categorical"

pattern ClarifyFeatureType_Numerical :: ClarifyFeatureType
pattern $bClarifyFeatureType_Numerical :: ClarifyFeatureType
$mClarifyFeatureType_Numerical :: forall {r}. ClarifyFeatureType -> ((# #) -> r) -> ((# #) -> r) -> r
ClarifyFeatureType_Numerical = ClarifyFeatureType' "numerical"

pattern ClarifyFeatureType_Text :: ClarifyFeatureType
pattern $bClarifyFeatureType_Text :: ClarifyFeatureType
$mClarifyFeatureType_Text :: forall {r}. ClarifyFeatureType -> ((# #) -> r) -> ((# #) -> r) -> r
ClarifyFeatureType_Text = ClarifyFeatureType' "text"

{-# COMPLETE
  ClarifyFeatureType_Categorical,
  ClarifyFeatureType_Numerical,
  ClarifyFeatureType_Text,
  ClarifyFeatureType'
  #-}