/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace GuardDuty { namespace Model { /** *

Organization-wide EBS volumes scan configuration.

See Also:

* AWS * API Reference

*/ class OrganizationEbsVolumes { public: AWS_GUARDDUTY_API OrganizationEbsVolumes(); AWS_GUARDDUTY_API OrganizationEbsVolumes(Aws::Utils::Json::JsonView jsonValue); AWS_GUARDDUTY_API OrganizationEbsVolumes& 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 bool GetAutoEnable() const{ return m_autoEnable; } /** *

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

*/ inline bool AutoEnableHasBeenSet() const { return m_autoEnableHasBeenSet; } /** *

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

*/ inline void SetAutoEnable(bool value) { m_autoEnableHasBeenSet = true; m_autoEnable = value; } /** *

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

*/ inline OrganizationEbsVolumes& WithAutoEnable(bool value) { SetAutoEnable(value); return *this;} private: bool m_autoEnable; bool m_autoEnableHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws