AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const DataQualityMetricType& GetMetricType() const{ return m_metricType; }
49 inline bool MetricTypeHasBeenSet() const { return m_metricTypeHasBeenSet; }
50 inline void SetMetricType(const DataQualityMetricType& value) { m_metricTypeHasBeenSet = true; m_metricType = value; }
51 inline void SetMetricType(DataQualityMetricType&& value) { m_metricTypeHasBeenSet = true; m_metricType = std::move(value); }
52 inline DataQualityMetric& WithMetricType(const DataQualityMetricType& value) { SetMetricType(value); return *this;}
53 inline DataQualityMetric& WithMetricType(DataQualityMetricType&& value) { SetMetricType(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetMetricDescription() const{ return m_metricDescription; }
61 inline bool MetricDescriptionHasBeenSet() const { return m_metricDescriptionHasBeenSet; }
62 inline void SetMetricDescription(const Aws::String& value) { m_metricDescriptionHasBeenSet = true; m_metricDescription = value; }
63 inline void SetMetricDescription(Aws::String&& value) { m_metricDescriptionHasBeenSet = true; m_metricDescription = std::move(value); }
64 inline void SetMetricDescription(const char* value) { m_metricDescriptionHasBeenSet = true; m_metricDescription.assign(value); }
65 inline DataQualityMetric& WithMetricDescription(const Aws::String& value) { SetMetricDescription(value); return *this;}
66 inline DataQualityMetric& WithMetricDescription(Aws::String&& value) { SetMetricDescription(std::move(value)); return *this;}
67 inline DataQualityMetric& WithMetricDescription(const char* value) { SetMetricDescription(value); return *this;}
69
71
74 inline const Aws::String& GetRelatedColumnName() const{ return m_relatedColumnName; }
75 inline bool RelatedColumnNameHasBeenSet() const { return m_relatedColumnNameHasBeenSet; }
76 inline void SetRelatedColumnName(const Aws::String& value) { m_relatedColumnNameHasBeenSet = true; m_relatedColumnName = value; }
77 inline void SetRelatedColumnName(Aws::String&& value) { m_relatedColumnNameHasBeenSet = true; m_relatedColumnName = std::move(value); }
78 inline void SetRelatedColumnName(const char* value) { m_relatedColumnNameHasBeenSet = true; m_relatedColumnName.assign(value); }
79 inline DataQualityMetric& WithRelatedColumnName(const Aws::String& value) { SetRelatedColumnName(value); return *this;}
80 inline DataQualityMetric& WithRelatedColumnName(Aws::String&& value) { SetRelatedColumnName(std::move(value)); return *this;}
81 inline DataQualityMetric& WithRelatedColumnName(const char* value) { SetRelatedColumnName(value); return *this;}
83
85
88 inline double GetMetricValue() const{ return m_metricValue; }
89 inline bool MetricValueHasBeenSet() const { return m_metricValueHasBeenSet; }
90 inline void SetMetricValue(double value) { m_metricValueHasBeenSet = true; m_metricValue = value; }
91 inline DataQualityMetric& WithMetricValue(double value) { SetMetricValue(value); return *this;}
93 private:
94
95 DataQualityMetricType m_metricType;
96 bool m_metricTypeHasBeenSet = false;
97
98 Aws::String m_metricDescription;
99 bool m_metricDescriptionHasBeenSet = false;
100
101 Aws::String m_relatedColumnName;
102 bool m_relatedColumnNameHasBeenSet = false;
103
104 double m_metricValue;
105 bool m_metricValueHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace LookoutMetrics
110} // namespace Aws
AWS_LOOKOUTMETRICS_API DataQualityMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
DataQualityMetric & WithMetricDescription(const char *value)
AWS_LOOKOUTMETRICS_API DataQualityMetric(Aws::Utils::Json::JsonView jsonValue)
DataQualityMetric & WithMetricDescription(const Aws::String &value)
void SetMetricDescription(const Aws::String &value)
DataQualityMetric & WithMetricType(DataQualityMetricType &&value)
DataQualityMetric & WithRelatedColumnName(const char *value)
const DataQualityMetricType & GetMetricType() const
void SetRelatedColumnName(const Aws::String &value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMetricType(DataQualityMetricType &&value)
DataQualityMetric & WithRelatedColumnName(const Aws::String &value)
DataQualityMetric & WithMetricType(const DataQualityMetricType &value)
void SetMetricType(const DataQualityMetricType &value)
DataQualityMetric & WithMetricValue(double value)
DataQualityMetric & WithMetricDescription(Aws::String &&value)
DataQualityMetric & WithRelatedColumnName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue