AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeJobResult.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/EncryptionMode.h>
11#include <aws/databrew/model/JobType.h>
12#include <aws/databrew/model/LogSubscription.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/databrew/model/ProfileConfiguration.h>
15#include <aws/databrew/model/RecipeReference.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/databrew/model/JobSample.h>
18#include <aws/databrew/model/Output.h>
19#include <aws/databrew/model/DataCatalogOutput.h>
20#include <aws/databrew/model/DatabaseOutput.h>
21#include <aws/databrew/model/ValidationConfiguration.h>
22#include <utility>
23
24namespace Aws
25{
26template<typename RESULT_TYPE>
27class AmazonWebServiceResult;
28
29namespace Utils
30{
31namespace Json
32{
33 class JsonValue;
34} // namespace Json
35} // namespace Utils
36namespace GlueDataBrew
37{
38namespace Model
39{
41 {
42 public:
43 AWS_GLUEDATABREW_API DescribeJobResult() = default;
46
47
49
52 inline const Aws::Utils::DateTime& GetCreateDate() const { return m_createDate; }
53 template<typename CreateDateT = Aws::Utils::DateTime>
54 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet = true; m_createDate = std::forward<CreateDateT>(value); }
55 template<typename CreateDateT = Aws::Utils::DateTime>
56 DescribeJobResult& WithCreateDate(CreateDateT&& value) { SetCreateDate(std::forward<CreateDateT>(value)); return *this;}
58
60
64 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
65 template<typename CreatedByT = Aws::String>
66 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
67 template<typename CreatedByT = Aws::String>
68 DescribeJobResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
70
72
75 inline const Aws::String& GetDatasetName() const { return m_datasetName; }
76 template<typename DatasetNameT = Aws::String>
77 void SetDatasetName(DatasetNameT&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::forward<DatasetNameT>(value); }
78 template<typename DatasetNameT = Aws::String>
79 DescribeJobResult& WithDatasetName(DatasetNameT&& value) { SetDatasetName(std::forward<DatasetNameT>(value)); return *this;}
81
83
87 inline const Aws::String& GetEncryptionKeyArn() const { return m_encryptionKeyArn; }
88 template<typename EncryptionKeyArnT = Aws::String>
89 void SetEncryptionKeyArn(EncryptionKeyArnT&& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value); }
90 template<typename EncryptionKeyArnT = Aws::String>
91 DescribeJobResult& WithEncryptionKeyArn(EncryptionKeyArnT&& value) { SetEncryptionKeyArn(std::forward<EncryptionKeyArnT>(value)); return *this;}
93
95
101 inline EncryptionMode GetEncryptionMode() const { return m_encryptionMode; }
102 inline void SetEncryptionMode(EncryptionMode value) { m_encryptionModeHasBeenSet = true; m_encryptionMode = value; }
105
107
110 inline const Aws::String& GetName() const { return m_name; }
111 template<typename NameT = Aws::String>
112 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
113 template<typename NameT = Aws::String>
114 DescribeJobResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
116
118
124 inline JobType GetType() const { return m_type; }
125 inline void SetType(JobType value) { m_typeHasBeenSet = true; m_type = value; }
126 inline DescribeJobResult& WithType(JobType value) { SetType(value); return *this;}
128
130
133 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
134 template<typename LastModifiedByT = Aws::String>
135 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
136 template<typename LastModifiedByT = Aws::String>
137 DescribeJobResult& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
139
141
144 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
145 template<typename LastModifiedDateT = Aws::Utils::DateTime>
146 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
147 template<typename LastModifiedDateT = Aws::Utils::DateTime>
148 DescribeJobResult& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
150
152
155 inline LogSubscription GetLogSubscription() const { return m_logSubscription; }
156 inline void SetLogSubscription(LogSubscription value) { m_logSubscriptionHasBeenSet = true; m_logSubscription = value; }
159
161
165 inline int GetMaxCapacity() const { return m_maxCapacity; }
166 inline void SetMaxCapacity(int value) { m_maxCapacityHasBeenSet = true; m_maxCapacity = value; }
167 inline DescribeJobResult& WithMaxCapacity(int value) { SetMaxCapacity(value); return *this;}
169
171
174 inline int GetMaxRetries() const { return m_maxRetries; }
175 inline void SetMaxRetries(int value) { m_maxRetriesHasBeenSet = true; m_maxRetries = value; }
176 inline DescribeJobResult& WithMaxRetries(int value) { SetMaxRetries(value); return *this;}
178
180
183 inline const Aws::Vector<Output>& GetOutputs() const { return m_outputs; }
184 template<typename OutputsT = Aws::Vector<Output>>
185 void SetOutputs(OutputsT&& value) { m_outputsHasBeenSet = true; m_outputs = std::forward<OutputsT>(value); }
186 template<typename OutputsT = Aws::Vector<Output>>
187 DescribeJobResult& WithOutputs(OutputsT&& value) { SetOutputs(std::forward<OutputsT>(value)); return *this;}
188 template<typename OutputsT = Output>
189 DescribeJobResult& AddOutputs(OutputsT&& value) { m_outputsHasBeenSet = true; m_outputs.emplace_back(std::forward<OutputsT>(value)); return *this; }
191
193
197 inline const Aws::Vector<DataCatalogOutput>& GetDataCatalogOutputs() const { return m_dataCatalogOutputs; }
198 template<typename DataCatalogOutputsT = Aws::Vector<DataCatalogOutput>>
199 void SetDataCatalogOutputs(DataCatalogOutputsT&& value) { m_dataCatalogOutputsHasBeenSet = true; m_dataCatalogOutputs = std::forward<DataCatalogOutputsT>(value); }
200 template<typename DataCatalogOutputsT = Aws::Vector<DataCatalogOutput>>
201 DescribeJobResult& WithDataCatalogOutputs(DataCatalogOutputsT&& value) { SetDataCatalogOutputs(std::forward<DataCatalogOutputsT>(value)); return *this;}
202 template<typename DataCatalogOutputsT = DataCatalogOutput>
203 DescribeJobResult& AddDataCatalogOutputs(DataCatalogOutputsT&& value) { m_dataCatalogOutputsHasBeenSet = true; m_dataCatalogOutputs.emplace_back(std::forward<DataCatalogOutputsT>(value)); return *this; }
205
207
211 inline const Aws::Vector<DatabaseOutput>& GetDatabaseOutputs() const { return m_databaseOutputs; }
212 template<typename DatabaseOutputsT = Aws::Vector<DatabaseOutput>>
213 void SetDatabaseOutputs(DatabaseOutputsT&& value) { m_databaseOutputsHasBeenSet = true; m_databaseOutputs = std::forward<DatabaseOutputsT>(value); }
214 template<typename DatabaseOutputsT = Aws::Vector<DatabaseOutput>>
215 DescribeJobResult& WithDatabaseOutputs(DatabaseOutputsT&& value) { SetDatabaseOutputs(std::forward<DatabaseOutputsT>(value)); return *this;}
216 template<typename DatabaseOutputsT = DatabaseOutput>
217 DescribeJobResult& AddDatabaseOutputs(DatabaseOutputsT&& value) { m_databaseOutputsHasBeenSet = true; m_databaseOutputs.emplace_back(std::forward<DatabaseOutputsT>(value)); return *this; }
219
221
224 inline const Aws::String& GetProjectName() const { return m_projectName; }
225 template<typename ProjectNameT = Aws::String>
226 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
227 template<typename ProjectNameT = Aws::String>
228 DescribeJobResult& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
230
232
237 inline const ProfileConfiguration& GetProfileConfiguration() const { return m_profileConfiguration; }
238 template<typename ProfileConfigurationT = ProfileConfiguration>
239 void SetProfileConfiguration(ProfileConfigurationT&& value) { m_profileConfigurationHasBeenSet = true; m_profileConfiguration = std::forward<ProfileConfigurationT>(value); }
240 template<typename ProfileConfigurationT = ProfileConfiguration>
241 DescribeJobResult& WithProfileConfiguration(ProfileConfigurationT&& value) { SetProfileConfiguration(std::forward<ProfileConfigurationT>(value)); return *this;}
243
245
248 inline const Aws::Vector<ValidationConfiguration>& GetValidationConfigurations() const { return m_validationConfigurations; }
249 template<typename ValidationConfigurationsT = Aws::Vector<ValidationConfiguration>>
250 void SetValidationConfigurations(ValidationConfigurationsT&& value) { m_validationConfigurationsHasBeenSet = true; m_validationConfigurations = std::forward<ValidationConfigurationsT>(value); }
251 template<typename ValidationConfigurationsT = Aws::Vector<ValidationConfiguration>>
252 DescribeJobResult& WithValidationConfigurations(ValidationConfigurationsT&& value) { SetValidationConfigurations(std::forward<ValidationConfigurationsT>(value)); return *this;}
253 template<typename ValidationConfigurationsT = ValidationConfiguration>
254 DescribeJobResult& AddValidationConfigurations(ValidationConfigurationsT&& value) { m_validationConfigurationsHasBeenSet = true; m_validationConfigurations.emplace_back(std::forward<ValidationConfigurationsT>(value)); return *this; }
256
258
259 inline const RecipeReference& GetRecipeReference() const { return m_recipeReference; }
260 template<typename RecipeReferenceT = RecipeReference>
261 void SetRecipeReference(RecipeReferenceT&& value) { m_recipeReferenceHasBeenSet = true; m_recipeReference = std::forward<RecipeReferenceT>(value); }
262 template<typename RecipeReferenceT = RecipeReference>
263 DescribeJobResult& WithRecipeReference(RecipeReferenceT&& value) { SetRecipeReference(std::forward<RecipeReferenceT>(value)); return *this;}
265
267
270 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
271 template<typename ResourceArnT = Aws::String>
272 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::forward<ResourceArnT>(value); }
273 template<typename ResourceArnT = Aws::String>
274 DescribeJobResult& WithResourceArn(ResourceArnT&& value) { SetResourceArn(std::forward<ResourceArnT>(value)); return *this;}
276
278
282 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
283 template<typename RoleArnT = Aws::String>
284 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
285 template<typename RoleArnT = Aws::String>
286 DescribeJobResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
288
290
293 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
294 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
295 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
296 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
297 DescribeJobResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
298 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
299 DescribeJobResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
300 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
301 }
303
305
309 inline int GetTimeout() const { return m_timeout; }
310 inline void SetTimeout(int value) { m_timeoutHasBeenSet = true; m_timeout = value; }
311 inline DescribeJobResult& WithTimeout(int value) { SetTimeout(value); return *this;}
313
315
319 inline const JobSample& GetJobSample() const { return m_jobSample; }
320 template<typename JobSampleT = JobSample>
321 void SetJobSample(JobSampleT&& value) { m_jobSampleHasBeenSet = true; m_jobSample = std::forward<JobSampleT>(value); }
322 template<typename JobSampleT = JobSample>
323 DescribeJobResult& WithJobSample(JobSampleT&& value) { SetJobSample(std::forward<JobSampleT>(value)); return *this;}
325
327
328 inline const Aws::String& GetRequestId() const { return m_requestId; }
329 template<typename RequestIdT = Aws::String>
330 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
331 template<typename RequestIdT = Aws::String>
332 DescribeJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
334 private:
335
336 Aws::Utils::DateTime m_createDate{};
337 bool m_createDateHasBeenSet = false;
338
339 Aws::String m_createdBy;
340 bool m_createdByHasBeenSet = false;
341
342 Aws::String m_datasetName;
343 bool m_datasetNameHasBeenSet = false;
344
345 Aws::String m_encryptionKeyArn;
346 bool m_encryptionKeyArnHasBeenSet = false;
347
348 EncryptionMode m_encryptionMode{EncryptionMode::NOT_SET};
349 bool m_encryptionModeHasBeenSet = false;
350
351 Aws::String m_name;
352 bool m_nameHasBeenSet = false;
353
355 bool m_typeHasBeenSet = false;
356
357 Aws::String m_lastModifiedBy;
358 bool m_lastModifiedByHasBeenSet = false;
359
360 Aws::Utils::DateTime m_lastModifiedDate{};
361 bool m_lastModifiedDateHasBeenSet = false;
362
363 LogSubscription m_logSubscription{LogSubscription::NOT_SET};
364 bool m_logSubscriptionHasBeenSet = false;
365
366 int m_maxCapacity{0};
367 bool m_maxCapacityHasBeenSet = false;
368
369 int m_maxRetries{0};
370 bool m_maxRetriesHasBeenSet = false;
371
372 Aws::Vector<Output> m_outputs;
373 bool m_outputsHasBeenSet = false;
374
375 Aws::Vector<DataCatalogOutput> m_dataCatalogOutputs;
376 bool m_dataCatalogOutputsHasBeenSet = false;
377
378 Aws::Vector<DatabaseOutput> m_databaseOutputs;
379 bool m_databaseOutputsHasBeenSet = false;
380
381 Aws::String m_projectName;
382 bool m_projectNameHasBeenSet = false;
383
384 ProfileConfiguration m_profileConfiguration;
385 bool m_profileConfigurationHasBeenSet = false;
386
387 Aws::Vector<ValidationConfiguration> m_validationConfigurations;
388 bool m_validationConfigurationsHasBeenSet = false;
389
390 RecipeReference m_recipeReference;
391 bool m_recipeReferenceHasBeenSet = false;
392
393 Aws::String m_resourceArn;
394 bool m_resourceArnHasBeenSet = false;
395
396 Aws::String m_roleArn;
397 bool m_roleArnHasBeenSet = false;
398
400 bool m_tagsHasBeenSet = false;
401
402 int m_timeout{0};
403 bool m_timeoutHasBeenSet = false;
404
405 JobSample m_jobSample;
406 bool m_jobSampleHasBeenSet = false;
407
408 Aws::String m_requestId;
409 bool m_requestIdHasBeenSet = false;
410 };
411
412} // namespace Model
413} // namespace GlueDataBrew
414} // 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