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

An object that contains information on which data sources are automatically * enabled for new members within the organization.

See Also:

AWS * API Reference

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

Describes whether S3 data event logs are enabled as a data source.

*/ inline const OrganizationS3LogsConfigurationResult& GetS3Logs() const{ return m_s3Logs; } /** *

Describes whether S3 data event logs are enabled as a data source.

*/ inline bool S3LogsHasBeenSet() const { return m_s3LogsHasBeenSet; } /** *

Describes whether S3 data event logs are enabled as a data source.

*/ inline void SetS3Logs(const OrganizationS3LogsConfigurationResult& value) { m_s3LogsHasBeenSet = true; m_s3Logs = value; } /** *

Describes whether S3 data event logs are enabled as a data source.

*/ inline void SetS3Logs(OrganizationS3LogsConfigurationResult&& value) { m_s3LogsHasBeenSet = true; m_s3Logs = std::move(value); } /** *

Describes whether S3 data event logs are enabled as a data source.

*/ inline OrganizationDataSourceConfigurationsResult& WithS3Logs(const OrganizationS3LogsConfigurationResult& value) { SetS3Logs(value); return *this;} /** *

Describes whether S3 data event logs are enabled as a data source.

*/ inline OrganizationDataSourceConfigurationsResult& WithS3Logs(OrganizationS3LogsConfigurationResult&& value) { SetS3Logs(std::move(value)); return *this;} private: OrganizationS3LogsConfigurationResult m_s3Logs; bool m_s3LogsHasBeenSet; }; } // namespace Model } // namespace GuardDuty } // namespace Aws