/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Organization-wide Malware Protection configurations.See Also:
* AWS
* API Reference
Whether Malware Protection for EC2 instances with findings should be * auto-enabled for new members joining the organization.
*/ inline const OrganizationScanEc2InstanceWithFindings& GetScanEc2InstanceWithFindings() const{ return m_scanEc2InstanceWithFindings; } /** *Whether Malware Protection for EC2 instances with findings should be * auto-enabled for new members joining the organization.
*/ inline bool ScanEc2InstanceWithFindingsHasBeenSet() const { return m_scanEc2InstanceWithFindingsHasBeenSet; } /** *Whether Malware Protection for EC2 instances with findings should be * auto-enabled for new members joining the organization.
*/ inline void SetScanEc2InstanceWithFindings(const OrganizationScanEc2InstanceWithFindings& value) { m_scanEc2InstanceWithFindingsHasBeenSet = true; m_scanEc2InstanceWithFindings = value; } /** *Whether Malware Protection for EC2 instances with findings should be * auto-enabled for new members joining the organization.
*/ inline void SetScanEc2InstanceWithFindings(OrganizationScanEc2InstanceWithFindings&& value) { m_scanEc2InstanceWithFindingsHasBeenSet = true; m_scanEc2InstanceWithFindings = std::move(value); } /** *Whether Malware Protection for EC2 instances with findings should be * auto-enabled for new members joining the organization.
*/ inline OrganizationMalwareProtectionConfiguration& WithScanEc2InstanceWithFindings(const OrganizationScanEc2InstanceWithFindings& value) { SetScanEc2InstanceWithFindings(value); return *this;} /** *Whether Malware Protection for EC2 instances with findings should be * auto-enabled for new members joining the organization.
*/ inline OrganizationMalwareProtectionConfiguration& WithScanEc2InstanceWithFindings(OrganizationScanEc2InstanceWithFindings&& value) { SetScanEc2InstanceWithFindings(std::move(value)); return *this;} private: OrganizationScanEc2InstanceWithFindings m_scanEc2InstanceWithFindings; bool m_scanEc2InstanceWithFindingsHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws