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

An object that contains information on the status of whether EBS volumes * scanning will be enabled as a data source for an organization.

See * Also:

AWS * API Reference

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

An object that contains the status of whether scanning EBS volumes should be * auto-enabled for new members joining the organization.

*/ inline bool GetAutoEnable() const{ return m_autoEnable; } /** *

An object that contains the status of whether scanning EBS volumes should be * auto-enabled for new members joining the organization.

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

An object that contains the status of 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; } /** *

An object that contains the status of whether scanning EBS volumes should be * auto-enabled for new members joining the organization.

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