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

The current configuration of S3 data event logs as a data source for the * organization.

See Also:

AWS * API Reference

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

A value that describes whether S3 data event logs are automatically enabled * for new members of the organization.

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

A value that describes whether S3 data event logs are automatically enabled * for new members of the organization.

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

A value that describes whether S3 data event logs are automatically enabled * for new members of the organization.

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

A value that describes whether S3 data event logs are automatically enabled * for new members of the organization.

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