AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DescribeJobResult.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/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/databrew/GlueDataBrew_EXPORTS.h>
13#include <aws/databrew/model/DataCatalogOutput.h>
14#include <aws/databrew/model/DatabaseOutput.h>
15#include <aws/databrew/model/EncryptionMode.h>
16#include <aws/databrew/model/JobSample.h>
17#include <aws/databrew/model/JobType.h>
18#include <aws/databrew/model/LogSubscription.h>
19#include <aws/databrew/model/Output.h>
20#include <aws/databrew/model/ProfileConfiguration.h>
21#include <aws/databrew/model/RecipeReference.h>
22#include <aws/databrew/model/ValidationConfiguration.h>
23
24#include <utility>
25
26namespace Aws {
27template <typename RESULT_TYPE>
28class AmazonWebServiceResult;
29
30namespace Utils {
31namespace Json {
32class JsonValue;
33} // namespace Json
34} // namespace Utils
35namespace GlueDataBrew {
36namespace Model {
38 public:
39 AWS_GLUEDATABREW_API DescribeJobResult() = default;
42
44
47 inline const Aws::Utils::DateTime& GetCreateDate() const { return m_createDate; }
48 template <typename CreateDateT = Aws::Utils::DateTime>
49 void SetCreateDate(CreateDateT&& value) {
50 m_createDateHasBeenSet = true;
51 m_createDate = std::forward<CreateDateT>(value);
52 }
53 template <typename CreateDateT = Aws::Utils::DateTime>
54 DescribeJobResult& WithCreateDate(CreateDateT&& value) {
55 SetCreateDate(std::forward<CreateDateT>(value));
56 return *this;
57 }
59
61
65 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
66 template <typename CreatedByT = Aws::String>
67 void SetCreatedBy(CreatedByT&& value) {
68 m_createdByHasBeenSet = true;
69 m_createdBy = std::forward<CreatedByT>(value);
70 }
71 template <typename CreatedByT = Aws::String>
72 DescribeJobResult& WithCreatedBy(CreatedByT&& value) {
73 SetCreatedBy(std::forward<CreatedByT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::String& GetDatasetName() const { return m_datasetName; }
83 template <typename DatasetNameT = Aws::String>
84 void SetDatasetName(DatasetNameT&& value) {
85 m_datasetNameHasBeenSet = true;
86 m_datasetName = std::forward<DatasetNameT>(value);
87 }
88 template <typename DatasetNameT = Aws::String>
89 DescribeJobResult& WithDatasetName(DatasetNameT&& value) {
90 SetDatasetName(std::forward<DatasetNameT>(value));
91 return *this;
92 }
94
96
100 inline const Aws::String& GetEncryptionKeyArn() const { return m_encryptionKeyArn; }
101 template <typename EncryptionKeyArnT = Aws::String>
102 void SetEncryptionKeyArn(EncryptionKeyArnT&& value) {
103 m_encryptionKeyArnHasBeenSet = true;
104 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
105 }
106 template <typename EncryptionKeyArnT = Aws::String>
107 DescribeJobResult& WithEncryptionKeyArn(EncryptionKeyArnT&& value) {
108 SetEncryptionKeyArn(std::forward<EncryptionKeyArnT>(value));
109 return *this;
110 }
112
114
120 inline EncryptionMode GetEncryptionMode() const { return m_encryptionMode; }
122 m_encryptionModeHasBeenSet = true;
123 m_encryptionMode = value;
124 }
126 SetEncryptionMode(value);
127 return *this;
128 }
130
132
135 inline const Aws::String& GetName() const { return m_name; }
136 template <typename NameT = Aws::String>
137 void SetName(NameT&& value) {
138 m_nameHasBeenSet = true;
139 m_name = std::forward<NameT>(value);
140 }
141 template <typename NameT = Aws::String>
142 DescribeJobResult& WithName(NameT&& value) {
143 SetName(std::forward<NameT>(value));
144 return *this;
145 }
147
149
155 inline JobType GetType() const { return m_type; }
156 inline void SetType(JobType value) {
157 m_typeHasBeenSet = true;
158 m_type = value;
159 }
161 SetType(value);
162 return *this;
163 }
165
167
170 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
171 template <typename LastModifiedByT = Aws::String>
172 void SetLastModifiedBy(LastModifiedByT&& value) {
173 m_lastModifiedByHasBeenSet = true;
174 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
175 }
176 template <typename LastModifiedByT = Aws::String>
177 DescribeJobResult& WithLastModifiedBy(LastModifiedByT&& value) {
178 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
179 return *this;
180 }
182
184
187 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
188 template <typename LastModifiedDateT = Aws::Utils::DateTime>
189 void SetLastModifiedDate(LastModifiedDateT&& value) {
190 m_lastModifiedDateHasBeenSet = true;
191 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
192 }
193 template <typename LastModifiedDateT = Aws::Utils::DateTime>
194 DescribeJobResult& WithLastModifiedDate(LastModifiedDateT&& value) {
195 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
196 return *this;
197 }
199
201
204 inline LogSubscription GetLogSubscription() const { return m_logSubscription; }
206 m_logSubscriptionHasBeenSet = true;
207 m_logSubscription = value;
208 }
210 SetLogSubscription(value);
211 return *this;
212 }
214
216
220 inline int GetMaxCapacity() const { return m_maxCapacity; }
221 inline void SetMaxCapacity(int value) {
222 m_maxCapacityHasBeenSet = true;
223 m_maxCapacity = value;
224 }
226 SetMaxCapacity(value);
227 return *this;
228 }
230
232
235 inline int GetMaxRetries() const { return m_maxRetries; }
236 inline void SetMaxRetries(int value) {
237 m_maxRetriesHasBeenSet = true;
238 m_maxRetries = value;
239 }
241 SetMaxRetries(value);
242 return *this;
243 }
245
247
250 inline const Aws::Vector<Output>& GetOutputs() const { return m_outputs; }
251 template <typename OutputsT = Aws::Vector<Output>>
252 void SetOutputs(OutputsT&& value) {
253 m_outputsHasBeenSet = true;
254 m_outputs = std::forward<OutputsT>(value);
255 }
256 template <typename OutputsT = Aws::Vector<Output>>
257 DescribeJobResult& WithOutputs(OutputsT&& value) {
258 SetOutputs(std::forward<OutputsT>(value));
259 return *this;
260 }
261 template <typename OutputsT = Output>
262 DescribeJobResult& AddOutputs(OutputsT&& value) {
263 m_outputsHasBeenSet = true;
264 m_outputs.emplace_back(std::forward<OutputsT>(value));
265 return *this;
266 }
268
270
274 inline const Aws::Vector<DataCatalogOutput>& GetDataCatalogOutputs() const { return m_dataCatalogOutputs; }
275 template <typename DataCatalogOutputsT = Aws::Vector<DataCatalogOutput>>
276 void SetDataCatalogOutputs(DataCatalogOutputsT&& value) {
277 m_dataCatalogOutputsHasBeenSet = true;
278 m_dataCatalogOutputs = std::forward<DataCatalogOutputsT>(value);
279 }
280 template <typename DataCatalogOutputsT = Aws::Vector<DataCatalogOutput>>
281 DescribeJobResult& WithDataCatalogOutputs(DataCatalogOutputsT&& value) {
282 SetDataCatalogOutputs(std::forward<DataCatalogOutputsT>(value));
283 return *this;
284 }
285 template <typename DataCatalogOutputsT = DataCatalogOutput>
286 DescribeJobResult& AddDataCatalogOutputs(DataCatalogOutputsT&& value) {
287 m_dataCatalogOutputsHasBeenSet = true;
288 m_dataCatalogOutputs.emplace_back(std::forward<DataCatalogOutputsT>(value));
289 return *this;
290 }
292
294
298 inline const Aws::Vector<DatabaseOutput>& GetDatabaseOutputs() const { return m_databaseOutputs; }
299 template <typename DatabaseOutputsT = Aws::Vector<DatabaseOutput>>
300 void SetDatabaseOutputs(DatabaseOutputsT&& value) {
301 m_databaseOutputsHasBeenSet = true;
302 m_databaseOutputs = std::forward<DatabaseOutputsT>(value);
303 }
304 template <typename DatabaseOutputsT = Aws::Vector<DatabaseOutput>>
305 DescribeJobResult& WithDatabaseOutputs(DatabaseOutputsT&& value) {
306 SetDatabaseOutputs(std::forward<DatabaseOutputsT>(value));
307 return *this;
308 }
309 template <typename DatabaseOutputsT = DatabaseOutput>
310 DescribeJobResult& AddDatabaseOutputs(DatabaseOutputsT&& value) {
311 m_databaseOutputsHasBeenSet = true;
312 m_databaseOutputs.emplace_back(std::forward<DatabaseOutputsT>(value));
313 return *this;
314 }
316
318
321 inline const Aws::String& GetProjectName() const { return m_projectName; }
322 template <typename ProjectNameT = Aws::String>
323 void SetProjectName(ProjectNameT&& value) {
324 m_projectNameHasBeenSet = true;
325 m_projectName = std::forward<ProjectNameT>(value);
326 }
327 template <typename ProjectNameT = Aws::String>
328 DescribeJobResult& WithProjectName(ProjectNameT&& value) {
329 SetProjectName(std::forward<ProjectNameT>(value));
330 return *this;
331 }
333
335
340 inline const ProfileConfiguration& GetProfileConfiguration() const { return m_profileConfiguration; }
341 template <typename ProfileConfigurationT = ProfileConfiguration>
342 void SetProfileConfiguration(ProfileConfigurationT&& value) {
343 m_profileConfigurationHasBeenSet = true;
344 m_profileConfiguration = std::forward<ProfileConfigurationT>(value);
345 }
346 template <typename ProfileConfigurationT = ProfileConfiguration>
347 DescribeJobResult& WithProfileConfiguration(ProfileConfigurationT&& value) {
348 SetProfileConfiguration(std::forward<ProfileConfigurationT>(value));
349 return *this;
350 }
352
354
357 inline const Aws::Vector<ValidationConfiguration>& GetValidationConfigurations() const { return m_validationConfigurations; }
358 template <typename ValidationConfigurationsT = Aws::Vector<ValidationConfiguration>>
359 void SetValidationConfigurations(ValidationConfigurationsT&& value) {
360 m_validationConfigurationsHasBeenSet = true;
361 m_validationConfigurations = std::forward<ValidationConfigurationsT>(value);
362 }
363 template <typename ValidationConfigurationsT = Aws::Vector<ValidationConfiguration>>
364 DescribeJobResult& WithValidationConfigurations(ValidationConfigurationsT&& value) {
365 SetValidationConfigurations(std::forward<ValidationConfigurationsT>(value));
366 return *this;
367 }
368 template <typename ValidationConfigurationsT = ValidationConfiguration>
369 DescribeJobResult& AddValidationConfigurations(ValidationConfigurationsT&& value) {
370 m_validationConfigurationsHasBeenSet = true;
371 m_validationConfigurations.emplace_back(std::forward<ValidationConfigurationsT>(value));
372 return *this;
373 }
375
377
378 inline const RecipeReference& GetRecipeReference() const { return m_recipeReference; }
379 template <typename RecipeReferenceT = RecipeReference>
380 void SetRecipeReference(RecipeReferenceT&& value) {
381 m_recipeReferenceHasBeenSet = true;
382 m_recipeReference = std::forward<RecipeReferenceT>(value);
383 }
384 template <typename RecipeReferenceT = RecipeReference>
385 DescribeJobResult& WithRecipeReference(RecipeReferenceT&& value) {
386 SetRecipeReference(std::forward<RecipeReferenceT>(value));
387 return *this;
388 }
390
392
395 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
396 template <typename ResourceArnT = Aws::String>
397 void SetResourceArn(ResourceArnT&& value) {
398 m_resourceArnHasBeenSet = true;
399 m_resourceArn = std::forward<ResourceArnT>(value);
400 }
401 template <typename ResourceArnT = Aws::String>
402 DescribeJobResult& WithResourceArn(ResourceArnT&& value) {
403 SetResourceArn(std::forward<ResourceArnT>(value));
404 return *this;
405 }
407
409
413 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
414 template <typename RoleArnT = Aws::String>
415 void SetRoleArn(RoleArnT&& value) {
416 m_roleArnHasBeenSet = true;
417 m_roleArn = std::forward<RoleArnT>(value);
418 }
419 template <typename RoleArnT = Aws::String>
420 DescribeJobResult& WithRoleArn(RoleArnT&& value) {
421 SetRoleArn(std::forward<RoleArnT>(value));
422 return *this;
423 }
425
427
430 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
431 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
432 void SetTags(TagsT&& value) {
433 m_tagsHasBeenSet = true;
434 m_tags = std::forward<TagsT>(value);
435 }
436 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
437 DescribeJobResult& WithTags(TagsT&& value) {
438 SetTags(std::forward<TagsT>(value));
439 return *this;
440 }
441 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
442 DescribeJobResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
443 m_tagsHasBeenSet = true;
444 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
445 return *this;
446 }
448
450
454 inline int GetTimeout() const { return m_timeout; }
455 inline void SetTimeout(int value) {
456 m_timeoutHasBeenSet = true;
457 m_timeout = value;
458 }
459 inline DescribeJobResult& WithTimeout(int value) {
460 SetTimeout(value);
461 return *this;
462 }
464
466
470 inline const JobSample& GetJobSample() const { return m_jobSample; }
471 template <typename JobSampleT = JobSample>
472 void SetJobSample(JobSampleT&& value) {
473 m_jobSampleHasBeenSet = true;
474 m_jobSample = std::forward<JobSampleT>(value);
475 }
476 template <typename JobSampleT = JobSample>
477 DescribeJobResult& WithJobSample(JobSampleT&& value) {
478 SetJobSample(std::forward<JobSampleT>(value));
479 return *this;
480 }
482
484
485 inline const Aws::String& GetRequestId() const { return m_requestId; }
486 template <typename RequestIdT = Aws::String>
487 void SetRequestId(RequestIdT&& value) {
488 m_requestIdHasBeenSet = true;
489 m_requestId = std::forward<RequestIdT>(value);
490 }
491 template <typename RequestIdT = Aws::String>
492 DescribeJobResult& WithRequestId(RequestIdT&& value) {
493 SetRequestId(std::forward<RequestIdT>(value));
494 return *this;
495 }
497 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
498
499 private:
500 Aws::Utils::DateTime m_createDate{};
501
502 Aws::String m_createdBy;
503
504 Aws::String m_datasetName;
505
506 Aws::String m_encryptionKeyArn;
507
508 EncryptionMode m_encryptionMode{EncryptionMode::NOT_SET};
509
510 Aws::String m_name;
511
513
514 Aws::String m_lastModifiedBy;
515
516 Aws::Utils::DateTime m_lastModifiedDate{};
517
518 LogSubscription m_logSubscription{LogSubscription::NOT_SET};
519
520 int m_maxCapacity{0};
521
522 int m_maxRetries{0};
523
524 Aws::Vector<Output> m_outputs;
525
526 Aws::Vector<DataCatalogOutput> m_dataCatalogOutputs;
527
528 Aws::Vector<DatabaseOutput> m_databaseOutputs;
529
530 Aws::String m_projectName;
531
532 ProfileConfiguration m_profileConfiguration;
533
534 Aws::Vector<ValidationConfiguration> m_validationConfigurations;
535
536 RecipeReference m_recipeReference;
537
538 Aws::String m_resourceArn;
539
540 Aws::String m_roleArn;
541
543
544 int m_timeout{0};
545
546 JobSample m_jobSample;
547
548 Aws::String m_requestId;
549 Aws::Http::HttpResponseCode m_HttpResponseCode;
550 bool m_createDateHasBeenSet = false;
551 bool m_createdByHasBeenSet = false;
552 bool m_datasetNameHasBeenSet = false;
553 bool m_encryptionKeyArnHasBeenSet = false;
554 bool m_encryptionModeHasBeenSet = false;
555 bool m_nameHasBeenSet = false;
556 bool m_typeHasBeenSet = false;
557 bool m_lastModifiedByHasBeenSet = false;
558 bool m_lastModifiedDateHasBeenSet = false;
559 bool m_logSubscriptionHasBeenSet = false;
560 bool m_maxCapacityHasBeenSet = false;
561 bool m_maxRetriesHasBeenSet = false;
562 bool m_outputsHasBeenSet = false;
563 bool m_dataCatalogOutputsHasBeenSet = false;
564 bool m_databaseOutputsHasBeenSet = false;
565 bool m_projectNameHasBeenSet = false;
566 bool m_profileConfigurationHasBeenSet = false;
567 bool m_validationConfigurationsHasBeenSet = false;
568 bool m_recipeReferenceHasBeenSet = false;
569 bool m_resourceArnHasBeenSet = false;
570 bool m_roleArnHasBeenSet = false;
571 bool m_tagsHasBeenSet = false;
572 bool m_timeoutHasBeenSet = false;
573 bool m_jobSampleHasBeenSet = false;
574 bool m_requestIdHasBeenSet = false;
575};
576
577} // namespace Model
578} // namespace GlueDataBrew
579} // namespace Aws
DescribeJobResult & WithRoleArn(RoleArnT &&value)
void SetValidationConfigurations(ValidationConfigurationsT &&value)
DescribeJobResult & WithLastModifiedDate(LastModifiedDateT &&value)
void SetRecipeReference(RecipeReferenceT &&value)
DescribeJobResult & WithLogSubscription(LogSubscription value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
const RecipeReference & GetRecipeReference() const
void SetLastModifiedDate(LastModifiedDateT &&value)
const ProfileConfiguration & GetProfileConfiguration() const
DescribeJobResult & WithCreateDate(CreateDateT &&value)
DescribeJobResult & AddDataCatalogOutputs(DataCatalogOutputsT &&value)
AWS_GLUEDATABREW_API DescribeJobResult()=default
DescribeJobResult & WithDatabaseOutputs(DatabaseOutputsT &&value)
DescribeJobResult & WithLastModifiedBy(LastModifiedByT &&value)
AWS_GLUEDATABREW_API DescribeJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeJobResult & WithName(NameT &&value)
AWS_GLUEDATABREW_API DescribeJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeJobResult & AddDatabaseOutputs(DatabaseOutputsT &&value)
DescribeJobResult & WithOutputs(OutputsT &&value)
DescribeJobResult & WithResourceArn(ResourceArnT &&value)
DescribeJobResult & WithCreatedBy(CreatedByT &&value)
const Aws::Utils::DateTime & GetCreateDate() const
void SetProfileConfiguration(ProfileConfigurationT &&value)
DescribeJobResult & WithProjectName(ProjectNameT &&value)
void SetDataCatalogOutputs(DataCatalogOutputsT &&value)
DescribeJobResult & WithEncryptionMode(EncryptionMode value)
DescribeJobResult & WithProfileConfiguration(ProfileConfigurationT &&value)
DescribeJobResult & WithType(JobType value)
DescribeJobResult & WithDatasetName(DatasetNameT &&value)
DescribeJobResult & WithJobSample(JobSampleT &&value)
const Aws::Vector< ValidationConfiguration > & GetValidationConfigurations() const
void SetDatabaseOutputs(DatabaseOutputsT &&value)
DescribeJobResult & AddOutputs(OutputsT &&value)
DescribeJobResult & WithTags(TagsT &&value)
DescribeJobResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
DescribeJobResult & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
const Aws::String & GetEncryptionKeyArn() const
DescribeJobResult & WithMaxRetries(int value)
DescribeJobResult & WithValidationConfigurations(ValidationConfigurationsT &&value)
DescribeJobResult & WithRequestId(RequestIdT &&value)
DescribeJobResult & AddValidationConfigurations(ValidationConfigurationsT &&value)
void SetLastModifiedBy(LastModifiedByT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeJobResult & WithMaxCapacity(int value)
DescribeJobResult & WithDataCatalogOutputs(DataCatalogOutputsT &&value)
DescribeJobResult & WithRecipeReference(RecipeReferenceT &&value)
DescribeJobResult & WithTimeout(int value)
const Aws::Vector< DataCatalogOutput > & GetDataCatalogOutputs() const
const Aws::Vector< Output > & GetOutputs() const
const Aws::Vector< DatabaseOutput > & GetDatabaseOutputs() const
void SetEncryptionKeyArn(EncryptionKeyArnT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue