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

Contains information about the features for the member account.

See * Also:

AWS * API Reference

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

Indicates the name of the feature that is enabled for the detector.

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

Indicates the name of the feature that is enabled for the detector.

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

Indicates the name of the feature that is enabled for the detector.

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

Indicates the name of the feature that is enabled for the detector.

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

Indicates the name of the feature that is enabled for the detector.

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

Indicates the name of the feature that is enabled for the detector.

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

Indicates the status of the feature that is enabled for the detector.

*/ inline const FeatureStatus& GetStatus() const{ return m_status; } /** *

Indicates the status of the feature that is enabled for the detector.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

Indicates the status of the feature that is enabled for the detector.

*/ inline void SetStatus(const FeatureStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

Indicates the status of the feature that is enabled for the detector.

*/ inline void SetStatus(FeatureStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

Indicates the status of the feature that is enabled for the detector.

*/ inline MemberFeaturesConfigurationResult& WithStatus(const FeatureStatus& value) { SetStatus(value); return *this;} /** *

Indicates the status of the feature that is enabled for the detector.

*/ inline MemberFeaturesConfigurationResult& WithStatus(FeatureStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The timestamp at which the feature object was updated.

*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *

The timestamp at which the feature object was updated.

*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *

The timestamp at which the feature object was updated.

*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *

The timestamp at which the feature object was updated.

*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *

The timestamp at which the feature object was updated.

*/ inline MemberFeaturesConfigurationResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *

The timestamp at which the feature object was updated.

*/ inline MemberFeaturesConfigurationResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} /** *

Indicates the additional configuration of the feature that is configured for * the member account.

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

Indicates the additional configuration of the feature that is configured for * the member account.

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

Indicates the additional configuration of the feature that is configured for * the member account.

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

Indicates the additional configuration of the feature that is configured for * the member account.

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

Indicates the additional configuration of the feature that is configured for * the member account.

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

Indicates the additional configuration of the feature that is configured for * the member account.

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

Indicates the additional configuration of the feature that is configured for * the member account.

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

Indicates the additional configuration of the feature that is configured for * the member account.

*/ inline MemberFeaturesConfigurationResult& AddAdditionalConfiguration(MemberAdditionalConfigurationResult&& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration.push_back(std::move(value)); return *this; } private: OrgFeature m_name; bool m_nameHasBeenSet = false; FeatureStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; Aws::Vector m_additionalConfiguration; bool m_additionalConfigurationHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws