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

Contains information about which data sources are enabled.

See * Also:

AWS * API Reference

*/ class AWS_GUARDDUTY_API DataSourceConfigurations { public: DataSourceConfigurations(); DataSourceConfigurations(Aws::Utils::Json::JsonView jsonValue); DataSourceConfigurations& 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 S3LogsConfiguration& 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 S3LogsConfiguration& value) { m_s3LogsHasBeenSet = true; m_s3Logs = value; } /** *

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

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

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

*/ inline DataSourceConfigurations& WithS3Logs(const S3LogsConfiguration& value) { SetS3Logs(value); return *this;} /** *

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

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