/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace GuardDuty { namespace Model { /** *

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

See Also:

AWS * API Reference

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

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

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

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

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

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

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

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

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

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

*/ inline OrganizationFeatureConfigurationResult& WithName(const OrgFeature& value) { SetName(value); return *this;} /** *

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

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

Describes how The status of the feature 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 feature 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 feature 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 feature 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 feature 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 OrganizationFeatureConfigurationResult& WithAutoEnable(const OrgFeatureStatus& value) { SetAutoEnable(value); return *this;} /** *

Describes how The status of the feature 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 OrganizationFeatureConfigurationResult& WithAutoEnable(OrgFeatureStatus&& value) { SetAutoEnable(std::move(value)); return *this;} /** *

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

*/ inline const Aws::Vector& GetAdditionalConfiguration() const{ return m_additionalConfiguration; } /** *

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

*/ inline bool AdditionalConfigurationHasBeenSet() const { return m_additionalConfigurationHasBeenSet; } /** *

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

*/ inline void SetAdditionalConfiguration(const Aws::Vector& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration = value; } /** *

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

*/ inline void SetAdditionalConfiguration(Aws::Vector&& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration = std::move(value); } /** *

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

*/ inline OrganizationFeatureConfigurationResult& WithAdditionalConfiguration(const Aws::Vector& value) { SetAdditionalConfiguration(value); return *this;} /** *

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

*/ inline OrganizationFeatureConfigurationResult& WithAdditionalConfiguration(Aws::Vector&& value) { SetAdditionalConfiguration(std::move(value)); return *this;} /** *

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

*/ inline OrganizationFeatureConfigurationResult& AddAdditionalConfiguration(const OrganizationAdditionalConfigurationResult& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration.push_back(value); return *this; } /** *

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

*/ inline OrganizationFeatureConfigurationResult& AddAdditionalConfiguration(OrganizationAdditionalConfigurationResult&& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration.push_back(std::move(value)); return *this; } private: OrgFeature m_name; bool m_nameHasBeenSet = false; OrgFeatureStatus m_autoEnable; bool m_autoEnableHasBeenSet = false; Aws::Vector m_additionalConfiguration; bool m_additionalConfigurationHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws