/** * 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 LookoutMetrics { namespace Model { /** *

An inferred data source.

See Also:

AWS * API Reference

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

The data source's source configuration.

*/ inline const DetectedS3SourceConfig& GetS3SourceConfig() const{ return m_s3SourceConfig; } /** *

The data source's source configuration.

*/ inline bool S3SourceConfigHasBeenSet() const { return m_s3SourceConfigHasBeenSet; } /** *

The data source's source configuration.

*/ inline void SetS3SourceConfig(const DetectedS3SourceConfig& value) { m_s3SourceConfigHasBeenSet = true; m_s3SourceConfig = value; } /** *

The data source's source configuration.

*/ inline void SetS3SourceConfig(DetectedS3SourceConfig&& value) { m_s3SourceConfigHasBeenSet = true; m_s3SourceConfig = std::move(value); } /** *

The data source's source configuration.

*/ inline DetectedMetricSource& WithS3SourceConfig(const DetectedS3SourceConfig& value) { SetS3SourceConfig(value); return *this;} /** *

The data source's source configuration.

*/ inline DetectedMetricSource& WithS3SourceConfig(DetectedS3SourceConfig&& value) { SetS3SourceConfig(std::move(value)); return *this;} private: DetectedS3SourceConfig m_s3SourceConfig; bool m_s3SourceConfigHasBeenSet = false; }; } // namespace Model } // namespace LookoutMetrics } // namespace Aws