{-# 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.MachineLearning.Types.MLModelFilterVariable
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.MachineLearning.Types.MLModelFilterVariable
  ( MLModelFilterVariable
      ( ..,
        MLModelFilterVariable_Algorithm,
        MLModelFilterVariable_CreatedAt,
        MLModelFilterVariable_IAMUser,
        MLModelFilterVariable_LastUpdatedAt,
        MLModelFilterVariable_MLModelType,
        MLModelFilterVariable_Name,
        MLModelFilterVariable_RealtimeEndpointStatus,
        MLModelFilterVariable_Status,
        MLModelFilterVariable_TrainingDataSourceId,
        MLModelFilterVariable_TrainingDataURI
      ),
  )
where

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

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

pattern MLModelFilterVariable_Algorithm :: MLModelFilterVariable
pattern $bMLModelFilterVariable_Algorithm :: MLModelFilterVariable
$mMLModelFilterVariable_Algorithm :: forall r.
MLModelFilterVariable -> (Void# -> r) -> (Void# -> r) -> r
MLModelFilterVariable_Algorithm = MLModelFilterVariable' "Algorithm"

pattern MLModelFilterVariable_CreatedAt :: MLModelFilterVariable
pattern $bMLModelFilterVariable_CreatedAt :: MLModelFilterVariable
$mMLModelFilterVariable_CreatedAt :: forall r.
MLModelFilterVariable -> (Void# -> r) -> (Void# -> r) -> r
MLModelFilterVariable_CreatedAt = MLModelFilterVariable' "CreatedAt"

pattern MLModelFilterVariable_IAMUser :: MLModelFilterVariable
pattern $bMLModelFilterVariable_IAMUser :: MLModelFilterVariable
$mMLModelFilterVariable_IAMUser :: forall r.
MLModelFilterVariable -> (Void# -> r) -> (Void# -> r) -> r
MLModelFilterVariable_IAMUser = MLModelFilterVariable' "IAMUser"

pattern MLModelFilterVariable_LastUpdatedAt :: MLModelFilterVariable
pattern $bMLModelFilterVariable_LastUpdatedAt :: MLModelFilterVariable
$mMLModelFilterVariable_LastUpdatedAt :: forall r.
MLModelFilterVariable -> (Void# -> r) -> (Void# -> r) -> r
MLModelFilterVariable_LastUpdatedAt = MLModelFilterVariable' "LastUpdatedAt"

pattern MLModelFilterVariable_MLModelType :: MLModelFilterVariable
pattern $bMLModelFilterVariable_MLModelType :: MLModelFilterVariable
$mMLModelFilterVariable_MLModelType :: forall r.
MLModelFilterVariable -> (Void# -> r) -> (Void# -> r) -> r
MLModelFilterVariable_MLModelType = MLModelFilterVariable' "MLModelType"

pattern MLModelFilterVariable_Name :: MLModelFilterVariable
pattern $bMLModelFilterVariable_Name :: MLModelFilterVariable
$mMLModelFilterVariable_Name :: forall r.
MLModelFilterVariable -> (Void# -> r) -> (Void# -> r) -> r
MLModelFilterVariable_Name = MLModelFilterVariable' "Name"

pattern MLModelFilterVariable_RealtimeEndpointStatus :: MLModelFilterVariable
pattern $bMLModelFilterVariable_RealtimeEndpointStatus :: MLModelFilterVariable
$mMLModelFilterVariable_RealtimeEndpointStatus :: forall r.
MLModelFilterVariable -> (Void# -> r) -> (Void# -> r) -> r
MLModelFilterVariable_RealtimeEndpointStatus = MLModelFilterVariable' "RealtimeEndpointStatus"

pattern MLModelFilterVariable_Status :: MLModelFilterVariable
pattern $bMLModelFilterVariable_Status :: MLModelFilterVariable
$mMLModelFilterVariable_Status :: forall r.
MLModelFilterVariable -> (Void# -> r) -> (Void# -> r) -> r
MLModelFilterVariable_Status = MLModelFilterVariable' "Status"

pattern MLModelFilterVariable_TrainingDataSourceId :: MLModelFilterVariable
pattern $bMLModelFilterVariable_TrainingDataSourceId :: MLModelFilterVariable
$mMLModelFilterVariable_TrainingDataSourceId :: forall r.
MLModelFilterVariable -> (Void# -> r) -> (Void# -> r) -> r
MLModelFilterVariable_TrainingDataSourceId = MLModelFilterVariable' "TrainingDataSourceId"

pattern MLModelFilterVariable_TrainingDataURI :: MLModelFilterVariable
pattern $bMLModelFilterVariable_TrainingDataURI :: MLModelFilterVariable
$mMLModelFilterVariable_TrainingDataURI :: forall r.
MLModelFilterVariable -> (Void# -> r) -> (Void# -> r) -> r
MLModelFilterVariable_TrainingDataURI = MLModelFilterVariable' "TrainingDataURI"

{-# COMPLETE
  MLModelFilterVariable_Algorithm,
  MLModelFilterVariable_CreatedAt,
  MLModelFilterVariable_IAMUser,
  MLModelFilterVariable_LastUpdatedAt,
  MLModelFilterVariable_MLModelType,
  MLModelFilterVariable_Name,
  MLModelFilterVariable_RealtimeEndpointStatus,
  MLModelFilterVariable_Status,
  MLModelFilterVariable_TrainingDataSourceId,
  MLModelFilterVariable_TrainingDataURI,
  MLModelFilterVariable'
  #-}