/**
* 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 all Malware Protection
* data sources.See Also:
AWS
* API Reference
Describes the configuration of Malware Protection for EC2 instances with * findings.
*/ inline const ScanEc2InstanceWithFindingsResult& 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 ScanEc2InstanceWithFindingsResult& value) { m_scanEc2InstanceWithFindingsHasBeenSet = true; m_scanEc2InstanceWithFindings = value; } /** *Describes the configuration of Malware Protection for EC2 instances with * findings.
*/ inline void SetScanEc2InstanceWithFindings(ScanEc2InstanceWithFindingsResult&& value) { m_scanEc2InstanceWithFindingsHasBeenSet = true; m_scanEc2InstanceWithFindings = std::move(value); } /** *Describes the configuration of Malware Protection for EC2 instances with * findings.
*/ inline MalwareProtectionConfigurationResult& WithScanEc2InstanceWithFindings(const ScanEc2InstanceWithFindingsResult& value) { SetScanEc2InstanceWithFindings(value); return *this;} /** *Describes the configuration of Malware Protection for EC2 instances with * findings.
*/ inline MalwareProtectionConfigurationResult& WithScanEc2InstanceWithFindings(ScanEc2InstanceWithFindingsResult&& 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 MalwareProtectionConfigurationResult& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;} /** *The GuardDuty Malware Protection service role.
*/ inline MalwareProtectionConfigurationResult& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;} /** *The GuardDuty Malware Protection service role.
*/ inline MalwareProtectionConfigurationResult& WithServiceRole(const char* value) { SetServiceRole(value); return *this;} private: ScanEc2InstanceWithFindingsResult m_scanEc2InstanceWithFindings; bool m_scanEc2InstanceWithFindingsHasBeenSet = false; Aws::String m_serviceRole; bool m_serviceRoleHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws