/** * 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 GuardDuty { namespace Model { /** *

Organization-wide Malware Protection configurations.

See Also:

* AWS * API Reference

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

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