AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeJobRunResult.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/databrew/model/ProfileConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/databrew/model/JobRunState.h>
13#include <aws/databrew/model/LogSubscription.h>
14#include <aws/databrew/model/RecipeReference.h>
15#include <aws/databrew/model/JobSample.h>
16#include <aws/databrew/model/ValidationConfiguration.h>
17#include <aws/databrew/model/Output.h>
18#include <aws/databrew/model/DataCatalogOutput.h>
19#include <aws/databrew/model/DatabaseOutput.h>
20#include <utility>
21
22namespace Aws
23{
24template<typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils
28{
29namespace Json
30{
31 class JsonValue;
32} // namespace Json
33} // namespace Utils
34namespace GlueDataBrew
35{
36namespace Model
37{
39 {
40 public:
41 AWS_GLUEDATABREW_API DescribeJobRunResult() = default;
44
45
47
50 inline int GetAttempt() const { return m_attempt; }
51 inline void SetAttempt(int value) { m_attemptHasBeenSet = true; m_attempt = value; }
52 inline DescribeJobRunResult& WithAttempt(int value) { SetAttempt(value); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetCompletedOn() const { return m_completedOn; }
60 template<typename CompletedOnT = Aws::Utils::DateTime>
61 void SetCompletedOn(CompletedOnT&& value) { m_completedOnHasBeenSet = true; m_completedOn = std::forward<CompletedOnT>(value); }
62 template<typename CompletedOnT = Aws::Utils::DateTime>
63 DescribeJobRunResult& WithCompletedOn(CompletedOnT&& value) { SetCompletedOn(std::forward<CompletedOnT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDatasetName() const { return m_datasetName; }
71 template<typename DatasetNameT = Aws::String>
72 void SetDatasetName(DatasetNameT&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::forward<DatasetNameT>(value); }
73 template<typename DatasetNameT = Aws::String>
74 DescribeJobRunResult& WithDatasetName(DatasetNameT&& value) { SetDatasetName(std::forward<DatasetNameT>(value)); return *this;}
76
78
82 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
83 template<typename ErrorMessageT = Aws::String>
84 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
85 template<typename ErrorMessageT = Aws::String>
86 DescribeJobRunResult& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
88
90
94 inline int GetExecutionTime() const { return m_executionTime; }
95 inline void SetExecutionTime(int value) { m_executionTimeHasBeenSet = true; m_executionTime = value; }
96 inline DescribeJobRunResult& WithExecutionTime(int value) { SetExecutionTime(value); return *this;}
98
100
103 inline const Aws::String& GetJobName() const { return m_jobName; }
104 template<typename JobNameT = Aws::String>
105 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
106 template<typename JobNameT = Aws::String>
107 DescribeJobRunResult& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
109
111
116 inline const ProfileConfiguration& GetProfileConfiguration() const { return m_profileConfiguration; }
117 template<typename ProfileConfigurationT = ProfileConfiguration>
118 void SetProfileConfiguration(ProfileConfigurationT&& value) { m_profileConfigurationHasBeenSet = true; m_profileConfiguration = std::forward<ProfileConfigurationT>(value); }
119 template<typename ProfileConfigurationT = ProfileConfiguration>
120 DescribeJobRunResult& WithProfileConfiguration(ProfileConfigurationT&& value) { SetProfileConfiguration(std::forward<ProfileConfigurationT>(value)); return *this;}
122
124
127 inline const Aws::Vector<ValidationConfiguration>& GetValidationConfigurations() const { return m_validationConfigurations; }
128 template<typename ValidationConfigurationsT = Aws::Vector<ValidationConfiguration>>
129 void SetValidationConfigurations(ValidationConfigurationsT&& value) { m_validationConfigurationsHasBeenSet = true; m_validationConfigurations = std::forward<ValidationConfigurationsT>(value); }
130 template<typename ValidationConfigurationsT = Aws::Vector<ValidationConfiguration>>
131 DescribeJobRunResult& WithValidationConfigurations(ValidationConfigurationsT&& value) { SetValidationConfigurations(std::forward<ValidationConfigurationsT>(value)); return *this;}
132 template<typename ValidationConfigurationsT = ValidationConfiguration>
133 DescribeJobRunResult& AddValidationConfigurations(ValidationConfigurationsT&& value) { m_validationConfigurationsHasBeenSet = true; m_validationConfigurations.emplace_back(std::forward<ValidationConfigurationsT>(value)); return *this; }
135
137
140 inline const Aws::String& GetRunId() const { return m_runId; }
141 template<typename RunIdT = Aws::String>
142 void SetRunId(RunIdT&& value) { m_runIdHasBeenSet = true; m_runId = std::forward<RunIdT>(value); }
143 template<typename RunIdT = Aws::String>
144 DescribeJobRunResult& WithRunId(RunIdT&& value) { SetRunId(std::forward<RunIdT>(value)); return *this;}
146
148
151 inline JobRunState GetState() const { return m_state; }
152 inline void SetState(JobRunState value) { m_stateHasBeenSet = true; m_state = value; }
153 inline DescribeJobRunResult& WithState(JobRunState value) { SetState(value); return *this;}
155
157
160 inline LogSubscription GetLogSubscription() const { return m_logSubscription; }
161 inline void SetLogSubscription(LogSubscription value) { m_logSubscriptionHasBeenSet = true; m_logSubscription = value; }
164
166
170 inline const Aws::String& GetLogGroupName() const { return m_logGroupName; }
171 template<typename LogGroupNameT = Aws::String>
172 void SetLogGroupName(LogGroupNameT&& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = std::forward<LogGroupNameT>(value); }
173 template<typename LogGroupNameT = Aws::String>
174 DescribeJobRunResult& WithLogGroupName(LogGroupNameT&& value) { SetLogGroupName(std::forward<LogGroupNameT>(value)); return *this;}
176
178
181 inline const Aws::Vector<Output>& GetOutputs() const { return m_outputs; }
182 template<typename OutputsT = Aws::Vector<Output>>
183 void SetOutputs(OutputsT&& value) { m_outputsHasBeenSet = true; m_outputs = std::forward<OutputsT>(value); }
184 template<typename OutputsT = Aws::Vector<Output>>
185 DescribeJobRunResult& WithOutputs(OutputsT&& value) { SetOutputs(std::forward<OutputsT>(value)); return *this;}
186 template<typename OutputsT = Output>
187 DescribeJobRunResult& AddOutputs(OutputsT&& value) { m_outputsHasBeenSet = true; m_outputs.emplace_back(std::forward<OutputsT>(value)); return *this; }
189
191
195 inline const Aws::Vector<DataCatalogOutput>& GetDataCatalogOutputs() const { return m_dataCatalogOutputs; }
196 template<typename DataCatalogOutputsT = Aws::Vector<DataCatalogOutput>>
197 void SetDataCatalogOutputs(DataCatalogOutputsT&& value) { m_dataCatalogOutputsHasBeenSet = true; m_dataCatalogOutputs = std::forward<DataCatalogOutputsT>(value); }
198 template<typename DataCatalogOutputsT = Aws::Vector<DataCatalogOutput>>
199 DescribeJobRunResult& WithDataCatalogOutputs(DataCatalogOutputsT&& value) { SetDataCatalogOutputs(std::forward<DataCatalogOutputsT>(value)); return *this;}
200 template<typename DataCatalogOutputsT = DataCatalogOutput>
201 DescribeJobRunResult& AddDataCatalogOutputs(DataCatalogOutputsT&& value) { m_dataCatalogOutputsHasBeenSet = true; m_dataCatalogOutputs.emplace_back(std::forward<DataCatalogOutputsT>(value)); return *this; }
203
205
209 inline const Aws::Vector<DatabaseOutput>& GetDatabaseOutputs() const { return m_databaseOutputs; }
210 template<typename DatabaseOutputsT = Aws::Vector<DatabaseOutput>>
211 void SetDatabaseOutputs(DatabaseOutputsT&& value) { m_databaseOutputsHasBeenSet = true; m_databaseOutputs = std::forward<DatabaseOutputsT>(value); }
212 template<typename DatabaseOutputsT = Aws::Vector<DatabaseOutput>>
213 DescribeJobRunResult& WithDatabaseOutputs(DatabaseOutputsT&& value) { SetDatabaseOutputs(std::forward<DatabaseOutputsT>(value)); return *this;}
214 template<typename DatabaseOutputsT = DatabaseOutput>
215 DescribeJobRunResult& AddDatabaseOutputs(DatabaseOutputsT&& value) { m_databaseOutputsHasBeenSet = true; m_databaseOutputs.emplace_back(std::forward<DatabaseOutputsT>(value)); return *this; }
217
219
220 inline const RecipeReference& GetRecipeReference() const { return m_recipeReference; }
221 template<typename RecipeReferenceT = RecipeReference>
222 void SetRecipeReference(RecipeReferenceT&& value) { m_recipeReferenceHasBeenSet = true; m_recipeReference = std::forward<RecipeReferenceT>(value); }
223 template<typename RecipeReferenceT = RecipeReference>
224 DescribeJobRunResult& WithRecipeReference(RecipeReferenceT&& value) { SetRecipeReference(std::forward<RecipeReferenceT>(value)); return *this;}
226
228
231 inline const Aws::String& GetStartedBy() const { return m_startedBy; }
232 template<typename StartedByT = Aws::String>
233 void SetStartedBy(StartedByT&& value) { m_startedByHasBeenSet = true; m_startedBy = std::forward<StartedByT>(value); }
234 template<typename StartedByT = Aws::String>
235 DescribeJobRunResult& WithStartedBy(StartedByT&& value) { SetStartedBy(std::forward<StartedByT>(value)); return *this;}
237
239
242 inline const Aws::Utils::DateTime& GetStartedOn() const { return m_startedOn; }
243 template<typename StartedOnT = Aws::Utils::DateTime>
244 void SetStartedOn(StartedOnT&& value) { m_startedOnHasBeenSet = true; m_startedOn = std::forward<StartedOnT>(value); }
245 template<typename StartedOnT = Aws::Utils::DateTime>
246 DescribeJobRunResult& WithStartedOn(StartedOnT&& value) { SetStartedOn(std::forward<StartedOnT>(value)); return *this;}
248
250
256 inline const JobSample& GetJobSample() const { return m_jobSample; }
257 template<typename JobSampleT = JobSample>
258 void SetJobSample(JobSampleT&& value) { m_jobSampleHasBeenSet = true; m_jobSample = std::forward<JobSampleT>(value); }
259 template<typename JobSampleT = JobSample>
260 DescribeJobRunResult& WithJobSample(JobSampleT&& value) { SetJobSample(std::forward<JobSampleT>(value)); return *this;}
262
264
265 inline const Aws::String& GetRequestId() const { return m_requestId; }
266 template<typename RequestIdT = Aws::String>
267 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
268 template<typename RequestIdT = Aws::String>
269 DescribeJobRunResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
271 private:
272
273 int m_attempt{0};
274 bool m_attemptHasBeenSet = false;
275
276 Aws::Utils::DateTime m_completedOn{};
277 bool m_completedOnHasBeenSet = false;
278
279 Aws::String m_datasetName;
280 bool m_datasetNameHasBeenSet = false;
281
282 Aws::String m_errorMessage;
283 bool m_errorMessageHasBeenSet = false;
284
285 int m_executionTime{0};
286 bool m_executionTimeHasBeenSet = false;
287
288 Aws::String m_jobName;
289 bool m_jobNameHasBeenSet = false;
290
291 ProfileConfiguration m_profileConfiguration;
292 bool m_profileConfigurationHasBeenSet = false;
293
294 Aws::Vector<ValidationConfiguration> m_validationConfigurations;
295 bool m_validationConfigurationsHasBeenSet = false;
296
297 Aws::String m_runId;
298 bool m_runIdHasBeenSet = false;
299
301 bool m_stateHasBeenSet = false;
302
303 LogSubscription m_logSubscription{LogSubscription::NOT_SET};
304 bool m_logSubscriptionHasBeenSet = false;
305
306 Aws::String m_logGroupName;
307 bool m_logGroupNameHasBeenSet = false;
308
309 Aws::Vector<Output> m_outputs;
310 bool m_outputsHasBeenSet = false;
311
312 Aws::Vector<DataCatalogOutput> m_dataCatalogOutputs;
313 bool m_dataCatalogOutputsHasBeenSet = false;
314
315 Aws::Vector<DatabaseOutput> m_databaseOutputs;
316 bool m_databaseOutputsHasBeenSet = false;
317
318 RecipeReference m_recipeReference;
319 bool m_recipeReferenceHasBeenSet = false;
320
321 Aws::String m_startedBy;
322 bool m_startedByHasBeenSet = false;
323
324 Aws::Utils::DateTime m_startedOn{};
325 bool m_startedOnHasBeenSet = false;
326
327 JobSample m_jobSample;
328 bool m_jobSampleHasBeenSet = false;
329
330 Aws::String m_requestId;
331 bool m_requestIdHasBeenSet = false;
332 };
333
334} // namespace Model
335} // namespace GlueDataBrew
336} // namespace Aws
DescribeJobRunResult & WithLogGroupName(LogGroupNameT &&value)
AWS_GLUEDATABREW_API DescribeJobRunResult()=default
DescribeJobRunResult & WithProfileConfiguration(ProfileConfigurationT &&value)
const Aws::Vector< ValidationConfiguration > & GetValidationConfigurations() const
DescribeJobRunResult & WithErrorMessage(ErrorMessageT &&value)
void SetValidationConfigurations(ValidationConfigurationsT &&value)
DescribeJobRunResult & AddDatabaseOutputs(DatabaseOutputsT &&value)
DescribeJobRunResult & WithRequestId(RequestIdT &&value)
DescribeJobRunResult & WithCompletedOn(CompletedOnT &&value)
DescribeJobRunResult & WithDatasetName(DatasetNameT &&value)
void SetDataCatalogOutputs(DataCatalogOutputsT &&value)
DescribeJobRunResult & WithStartedOn(StartedOnT &&value)
DescribeJobRunResult & WithRunId(RunIdT &&value)
const Aws::Vector< Output > & GetOutputs() const
DescribeJobRunResult & WithDataCatalogOutputs(DataCatalogOutputsT &&value)
DescribeJobRunResult & WithState(JobRunState value)
DescribeJobRunResult & WithStartedBy(StartedByT &&value)
const Aws::Vector< DataCatalogOutput > & GetDataCatalogOutputs() const
DescribeJobRunResult & AddOutputs(OutputsT &&value)
const ProfileConfiguration & GetProfileConfiguration() const
AWS_GLUEDATABREW_API DescribeJobRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeJobRunResult & WithDatabaseOutputs(DatabaseOutputsT &&value)
DescribeJobRunResult & WithLogSubscription(LogSubscription value)
DescribeJobRunResult & WithExecutionTime(int value)
DescribeJobRunResult & WithOutputs(OutputsT &&value)
DescribeJobRunResult & WithValidationConfigurations(ValidationConfigurationsT &&value)
const Aws::Vector< DatabaseOutput > & GetDatabaseOutputs() const
void SetProfileConfiguration(ProfileConfigurationT &&value)
AWS_GLUEDATABREW_API DescribeJobRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeJobRunResult & AddValidationConfigurations(ValidationConfigurationsT &&value)
DescribeJobRunResult & WithJobSample(JobSampleT &&value)
const Aws::Utils::DateTime & GetStartedOn() const
const Aws::Utils::DateTime & GetCompletedOn() const
DescribeJobRunResult & WithAttempt(int value)
DescribeJobRunResult & WithRecipeReference(RecipeReferenceT &&value)
DescribeJobRunResult & WithJobName(JobNameT &&value)
DescribeJobRunResult & AddDataCatalogOutputs(DataCatalogOutputsT &&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