{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.LexV2Models.Types.IntentSortAttribute
( IntentSortAttribute
( ..,
IntentSortAttribute_IntentName,
IntentSortAttribute_LastUpdatedDateTime
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype IntentSortAttribute = IntentSortAttribute'
{ IntentSortAttribute -> Text
fromIntentSortAttribute ::
Data.Text
}
deriving stock
( Int -> IntentSortAttribute -> ShowS
[IntentSortAttribute] -> ShowS
IntentSortAttribute -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [IntentSortAttribute] -> ShowS
$cshowList :: [IntentSortAttribute] -> ShowS
show :: IntentSortAttribute -> String
$cshow :: IntentSortAttribute -> String
showsPrec :: Int -> IntentSortAttribute -> ShowS
$cshowsPrec :: Int -> IntentSortAttribute -> ShowS
Prelude.Show,
ReadPrec [IntentSortAttribute]
ReadPrec IntentSortAttribute
Int -> ReadS IntentSortAttribute
ReadS [IntentSortAttribute]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [IntentSortAttribute]
$creadListPrec :: ReadPrec [IntentSortAttribute]
readPrec :: ReadPrec IntentSortAttribute
$creadPrec :: ReadPrec IntentSortAttribute
readList :: ReadS [IntentSortAttribute]
$creadList :: ReadS [IntentSortAttribute]
readsPrec :: Int -> ReadS IntentSortAttribute
$creadsPrec :: Int -> ReadS IntentSortAttribute
Prelude.Read,
IntentSortAttribute -> IntentSortAttribute -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: IntentSortAttribute -> IntentSortAttribute -> Bool
$c/= :: IntentSortAttribute -> IntentSortAttribute -> Bool
== :: IntentSortAttribute -> IntentSortAttribute -> Bool
$c== :: IntentSortAttribute -> IntentSortAttribute -> Bool
Prelude.Eq,
Eq IntentSortAttribute
IntentSortAttribute -> IntentSortAttribute -> Bool
IntentSortAttribute -> IntentSortAttribute -> Ordering
IntentSortAttribute -> IntentSortAttribute -> IntentSortAttribute
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 :: IntentSortAttribute -> IntentSortAttribute -> IntentSortAttribute
$cmin :: IntentSortAttribute -> IntentSortAttribute -> IntentSortAttribute
max :: IntentSortAttribute -> IntentSortAttribute -> IntentSortAttribute
$cmax :: IntentSortAttribute -> IntentSortAttribute -> IntentSortAttribute
>= :: IntentSortAttribute -> IntentSortAttribute -> Bool
$c>= :: IntentSortAttribute -> IntentSortAttribute -> Bool
> :: IntentSortAttribute -> IntentSortAttribute -> Bool
$c> :: IntentSortAttribute -> IntentSortAttribute -> Bool
<= :: IntentSortAttribute -> IntentSortAttribute -> Bool
$c<= :: IntentSortAttribute -> IntentSortAttribute -> Bool
< :: IntentSortAttribute -> IntentSortAttribute -> Bool
$c< :: IntentSortAttribute -> IntentSortAttribute -> Bool
compare :: IntentSortAttribute -> IntentSortAttribute -> Ordering
$ccompare :: IntentSortAttribute -> IntentSortAttribute -> Ordering
Prelude.Ord,
forall x. Rep IntentSortAttribute x -> IntentSortAttribute
forall x. IntentSortAttribute -> Rep IntentSortAttribute x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep IntentSortAttribute x -> IntentSortAttribute
$cfrom :: forall x. IntentSortAttribute -> Rep IntentSortAttribute x
Prelude.Generic
)
deriving newtype
( Eq IntentSortAttribute
Int -> IntentSortAttribute -> Int
IntentSortAttribute -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: IntentSortAttribute -> Int
$chash :: IntentSortAttribute -> Int
hashWithSalt :: Int -> IntentSortAttribute -> Int
$chashWithSalt :: Int -> IntentSortAttribute -> Int
Prelude.Hashable,
IntentSortAttribute -> ()
forall a. (a -> ()) -> NFData a
rnf :: IntentSortAttribute -> ()
$crnf :: IntentSortAttribute -> ()
Prelude.NFData,
Text -> Either String IntentSortAttribute
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String IntentSortAttribute
$cfromText :: Text -> Either String IntentSortAttribute
Data.FromText,
IntentSortAttribute -> Text
forall a. (a -> Text) -> ToText a
toText :: IntentSortAttribute -> Text
$ctoText :: IntentSortAttribute -> Text
Data.ToText,
IntentSortAttribute -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: IntentSortAttribute -> ByteString
$ctoBS :: IntentSortAttribute -> ByteString
Data.ToByteString,
IntentSortAttribute -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: IntentSortAttribute -> ByteStringBuilder
$cbuild :: IntentSortAttribute -> ByteStringBuilder
Data.ToLog,
HeaderName -> IntentSortAttribute -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> IntentSortAttribute -> [Header]
$ctoHeader :: HeaderName -> IntentSortAttribute -> [Header]
Data.ToHeader,
IntentSortAttribute -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: IntentSortAttribute -> QueryString
$ctoQuery :: IntentSortAttribute -> QueryString
Data.ToQuery,
Value -> Parser [IntentSortAttribute]
Value -> Parser IntentSortAttribute
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [IntentSortAttribute]
$cparseJSONList :: Value -> Parser [IntentSortAttribute]
parseJSON :: Value -> Parser IntentSortAttribute
$cparseJSON :: Value -> Parser IntentSortAttribute
Data.FromJSON,
FromJSONKeyFunction [IntentSortAttribute]
FromJSONKeyFunction IntentSortAttribute
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [IntentSortAttribute]
$cfromJSONKeyList :: FromJSONKeyFunction [IntentSortAttribute]
fromJSONKey :: FromJSONKeyFunction IntentSortAttribute
$cfromJSONKey :: FromJSONKeyFunction IntentSortAttribute
Data.FromJSONKey,
[IntentSortAttribute] -> Encoding
[IntentSortAttribute] -> Value
IntentSortAttribute -> Encoding
IntentSortAttribute -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [IntentSortAttribute] -> Encoding
$ctoEncodingList :: [IntentSortAttribute] -> Encoding
toJSONList :: [IntentSortAttribute] -> Value
$ctoJSONList :: [IntentSortAttribute] -> Value
toEncoding :: IntentSortAttribute -> Encoding
$ctoEncoding :: IntentSortAttribute -> Encoding
toJSON :: IntentSortAttribute -> Value
$ctoJSON :: IntentSortAttribute -> Value
Data.ToJSON,
ToJSONKeyFunction [IntentSortAttribute]
ToJSONKeyFunction IntentSortAttribute
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [IntentSortAttribute]
$ctoJSONKeyList :: ToJSONKeyFunction [IntentSortAttribute]
toJSONKey :: ToJSONKeyFunction IntentSortAttribute
$ctoJSONKey :: ToJSONKeyFunction IntentSortAttribute
Data.ToJSONKey,
[Node] -> Either String IntentSortAttribute
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String IntentSortAttribute
$cparseXML :: [Node] -> Either String IntentSortAttribute
Data.FromXML,
IntentSortAttribute -> XML
forall a. (a -> XML) -> ToXML a
toXML :: IntentSortAttribute -> XML
$ctoXML :: IntentSortAttribute -> XML
Data.ToXML
)
pattern IntentSortAttribute_IntentName :: IntentSortAttribute
pattern $bIntentSortAttribute_IntentName :: IntentSortAttribute
$mIntentSortAttribute_IntentName :: forall {r}.
IntentSortAttribute -> ((# #) -> r) -> ((# #) -> r) -> r
IntentSortAttribute_IntentName = IntentSortAttribute' "IntentName"
pattern IntentSortAttribute_LastUpdatedDateTime :: IntentSortAttribute
pattern $bIntentSortAttribute_LastUpdatedDateTime :: IntentSortAttribute
$mIntentSortAttribute_LastUpdatedDateTime :: forall {r}.
IntentSortAttribute -> ((# #) -> r) -> ((# #) -> r) -> r
IntentSortAttribute_LastUpdatedDateTime = IntentSortAttribute' "LastUpdatedDateTime"
{-# COMPLETE
IntentSortAttribute_IntentName,
IntentSortAttribute_LastUpdatedDateTime,
IntentSortAttribute'
#-}