{-# 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.LexV2Models.Types.ImportSortAttribute
-- 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.LexV2Models.Types.ImportSortAttribute
  ( ImportSortAttribute
      ( ..,
        ImportSortAttribute_LastUpdatedDateTime
      ),
  )
where

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

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

pattern ImportSortAttribute_LastUpdatedDateTime :: ImportSortAttribute
pattern $bImportSortAttribute_LastUpdatedDateTime :: ImportSortAttribute
$mImportSortAttribute_LastUpdatedDateTime :: forall {r}.
ImportSortAttribute -> ((# #) -> r) -> ((# #) -> r) -> r
ImportSortAttribute_LastUpdatedDateTime = ImportSortAttribute' "LastUpdatedDateTime"

{-# COMPLETE
  ImportSortAttribute_LastUpdatedDateTime,
  ImportSortAttribute'
  #-}