AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
AnomalyDetectorDataQualityMetric.h
1
6#pragma once
7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lookoutmetrics/model/MetricSetDataQualityMetric.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LookoutMetrics
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_LOOKOUTMETRICS_API AnomalyDetectorDataQualityMetric() = default;
41 AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Utils::DateTime& GetStartTimestamp() const { return m_startTimestamp; }
49 inline bool StartTimestampHasBeenSet() const { return m_startTimestampHasBeenSet; }
50 template<typename StartTimestampT = Aws::Utils::DateTime>
51 void SetStartTimestamp(StartTimestampT&& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = std::forward<StartTimestampT>(value); }
52 template<typename StartTimestampT = Aws::Utils::DateTime>
53 AnomalyDetectorDataQualityMetric& WithStartTimestamp(StartTimestampT&& value) { SetStartTimestamp(std::forward<StartTimestampT>(value)); return *this;}
55
57
61 inline const Aws::Vector<MetricSetDataQualityMetric>& GetMetricSetDataQualityMetricList() const { return m_metricSetDataQualityMetricList; }
62 inline bool MetricSetDataQualityMetricListHasBeenSet() const { return m_metricSetDataQualityMetricListHasBeenSet; }
63 template<typename MetricSetDataQualityMetricListT = Aws::Vector<MetricSetDataQualityMetric>>
64 void SetMetricSetDataQualityMetricList(MetricSetDataQualityMetricListT&& value) { m_metricSetDataQualityMetricListHasBeenSet = true; m_metricSetDataQualityMetricList = std::forward<MetricSetDataQualityMetricListT>(value); }
65 template<typename MetricSetDataQualityMetricListT = Aws::Vector<MetricSetDataQualityMetric>>
66 AnomalyDetectorDataQualityMetric& WithMetricSetDataQualityMetricList(MetricSetDataQualityMetricListT&& value) { SetMetricSetDataQualityMetricList(std::forward<MetricSetDataQualityMetricListT>(value)); return *this;}
67 template<typename MetricSetDataQualityMetricListT = MetricSetDataQualityMetric>
68 AnomalyDetectorDataQualityMetric& AddMetricSetDataQualityMetricList(MetricSetDataQualityMetricListT&& value) { m_metricSetDataQualityMetricListHasBeenSet = true; m_metricSetDataQualityMetricList.emplace_back(std::forward<MetricSetDataQualityMetricListT>(value)); return *this; }
70 private:
71
72 Aws::Utils::DateTime m_startTimestamp{};
73 bool m_startTimestampHasBeenSet = false;
74
75 Aws::Vector<MetricSetDataQualityMetric> m_metricSetDataQualityMetricList;
76 bool m_metricSetDataQualityMetricListHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace LookoutMetrics
81} // namespace Aws
AWS_LOOKOUTMETRICS_API AnomalyDetectorDataQualityMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTMETRICS_API AnomalyDetectorDataQualityMetric(Aws::Utils::Json::JsonView jsonValue)
AnomalyDetectorDataQualityMetric & AddMetricSetDataQualityMetricList(MetricSetDataQualityMetricListT &&value)
void SetMetricSetDataQualityMetricList(MetricSetDataQualityMetricListT &&value)
AWS_LOOKOUTMETRICS_API AnomalyDetectorDataQualityMetric()=default
AnomalyDetectorDataQualityMetric & WithMetricSetDataQualityMetricList(MetricSetDataQualityMetricListT &&value)
AnomalyDetectorDataQualityMetric & WithStartTimestamp(StartTimestampT &&value)
const Aws::Vector< MetricSetDataQualityMetric > & GetMetricSetDataQualityMetricList() const
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue