AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
GetDataQualityResultResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/Glue_EXPORTS.h>
11#include <aws/glue/model/DataQualityAggregatedMetrics.h>
12#include <aws/glue/model/DataQualityAnalyzerResult.h>
13#include <aws/glue/model/DataQualityObservation.h>
14#include <aws/glue/model/DataQualityRuleResult.h>
15#include <aws/glue/model/DataSource.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Glue {
29namespace Model {
36 public:
37 AWS_GLUE_API GetDataQualityResultResult() = default;
40
42
45 inline const Aws::String& GetResultId() const { return m_resultId; }
46 template <typename ResultIdT = Aws::String>
47 void SetResultId(ResultIdT&& value) {
48 m_resultIdHasBeenSet = true;
49 m_resultId = std::forward<ResultIdT>(value);
50 }
51 template <typename ResultIdT = Aws::String>
53 SetResultId(std::forward<ResultIdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetProfileId() const { return m_profileId; }
63 template <typename ProfileIdT = Aws::String>
64 void SetProfileId(ProfileIdT&& value) {
65 m_profileIdHasBeenSet = true;
66 m_profileId = std::forward<ProfileIdT>(value);
67 }
68 template <typename ProfileIdT = Aws::String>
70 SetProfileId(std::forward<ProfileIdT>(value));
71 return *this;
72 }
74
76
80 inline double GetScore() const { return m_score; }
81 inline void SetScore(double value) {
82 m_scoreHasBeenSet = true;
83 m_score = value;
84 }
85 inline GetDataQualityResultResult& WithScore(double value) {
86 SetScore(value);
87 return *this;
88 }
90
92
95 inline const DataSource& GetDataSource() const { return m_dataSource; }
96 template <typename DataSourceT = DataSource>
97 void SetDataSource(DataSourceT&& value) {
98 m_dataSourceHasBeenSet = true;
99 m_dataSource = std::forward<DataSourceT>(value);
100 }
101 template <typename DataSourceT = DataSource>
103 SetDataSource(std::forward<DataSourceT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetRulesetName() const { return m_rulesetName; }
113 template <typename RulesetNameT = Aws::String>
114 void SetRulesetName(RulesetNameT&& value) {
115 m_rulesetNameHasBeenSet = true;
116 m_rulesetName = std::forward<RulesetNameT>(value);
117 }
118 template <typename RulesetNameT = Aws::String>
120 SetRulesetName(std::forward<RulesetNameT>(value));
121 return *this;
122 }
124
126
132 inline const Aws::String& GetEvaluationContext() const { return m_evaluationContext; }
133 template <typename EvaluationContextT = Aws::String>
134 void SetEvaluationContext(EvaluationContextT&& value) {
135 m_evaluationContextHasBeenSet = true;
136 m_evaluationContext = std::forward<EvaluationContextT>(value);
137 }
138 template <typename EvaluationContextT = Aws::String>
140 SetEvaluationContext(std::forward<EvaluationContextT>(value));
141 return *this;
142 }
144
146
149 inline const Aws::Utils::DateTime& GetStartedOn() const { return m_startedOn; }
150 template <typename StartedOnT = Aws::Utils::DateTime>
151 void SetStartedOn(StartedOnT&& value) {
152 m_startedOnHasBeenSet = true;
153 m_startedOn = std::forward<StartedOnT>(value);
154 }
155 template <typename StartedOnT = Aws::Utils::DateTime>
157 SetStartedOn(std::forward<StartedOnT>(value));
158 return *this;
159 }
161
163
167 inline const Aws::Utils::DateTime& GetCompletedOn() const { return m_completedOn; }
168 template <typename CompletedOnT = Aws::Utils::DateTime>
169 void SetCompletedOn(CompletedOnT&& value) {
170 m_completedOnHasBeenSet = true;
171 m_completedOn = std::forward<CompletedOnT>(value);
172 }
173 template <typename CompletedOnT = Aws::Utils::DateTime>
175 SetCompletedOn(std::forward<CompletedOnT>(value));
176 return *this;
177 }
179
181
184 inline const Aws::String& GetJobName() const { return m_jobName; }
185 template <typename JobNameT = Aws::String>
186 void SetJobName(JobNameT&& value) {
187 m_jobNameHasBeenSet = true;
188 m_jobName = std::forward<JobNameT>(value);
189 }
190 template <typename JobNameT = Aws::String>
192 SetJobName(std::forward<JobNameT>(value));
193 return *this;
194 }
196
198
201 inline const Aws::String& GetJobRunId() const { return m_jobRunId; }
202 template <typename JobRunIdT = Aws::String>
203 void SetJobRunId(JobRunIdT&& value) {
204 m_jobRunIdHasBeenSet = true;
205 m_jobRunId = std::forward<JobRunIdT>(value);
206 }
207 template <typename JobRunIdT = Aws::String>
209 SetJobRunId(std::forward<JobRunIdT>(value));
210 return *this;
211 }
213
215
218 inline const Aws::String& GetRulesetEvaluationRunId() const { return m_rulesetEvaluationRunId; }
219 template <typename RulesetEvaluationRunIdT = Aws::String>
220 void SetRulesetEvaluationRunId(RulesetEvaluationRunIdT&& value) {
221 m_rulesetEvaluationRunIdHasBeenSet = true;
222 m_rulesetEvaluationRunId = std::forward<RulesetEvaluationRunIdT>(value);
223 }
224 template <typename RulesetEvaluationRunIdT = Aws::String>
225 GetDataQualityResultResult& WithRulesetEvaluationRunId(RulesetEvaluationRunIdT&& value) {
226 SetRulesetEvaluationRunId(std::forward<RulesetEvaluationRunIdT>(value));
227 return *this;
228 }
230
232
236 inline const Aws::Vector<DataQualityRuleResult>& GetRuleResults() const { return m_ruleResults; }
237 template <typename RuleResultsT = Aws::Vector<DataQualityRuleResult>>
238 void SetRuleResults(RuleResultsT&& value) {
239 m_ruleResultsHasBeenSet = true;
240 m_ruleResults = std::forward<RuleResultsT>(value);
241 }
242 template <typename RuleResultsT = Aws::Vector<DataQualityRuleResult>>
244 SetRuleResults(std::forward<RuleResultsT>(value));
245 return *this;
246 }
247 template <typename RuleResultsT = DataQualityRuleResult>
249 m_ruleResultsHasBeenSet = true;
250 m_ruleResults.emplace_back(std::forward<RuleResultsT>(value));
251 return *this;
252 }
254
256
260 inline const Aws::Vector<DataQualityAnalyzerResult>& GetAnalyzerResults() const { return m_analyzerResults; }
261 template <typename AnalyzerResultsT = Aws::Vector<DataQualityAnalyzerResult>>
262 void SetAnalyzerResults(AnalyzerResultsT&& value) {
263 m_analyzerResultsHasBeenSet = true;
264 m_analyzerResults = std::forward<AnalyzerResultsT>(value);
265 }
266 template <typename AnalyzerResultsT = Aws::Vector<DataQualityAnalyzerResult>>
268 SetAnalyzerResults(std::forward<AnalyzerResultsT>(value));
269 return *this;
270 }
271 template <typename AnalyzerResultsT = DataQualityAnalyzerResult>
273 m_analyzerResultsHasBeenSet = true;
274 m_analyzerResults.emplace_back(std::forward<AnalyzerResultsT>(value));
275 return *this;
276 }
278
280
284 inline const Aws::Vector<DataQualityObservation>& GetObservations() const { return m_observations; }
285 template <typename ObservationsT = Aws::Vector<DataQualityObservation>>
286 void SetObservations(ObservationsT&& value) {
287 m_observationsHasBeenSet = true;
288 m_observations = std::forward<ObservationsT>(value);
289 }
290 template <typename ObservationsT = Aws::Vector<DataQualityObservation>>
292 SetObservations(std::forward<ObservationsT>(value));
293 return *this;
294 }
295 template <typename ObservationsT = DataQualityObservation>
297 m_observationsHasBeenSet = true;
298 m_observations.emplace_back(std::forward<ObservationsT>(value));
299 return *this;
300 }
302
304
309 inline const DataQualityAggregatedMetrics& GetAggregatedMetrics() const { return m_aggregatedMetrics; }
310 template <typename AggregatedMetricsT = DataQualityAggregatedMetrics>
311 void SetAggregatedMetrics(AggregatedMetricsT&& value) {
312 m_aggregatedMetricsHasBeenSet = true;
313 m_aggregatedMetrics = std::forward<AggregatedMetricsT>(value);
314 }
315 template <typename AggregatedMetricsT = DataQualityAggregatedMetrics>
317 SetAggregatedMetrics(std::forward<AggregatedMetricsT>(value));
318 return *this;
319 }
321
323
324 inline const Aws::String& GetRequestId() const { return m_requestId; }
325 template <typename RequestIdT = Aws::String>
326 void SetRequestId(RequestIdT&& value) {
327 m_requestIdHasBeenSet = true;
328 m_requestId = std::forward<RequestIdT>(value);
329 }
330 template <typename RequestIdT = Aws::String>
332 SetRequestId(std::forward<RequestIdT>(value));
333 return *this;
334 }
336 private:
337 Aws::String m_resultId;
338 bool m_resultIdHasBeenSet = false;
339
340 Aws::String m_profileId;
341 bool m_profileIdHasBeenSet = false;
342
343 double m_score{0.0};
344 bool m_scoreHasBeenSet = false;
345
346 DataSource m_dataSource;
347 bool m_dataSourceHasBeenSet = false;
348
349 Aws::String m_rulesetName;
350 bool m_rulesetNameHasBeenSet = false;
351
352 Aws::String m_evaluationContext;
353 bool m_evaluationContextHasBeenSet = false;
354
355 Aws::Utils::DateTime m_startedOn{};
356 bool m_startedOnHasBeenSet = false;
357
358 Aws::Utils::DateTime m_completedOn{};
359 bool m_completedOnHasBeenSet = false;
360
361 Aws::String m_jobName;
362 bool m_jobNameHasBeenSet = false;
363
364 Aws::String m_jobRunId;
365 bool m_jobRunIdHasBeenSet = false;
366
367 Aws::String m_rulesetEvaluationRunId;
368 bool m_rulesetEvaluationRunIdHasBeenSet = false;
369
371 bool m_ruleResultsHasBeenSet = false;
372
374 bool m_analyzerResultsHasBeenSet = false;
375
377 bool m_observationsHasBeenSet = false;
378
379 DataQualityAggregatedMetrics m_aggregatedMetrics;
380 bool m_aggregatedMetricsHasBeenSet = false;
381
382 Aws::String m_requestId;
383 bool m_requestIdHasBeenSet = false;
384};
385
386} // namespace Model
387} // namespace Glue
388} // namespace Aws
GetDataQualityResultResult & WithJobRunId(JobRunIdT &&value)
const Aws::Vector< DataQualityRuleResult > & GetRuleResults() const
const DataQualityAggregatedMetrics & GetAggregatedMetrics() const
GetDataQualityResultResult & WithRulesetName(RulesetNameT &&value)
GetDataQualityResultResult & AddObservations(ObservationsT &&value)
AWS_GLUE_API GetDataQualityResultResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< DataQualityObservation > & GetObservations() const
const Aws::Vector< DataQualityAnalyzerResult > & GetAnalyzerResults() const
GetDataQualityResultResult & WithProfileId(ProfileIdT &&value)
const Aws::Utils::DateTime & GetStartedOn() const
AWS_GLUE_API GetDataQualityResultResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataQualityResultResult & WithEvaluationContext(EvaluationContextT &&value)
GetDataQualityResultResult & WithAnalyzerResults(AnalyzerResultsT &&value)
GetDataQualityResultResult & WithRuleResults(RuleResultsT &&value)
GetDataQualityResultResult & WithScore(double value)
GetDataQualityResultResult & WithCompletedOn(CompletedOnT &&value)
GetDataQualityResultResult & WithObservations(ObservationsT &&value)
GetDataQualityResultResult & WithJobName(JobNameT &&value)
const Aws::Utils::DateTime & GetCompletedOn() const
GetDataQualityResultResult & WithRulesetEvaluationRunId(RulesetEvaluationRunIdT &&value)
GetDataQualityResultResult & WithDataSource(DataSourceT &&value)
GetDataQualityResultResult & AddAnalyzerResults(AnalyzerResultsT &&value)
GetDataQualityResultResult & WithResultId(ResultIdT &&value)
GetDataQualityResultResult & WithStartedOn(StartedOnT &&value)
void SetRulesetEvaluationRunId(RulesetEvaluationRunIdT &&value)
AWS_GLUE_API GetDataQualityResultResult()=default
GetDataQualityResultResult & WithRequestId(RequestIdT &&value)
GetDataQualityResultResult & AddRuleResults(RuleResultsT &&value)
GetDataQualityResultResult & WithAggregatedMetrics(AggregatedMetricsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue