AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetDataQualityResultResult.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/DataSource.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/glue/model/DataQualityAggregatedMetrics.h>
13#include <aws/glue/model/DataQualityRuleResult.h>
14#include <aws/glue/model/DataQualityAnalyzerResult.h>
15#include <aws/glue/model/DataQualityObservation.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace Glue
31{
32namespace Model
33{
40 {
41 public:
42 AWS_GLUE_API GetDataQualityResultResult() = default;
45
46
48
51 inline const Aws::String& GetResultId() const { return m_resultId; }
52 template<typename ResultIdT = Aws::String>
53 void SetResultId(ResultIdT&& value) { m_resultIdHasBeenSet = true; m_resultId = std::forward<ResultIdT>(value); }
54 template<typename ResultIdT = Aws::String>
55 GetDataQualityResultResult& WithResultId(ResultIdT&& value) { SetResultId(std::forward<ResultIdT>(value)); return *this;}
57
59
62 inline const Aws::String& GetProfileId() const { return m_profileId; }
63 template<typename ProfileIdT = Aws::String>
64 void SetProfileId(ProfileIdT&& value) { m_profileIdHasBeenSet = true; m_profileId = std::forward<ProfileIdT>(value); }
65 template<typename ProfileIdT = Aws::String>
66 GetDataQualityResultResult& WithProfileId(ProfileIdT&& value) { SetProfileId(std::forward<ProfileIdT>(value)); return *this;}
68
70
74 inline double GetScore() const { return m_score; }
75 inline void SetScore(double value) { m_scoreHasBeenSet = true; m_score = value; }
76 inline GetDataQualityResultResult& WithScore(double value) { SetScore(value); return *this;}
78
80
83 inline const DataSource& GetDataSource() const { return m_dataSource; }
84 template<typename DataSourceT = DataSource>
85 void SetDataSource(DataSourceT&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::forward<DataSourceT>(value); }
86 template<typename DataSourceT = DataSource>
87 GetDataQualityResultResult& WithDataSource(DataSourceT&& value) { SetDataSource(std::forward<DataSourceT>(value)); return *this;}
89
91
94 inline const Aws::String& GetRulesetName() const { return m_rulesetName; }
95 template<typename RulesetNameT = Aws::String>
96 void SetRulesetName(RulesetNameT&& value) { m_rulesetNameHasBeenSet = true; m_rulesetName = std::forward<RulesetNameT>(value); }
97 template<typename RulesetNameT = Aws::String>
98 GetDataQualityResultResult& WithRulesetName(RulesetNameT&& value) { SetRulesetName(std::forward<RulesetNameT>(value)); return *this;}
100
102
108 inline const Aws::String& GetEvaluationContext() const { return m_evaluationContext; }
109 template<typename EvaluationContextT = Aws::String>
110 void SetEvaluationContext(EvaluationContextT&& value) { m_evaluationContextHasBeenSet = true; m_evaluationContext = std::forward<EvaluationContextT>(value); }
111 template<typename EvaluationContextT = Aws::String>
112 GetDataQualityResultResult& WithEvaluationContext(EvaluationContextT&& value) { SetEvaluationContext(std::forward<EvaluationContextT>(value)); return *this;}
114
116
119 inline const Aws::Utils::DateTime& GetStartedOn() const { return m_startedOn; }
120 template<typename StartedOnT = Aws::Utils::DateTime>
121 void SetStartedOn(StartedOnT&& value) { m_startedOnHasBeenSet = true; m_startedOn = std::forward<StartedOnT>(value); }
122 template<typename StartedOnT = Aws::Utils::DateTime>
123 GetDataQualityResultResult& WithStartedOn(StartedOnT&& value) { SetStartedOn(std::forward<StartedOnT>(value)); return *this;}
125
127
131 inline const Aws::Utils::DateTime& GetCompletedOn() const { return m_completedOn; }
132 template<typename CompletedOnT = Aws::Utils::DateTime>
133 void SetCompletedOn(CompletedOnT&& value) { m_completedOnHasBeenSet = true; m_completedOn = std::forward<CompletedOnT>(value); }
134 template<typename CompletedOnT = Aws::Utils::DateTime>
135 GetDataQualityResultResult& WithCompletedOn(CompletedOnT&& value) { SetCompletedOn(std::forward<CompletedOnT>(value)); return *this;}
137
139
142 inline const Aws::String& GetJobName() const { return m_jobName; }
143 template<typename JobNameT = Aws::String>
144 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
145 template<typename JobNameT = Aws::String>
146 GetDataQualityResultResult& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
148
150
153 inline const Aws::String& GetJobRunId() const { return m_jobRunId; }
154 template<typename JobRunIdT = Aws::String>
155 void SetJobRunId(JobRunIdT&& value) { m_jobRunIdHasBeenSet = true; m_jobRunId = std::forward<JobRunIdT>(value); }
156 template<typename JobRunIdT = Aws::String>
157 GetDataQualityResultResult& WithJobRunId(JobRunIdT&& value) { SetJobRunId(std::forward<JobRunIdT>(value)); return *this;}
159
161
164 inline const Aws::String& GetRulesetEvaluationRunId() const { return m_rulesetEvaluationRunId; }
165 template<typename RulesetEvaluationRunIdT = Aws::String>
166 void SetRulesetEvaluationRunId(RulesetEvaluationRunIdT&& value) { m_rulesetEvaluationRunIdHasBeenSet = true; m_rulesetEvaluationRunId = std::forward<RulesetEvaluationRunIdT>(value); }
167 template<typename RulesetEvaluationRunIdT = Aws::String>
168 GetDataQualityResultResult& WithRulesetEvaluationRunId(RulesetEvaluationRunIdT&& value) { SetRulesetEvaluationRunId(std::forward<RulesetEvaluationRunIdT>(value)); return *this;}
170
172
176 inline const Aws::Vector<DataQualityRuleResult>& GetRuleResults() const { return m_ruleResults; }
177 template<typename RuleResultsT = Aws::Vector<DataQualityRuleResult>>
178 void SetRuleResults(RuleResultsT&& value) { m_ruleResultsHasBeenSet = true; m_ruleResults = std::forward<RuleResultsT>(value); }
179 template<typename RuleResultsT = Aws::Vector<DataQualityRuleResult>>
180 GetDataQualityResultResult& WithRuleResults(RuleResultsT&& value) { SetRuleResults(std::forward<RuleResultsT>(value)); return *this;}
181 template<typename RuleResultsT = DataQualityRuleResult>
182 GetDataQualityResultResult& AddRuleResults(RuleResultsT&& value) { m_ruleResultsHasBeenSet = true; m_ruleResults.emplace_back(std::forward<RuleResultsT>(value)); return *this; }
184
186
190 inline const Aws::Vector<DataQualityAnalyzerResult>& GetAnalyzerResults() const { return m_analyzerResults; }
191 template<typename AnalyzerResultsT = Aws::Vector<DataQualityAnalyzerResult>>
192 void SetAnalyzerResults(AnalyzerResultsT&& value) { m_analyzerResultsHasBeenSet = true; m_analyzerResults = std::forward<AnalyzerResultsT>(value); }
193 template<typename AnalyzerResultsT = Aws::Vector<DataQualityAnalyzerResult>>
194 GetDataQualityResultResult& WithAnalyzerResults(AnalyzerResultsT&& value) { SetAnalyzerResults(std::forward<AnalyzerResultsT>(value)); return *this;}
195 template<typename AnalyzerResultsT = DataQualityAnalyzerResult>
196 GetDataQualityResultResult& AddAnalyzerResults(AnalyzerResultsT&& value) { m_analyzerResultsHasBeenSet = true; m_analyzerResults.emplace_back(std::forward<AnalyzerResultsT>(value)); return *this; }
198
200
204 inline const Aws::Vector<DataQualityObservation>& GetObservations() const { return m_observations; }
205 template<typename ObservationsT = Aws::Vector<DataQualityObservation>>
206 void SetObservations(ObservationsT&& value) { m_observationsHasBeenSet = true; m_observations = std::forward<ObservationsT>(value); }
207 template<typename ObservationsT = Aws::Vector<DataQualityObservation>>
208 GetDataQualityResultResult& WithObservations(ObservationsT&& value) { SetObservations(std::forward<ObservationsT>(value)); return *this;}
209 template<typename ObservationsT = DataQualityObservation>
210 GetDataQualityResultResult& AddObservations(ObservationsT&& value) { m_observationsHasBeenSet = true; m_observations.emplace_back(std::forward<ObservationsT>(value)); return *this; }
212
214
219 inline const DataQualityAggregatedMetrics& GetAggregatedMetrics() const { return m_aggregatedMetrics; }
220 template<typename AggregatedMetricsT = DataQualityAggregatedMetrics>
221 void SetAggregatedMetrics(AggregatedMetricsT&& value) { m_aggregatedMetricsHasBeenSet = true; m_aggregatedMetrics = std::forward<AggregatedMetricsT>(value); }
222 template<typename AggregatedMetricsT = DataQualityAggregatedMetrics>
223 GetDataQualityResultResult& WithAggregatedMetrics(AggregatedMetricsT&& value) { SetAggregatedMetrics(std::forward<AggregatedMetricsT>(value)); return *this;}
225
227
228 inline const Aws::String& GetRequestId() const { return m_requestId; }
229 template<typename RequestIdT = Aws::String>
230 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
231 template<typename RequestIdT = Aws::String>
232 GetDataQualityResultResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
234 private:
235
236 Aws::String m_resultId;
237 bool m_resultIdHasBeenSet = false;
238
239 Aws::String m_profileId;
240 bool m_profileIdHasBeenSet = false;
241
242 double m_score{0.0};
243 bool m_scoreHasBeenSet = false;
244
245 DataSource m_dataSource;
246 bool m_dataSourceHasBeenSet = false;
247
248 Aws::String m_rulesetName;
249 bool m_rulesetNameHasBeenSet = false;
250
251 Aws::String m_evaluationContext;
252 bool m_evaluationContextHasBeenSet = false;
253
254 Aws::Utils::DateTime m_startedOn{};
255 bool m_startedOnHasBeenSet = false;
256
257 Aws::Utils::DateTime m_completedOn{};
258 bool m_completedOnHasBeenSet = false;
259
260 Aws::String m_jobName;
261 bool m_jobNameHasBeenSet = false;
262
263 Aws::String m_jobRunId;
264 bool m_jobRunIdHasBeenSet = false;
265
266 Aws::String m_rulesetEvaluationRunId;
267 bool m_rulesetEvaluationRunIdHasBeenSet = false;
268
270 bool m_ruleResultsHasBeenSet = false;
271
273 bool m_analyzerResultsHasBeenSet = false;
274
276 bool m_observationsHasBeenSet = false;
277
278 DataQualityAggregatedMetrics m_aggregatedMetrics;
279 bool m_aggregatedMetricsHasBeenSet = false;
280
281 Aws::String m_requestId;
282 bool m_requestIdHasBeenSet = false;
283 };
284
285} // namespace Model
286} // namespace Glue
287} // 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