{-# 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-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- 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.Prelude as Prelude

newtype IdentityStore = IdentityStore'
  { IdentityStore -> Text
fromIdentityStore ::
      Core.Text
  }
  deriving stock
    ( Int -> IdentityStore -> ShowS
[IdentityStore] -> ShowS
IdentityStore -> String
(Int -> IdentityStore -> ShowS)
-> (IdentityStore -> String)
-> ([IdentityStore] -> ShowS)
-> Show IdentityStore
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]
(Int -> ReadS IdentityStore)
-> ReadS [IdentityStore]
-> ReadPrec IdentityStore
-> ReadPrec [IdentityStore]
-> Read 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
(IdentityStore -> IdentityStore -> Bool)
-> (IdentityStore -> IdentityStore -> Bool) -> Eq IdentityStore
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
Eq IdentityStore
-> (IdentityStore -> IdentityStore -> Ordering)
-> (IdentityStore -> IdentityStore -> Bool)
-> (IdentityStore -> IdentityStore -> Bool)
-> (IdentityStore -> IdentityStore -> Bool)
-> (IdentityStore -> IdentityStore -> Bool)
-> (IdentityStore -> IdentityStore -> IdentityStore)
-> (IdentityStore -> IdentityStore -> IdentityStore)
-> Ord 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
$cp1Ord :: Eq IdentityStore
Prelude.Ord,
      (forall x. IdentityStore -> Rep IdentityStore x)
-> (forall x. Rep IdentityStore x -> IdentityStore)
-> Generic IdentityStore
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
    ( Int -> IdentityStore -> Int
IdentityStore -> Int
(Int -> IdentityStore -> Int)
-> (IdentityStore -> Int) -> Hashable IdentityStore
forall 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 -> ()
(IdentityStore -> ()) -> NFData IdentityStore
forall a. (a -> ()) -> NFData a
rnf :: IdentityStore -> ()
$crnf :: IdentityStore -> ()
Prelude.NFData,
      Text -> Either String IdentityStore
(Text -> Either String IdentityStore) -> FromText IdentityStore
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String IdentityStore
$cfromText :: Text -> Either String IdentityStore
Core.FromText,
      IdentityStore -> Text
(IdentityStore -> Text) -> ToText IdentityStore
forall a. (a -> Text) -> ToText a
toText :: IdentityStore -> Text
$ctoText :: IdentityStore -> Text
Core.ToText,
      IdentityStore -> ByteString
(IdentityStore -> ByteString) -> ToByteString IdentityStore
forall a. (a -> ByteString) -> ToByteString a
toBS :: IdentityStore -> ByteString
$ctoBS :: IdentityStore -> ByteString
Core.ToByteString,
      IdentityStore -> ByteStringBuilder
(IdentityStore -> ByteStringBuilder) -> ToLog IdentityStore
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: IdentityStore -> ByteStringBuilder
$cbuild :: IdentityStore -> ByteStringBuilder
Core.ToLog,
      HeaderName -> IdentityStore -> [Header]
(HeaderName -> IdentityStore -> [Header]) -> ToHeader IdentityStore
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> IdentityStore -> [Header]
$ctoHeader :: HeaderName -> IdentityStore -> [Header]
Core.ToHeader,
      IdentityStore -> QueryString
(IdentityStore -> QueryString) -> ToQuery IdentityStore
forall a. (a -> QueryString) -> ToQuery a
toQuery :: IdentityStore -> QueryString
$ctoQuery :: IdentityStore -> QueryString
Core.ToQuery,
      Value -> Parser [IdentityStore]
Value -> Parser IdentityStore
(Value -> Parser IdentityStore)
-> (Value -> Parser [IdentityStore]) -> FromJSON 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
Core.FromJSON,
      FromJSONKeyFunction [IdentityStore]
FromJSONKeyFunction IdentityStore
FromJSONKeyFunction IdentityStore
-> FromJSONKeyFunction [IdentityStore] -> FromJSONKey IdentityStore
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [IdentityStore]
$cfromJSONKeyList :: FromJSONKeyFunction [IdentityStore]
fromJSONKey :: FromJSONKeyFunction IdentityStore
$cfromJSONKey :: FromJSONKeyFunction IdentityStore
Core.FromJSONKey,
      [IdentityStore] -> Encoding
[IdentityStore] -> Value
IdentityStore -> Encoding
IdentityStore -> Value
(IdentityStore -> Value)
-> (IdentityStore -> Encoding)
-> ([IdentityStore] -> Value)
-> ([IdentityStore] -> Encoding)
-> ToJSON IdentityStore
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
Core.ToJSON,
      ToJSONKeyFunction [IdentityStore]
ToJSONKeyFunction IdentityStore
ToJSONKeyFunction IdentityStore
-> ToJSONKeyFunction [IdentityStore] -> ToJSONKey IdentityStore
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [IdentityStore]
$ctoJSONKeyList :: ToJSONKeyFunction [IdentityStore]
toJSONKey :: ToJSONKeyFunction IdentityStore
$ctoJSONKey :: ToJSONKeyFunction IdentityStore
Core.ToJSONKey,
      [Node] -> Either String IdentityStore
([Node] -> Either String IdentityStore) -> FromXML IdentityStore
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String IdentityStore
$cparseXML :: [Node] -> Either String IdentityStore
Core.FromXML,
      IdentityStore -> XML
(IdentityStore -> XML) -> ToXML IdentityStore
forall a. (a -> XML) -> ToXML a
toXML :: IdentityStore -> XML
$ctoXML :: IdentityStore -> XML
Core.ToXML
    )

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

{-# COMPLETE
  IdentityStore_QUICKSIGHT,
  IdentityStore'
  #-}