/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SecurityHub { namespace Model { class DescribeOrganizationConfigurationResult { public: AWS_SECURITYHUB_API DescribeOrganizationConfigurationResult(); AWS_SECURITYHUB_API DescribeOrganizationConfigurationResult(const Aws::AmazonWebServiceResult& result); AWS_SECURITYHUB_API DescribeOrganizationConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Whether to automatically enable Security Hub for new accounts in the * organization.

If set to true, then Security Hub is enabled * for new accounts. If set to false, then new accounts are not added * automatically.

*/ inline bool GetAutoEnable() const{ return m_autoEnable; } /** *

Whether to automatically enable Security Hub for new accounts in the * organization.

If set to true, then Security Hub is enabled * for new accounts. If set to false, then new accounts are not added * automatically.

*/ inline void SetAutoEnable(bool value) { m_autoEnable = value; } /** *

Whether to automatically enable Security Hub for new accounts in the * organization.

If set to true, then Security Hub is enabled * for new accounts. If set to false, then new accounts are not added * automatically.

*/ inline DescribeOrganizationConfigurationResult& WithAutoEnable(bool value) { SetAutoEnable(value); return *this;} /** *

Whether the maximum number of allowed member accounts are already associated * with the Security Hub administrator account.

*/ inline bool GetMemberAccountLimitReached() const{ return m_memberAccountLimitReached; } /** *

Whether the maximum number of allowed member accounts are already associated * with the Security Hub administrator account.

*/ inline void SetMemberAccountLimitReached(bool value) { m_memberAccountLimitReached = value; } /** *

Whether the maximum number of allowed member accounts are already associated * with the Security Hub administrator account.

*/ inline DescribeOrganizationConfigurationResult& WithMemberAccountLimitReached(bool value) { SetMemberAccountLimitReached(value); return *this;} /** *

Whether to automatically enable Security Hub default * standards for new member accounts in the organization.

The default * value of this parameter is equal to DEFAULT.

If equal to * DEFAULT, then Security Hub default standards are automatically * enabled for new member accounts. If equal to NONE, then default * standards are not automatically enabled for new member accounts.

*/ inline const AutoEnableStandards& GetAutoEnableStandards() const{ return m_autoEnableStandards; } /** *

Whether to automatically enable Security Hub default * standards for new member accounts in the organization.

The default * value of this parameter is equal to DEFAULT.

If equal to * DEFAULT, then Security Hub default standards are automatically * enabled for new member accounts. If equal to NONE, then default * standards are not automatically enabled for new member accounts.

*/ inline void SetAutoEnableStandards(const AutoEnableStandards& value) { m_autoEnableStandards = value; } /** *

Whether to automatically enable Security Hub default * standards for new member accounts in the organization.

The default * value of this parameter is equal to DEFAULT.

If equal to * DEFAULT, then Security Hub default standards are automatically * enabled for new member accounts. If equal to NONE, then default * standards are not automatically enabled for new member accounts.

*/ inline void SetAutoEnableStandards(AutoEnableStandards&& value) { m_autoEnableStandards = std::move(value); } /** *

Whether to automatically enable Security Hub default * standards for new member accounts in the organization.

The default * value of this parameter is equal to DEFAULT.

If equal to * DEFAULT, then Security Hub default standards are automatically * enabled for new member accounts. If equal to NONE, then default * standards are not automatically enabled for new member accounts.

*/ inline DescribeOrganizationConfigurationResult& WithAutoEnableStandards(const AutoEnableStandards& value) { SetAutoEnableStandards(value); return *this;} /** *

Whether to automatically enable Security Hub default * standards for new member accounts in the organization.

The default * value of this parameter is equal to DEFAULT.

If equal to * DEFAULT, then Security Hub default standards are automatically * enabled for new member accounts. If equal to NONE, then default * standards are not automatically enabled for new member accounts.

*/ inline DescribeOrganizationConfigurationResult& WithAutoEnableStandards(AutoEnableStandards&& value) { SetAutoEnableStandards(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeOrganizationConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeOrganizationConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeOrganizationConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: bool m_autoEnable; bool m_memberAccountLimitReached; AutoEnableStandards m_autoEnableStandards; Aws::String m_requestId; }; } // namespace Model } // namespace SecurityHub } // namespace Aws