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

Describes which features are activated for the detector.

See * Also:

AWS * API Reference

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

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

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

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

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

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

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

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

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

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

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

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

*/ inline AwsGuardDutyDetectorFeaturesDetails& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

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

*/ inline AwsGuardDutyDetectorFeaturesDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

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

*/ inline AwsGuardDutyDetectorFeaturesDetails& WithName(const char* value) { SetName(value); return *this;} /** *

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

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

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

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

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

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

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

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

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

*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *

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

*/ inline AwsGuardDutyDetectorFeaturesDetails& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *

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

*/ inline AwsGuardDutyDetectorFeaturesDetails& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *

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

*/ inline AwsGuardDutyDetectorFeaturesDetails& WithStatus(const char* value) { SetStatus(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws