/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that contains information on the status of Malware Protection as a
* data source for the detector. See Also:
AWS
* API Reference
Describes the configuration of Malware Protection for EC2 instances with * findings.
*/ inline const AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsDetails& GetScanEc2InstanceWithFindings() const{ return m_scanEc2InstanceWithFindings; } /** *Describes the configuration of Malware Protection for EC2 instances with * findings.
*/ inline bool ScanEc2InstanceWithFindingsHasBeenSet() const { return m_scanEc2InstanceWithFindingsHasBeenSet; } /** *Describes the configuration of Malware Protection for EC2 instances with * findings.
*/ inline void SetScanEc2InstanceWithFindings(const AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsDetails& value) { m_scanEc2InstanceWithFindingsHasBeenSet = true; m_scanEc2InstanceWithFindings = value; } /** *Describes the configuration of Malware Protection for EC2 instances with * findings.
*/ inline void SetScanEc2InstanceWithFindings(AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsDetails&& value) { m_scanEc2InstanceWithFindingsHasBeenSet = true; m_scanEc2InstanceWithFindings = std::move(value); } /** *Describes the configuration of Malware Protection for EC2 instances with * findings.
*/ inline AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails& WithScanEc2InstanceWithFindings(const AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsDetails& value) { SetScanEc2InstanceWithFindings(value); return *this;} /** *Describes the configuration of Malware Protection for EC2 instances with * findings.
*/ inline AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails& WithScanEc2InstanceWithFindings(AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsDetails&& value) { SetScanEc2InstanceWithFindings(std::move(value)); return *this;} /** *The GuardDuty Malware Protection service role.
*/ inline const Aws::String& GetServiceRole() const{ return m_serviceRole; } /** *The GuardDuty Malware Protection service role.
*/ inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; } /** *The GuardDuty Malware Protection service role.
*/ inline void SetServiceRole(const Aws::String& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = value; } /** *The GuardDuty Malware Protection service role.
*/ inline void SetServiceRole(Aws::String&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::move(value); } /** *The GuardDuty Malware Protection service role.
*/ inline void SetServiceRole(const char* value) { m_serviceRoleHasBeenSet = true; m_serviceRole.assign(value); } /** *The GuardDuty Malware Protection service role.
*/ inline AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;} /** *The GuardDuty Malware Protection service role.
*/ inline AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;} /** *The GuardDuty Malware Protection service role.
*/ inline AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails& WithServiceRole(const char* value) { SetServiceRole(value); return *this;} private: AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsDetails m_scanEc2InstanceWithFindings; bool m_scanEc2InstanceWithFindingsHasBeenSet = false; Aws::String m_serviceRole; bool m_serviceRoleHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws