/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ManagedGrafana { namespace Model { /** *

A structure containing information about how this workspace works with SAML. *

See Also:

AWS * API Reference

*/ class SamlAuthentication { public: AWS_MANAGEDGRAFANA_API SamlAuthentication(); AWS_MANAGEDGRAFANA_API SamlAuthentication(Aws::Utils::Json::JsonView jsonValue); AWS_MANAGEDGRAFANA_API SamlAuthentication& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A structure containing details about how this workspace works with SAML.

*/ inline const SamlConfiguration& GetConfiguration() const{ return m_configuration; } /** *

A structure containing details about how this workspace works with SAML.

*/ inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } /** *

A structure containing details about how this workspace works with SAML.

*/ inline void SetConfiguration(const SamlConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; } /** *

A structure containing details about how this workspace works with SAML.

*/ inline void SetConfiguration(SamlConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } /** *

A structure containing details about how this workspace works with SAML.

*/ inline SamlAuthentication& WithConfiguration(const SamlConfiguration& value) { SetConfiguration(value); return *this;} /** *

A structure containing details about how this workspace works with SAML.

*/ inline SamlAuthentication& WithConfiguration(SamlConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} /** *

Specifies whether the workspace's SAML configuration is complete.

*/ inline const SamlConfigurationStatus& GetStatus() const{ return m_status; } /** *

Specifies whether the workspace's SAML configuration is complete.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

Specifies whether the workspace's SAML configuration is complete.

*/ inline void SetStatus(const SamlConfigurationStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

Specifies whether the workspace's SAML configuration is complete.

*/ inline void SetStatus(SamlConfigurationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

Specifies whether the workspace's SAML configuration is complete.

*/ inline SamlAuthentication& WithStatus(const SamlConfigurationStatus& value) { SetStatus(value); return *this;} /** *

Specifies whether the workspace's SAML configuration is complete.

*/ inline SamlAuthentication& WithStatus(SamlConfigurationStatus&& value) { SetStatus(std::move(value)); return *this;} private: SamlConfiguration m_configuration; bool m_configurationHasBeenSet = false; SamlConfigurationStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace ManagedGrafana } // namespace Aws