AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
44
45
47
50 inline int GetAttempt() const{ return m_attempt; }
51 inline void SetAttempt(int value) { 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 inline void SetCompletedOn(const Aws::Utils::DateTime& value) { m_completedOn = value; }
61 inline void SetCompletedOn(Aws::Utils::DateTime&& value) { m_completedOn = std::move(value); }
62 inline DescribeJobRunResult& WithCompletedOn(const Aws::Utils::DateTime& value) { SetCompletedOn(value); return *this;}
63 inline DescribeJobRunResult& WithCompletedOn(Aws::Utils::DateTime&& value) { SetCompletedOn(std::move(value)); return *this;}
65
67
70 inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
71 inline void SetDatasetName(const Aws::String& value) { m_datasetName = value; }
72 inline void SetDatasetName(Aws::String&& value) { m_datasetName = std::move(value); }
73 inline void SetDatasetName(const char* value) { m_datasetName.assign(value); }
74 inline DescribeJobRunResult& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
75 inline DescribeJobRunResult& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
76 inline DescribeJobRunResult& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
78
80
84 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
85 inline void SetErrorMessage(const Aws::String& value) { m_errorMessage = value; }
86 inline void SetErrorMessage(Aws::String&& value) { m_errorMessage = std::move(value); }
87 inline void SetErrorMessage(const char* value) { m_errorMessage.assign(value); }
88 inline DescribeJobRunResult& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
89 inline DescribeJobRunResult& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
90 inline DescribeJobRunResult& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
92
94
98 inline int GetExecutionTime() const{ return m_executionTime; }
99 inline void SetExecutionTime(int value) { m_executionTime = value; }
100 inline DescribeJobRunResult& WithExecutionTime(int value) { SetExecutionTime(value); return *this;}
102
104
107 inline const Aws::String& GetJobName() const{ return m_jobName; }
108 inline void SetJobName(const Aws::String& value) { m_jobName = value; }
109 inline void SetJobName(Aws::String&& value) { m_jobName = std::move(value); }
110 inline void SetJobName(const char* value) { m_jobName.assign(value); }
111 inline DescribeJobRunResult& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
112 inline DescribeJobRunResult& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
113 inline DescribeJobRunResult& WithJobName(const char* value) { SetJobName(value); return *this;}
115
117
122 inline const ProfileConfiguration& GetProfileConfiguration() const{ return m_profileConfiguration; }
123 inline void SetProfileConfiguration(const ProfileConfiguration& value) { m_profileConfiguration = value; }
124 inline void SetProfileConfiguration(ProfileConfiguration&& value) { m_profileConfiguration = std::move(value); }
128
130
133 inline const Aws::Vector<ValidationConfiguration>& GetValidationConfigurations() const{ return m_validationConfigurations; }
134 inline void SetValidationConfigurations(const Aws::Vector<ValidationConfiguration>& value) { m_validationConfigurations = value; }
135 inline void SetValidationConfigurations(Aws::Vector<ValidationConfiguration>&& value) { m_validationConfigurations = std::move(value); }
138 inline DescribeJobRunResult& AddValidationConfigurations(const ValidationConfiguration& value) { m_validationConfigurations.push_back(value); return *this; }
139 inline DescribeJobRunResult& AddValidationConfigurations(ValidationConfiguration&& value) { m_validationConfigurations.push_back(std::move(value)); return *this; }
141
143
146 inline const Aws::String& GetRunId() const{ return m_runId; }
147 inline void SetRunId(const Aws::String& value) { m_runId = value; }
148 inline void SetRunId(Aws::String&& value) { m_runId = std::move(value); }
149 inline void SetRunId(const char* value) { m_runId.assign(value); }
150 inline DescribeJobRunResult& WithRunId(const Aws::String& value) { SetRunId(value); return *this;}
151 inline DescribeJobRunResult& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;}
152 inline DescribeJobRunResult& WithRunId(const char* value) { SetRunId(value); return *this;}
154
156
159 inline const JobRunState& GetState() const{ return m_state; }
160 inline void SetState(const JobRunState& value) { m_state = value; }
161 inline void SetState(JobRunState&& value) { m_state = std::move(value); }
162 inline DescribeJobRunResult& WithState(const JobRunState& value) { SetState(value); return *this;}
163 inline DescribeJobRunResult& WithState(JobRunState&& value) { SetState(std::move(value)); return *this;}
165
167
170 inline const LogSubscription& GetLogSubscription() const{ return m_logSubscription; }
171 inline void SetLogSubscription(const LogSubscription& value) { m_logSubscription = value; }
172 inline void SetLogSubscription(LogSubscription&& value) { m_logSubscription = std::move(value); }
173 inline DescribeJobRunResult& WithLogSubscription(const LogSubscription& value) { SetLogSubscription(value); return *this;}
174 inline DescribeJobRunResult& WithLogSubscription(LogSubscription&& value) { SetLogSubscription(std::move(value)); return *this;}
176
178
182 inline const Aws::String& GetLogGroupName() const{ return m_logGroupName; }
183 inline void SetLogGroupName(const Aws::String& value) { m_logGroupName = value; }
184 inline void SetLogGroupName(Aws::String&& value) { m_logGroupName = std::move(value); }
185 inline void SetLogGroupName(const char* value) { m_logGroupName.assign(value); }
186 inline DescribeJobRunResult& WithLogGroupName(const Aws::String& value) { SetLogGroupName(value); return *this;}
187 inline DescribeJobRunResult& WithLogGroupName(Aws::String&& value) { SetLogGroupName(std::move(value)); return *this;}
188 inline DescribeJobRunResult& WithLogGroupName(const char* value) { SetLogGroupName(value); return *this;}
190
192
195 inline const Aws::Vector<Output>& GetOutputs() const{ return m_outputs; }
196 inline void SetOutputs(const Aws::Vector<Output>& value) { m_outputs = value; }
197 inline void SetOutputs(Aws::Vector<Output>&& value) { m_outputs = std::move(value); }
198 inline DescribeJobRunResult& WithOutputs(const Aws::Vector<Output>& value) { SetOutputs(value); return *this;}
199 inline DescribeJobRunResult& WithOutputs(Aws::Vector<Output>&& value) { SetOutputs(std::move(value)); return *this;}
200 inline DescribeJobRunResult& AddOutputs(const Output& value) { m_outputs.push_back(value); return *this; }
201 inline DescribeJobRunResult& AddOutputs(Output&& value) { m_outputs.push_back(std::move(value)); return *this; }
203
205
209 inline const Aws::Vector<DataCatalogOutput>& GetDataCatalogOutputs() const{ return m_dataCatalogOutputs; }
210 inline void SetDataCatalogOutputs(const Aws::Vector<DataCatalogOutput>& value) { m_dataCatalogOutputs = value; }
211 inline void SetDataCatalogOutputs(Aws::Vector<DataCatalogOutput>&& value) { m_dataCatalogOutputs = std::move(value); }
214 inline DescribeJobRunResult& AddDataCatalogOutputs(const DataCatalogOutput& value) { m_dataCatalogOutputs.push_back(value); return *this; }
215 inline DescribeJobRunResult& AddDataCatalogOutputs(DataCatalogOutput&& value) { m_dataCatalogOutputs.push_back(std::move(value)); return *this; }
217
219
223 inline const Aws::Vector<DatabaseOutput>& GetDatabaseOutputs() const{ return m_databaseOutputs; }
224 inline void SetDatabaseOutputs(const Aws::Vector<DatabaseOutput>& value) { m_databaseOutputs = value; }
225 inline void SetDatabaseOutputs(Aws::Vector<DatabaseOutput>&& value) { m_databaseOutputs = std::move(value); }
228 inline DescribeJobRunResult& AddDatabaseOutputs(const DatabaseOutput& value) { m_databaseOutputs.push_back(value); return *this; }
229 inline DescribeJobRunResult& AddDatabaseOutputs(DatabaseOutput&& value) { m_databaseOutputs.push_back(std::move(value)); return *this; }
231
233
234 inline const RecipeReference& GetRecipeReference() const{ return m_recipeReference; }
235 inline void SetRecipeReference(const RecipeReference& value) { m_recipeReference = value; }
236 inline void SetRecipeReference(RecipeReference&& value) { m_recipeReference = std::move(value); }
237 inline DescribeJobRunResult& WithRecipeReference(const RecipeReference& value) { SetRecipeReference(value); return *this;}
238 inline DescribeJobRunResult& WithRecipeReference(RecipeReference&& value) { SetRecipeReference(std::move(value)); return *this;}
240
242
245 inline const Aws::String& GetStartedBy() const{ return m_startedBy; }
246 inline void SetStartedBy(const Aws::String& value) { m_startedBy = value; }
247 inline void SetStartedBy(Aws::String&& value) { m_startedBy = std::move(value); }
248 inline void SetStartedBy(const char* value) { m_startedBy.assign(value); }
249 inline DescribeJobRunResult& WithStartedBy(const Aws::String& value) { SetStartedBy(value); return *this;}
250 inline DescribeJobRunResult& WithStartedBy(Aws::String&& value) { SetStartedBy(std::move(value)); return *this;}
251 inline DescribeJobRunResult& WithStartedBy(const char* value) { SetStartedBy(value); return *this;}
253
255
258 inline const Aws::Utils::DateTime& GetStartedOn() const{ return m_startedOn; }
259 inline void SetStartedOn(const Aws::Utils::DateTime& value) { m_startedOn = value; }
260 inline void SetStartedOn(Aws::Utils::DateTime&& value) { m_startedOn = std::move(value); }
261 inline DescribeJobRunResult& WithStartedOn(const Aws::Utils::DateTime& value) { SetStartedOn(value); return *this;}
262 inline DescribeJobRunResult& WithStartedOn(Aws::Utils::DateTime&& value) { SetStartedOn(std::move(value)); return *this;}
264
266
272 inline const JobSample& GetJobSample() const{ return m_jobSample; }
273 inline void SetJobSample(const JobSample& value) { m_jobSample = value; }
274 inline void SetJobSample(JobSample&& value) { m_jobSample = std::move(value); }
275 inline DescribeJobRunResult& WithJobSample(const JobSample& value) { SetJobSample(value); return *this;}
276 inline DescribeJobRunResult& WithJobSample(JobSample&& value) { SetJobSample(std::move(value)); return *this;}
278
280
281 inline const Aws::String& GetRequestId() const{ return m_requestId; }
282 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
283 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
284 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
285 inline DescribeJobRunResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
286 inline DescribeJobRunResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
287 inline DescribeJobRunResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
289 private:
290
291 int m_attempt;
292
293 Aws::Utils::DateTime m_completedOn;
294
295 Aws::String m_datasetName;
296
297 Aws::String m_errorMessage;
298
299 int m_executionTime;
300
301 Aws::String m_jobName;
302
303 ProfileConfiguration m_profileConfiguration;
304
305 Aws::Vector<ValidationConfiguration> m_validationConfigurations;
306
307 Aws::String m_runId;
308
309 JobRunState m_state;
310
311 LogSubscription m_logSubscription;
312
313 Aws::String m_logGroupName;
314
315 Aws::Vector<Output> m_outputs;
316
317 Aws::Vector<DataCatalogOutput> m_dataCatalogOutputs;
318
319 Aws::Vector<DatabaseOutput> m_databaseOutputs;
320
321 RecipeReference m_recipeReference;
322
323 Aws::String m_startedBy;
324
325 Aws::Utils::DateTime m_startedOn;
326
327 JobSample m_jobSample;
328
329 Aws::String m_requestId;
330 };
331
332} // namespace Model
333} // namespace GlueDataBrew
334} // namespace Aws
DescribeJobRunResult & WithDataCatalogOutputs(const Aws::Vector< DataCatalogOutput > &value)
DescribeJobRunResult & AddDataCatalogOutputs(const DataCatalogOutput &value)
DescribeJobRunResult & WithStartedBy(const char *value)
DescribeJobRunResult & WithJobName(Aws::String &&value)
DescribeJobRunResult & WithStartedOn(const Aws::Utils::DateTime &value)
DescribeJobRunResult & WithErrorMessage(const Aws::String &value)
DescribeJobRunResult & WithJobName(const char *value)
DescribeJobRunResult & WithJobSample(const JobSample &value)
DescribeJobRunResult & WithDatasetName(const Aws::String &value)
void SetValidationConfigurations(const Aws::Vector< ValidationConfiguration > &value)
DescribeJobRunResult & AddValidationConfigurations(ValidationConfiguration &&value)
void SetProfileConfiguration(const ProfileConfiguration &value)
DescribeJobRunResult & WithDatasetName(const char *value)
void SetValidationConfigurations(Aws::Vector< ValidationConfiguration > &&value)
DescribeJobRunResult & WithRecipeReference(RecipeReference &&value)
DescribeJobRunResult & WithOutputs(Aws::Vector< Output > &&value)
const Aws::Vector< ValidationConfiguration > & GetValidationConfigurations() const
void SetCompletedOn(const Aws::Utils::DateTime &value)
DescribeJobRunResult & AddOutputs(Output &&value)
void SetDataCatalogOutputs(Aws::Vector< DataCatalogOutput > &&value)
DescribeJobRunResult & WithValidationConfigurations(Aws::Vector< ValidationConfiguration > &&value)
DescribeJobRunResult & WithRequestId(const Aws::String &value)
DescribeJobRunResult & WithState(JobRunState &&value)
void SetDatabaseOutputs(const Aws::Vector< DatabaseOutput > &value)
DescribeJobRunResult & WithDatabaseOutputs(const Aws::Vector< DatabaseOutput > &value)
void SetDatabaseOutputs(Aws::Vector< DatabaseOutput > &&value)
DescribeJobRunResult & WithLogGroupName(const Aws::String &value)
DescribeJobRunResult & WithDataCatalogOutputs(Aws::Vector< DataCatalogOutput > &&value)
DescribeJobRunResult & AddDataCatalogOutputs(DataCatalogOutput &&value)
DescribeJobRunResult & WithProfileConfiguration(const ProfileConfiguration &value)
DescribeJobRunResult & WithErrorMessage(const char *value)
DescribeJobRunResult & WithLogGroupName(Aws::String &&value)
DescribeJobRunResult & WithRequestId(Aws::String &&value)
DescribeJobRunResult & WithCompletedOn(Aws::Utils::DateTime &&value)
const Aws::Vector< Output > & GetOutputs() const
DescribeJobRunResult & WithRequestId(const char *value)
DescribeJobRunResult & WithProfileConfiguration(ProfileConfiguration &&value)
DescribeJobRunResult & WithValidationConfigurations(const Aws::Vector< ValidationConfiguration > &value)
DescribeJobRunResult & WithRunId(const char *value)
void SetRecipeReference(const RecipeReference &value)
DescribeJobRunResult & WithRunId(Aws::String &&value)
DescribeJobRunResult & WithJobSample(JobSample &&value)
void SetDataCatalogOutputs(const Aws::Vector< DataCatalogOutput > &value)
void SetStartedOn(const Aws::Utils::DateTime &value)
const Aws::Vector< DataCatalogOutput > & GetDataCatalogOutputs() const
DescribeJobRunResult & WithJobName(const Aws::String &value)
DescribeJobRunResult & WithLogSubscription(const LogSubscription &value)
DescribeJobRunResult & WithErrorMessage(Aws::String &&value)
void SetCompletedOn(Aws::Utils::DateTime &&value)
DescribeJobRunResult & WithStartedBy(const Aws::String &value)
DescribeJobRunResult & WithLogSubscription(LogSubscription &&value)
DescribeJobRunResult & WithRecipeReference(const RecipeReference &value)
const ProfileConfiguration & GetProfileConfiguration() const
AWS_GLUEDATABREW_API DescribeJobRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStartedOn(Aws::Utils::DateTime &&value)
DescribeJobRunResult & AddValidationConfigurations(const ValidationConfiguration &value)
void SetOutputs(Aws::Vector< Output > &&value)
DescribeJobRunResult & WithStartedOn(Aws::Utils::DateTime &&value)
DescribeJobRunResult & WithCompletedOn(const Aws::Utils::DateTime &value)
DescribeJobRunResult & WithRunId(const Aws::String &value)
DescribeJobRunResult & WithExecutionTime(int value)
void SetLogSubscription(const LogSubscription &value)
DescribeJobRunResult & AddDatabaseOutputs(const DatabaseOutput &value)
const Aws::Vector< DatabaseOutput > & GetDatabaseOutputs() const
DescribeJobRunResult & WithOutputs(const Aws::Vector< Output > &value)
AWS_GLUEDATABREW_API DescribeJobRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetOutputs(const Aws::Vector< Output > &value)
DescribeJobRunResult & WithState(const JobRunState &value)
DescribeJobRunResult & WithLogGroupName(const char *value)
DescribeJobRunResult & AddOutputs(const Output &value)
DescribeJobRunResult & WithStartedBy(Aws::String &&value)
const Aws::Utils::DateTime & GetStartedOn() const
DescribeJobRunResult & WithDatasetName(Aws::String &&value)
const Aws::Utils::DateTime & GetCompletedOn() const
DescribeJobRunResult & WithDatabaseOutputs(Aws::Vector< DatabaseOutput > &&value)
DescribeJobRunResult & WithAttempt(int value)
DescribeJobRunResult & AddDatabaseOutputs(DatabaseOutput &&value)
void SetProfileConfiguration(ProfileConfiguration &&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