AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetBatchJobExecutionResult.h
1
6#pragma once
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>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace MainframeModernization
29{
30namespace Model
31{
33 {
34 public:
35 AWS_MAINFRAMEMODERNIZATION_API GetBatchJobExecutionResult() = default;
38
39
41
44 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
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>
48 GetBatchJobExecutionResult& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
50
52
55 inline const BatchJobIdentifier& GetBatchJobIdentifier() const { return m_batchJobIdentifier; }
56 template<typename BatchJobIdentifierT = BatchJobIdentifier>
57 void SetBatchJobIdentifier(BatchJobIdentifierT&& value) { m_batchJobIdentifierHasBeenSet = true; m_batchJobIdentifier = std::forward<BatchJobIdentifierT>(value); }
58 template<typename BatchJobIdentifierT = BatchJobIdentifier>
59 GetBatchJobExecutionResult& WithBatchJobIdentifier(BatchJobIdentifierT&& value) { SetBatchJobIdentifier(std::forward<BatchJobIdentifierT>(value)); return *this;}
61
63
66 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
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>
70 GetBatchJobExecutionResult& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
72
74
77 inline const Aws::String& GetExecutionId() const { return m_executionId; }
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>
81 GetBatchJobExecutionResult& WithExecutionId(ExecutionIdT&& value) { SetExecutionId(std::forward<ExecutionIdT>(value)); return *this;}
83
85
88 inline const Aws::String& GetJobId() const { return m_jobId; }
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>
92 GetBatchJobExecutionResult& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
94
96
99 inline const Aws::String& GetJobName() const { return m_jobName; }
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>
103 GetBatchJobExecutionResult& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
105
107
110 inline const JobStepRestartMarker& GetJobStepRestartMarker() const { return m_jobStepRestartMarker; }
111 template<typename JobStepRestartMarkerT = JobStepRestartMarker>
112 void SetJobStepRestartMarker(JobStepRestartMarkerT&& value) { m_jobStepRestartMarkerHasBeenSet = true; m_jobStepRestartMarker = std::forward<JobStepRestartMarkerT>(value); }
113 template<typename JobStepRestartMarkerT = JobStepRestartMarker>
114 GetBatchJobExecutionResult& WithJobStepRestartMarker(JobStepRestartMarkerT&& value) { SetJobStepRestartMarker(std::forward<JobStepRestartMarkerT>(value)); return *this;}
116
118
121 inline BatchJobType GetJobType() const { return m_jobType; }
122 inline void SetJobType(BatchJobType value) { m_jobTypeHasBeenSet = true; m_jobType = value; }
123 inline GetBatchJobExecutionResult& WithJobType(BatchJobType value) { SetJobType(value); return *this;}
125
127
130 inline const Aws::String& GetJobUser() const { return m_jobUser; }
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>
134 GetBatchJobExecutionResult& WithJobUser(JobUserT&& value) { SetJobUser(std::forward<JobUserT>(value)); return *this;}
136
138
145 inline const Aws::String& GetReturnCode() const { return m_returnCode; }
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>
149 GetBatchJobExecutionResult& WithReturnCode(ReturnCodeT&& value) { SetReturnCode(std::forward<ReturnCodeT>(value)); return *this;}
151
153
156 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
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>
160 GetBatchJobExecutionResult& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
162
164
167 inline BatchJobExecutionStatus GetStatus() const { return m_status; }
168 inline void SetStatus(BatchJobExecutionStatus value) { m_statusHasBeenSet = true; m_status = value; }
171
173
176 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
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>
180 GetBatchJobExecutionResult& WithStatusReason(StatusReasonT&& value) { SetStatusReason(std::forward<StatusReasonT>(value)); return *this;}
182
184
185 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
189 GetBatchJobExecutionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
191 private:
192
193 Aws::String m_applicationId;
194 bool m_applicationIdHasBeenSet = false;
195
196 BatchJobIdentifier m_batchJobIdentifier;
197 bool m_batchJobIdentifierHasBeenSet = false;
198
199 Aws::Utils::DateTime m_endTime{};
200 bool m_endTimeHasBeenSet = false;
201
202 Aws::String m_executionId;
203 bool m_executionIdHasBeenSet = false;
204
205 Aws::String m_jobId;
206 bool m_jobIdHasBeenSet = false;
207
208 Aws::String m_jobName;
209 bool m_jobNameHasBeenSet = false;
210
211 JobStepRestartMarker m_jobStepRestartMarker;
212 bool m_jobStepRestartMarkerHasBeenSet = false;
213
215 bool m_jobTypeHasBeenSet = false;
216
217 Aws::String m_jobUser;
218 bool m_jobUserHasBeenSet = false;
219
220 Aws::String m_returnCode;
221 bool m_returnCodeHasBeenSet = false;
222
223 Aws::Utils::DateTime m_startTime{};
224 bool m_startTimeHasBeenSet = false;
225
227 bool m_statusHasBeenSet = false;
228
229 Aws::String m_statusReason;
230 bool m_statusReasonHasBeenSet = false;
231
232 Aws::String m_requestId;
233 bool m_requestIdHasBeenSet = false;
234 };
235
236} // namespace Model
237} // namespace MainframeModernization
238} // namespace Aws
AWS_MAINFRAMEMODERNIZATION_API GetBatchJobExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBatchJobExecutionResult & WithJobStepRestartMarker(JobStepRestartMarkerT &&value)
GetBatchJobExecutionResult & WithStatus(BatchJobExecutionStatus value)
GetBatchJobExecutionResult & WithStatusReason(StatusReasonT &&value)
GetBatchJobExecutionResult & WithRequestId(RequestIdT &&value)
GetBatchJobExecutionResult & WithStartTime(StartTimeT &&value)
GetBatchJobExecutionResult & WithReturnCode(ReturnCodeT &&value)
GetBatchJobExecutionResult & WithExecutionId(ExecutionIdT &&value)
AWS_MAINFRAMEMODERNIZATION_API GetBatchJobExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBatchJobExecutionResult & WithApplicationId(ApplicationIdT &&value)
AWS_MAINFRAMEMODERNIZATION_API GetBatchJobExecutionResult()=default
GetBatchJobExecutionResult & WithBatchJobIdentifier(BatchJobIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue