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();
60 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
74 inline void SetCreatedBy(
const char* value) { m_createdByHasBeenSet =
true; m_createdBy.assign(value); }
100 inline void SetDatasetName(
const char* value) { m_datasetNameHasBeenSet =
true; m_datasetName.assign(value); }
117 inline void SetEncryptionKeyArn(
const char* value) { m_encryptionKeyArnHasBeenSet =
true; m_encryptionKeyArn.assign(value); }
146 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
161 inline void SetType(
const JobType& value) { m_typeHasBeenSet =
true; m_type = value; }
162 inline void SetType(
JobType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
175 inline void SetLastModifiedBy(
const char* value) { m_lastModifiedByHasBeenSet =
true; m_lastModifiedBy.assign(value); }
212 inline void SetMaxCapacity(
int value) { m_maxCapacityHasBeenSet =
true; m_maxCapacity = value; }
222 inline void SetMaxRetries(
int value) { m_maxRetriesHasBeenSet =
true; m_maxRetries = value; }
236 inline Job&
AddOutputs(
const Output& value) { m_outputsHasBeenSet =
true; m_outputs.push_back(value);
return *
this; }
237 inline Job&
AddOutputs(
Output&& value) { m_outputsHasBeenSet =
true; m_outputs.push_back(std::move(value));
return *
this; }
278 inline void SetProjectName(
const char* value) { m_projectNameHasBeenSet =
true; m_projectName.assign(value); }
304 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
318 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
331 inline void SetTimeout(
int value) { m_timeoutHasBeenSet =
true; m_timeout = value; }
349 inline Job&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
350 inline Job&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
351 inline Job&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
385 bool m_accountIdHasBeenSet =
false;
388 bool m_createdByHasBeenSet =
false;
391 bool m_createDateHasBeenSet =
false;
394 bool m_datasetNameHasBeenSet =
false;
397 bool m_encryptionKeyArnHasBeenSet =
false;
400 bool m_encryptionModeHasBeenSet =
false;
403 bool m_nameHasBeenSet =
false;
406 bool m_typeHasBeenSet =
false;
409 bool m_lastModifiedByHasBeenSet =
false;
412 bool m_lastModifiedDateHasBeenSet =
false;
415 bool m_logSubscriptionHasBeenSet =
false;
418 bool m_maxCapacityHasBeenSet =
false;
421 bool m_maxRetriesHasBeenSet =
false;
424 bool m_outputsHasBeenSet =
false;
427 bool m_dataCatalogOutputsHasBeenSet =
false;
430 bool m_databaseOutputsHasBeenSet =
false;
433 bool m_projectNameHasBeenSet =
false;
436 bool m_recipeReferenceHasBeenSet =
false;
439 bool m_resourceArnHasBeenSet =
false;
442 bool m_roleArnHasBeenSet =
false;
445 bool m_timeoutHasBeenSet =
false;
448 bool m_tagsHasBeenSet =
false;
451 bool m_jobSampleHasBeenSet =
false;
454 bool m_validationConfigurationsHasBeenSet =
false;
bool DataCatalogOutputsHasBeenSet() const
Job & AddValidationConfigurations(ValidationConfiguration &&value)
bool MaxCapacityHasBeenSet() const
void SetProjectName(const char *value)
Job & WithEncryptionMode(const EncryptionMode &value)
Job & WithMaxRetries(int value)
const Aws::Vector< ValidationConfiguration > & GetValidationConfigurations() const
void SetName(const Aws::String &value)
bool TimeoutHasBeenSet() const
Job & AddDataCatalogOutputs(DataCatalogOutput &&value)
Job & WithName(Aws::String &&value)
void SetAccountId(const char *value)
Job & WithMaxCapacity(int value)
void SetRoleArn(const Aws::String &value)
bool DatabaseOutputsHasBeenSet() const
const Aws::String & GetAccountId() const
void SetRecipeReference(RecipeReference &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Job & WithEncryptionKeyArn(const char *value)
Job & WithType(const JobType &value)
Job & WithResourceArn(const char *value)
void SetCreatedBy(Aws::String &&value)
Job & WithCreatedBy(const char *value)
Job & WithDatasetName(const Aws::String &value)
void SetType(const JobType &value)
Job & WithCreatedBy(const Aws::String &value)
Job & WithEncryptionMode(EncryptionMode &&value)
void SetEncryptionKeyArn(Aws::String &&value)
Job & WithRoleArn(const char *value)
void SetDatasetName(const char *value)
void SetLogSubscription(const LogSubscription &value)
Job & WithRecipeReference(const RecipeReference &value)
bool JobSampleHasBeenSet() const
const Aws::String & GetResourceArn() const
Job & WithRoleArn(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Vector< DataCatalogOutput > & GetDataCatalogOutputs() const
Job & WithDatabaseOutputs(Aws::Vector< DatabaseOutput > &&value)
Job & WithRecipeReference(RecipeReference &&value)
void SetEncryptionKeyArn(const Aws::String &value)
void SetDataCatalogOutputs(const Aws::Vector< DataCatalogOutput > &value)
bool LastModifiedByHasBeenSet() const
Job & WithEncryptionKeyArn(Aws::String &&value)
void SetAccountId(Aws::String &&value)
Job & WithAccountId(const char *value)
Job & WithEncryptionKeyArn(const Aws::String &value)
bool RecipeReferenceHasBeenSet() const
Job & AddTags(const char *key, Aws::String &&value)
void SetProjectName(Aws::String &&value)
const Aws::String & GetDatasetName() const
Job & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool AccountIdHasBeenSet() const
Job & WithAccountId(const Aws::String &value)
void SetRoleArn(Aws::String &&value)
void SetRecipeReference(const RecipeReference &value)
Job & AddDatabaseOutputs(DatabaseOutput &&value)
void SetName(const char *value)
bool LastModifiedDateHasBeenSet() const
void SetLastModifiedBy(Aws::String &&value)
void SetValidationConfigurations(const Aws::Vector< ValidationConfiguration > &value)
Job & WithDatabaseOutputs(const Aws::Vector< DatabaseOutput > &value)
void SetEncryptionMode(const EncryptionMode &value)
Job & WithLogSubscription(const LogSubscription &value)
Job & AddDataCatalogOutputs(const DataCatalogOutput &value)
const Aws::String & GetName() const
Job & AddOutputs(Output &&value)
Job & WithDatasetName(Aws::String &&value)
bool TagsHasBeenSet() const
bool ResourceArnHasBeenSet() const
Job & WithJobSample(JobSample &&value)
Job & WithLogSubscription(LogSubscription &&value)
void SetName(Aws::String &&value)
void SetResourceArn(const char *value)
Job & WithLastModifiedDate(Aws::Utils::DateTime &&value)
bool RoleArnHasBeenSet() const
void SetLastModifiedBy(const char *value)
const Aws::String & GetEncryptionKeyArn() const
void SetLastModifiedBy(const Aws::String &value)
Job & WithResourceArn(const Aws::String &value)
int GetMaxCapacity() const
void SetProjectName(const Aws::String &value)
AWS_GLUEDATABREW_API Job()
void SetDatasetName(const Aws::String &value)
void SetOutputs(const Aws::Vector< Output > &value)
Job & WithLastModifiedDate(const Aws::Utils::DateTime &value)
Job & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
bool MaxRetriesHasBeenSet() const
Job & WithLastModifiedBy(const Aws::String &value)
void SetTimeout(int value)
void SetJobSample(JobSample &&value)
bool TypeHasBeenSet() const
void SetValidationConfigurations(Aws::Vector< ValidationConfiguration > &&value)
const Aws::String & GetCreatedBy() const
void SetCreateDate(const Aws::Utils::DateTime &value)
Job & WithTimeout(int value)
void SetCreatedBy(const char *value)
Job & WithDataCatalogOutputs(const Aws::Vector< DataCatalogOutput > &value)
AWS_GLUEDATABREW_API Job & operator=(Aws::Utils::Json::JsonView jsonValue)
Job & WithOutputs(const Aws::Vector< Output > &value)
void SetMaxRetries(int value)
void SetCreateDate(Aws::Utils::DateTime &&value)
Job & AddValidationConfigurations(const ValidationConfiguration &value)
void SetCreatedBy(const Aws::String &value)
const EncryptionMode & GetEncryptionMode() const
Job & WithJobSample(const JobSample &value)
void SetLogSubscription(LogSubscription &&value)
Job & WithValidationConfigurations(Aws::Vector< ValidationConfiguration > &&value)
void SetRoleArn(const char *value)
void SetDataCatalogOutputs(Aws::Vector< DataCatalogOutput > &&value)
int GetMaxRetries() const
Job & AddTags(const Aws::String &key, Aws::String &&value)
Job & WithProjectName(Aws::String &&value)
Job & WithCreatedBy(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool OutputsHasBeenSet() const
Job & WithValidationConfigurations(const Aws::Vector< ValidationConfiguration > &value)
bool CreateDateHasBeenSet() const
bool ProjectNameHasBeenSet() const
Job & AddTags(Aws::String &&key, const Aws::String &value)
void SetResourceArn(Aws::String &&value)
void SetType(JobType &&value)
Job & WithDatasetName(const char *value)
AWS_GLUEDATABREW_API Job(Aws::Utils::Json::JsonView jsonValue)
void SetEncryptionKeyArn(const char *value)
const LogSubscription & GetLogSubscription() const
Job & AddTags(Aws::String &&key, const char *value)
Job & WithCreateDate(const Aws::Utils::DateTime &value)
const Aws::String & GetLastModifiedBy() const
bool NameHasBeenSet() const
Job & WithProjectName(const char *value)
const JobType & GetType() const
Job & AddDatabaseOutputs(const DatabaseOutput &value)
const Aws::String & GetProjectName() const
bool ValidationConfigurationsHasBeenSet() const
bool CreatedByHasBeenSet() const
Job & WithName(const char *value)
void SetOutputs(Aws::Vector< Output > &&value)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
void SetResourceArn(const Aws::String &value)
Job & AddOutputs(const Output &value)
Job & WithAccountId(Aws::String &&value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
void SetAccountId(const Aws::String &value)
const JobSample & GetJobSample() const
Job & WithCreateDate(Aws::Utils::DateTime &&value)
Job & WithOutputs(Aws::Vector< Output > &&value)
void SetDatasetName(Aws::String &&value)
Job & WithType(JobType &&value)
bool DatasetNameHasBeenSet() const
Job & WithLastModifiedBy(const char *value)
Job & WithResourceArn(Aws::String &&value)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEncryptionMode(EncryptionMode &&value)
const Aws::String & GetRoleArn() const
const Aws::Vector< DatabaseOutput > & GetDatabaseOutputs() const
Job & WithDataCatalogOutputs(Aws::Vector< DataCatalogOutput > &&value)
bool LogSubscriptionHasBeenSet() const
Job & WithRoleArn(const Aws::String &value)
Job & WithName(const Aws::String &value)
void SetMaxCapacity(int value)
void SetDatabaseOutputs(Aws::Vector< DatabaseOutput > &&value)
const Aws::Utils::DateTime & GetCreateDate() const
Job & WithLastModifiedBy(Aws::String &&value)
const RecipeReference & GetRecipeReference() const
void SetJobSample(const JobSample &value)
Job & AddTags(const char *key, const char *value)
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
Job & AddTags(Aws::String &&key, Aws::String &&value)
Job & WithProjectName(const Aws::String &value)
void SetDatabaseOutputs(const Aws::Vector< DatabaseOutput > &value)
const Aws::Vector< Output > & GetOutputs() const
bool EncryptionKeyArnHasBeenSet() const
Job & AddTags(const Aws::String &key, const Aws::String &value)
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