/** * 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 OrganizationFeatureConfiguration { public: AWS_GUARDDUTY_API OrganizationFeatureConfiguration(); AWS_GUARDDUTY_API OrganizationFeatureConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_GUARDDUTY_API OrganizationFeatureConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the feature that will be configured for the organization.

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

The name of the feature that will be configured for the organization.

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

The name of the feature that will be configured for the organization.

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

The name of the feature that will be configured for the organization.

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

The name of the feature that will be configured for the organization.

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

The name of the feature that will be configured for the organization.

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

The status of the feature that will be configured for the organization.

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

The status of the feature that will be configured for the organization.

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

The status of the feature that will be configured for the organization.

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

The status of the feature that will be configured for the organization.

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

The status of the feature that will be configured for the organization.

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

The status of the feature that will be configured for the organization.

*/ inline OrganizationFeatureConfiguration& WithAutoEnable(OrgFeatureStatus&& value) { SetAutoEnable(std::move(value)); return *this;} /** *

The additional information that will be configured for the organization.

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

The additional information that will be configured for the organization.

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

The additional information that will be configured for the organization.

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

The additional information that will be configured for the organization.

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

The additional information that will be configured for the organization.

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

The additional information that will be configured for the organization.

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

The additional information that will be configured for the organization.

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

The additional information that will be configured for the organization.

*/ inline OrganizationFeatureConfiguration& AddAdditionalConfiguration(OrganizationAdditionalConfiguration&& 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