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

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

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

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

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

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

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

A list of features that are configured for this organization.

*/ inline const Aws::Vector& GetFeatures() const{ return m_features; } /** *

A list of features that are configured for this organization.

*/ inline void SetFeatures(const Aws::Vector& value) { m_features = value; } /** *

A list of features that are configured for this organization.

*/ inline void SetFeatures(Aws::Vector&& value) { m_features = std::move(value); } /** *

A list of features that are configured for this organization.

*/ inline DescribeOrganizationConfigurationResult& WithFeatures(const Aws::Vector& value) { SetFeatures(value); return *this;} /** *

A list of features that are configured for this organization.

*/ inline DescribeOrganizationConfigurationResult& WithFeatures(Aws::Vector&& value) { SetFeatures(std::move(value)); return *this;} /** *

A list of features that are configured for this organization.

*/ inline DescribeOrganizationConfigurationResult& AddFeatures(const OrganizationFeatureConfigurationResult& value) { m_features.push_back(value); return *this; } /** *

A list of features that are configured for this organization.

*/ inline DescribeOrganizationConfigurationResult& AddFeatures(OrganizationFeatureConfigurationResult&& value) { m_features.push_back(std::move(value)); return *this; } /** *

The pagination parameter to be used on the next list operation to retrieve * more items.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The pagination parameter to be used on the next list operation to retrieve * more items.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

The pagination parameter to be used on the next list operation to retrieve * more items.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

The pagination parameter to be used on the next list operation to retrieve * more items.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The pagination parameter to be used on the next list operation to retrieve * more items.

*/ inline DescribeOrganizationConfigurationResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The pagination parameter to be used on the next list operation to retrieve * more items.

*/ inline DescribeOrganizationConfigurationResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The pagination parameter to be used on the next list operation to retrieve * more items.

*/ inline DescribeOrganizationConfigurationResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

Indicates the auto-enablement configuration of GuardDuty for the member * accounts in the organization.

  • NEW: Indicates that * when a new account joins the organization, they will have GuardDuty enabled * automatically.

  • ALL: Indicates that all accounts * in the Amazon Web Services Organization have GuardDuty enabled automatically. * This includes NEW accounts that join the organization and accounts * that may have been suspended or removed from the organization in GuardDuty.

    *
  • NONE: Indicates that GuardDuty will not be * automatically enabled for any accounts in the organization. GuardDuty must be * managed for each account individually by the administrator.

*/ inline const AutoEnableMembers& GetAutoEnableOrganizationMembers() const{ return m_autoEnableOrganizationMembers; } /** *

Indicates the auto-enablement configuration of GuardDuty for the member * accounts in the organization.

  • NEW: Indicates that * when a new account joins the organization, they will have GuardDuty enabled * automatically.

  • ALL: Indicates that all accounts * in the Amazon Web Services Organization have GuardDuty enabled automatically. * This includes NEW accounts that join the organization and accounts * that may have been suspended or removed from the organization in GuardDuty.

    *
  • NONE: Indicates that GuardDuty will not be * automatically enabled for any accounts in the organization. GuardDuty must be * managed for each account individually by the administrator.

*/ inline void SetAutoEnableOrganizationMembers(const AutoEnableMembers& value) { m_autoEnableOrganizationMembers = value; } /** *

Indicates the auto-enablement configuration of GuardDuty for the member * accounts in the organization.

  • NEW: Indicates that * when a new account joins the organization, they will have GuardDuty enabled * automatically.

  • ALL: Indicates that all accounts * in the Amazon Web Services Organization have GuardDuty enabled automatically. * This includes NEW accounts that join the organization and accounts * that may have been suspended or removed from the organization in GuardDuty.

    *
  • NONE: Indicates that GuardDuty will not be * automatically enabled for any accounts in the organization. GuardDuty must be * managed for each account individually by the administrator.

*/ inline void SetAutoEnableOrganizationMembers(AutoEnableMembers&& value) { m_autoEnableOrganizationMembers = std::move(value); } /** *

Indicates the auto-enablement configuration of GuardDuty for the member * accounts in the organization.

  • NEW: Indicates that * when a new account joins the organization, they will have GuardDuty enabled * automatically.

  • ALL: Indicates that all accounts * in the Amazon Web Services Organization have GuardDuty enabled automatically. * This includes NEW accounts that join the organization and accounts * that may have been suspended or removed from the organization in GuardDuty.

    *
  • NONE: Indicates that GuardDuty will not be * automatically enabled for any accounts in the organization. GuardDuty must be * managed for each account individually by the administrator.

*/ inline DescribeOrganizationConfigurationResult& WithAutoEnableOrganizationMembers(const AutoEnableMembers& value) { SetAutoEnableOrganizationMembers(value); return *this;} /** *

Indicates the auto-enablement configuration of GuardDuty for the member * accounts in the organization.

  • NEW: Indicates that * when a new account joins the organization, they will have GuardDuty enabled * automatically.

  • ALL: Indicates that all accounts * in the Amazon Web Services Organization have GuardDuty enabled automatically. * This includes NEW accounts that join the organization and accounts * that may have been suspended or removed from the organization in GuardDuty.

    *
  • NONE: Indicates that GuardDuty will not be * automatically enabled for any accounts in the organization. GuardDuty must be * managed for each account individually by the administrator.

*/ inline DescribeOrganizationConfigurationResult& WithAutoEnableOrganizationMembers(AutoEnableMembers&& value) { SetAutoEnableOrganizationMembers(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_memberAccountLimitReached; Aws::Vector m_features; Aws::String m_nextToken; AutoEnableMembers m_autoEnableOrganizationMembers; Aws::String m_requestId; }; } // namespace Model } // namespace GuardDuty } // namespace Aws