{-# 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.SQS.Types.MessageSystemAttributeNameForSends
-- 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.SQS.Types.MessageSystemAttributeNameForSends
  ( MessageSystemAttributeNameForSends
      ( ..,
        MessageSystemAttributeNameForSends_AWSTraceHeader
      ),
  )
where

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

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

pattern MessageSystemAttributeNameForSends_AWSTraceHeader :: MessageSystemAttributeNameForSends
pattern $bMessageSystemAttributeNameForSends_AWSTraceHeader :: MessageSystemAttributeNameForSends
$mMessageSystemAttributeNameForSends_AWSTraceHeader :: forall {r}.
MessageSystemAttributeNameForSends
-> ((# #) -> r) -> ((# #) -> r) -> r
MessageSystemAttributeNameForSends_AWSTraceHeader = MessageSystemAttributeNameForSends' "AWSTraceHeader"

{-# COMPLETE
  MessageSystemAttributeNameForSends_AWSTraceHeader,
  MessageSystemAttributeNameForSends'
  #-}