/** * 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 GuardDuty { namespace Model { class AWS_GUARDDUTY_API DescribeOrganizationConfigurationResult { public: DescribeOrganizationConfigurationResult(); DescribeOrganizationConfigurationResult(const Aws::AmazonWebServiceResult& result); DescribeOrganizationConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Indicates whether GuardDuty is automatically enabled for accounts added to * the organization.

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

Indicates whether GuardDuty is automatically enabled for accounts added to * the organization.

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

Indicates whether GuardDuty is automatically enabled for accounts added to * the organization.

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

Indicates whether the maximum number of allowed member accounts are already * associated with the delegated administrator master account.

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

Indicates whether the maximum number of allowed member accounts are already * associated with the delegated administrator master account.

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

Indicates whether the maximum number of allowed member accounts are already * associated with the delegated administrator master account.

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

An object that describes which data sources are enabled automatically for * member accounts.

*/ inline const OrganizationDataSourceConfigurationsResult& GetDataSources() const{ return m_dataSources; } /** *

An object that describes which data sources are enabled automatically for * member accounts.

*/ inline void SetDataSources(const OrganizationDataSourceConfigurationsResult& value) { m_dataSources = value; } /** *

An object that describes which data sources are enabled automatically for * member accounts.

*/ inline void SetDataSources(OrganizationDataSourceConfigurationsResult&& value) { m_dataSources = std::move(value); } /** *

An object that describes which data sources are enabled automatically for * member accounts.

*/ inline DescribeOrganizationConfigurationResult& WithDataSources(const OrganizationDataSourceConfigurationsResult& value) { SetDataSources(value); return *this;} /** *

An object that describes which data sources are enabled automatically for * member accounts.

*/ inline DescribeOrganizationConfigurationResult& WithDataSources(OrganizationDataSourceConfigurationsResult&& value) { SetDataSources(std::move(value)); return *this;} private: bool m_autoEnable; bool m_memberAccountLimitReached; OrganizationDataSourceConfigurationsResult m_dataSources; }; } // namespace Model } // namespace GuardDuty } // namespace Aws