AWS SDK for C++

AWS SDK for C++ Version 1.11.856

Loading...
Searching...
No Matches
DataQualityAnalyzerResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/DistributionData.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue {
22namespace Model {
23
31 public:
32 AWS_GLUE_API DataQualityAnalyzerResult() = default;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetDescription() const { return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 template <typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) {
63 m_descriptionHasBeenSet = true;
64 m_description = std::forward<DescriptionT>(value);
65 }
66 template <typename DescriptionT = Aws::String>
68 SetDescription(std::forward<DescriptionT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetEvaluationMessage() const { return m_evaluationMessage; }
78 inline bool EvaluationMessageHasBeenSet() const { return m_evaluationMessageHasBeenSet; }
79 template <typename EvaluationMessageT = Aws::String>
80 void SetEvaluationMessage(EvaluationMessageT&& value) {
81 m_evaluationMessageHasBeenSet = true;
82 m_evaluationMessage = std::forward<EvaluationMessageT>(value);
83 }
84 template <typename EvaluationMessageT = Aws::String>
85 DataQualityAnalyzerResult& WithEvaluationMessage(EvaluationMessageT&& value) {
86 SetEvaluationMessage(std::forward<EvaluationMessageT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::Map<Aws::String, double>& GetEvaluatedMetrics() const { return m_evaluatedMetrics; }
96 inline bool EvaluatedMetricsHasBeenSet() const { return m_evaluatedMetricsHasBeenSet; }
97 template <typename EvaluatedMetricsT = Aws::Map<Aws::String, double>>
98 void SetEvaluatedMetrics(EvaluatedMetricsT&& value) {
99 m_evaluatedMetricsHasBeenSet = true;
100 m_evaluatedMetrics = std::forward<EvaluatedMetricsT>(value);
101 }
102 template <typename EvaluatedMetricsT = Aws::Map<Aws::String, double>>
104 SetEvaluatedMetrics(std::forward<EvaluatedMetricsT>(value));
105 return *this;
106 }
108 m_evaluatedMetricsHasBeenSet = true;
109 m_evaluatedMetrics.emplace(key, value);
110 return *this;
111 }
113
115
119 inline const Aws::Map<Aws::String, DistributionData>& GetEvaluatedDistributions() const { return m_evaluatedDistributions; }
120 inline bool EvaluatedDistributionsHasBeenSet() const { return m_evaluatedDistributionsHasBeenSet; }
121 template <typename EvaluatedDistributionsT = Aws::Map<Aws::String, DistributionData>>
122 void SetEvaluatedDistributions(EvaluatedDistributionsT&& value) {
123 m_evaluatedDistributionsHasBeenSet = true;
124 m_evaluatedDistributions = std::forward<EvaluatedDistributionsT>(value);
125 }
126 template <typename EvaluatedDistributionsT = Aws::Map<Aws::String, DistributionData>>
127 DataQualityAnalyzerResult& WithEvaluatedDistributions(EvaluatedDistributionsT&& value) {
128 SetEvaluatedDistributions(std::forward<EvaluatedDistributionsT>(value));
129 return *this;
130 }
131 template <typename EvaluatedDistributionsKeyT = Aws::String, typename EvaluatedDistributionsValueT = DistributionData>
132 DataQualityAnalyzerResult& AddEvaluatedDistributions(EvaluatedDistributionsKeyT&& key, EvaluatedDistributionsValueT&& value) {
133 m_evaluatedDistributionsHasBeenSet = true;
134 m_evaluatedDistributions.emplace(std::forward<EvaluatedDistributionsKeyT>(key), std::forward<EvaluatedDistributionsValueT>(value));
135 return *this;
136 }
138 private:
139 Aws::String m_name;
140
141 Aws::String m_description;
142
143 Aws::String m_evaluationMessage;
144
145 Aws::Map<Aws::String, double> m_evaluatedMetrics;
146
147 Aws::Map<Aws::String, DistributionData> m_evaluatedDistributions;
148 bool m_nameHasBeenSet = false;
149 bool m_descriptionHasBeenSet = false;
150 bool m_evaluationMessageHasBeenSet = false;
151 bool m_evaluatedMetricsHasBeenSet = false;
152 bool m_evaluatedDistributionsHasBeenSet = false;
153};
154
155} // namespace Model
156} // namespace Glue
157} // namespace Aws
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API DataQualityAnalyzerResult()=default
DataQualityAnalyzerResult & WithEvaluatedMetrics(EvaluatedMetricsT &&value)
DataQualityAnalyzerResult & WithDescription(DescriptionT &&value)
AWS_GLUE_API DataQualityAnalyzerResult(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, double > & GetEvaluatedMetrics() const
DataQualityAnalyzerResult & WithEvaluationMessage(EvaluationMessageT &&value)
DataQualityAnalyzerResult & WithEvaluatedDistributions(EvaluatedDistributionsT &&value)
const Aws::Map< Aws::String, DistributionData > & GetEvaluatedDistributions() const
DataQualityAnalyzerResult & WithName(NameT &&value)
void SetEvaluatedDistributions(EvaluatedDistributionsT &&value)
DataQualityAnalyzerResult & AddEvaluatedMetrics(Aws::String key, double value)
AWS_GLUE_API DataQualityAnalyzerResult & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEvaluationMessage(EvaluationMessageT &&value)
DataQualityAnalyzerResult & AddEvaluatedDistributions(EvaluatedDistributionsKeyT &&key, EvaluatedDistributionsValueT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue