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

Describes whether S3 data event logs will be enabled as a data * source.

See Also:

AWS * API Reference

*/ class S3LogsConfigurationResult { public: AWS_GUARDDUTY_API S3LogsConfigurationResult(); AWS_GUARDDUTY_API S3LogsConfigurationResult(Aws::Utils::Json::JsonView jsonValue); AWS_GUARDDUTY_API S3LogsConfigurationResult& 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 const DataSourceStatus& GetStatus() const{ return m_status; } /** *

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

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

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

*/ inline void SetStatus(const DataSourceStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

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

*/ inline void SetStatus(DataSourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

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

*/ inline S3LogsConfigurationResult& WithStatus(const DataSourceStatus& value) { SetStatus(value); return *this;} /** *

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

*/ inline S3LogsConfigurationResult& WithStatus(DataSourceStatus&& value) { SetStatus(std::move(value)); return *this;} private: DataSourceStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws