/** * 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 { /** *

An object that contains information on the status of all Malware Protection * data source for an organization.

See Also:

AWS * API Reference

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

Describes the configuration for scanning EC2 instances with findings for an * organization.

*/ inline const OrganizationScanEc2InstanceWithFindingsResult& GetScanEc2InstanceWithFindings() const{ return m_scanEc2InstanceWithFindings; } /** *

Describes the configuration for scanning EC2 instances with findings for an * organization.

*/ inline bool ScanEc2InstanceWithFindingsHasBeenSet() const { return m_scanEc2InstanceWithFindingsHasBeenSet; } /** *

Describes the configuration for scanning EC2 instances with findings for an * organization.

*/ inline void SetScanEc2InstanceWithFindings(const OrganizationScanEc2InstanceWithFindingsResult& value) { m_scanEc2InstanceWithFindingsHasBeenSet = true; m_scanEc2InstanceWithFindings = value; } /** *

Describes the configuration for scanning EC2 instances with findings for an * organization.

*/ inline void SetScanEc2InstanceWithFindings(OrganizationScanEc2InstanceWithFindingsResult&& value) { m_scanEc2InstanceWithFindingsHasBeenSet = true; m_scanEc2InstanceWithFindings = std::move(value); } /** *

Describes the configuration for scanning EC2 instances with findings for an * organization.

*/ inline OrganizationMalwareProtectionConfigurationResult& WithScanEc2InstanceWithFindings(const OrganizationScanEc2InstanceWithFindingsResult& value) { SetScanEc2InstanceWithFindings(value); return *this;} /** *

Describes the configuration for scanning EC2 instances with findings for an * organization.

*/ inline OrganizationMalwareProtectionConfigurationResult& WithScanEc2InstanceWithFindings(OrganizationScanEc2InstanceWithFindingsResult&& value) { SetScanEc2InstanceWithFindings(std::move(value)); return *this;} private: OrganizationScanEc2InstanceWithFindingsResult m_scanEc2InstanceWithFindings; bool m_scanEc2InstanceWithFindingsHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws