AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
DataQualityResultV2Item.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/glue/Glue_EXPORTS.h>
12#include <aws/glue/model/DataQualityAggregatedMetrics.h>
13#include <aws/glue/model/DataQualityAnalyzerResult.h>
14#include <aws/glue/model/DataQualityEvaluationRunMode.h>
15#include <aws/glue/model/DataQualityObservation.h>
16#include <aws/glue/model/DataQualityRuleResult.h>
17#include <aws/glue/model/DataSource.h>
18
19#include <utility>
20
21namespace Aws {
22namespace Utils {
23namespace Json {
24class JsonValue;
25class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace Glue {
29namespace Model {
30
38 public:
39 AWS_GLUE_API DataQualityResultV2Item() = default;
43
45
48 inline const Aws::String& GetResultId() const { return m_resultId; }
49 inline bool ResultIdHasBeenSet() const { return m_resultIdHasBeenSet; }
50 template <typename ResultIdT = Aws::String>
51 void SetResultId(ResultIdT&& value) {
52 m_resultIdHasBeenSet = true;
53 m_resultId = std::forward<ResultIdT>(value);
54 }
55 template <typename ResultIdT = Aws::String>
57 SetResultId(std::forward<ResultIdT>(value));
58 return *this;
59 }
61
63
71 inline DataQualityEvaluationRunMode GetEvaluationRunMode() const { return m_evaluationRunMode; }
72 inline bool EvaluationRunModeHasBeenSet() const { return m_evaluationRunModeHasBeenSet; }
74 m_evaluationRunModeHasBeenSet = true;
75 m_evaluationRunMode = value;
76 }
82
84
89 inline const Aws::String& GetDataQualityEvaluationConfig() const { return m_dataQualityEvaluationConfig; }
90 inline bool DataQualityEvaluationConfigHasBeenSet() const { return m_dataQualityEvaluationConfigHasBeenSet; }
91 template <typename DataQualityEvaluationConfigT = Aws::String>
92 void SetDataQualityEvaluationConfig(DataQualityEvaluationConfigT&& value) {
93 m_dataQualityEvaluationConfigHasBeenSet = true;
94 m_dataQualityEvaluationConfig = std::forward<DataQualityEvaluationConfigT>(value);
95 }
96 template <typename DataQualityEvaluationConfigT = Aws::String>
97 DataQualityResultV2Item& WithDataQualityEvaluationConfig(DataQualityEvaluationConfigT&& value) {
98 SetDataQualityEvaluationConfig(std::forward<DataQualityEvaluationConfigT>(value));
99 return *this;
100 }
102
104
107 inline const DataSource& GetDataSource() const { return m_dataSource; }
108 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
109 template <typename DataSourceT = DataSource>
110 void SetDataSource(DataSourceT&& value) {
111 m_dataSourceHasBeenSet = true;
112 m_dataSource = std::forward<DataSourceT>(value);
113 }
114 template <typename DataSourceT = DataSource>
116 SetDataSource(std::forward<DataSourceT>(value));
117 return *this;
118 }
120
122
127 inline const Aws::Map<Aws::String, Aws::String>& GetDimensions() const { return m_dimensions; }
128 inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; }
129 template <typename DimensionsT = Aws::Map<Aws::String, Aws::String>>
130 void SetDimensions(DimensionsT&& value) {
131 m_dimensionsHasBeenSet = true;
132 m_dimensions = std::forward<DimensionsT>(value);
133 }
134 template <typename DimensionsT = Aws::Map<Aws::String, Aws::String>>
136 SetDimensions(std::forward<DimensionsT>(value));
137 return *this;
138 }
139 template <typename DimensionsKeyT = Aws::String, typename DimensionsValueT = Aws::String>
140 DataQualityResultV2Item& AddDimensions(DimensionsKeyT&& key, DimensionsValueT&& value) {
141 m_dimensionsHasBeenSet = true;
142 m_dimensions.emplace(std::forward<DimensionsKeyT>(key), std::forward<DimensionsValueT>(value));
143 return *this;
144 }
146
148
151 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
152 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
153 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
154 void SetTags(TagsT&& value) {
155 m_tagsHasBeenSet = true;
156 m_tags = std::forward<TagsT>(value);
157 }
158 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
160 SetTags(std::forward<TagsT>(value));
161 return *this;
162 }
163 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
164 DataQualityResultV2Item& AddTags(TagsKeyT&& key, TagsValueT&& value) {
165 m_tagsHasBeenSet = true;
166 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
167 return *this;
168 }
170
172
175 inline const Aws::Utils::DateTime& GetExecutionStartedOn() const { return m_executionStartedOn; }
176 inline bool ExecutionStartedOnHasBeenSet() const { return m_executionStartedOnHasBeenSet; }
177 template <typename ExecutionStartedOnT = Aws::Utils::DateTime>
178 void SetExecutionStartedOn(ExecutionStartedOnT&& value) {
179 m_executionStartedOnHasBeenSet = true;
180 m_executionStartedOn = std::forward<ExecutionStartedOnT>(value);
181 }
182 template <typename ExecutionStartedOnT = Aws::Utils::DateTime>
183 DataQualityResultV2Item& WithExecutionStartedOn(ExecutionStartedOnT&& value) {
184 SetExecutionStartedOn(std::forward<ExecutionStartedOnT>(value));
185 return *this;
186 }
188
190
193 inline const Aws::Utils::DateTime& GetExecutionCompletedOn() const { return m_executionCompletedOn; }
194 inline bool ExecutionCompletedOnHasBeenSet() const { return m_executionCompletedOnHasBeenSet; }
195 template <typename ExecutionCompletedOnT = Aws::Utils::DateTime>
196 void SetExecutionCompletedOn(ExecutionCompletedOnT&& value) {
197 m_executionCompletedOnHasBeenSet = true;
198 m_executionCompletedOn = std::forward<ExecutionCompletedOnT>(value);
199 }
200 template <typename ExecutionCompletedOnT = Aws::Utils::DateTime>
201 DataQualityResultV2Item& WithExecutionCompletedOn(ExecutionCompletedOnT&& value) {
202 SetExecutionCompletedOn(std::forward<ExecutionCompletedOnT>(value));
203 return *this;
204 }
206
208
211 inline const Aws::Utils::DateTime& GetResultPublishedOn() const { return m_resultPublishedOn; }
212 inline bool ResultPublishedOnHasBeenSet() const { return m_resultPublishedOnHasBeenSet; }
213 template <typename ResultPublishedOnT = Aws::Utils::DateTime>
214 void SetResultPublishedOn(ResultPublishedOnT&& value) {
215 m_resultPublishedOnHasBeenSet = true;
216 m_resultPublishedOn = std::forward<ResultPublishedOnT>(value);
217 }
218 template <typename ResultPublishedOnT = Aws::Utils::DateTime>
219 DataQualityResultV2Item& WithResultPublishedOn(ResultPublishedOnT&& value) {
220 SetResultPublishedOn(std::forward<ResultPublishedOnT>(value));
221 return *this;
222 }
224
226
230 inline double GetScore() const { return m_score; }
231 inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; }
232 inline void SetScore(double value) {
233 m_scoreHasBeenSet = true;
234 m_score = value;
235 }
236 inline DataQualityResultV2Item& WithScore(double value) {
237 SetScore(value);
238 return *this;
239 }
241
243
247 inline const Aws::Vector<DataQualityRuleResult>& GetRuleResults() const { return m_ruleResults; }
248 inline bool RuleResultsHasBeenSet() const { return m_ruleResultsHasBeenSet; }
249 template <typename RuleResultsT = Aws::Vector<DataQualityRuleResult>>
250 void SetRuleResults(RuleResultsT&& value) {
251 m_ruleResultsHasBeenSet = true;
252 m_ruleResults = std::forward<RuleResultsT>(value);
253 }
254 template <typename RuleResultsT = Aws::Vector<DataQualityRuleResult>>
256 SetRuleResults(std::forward<RuleResultsT>(value));
257 return *this;
258 }
259 template <typename RuleResultsT = DataQualityRuleResult>
261 m_ruleResultsHasBeenSet = true;
262 m_ruleResults.emplace_back(std::forward<RuleResultsT>(value));
263 return *this;
264 }
266
268
272 inline const Aws::Vector<DataQualityAnalyzerResult>& GetAnalyzerResults() const { return m_analyzerResults; }
273 inline bool AnalyzerResultsHasBeenSet() const { return m_analyzerResultsHasBeenSet; }
274 template <typename AnalyzerResultsT = Aws::Vector<DataQualityAnalyzerResult>>
275 void SetAnalyzerResults(AnalyzerResultsT&& value) {
276 m_analyzerResultsHasBeenSet = true;
277 m_analyzerResults = std::forward<AnalyzerResultsT>(value);
278 }
279 template <typename AnalyzerResultsT = Aws::Vector<DataQualityAnalyzerResult>>
280 DataQualityResultV2Item& WithAnalyzerResults(AnalyzerResultsT&& value) {
281 SetAnalyzerResults(std::forward<AnalyzerResultsT>(value));
282 return *this;
283 }
284 template <typename AnalyzerResultsT = DataQualityAnalyzerResult>
285 DataQualityResultV2Item& AddAnalyzerResults(AnalyzerResultsT&& value) {
286 m_analyzerResultsHasBeenSet = true;
287 m_analyzerResults.emplace_back(std::forward<AnalyzerResultsT>(value));
288 return *this;
289 }
291
293
298 inline const Aws::Vector<DataQualityObservation>& GetObservations() const { return m_observations; }
299 inline bool ObservationsHasBeenSet() const { return m_observationsHasBeenSet; }
300 template <typename ObservationsT = Aws::Vector<DataQualityObservation>>
301 void SetObservations(ObservationsT&& value) {
302 m_observationsHasBeenSet = true;
303 m_observations = std::forward<ObservationsT>(value);
304 }
305 template <typename ObservationsT = Aws::Vector<DataQualityObservation>>
307 SetObservations(std::forward<ObservationsT>(value));
308 return *this;
309 }
310 template <typename ObservationsT = DataQualityObservation>
311 DataQualityResultV2Item& AddObservations(ObservationsT&& value) {
312 m_observationsHasBeenSet = true;
313 m_observations.emplace_back(std::forward<ObservationsT>(value));
314 return *this;
315 }
317
319
323 inline const Aws::String& GetEvaluationContext() const { return m_evaluationContext; }
324 inline bool EvaluationContextHasBeenSet() const { return m_evaluationContextHasBeenSet; }
325 template <typename EvaluationContextT = Aws::String>
326 void SetEvaluationContext(EvaluationContextT&& value) {
327 m_evaluationContextHasBeenSet = true;
328 m_evaluationContext = std::forward<EvaluationContextT>(value);
329 }
330 template <typename EvaluationContextT = Aws::String>
331 DataQualityResultV2Item& WithEvaluationContext(EvaluationContextT&& value) {
332 SetEvaluationContext(std::forward<EvaluationContextT>(value));
333 return *this;
334 }
336
338
343 inline const Aws::Map<Aws::String, Aws::String>& GetDescriptors() const { return m_descriptors; }
344 inline bool DescriptorsHasBeenSet() const { return m_descriptorsHasBeenSet; }
345 template <typename DescriptorsT = Aws::Map<Aws::String, Aws::String>>
346 void SetDescriptors(DescriptorsT&& value) {
347 m_descriptorsHasBeenSet = true;
348 m_descriptors = std::forward<DescriptorsT>(value);
349 }
350 template <typename DescriptorsT = Aws::Map<Aws::String, Aws::String>>
352 SetDescriptors(std::forward<DescriptorsT>(value));
353 return *this;
354 }
355 template <typename DescriptorsKeyT = Aws::String, typename DescriptorsValueT = Aws::String>
356 DataQualityResultV2Item& AddDescriptors(DescriptorsKeyT&& key, DescriptorsValueT&& value) {
357 m_descriptorsHasBeenSet = true;
358 m_descriptors.emplace(std::forward<DescriptorsKeyT>(key), std::forward<DescriptorsValueT>(value));
359 return *this;
360 }
362
364
369 inline const DataQualityAggregatedMetrics& GetAggregatedMetrics() const { return m_aggregatedMetrics; }
370 inline bool AggregatedMetricsHasBeenSet() const { return m_aggregatedMetricsHasBeenSet; }
371 template <typename AggregatedMetricsT = DataQualityAggregatedMetrics>
372 void SetAggregatedMetrics(AggregatedMetricsT&& value) {
373 m_aggregatedMetricsHasBeenSet = true;
374 m_aggregatedMetrics = std::forward<AggregatedMetricsT>(value);
375 }
376 template <typename AggregatedMetricsT = DataQualityAggregatedMetrics>
377 DataQualityResultV2Item& WithAggregatedMetrics(AggregatedMetricsT&& value) {
378 SetAggregatedMetrics(std::forward<AggregatedMetricsT>(value));
379 return *this;
380 }
382
384
387 inline const Aws::String& GetRulesetName() const { return m_rulesetName; }
388 inline bool RulesetNameHasBeenSet() const { return m_rulesetNameHasBeenSet; }
389 template <typename RulesetNameT = Aws::String>
390 void SetRulesetName(RulesetNameT&& value) {
391 m_rulesetNameHasBeenSet = true;
392 m_rulesetName = std::forward<RulesetNameT>(value);
393 }
394 template <typename RulesetNameT = Aws::String>
396 SetRulesetName(std::forward<RulesetNameT>(value));
397 return *this;
398 }
400 private:
401 Aws::String m_resultId;
402
404
405 Aws::String m_dataQualityEvaluationConfig;
406
407 DataSource m_dataSource;
408
410
412
413 Aws::Utils::DateTime m_executionStartedOn{};
414
415 Aws::Utils::DateTime m_executionCompletedOn{};
416
417 Aws::Utils::DateTime m_resultPublishedOn{};
418
419 double m_score{0.0};
420
422
424
426
427 Aws::String m_evaluationContext;
428
430
431 DataQualityAggregatedMetrics m_aggregatedMetrics;
432
433 Aws::String m_rulesetName;
434 bool m_resultIdHasBeenSet = false;
435 bool m_evaluationRunModeHasBeenSet = false;
436 bool m_dataQualityEvaluationConfigHasBeenSet = false;
437 bool m_dataSourceHasBeenSet = false;
438 bool m_dimensionsHasBeenSet = false;
439 bool m_tagsHasBeenSet = false;
440 bool m_executionStartedOnHasBeenSet = false;
441 bool m_executionCompletedOnHasBeenSet = false;
442 bool m_resultPublishedOnHasBeenSet = false;
443 bool m_scoreHasBeenSet = false;
444 bool m_ruleResultsHasBeenSet = false;
445 bool m_analyzerResultsHasBeenSet = false;
446 bool m_observationsHasBeenSet = false;
447 bool m_evaluationContextHasBeenSet = false;
448 bool m_descriptorsHasBeenSet = false;
449 bool m_aggregatedMetricsHasBeenSet = false;
450 bool m_rulesetNameHasBeenSet = false;
451};
452
453} // namespace Model
454} // namespace Glue
455} // namespace Aws
DataQualityResultV2Item & WithDataQualityEvaluationConfig(DataQualityEvaluationConfigT &&value)
DataQualityResultV2Item & WithAggregatedMetrics(AggregatedMetricsT &&value)
void SetEvaluationContext(EvaluationContextT &&value)
const Aws::Map< Aws::String, Aws::String > & GetDescriptors() const
DataQualityResultV2Item & AddTags(TagsKeyT &&key, TagsValueT &&value)
DataQualityResultV2Item & AddDimensions(DimensionsKeyT &&key, DimensionsValueT &&value)
void SetExecutionStartedOn(ExecutionStartedOnT &&value)
DataQualityResultV2Item & AddObservations(ObservationsT &&value)
DataQualityResultV2Item & WithObservations(ObservationsT &&value)
void SetResultPublishedOn(ResultPublishedOnT &&value)
DataQualityResultV2Item & WithDimensions(DimensionsT &&value)
DataQualityResultV2Item & WithRuleResults(RuleResultsT &&value)
DataQualityResultV2Item & WithDescriptors(DescriptorsT &&value)
DataQualityResultV2Item & WithTags(TagsT &&value)
DataQualityResultV2Item & WithDataSource(DataSourceT &&value)
DataQualityResultV2Item & WithScore(double value)
void SetAggregatedMetrics(AggregatedMetricsT &&value)
DataQualityResultV2Item & WithExecutionStartedOn(ExecutionStartedOnT &&value)
DataQualityResultV2Item & WithEvaluationRunMode(DataQualityEvaluationRunMode value)
const Aws::Utils::DateTime & GetExecutionCompletedOn() const
DataQualityResultV2Item & WithResultPublishedOn(ResultPublishedOnT &&value)
void SetExecutionCompletedOn(ExecutionCompletedOnT &&value)
DataQualityResultV2Item & AddRuleResults(RuleResultsT &&value)
DataQualityResultV2Item & AddAnalyzerResults(AnalyzerResultsT &&value)
const Aws::String & GetDataQualityEvaluationConfig() const
DataQualityResultV2Item & AddDescriptors(DescriptorsKeyT &&key, DescriptorsValueT &&value)
void SetDataQualityEvaluationConfig(DataQualityEvaluationConfigT &&value)
AWS_GLUE_API DataQualityResultV2Item()=default
const Aws::Vector< DataQualityObservation > & GetObservations() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DataQualityResultV2Item & WithEvaluationContext(EvaluationContextT &&value)
DataQualityResultV2Item & WithResultId(ResultIdT &&value)
DataQualityEvaluationRunMode GetEvaluationRunMode() const
const Aws::Utils::DateTime & GetResultPublishedOn() const
DataQualityResultV2Item & WithExecutionCompletedOn(ExecutionCompletedOnT &&value)
DataQualityResultV2Item & WithRulesetName(RulesetNameT &&value)
DataQualityResultV2Item & WithAnalyzerResults(AnalyzerResultsT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetDimensions() const
void SetEvaluationRunMode(DataQualityEvaluationRunMode value)
const Aws::Vector< DataQualityRuleResult > & GetRuleResults() const
void SetAnalyzerResults(AnalyzerResultsT &&value)
AWS_GLUE_API DataQualityResultV2Item(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetExecutionStartedOn() const
AWS_GLUE_API DataQualityResultV2Item & operator=(Aws::Utils::Json::JsonView jsonValue)
const DataQualityAggregatedMetrics & GetAggregatedMetrics() const
const Aws::Vector< DataQualityAnalyzerResult > & GetAnalyzerResults() const
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue