AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DataQualityMetric.h
1
6#pragma once
7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/lookoutmetrics/model/DataQualityMetricType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LookoutMetrics
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_LOOKOUTMETRICS_API DataQualityMetric() = default;
39 AWS_LOOKOUTMETRICS_API DataQualityMetric(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LOOKOUTMETRICS_API DataQualityMetric& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline DataQualityMetricType GetMetricType() const { return m_metricType; }
49 inline bool MetricTypeHasBeenSet() const { return m_metricTypeHasBeenSet; }
50 inline void SetMetricType(DataQualityMetricType value) { m_metricTypeHasBeenSet = true; m_metricType = value; }
53
55
58 inline const Aws::String& GetMetricDescription() const { return m_metricDescription; }
59 inline bool MetricDescriptionHasBeenSet() const { return m_metricDescriptionHasBeenSet; }
60 template<typename MetricDescriptionT = Aws::String>
61 void SetMetricDescription(MetricDescriptionT&& value) { m_metricDescriptionHasBeenSet = true; m_metricDescription = std::forward<MetricDescriptionT>(value); }
62 template<typename MetricDescriptionT = Aws::String>
63 DataQualityMetric& WithMetricDescription(MetricDescriptionT&& value) { SetMetricDescription(std::forward<MetricDescriptionT>(value)); return *this;}
65
67
70 inline const Aws::String& GetRelatedColumnName() const { return m_relatedColumnName; }
71 inline bool RelatedColumnNameHasBeenSet() const { return m_relatedColumnNameHasBeenSet; }
72 template<typename RelatedColumnNameT = Aws::String>
73 void SetRelatedColumnName(RelatedColumnNameT&& value) { m_relatedColumnNameHasBeenSet = true; m_relatedColumnName = std::forward<RelatedColumnNameT>(value); }
74 template<typename RelatedColumnNameT = Aws::String>
75 DataQualityMetric& WithRelatedColumnName(RelatedColumnNameT&& value) { SetRelatedColumnName(std::forward<RelatedColumnNameT>(value)); return *this;}
77
79
82 inline double GetMetricValue() const { return m_metricValue; }
83 inline bool MetricValueHasBeenSet() const { return m_metricValueHasBeenSet; }
84 inline void SetMetricValue(double value) { m_metricValueHasBeenSet = true; m_metricValue = value; }
85 inline DataQualityMetric& WithMetricValue(double value) { SetMetricValue(value); return *this;}
87 private:
88
90 bool m_metricTypeHasBeenSet = false;
91
92 Aws::String m_metricDescription;
93 bool m_metricDescriptionHasBeenSet = false;
94
95 Aws::String m_relatedColumnName;
96 bool m_relatedColumnNameHasBeenSet = false;
97
98 double m_metricValue{0.0};
99 bool m_metricValueHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace LookoutMetrics
104} // namespace Aws
AWS_LOOKOUTMETRICS_API DataQualityMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRelatedColumnName(RelatedColumnNameT &&value)
AWS_LOOKOUTMETRICS_API DataQualityMetric(Aws::Utils::Json::JsonView jsonValue)
DataQualityMetric & WithMetricType(DataQualityMetricType value)
void SetMetricType(DataQualityMetricType value)
void SetMetricDescription(MetricDescriptionT &&value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
DataQualityMetric & WithMetricDescription(MetricDescriptionT &&value)
DataQualityMetric & WithRelatedColumnName(RelatedColumnNameT &&value)
DataQualityMetric & WithMetricValue(double value)
AWS_LOOKOUTMETRICS_API DataQualityMetric()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue