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

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

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

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

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

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

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

Specifies whether the maximum number of Amazon Macie member accounts are part * of the organization.

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

Specifies whether the maximum number of Amazon Macie member accounts are part * of the organization.

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

Specifies whether the maximum number of Amazon Macie member accounts are part * of the organization.

*/ inline DescribeOrganizationConfigurationResult& WithMaxAccountLimitReached(bool value) { SetMaxAccountLimitReached(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_maxAccountLimitReached; Aws::String m_requestId; }; } // namespace Model } // namespace Macie2 } // namespace Aws