/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes whether Malware Protection will be enabled as a data
* source.See Also:
AWS
* API Reference
Describes the configuration of Malware Protection for EC2 instances with * findings.
*/ inline const ScanEc2InstanceWithFindings& 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 ScanEc2InstanceWithFindings& value) { m_scanEc2InstanceWithFindingsHasBeenSet = true; m_scanEc2InstanceWithFindings = value; } /** *Describes the configuration of Malware Protection for EC2 instances with * findings.
*/ inline void SetScanEc2InstanceWithFindings(ScanEc2InstanceWithFindings&& value) { m_scanEc2InstanceWithFindingsHasBeenSet = true; m_scanEc2InstanceWithFindings = std::move(value); } /** *Describes the configuration of Malware Protection for EC2 instances with * findings.
*/ inline MalwareProtectionConfiguration& WithScanEc2InstanceWithFindings(const ScanEc2InstanceWithFindings& value) { SetScanEc2InstanceWithFindings(value); return *this;} /** *Describes the configuration of Malware Protection for EC2 instances with * findings.
*/ inline MalwareProtectionConfiguration& WithScanEc2InstanceWithFindings(ScanEc2InstanceWithFindings&& value) { SetScanEc2InstanceWithFindings(std::move(value)); return *this;} private: ScanEc2InstanceWithFindings m_scanEc2InstanceWithFindings; bool m_scanEc2InstanceWithFindingsHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws