AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetDataQualityResultResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.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 {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace Glue {
30namespace Model {
37 public:
38 AWS_GLUE_API GetDataQualityResultResult() = default;
41
43
46 inline const Aws::String& GetResultId() const { return m_resultId; }
47 template <typename ResultIdT = Aws::String>
48 void SetResultId(ResultIdT&& value) {
49 m_resultIdHasBeenSet = true;
50 m_resultId = std::forward<ResultIdT>(value);
51 }
52 template <typename ResultIdT = Aws::String>
54 SetResultId(std::forward<ResultIdT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetProfileId() const { return m_profileId; }
64 template <typename ProfileIdT = Aws::String>
65 void SetProfileId(ProfileIdT&& value) {
66 m_profileIdHasBeenSet = true;
67 m_profileId = std::forward<ProfileIdT>(value);
68 }
69 template <typename ProfileIdT = Aws::String>
71 SetProfileId(std::forward<ProfileIdT>(value));
72 return *this;
73 }
75
77
81 inline double GetScore() const { return m_score; }
82 inline void SetScore(double value) {
83 m_scoreHasBeenSet = true;
84 m_score = value;
85 }
86 inline GetDataQualityResultResult& WithScore(double value) {
87 SetScore(value);
88 return *this;
89 }
91
93
96 inline const DataSource& GetDataSource() const { return m_dataSource; }
97 template <typename DataSourceT = DataSource>
98 void SetDataSource(DataSourceT&& value) {
99 m_dataSourceHasBeenSet = true;
100 m_dataSource = std::forward<DataSourceT>(value);
101 }
102 template <typename DataSourceT = DataSource>
104 SetDataSource(std::forward<DataSourceT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetRulesetName() const { return m_rulesetName; }
114 template <typename RulesetNameT = Aws::String>
115 void SetRulesetName(RulesetNameT&& value) {
116 m_rulesetNameHasBeenSet = true;
117 m_rulesetName = std::forward<RulesetNameT>(value);
118 }
119 template <typename RulesetNameT = Aws::String>
121 SetRulesetName(std::forward<RulesetNameT>(value));
122 return *this;
123 }
125
127
133 inline const Aws::String& GetEvaluationContext() const { return m_evaluationContext; }
134 template <typename EvaluationContextT = Aws::String>
135 void SetEvaluationContext(EvaluationContextT&& value) {
136 m_evaluationContextHasBeenSet = true;
137 m_evaluationContext = std::forward<EvaluationContextT>(value);
138 }
139 template <typename EvaluationContextT = Aws::String>
141 SetEvaluationContext(std::forward<EvaluationContextT>(value));
142 return *this;
143 }
145
147
150 inline const Aws::Utils::DateTime& GetStartedOn() const { return m_startedOn; }
151 template <typename StartedOnT = Aws::Utils::DateTime>
152 void SetStartedOn(StartedOnT&& value) {
153 m_startedOnHasBeenSet = true;
154 m_startedOn = std::forward<StartedOnT>(value);
155 }
156 template <typename StartedOnT = Aws::Utils::DateTime>
158 SetStartedOn(std::forward<StartedOnT>(value));
159 return *this;
160 }
162
164
168 inline const Aws::Utils::DateTime& GetCompletedOn() const { return m_completedOn; }
169 template <typename CompletedOnT = Aws::Utils::DateTime>
170 void SetCompletedOn(CompletedOnT&& value) {
171 m_completedOnHasBeenSet = true;
172 m_completedOn = std::forward<CompletedOnT>(value);
173 }
174 template <typename CompletedOnT = Aws::Utils::DateTime>
176 SetCompletedOn(std::forward<CompletedOnT>(value));
177 return *this;
178 }
180
182
185 inline const Aws::String& GetJobName() const { return m_jobName; }
186 template <typename JobNameT = Aws::String>
187 void SetJobName(JobNameT&& value) {
188 m_jobNameHasBeenSet = true;
189 m_jobName = std::forward<JobNameT>(value);
190 }
191 template <typename JobNameT = Aws::String>
193 SetJobName(std::forward<JobNameT>(value));
194 return *this;
195 }
197
199
202 inline const Aws::String& GetJobRunId() const { return m_jobRunId; }
203 template <typename JobRunIdT = Aws::String>
204 void SetJobRunId(JobRunIdT&& value) {
205 m_jobRunIdHasBeenSet = true;
206 m_jobRunId = std::forward<JobRunIdT>(value);
207 }
208 template <typename JobRunIdT = Aws::String>
210 SetJobRunId(std::forward<JobRunIdT>(value));
211 return *this;
212 }
214
216
219 inline const Aws::String& GetRulesetEvaluationRunId() const { return m_rulesetEvaluationRunId; }
220 template <typename RulesetEvaluationRunIdT = Aws::String>
221 void SetRulesetEvaluationRunId(RulesetEvaluationRunIdT&& value) {
222 m_rulesetEvaluationRunIdHasBeenSet = true;
223 m_rulesetEvaluationRunId = std::forward<RulesetEvaluationRunIdT>(value);
224 }
225 template <typename RulesetEvaluationRunIdT = Aws::String>
226 GetDataQualityResultResult& WithRulesetEvaluationRunId(RulesetEvaluationRunIdT&& value) {
227 SetRulesetEvaluationRunId(std::forward<RulesetEvaluationRunIdT>(value));
228 return *this;
229 }
231
233
237 inline const Aws::Vector<DataQualityRuleResult>& GetRuleResults() const { return m_ruleResults; }
238 template <typename RuleResultsT = Aws::Vector<DataQualityRuleResult>>
239 void SetRuleResults(RuleResultsT&& value) {
240 m_ruleResultsHasBeenSet = true;
241 m_ruleResults = std::forward<RuleResultsT>(value);
242 }
243 template <typename RuleResultsT = Aws::Vector<DataQualityRuleResult>>
245 SetRuleResults(std::forward<RuleResultsT>(value));
246 return *this;
247 }
248 template <typename RuleResultsT = DataQualityRuleResult>
250 m_ruleResultsHasBeenSet = true;
251 m_ruleResults.emplace_back(std::forward<RuleResultsT>(value));
252 return *this;
253 }
255
257
261 inline const Aws::Vector<DataQualityAnalyzerResult>& GetAnalyzerResults() const { return m_analyzerResults; }
262 template <typename AnalyzerResultsT = Aws::Vector<DataQualityAnalyzerResult>>
263 void SetAnalyzerResults(AnalyzerResultsT&& value) {
264 m_analyzerResultsHasBeenSet = true;
265 m_analyzerResults = std::forward<AnalyzerResultsT>(value);
266 }
267 template <typename AnalyzerResultsT = Aws::Vector<DataQualityAnalyzerResult>>
269 SetAnalyzerResults(std::forward<AnalyzerResultsT>(value));
270 return *this;
271 }
272 template <typename AnalyzerResultsT = DataQualityAnalyzerResult>
274 m_analyzerResultsHasBeenSet = true;
275 m_analyzerResults.emplace_back(std::forward<AnalyzerResultsT>(value));
276 return *this;
277 }
279
281
285 inline const Aws::Vector<DataQualityObservation>& GetObservations() const { return m_observations; }
286 template <typename ObservationsT = Aws::Vector<DataQualityObservation>>
287 void SetObservations(ObservationsT&& value) {
288 m_observationsHasBeenSet = true;
289 m_observations = std::forward<ObservationsT>(value);
290 }
291 template <typename ObservationsT = Aws::Vector<DataQualityObservation>>
293 SetObservations(std::forward<ObservationsT>(value));
294 return *this;
295 }
296 template <typename ObservationsT = DataQualityObservation>
298 m_observationsHasBeenSet = true;
299 m_observations.emplace_back(std::forward<ObservationsT>(value));
300 return *this;
301 }
303
305
310 inline const DataQualityAggregatedMetrics& GetAggregatedMetrics() const { return m_aggregatedMetrics; }
311 template <typename AggregatedMetricsT = DataQualityAggregatedMetrics>
312 void SetAggregatedMetrics(AggregatedMetricsT&& value) {
313 m_aggregatedMetricsHasBeenSet = true;
314 m_aggregatedMetrics = std::forward<AggregatedMetricsT>(value);
315 }
316 template <typename AggregatedMetricsT = DataQualityAggregatedMetrics>
318 SetAggregatedMetrics(std::forward<AggregatedMetricsT>(value));
319 return *this;
320 }
322
324
325 inline const Aws::String& GetRequestId() const { return m_requestId; }
326 template <typename RequestIdT = Aws::String>
327 void SetRequestId(RequestIdT&& value) {
328 m_requestIdHasBeenSet = true;
329 m_requestId = std::forward<RequestIdT>(value);
330 }
331 template <typename RequestIdT = Aws::String>
333 SetRequestId(std::forward<RequestIdT>(value));
334 return *this;
335 }
337 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
338
339 private:
340 Aws::String m_resultId;
341
342 Aws::String m_profileId;
343
344 double m_score{0.0};
345
346 DataSource m_dataSource;
347
348 Aws::String m_rulesetName;
349
350 Aws::String m_evaluationContext;
351
352 Aws::Utils::DateTime m_startedOn{};
353
354 Aws::Utils::DateTime m_completedOn{};
355
356 Aws::String m_jobName;
357
358 Aws::String m_jobRunId;
359
360 Aws::String m_rulesetEvaluationRunId;
361
363
365
367
368 DataQualityAggregatedMetrics m_aggregatedMetrics;
369
370 Aws::String m_requestId;
371 Aws::Http::HttpResponseCode m_HttpResponseCode;
372 bool m_resultIdHasBeenSet = false;
373 bool m_profileIdHasBeenSet = false;
374 bool m_scoreHasBeenSet = false;
375 bool m_dataSourceHasBeenSet = false;
376 bool m_rulesetNameHasBeenSet = false;
377 bool m_evaluationContextHasBeenSet = false;
378 bool m_startedOnHasBeenSet = false;
379 bool m_completedOnHasBeenSet = false;
380 bool m_jobNameHasBeenSet = false;
381 bool m_jobRunIdHasBeenSet = false;
382 bool m_rulesetEvaluationRunIdHasBeenSet = false;
383 bool m_ruleResultsHasBeenSet = false;
384 bool m_analyzerResultsHasBeenSet = false;
385 bool m_observationsHasBeenSet = false;
386 bool m_aggregatedMetricsHasBeenSet = false;
387 bool m_requestIdHasBeenSet = false;
388};
389
390} // namespace Model
391} // namespace Glue
392} // namespace Aws
GetDataQualityResultResult & WithJobRunId(JobRunIdT &&value)
const Aws::Vector< DataQualityRuleResult > & GetRuleResults() const
Aws::Http::HttpResponseCode GetHttpResponseCode() 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