/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Container for fine-grained access control settings.See Also:
* AWS
* API Reference
True if fine-grained access control is enabled.
*/ inline bool GetEnabled() const{ return m_enabled; } /** *True if fine-grained access control is enabled.
*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *True if fine-grained access control is enabled.
*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *True if fine-grained access control is enabled.
*/ inline AdvancedSecurityOptions& WithEnabled(bool value) { SetEnabled(value); return *this;} /** *True if the internal user database is enabled.
*/ inline bool GetInternalUserDatabaseEnabled() const{ return m_internalUserDatabaseEnabled; } /** *True if the internal user database is enabled.
*/ inline bool InternalUserDatabaseEnabledHasBeenSet() const { return m_internalUserDatabaseEnabledHasBeenSet; } /** *True if the internal user database is enabled.
*/ inline void SetInternalUserDatabaseEnabled(bool value) { m_internalUserDatabaseEnabledHasBeenSet = true; m_internalUserDatabaseEnabled = value; } /** *True if the internal user database is enabled.
*/ inline AdvancedSecurityOptions& WithInternalUserDatabaseEnabled(bool value) { SetInternalUserDatabaseEnabled(value); return *this;} /** *Container for information about the SAML configuration for OpenSearch * Dashboards.
*/ inline const SAMLOptionsOutput& GetSAMLOptions() const{ return m_sAMLOptions; } /** *Container for information about the SAML configuration for OpenSearch * Dashboards.
*/ inline bool SAMLOptionsHasBeenSet() const { return m_sAMLOptionsHasBeenSet; } /** *Container for information about the SAML configuration for OpenSearch * Dashboards.
*/ inline void SetSAMLOptions(const SAMLOptionsOutput& value) { m_sAMLOptionsHasBeenSet = true; m_sAMLOptions = value; } /** *Container for information about the SAML configuration for OpenSearch * Dashboards.
*/ inline void SetSAMLOptions(SAMLOptionsOutput&& value) { m_sAMLOptionsHasBeenSet = true; m_sAMLOptions = std::move(value); } /** *Container for information about the SAML configuration for OpenSearch * Dashboards.
*/ inline AdvancedSecurityOptions& WithSAMLOptions(const SAMLOptionsOutput& value) { SetSAMLOptions(value); return *this;} /** *Container for information about the SAML configuration for OpenSearch * Dashboards.
*/ inline AdvancedSecurityOptions& WithSAMLOptions(SAMLOptionsOutput&& value) { SetSAMLOptions(std::move(value)); return *this;} /** *Date and time when the migration period will be disabled. Only necessary when * enabling * fine-grained access control on an existing domain.
*/ inline const Aws::Utils::DateTime& GetAnonymousAuthDisableDate() const{ return m_anonymousAuthDisableDate; } /** *Date and time when the migration period will be disabled. Only necessary when * enabling * fine-grained access control on an existing domain.
*/ inline bool AnonymousAuthDisableDateHasBeenSet() const { return m_anonymousAuthDisableDateHasBeenSet; } /** *Date and time when the migration period will be disabled. Only necessary when * enabling * fine-grained access control on an existing domain.
*/ inline void SetAnonymousAuthDisableDate(const Aws::Utils::DateTime& value) { m_anonymousAuthDisableDateHasBeenSet = true; m_anonymousAuthDisableDate = value; } /** *Date and time when the migration period will be disabled. Only necessary when * enabling * fine-grained access control on an existing domain.
*/ inline void SetAnonymousAuthDisableDate(Aws::Utils::DateTime&& value) { m_anonymousAuthDisableDateHasBeenSet = true; m_anonymousAuthDisableDate = std::move(value); } /** *Date and time when the migration period will be disabled. Only necessary when * enabling * fine-grained access control on an existing domain.
*/ inline AdvancedSecurityOptions& WithAnonymousAuthDisableDate(const Aws::Utils::DateTime& value) { SetAnonymousAuthDisableDate(value); return *this;} /** *Date and time when the migration period will be disabled. Only necessary when * enabling * fine-grained access control on an existing domain.
*/ inline AdvancedSecurityOptions& WithAnonymousAuthDisableDate(Aws::Utils::DateTime&& value) { SetAnonymousAuthDisableDate(std::move(value)); return *this;} /** *True if a 30-day migration period is enabled, during which administrators can * create role mappings. Only necessary when enabling * fine-grained access control on an existing domain.
*/ inline bool GetAnonymousAuthEnabled() const{ return m_anonymousAuthEnabled; } /** *True if a 30-day migration period is enabled, during which administrators can * create role mappings. Only necessary when enabling * fine-grained access control on an existing domain.
*/ inline bool AnonymousAuthEnabledHasBeenSet() const { return m_anonymousAuthEnabledHasBeenSet; } /** *True if a 30-day migration period is enabled, during which administrators can * create role mappings. Only necessary when enabling * fine-grained access control on an existing domain.
*/ inline void SetAnonymousAuthEnabled(bool value) { m_anonymousAuthEnabledHasBeenSet = true; m_anonymousAuthEnabled = value; } /** *True if a 30-day migration period is enabled, during which administrators can * create role mappings. Only necessary when enabling * fine-grained access control on an existing domain.
*/ inline AdvancedSecurityOptions& WithAnonymousAuthEnabled(bool value) { SetAnonymousAuthEnabled(value); return *this;} private: bool m_enabled; bool m_enabledHasBeenSet = false; bool m_internalUserDatabaseEnabled; bool m_internalUserDatabaseEnabledHasBeenSet = false; SAMLOptionsOutput m_sAMLOptions; bool m_sAMLOptionsHasBeenSet = false; Aws::Utils::DateTime m_anonymousAuthDisableDate; bool m_anonymousAuthDisableDateHasBeenSet = false; bool m_anonymousAuthEnabled; bool m_anonymousAuthEnabledHasBeenSet = false; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws