{-# 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.Connect.Types.SearchableQueueType
-- 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.Connect.Types.SearchableQueueType
  ( SearchableQueueType
      ( ..,
        SearchableQueueType_STANDARD
      ),
  )
where

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

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

pattern SearchableQueueType_STANDARD :: SearchableQueueType
pattern $bSearchableQueueType_STANDARD :: SearchableQueueType
$mSearchableQueueType_STANDARD :: forall {r}.
SearchableQueueType -> ((# #) -> r) -> ((# #) -> r) -> r
SearchableQueueType_STANDARD = SearchableQueueType' "STANDARD"

{-# COMPLETE
  SearchableQueueType_STANDARD,
  SearchableQueueType'
  #-}