/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes whether S3 data event logs will be enabled as a data
* source.See Also:
AWS
* API Reference
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