7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/m2/model/BatchJobIdentifier.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/m2/model/JobStepRestartMarker.h>
12#include <aws/m2/model/BatchJobType.h>
13#include <aws/m2/model/BatchJobExecutionStatus.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
28namespace MainframeModernization
45 template<
typename ApplicationIdT = Aws::String>
46 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet =
true; m_applicationId = std::forward<ApplicationIdT>(value); }
47 template<
typename ApplicationIdT = Aws::String>
56 template<
typename BatchJobIdentifierT = BatchJobIdentifier>
57 void SetBatchJobIdentifier(BatchJobIdentifierT&& value) { m_batchJobIdentifierHasBeenSet =
true; m_batchJobIdentifier = std::forward<BatchJobIdentifierT>(value); }
58 template<
typename BatchJobIdentifierT = BatchJobIdentifier>
67 template<
typename EndTimeT = Aws::Utils::DateTime>
68 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
69 template<
typename EndTimeT = Aws::Utils::DateTime>
78 template<
typename ExecutionIdT = Aws::String>
79 void SetExecutionId(ExecutionIdT&& value) { m_executionIdHasBeenSet =
true; m_executionId = std::forward<ExecutionIdT>(value); }
80 template<
typename ExecutionIdT = Aws::String>
89 template<
typename JobIdT = Aws::String>
90 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet =
true; m_jobId = std::forward<JobIdT>(value); }
91 template<
typename JobIdT = Aws::String>
100 template<
typename JobNameT = Aws::String>
101 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet =
true; m_jobName = std::forward<JobNameT>(value); }
102 template<
typename JobNameT = Aws::String>
111 template<
typename JobStepRestartMarkerT = JobStepRestartMarker>
112 void SetJobStepRestartMarker(JobStepRestartMarkerT&& value) { m_jobStepRestartMarkerHasBeenSet =
true; m_jobStepRestartMarker = std::forward<JobStepRestartMarkerT>(value); }
113 template<
typename JobStepRestartMarkerT = JobStepRestartMarker>
131 template<
typename JobUserT = Aws::String>
132 void SetJobUser(JobUserT&& value) { m_jobUserHasBeenSet =
true; m_jobUser = std::forward<JobUserT>(value); }
133 template<
typename JobUserT = Aws::String>
146 template<
typename ReturnCodeT = Aws::String>
147 void SetReturnCode(ReturnCodeT&& value) { m_returnCodeHasBeenSet =
true; m_returnCode = std::forward<ReturnCodeT>(value); }
148 template<
typename ReturnCodeT = Aws::String>
157 template<
typename StartTimeT = Aws::Utils::DateTime>
158 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
159 template<
typename StartTimeT = Aws::Utils::DateTime>
177 template<
typename StatusReasonT = Aws::String>
178 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
179 template<
typename StatusReasonT = Aws::String>
186 template<
typename RequestIdT = Aws::String>
187 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
188 template<
typename RequestIdT = Aws::String>
194 bool m_applicationIdHasBeenSet =
false;
197 bool m_batchJobIdentifierHasBeenSet =
false;
200 bool m_endTimeHasBeenSet =
false;
203 bool m_executionIdHasBeenSet =
false;
206 bool m_jobIdHasBeenSet =
false;
209 bool m_jobNameHasBeenSet =
false;
211 JobStepRestartMarker m_jobStepRestartMarker;
212 bool m_jobStepRestartMarkerHasBeenSet =
false;
215 bool m_jobTypeHasBeenSet =
false;
218 bool m_jobUserHasBeenSet =
false;
221 bool m_returnCodeHasBeenSet =
false;
224 bool m_startTimeHasBeenSet =
false;
227 bool m_statusHasBeenSet =
false;
230 bool m_statusReasonHasBeenSet =
false;
233 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetApplicationId() const
GetBatchJobExecutionResult & WithJobType(BatchJobType value)
const Aws::String & GetExecutionId() const
AWS_MAINFRAMEMODERNIZATION_API GetBatchJobExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBatchJobExecutionResult & WithJobUser(JobUserT &&value)
GetBatchJobExecutionResult & WithJobStepRestartMarker(JobStepRestartMarkerT &&value)
void SetJobType(BatchJobType value)
GetBatchJobExecutionResult & WithEndTime(EndTimeT &&value)
void SetRequestId(RequestIdT &&value)
GetBatchJobExecutionResult & WithStatus(BatchJobExecutionStatus value)
GetBatchJobExecutionResult & WithStatusReason(StatusReasonT &&value)
const Aws::String & GetReturnCode() const
GetBatchJobExecutionResult & WithJobId(JobIdT &&value)
const BatchJobIdentifier & GetBatchJobIdentifier() const
const Aws::String & GetJobId() const
GetBatchJobExecutionResult & WithRequestId(RequestIdT &&value)
void SetBatchJobIdentifier(BatchJobIdentifierT &&value)
GetBatchJobExecutionResult & WithStartTime(StartTimeT &&value)
void SetStatus(BatchJobExecutionStatus value)
const Aws::String & GetRequestId() const
void SetJobStepRestartMarker(JobStepRestartMarkerT &&value)
BatchJobExecutionStatus GetStatus() const
void SetStartTime(StartTimeT &&value)
void SetExecutionId(ExecutionIdT &&value)
const Aws::String & GetStatusReason() const
void SetJobUser(JobUserT &&value)
const Aws::String & GetJobName() const
void SetReturnCode(ReturnCodeT &&value)
GetBatchJobExecutionResult & WithReturnCode(ReturnCodeT &&value)
const JobStepRestartMarker & GetJobStepRestartMarker() const
void SetStatusReason(StatusReasonT &&value)
void SetEndTime(EndTimeT &&value)
GetBatchJobExecutionResult & WithExecutionId(ExecutionIdT &&value)
AWS_MAINFRAMEMODERNIZATION_API GetBatchJobExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetStartTime() const
const Aws::String & GetJobUser() const
const Aws::Utils::DateTime & GetEndTime() const
GetBatchJobExecutionResult & WithApplicationId(ApplicationIdT &&value)
AWS_MAINFRAMEMODERNIZATION_API GetBatchJobExecutionResult()=default
GetBatchJobExecutionResult & WithJobName(JobNameT &&value)
void SetApplicationId(ApplicationIdT &&value)
BatchJobType GetJobType() const
void SetJobName(JobNameT &&value)
void SetJobId(JobIdT &&value)
GetBatchJobExecutionResult & WithBatchJobIdentifier(BatchJobIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue