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

Describes whether S3 data event logs will be automatically enabled for new * members of the organization.

See Also:

AWS * API Reference

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

A value that contains information on whether S3 data event logs will be * enabled automatically as a data source for the organization.

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

A value that contains information on whether S3 data event logs will be * enabled automatically as a data source for the organization.

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

A value that contains information on whether S3 data event logs will be * enabled automatically as a data source for the organization.

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

A value that contains information on whether S3 data event logs will be * enabled automatically as a data source for the organization.

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