module Stratosphere.OpenSearchService.Domain.SAMLOptionsProperty (
        module Exports, SAMLOptionsProperty(..), mkSAMLOptionsProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.OpenSearchService.Domain.IdpProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data SAMLOptionsProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-samloptions.html>
    SAMLOptionsProperty {SAMLOptionsProperty -> ()
haddock_workaround_ :: (),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-samloptions.html#cfn-opensearchservice-domain-samloptions-enabled>
                         SAMLOptionsProperty -> Maybe (Value Bool)
enabled :: (Prelude.Maybe (Value Prelude.Bool)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-samloptions.html#cfn-opensearchservice-domain-samloptions-idp>
                         SAMLOptionsProperty -> Maybe IdpProperty
idp :: (Prelude.Maybe IdpProperty),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-samloptions.html#cfn-opensearchservice-domain-samloptions-masterbackendrole>
                         SAMLOptionsProperty -> Maybe (Value Text)
masterBackendRole :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-samloptions.html#cfn-opensearchservice-domain-samloptions-masterusername>
                         SAMLOptionsProperty -> Maybe (Value Text)
masterUserName :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-samloptions.html#cfn-opensearchservice-domain-samloptions-roleskey>
                         SAMLOptionsProperty -> Maybe (Value Text)
rolesKey :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-samloptions.html#cfn-opensearchservice-domain-samloptions-sessiontimeoutminutes>
                         SAMLOptionsProperty -> Maybe (Value Integer)
sessionTimeoutMinutes :: (Prelude.Maybe (Value Prelude.Integer)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-samloptions.html#cfn-opensearchservice-domain-samloptions-subjectkey>
                         SAMLOptionsProperty -> Maybe (Value Text)
subjectKey :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (SAMLOptionsProperty -> SAMLOptionsProperty -> Bool
(SAMLOptionsProperty -> SAMLOptionsProperty -> Bool)
-> (SAMLOptionsProperty -> SAMLOptionsProperty -> Bool)
-> Eq SAMLOptionsProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SAMLOptionsProperty -> SAMLOptionsProperty -> Bool
== :: SAMLOptionsProperty -> SAMLOptionsProperty -> Bool
$c/= :: SAMLOptionsProperty -> SAMLOptionsProperty -> Bool
/= :: SAMLOptionsProperty -> SAMLOptionsProperty -> Bool
Prelude.Eq, Int -> SAMLOptionsProperty -> ShowS
[SAMLOptionsProperty] -> ShowS
SAMLOptionsProperty -> String
(Int -> SAMLOptionsProperty -> ShowS)
-> (SAMLOptionsProperty -> String)
-> ([SAMLOptionsProperty] -> ShowS)
-> Show SAMLOptionsProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SAMLOptionsProperty -> ShowS
showsPrec :: Int -> SAMLOptionsProperty -> ShowS
$cshow :: SAMLOptionsProperty -> String
show :: SAMLOptionsProperty -> String
$cshowList :: [SAMLOptionsProperty] -> ShowS
showList :: [SAMLOptionsProperty] -> ShowS
Prelude.Show)
mkSAMLOptionsProperty :: SAMLOptionsProperty
mkSAMLOptionsProperty :: SAMLOptionsProperty
mkSAMLOptionsProperty
  = SAMLOptionsProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), enabled :: Maybe (Value Bool)
enabled = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       idp :: Maybe IdpProperty
idp = Maybe IdpProperty
forall a. Maybe a
Prelude.Nothing, masterBackendRole :: Maybe (Value Text)
masterBackendRole = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       masterUserName :: Maybe (Value Text)
masterUserName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, rolesKey :: Maybe (Value Text)
rolesKey = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       sessionTimeoutMinutes :: Maybe (Value Integer)
sessionTimeoutMinutes = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       subjectKey :: Maybe (Value Text)
subjectKey = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties SAMLOptionsProperty where
  toResourceProperties :: SAMLOptionsProperty -> ResourceProperties
toResourceProperties SAMLOptionsProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe IdpProperty
()
haddock_workaround_ :: SAMLOptionsProperty -> ()
enabled :: SAMLOptionsProperty -> Maybe (Value Bool)
idp :: SAMLOptionsProperty -> Maybe IdpProperty
masterBackendRole :: SAMLOptionsProperty -> Maybe (Value Text)
masterUserName :: SAMLOptionsProperty -> Maybe (Value Text)
rolesKey :: SAMLOptionsProperty -> Maybe (Value Text)
sessionTimeoutMinutes :: SAMLOptionsProperty -> Maybe (Value Integer)
subjectKey :: SAMLOptionsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
idp :: Maybe IdpProperty
masterBackendRole :: Maybe (Value Text)
masterUserName :: Maybe (Value Text)
rolesKey :: Maybe (Value Text)
sessionTimeoutMinutes :: Maybe (Value Integer)
subjectKey :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::OpenSearchService::Domain.SAMLOptions",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                           [Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Enabled" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enabled,
                            Key -> IdpProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Idp" (IdpProperty -> (Key, Value))
-> Maybe IdpProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe IdpProperty
idp,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MasterBackendRole" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
masterBackendRole,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MasterUserName" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
masterUserName,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RolesKey" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
rolesKey,
                            Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SessionTimeoutMinutes"
                              (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
sessionTimeoutMinutes,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SubjectKey" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
subjectKey])}
instance JSON.ToJSON SAMLOptionsProperty where
  toJSON :: SAMLOptionsProperty -> Value
toJSON SAMLOptionsProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe IdpProperty
()
haddock_workaround_ :: SAMLOptionsProperty -> ()
enabled :: SAMLOptionsProperty -> Maybe (Value Bool)
idp :: SAMLOptionsProperty -> Maybe IdpProperty
masterBackendRole :: SAMLOptionsProperty -> Maybe (Value Text)
masterUserName :: SAMLOptionsProperty -> Maybe (Value Text)
rolesKey :: SAMLOptionsProperty -> Maybe (Value Text)
sessionTimeoutMinutes :: SAMLOptionsProperty -> Maybe (Value Integer)
subjectKey :: SAMLOptionsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
idp :: Maybe IdpProperty
masterBackendRole :: Maybe (Value Text)
masterUserName :: Maybe (Value Text)
rolesKey :: Maybe (Value Text)
sessionTimeoutMinutes :: Maybe (Value Integer)
subjectKey :: Maybe (Value Text)
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
              [Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Enabled" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enabled,
               Key -> IdpProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Idp" (IdpProperty -> (Key, Value))
-> Maybe IdpProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe IdpProperty
idp,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MasterBackendRole" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
masterBackendRole,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MasterUserName" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
masterUserName,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RolesKey" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
rolesKey,
               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SessionTimeoutMinutes"
                 (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
sessionTimeoutMinutes,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SubjectKey" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
subjectKey]))
instance Property "Enabled" SAMLOptionsProperty where
  type PropertyType "Enabled" SAMLOptionsProperty = Value Prelude.Bool
  set :: PropertyType "Enabled" SAMLOptionsProperty
