/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace GuardDuty { namespace Model { /** *

A list of additional configuration which will be configured for the * organization.

See Also:

AWS * API Reference

*/ class OrganizationAdditionalConfigurationResult { public: AWS_GUARDDUTY_API OrganizationAdditionalConfigurationResult(); AWS_GUARDDUTY_API OrganizationAdditionalConfigurationResult(Aws::Utils::Json::JsonView jsonValue); AWS_GUARDDUTY_API OrganizationAdditionalConfigurationResult& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the additional configuration that is configured for the member * accounts within the organization.

*/ inline const OrgFeatureAdditionalConfiguration& GetName() const{ return m_name; } /** *

The name of the additional configuration that is configured for the member * accounts within the organization.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the additional configuration that is configured for the member * accounts within the organization.

*/ inline void SetName(const OrgFeatureAdditionalConfiguration& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the additional configuration that is configured for the member * accounts within the organization.

*/ inline void SetName(OrgFeatureAdditionalConfiguration&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the additional configuration that is configured for the member * accounts within the organization.

*/ inline OrganizationAdditionalConfigurationResult& WithName(const OrgFeatureAdditionalConfiguration& value) { SetName(value); return *this;} /** *

The name of the additional configuration that is configured for the member * accounts within the organization.

*/ inline OrganizationAdditionalConfigurationResult& WithName(OrgFeatureAdditionalConfiguration&& value) { SetName(std::move(value)); return *this;} /** *

Describes how The status of the additional configuration that are configured * for the member accounts within the organization.

If you set * AutoEnable to NEW, a feature will be configured for * only the new accounts when they join the organization.

If you set * AutoEnable to NONE, no feature will be configured for * the accounts when they join the organization.

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

Describes how The status of the additional configuration that are configured * for the member accounts within the organization.

If you set * AutoEnable to NEW, a feature will be configured for * only the new accounts when they join the organization.

If you set * AutoEnable to NONE, no feature will be configured for * the accounts when they join the organization.

*/ inline bool AutoEnableHasBeenSet() const { return m_autoEnableHasBeenSet; } /** *

Describes how The status of the additional configuration that are configured * for the member accounts within the organization.

If you set * AutoEnable to NEW, a feature will be configured for * only the new accounts when they join the organization.

If you set * AutoEnable to NONE, no feature will be configured for * the accounts when they join the organization.

*/ inline void SetAutoEnable(const OrgFeatureStatus& value) { m_autoEnableHasBeenSet = true; m_autoEnable = value; } /** *

Describes how The status of the additional configuration that are configured * for the member accounts within the organization.

If you set * AutoEnable to NEW, a feature will be configured for * only the new accounts when they join the organization.

If you set * AutoEnable to NONE, no feature will be configured for * the accounts when they join the organization.

*/ inline void SetAutoEnable(OrgFeatureStatus&& value) { m_autoEnableHasBeenSet = true; m_autoEnable = std::move(value); } /** *

Describes how The status of the additional configuration that are configured * for the member accounts within the organization.

If you set * AutoEnable to NEW, a feature will be configured for * only the new accounts when they join the organization.

If you set * AutoEnable to NONE, no feature will be configured for * the accounts when they join the organization.

*/ inline OrganizationAdditionalConfigurationResult& WithAutoEnable(const OrgFeatureStatus& value) { SetAutoEnable(value); return *this;} /** *

Describes how The status of the additional configuration that are configured * for the member accounts within the organization.

If you set * AutoEnable to NEW, a feature will be configured for * only the new accounts when they join the organization.

If you set * AutoEnable to NONE, no feature will be configured for * the accounts when they join the organization.

*/ inline OrganizationAdditionalConfigurationResult& WithAutoEnable(OrgFeatureStatus&& value) { SetAutoEnable(std::move(value)); return *this;} private: OrgFeatureAdditionalConfiguration m_name; bool m_nameHasBeenSet = false; OrgFeatureStatus m_autoEnable; bool m_autoEnableHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws