{-# 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.WorkSpaces.Types.DeletableSamlProperty
-- 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.WorkSpaces.Types.DeletableSamlProperty
  ( DeletableSamlProperty
      ( ..,
        DeletableSamlProperty_SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME,
        DeletableSamlProperty_SAML_PROPERTIES_USER_ACCESS_URL
      ),
  )
where

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

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

pattern DeletableSamlProperty_SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME :: DeletableSamlProperty
pattern $bDeletableSamlProperty_SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME :: DeletableSamlProperty
$mDeletableSamlProperty_SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME :: forall {r}.
DeletableSamlProperty -> ((# #) -> r) -> ((# #) -> r) -> r
DeletableSamlProperty_SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME = DeletableSamlProperty' "SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME"

pattern DeletableSamlProperty_SAML_PROPERTIES_USER_ACCESS_URL :: DeletableSamlProperty
pattern $bDeletableSamlProperty_SAML_PROPERTIES_USER_ACCESS_URL :: DeletableSamlProperty
$mDeletableSamlProperty_SAML_PROPERTIES_USER_ACCESS_URL :: forall {r}.
DeletableSamlProperty -> ((# #) -> r) -> ((# #) -> r) -> r
DeletableSamlProperty_SAML_PROPERTIES_USER_ACCESS_URL = DeletableSamlProperty' "SAML_PROPERTIES_USER_ACCESS_URL"

{-# COMPLETE
  DeletableSamlProperty_SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME,
  DeletableSamlProperty_SAML_PROPERTIES_USER_ACCESS_URL,
  DeletableSamlProperty'
  #-}