-> SAMLOptionsProperty -> SAMLOptionsProperty
set PropertyType "Enabled" SAMLOptionsProperty
newValue SAMLOptionsProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe IdpProperty
()
haddock_workaround_ :: SAMLOptionsProperty -> ()
enabled :: SAMLOptionsProperty -> Maybe (Value Bool)
idp :: SAMLOptionsProperty -> Maybe IdpProperty
masterBackendRole :: SAMLOptionsProperty -> Maybe (Value Text)
masterUserName :: SAMLOptionsProperty -> Maybe (Value Text)
rolesKey :: SAMLOptionsProperty -> Maybe (Value Text)
sessionTimeoutMinutes :: SAMLOptionsProperty -> Maybe (Value Integer)
subjectKey :: SAMLOptionsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
idp :: Maybe IdpProperty
masterBackendRole :: Maybe (Value Text)
masterUserName :: Maybe (Value Text)
rolesKey :: Maybe (Value Text)
sessionTimeoutMinutes :: Maybe (Value Integer)
subjectKey :: Maybe (Value Text)
..}
    = SAMLOptionsProperty {enabled :: Maybe (Value Bool)
enabled = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Enabled" SAMLOptionsProperty
Value Bool
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe IdpProperty
()
haddock_workaround_ :: ()
idp :: Maybe IdpProperty
masterBackendRole :: Maybe (Value Text)
masterUserName :: Maybe (Value Text)
rolesKey :: Maybe (Value Text)
sessionTimeoutMinutes :: Maybe (Value Integer)
subjectKey :: Maybe (Value Text)
haddock_workaround_ :: ()
idp :: Maybe IdpProperty
masterBackendRole :: Maybe (Value Text)
masterUserName :: Maybe (Value Text)
rolesKey :: Maybe (Value Text)
sessionTimeoutMinutes :: Maybe (Value Integer)
subjectKey :: Maybe (Value Text)
..}
instance Property "Idp" SAMLOptionsProperty where
  type PropertyType "Idp" SAMLOptionsProperty = IdpProperty
  set :: PropertyType "Idp" SAMLOptionsProperty
-> SAMLOptionsProperty -> SAMLOptionsProperty
set PropertyType "Idp" SAMLOptionsProperty
newValue SAMLOptionsProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe IdpProperty
()
haddock_workaround_ :: SAMLOptionsProperty -> ()
enabled :: SAMLOptionsProperty -> Maybe (Value Bool)
idp :: SAMLOptionsProperty -> Maybe IdpProperty
masterBackendRole :: SAMLOptionsProperty -> Maybe (Value Text)
masterUserName :: SAMLOptionsProperty -> Maybe (Value Text)
rolesKey :: SAMLOptionsProperty -> Maybe (Value Text)
sessionTimeoutMinutes :: SAMLOptionsProperty -> Maybe (Value Integer)
subjectKey :: SAMLOptionsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
idp :: Maybe IdpProperty
masterBackendRole :: Maybe (Value Text)
masterUserName :: Maybe (Value Text)
rolesKey :: Maybe (Value Text)
sessionTimeoutMinutes :: Maybe (Value Integer)
subjectKey :: Maybe (Value Text)
..}
    = SAMLOptionsProperty {idp :: Maybe IdpProperty
idp = IdpProperty -> Maybe IdpProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Idp" SAMLOptionsProperty
IdpProperty
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
masterBackendRole :: Maybe (Value Text)
masterUserName :: Maybe (Value Text)
rolesKey :: Maybe (Value Text)
sessionTimeoutMinutes :: Maybe (Value Integer)
subjectKey :: Maybe (Value Text)
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
masterBackendRole :: Maybe (Value Text)
masterUserName :: Maybe (Value Text)
rolesKey :: Maybe (Value Text)
sessionTimeoutMinutes :: Maybe (Value Integer)
subjectKey :: Maybe (Value Text)
..}
instance Property "MasterBackendRole" SAMLOptionsProperty where
  type PropertyType "MasterBackendRole" SAMLOptionsProperty = Value Prelude.Text
  set :: PropertyType "MasterBackendRole" SAMLOptionsProperty
-> SAMLOptionsProperty -> SAMLOptionsProperty
set PropertyType "MasterBackendRole" SAMLOptionsProperty
newValue SAMLOptionsProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe IdpProperty
()
haddock_workaround_ :: SAMLOptionsProperty -> ()
enabled :: SAMLOptionsProperty -> Maybe (Value Bool)
idp :: SAMLOptionsProperty -> Maybe IdpProperty
masterBackendRole :: SAMLOptionsProperty -> Maybe (Value Text)
masterUserName :: SAMLOptionsProperty -> Maybe (Value Text)
rolesKey :: SAMLOptionsProperty -> Maybe (Value Text)
sessionTimeoutMinutes :: SAMLOptionsProperty -> Maybe (Value Integer)
subjectKey :: SAMLOptionsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
idp :: Maybe IdpProperty
masterBackendRole :: Maybe (Value Text)
masterUserName :: Maybe (Value Text)
rolesKey :: Maybe (Value Text)
sessionTimeoutMinutes :: Maybe (Value Integer)
subjectKey :: Maybe (Value Text)
..}
    = SAMLOptionsProperty
        {masterBackendRole :: Maybe (Value Text)
masterBackendRole = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MasterBackendRole" SAMLOptionsProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe IdpProperty
()
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
idp :: Maybe IdpProperty
masterUserName :: Maybe (Value Text)
rolesKey :: Maybe (Value Text)
sessionTimeoutMinutes :: Maybe (Value Integer)
subjectKey :: Maybe (Value Text)
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
idp :: Maybe IdpProperty
masterUserName :: Maybe (Value Text)
rolesKey :: Maybe (Value Text)
sessionTimeoutMinutes :: Maybe (Value Integer)
subjectKey :: Maybe (Value Text)
..}
instance Property "MasterUserName" SAMLOptionsProperty where
  type PropertyType "MasterUserName" SAMLOptionsProperty = Value Prelude.Text
  set :: PropertyType "MasterUserName" SAMLOptionsProperty
-> SAMLOptionsProperty -> SAMLOptionsProperty
set PropertyType "MasterUserName" SAMLOptionsProperty
newValue SAMLOptionsProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe IdpProperty
()
haddock_workaround_ :: SAMLOptionsProperty -> ()
enabled :: SAMLOptionsProperty -> Maybe (Value Bool)
idp :: SAMLOptionsProperty -> Maybe IdpProperty
masterBackendRole :: SAMLOptionsProperty -> Maybe (Value Text)
masterUserName :: SAMLOptionsProperty -> Maybe (Value Text)
rolesKey :: SAMLOptionsProperty -> Maybe (Value Text)
sessionTimeoutMinutes :: SAMLOptionsProperty -> Maybe (Value Integer)
subjectKey :: SAMLOptionsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
idp :: Maybe IdpProperty
masterBackendRole :: Maybe (Value Text)
masterUserName :: Maybe (Value Text)
rolesKey :: Maybe (Value Text)
sessionTimeoutMinutes :: Maybe (Value Integer)
subjectKey :: Maybe (Value Text)
..}
    = SAMLOptionsProperty {masterUserName :: Maybe (Value Text)
masterUserName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MasterUserName" SAMLOptionsProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe IdpProperty
()
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
idp :: Maybe IdpProperty
masterBackendRole :: Maybe (Value Text)
rolesKey :: Maybe (Value Text)
sessionTimeoutMinutes :: Maybe (Value Integer)
subjectKey :: Maybe (Value Text)
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
idp :: Maybe IdpProperty
masterBackendRole :: Maybe (Value Text)
rolesKey :: Maybe (Value Text)
sessionTimeoutMinutes :: Maybe (Value Integer)
subjectKey :: Maybe (Value Text)
..}
instance Property "RolesKey" SAMLOptionsProperty where
  type PropertyType "RolesKey" SAMLOptionsProperty = Value Prelude.Text
  set :: PropertyType "RolesKey" SAMLOptionsProperty
-> SAMLOptionsProperty -> SAMLOptionsProperty
set PropertyType "RolesKey" SAMLOptionsProperty
newValue SAMLOptionsProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe IdpProperty
()
haddock_workaround_ :: SAMLOptionsProperty -> ()
enabled :: SAMLOptionsProperty -> Maybe (Value Bool)
idp :: SAMLOptionsProperty -> Maybe IdpProperty
masterBackendRole :: SAMLOptionsProperty -> Maybe (Value Text)
masterUserName :: SAMLOptionsProperty -> Maybe (Value Text)
rolesKey :: SAMLOptionsProperty -> Maybe (Value Text)
sessionTimeoutMinutes :: SAMLOptionsProperty -> Maybe (Value Integer)
subjectKey :: SAMLOptionsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
idp :: Maybe IdpProperty
masterBackendRole :: Maybe (Value Text)
masterUserName :: Maybe (Value Text)
rolesKey :: Maybe (Value Text)
sessionTimeoutMinutes :: Maybe (Value Integer)
subjectKey :: Maybe (Value Text)
..}
    = SAMLOptionsProperty {rolesKey :: Maybe (Value Text)
rolesKey = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RolesKey" SAMLOptionsProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe IdpProperty
()
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
idp :: Maybe IdpProperty
masterBackendRole :: Maybe (Value Text)
masterUserName :: Maybe (Value Text)
sessionTimeoutMinutes :: Maybe (Value Integer)
subjectKey :: Maybe (Value Text)
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
idp :: Maybe IdpProperty
masterBackendRole :: Maybe (Value Text)
masterUserName :: Maybe (Value Text)
sessionTimeoutMinutes :: Maybe (Value Integer)
subjectKey :: Maybe (Value Text)
..}
instance Property "SessionTimeoutMinutes" SAMLOptionsProperty where
  type PropertyType "SessionTimeoutMinutes" SAMLOptionsProperty = Value Prelude.Integer
  set :: PropertyType "SessionTimeoutMinutes" SAMLOptionsProperty
-> SAMLOptionsProperty -> SAMLOptionsProperty
set PropertyType "SessionTimeoutMinutes" SAMLOptionsProperty
newValue SAMLOptionsProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe IdpProperty
()
haddock_workaround_ :: SAMLOptionsProperty -> ()
enabled :: SAMLOptionsProperty -> Maybe (Value Bool)
idp :: SAMLOptionsProperty -> Maybe IdpProperty
masterBackendRole :: SAMLOptionsProperty -> Maybe (Value Text)
masterUserName :: SAMLOptionsProperty -> Maybe (Value Text)
rolesKey :: SAMLOptionsProperty -> Maybe (Value Text)
sessionTimeoutMinutes :: SAMLOptionsProperty -> Maybe (Value Integer)
subjectKey :: SAMLOptionsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
idp :: Maybe IdpProperty
masterBackendRole :: Maybe (Value Text)
masterUserName :: Maybe (Value Text)
rolesKey :: Maybe (Value Text)
sessionTimeoutMinutes :: Maybe (Value Integer)
subjectKey :: Maybe (Value Text)
..}
    = SAMLOptionsProperty
        {sessionTimeoutMinutes :: Maybe (Value Integer)
sessionTimeoutMinutes = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SessionTimeoutMinutes" SAMLOptionsProperty
Value Integer
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe IdpProperty
()
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
idp :: Maybe IdpProperty
masterBackendRole :: Maybe (Value Text)
masterUserName :: Maybe (Value Text)
rolesKey :: Maybe (Value Text)
subjectKey :: Maybe (Value Text)
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
idp :: Maybe IdpProperty
masterBackendRole :: Maybe (Value Text)
masterUserName :: Maybe (Value Text)
rolesKey :: Maybe (Value Text)
subjectKey :: Maybe (Value Text)
..}
instance Property "SubjectKey" SAMLOptionsProperty where
  type PropertyType "SubjectKey" SAMLOptionsProperty = Value Prelude.Text
  set :: PropertyType "SubjectKey" SAMLOptionsProperty
-> SAMLOptionsProperty -> SAMLOptionsProperty
set PropertyType "SubjectKey" SAMLOptionsProperty
newValue SAMLOptionsProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe IdpProperty
()
haddock_workaround_ :: SAMLOptionsProperty -> ()
enabled :: SAMLOptionsProperty -> Maybe (Value Bool)
idp :: SAMLOptionsProperty -> Maybe IdpProperty
masterBackendRole :: SAMLOptionsProperty -> Maybe (Value Text)
masterUserName :: SAMLOptionsProperty -> Maybe (Value Text)
rolesKey :: SAMLOptionsProperty -> Maybe (Value Text)
sessionTimeoutMinutes :: SAMLOptionsProperty -> Maybe (Value Integer)
subjectKey :: SAMLOptionsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
idp :: Maybe IdpProperty
masterBackendRole :: Maybe (Value Text)
masterUserName :: Maybe (Value Text)
rolesKey :: Maybe (Value Text)
sessionTimeoutMinutes :: Maybe (Value Integer)
subjectKey :: Maybe (Value Text)
..}
    = SAMLOptionsProperty {subjectKey :: Maybe (Value Text)
subjectKey = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SubjectKey" SAMLOptionsProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe IdpProperty
()
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
idp :: Maybe IdpProperty
masterBackendRole :: Maybe (Value Text)
masterUserName :: Maybe (Value Text)
rolesKey :: Maybe (Value Text)
sessionTimeoutMinutes :: Maybe (Value Integer)
haddock_workaround_ :: ()
enabled :: Maybe (Value Bool)
idp :: Maybe IdpProperty
masterBackendRole :: Maybe (Value Text)
masterUserName :: Maybe (Value Text)
rolesKey :: Maybe (Value Text)
sessionTimeoutMinutes :: Maybe (Value Integer)
..}