{-# 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.ExportSortAttribute
-- 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.ExportSortAttribute
  ( ExportSortAttribute
      ( ..,
        ExportSortAttribute_LastUpdatedDateTime
      ),
  )
where

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

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

pattern ExportSortAttribute_LastUpdatedDateTime :: ExportSortAttribute
pattern $bExportSortAttribute_LastUpdatedDateTime :: ExportSortAttribute
$mExportSortAttribute_LastUpdatedDateTime :: forall {r}.
ExportSortAttribute -> ((# #) -> r) -> ((# #) -> r) -> r
ExportSortAttribute_LastUpdatedDateTime = ExportSortAttribute' "LastUpdatedDateTime"

{-# COMPLETE
  ExportSortAttribute_LastUpdatedDateTime,
  ExportSortAttribute'
  #-}