/** * 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 the configuration of scanning EBS volumes (Malware Protection) as * a data source.

See Also:

AWS * API Reference

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

Specifies the reason why scanning EBS volumes (Malware Protection) isn’t * activated as a data source.

*/ inline const Aws::String& GetReason() const{ return m_reason; } /** *

Specifies the reason why scanning EBS volumes (Malware Protection) isn’t * activated as a data source.

*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *

Specifies the reason why scanning EBS volumes (Malware Protection) isn’t * activated as a data source.

*/ inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *

Specifies the reason why scanning EBS volumes (Malware Protection) isn’t * activated as a data source.

*/ inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *

Specifies the reason why scanning EBS volumes (Malware Protection) isn’t * activated as a data source.

*/ inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); } /** *

Specifies the reason why scanning EBS volumes (Malware Protection) isn’t * activated as a data source.

*/ inline AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesDetails& WithReason(const Aws::String& value) { SetReason(value); return *this;} /** *

Specifies the reason why scanning EBS volumes (Malware Protection) isn’t * activated as a data source.

*/ inline AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesDetails& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;} /** *

Specifies the reason why scanning EBS volumes (Malware Protection) isn’t * activated as a data source.

*/ inline AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesDetails& WithReason(const char* value) { SetReason(value); return *this;} /** *

Describes whether scanning EBS volumes is activated as a data source for the * detector.

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

Describes whether scanning EBS volumes is activated as a data source for the * detector.

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

Describes whether scanning EBS volumes is activated as a data source for the * detector.

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

Describes whether scanning EBS volumes is activated as a data source for the * detector.

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

Describes whether scanning EBS volumes is activated as a data source for the * detector.

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

Describes whether scanning EBS volumes is activated as a data source for the * detector.

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

Describes whether scanning EBS volumes is activated as a data source for the * detector.

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

Describes whether scanning EBS volumes is activated as a data source for the * detector.

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