/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure containing information about how this workspace works with SAML.
* See Also:
AWS
* API Reference
Lists which organizations defined in the SAML assertion are allowed to use * the Amazon Managed Grafana workspace. If this is empty, all organizations in the * assertion attribute have access.
*/ inline const Aws::VectorLists which organizations defined in the SAML assertion are allowed to use * the Amazon Managed Grafana workspace. If this is empty, all organizations in the * assertion attribute have access.
*/ inline bool AllowedOrganizationsHasBeenSet() const { return m_allowedOrganizationsHasBeenSet; } /** *Lists which organizations defined in the SAML assertion are allowed to use * the Amazon Managed Grafana workspace. If this is empty, all organizations in the * assertion attribute have access.
*/ inline void SetAllowedOrganizations(const Aws::VectorLists which organizations defined in the SAML assertion are allowed to use * the Amazon Managed Grafana workspace. If this is empty, all organizations in the * assertion attribute have access.
*/ inline void SetAllowedOrganizations(Aws::VectorLists which organizations defined in the SAML assertion are allowed to use * the Amazon Managed Grafana workspace. If this is empty, all organizations in the * assertion attribute have access.
*/ inline SamlConfiguration& WithAllowedOrganizations(const Aws::VectorLists which organizations defined in the SAML assertion are allowed to use * the Amazon Managed Grafana workspace. If this is empty, all organizations in the * assertion attribute have access.
*/ inline SamlConfiguration& WithAllowedOrganizations(Aws::VectorLists which organizations defined in the SAML assertion are allowed to use * the Amazon Managed Grafana workspace. If this is empty, all organizations in the * assertion attribute have access.
*/ inline SamlConfiguration& AddAllowedOrganizations(const Aws::String& value) { m_allowedOrganizationsHasBeenSet = true; m_allowedOrganizations.push_back(value); return *this; } /** *Lists which organizations defined in the SAML assertion are allowed to use * the Amazon Managed Grafana workspace. If this is empty, all organizations in the * assertion attribute have access.
*/ inline SamlConfiguration& AddAllowedOrganizations(Aws::String&& value) { m_allowedOrganizationsHasBeenSet = true; m_allowedOrganizations.push_back(std::move(value)); return *this; } /** *Lists which organizations defined in the SAML assertion are allowed to use * the Amazon Managed Grafana workspace. If this is empty, all organizations in the * assertion attribute have access.
*/ inline SamlConfiguration& AddAllowedOrganizations(const char* value) { m_allowedOrganizationsHasBeenSet = true; m_allowedOrganizations.push_back(value); return *this; } /** *A structure that defines which attributes in the SAML assertion are to be * used to define information about the users authenticated by that IdP to use the * workspace.
*/ inline const AssertionAttributes& GetAssertionAttributes() const{ return m_assertionAttributes; } /** *A structure that defines which attributes in the SAML assertion are to be * used to define information about the users authenticated by that IdP to use the * workspace.
*/ inline bool AssertionAttributesHasBeenSet() const { return m_assertionAttributesHasBeenSet; } /** *A structure that defines which attributes in the SAML assertion are to be * used to define information about the users authenticated by that IdP to use the * workspace.
*/ inline void SetAssertionAttributes(const AssertionAttributes& value) { m_assertionAttributesHasBeenSet = true; m_assertionAttributes = value; } /** *A structure that defines which attributes in the SAML assertion are to be * used to define information about the users authenticated by that IdP to use the * workspace.
*/ inline void SetAssertionAttributes(AssertionAttributes&& value) { m_assertionAttributesHasBeenSet = true; m_assertionAttributes = std::move(value); } /** *A structure that defines which attributes in the SAML assertion are to be * used to define information about the users authenticated by that IdP to use the * workspace.
*/ inline SamlConfiguration& WithAssertionAttributes(const AssertionAttributes& value) { SetAssertionAttributes(value); return *this;} /** *A structure that defines which attributes in the SAML assertion are to be * used to define information about the users authenticated by that IdP to use the * workspace.
*/ inline SamlConfiguration& WithAssertionAttributes(AssertionAttributes&& value) { SetAssertionAttributes(std::move(value)); return *this;} /** *A structure containing the identity provider (IdP) metadata used to integrate * the identity provider with this workspace.
*/ inline const IdpMetadata& GetIdpMetadata() const{ return m_idpMetadata; } /** *A structure containing the identity provider (IdP) metadata used to integrate * the identity provider with this workspace.
*/ inline bool IdpMetadataHasBeenSet() const { return m_idpMetadataHasBeenSet; } /** *A structure containing the identity provider (IdP) metadata used to integrate * the identity provider with this workspace.
*/ inline void SetIdpMetadata(const IdpMetadata& value) { m_idpMetadataHasBeenSet = true; m_idpMetadata = value; } /** *A structure containing the identity provider (IdP) metadata used to integrate * the identity provider with this workspace.
*/ inline void SetIdpMetadata(IdpMetadata&& value) { m_idpMetadataHasBeenSet = true; m_idpMetadata = std::move(value); } /** *A structure containing the identity provider (IdP) metadata used to integrate * the identity provider with this workspace.
*/ inline SamlConfiguration& WithIdpMetadata(const IdpMetadata& value) { SetIdpMetadata(value); return *this;} /** *A structure containing the identity provider (IdP) metadata used to integrate * the identity provider with this workspace.
*/ inline SamlConfiguration& WithIdpMetadata(IdpMetadata&& value) { SetIdpMetadata(std::move(value)); return *this;} /** *How long a sign-on session by a SAML user is valid, before the user has to * sign on again.
*/ inline int GetLoginValidityDuration() const{ return m_loginValidityDuration; } /** *How long a sign-on session by a SAML user is valid, before the user has to * sign on again.
*/ inline bool LoginValidityDurationHasBeenSet() const { return m_loginValidityDurationHasBeenSet; } /** *How long a sign-on session by a SAML user is valid, before the user has to * sign on again.
*/ inline void SetLoginValidityDuration(int value) { m_loginValidityDurationHasBeenSet = true; m_loginValidityDuration = value; } /** *How long a sign-on session by a SAML user is valid, before the user has to * sign on again.
*/ inline SamlConfiguration& WithLoginValidityDuration(int value) { SetLoginValidityDuration(value); return *this;} /** *A structure containing arrays that map group names in the SAML assertion to
* the Grafana Admin
and Editor
roles in the
* workspace.
A structure containing arrays that map group names in the SAML assertion to
* the Grafana Admin
and Editor
roles in the
* workspace.
A structure containing arrays that map group names in the SAML assertion to
* the Grafana Admin
and Editor
roles in the
* workspace.
A structure containing arrays that map group names in the SAML assertion to
* the Grafana Admin
and Editor
roles in the
* workspace.
A structure containing arrays that map group names in the SAML assertion to
* the Grafana Admin
and Editor
roles in the
* workspace.
A structure containing arrays that map group names in the SAML assertion to
* the Grafana Admin
and Editor
roles in the
* workspace.