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/BatchJobType.h>
12#include <aws/m2/model/BatchJobExecutionStatus.h>
25namespace MainframeModernization
51 template<
typename ApplicationIdT = Aws::String>
52 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet =
true; m_applicationId = std::forward<ApplicationIdT>(value); }
53 template<
typename ApplicationIdT = Aws::String>
63 template<
typename BatchJobIdentifierT = BatchJobIdentifier>
64 void SetBatchJobIdentifier(BatchJobIdentifierT&& value) { m_batchJobIdentifierHasBeenSet =
true; m_batchJobIdentifier = std::forward<BatchJobIdentifierT>(value); }
65 template<
typename BatchJobIdentifierT = BatchJobIdentifier>
75 template<
typename EndTimeT = Aws::Utils::DateTime>
76 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
77 template<
typename EndTimeT = Aws::Utils::DateTime>
87 template<
typename ExecutionIdT = Aws::String>
88 void SetExecutionId(ExecutionIdT&& value) { m_executionIdHasBeenSet =
true; m_executionId = std::forward<ExecutionIdT>(value); }
89 template<
typename ExecutionIdT = Aws::String>
99 template<
typename JobIdT = Aws::String>
100 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet =
true; m_jobId = std::forward<JobIdT>(value); }
101 template<
typename JobIdT = Aws::String>
111 template<
typename JobNameT = Aws::String>
112 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet =
true; m_jobName = std::forward<JobNameT>(value); }
113 template<
typename JobNameT = Aws::String>
137 template<
typename ReturnCodeT = Aws::String>
138 void SetReturnCode(ReturnCodeT&& value) { m_returnCodeHasBeenSet =
true; m_returnCode = std::forward<ReturnCodeT>(value); }
139 template<
typename ReturnCodeT = Aws::String>
149 template<
typename StartTimeT = Aws::Utils::DateTime>
150 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
151 template<
typename StartTimeT = Aws::Utils::DateTime>
167 bool m_applicationIdHasBeenSet =
false;
170 bool m_batchJobIdentifierHasBeenSet =
false;
173 bool m_endTimeHasBeenSet =
false;
176 bool m_executionIdHasBeenSet =
false;
179 bool m_jobIdHasBeenSet =
false;
182 bool m_jobNameHasBeenSet =
false;
185 bool m_jobTypeHasBeenSet =
false;
188 bool m_returnCodeHasBeenSet =
false;
191 bool m_startTimeHasBeenSet =
false;
194 bool m_statusHasBeenSet =
false;
BatchJobExecutionSummary & WithBatchJobIdentifier(BatchJobIdentifierT &&value)
BatchJobExecutionSummary & WithStatus(BatchJobExecutionStatus value)
void SetExecutionId(ExecutionIdT &&value)
BatchJobExecutionSummary & WithReturnCode(ReturnCodeT &&value)
AWS_MAINFRAMEMODERNIZATION_API BatchJobExecutionSummary()=default
const BatchJobIdentifier & GetBatchJobIdentifier() const
bool ExecutionIdHasBeenSet() const
BatchJobExecutionSummary & WithEndTime(EndTimeT &&value)
void SetBatchJobIdentifier(BatchJobIdentifierT &&value)
BatchJobType GetJobType() const
BatchJobExecutionStatus GetStatus() const
void SetJobName(JobNameT &&value)
void SetStatus(BatchJobExecutionStatus value)
BatchJobExecutionSummary & WithStartTime(StartTimeT &&value)
const Aws::Utils::DateTime & GetEndTime() const
bool JobIdHasBeenSet() const
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
bool StartTimeHasBeenSet() const
const Aws::String & GetApplicationId() const
const Aws::String & GetJobId() const
void SetEndTime(EndTimeT &&value)
BatchJobExecutionSummary & WithJobType(BatchJobType value)
bool ReturnCodeHasBeenSet() const
BatchJobExecutionSummary & WithJobName(JobNameT &&value)
const Aws::Utils::DateTime & GetStartTime() const
bool ApplicationIdHasBeenSet() const
bool JobTypeHasBeenSet() const
const Aws::String & GetExecutionId() const
void SetStartTime(StartTimeT &&value)
const Aws::String & GetReturnCode() const
BatchJobExecutionSummary & WithApplicationId(ApplicationIdT &&value)
bool BatchJobIdentifierHasBeenSet() const
void SetReturnCode(ReturnCodeT &&value)
BatchJobExecutionSummary & WithExecutionId(ExecutionIdT &&value)
bool EndTimeHasBeenSet() const
const Aws::String & GetJobName() const
BatchJobExecutionSummary & WithJobId(JobIdT &&value)
void SetApplicationId(ApplicationIdT &&value)
bool JobNameHasBeenSet() const
AWS_MAINFRAMEMODERNIZATION_API BatchJobExecutionSummary(Aws::Utils::Json::JsonView jsonValue)
void SetJobId(JobIdT &&value)
AWS_MAINFRAMEMODERNIZATION_API BatchJobExecutionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
void SetJobType(BatchJobType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue