AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataQualityResult.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/DataQualityRuleResult.h>
13#include <aws/glue/model/DataQualityAnalyzerResult.h>
14#include <aws/glue/model/DataQualityObservation.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Glue
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_GLUE_API DataQualityResult();
44
45
47
50 inline const Aws::String& GetResultId() const{ return m_resultId; }
51 inline bool ResultIdHasBeenSet() const { return m_resultIdHasBeenSet; }
52 inline void SetResultId(const Aws::String& value) { m_resultIdHasBeenSet = true; m_resultId = value; }
53 inline void SetResultId(Aws::String&& value) { m_resultIdHasBeenSet = true; m_resultId = std::move(value); }
54 inline void SetResultId(const char* value) { m_resultIdHasBeenSet = true; m_resultId.assign(value); }
55 inline DataQualityResult& WithResultId(const Aws::String& value) { SetResultId(value); return *this;}
56 inline DataQualityResult& WithResultId(Aws::String&& value) { SetResultId(std::move(value)); return *this;}
57 inline DataQualityResult& WithResultId(const char* value) { SetResultId(value); return *this;}
59
61
64 inline const Aws::String& GetProfileId() const{ return m_profileId; }
65 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
66 inline void SetProfileId(const Aws::String& value) { m_profileIdHasBeenSet = true; m_profileId = value; }
67 inline void SetProfileId(Aws::String&& value) { m_profileIdHasBeenSet = true; m_profileId = std::move(value); }
68 inline void SetProfileId(const char* value) { m_profileIdHasBeenSet = true; m_profileId.assign(value); }
69 inline DataQualityResult& WithProfileId(const Aws::String& value) { SetProfileId(value); return *this;}
70 inline DataQualityResult& WithProfileId(Aws::String&& value) { SetProfileId(std::move(value)); return *this;}
71 inline DataQualityResult& WithProfileId(const char* value) { SetProfileId(value); return *this;}
73
75
79 inline double GetScore() const{ return m_score; }
80 inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; }
81 inline void SetScore(double value) { m_scoreHasBeenSet = true; m_score = value; }
82 inline DataQualityResult& WithScore(double value) { SetScore(value); return *this;}
84
86
89 inline const DataSource& GetDataSource() const{ return m_dataSource; }
90 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
91 inline void SetDataSource(const DataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
92 inline void SetDataSource(DataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
93 inline DataQualityResult& WithDataSource(const DataSource& value) { SetDataSource(value); return *this;}
94 inline DataQualityResult& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;}
96
98
101 inline const Aws::String& GetRulesetName() const{ return m_rulesetName; }
102 inline bool RulesetNameHasBeenSet() const { return m_rulesetNameHasBeenSet; }
103 inline void SetRulesetName(const Aws::String& value) { m_rulesetNameHasBeenSet = true; m_rulesetName = value; }
104 inline void SetRulesetName(Aws::String&& value) { m_rulesetNameHasBeenSet = true; m_rulesetName = std::move(value); }
105 inline void SetRulesetName(const char* value) { m_rulesetNameHasBeenSet = true; m_rulesetName.assign(value); }
106 inline DataQualityResult& WithRulesetName(const Aws::String& value) { SetRulesetName(value); return *this;}
107 inline DataQualityResult& WithRulesetName(Aws::String&& value) { SetRulesetName(std::move(value)); return *this;}
108 inline DataQualityResult& WithRulesetName(const char* value) { SetRulesetName(value); return *this;}
110
112
118 inline const Aws::String& GetEvaluationContext() const{ return m_evaluationContext; }
119 inline bool EvaluationContextHasBeenSet() const { return m_evaluationContextHasBeenSet; }
120 inline void SetEvaluationContext(const Aws::String& value) { m_evaluationContextHasBeenSet = true; m_evaluationContext = value; }
121 inline void SetEvaluationContext(Aws::String&& value) { m_evaluationContextHasBeenSet = true; m_evaluationContext = std::move(value); }
122 inline void SetEvaluationContext(const char* value) { m_evaluationContextHasBeenSet = true; m_evaluationContext.assign(value); }
123 inline DataQualityResult& WithEvaluationContext(const Aws::String& value) { SetEvaluationContext(value); return *this;}
124 inline DataQualityResult& WithEvaluationContext(Aws::String&& value) { SetEvaluationContext(std::move(value)); return *this;}
125 inline DataQualityResult& WithEvaluationContext(const char* value) { SetEvaluationContext(value); return *this;}
127
129
132 inline const Aws::Utils::DateTime& GetStartedOn() const{ return m_startedOn; }
133 inline bool StartedOnHasBeenSet() const { return m_startedOnHasBeenSet; }
134 inline void SetStartedOn(const Aws::Utils::DateTime& value) { m_startedOnHasBeenSet = true; m_startedOn = value; }
135 inline void SetStartedOn(Aws::Utils::DateTime&& value) { m_startedOnHasBeenSet = true; m_startedOn = std::move(value); }
136 inline DataQualityResult& WithStartedOn(const Aws::Utils::DateTime& value) { SetStartedOn(value); return *this;}
137 inline DataQualityResult& WithStartedOn(Aws::Utils::DateTime&& value) { SetStartedOn(std::move(value)); return *this;}
139
141
144 inline const Aws::Utils::DateTime& GetCompletedOn() const{ return m_completedOn; }
145 inline bool CompletedOnHasBeenSet() const { return m_completedOnHasBeenSet; }
146 inline void SetCompletedOn(const Aws::Utils::DateTime& value) { m_completedOnHasBeenSet = true; m_completedOn = value; }
147 inline void SetCompletedOn(Aws::Utils::DateTime&& value) { m_completedOnHasBeenSet = true; m_completedOn = std::move(value); }
148 inline DataQualityResult& WithCompletedOn(const Aws::Utils::DateTime& value) { SetCompletedOn(value); return *this;}
149 inline DataQualityResult& WithCompletedOn(Aws::Utils::DateTime&& value) { SetCompletedOn(std::move(value)); return *this;}
151
153
156 inline const Aws::String& GetJobName() const{ return m_jobName; }
157 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
158 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
159 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
160 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
161 inline DataQualityResult& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
162 inline DataQualityResult& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
163 inline DataQualityResult& WithJobName(const char* value) { SetJobName(value); return *this;}
165
167
170 inline const Aws::String& GetJobRunId() const{ return m_jobRunId; }
171 inline bool JobRunIdHasBeenSet() const { return m_jobRunIdHasBeenSet; }
172 inline void SetJobRunId(const Aws::String& value) { m_jobRunIdHasBeenSet = true; m_jobRunId = value; }
173 inline void SetJobRunId(Aws::String&& value) { m_jobRunIdHasBeenSet = true; m_jobRunId = std::move(value); }
174 inline void SetJobRunId(const char* value) { m_jobRunIdHasBeenSet = true; m_jobRunId.assign(value); }
175 inline DataQualityResult& WithJobRunId(const Aws::String& value) { SetJobRunId(value); return *this;}
176 inline DataQualityResult& WithJobRunId(Aws::String&& value) { SetJobRunId(std::move(value)); return *this;}
177 inline DataQualityResult& WithJobRunId(const char* value) { SetJobRunId(value); return *this;}
179
181
185 inline const Aws::String& GetRulesetEvaluationRunId() const{ return m_rulesetEvaluationRunId; }
186 inline bool RulesetEvaluationRunIdHasBeenSet() const { return m_rulesetEvaluationRunIdHasBeenSet; }
187 inline void SetRulesetEvaluationRunId(const Aws::String& value) { m_rulesetEvaluationRunIdHasBeenSet = true; m_rulesetEvaluationRunId = value; }
188 inline void SetRulesetEvaluationRunId(Aws::String&& value) { m_rulesetEvaluationRunIdHasBeenSet = true; m_rulesetEvaluationRunId = std::move(value); }
189 inline void SetRulesetEvaluationRunId(const char* value) { m_rulesetEvaluationRunIdHasBeenSet = true; m_rulesetEvaluationRunId.assign(value); }
191 inline DataQualityResult& WithRulesetEvaluationRunId(Aws::String&& value) { SetRulesetEvaluationRunId(std::move(value)); return *this;}
192 inline DataQualityResult& WithRulesetEvaluationRunId(const char* value) { SetRulesetEvaluationRunId(value); return *this;}
194
196
200 inline const Aws::Vector<DataQualityRuleResult>& GetRuleResults() const{ return m_ruleResults; }
201 inline bool RuleResultsHasBeenSet() const { return m_ruleResultsHasBeenSet; }
202 inline void SetRuleResults(const Aws::Vector<DataQualityRuleResult>& value) { m_ruleResultsHasBeenSet = true; m_ruleResults = value; }
203 inline void SetRuleResults(Aws::Vector<DataQualityRuleResult>&& value) { m_ruleResultsHasBeenSet = true; m_ruleResults = std::move(value); }
205 inline DataQualityResult& WithRuleResults(Aws::Vector<DataQualityRuleResult>&& value) { SetRuleResults(std::move(value)); return *this;}
206 inline DataQualityResult& AddRuleResults(const DataQualityRuleResult& value) { m_ruleResultsHasBeenSet = true; m_ruleResults.push_back(value); return *this; }
207 inline DataQualityResult& AddRuleResults(DataQualityRuleResult&& value) { m_ruleResultsHasBeenSet = true; m_ruleResults.push_back(std::move(value)); return *this; }
209
211
215 inline const Aws::Vector<DataQualityAnalyzerResult>& GetAnalyzerResults() const{ return m_analyzerResults; }
216 inline bool AnalyzerResultsHasBeenSet() const { return m_analyzerResultsHasBeenSet; }
217 inline void SetAnalyzerResults(const Aws::Vector<DataQualityAnalyzerResult>& value) { m_analyzerResultsHasBeenSet = true; m_analyzerResults = value; }
218 inline void SetAnalyzerResults(Aws::Vector<DataQualityAnalyzerResult>&& value) { m_analyzerResultsHasBeenSet = true; m_analyzerResults = std::move(value); }
221 inline DataQualityResult& AddAnalyzerResults(const DataQualityAnalyzerResult& value) { m_analyzerResultsHasBeenSet = true; m_analyzerResults.push_back(value); return *this; }
222 inline DataQualityResult& AddAnalyzerResults(DataQualityAnalyzerResult&& value) { m_analyzerResultsHasBeenSet = true; m_analyzerResults.push_back(std::move(value)); return *this; }
224
226
230 inline const Aws::Vector<DataQualityObservation>& GetObservations() const{ return m_observations; }
231 inline bool ObservationsHasBeenSet() const { return m_observationsHasBeenSet; }
232 inline void SetObservations(const Aws::Vector<DataQualityObservation>& value) { m_observationsHasBeenSet = true; m_observations = value; }
233 inline void SetObservations(Aws::Vector<DataQualityObservation>&& value) { m_observationsHasBeenSet = true; m_observations = std::move(value); }
236 inline DataQualityResult& AddObservations(const DataQualityObservation& value) { m_observationsHasBeenSet = true; m_observations.push_back(value); return *this; }
237 inline DataQualityResult& AddObservations(DataQualityObservation&& value) { m_observationsHasBeenSet = true; m_observations.push_back(std::move(value)); return *this; }
239 private:
240
241 Aws::String m_resultId;
242 bool m_resultIdHasBeenSet = false;
243
244 Aws::String m_profileId;
245 bool m_profileIdHasBeenSet = false;
246
247 double m_score;
248 bool m_scoreHasBeenSet = false;
249
250 DataSource m_dataSource;
251 bool m_dataSourceHasBeenSet = false;
252
253 Aws::String m_rulesetName;
254 bool m_rulesetNameHasBeenSet = false;
255
256 Aws::String m_evaluationContext;
257 bool m_evaluationContextHasBeenSet = false;
258
259 Aws::Utils::DateTime m_startedOn;
260 bool m_startedOnHasBeenSet = false;
261
262 Aws::Utils::DateTime m_completedOn;
263 bool m_completedOnHasBeenSet = false;
264
265 Aws::String m_jobName;
266 bool m_jobNameHasBeenSet = false;
267
268 Aws::String m_jobRunId;
269 bool m_jobRunIdHasBeenSet = false;
270
271 Aws::String m_rulesetEvaluationRunId;
272 bool m_rulesetEvaluationRunIdHasBeenSet = false;
273
275 bool m_ruleResultsHasBeenSet = false;
276
278 bool m_analyzerResultsHasBeenSet = false;
279
281 bool m_observationsHasBeenSet = false;
282 };
283
284} // namespace Model
285} // namespace Glue
286} // namespace Aws
void SetRulesetEvaluationRunId(const Aws::String &value)
const Aws::String & GetProfileId() const
DataQualityResult & WithRuleResults(const Aws::Vector< DataQualityRuleResult > &value)
const Aws::String & GetRulesetEvaluationRunId() const
const Aws::Vector< DataQualityObservation > & GetObservations() const
DataQualityResult & AddRuleResults(const DataQualityRuleResult &value)
DataQualityResult & WithStartedOn(const Aws::Utils::DateTime &value)
DataQualityResult & WithStartedOn(Aws::Utils::DateTime &&value)
DataQualityResult & WithJobName(const char *value)
void SetAnalyzerResults(Aws::Vector< DataQualityAnalyzerResult > &&value)
DataQualityResult & WithRulesetName(const char *value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
DataQualityResult & WithJobRunId(const Aws::String &value)
void SetEvaluationContext(const char *value)
DataQualityResult & WithResultId(const Aws::String &value)
const Aws::String & GetRulesetName() const
DataQualityResult & WithRulesetName(const Aws::String &value)
DataQualityResult & WithObservations(const Aws::Vector< DataQualityObservation > &value)
void SetRulesetEvaluationRunId(Aws::String &&value)
DataQualityResult & WithResultId(Aws::String &&value)
DataQualityResult & WithAnalyzerResults(Aws::Vector< DataQualityAnalyzerResult > &&value)
void SetRuleResults(Aws::Vector< DataQualityRuleResult > &&value)
DataQualityResult & WithAnalyzerResults(const Aws::Vector< DataQualityAnalyzerResult > &value)
const Aws::String & GetJobName() const
DataQualityResult & AddRuleResults(DataQualityRuleResult &&value)
DataQualityResult & WithEvaluationContext(const Aws::String &value)
DataQualityResult & WithEvaluationContext(const char *value)
const DataSource & GetDataSource() const
DataQualityResult & WithProfileId(Aws::String &&value)
void SetProfileId(Aws::String &&value)
DataQualityResult & WithCompletedOn(const Aws::Utils::DateTime &value)
DataQualityResult & WithProfileId(const Aws::String &value)
DataQualityResult & WithJobName(Aws::String &&value)
DataQualityResult & WithCompletedOn(Aws::Utils::DateTime &&value)
void SetRulesetEvaluationRunId(const char *value)
DataQualityResult & WithScore(double value)
DataQualityResult & WithJobRunId(Aws::String &&value)
void SetProfileId(const Aws::String &value)
const Aws::Utils::DateTime & GetCompletedOn() const
void SetCompletedOn(Aws::Utils::DateTime &&value)
DataQualityResult & WithObservations(Aws::Vector< DataQualityObservation > &&value)
void SetRulesetName(Aws::String &&value)
const Aws::String & GetEvaluationContext() const
DataQualityResult & AddAnalyzerResults(const DataQualityAnalyzerResult &value)
const Aws::Utils::DateTime & GetStartedOn() const
DataQualityResult & WithRulesetEvaluationRunId(Aws::String &&value)
DataQualityResult & AddObservations(DataQualityObservation &&value)
void SetStartedOn(Aws::Utils::DateTime &&value)
DataQualityResult & WithJobName(const Aws::String &value)
DataQualityResult & AddAnalyzerResults(DataQualityAnalyzerResult &&value)
void SetResultId(const Aws::String &value)
DataQualityResult & AddObservations(const DataQualityObservation &value)
DataQualityResult & WithProfileId(const char *value)
const Aws::String & GetResultId() const
void SetRuleResults(const Aws::Vector< DataQualityRuleResult > &value)
DataQualityResult & WithRulesetEvaluationRunId(const char *value)
DataQualityResult & WithRulesetEvaluationRunId(const Aws::String &value)
DataQualityResult & WithRuleResults(Aws::Vector< DataQualityRuleResult > &&value)
void SetDataSource(const DataSource &value)
const Aws::Vector< DataQualityRuleResult > & GetRuleResults() const
void SetEvaluationContext(Aws::String &&value)
const Aws::Vector< DataQualityAnalyzerResult > & GetAnalyzerResults() const
void SetObservations(Aws::Vector< DataQualityObservation > &&value)
void SetStartedOn(const Aws::Utils::DateTime &value)
AWS_GLUE_API DataQualityResult & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResultId(Aws::String &&value)
void SetEvaluationContext(const Aws::String &value)
void SetCompletedOn(const Aws::Utils::DateTime &value)
DataQualityResult & WithDataSource(DataSource &&value)
void SetDataSource(DataSource &&value)
void SetJobRunId(const Aws::String &value)
void SetObservations(const Aws::Vector< DataQualityObservation > &value)
DataQualityResult & WithEvaluationContext(Aws::String &&value)
void SetJobRunId(Aws::String &&value)
DataQualityResult & WithRulesetName(Aws::String &&value)
void SetJobName(Aws::String &&value)
AWS_GLUE_API DataQualityResult(Aws::Utils::Json::JsonView jsonValue)
void SetRulesetName(const Aws::String &value)
DataQualityResult & WithResultId(const char *value)
const Aws::String & GetJobRunId() const
DataQualityResult & WithDataSource(const DataSource &value)
DataQualityResult & WithJobRunId(const char *value)
void SetAnalyzerResults(const Aws::Vector< DataQualityAnalyzerResult > &value)
void SetJobName(const Aws::String &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