/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace LookoutMetrics { namespace Model { /** *

Aggregated details about the data quality metrics collected for the * AnomalyDetectorArn provided in the GetDataQualityMetrics * object.

See Also:

AWS * API Reference

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

The start time for the data quality metrics collection.

*/ inline const Aws::Utils::DateTime& GetStartTimestamp() const{ return m_startTimestamp; } /** *

The start time for the data quality metrics collection.

*/ inline bool StartTimestampHasBeenSet() const { return m_startTimestampHasBeenSet; } /** *

The start time for the data quality metrics collection.

*/ inline void SetStartTimestamp(const Aws::Utils::DateTime& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = value; } /** *

The start time for the data quality metrics collection.

*/ inline void SetStartTimestamp(Aws::Utils::DateTime&& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = std::move(value); } /** *

The start time for the data quality metrics collection.

*/ inline AnomalyDetectorDataQualityMetric& WithStartTimestamp(const Aws::Utils::DateTime& value) { SetStartTimestamp(value); return *this;} /** *

The start time for the data quality metrics collection.

*/ inline AnomalyDetectorDataQualityMetric& WithStartTimestamp(Aws::Utils::DateTime&& value) { SetStartTimestamp(std::move(value)); return *this;} /** *

An array of DataQualityMetricList objects. Each object in the * array contains information about a data quality metric.

*/ inline const Aws::Vector& GetMetricSetDataQualityMetricList() const{ return m_metricSetDataQualityMetricList; } /** *

An array of DataQualityMetricList objects. Each object in the * array contains information about a data quality metric.

*/ inline bool MetricSetDataQualityMetricListHasBeenSet() const { return m_metricSetDataQualityMetricListHasBeenSet; } /** *

An array of DataQualityMetricList objects. Each object in the * array contains information about a data quality metric.

*/ inline void SetMetricSetDataQualityMetricList(const Aws::Vector& value) { m_metricSetDataQualityMetricListHasBeenSet = true; m_metricSetDataQualityMetricList = value; } /** *

An array of DataQualityMetricList objects. Each object in the * array contains information about a data quality metric.

*/ inline void SetMetricSetDataQualityMetricList(Aws::Vector&& value) { m_metricSetDataQualityMetricListHasBeenSet = true; m_metricSetDataQualityMetricList = std::move(value); } /** *

An array of DataQualityMetricList objects. Each object in the * array contains information about a data quality metric.

*/ inline AnomalyDetectorDataQualityMetric& WithMetricSetDataQualityMetricList(const Aws::Vector& value) { SetMetricSetDataQualityMetricList(value); return *this;} /** *

An array of DataQualityMetricList objects. Each object in the * array contains information about a data quality metric.

*/ inline AnomalyDetectorDataQualityMetric& WithMetricSetDataQualityMetricList(Aws::Vector&& value) { SetMetricSetDataQualityMetricList(std::move(value)); return *this;} /** *

An array of DataQualityMetricList objects. Each object in the * array contains information about a data quality metric.

*/ inline AnomalyDetectorDataQualityMetric& AddMetricSetDataQualityMetricList(const MetricSetDataQualityMetric& value) { m_metricSetDataQualityMetricListHasBeenSet = true; m_metricSetDataQualityMetricList.push_back(value); return *this; } /** *

An array of DataQualityMetricList objects. Each object in the * array contains information about a data quality metric.

*/ inline AnomalyDetectorDataQualityMetric& AddMetricSetDataQualityMetricList(MetricSetDataQualityMetric&& value) { m_metricSetDataQualityMetricListHasBeenSet = true; m_metricSetDataQualityMetricList.push_back(std::move(value)); return *this; } private: Aws::Utils::DateTime m_startTimestamp; bool m_startTimestampHasBeenSet = false; Aws::Vector m_metricSetDataQualityMetricList; bool m_metricSetDataQualityMetricListHasBeenSet = false; }; } // namespace Model } // namespace LookoutMetrics } // namespace Aws