/** * 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 EC2 instances with findings scan * configuration.

See Also:

AWS * API Reference

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

Whether scanning EBS volumes should be auto-enabled for new members joining * the organization.

*/ inline const OrganizationEbsVolumes& GetEbsVolumes() const{ return m_ebsVolumes; } /** *

Whether scanning EBS volumes should be auto-enabled for new members joining * the organization.

*/ inline bool EbsVolumesHasBeenSet() const { return m_ebsVolumesHasBeenSet; } /** *

Whether scanning EBS volumes should be auto-enabled for new members joining * the organization.

*/ inline void SetEbsVolumes(const OrganizationEbsVolumes& value) { m_ebsVolumesHasBeenSet = true; m_ebsVolumes = value; } /** *

Whether scanning EBS volumes should be auto-enabled for new members joining * the organization.

*/ inline void SetEbsVolumes(OrganizationEbsVolumes&& value) { m_ebsVolumesHasBeenSet = true; m_ebsVolumes = std::move(value); } /** *

Whether scanning EBS volumes should be auto-enabled for new members joining * the organization.

*/ inline OrganizationScanEc2InstanceWithFindings& WithEbsVolumes(const OrganizationEbsVolumes& value) { SetEbsVolumes(value); return *this;} /** *

Whether scanning EBS volumes should be auto-enabled for new members joining * the organization.

*/ inline OrganizationScanEc2InstanceWithFindings& WithEbsVolumes(OrganizationEbsVolumes&& value) { SetEbsVolumes(std::move(value)); return *this;} private: OrganizationEbsVolumes m_ebsVolumes; bool m_ebsVolumesHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws