7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/m2/MainframeModernization_EXPORTS.h>
11#include <aws/m2/model/BatchJobExecutionStatus.h>
12#include <aws/m2/model/BatchJobIdentifier.h>
13#include <aws/m2/model/BatchJobType.h>
14#include <aws/m2/model/JobStepRestartMarker.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace MainframeModernization {
41 template <
typename ApplicationIdT = Aws::String>
43 m_applicationIdHasBeenSet =
true;
44 m_applicationId = std::forward<ApplicationIdT>(value);
46 template <
typename ApplicationIdT = Aws::String>
58 template <
typename BatchJobIdentifierT = BatchJobIdentifier>
60 m_batchJobIdentifierHasBeenSet =
true;
61 m_batchJobIdentifier = std::forward<BatchJobIdentifierT>(value);
63 template <
typename BatchJobIdentifierT = BatchJobIdentifier>
75 template <
typename EndTimeT = Aws::Utils::DateTime>
77 m_endTimeHasBeenSet =
true;
78 m_endTime = std::forward<EndTimeT>(value);
80 template <
typename EndTimeT = Aws::Utils::DateTime>
92 template <
typename ExecutionIdT = Aws::String>
94 m_executionIdHasBeenSet =
true;
95 m_executionId = std::forward<ExecutionIdT>(value);
97 template <
typename ExecutionIdT = Aws::String>
109 template <
typename JobIdT = Aws::String>
111 m_jobIdHasBeenSet =
true;
112 m_jobId = std::forward<JobIdT>(value);
114 template <
typename JobIdT = Aws::String>
116 SetJobId(std::forward<JobIdT>(value));
126 template <
typename JobNameT = Aws::String>
128 m_jobNameHasBeenSet =
true;
129 m_jobName = std::forward<JobNameT>(value);
131 template <
typename JobNameT = Aws::String>
143 template <
typename JobStepRestartMarkerT = JobStepRestartMarker>
145 m_jobStepRestartMarkerHasBeenSet =
true;
146 m_jobStepRestartMarker = std::forward<JobStepRestartMarkerT>(value);
148 template <
typename JobStepRestartMarkerT = JobStepRestartMarker>
161 m_jobTypeHasBeenSet =
true;
175 template <
typename JobUserT = Aws::String>
177 m_jobUserHasBeenSet =
true;
178 m_jobUser = std::forward<JobUserT>(value);
180 template <
typename JobUserT = Aws::String>
196 template <
typename ReturnCodeT = Aws::String>
198 m_returnCodeHasBeenSet =
true;
199 m_returnCode = std::forward<ReturnCodeT>(value);
201 template <
typename ReturnCodeT = Aws::String>
213 template <
typename StartTimeT = Aws::Utils::DateTime>
215 m_startTimeHasBeenSet =
true;
216 m_startTime = std::forward<StartTimeT>(value);
218 template <
typename StartTimeT = Aws::Utils::DateTime>
231 m_statusHasBeenSet =
true;
245 template <
typename StatusReasonT = Aws::String>
247 m_statusReasonHasBeenSet =
true;
248 m_statusReason = std::forward<StatusReasonT>(value);
250 template <
typename StatusReasonT = Aws::String>
260 template <
typename RequestIdT = Aws::String>
262 m_requestIdHasBeenSet =
true;
263 m_requestId = std::forward<RequestIdT>(value);
265 template <
typename RequestIdT = Aws::String>
286 JobStepRestartMarker m_jobStepRestartMarker;
302 bool m_applicationIdHasBeenSet =
false;
303 bool m_batchJobIdentifierHasBeenSet =
false;
304 bool m_endTimeHasBeenSet =
false;
305 bool m_executionIdHasBeenSet =
false;
306 bool m_jobIdHasBeenSet =
false;
307 bool m_jobNameHasBeenSet =
false;
308 bool m_jobStepRestartMarkerHasBeenSet =
false;
309 bool m_jobTypeHasBeenSet =
false;
310 bool m_jobUserHasBeenSet =
false;
311 bool m_returnCodeHasBeenSet =
false;
312 bool m_startTimeHasBeenSet =
false;
313 bool m_statusHasBeenSet =
false;
314 bool m_statusReasonHasBeenSet =
false;
315 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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