{-# 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.QuickSight.Types.IdentityStore
-- 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.QuickSight.Types.IdentityStore
  ( IdentityStore
      ( ..,
        IdentityStore_QUICKSIGHT
      ),
  )
where

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

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

pattern IdentityStore_QUICKSIGHT :: IdentityStore
pattern $bIdentityStore_QUICKSIGHT :: IdentityStore
$mIdentityStore_QUICKSIGHT :: forall {r}. IdentityStore -> ((# #) -> r) -> ((# #) -> r) -> r
IdentityStore_QUICKSIGHT = IdentityStore' "QUICKSIGHT"

{-# COMPLETE
  IdentityStore_QUICKSIGHT,
  IdentityStore'
  #-}