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

Specifies whether Amazon Macie is enabled automatically for accounts that are * added to the AWS organization.

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

Specifies whether Amazon Macie is enabled automatically for accounts that are * added to the AWS organization.

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

Specifies whether Amazon Macie is enabled automatically for accounts that are * added to the AWS organization.

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

Specifies whether the maximum number of Amazon Macie member accounts are * already associated with the AWS organization.

*/ inline bool GetMaxAccountLimitReached() const{ return m_maxAccountLimitReached; } /** *

Specifies whether the maximum number of Amazon Macie member accounts are * already associated with the AWS organization.

*/ inline void SetMaxAccountLimitReached(bool value) { m_maxAccountLimitReached = value; } /** *

Specifies whether the maximum number of Amazon Macie member accounts are * already associated with the AWS organization.

*/ inline DescribeOrganizationConfigurationResult& WithMaxAccountLimitReached(bool value) { SetMaxAccountLimitReached(value); return *this;} private: bool m_autoEnable; bool m_maxAccountLimitReached; }; } // namespace Model } // namespace Macie2 } // namespace Aws