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/JobRunState.h>
11#include <aws/databrew/model/LogSubscription.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/databrew/model/RecipeReference.h>
14#include <aws/databrew/model/JobSample.h>
15#include <aws/databrew/model/Output.h>
16#include <aws/databrew/model/DataCatalogOutput.h>
17#include <aws/databrew/model/DatabaseOutput.h>
18#include <aws/databrew/model/ValidationConfiguration.h>
56 inline void SetAttempt(
int value) { m_attemptHasBeenSet =
true; m_attempt = value; }
80 inline void SetDatasetName(
const char* value) { m_datasetNameHasBeenSet =
true; m_datasetName.assign(value); }
95 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
108 inline void SetExecutionTime(
int value) { m_executionTimeHasBeenSet =
true; m_executionTime = value; }
120 inline void SetJobName(
const char* value) { m_jobNameHasBeenSet =
true; m_jobName.assign(value); }
134 inline void SetRunId(
const char* value) { m_runIdHasBeenSet =
true; m_runId.assign(value); }
173 inline void SetLogGroupName(
const char* value) { m_logGroupNameHasBeenSet =
true; m_logGroupName.assign(value); }
190 inline JobRun&
AddOutputs(
Output&& value) { m_outputsHasBeenSet =
true; m_outputs.push_back(std::move(value));
return *
this; }
243 inline void SetStartedBy(
const char* value) { m_startedByHasBeenSet =
true; m_startedBy.assign(value); }
293 bool m_attemptHasBeenSet =
false;
296 bool m_completedOnHasBeenSet =
false;
299 bool m_datasetNameHasBeenSet =
false;
302 bool m_errorMessageHasBeenSet =
false;
305 bool m_executionTimeHasBeenSet =
false;
308 bool m_jobNameHasBeenSet =
false;
311 bool m_runIdHasBeenSet =
false;
314 bool m_stateHasBeenSet =
false;
317 bool m_logSubscriptionHasBeenSet =
false;
320 bool m_logGroupNameHasBeenSet =
false;
323 bool m_outputsHasBeenSet =
false;
326 bool m_dataCatalogOutputsHasBeenSet =
false;
329 bool m_databaseOutputsHasBeenSet =
false;
332 bool m_recipeReferenceHasBeenSet =
false;
335 bool m_startedByHasBeenSet =
false;
338 bool m_startedOnHasBeenSet =
false;
341 bool m_jobSampleHasBeenSet =
false;
344 bool m_validationConfigurationsHasBeenSet =
false;
void SetJobName(const char *value)
void SetStartedBy(Aws::String &&value)
JobRun & WithJobSample(const JobSample &value)
void SetStartedOn(Aws::Utils::DateTime &&value)
void SetExecutionTime(int value)
void SetErrorMessage(const Aws::String &value)
JobRun & WithErrorMessage(const Aws::String &value)
bool LogGroupNameHasBeenSet() const
JobRun & AddOutputs(Output &&value)
void SetValidationConfigurations(const Aws::Vector< ValidationConfiguration > &value)
void SetJobName(const Aws::String &value)
void SetState(const JobRunState &value)
JobRun & WithDatabaseOutputs(const Aws::Vector< DatabaseOutput > &value)
JobRun & AddDatabaseOutputs(const DatabaseOutput &value)
JobRun & WithErrorMessage(const char *value)
JobRun & WithRecipeReference(const RecipeReference &value)
JobRun & WithLogSubscription(const LogSubscription &value)
JobRun & WithRunId(const char *value)
bool OutputsHasBeenSet() const
JobRun & WithState(const JobRunState &value)
void SetDatabaseOutputs(Aws::Vector< DatabaseOutput > &&value)
const RecipeReference & GetRecipeReference() const
JobRun & WithJobName(const Aws::String &value)
void SetCompletedOn(Aws::Utils::DateTime &&value)
void SetAttempt(int value)
void SetLogGroupName(Aws::String &&value)
JobRun & WithDatasetName(const Aws::String &value)
bool AttemptHasBeenSet() const
void SetRecipeReference(const RecipeReference &value)
bool JobSampleHasBeenSet() const
const Aws::Vector< ValidationConfiguration > & GetValidationConfigurations() const
JobRun & WithJobSample(JobSample &&value)
void SetRecipeReference(RecipeReference &&value)
AWS_GLUEDATABREW_API JobRun & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUEDATABREW_API JobRun(Aws::Utils::Json::JsonView jsonValue)
JobRun & WithRunId(const Aws::String &value)
bool RecipeReferenceHasBeenSet() const
JobRun & WithValidationConfigurations(Aws::Vector< ValidationConfiguration > &&value)
void SetDatasetName(Aws::String &&value)
bool JobNameHasBeenSet() const
JobRun & WithJobName(const char *value)
JobRun & WithLogGroupName(const Aws::String &value)
JobRun & WithErrorMessage(Aws::String &&value)
const Aws::Vector< DatabaseOutput > & GetDatabaseOutputs() const
void SetLogSubscription(LogSubscription &&value)
JobRun & AddDataCatalogOutputs(const DataCatalogOutput &value)
bool ErrorMessageHasBeenSet() const
JobRun & WithCompletedOn(Aws::Utils::DateTime &&value)
void SetLogGroupName(const Aws::String &value)
const Aws::Utils::DateTime & GetStartedOn() const
AWS_GLUEDATABREW_API JobRun()
void SetCompletedOn(const Aws::Utils::DateTime &value)
const Aws::String & GetStartedBy() const
JobRun & WithAttempt(int value)
bool DataCatalogOutputsHasBeenSet() const
JobRun & AddDatabaseOutputs(DatabaseOutput &&value)
JobRun & WithCompletedOn(const Aws::Utils::DateTime &value)
void SetRunId(Aws::String &&value)
void SetDatasetName(const char *value)
JobRun & WithStartedOn(Aws::Utils::DateTime &&value)
void SetLogSubscription(const LogSubscription &value)
void SetDatabaseOutputs(const Aws::Vector< DatabaseOutput > &value)
void SetErrorMessage(Aws::String &&value)
bool ExecutionTimeHasBeenSet() const
bool StateHasBeenSet() const
JobRun & WithLogGroupName(const char *value)
bool LogSubscriptionHasBeenSet() const
const JobRunState & GetState() const
JobRun & AddOutputs(const Output &value)
int GetExecutionTime() const
bool DatabaseOutputsHasBeenSet() const
bool DatasetNameHasBeenSet() const
JobRun & WithState(JobRunState &&value)
JobRun & WithStartedBy(Aws::String &&value)
JobRun & WithStartedBy(const Aws::String &value)
const Aws::Vector< DataCatalogOutput > & GetDataCatalogOutputs() const
void SetStartedBy(const Aws::String &value)
bool StartedByHasBeenSet() const
JobRun & WithRecipeReference(RecipeReference &&value)
JobRun & WithLogGroupName(Aws::String &&value)
JobRun & WithJobName(Aws::String &&value)
void SetRunId(const char *value)
void SetErrorMessage(const char *value)
void SetDatasetName(const Aws::String &value)
JobRun & AddValidationConfigurations(const ValidationConfiguration &value)
void SetDataCatalogOutputs(const Aws::Vector< DataCatalogOutput > &value)
bool CompletedOnHasBeenSet() const
JobRun & WithExecutionTime(int value)
const Aws::String & GetDatasetName() const
JobRun & WithDataCatalogOutputs(const Aws::Vector< DataCatalogOutput > &value)
JobRun & WithDatasetName(const char *value)
void SetOutputs(Aws::Vector< Output > &&value)
JobRun & WithOutputs(Aws::Vector< Output > &&value)
void SetValidationConfigurations(Aws::Vector< ValidationConfiguration > &&value)
void SetState(JobRunState &&value)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOutputs(const Aws::Vector< Output > &value)
const Aws::String & GetErrorMessage() const
void SetStartedBy(const char *value)
JobRun & AddValidationConfigurations(ValidationConfiguration &&value)
bool StartedOnHasBeenSet() const
JobRun & WithDatabaseOutputs(Aws::Vector< DatabaseOutput > &&value)
bool ValidationConfigurationsHasBeenSet() const
bool RunIdHasBeenSet() const
void SetStartedOn(const Aws::Utils::DateTime &value)
void SetRunId(const Aws::String &value)
JobRun & WithDataCatalogOutputs(Aws::Vector< DataCatalogOutput > &&value)
JobRun & WithStartedOn(const Aws::Utils::DateTime &value)
JobRun & WithLogSubscription(LogSubscription &&value)
const JobSample & GetJobSample() const
JobRun & WithOutputs(const Aws::Vector< Output > &value)
JobRun & WithDatasetName(Aws::String &&value)
void SetLogGroupName(const char *value)
JobRun & WithRunId(Aws::String &&value)
void SetDataCatalogOutputs(Aws::Vector< DataCatalogOutput > &&value)
JobRun & WithValidationConfigurations(const Aws::Vector< ValidationConfiguration > &value)
JobRun & WithStartedBy(const char *value)
void SetJobSample(JobSample &&value)
const LogSubscription & GetLogSubscription() const
const Aws::Vector< Output > & GetOutputs() const
JobRun & AddDataCatalogOutputs(DataCatalogOutput &&value)
const Aws::String & GetRunId() const
const Aws::String & GetLogGroupName() const
const Aws::Utils::DateTime & GetCompletedOn() const
void SetJobName(Aws::String &&value)
void SetJobSample(const JobSample &value)
const Aws::String & GetJobName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue