AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeJobResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/databrew/GlueDataBrew_EXPORTS.h>
12#include <aws/databrew/model/DataCatalogOutput.h>
13#include <aws/databrew/model/DatabaseOutput.h>
14#include <aws/databrew/model/EncryptionMode.h>
15#include <aws/databrew/model/JobSample.h>
16#include <aws/databrew/model/JobType.h>
17#include <aws/databrew/model/LogSubscription.h>
18#include <aws/databrew/model/Output.h>
19#include <aws/databrew/model/ProfileConfiguration.h>
20#include <aws/databrew/model/RecipeReference.h>
21#include <aws/databrew/model/ValidationConfiguration.h>
22
23#include <utility>
24
25namespace Aws {
26template <typename RESULT_TYPE>
27class AmazonWebServiceResult;
28
29namespace Utils {
30namespace Json {
31class JsonValue;
32} // namespace Json
33} // namespace Utils
34namespace GlueDataBrew {
35namespace Model {
37 public:
38 AWS_GLUEDATABREW_API DescribeJobResult() = default;
41
43
46 inline const Aws::Utils::DateTime& GetCreateDate() const { return m_createDate; }
47 template <typename CreateDateT = Aws::Utils::DateTime>
48 void SetCreateDate(CreateDateT&& value) {
49 m_createDateHasBeenSet = true;
50 m_createDate = std::forward<CreateDateT>(value);
51 }
52 template <typename CreateDateT = Aws::Utils::DateTime>
53 DescribeJobResult& WithCreateDate(CreateDateT&& value) {
54 SetCreateDate(std::forward<CreateDateT>(value));
55 return *this;
56 }
58
60
64 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
65 template <typename CreatedByT = Aws::String>
66 void SetCreatedBy(CreatedByT&& value) {
67 m_createdByHasBeenSet = true;
68 m_createdBy = std::forward<CreatedByT>(value);
69 }
70 template <typename CreatedByT = Aws::String>
71 DescribeJobResult& WithCreatedBy(CreatedByT&& value) {
72 SetCreatedBy(std::forward<CreatedByT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetDatasetName() const { return m_datasetName; }
82 template <typename DatasetNameT = Aws::String>
83 void SetDatasetName(DatasetNameT&& value) {
84 m_datasetNameHasBeenSet = true;
85 m_datasetName = std::forward<DatasetNameT>(value);
86 }
87 template <typename DatasetNameT = Aws::String>
88 DescribeJobResult& WithDatasetName(DatasetNameT&& value) {
89 SetDatasetName(std::forward<DatasetNameT>(value));
90 return *this;
91 }
93
95
99 inline const Aws::String& GetEncryptionKeyArn() const { return m_encryptionKeyArn; }
100 template <typename EncryptionKeyArnT = Aws::String>
101 void SetEncryptionKeyArn(EncryptionKeyArnT&& value) {
102 m_encryptionKeyArnHasBeenSet = true;
103 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
104 }
105 template <typename EncryptionKeyArnT = Aws::String>
106 DescribeJobResult& WithEncryptionKeyArn(EncryptionKeyArnT&& value) {
107 SetEncryptionKeyArn(std::forward<EncryptionKeyArnT>(value));
108 return *this;
109 }
111
113
119 inline EncryptionMode GetEncryptionMode() const { return m_encryptionMode; }
121 m_encryptionModeHasBeenSet = true;
122 m_encryptionMode = value;
123 }
125 SetEncryptionMode(value);
126 return *this;
127 }
129
131
134 inline const Aws::String& GetName() const { return m_name; }
135 template <typename NameT = Aws::String>
136 void SetName(NameT&& value) {
137 m_nameHasBeenSet = true;
138 m_name = std::forward<NameT>(value);
139 }
140 template <typename NameT = Aws::String>
141 DescribeJobResult& WithName(NameT&& value) {
142 SetName(std::forward<NameT>(value));
143 return *this;
144 }
146
148
154 inline JobType GetType() const { return m_type; }
155 inline void SetType(JobType value) {
156 m_typeHasBeenSet = true;
157 m_type = value;
158 }
160 SetType(value);
161 return *this;
162 }
164
166
169 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
170 template <typename LastModifiedByT = Aws::String>
171 void SetLastModifiedBy(LastModifiedByT&& value) {
172 m_lastModifiedByHasBeenSet = true;
173 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
174 }
175 template <typename LastModifiedByT = Aws::String>
176 DescribeJobResult& WithLastModifiedBy(LastModifiedByT&& value) {
177 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
178 return *this;
179 }
181
183
186 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
187 template <typename LastModifiedDateT = Aws::Utils::DateTime>
188 void SetLastModifiedDate(LastModifiedDateT&& value) {
189 m_lastModifiedDateHasBeenSet = true;
190 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
191 }
192 template <typename LastModifiedDateT = Aws::Utils::DateTime>
193 DescribeJobResult& WithLastModifiedDate(LastModifiedDateT&& value) {
194 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
195 return *this;
196 }
198
200
203 inline LogSubscription GetLogSubscription() const { return m_logSubscription; }
205 m_logSubscriptionHasBeenSet = true;
206 m_logSubscription = value;
207 }
209 SetLogSubscription(value);
210 return *this;
211 }
213
215
219 inline int GetMaxCapacity() const { return m_maxCapacity; }
220 inline void SetMaxCapacity(int value) {
221 m_maxCapacityHasBeenSet = true;
222 m_maxCapacity = value;
223 }
225 SetMaxCapacity(value);
226 return *this;
227 }
229
231
234 inline int GetMaxRetries() const { return m_maxRetries; }
235 inline void SetMaxRetries(int value) {
236 m_maxRetriesHasBeenSet = true;
237 m_maxRetries = value;
238 }
240 SetMaxRetries(value);
241 return *this;
242 }
244
246
249 inline const Aws::Vector<Output>& GetOutputs() const { return m_outputs; }
250 template <typename OutputsT = Aws::Vector<Output>>
251 void SetOutputs(OutputsT&& value) {
252 m_outputsHasBeenSet = true;
253 m_outputs = std::forward<OutputsT>(value);
254 }
255 template <typename OutputsT = Aws::Vector<Output>>
256 DescribeJobResult& WithOutputs(OutputsT&& value) {
257 SetOutputs(std::forward<OutputsT>(value));
258 return *this;
259 }
260 template <typename OutputsT = Output>
261 DescribeJobResult& AddOutputs(OutputsT&& value) {
262 m_outputsHasBeenSet = true;
263 m_outputs.emplace_back(std::forward<OutputsT>(value));
264 return *this;
265 }
267
269
273 inline const Aws::Vector<DataCatalogOutput>& GetDataCatalogOutputs() const { return m_dataCatalogOutputs; }
274 template <typename DataCatalogOutputsT = Aws::Vector<DataCatalogOutput>>
275 void SetDataCatalogOutputs(DataCatalogOutputsT&& value) {
276 m_dataCatalogOutputsHasBeenSet = true;
277 m_dataCatalogOutputs = std::forward<DataCatalogOutputsT>(value);
278 }
279 template <typename DataCatalogOutputsT = Aws::Vector<DataCatalogOutput>>
280 DescribeJobResult& WithDataCatalogOutputs(DataCatalogOutputsT&& value) {
281 SetDataCatalogOutputs(std::forward<DataCatalogOutputsT>(value));
282 return *this;
283 }
284 template <typename DataCatalogOutputsT = DataCatalogOutput>
285 DescribeJobResult& AddDataCatalogOutputs(DataCatalogOutputsT&& value) {
286 m_dataCatalogOutputsHasBeenSet = true;
287 m_dataCatalogOutputs.emplace_back(std::forward<DataCatalogOutputsT>(value));
288 return *this;
289 }
291
293
297 inline const Aws::Vector<DatabaseOutput>& GetDatabaseOutputs() const { return m_databaseOutputs; }
298 template <typename DatabaseOutputsT = Aws::Vector<DatabaseOutput>>
299 void SetDatabaseOutputs(DatabaseOutputsT&& value) {
300 m_databaseOutputsHasBeenSet = true;
301 m_databaseOutputs = std::forward<DatabaseOutputsT>(value);
302 }
303 template <typename DatabaseOutputsT = Aws::Vector<DatabaseOutput>>
304 DescribeJobResult& WithDatabaseOutputs(DatabaseOutputsT&& value) {
305 SetDatabaseOutputs(std::forward<DatabaseOutputsT>(value));
306 return *this;
307 }
308 template <typename DatabaseOutputsT = DatabaseOutput>
309 DescribeJobResult& AddDatabaseOutputs(DatabaseOutputsT&& value) {
310 m_databaseOutputsHasBeenSet = true;
311 m_databaseOutputs.emplace_back(std::forward<DatabaseOutputsT>(value));
312 return *this;
313 }
315
317
320 inline const Aws::String& GetProjectName() const { return m_projectName; }
321 template <typename ProjectNameT = Aws::String>
322 void SetProjectName(ProjectNameT&& value) {
323 m_projectNameHasBeenSet = true;
324 m_projectName = std::forward<ProjectNameT>(value);
325 }
326 template <typename ProjectNameT = Aws::String>
327 DescribeJobResult& WithProjectName(ProjectNameT&& value) {
328 SetProjectName(std::forward<ProjectNameT>(value));
329 return *this;
330 }
332
334
339 inline const ProfileConfiguration& GetProfileConfiguration() const { return m_profileConfiguration; }
340 template <typename ProfileConfigurationT = ProfileConfiguration>
341 void SetProfileConfiguration(ProfileConfigurationT&& value) {
342 m_profileConfigurationHasBeenSet = true;
343 m_profileConfiguration = std::forward<ProfileConfigurationT>(value);
344 }
345 template <typename ProfileConfigurationT = ProfileConfiguration>
346 DescribeJobResult& WithProfileConfiguration(ProfileConfigurationT&& value) {
347 SetProfileConfiguration(std::forward<ProfileConfigurationT>(value));
348 return *this;
349 }
351
353
356 inline const Aws::Vector<ValidationConfiguration>& GetValidationConfigurations() const { return m_validationConfigurations; }
357 template <typename ValidationConfigurationsT = Aws::Vector<ValidationConfiguration>>
358 void SetValidationConfigurations(ValidationConfigurationsT&& value) {
359 m_validationConfigurationsHasBeenSet = true;
360 m_validationConfigurations = std::forward<ValidationConfigurationsT>(value);
361 }
362 template <typename ValidationConfigurationsT = Aws::Vector<ValidationConfiguration>>
363 DescribeJobResult& WithValidationConfigurations(ValidationConfigurationsT&& value) {
364 SetValidationConfigurations(std::forward<ValidationConfigurationsT>(value));
365 return *this;
366 }
367 template <typename ValidationConfigurationsT = ValidationConfiguration>
368 DescribeJobResult& AddValidationConfigurations(ValidationConfigurationsT&& value) {
369 m_validationConfigurationsHasBeenSet = true;
370 m_validationConfigurations.emplace_back(std::forward<ValidationConfigurationsT>(value));
371 return *this;
372 }
374
376
377 inline const RecipeReference& GetRecipeReference() const { return m_recipeReference; }
378 template <typename RecipeReferenceT = RecipeReference>
379 void SetRecipeReference(RecipeReferenceT&& value) {
380 m_recipeReferenceHasBeenSet = true;
381 m_recipeReference = std::forward<RecipeReferenceT>(value);
382 }
383 template <typename RecipeReferenceT = RecipeReference>
384 DescribeJobResult& WithRecipeReference(RecipeReferenceT&& value) {
385 SetRecipeReference(std::forward<RecipeReferenceT>(value));
386 return *this;
387 }
389
391
394 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
395 template <typename ResourceArnT = Aws::String>
396 void SetResourceArn(ResourceArnT&& value) {
397 m_resourceArnHasBeenSet = true;
398 m_resourceArn = std::forward<ResourceArnT>(value);
399 }
400 template <typename ResourceArnT = Aws::String>
401 DescribeJobResult& WithResourceArn(ResourceArnT&& value) {
402 SetResourceArn(std::forward<ResourceArnT>(value));
403 return *this;
404 }
406
408
412 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
413 template <typename RoleArnT = Aws::String>
414 void SetRoleArn(RoleArnT&& value) {
415 m_roleArnHasBeenSet = true;
416 m_roleArn = std::forward<RoleArnT>(value);
417 }
418 template <typename RoleArnT = Aws::String>
419 DescribeJobResult& WithRoleArn(RoleArnT&& value) {
420 SetRoleArn(std::forward<RoleArnT>(value));
421 return *this;
422 }
424
426
429 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
430 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
431 void SetTags(TagsT&& value) {
432 m_tagsHasBeenSet = true;
433 m_tags = std::forward<TagsT>(value);
434 }
435 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
436 DescribeJobResult& WithTags(TagsT&& value) {
437 SetTags(std::forward<TagsT>(value));
438 return *this;
439 }
440 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
441 DescribeJobResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
442 m_tagsHasBeenSet = true;
443 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
444 return *this;
445 }
447
449
453 inline int GetTimeout() const { return m_timeout; }
454 inline void SetTimeout(int value) {
455 m_timeoutHasBeenSet = true;
456 m_timeout = value;
457 }
458 inline DescribeJobResult& WithTimeout(int value) {
459 SetTimeout(value);
460 return *this;
461 }
463
465
469 inline const JobSample& GetJobSample() const { return m_jobSample; }
470 template <typename JobSampleT = JobSample>
471 void SetJobSample(JobSampleT&& value) {
472 m_jobSampleHasBeenSet = true;
473 m_jobSample = std::forward<JobSampleT>(value);
474 }
475 template <typename JobSampleT = JobSample>
476 DescribeJobResult& WithJobSample(JobSampleT&& value) {
477 SetJobSample(std::forward<JobSampleT>(value));
478 return *this;
479 }
481
483
484 inline const Aws::String& GetRequestId() const { return m_requestId; }
485 template <typename RequestIdT = Aws::String>
486 void SetRequestId(RequestIdT&& value) {
487 m_requestIdHasBeenSet = true;
488 m_requestId = std::forward<RequestIdT>(value);
489 }
490 template <typename RequestIdT = Aws::String>
491 DescribeJobResult& WithRequestId(RequestIdT&& value) {
492 SetRequestId(std::forward<RequestIdT>(value));
493 return *this;
494 }
496 private:
497 Aws::Utils::DateTime m_createDate{};
498
499 Aws::String m_createdBy;
500
501 Aws::String m_datasetName;
502
503 Aws::String m_encryptionKeyArn;
504
505 EncryptionMode m_encryptionMode{EncryptionMode::NOT_SET};
506
507 Aws::String m_name;
508
510
511 Aws::String m_lastModifiedBy;
512
513 Aws::Utils::DateTime m_lastModifiedDate{};
514
515 LogSubscription m_logSubscription{LogSubscription::NOT_SET};
516
517 int m_maxCapacity{0};
518
519 int m_maxRetries{0};
520
521 Aws::Vector<Output> m_outputs;
522
523 Aws::Vector<DataCatalogOutput> m_dataCatalogOutputs;
524
525 Aws::Vector<DatabaseOutput> m_databaseOutputs;
526
527 Aws::String m_projectName;
528
529 ProfileConfiguration m_profileConfiguration;
530
531 Aws::Vector<ValidationConfiguration> m_validationConfigurations;
532
533 RecipeReference m_recipeReference;
534
535 Aws::String m_resourceArn;
536
537 Aws::String m_roleArn;
538
540
541 int m_timeout{0};
542
543 JobSample m_jobSample;
544
545 Aws::String m_requestId;
546 bool m_createDateHasBeenSet = false;
547 bool m_createdByHasBeenSet = false;
548 bool m_datasetNameHasBeenSet = false;
549 bool m_encryptionKeyArnHasBeenSet = false;
550 bool m_encryptionModeHasBeenSet = false;
551 bool m_nameHasBeenSet = false;
552 bool m_typeHasBeenSet = false;
553 bool m_lastModifiedByHasBeenSet = false;
554 bool m_lastModifiedDateHasBeenSet = false;
555 bool m_logSubscriptionHasBeenSet = false;
556 bool m_maxCapacityHasBeenSet = false;
557 bool m_maxRetriesHasBeenSet = false;
558 bool m_outputsHasBeenSet = false;
559 bool m_dataCatalogOutputsHasBeenSet = false;
560 bool m_databaseOutputsHasBeenSet = false;
561 bool m_projectNameHasBeenSet = false;
562 bool m_profileConfigurationHasBeenSet = false;
563 bool m_validationConfigurationsHasBeenSet = false;
564 bool m_recipeReferenceHasBeenSet = false;
565 bool m_resourceArnHasBeenSet = false;
566 bool m_roleArnHasBeenSet = false;
567 bool m_tagsHasBeenSet = false;
568 bool m_timeoutHasBeenSet = false;
569 bool m_jobSampleHasBeenSet = false;
570 bool m_requestIdHasBeenSet = false;
571};
572
573} // namespace Model
574} // namespace GlueDataBrew
575} // 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)
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