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/RecipeReference.h>
20#include <aws/databrew/model/ValidationConfiguration.h>
31namespace GlueDataBrew {
41 AWS_GLUEDATABREW_API
Job() =
default;
52 template <
typename AccountIdT = Aws::String>
54 m_accountIdHasBeenSet =
true;
55 m_accountId = std::forward<AccountIdT>(value);
57 template <
typename AccountIdT = Aws::String>
70 template <
typename CreatedByT = Aws::String>
72 m_createdByHasBeenSet =
true;
73 m_createdBy = std::forward<CreatedByT>(value);
75 template <
typename CreatedByT = Aws::String>
88 template <
typename CreateDateT = Aws::Utils::DateTime>
90 m_createDateHasBeenSet =
true;
91 m_createDate = std::forward<CreateDateT>(value);
93 template <
typename CreateDateT = Aws::Utils::DateTime>
106 template <
typename DatasetNameT = Aws::String>
108 m_datasetNameHasBeenSet =
true;
109 m_datasetName = std::forward<DatasetNameT>(value);
111 template <
typename DatasetNameT = Aws::String>
127 template <
typename EncryptionKeyArnT = Aws::String>
129 m_encryptionKeyArnHasBeenSet =
true;
130 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
132 template <
typename EncryptionKeyArnT = Aws::String>
149 m_encryptionModeHasBeenSet =
true;
150 m_encryptionMode = value;
164 template <
typename NameT = Aws::String>
166 m_nameHasBeenSet =
true;
167 m_name = std::forward<NameT>(value);
169 template <
typename NameT = Aws::String>
171 SetName(std::forward<NameT>(value));
186 m_typeHasBeenSet =
true;
201 template <
typename LastModifiedByT = Aws::String>
203 m_lastModifiedByHasBeenSet =
true;
204 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
206 template <
typename LastModifiedByT = Aws::String>
219 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
221 m_lastModifiedDateHasBeenSet =
true;
222 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
224 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
238 m_logSubscriptionHasBeenSet =
true;
239 m_logSubscription = value;
255 m_maxCapacityHasBeenSet =
true;
256 m_maxCapacity = value;
271 m_maxRetriesHasBeenSet =
true;
272 m_maxRetries = value;
286 template <
typename OutputsT = Aws::Vector<Output>>
288 m_outputsHasBeenSet =
true;
289 m_outputs = std::forward<OutputsT>(value);
291 template <
typename OutputsT = Aws::Vector<Output>>
296 template <
typename OutputsT = Output>
298 m_outputsHasBeenSet =
true;
299 m_outputs.emplace_back(std::forward<OutputsT>(value));
311 template <
typename DataCatalogOutputsT = Aws::Vector<DataCatalogOutput>>
313 m_dataCatalogOutputsHasBeenSet =
true;
314 m_dataCatalogOutputs = std::forward<DataCatalogOutputsT>(value);
316 template <
typename DataCatalogOutputsT = Aws::Vector<DataCatalogOutput>>
321 template <
typename DataCatalogOutputsT = DataCatalogOutput>
323 m_dataCatalogOutputsHasBeenSet =
true;
324 m_dataCatalogOutputs.emplace_back(std::forward<DataCatalogOutputsT>(value));
336 template <
typename DatabaseOutputsT = Aws::Vector<DatabaseOutput>>
338 m_databaseOutputsHasBeenSet =
true;
339 m_databaseOutputs = std::forward<DatabaseOutputsT>(value);
341 template <
typename DatabaseOutputsT = Aws::Vector<DatabaseOutput>>
346 template <
typename DatabaseOutputsT = DatabaseOutput>
348 m_databaseOutputsHasBeenSet =
true;
349 m_databaseOutputs.emplace_back(std::forward<DatabaseOutputsT>(value));
360 template <
typename ProjectNameT = Aws::String>
362 m_projectNameHasBeenSet =
true;
363 m_projectName = std::forward<ProjectNameT>(value);
365 template <
typename ProjectNameT = Aws::String>
378 template <
typename RecipeReferenceT = RecipeReference>
380 m_recipeReferenceHasBeenSet =
true;
381 m_recipeReference = std::forward<RecipeReferenceT>(value);
383 template <
typename RecipeReferenceT = RecipeReference>
396 template <
typename ResourceArnT = Aws::String>
398 m_resourceArnHasBeenSet =
true;
399 m_resourceArn = std::forward<ResourceArnT>(value);
401 template <
typename ResourceArnT = Aws::String>
414 template <
typename RoleArnT = Aws::String>
416 m_roleArnHasBeenSet =
true;
417 m_roleArn = std::forward<RoleArnT>(value);
419 template <
typename RoleArnT = Aws::String>
434 m_timeoutHasBeenSet =
true;
449 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
451 m_tagsHasBeenSet =
true;
452 m_tags = std::forward<TagsT>(value);
454 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
456 SetTags(std::forward<TagsT>(value));
459 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
461 m_tagsHasBeenSet =
true;
462 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
476 template <
typename JobSampleT = JobSample>
478 m_jobSampleHasBeenSet =
true;
479 m_jobSample = std::forward<JobSampleT>(value);
481 template <
typename JobSampleT = JobSample>
494 template <
typename Val
idationConfigurationsT = Aws::Vector<Val
idationConfiguration>>
496 m_validationConfigurationsHasBeenSet =
true;
497 m_validationConfigurations = std::forward<ValidationConfigurationsT>(value);
499 template <
typename Val
idationConfigurationsT = Aws::Vector<Val
idationConfiguration>>
504 template <
typename Val
idationConfigurationsT = Val
idationConfiguration>
506 m_validationConfigurationsHasBeenSet =
true;
507 m_validationConfigurations.emplace_back(std::forward<ValidationConfigurationsT>(value));
534 int m_maxCapacity{0};
546 RecipeReference m_recipeReference;
556 JobSample m_jobSample;
559 bool m_accountIdHasBeenSet =
false;
560 bool m_createdByHasBeenSet =
false;
561 bool m_createDateHasBeenSet =
false;
562 bool m_datasetNameHasBeenSet =
false;
563 bool m_encryptionKeyArnHasBeenSet =
false;
564 bool m_encryptionModeHasBeenSet =
false;
565 bool m_nameHasBeenSet =
false;
566 bool m_typeHasBeenSet =
false;
567 bool m_lastModifiedByHasBeenSet =
false;
568 bool m_lastModifiedDateHasBeenSet =
false;
569 bool m_logSubscriptionHasBeenSet =
false;
570 bool m_maxCapacityHasBeenSet =
false;
571 bool m_maxRetriesHasBeenSet =
false;
572 bool m_outputsHasBeenSet =
false;
573 bool m_dataCatalogOutputsHasBeenSet =
false;
574 bool m_databaseOutputsHasBeenSet =
false;
575 bool m_projectNameHasBeenSet =
false;
576 bool m_recipeReferenceHasBeenSet =
false;
577 bool m_resourceArnHasBeenSet =
false;
578 bool m_roleArnHasBeenSet =
false;
579 bool m_timeoutHasBeenSet =
false;
580 bool m_tagsHasBeenSet =
false;
581 bool m_jobSampleHasBeenSet =
false;
582 bool m_validationConfigurationsHasBeenSet =
false;
bool DataCatalogOutputsHasBeenSet() const
bool MaxCapacityHasBeenSet() const
void SetDatabaseOutputs(DatabaseOutputsT &&value)
Job & WithMaxRetries(int value)
Job & WithDatasetName(DatasetNameT &&value)
Job & WithJobSample(JobSampleT &&value)
const Aws::Vector< ValidationConfiguration > & GetValidationConfigurations() const
bool TimeoutHasBeenSet() const
Job & WithDataCatalogOutputs(DataCatalogOutputsT &&value)
Job & WithMaxCapacity(int value)
bool DatabaseOutputsHasBeenSet() const
const Aws::String & GetAccountId() const
void SetType(JobType value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Job & WithEncryptionMode(EncryptionMode value)
Job & WithAccountId(AccountIdT &&value)
void SetRecipeReference(RecipeReferenceT &&value)
void SetEncryptionMode(EncryptionMode value)
void SetValidationConfigurations(ValidationConfigurationsT &&value)
bool JobSampleHasBeenSet() const
void SetDatasetName(DatasetNameT &&value)
const Aws::String & GetResourceArn() const
const Aws::Vector< DataCatalogOutput > & GetDataCatalogOutputs() const
Job & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool LastModifiedByHasBeenSet() const
void SetCreateDate(CreateDateT &&value)
LogSubscription GetLogSubscription() const
Job & WithDatabaseOutputs(DatabaseOutputsT &&value)
Job & AddValidationConfigurations(ValidationConfigurationsT &&value)
void SetAccountId(AccountIdT &&value)
bool RecipeReferenceHasBeenSet() const
void SetProjectName(ProjectNameT &&value)
void SetCreatedBy(CreatedByT &&value)
const Aws::String & GetDatasetName() const
bool AccountIdHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
void SetJobSample(JobSampleT &&value)
Job & WithLogSubscription(LogSubscription value)
bool LastModifiedDateHasBeenSet() const
Job & WithValidationConfigurations(ValidationConfigurationsT &&value)
Job & WithOutputs(OutputsT &&value)
Job & WithLastModifiedBy(LastModifiedByT &&value)
const Aws::String & GetName() const
Job & WithCreateDate(CreateDateT &&value)
Job & WithRecipeReference(RecipeReferenceT &&value)
Job & AddOutputs(OutputsT &&value)
bool TagsHasBeenSet() const
bool ResourceArnHasBeenSet() const
Job & WithLastModifiedDate(LastModifiedDateT &&value)
void SetName(NameT &&value)
bool RoleArnHasBeenSet() const
const Aws::String & GetEncryptionKeyArn() const
int GetMaxCapacity() const
Job & WithResourceArn(ResourceArnT &&value)
Job & WithTags(TagsT &&value)
Job & WithType(JobType value)
bool MaxRetriesHasBeenSet() const
Job & WithCreatedBy(CreatedByT &&value)
void SetTimeout(int value)
bool TypeHasBeenSet() const
const Aws::String & GetCreatedBy() const
Job & WithTimeout(int value)
AWS_GLUEDATABREW_API Job()=default
void SetDataCatalogOutputs(DataCatalogOutputsT &&value)
AWS_GLUEDATABREW_API Job & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOutputs(OutputsT &&value)
void SetMaxRetries(int value)
Job & WithRoleArn(RoleArnT &&value)
Job & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
void SetLogSubscription(LogSubscription value)
int GetMaxRetries() const
bool OutputsHasBeenSet() const
bool CreateDateHasBeenSet() const
bool ProjectNameHasBeenSet() const
Job & AddDataCatalogOutputs(DataCatalogOutputsT &&value)
AWS_GLUEDATABREW_API Job(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedBy(LastModifiedByT &&value)
void SetLastModifiedDate(LastModifiedDateT &&value)
const Aws::String & GetLastModifiedBy() const
bool NameHasBeenSet() const
const Aws::String & GetProjectName() const
bool ValidationConfigurationsHasBeenSet() const
bool CreatedByHasBeenSet() const
Job & AddDatabaseOutputs(DatabaseOutputsT &&value)
EncryptionMode GetEncryptionMode() const
const Aws::Utils::DateTime & GetLastModifiedDate() const
const JobSample & GetJobSample() const
void SetEncryptionKeyArn(EncryptionKeyArnT &&value)
bool DatasetNameHasBeenSet() const
Job & WithProjectName(ProjectNameT &&value)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRoleArn() const
const Aws::Vector< DatabaseOutput > & GetDatabaseOutputs() const
Job & WithName(NameT &&value)
bool LogSubscriptionHasBeenSet() const
void SetTags(TagsT &&value)
void SetMaxCapacity(int value)
const Aws::Utils::DateTime & GetCreateDate() const
const RecipeReference & GetRecipeReference() const
void SetResourceArn(ResourceArnT &&value)
const Aws::Vector< Output > & GetOutputs() const
bool EncryptionKeyArnHasBeenSet() const
bool EncryptionModeHasBeenSet() const
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