AWS SDK for C++

AWS SDK for C++ Version 1.11.912

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/DataQualityObservation.h>
15#include <aws/glue/model/DataQualityRuleResult.h>
16#include <aws/glue/model/DataSource.h>
17
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Glue {
28namespace Model {
29
37 public:
38 AWS_GLUE_API DataQualityResultV2Item() = default;
42
44
47 inline const Aws::String& GetResultId() const { return m_resultId; }
48 inline bool ResultIdHasBeenSet() const { return m_resultIdHasBeenSet; }
49 template <typename ResultIdT = Aws::String>
50 void SetResultId(ResultIdT&& value) {
51 m_resultIdHasBeenSet = true;
52 m_resultId = std::forward<ResultIdT>(value);
53 }
54 template <typename ResultIdT = Aws::String>
56 SetResultId(std::forward<ResultIdT>(value));
57 return *this;
58 }
60
62
65 inline const DataSource& GetDataSource() const { return m_dataSource; }
66 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
67 template <typename DataSourceT = DataSource>
68 void SetDataSource(DataSourceT&& value) {
69 m_dataSourceHasBeenSet = true;
70 m_dataSource = std::forward<DataSourceT>(value);
71 }
72 template <typename DataSourceT = DataSource>
74 SetDataSource(std::forward<DataSourceT>(value));
75 return *this;
76 }
78
80
85 inline const Aws::Map<Aws::String, Aws::String>& GetDimensions() const { return m_dimensions; }
86 inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; }
87 template <typename DimensionsT = Aws::Map<Aws::String, Aws::String>>
88 void SetDimensions(DimensionsT&& value) {
89 m_dimensionsHasBeenSet = true;
90 m_dimensions = std::forward<DimensionsT>(value);
91 }
92 template <typename DimensionsT = Aws::Map<Aws::String, Aws::String>>
94 SetDimensions(std::forward<DimensionsT>(value));
95 return *this;
96 }
97 template <typename DimensionsKeyT = Aws::String, typename DimensionsValueT = Aws::String>
98 DataQualityResultV2Item& AddDimensions(DimensionsKeyT&& key, DimensionsValueT&& value) {
99 m_dimensionsHasBeenSet = true;
100 m_dimensions.emplace(std::forward<DimensionsKeyT>(key), std::forward<DimensionsValueT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
110 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
111 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
112 void SetTags(TagsT&& value) {
113 m_tagsHasBeenSet = true;
114 m_tags = std::forward<TagsT>(value);
115 }
116 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
118 SetTags(std::forward<TagsT>(value));
119 return *this;
120 }
121 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
122 DataQualityResultV2Item& AddTags(TagsKeyT&& key, TagsValueT&& value) {
123 m_tagsHasBeenSet = true;
124 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
125 return *this;
126 }
128
130
133 inline const Aws::Utils::DateTime& GetExecutionStartedOn() const { return m_executionStartedOn; }
134 inline bool ExecutionStartedOnHasBeenSet() const { return m_executionStartedOnHasBeenSet; }
135 template <typename ExecutionStartedOnT = Aws::Utils::DateTime>
136 void SetExecutionStartedOn(ExecutionStartedOnT&& value) {
137 m_executionStartedOnHasBeenSet = true;
138 m_executionStartedOn = std::forward<ExecutionStartedOnT>(value);
139 }
140 template <typename ExecutionStartedOnT = Aws::Utils::DateTime>
141 DataQualityResultV2Item& WithExecutionStartedOn(ExecutionStartedOnT&& value) {
142 SetExecutionStartedOn(std::forward<ExecutionStartedOnT>(value));
143 return *this;
144 }
146
148
151 inline const Aws::Utils::DateTime& GetExecutionCompletedOn() const { return m_executionCompletedOn; }
152 inline bool ExecutionCompletedOnHasBeenSet() const { return m_executionCompletedOnHasBeenSet; }
153 template <typename ExecutionCompletedOnT = Aws::Utils::DateTime>
154 void SetExecutionCompletedOn(ExecutionCompletedOnT&& value) {
155 m_executionCompletedOnHasBeenSet = true;
156 m_executionCompletedOn = std::forward<ExecutionCompletedOnT>(value);
157 }
158 template <typename ExecutionCompletedOnT = Aws::Utils::DateTime>
159 DataQualityResultV2Item& WithExecutionCompletedOn(ExecutionCompletedOnT&& value) {
160 SetExecutionCompletedOn(std::forward<ExecutionCompletedOnT>(value));
161 return *this;
162 }
164
166
169 inline const Aws::Utils::DateTime& GetResultPublishedOn() const { return m_resultPublishedOn; }
170 inline bool ResultPublishedOnHasBeenSet() const { return m_resultPublishedOnHasBeenSet; }
171 template <typename ResultPublishedOnT = Aws::Utils::DateTime>
172 void SetResultPublishedOn(ResultPublishedOnT&& value) {
173 m_resultPublishedOnHasBeenSet = true;
174 m_resultPublishedOn = std::forward<ResultPublishedOnT>(value);
175 }
176 template <typename ResultPublishedOnT = Aws::Utils::DateTime>
177 DataQualityResultV2Item& WithResultPublishedOn(ResultPublishedOnT&& value) {
178 SetResultPublishedOn(std::forward<ResultPublishedOnT>(value));
179 return *this;
180 }
182
184
188 inline double GetScore() const { return m_score; }
189 inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; }
190 inline void SetScore(double value) {
191 m_scoreHasBeenSet = true;
192 m_score = value;
193 }
194 inline DataQualityResultV2Item& WithScore(double value) {
195 SetScore(value);
196 return *this;
197 }
199
201
205 inline const Aws::Vector<DataQualityRuleResult>& GetRuleResults() const { return m_ruleResults; }
206 inline bool RuleResultsHasBeenSet() const { return m_ruleResultsHasBeenSet; }
207 template <typename RuleResultsT = Aws::Vector<DataQualityRuleResult>>
208 void SetRuleResults(RuleResultsT&& value) {
209 m_ruleResultsHasBeenSet = true;
210 m_ruleResults = std::forward<RuleResultsT>(value);
211 }
212 template <typename RuleResultsT = Aws::Vector<DataQualityRuleResult>>
214 SetRuleResults(std::forward<RuleResultsT>(value));
215 return *this;
216 }
217 template <typename RuleResultsT = DataQualityRuleResult>
219 m_ruleResultsHasBeenSet = true;
220 m_ruleResults.emplace_back(std::forward<RuleResultsT>(value));
221 return *this;
222 }
224
226
230 inline const Aws::Vector<DataQualityAnalyzerResult>& GetAnalyzerResults() const { return m_analyzerResults; }
231 inline bool AnalyzerResultsHasBeenSet() const { return m_analyzerResultsHasBeenSet; }
232 template <typename AnalyzerResultsT = Aws::Vector<DataQualityAnalyzerResult>>
233 void SetAnalyzerResults(AnalyzerResultsT&& value) {
234 m_analyzerResultsHasBeenSet = true;
235 m_analyzerResults = std::forward<AnalyzerResultsT>(value);
236 }
237 template <typename AnalyzerResultsT = Aws::Vector<DataQualityAnalyzerResult>>
238 DataQualityResultV2Item& WithAnalyzerResults(AnalyzerResultsT&& value) {
239 SetAnalyzerResults(std::forward<AnalyzerResultsT>(value));
240 return *this;
241 }
242 template <typename AnalyzerResultsT = DataQualityAnalyzerResult>
243 DataQualityResultV2Item& AddAnalyzerResults(AnalyzerResultsT&& value) {
244 m_analyzerResultsHasBeenSet = true;
245 m_analyzerResults.emplace_back(std::forward<AnalyzerResultsT>(value));
246 return *this;
247 }
249
251
256 inline const Aws::Vector<DataQualityObservation>& GetObservations() const { return m_observations; }
257 inline bool ObservationsHasBeenSet() const { return m_observationsHasBeenSet; }
258 template <typename ObservationsT = Aws::Vector<DataQualityObservation>>
259 void SetObservations(ObservationsT&& value) {
260 m_observationsHasBeenSet = true;
261 m_observations = std::forward<ObservationsT>(value);
262 }
263 template <typename ObservationsT = Aws::Vector<DataQualityObservation>>
265 SetObservations(std::forward<ObservationsT>(value));
266 return *this;
267 }
268 template <typename ObservationsT = DataQualityObservation>
269 DataQualityResultV2Item& AddObservations(ObservationsT&& value) {
270 m_observationsHasBeenSet = true;
271 m_observations.emplace_back(std::forward<ObservationsT>(value));
272 return *this;
273 }
275
277
281 inline const Aws::String& GetEvaluationContext() const { return m_evaluationContext; }
282 inline bool EvaluationContextHasBeenSet() const { return m_evaluationContextHasBeenSet; }
283 template <typename EvaluationContextT = Aws::String>
284 void SetEvaluationContext(EvaluationContextT&& value) {
285 m_evaluationContextHasBeenSet = true;
286 m_evaluationContext = std::forward<EvaluationContextT>(value);
287 }
288 template <typename EvaluationContextT = Aws::String>
289 DataQualityResultV2Item& WithEvaluationContext(EvaluationContextT&& value) {
290 SetEvaluationContext(std::forward<EvaluationContextT>(value));
291 return *this;
292 }
294
296
301 inline const Aws::Map<Aws::String, Aws::String>& GetDescriptors() const { return m_descriptors; }
302 inline bool DescriptorsHasBeenSet() const { return m_descriptorsHasBeenSet; }
303 template <typename DescriptorsT = Aws::Map<Aws::String, Aws::String>>
304 void SetDescriptors(DescriptorsT&& value) {
305 m_descriptorsHasBeenSet = true;
306 m_descriptors = std::forward<DescriptorsT>(value);
307 }
308 template <typename DescriptorsT = Aws::Map<Aws::String, Aws::String>>
310 SetDescriptors(std::forward<DescriptorsT>(value));
311 return *this;
312 }
313 template <typename DescriptorsKeyT = Aws::String, typename DescriptorsValueT = Aws::String>
314 DataQualityResultV2Item& AddDescriptors(DescriptorsKeyT&& key, DescriptorsValueT&& value) {
315 m_descriptorsHasBeenSet = true;
316 m_descriptors.emplace(std::forward<DescriptorsKeyT>(key), std::forward<DescriptorsValueT>(value));
317 return *this;
318 }
320
322
327 inline const DataQualityAggregatedMetrics& GetAggregatedMetrics() const { return m_aggregatedMetrics; }
328 inline bool AggregatedMetricsHasBeenSet() const { return m_aggregatedMetricsHasBeenSet; }
329 template <typename AggregatedMetricsT = DataQualityAggregatedMetrics>
330 void SetAggregatedMetrics(AggregatedMetricsT&& value) {
331 m_aggregatedMetricsHasBeenSet = true;
332 m_aggregatedMetrics = std::forward<AggregatedMetricsT>(value);
333 }
334 template <typename AggregatedMetricsT = DataQualityAggregatedMetrics>
335 DataQualityResultV2Item& WithAggregatedMetrics(AggregatedMetricsT&& value) {
336 SetAggregatedMetrics(std::forward<AggregatedMetricsT>(value));
337 return *this;
338 }
340
342
345 inline const Aws::String& GetRulesetName() const { return m_rulesetName; }
346 inline bool RulesetNameHasBeenSet() const { return m_rulesetNameHasBeenSet; }
347 template <typename RulesetNameT = Aws::String>
348 void SetRulesetName(RulesetNameT&& value) {
349 m_rulesetNameHasBeenSet = true;
350 m_rulesetName = std::forward<RulesetNameT>(value);
351 }
352 template <typename RulesetNameT = Aws::String>
354 SetRulesetName(std::forward<RulesetNameT>(value));
355 return *this;
356 }
358 private:
359 Aws::String m_resultId;
360
361 DataSource m_dataSource;
362
364
366
367 Aws::Utils::DateTime m_executionStartedOn{};
368
369 Aws::Utils::DateTime m_executionCompletedOn{};
370
371 Aws::Utils::DateTime m_resultPublishedOn{};
372
373 double m_score{0.0};
374
376
378
380
381 Aws::String m_evaluationContext;
382
384
385 DataQualityAggregatedMetrics m_aggregatedMetrics;
386
387 Aws::String m_rulesetName;
388 bool m_resultIdHasBeenSet = false;
389 bool m_dataSourceHasBeenSet = false;
390 bool m_dimensionsHasBeenSet = false;
391 bool m_tagsHasBeenSet = false;
392 bool m_executionStartedOnHasBeenSet = false;
393 bool m_executionCompletedOnHasBeenSet = false;
394 bool m_resultPublishedOnHasBeenSet = false;
395 bool m_scoreHasBeenSet = false;
396 bool m_ruleResultsHasBeenSet = false;
397 bool m_analyzerResultsHasBeenSet = false;
398 bool m_observationsHasBeenSet = false;
399 bool m_evaluationContextHasBeenSet = false;
400 bool m_descriptorsHasBeenSet = false;
401 bool m_aggregatedMetricsHasBeenSet = false;
402 bool m_rulesetNameHasBeenSet = false;
403};
404
405} // namespace Model
406} // namespace Glue
407} // namespace Aws
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)
const Aws::Utils::DateTime & GetExecutionCompletedOn() const
DataQualityResultV2Item & WithResultPublishedOn(ResultPublishedOnT &&value)
void SetExecutionCompletedOn(ExecutionCompletedOnT &&value)
DataQualityResultV2Item & AddRuleResults(RuleResultsT &&value)
DataQualityResultV2Item & AddAnalyzerResults(AnalyzerResultsT &&value)
DataQualityResultV2Item & AddDescriptors(DescriptorsKeyT &&key, DescriptorsValueT &&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)
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
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