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>
44 AWS_GLUEDATABREW_API
JobRun() =
default;
56 inline void SetAttempt(
int value) { m_attemptHasBeenSet =
true; m_attempt = value; }
66 template<
typename CompletedOnT = Aws::Utils::DateTime>
67 void SetCompletedOn(CompletedOnT&& value) { m_completedOnHasBeenSet =
true; m_completedOn = std::forward<CompletedOnT>(value); }
68 template<
typename CompletedOnT = Aws::Utils::DateTime>
78 template<
typename DatasetNameT = Aws::String>
79 void SetDatasetName(DatasetNameT&& value) { m_datasetNameHasBeenSet =
true; m_datasetName = std::forward<DatasetNameT>(value); }
80 template<
typename DatasetNameT = Aws::String>
91 template<
typename ErrorMessageT = Aws::String>
92 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
93 template<
typename ErrorMessageT = Aws::String>
104 inline void SetExecutionTime(
int value) { m_executionTimeHasBeenSet =
true; m_executionTime = value; }
114 template<
typename JobNameT = Aws::String>
115 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet =
true; m_jobName = std::forward<JobNameT>(value); }
116 template<
typename JobNameT = Aws::String>
126 template<
typename RunIdT = Aws::String>
127 void SetRunId(RunIdT&& value) { m_runIdHasBeenSet =
true; m_runId = std::forward<RunIdT>(value); }
128 template<
typename RunIdT = Aws::String>
159 template<
typename LogGroupNameT = Aws::String>
160 void SetLogGroupName(LogGroupNameT&& value) { m_logGroupNameHasBeenSet =
true; m_logGroupName = std::forward<LogGroupNameT>(value); }
161 template<
typename LogGroupNameT = Aws::String>
171 template<
typename OutputsT = Aws::Vector<Output>>
172 void SetOutputs(OutputsT&& value) { m_outputsHasBeenSet =
true; m_outputs = std::forward<OutputsT>(value); }
173 template<
typename OutputsT = Aws::Vector<Output>>
175 template<
typename OutputsT = Output>
176 JobRun&
AddOutputs(OutputsT&& value) { m_outputsHasBeenSet =
true; m_outputs.emplace_back(std::forward<OutputsT>(value));
return *
this; }
186 template<
typename DataCatalogOutputsT = Aws::Vector<DataCatalogOutput>>
187 void SetDataCatalogOutputs(DataCatalogOutputsT&& value) { m_dataCatalogOutputsHasBeenSet =
true; m_dataCatalogOutputs = std::forward<DataCatalogOutputsT>(value); }
188 template<
typename DataCatalogOutputsT = Aws::Vector<DataCatalogOutput>>
190 template<
typename DataCatalogOutputsT = DataCatalogOutput>
191 JobRun&
AddDataCatalogOutputs(DataCatalogOutputsT&& value) { m_dataCatalogOutputsHasBeenSet =
true; m_dataCatalogOutputs.emplace_back(std::forward<DataCatalogOutputsT>(value));
return *
this; }
201 template<
typename DatabaseOutputsT = Aws::Vector<DatabaseOutput>>
202 void SetDatabaseOutputs(DatabaseOutputsT&& value) { m_databaseOutputsHasBeenSet =
true; m_databaseOutputs = std::forward<DatabaseOutputsT>(value); }
203 template<
typename DatabaseOutputsT = Aws::Vector<DatabaseOutput>>
205 template<
typename DatabaseOutputsT = DatabaseOutput>
206 JobRun&
AddDatabaseOutputs(DatabaseOutputsT&& value) { m_databaseOutputsHasBeenSet =
true; m_databaseOutputs.emplace_back(std::forward<DatabaseOutputsT>(value));
return *
this; }
215 template<
typename RecipeReferenceT = RecipeReference>
216 void SetRecipeReference(RecipeReferenceT&& value) { m_recipeReferenceHasBeenSet =
true; m_recipeReference = std::forward<RecipeReferenceT>(value); }
217 template<
typename RecipeReferenceT = RecipeReference>
227 template<
typename StartedByT = Aws::String>
228 void SetStartedBy(StartedByT&& value) { m_startedByHasBeenSet =
true; m_startedBy = std::forward<StartedByT>(value); }
229 template<
typename StartedByT = Aws::String>
239 template<
typename StartedOnT = Aws::Utils::DateTime>
240 void SetStartedOn(StartedOnT&& value) { m_startedOnHasBeenSet =
true; m_startedOn = std::forward<StartedOnT>(value); }
241 template<
typename StartedOnT = Aws::Utils::DateTime>
254 template<
typename JobSampleT = JobSample>
255 void SetJobSample(JobSampleT&& value) { m_jobSampleHasBeenSet =
true; m_jobSample = std::forward<JobSampleT>(value); }
256 template<
typename JobSampleT = JobSample>
267 template<
typename Val
idationConfigurationsT = Aws::Vector<Val
idationConfiguration>>
268 void SetValidationConfigurations(ValidationConfigurationsT&& value) { m_validationConfigurationsHasBeenSet =
true; m_validationConfigurations = std::forward<ValidationConfigurationsT>(value); }
269 template<
typename Val
idationConfigurationsT = Aws::Vector<Val
idationConfiguration>>
271 template<
typename Val
idationConfigurationsT = Val
idationConfiguration>
272 JobRun&
AddValidationConfigurations(ValidationConfigurationsT&& value) { m_validationConfigurationsHasBeenSet =
true; m_validationConfigurations.emplace_back(std::forward<ValidationConfigurationsT>(value));
return *
this; }
277 bool m_attemptHasBeenSet =
false;
280 bool m_completedOnHasBeenSet =
false;
283 bool m_datasetNameHasBeenSet =
false;
286 bool m_errorMessageHasBeenSet =
false;
288 int m_executionTime{0};
289 bool m_executionTimeHasBeenSet =
false;
292 bool m_jobNameHasBeenSet =
false;
295 bool m_runIdHasBeenSet =
false;
298 bool m_stateHasBeenSet =
false;
301 bool m_logSubscriptionHasBeenSet =
false;
304 bool m_logGroupNameHasBeenSet =
false;
307 bool m_outputsHasBeenSet =
false;
310 bool m_dataCatalogOutputsHasBeenSet =
false;
313 bool m_databaseOutputsHasBeenSet =
false;
315 RecipeReference m_recipeReference;
316 bool m_recipeReferenceHasBeenSet =
false;
319 bool m_startedByHasBeenSet =
false;
322 bool m_startedOnHasBeenSet =
false;
324 JobSample m_jobSample;
325 bool m_jobSampleHasBeenSet =
false;
328 bool m_validationConfigurationsHasBeenSet =
false;
void SetJobName(JobNameT &&value)
void SetCompletedOn(CompletedOnT &&value)
void SetStartedOn(StartedOnT &&value)
void SetExecutionTime(int value)
bool LogGroupNameHasBeenSet() const
JobRunState GetState() const
bool OutputsHasBeenSet() const
const RecipeReference & GetRecipeReference() const
JobRun & WithCompletedOn(CompletedOnT &&value)
void SetErrorMessage(ErrorMessageT &&value)
void SetAttempt(int value)
bool AttemptHasBeenSet() const
bool JobSampleHasBeenSet() const
const Aws::Vector< ValidationConfiguration > & GetValidationConfigurations() const
AWS_GLUEDATABREW_API JobRun & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUEDATABREW_API JobRun(Aws::Utils::Json::JsonView jsonValue)
bool RecipeReferenceHasBeenSet() const
JobRun & WithOutputs(OutputsT &&value)
bool JobNameHasBeenSet() const
void SetValidationConfigurations(ValidationConfigurationsT &&value)
const Aws::Vector< DatabaseOutput > & GetDatabaseOutputs() const
bool ErrorMessageHasBeenSet() const
const Aws::Utils::DateTime & GetStartedOn() const
const Aws::String & GetStartedBy() const
JobRun & WithAttempt(int value)
JobRun & WithDataCatalogOutputs(DataCatalogOutputsT &&value)
JobRun & WithDatasetName(DatasetNameT &&value)
bool DataCatalogOutputsHasBeenSet() const
JobRun & WithLogSubscription(LogSubscription value)
bool ExecutionTimeHasBeenSet() const
bool StateHasBeenSet() const
void SetDatasetName(DatasetNameT &&value)
JobRun & WithDatabaseOutputs(DatabaseOutputsT &&value)
bool LogSubscriptionHasBeenSet() const
void SetDataCatalogOutputs(DataCatalogOutputsT &&value)
int GetExecutionTime() const
bool DatabaseOutputsHasBeenSet() const
void SetLogGroupName(LogGroupNameT &&value)
bool DatasetNameHasBeenSet() const
LogSubscription GetLogSubscription() const
const Aws::Vector< DataCatalogOutput > & GetDataCatalogOutputs() const
JobRun & WithJobName(JobNameT &&value)
JobRun & WithJobSample(JobSampleT &&value)
bool StartedByHasBeenSet() const
JobRun & AddValidationConfigurations(ValidationConfigurationsT &&value)
void SetOutputs(OutputsT &&value)
void SetRunId(RunIdT &&value)
JobRun & AddOutputs(OutputsT &&value)
bool CompletedOnHasBeenSet() const
JobRun & WithExecutionTime(int value)
JobRun & WithLogGroupName(LogGroupNameT &&value)
const Aws::String & GetDatasetName() const
AWS_GLUEDATABREW_API JobRun()=default
void SetDatabaseOutputs(DatabaseOutputsT &&value)
void SetJobSample(JobSampleT &&value)
void SetStartedBy(StartedByT &&value)
JobRun & WithStartedOn(StartedOnT &&value)
JobRun & AddDataCatalogOutputs(DataCatalogOutputsT &&value)
void SetRecipeReference(RecipeReferenceT &&value)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
JobRun & WithStartedBy(StartedByT &&value)
const Aws::String & GetErrorMessage() const
JobRun & WithErrorMessage(ErrorMessageT &&value)
JobRun & WithState(JobRunState value)
bool StartedOnHasBeenSet() const
bool ValidationConfigurationsHasBeenSet() const
bool RunIdHasBeenSet() const
JobRun & AddDatabaseOutputs(DatabaseOutputsT &&value)
const JobSample & GetJobSample() const
JobRun & WithRunId(RunIdT &&value)
void SetLogSubscription(LogSubscription value)
JobRun & WithRecipeReference(RecipeReferenceT &&value)
void SetState(JobRunState value)
const Aws::Vector< Output > & GetOutputs() const
JobRun & WithValidationConfigurations(ValidationConfigurationsT &&value)
const Aws::String & GetRunId() const
const Aws::String & GetLogGroupName() const
const Aws::Utils::DateTime & GetCompletedOn() const
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