7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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/RecipeReference.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/databrew/model/JobSample.h>
17#include <aws/databrew/model/Output.h>
18#include <aws/databrew/model/DataCatalogOutput.h>
19#include <aws/databrew/model/DatabaseOutput.h>
20#include <aws/databrew/model/ValidationConfiguration.h>
46 AWS_GLUEDATABREW_API
Job() =
default;
58 template<
typename AccountIdT = Aws::String>
59 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
60 template<
typename AccountIdT = Aws::String>
70 template<
typename CreatedByT = Aws::String>
71 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
72 template<
typename CreatedByT = Aws::String>
82 template<
typename CreateDateT = Aws::Utils::DateTime>
83 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet =
true; m_createDate = std::forward<CreateDateT>(value); }
84 template<
typename CreateDateT = Aws::Utils::DateTime>
94 template<
typename DatasetNameT = Aws::String>
95 void SetDatasetName(DatasetNameT&& value) { m_datasetNameHasBeenSet =
true; m_datasetName = std::forward<DatasetNameT>(value); }
96 template<
typename DatasetNameT = Aws::String>
109 template<
typename EncryptionKeyArnT = Aws::String>
110 void SetEncryptionKeyArn(EncryptionKeyArnT&& value) { m_encryptionKeyArnHasBeenSet =
true; m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value); }
111 template<
typename EncryptionKeyArnT = Aws::String>
134 template<
typename NameT = Aws::String>
135 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
136 template<
typename NameT = Aws::String>
159 template<
typename LastModifiedByT = Aws::String>
160 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet =
true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
161 template<
typename LastModifiedByT = Aws::String>
171 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
172 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
173 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
194 inline void SetMaxCapacity(
int value) { m_maxCapacityHasBeenSet =
true; m_maxCapacity = value; }
204 inline void SetMaxRetries(
int value) { m_maxRetriesHasBeenSet =
true; m_maxRetries = value; }
214 template<
typename OutputsT = Aws::Vector<Output>>
215 void SetOutputs(OutputsT&& value) { m_outputsHasBeenSet =
true; m_outputs = std::forward<OutputsT>(value); }
216 template<
typename OutputsT = Aws::Vector<Output>>
218 template<
typename OutputsT = Output>
219 Job&
AddOutputs(OutputsT&& value) { m_outputsHasBeenSet =
true; m_outputs.emplace_back(std::forward<OutputsT>(value));
return *
this; }
229 template<
typename DataCatalogOutputsT = Aws::Vector<DataCatalogOutput>>
230 void SetDataCatalogOutputs(DataCatalogOutputsT&& value) { m_dataCatalogOutputsHasBeenSet =
true; m_dataCatalogOutputs = std::forward<DataCatalogOutputsT>(value); }
231 template<
typename DataCatalogOutputsT = Aws::Vector<DataCatalogOutput>>
233 template<
typename DataCatalogOutputsT = DataCatalogOutput>
234 Job&
AddDataCatalogOutputs(DataCatalogOutputsT&& value) { m_dataCatalogOutputsHasBeenSet =
true; m_dataCatalogOutputs.emplace_back(std::forward<DataCatalogOutputsT>(value));
return *
this; }
244 template<
typename DatabaseOutputsT = Aws::Vector<DatabaseOutput>>
245 void SetDatabaseOutputs(DatabaseOutputsT&& value) { m_databaseOutputsHasBeenSet =
true; m_databaseOutputs = std::forward<DatabaseOutputsT>(value); }
246 template<
typename DatabaseOutputsT = Aws::Vector<DatabaseOutput>>
248 template<
typename DatabaseOutputsT = DatabaseOutput>
249 Job&
AddDatabaseOutputs(DatabaseOutputsT&& value) { m_databaseOutputsHasBeenSet =
true; m_databaseOutputs.emplace_back(std::forward<DatabaseOutputsT>(value));
return *
this; }
258 template<
typename ProjectNameT = Aws::String>
259 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet =
true; m_projectName = std::forward<ProjectNameT>(value); }
260 template<
typename ProjectNameT = Aws::String>
270 template<
typename RecipeReferenceT = RecipeReference>
271 void SetRecipeReference(RecipeReferenceT&& value) { m_recipeReferenceHasBeenSet =
true; m_recipeReference = std::forward<RecipeReferenceT>(value); }
272 template<
typename RecipeReferenceT = RecipeReference>
282 template<
typename ResourceArnT = Aws::String>
283 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet =
true; m_resourceArn = std::forward<ResourceArnT>(value); }
284 template<
typename ResourceArnT = Aws::String>
294 template<
typename RoleArnT = Aws::String>
295 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
296 template<
typename RoleArnT = Aws::String>
307 inline void SetTimeout(
int value) { m_timeoutHasBeenSet =
true; m_timeout = value; }
317 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
318 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
319 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
321 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
323 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
336 template<
typename JobSampleT = JobSample>
337 void SetJobSample(JobSampleT&& value) { m_jobSampleHasBeenSet =
true; m_jobSample = std::forward<JobSampleT>(value); }
338 template<
typename JobSampleT = JobSample>
348 template<
typename Val
idationConfigurationsT = Aws::Vector<Val
idationConfiguration>>
349 void SetValidationConfigurations(ValidationConfigurationsT&& value) { m_validationConfigurationsHasBeenSet =
true; m_validationConfigurations = std::forward<ValidationConfigurationsT>(value); }
350 template<
typename Val
idationConfigurationsT = Aws::Vector<Val
idationConfiguration>>
352 template<
typename Val
idationConfigurationsT = Val
idationConfiguration>
353 Job&
AddValidationConfigurations(ValidationConfigurationsT&& value) { m_validationConfigurationsHasBeenSet =
true; m_validationConfigurations.emplace_back(std::forward<ValidationConfigurationsT>(value));
return *
this; }
358 bool m_accountIdHasBeenSet =
false;
361 bool m_createdByHasBeenSet =
false;
364 bool m_createDateHasBeenSet =
false;
367 bool m_datasetNameHasBeenSet =
false;
370 bool m_encryptionKeyArnHasBeenSet =
false;
373 bool m_encryptionModeHasBeenSet =
false;
376 bool m_nameHasBeenSet =
false;
379 bool m_typeHasBeenSet =
false;
382 bool m_lastModifiedByHasBeenSet =
false;
385 bool m_lastModifiedDateHasBeenSet =
false;
388 bool m_logSubscriptionHasBeenSet =
false;
390 int m_maxCapacity{0};
391 bool m_maxCapacityHasBeenSet =
false;
394 bool m_maxRetriesHasBeenSet =
false;
397 bool m_outputsHasBeenSet =
false;
400 bool m_dataCatalogOutputsHasBeenSet =
false;
403 bool m_databaseOutputsHasBeenSet =
false;
406 bool m_projectNameHasBeenSet =
false;
408 RecipeReference m_recipeReference;
409 bool m_recipeReferenceHasBeenSet =
false;
412 bool m_resourceArnHasBeenSet =
false;
415 bool m_roleArnHasBeenSet =
false;
418 bool m_timeoutHasBeenSet =
false;
421 bool m_tagsHasBeenSet =
false;
423 JobSample m_jobSample;
424 bool m_jobSampleHasBeenSet =
false;
427 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