{-# 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.BuiltInIntentSortAttribute
-- 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.BuiltInIntentSortAttribute
  ( BuiltInIntentSortAttribute
      ( ..,
        BuiltInIntentSortAttribute_IntentSignature
      ),
  )
where

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

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

pattern BuiltInIntentSortAttribute_IntentSignature :: BuiltInIntentSortAttribute
pattern $bBuiltInIntentSortAttribute_IntentSignature :: BuiltInIntentSortAttribute
$mBuiltInIntentSortAttribute_IntentSignature :: forall {r}.
BuiltInIntentSortAttribute -> ((# #) -> r) -> ((# #) -> r) -> r
BuiltInIntentSortAttribute_IntentSignature = BuiltInIntentSortAttribute' "IntentSignature"

{-# COMPLETE
  BuiltInIntentSortAttribute_IntentSignature,
  BuiltInIntentSortAttribute'
  #-}