7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/m2/MainframeModernization_EXPORTS.h>
10#include <aws/m2/model/BatchJobExecutionStatus.h>
11#include <aws/m2/model/BatchJobIdentifier.h>
12#include <aws/m2/model/BatchJobType.h>
13#include <aws/m2/model/JobStepRestartMarker.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace MainframeModernization {
40 template <
typename ApplicationIdT = Aws::String>
42 m_applicationIdHasBeenSet =
true;
43 m_applicationId = std::forward<ApplicationIdT>(value);
45 template <
typename ApplicationIdT = Aws::String>
57 template <
typename BatchJobIdentifierT = BatchJobIdentifier>
59 m_batchJobIdentifierHasBeenSet =
true;
60 m_batchJobIdentifier = std::forward<BatchJobIdentifierT>(value);
62 template <
typename BatchJobIdentifierT = BatchJobIdentifier>
74 template <
typename EndTimeT = Aws::Utils::DateTime>
76 m_endTimeHasBeenSet =
true;
77 m_endTime = std::forward<EndTimeT>(value);
79 template <
typename EndTimeT = Aws::Utils::DateTime>
91 template <
typename ExecutionIdT = Aws::String>
93 m_executionIdHasBeenSet =
true;
94 m_executionId = std::forward<ExecutionIdT>(value);
96 template <
typename ExecutionIdT = Aws::String>
108 template <
typename JobIdT = Aws::String>
110 m_jobIdHasBeenSet =
true;
111 m_jobId = std::forward<JobIdT>(value);
113 template <
typename JobIdT = Aws::String>
115 SetJobId(std::forward<JobIdT>(value));
125 template <
typename JobNameT = Aws::String>
127 m_jobNameHasBeenSet =
true;
128 m_jobName = std::forward<JobNameT>(value);
130 template <
typename JobNameT = Aws::String>
142 template <
typename JobStepRestartMarkerT = JobStepRestartMarker>
144 m_jobStepRestartMarkerHasBeenSet =
true;
145 m_jobStepRestartMarker = std::forward<JobStepRestartMarkerT>(value);
147 template <
typename JobStepRestartMarkerT = JobStepRestartMarker>
160 m_jobTypeHasBeenSet =
true;
174 template <
typename JobUserT = Aws::String>
176 m_jobUserHasBeenSet =
true;
177 m_jobUser = std::forward<JobUserT>(value);
179 template <
typename JobUserT = Aws::String>
195 template <
typename ReturnCodeT = Aws::String>
197 m_returnCodeHasBeenSet =
true;
198 m_returnCode = std::forward<ReturnCodeT>(value);
200 template <
typename ReturnCodeT = Aws::String>
212 template <
typename StartTimeT = Aws::Utils::DateTime>
214 m_startTimeHasBeenSet =
true;
215 m_startTime = std::forward<StartTimeT>(value);
217 template <
typename StartTimeT = Aws::Utils::DateTime>
230 m_statusHasBeenSet =
true;
244 template <
typename StatusReasonT = Aws::String>
246 m_statusReasonHasBeenSet =
true;
247 m_statusReason = std::forward<StatusReasonT>(value);
249 template <
typename StatusReasonT = Aws::String>
259 template <
typename RequestIdT = Aws::String>
261 m_requestIdHasBeenSet =
true;
262 m_requestId = std::forward<RequestIdT>(value);
264 template <
typename RequestIdT = Aws::String>
283 JobStepRestartMarker m_jobStepRestartMarker;
298 bool m_applicationIdHasBeenSet =
false;
299 bool m_batchJobIdentifierHasBeenSet =
false;
300 bool m_endTimeHasBeenSet =
false;
301 bool m_executionIdHasBeenSet =
false;
302 bool m_jobIdHasBeenSet =
false;
303 bool m_jobNameHasBeenSet =
false;
304 bool m_jobStepRestartMarkerHasBeenSet =
false;
305 bool m_jobTypeHasBeenSet =
false;
306 bool m_jobUserHasBeenSet =
false;
307 bool m_returnCodeHasBeenSet =
false;
308 bool m_startTimeHasBeenSet =
false;
309 bool m_statusHasBeenSet =
false;
310 bool m_statusReasonHasBeenSet =
false;
311 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