{-# 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.SortInferenceExperimentsBy
-- 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.SortInferenceExperimentsBy
  ( SortInferenceExperimentsBy
      ( ..,
        SortInferenceExperimentsBy_CreationTime,
        SortInferenceExperimentsBy_Name,
        SortInferenceExperimentsBy_Status
      ),
  )
where

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

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

pattern SortInferenceExperimentsBy_CreationTime :: SortInferenceExperimentsBy
pattern $bSortInferenceExperimentsBy_CreationTime :: SortInferenceExperimentsBy
$mSortInferenceExperimentsBy_CreationTime :: forall {r}.
SortInferenceExperimentsBy -> ((# #) -> r) -> ((# #) -> r) -> r
SortInferenceExperimentsBy_CreationTime = SortInferenceExperimentsBy' "CreationTime"

pattern SortInferenceExperimentsBy_Name :: SortInferenceExperimentsBy
pattern $bSortInferenceExperimentsBy_Name :: SortInferenceExperimentsBy
$mSortInferenceExperimentsBy_Name :: forall {r}.
SortInferenceExperimentsBy -> ((# #) -> r) -> ((# #) -> r) -> r
SortInferenceExperimentsBy_Name = SortInferenceExperimentsBy' "Name"

pattern SortInferenceExperimentsBy_Status :: SortInferenceExperimentsBy
pattern $bSortInferenceExperimentsBy_Status :: SortInferenceExperimentsBy
$mSortInferenceExperimentsBy_Status :: forall {r}.
SortInferenceExperimentsBy -> ((# #) -> r) -> ((# #) -> r) -> r
SortInferenceExperimentsBy_Status = SortInferenceExperimentsBy' "Status"

{-# COMPLETE
  SortInferenceExperimentsBy_CreationTime,
  SortInferenceExperimentsBy_Name,
  SortInferenceExperimentsBy_Status,
  SortInferenceExperimentsBy'
  #-}