AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38
39
41
44 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
45 inline void SetApplicationId(const Aws::String& value) { m_applicationId = value; }
46 inline void SetApplicationId(Aws::String&& value) { m_applicationId = std::move(value); }
47 inline void SetApplicationId(const char* value) { m_applicationId.assign(value); }
48 inline GetBatchJobExecutionResult& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
49 inline GetBatchJobExecutionResult& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
50 inline GetBatchJobExecutionResult& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
52
54
57 inline const BatchJobIdentifier& GetBatchJobIdentifier() const{ return m_batchJobIdentifier; }
58 inline void SetBatchJobIdentifier(const BatchJobIdentifier& value) { m_batchJobIdentifier = value; }
59 inline void SetBatchJobIdentifier(BatchJobIdentifier&& value) { m_batchJobIdentifier = std::move(value); }
63
65
68 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
69 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; }
70 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); }
71 inline GetBatchJobExecutionResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
72 inline GetBatchJobExecutionResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
74
76
79 inline const Aws::String& GetExecutionId() const{ return m_executionId; }
80 inline void SetExecutionId(const Aws::String& value) { m_executionId = value; }
81 inline void SetExecutionId(Aws::String&& value) { m_executionId = std::move(value); }
82 inline void SetExecutionId(const char* value) { m_executionId.assign(value); }
83 inline GetBatchJobExecutionResult& WithExecutionId(const Aws::String& value) { SetExecutionId(value); return *this;}
84 inline GetBatchJobExecutionResult& WithExecutionId(Aws::String&& value) { SetExecutionId(std::move(value)); return *this;}
85 inline GetBatchJobExecutionResult& WithExecutionId(const char* value) { SetExecutionId(value); return *this;}
87
89
92 inline const Aws::String& GetJobId() const{ return m_jobId; }
93 inline void SetJobId(const Aws::String& value) { m_jobId = value; }
94 inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
95 inline void SetJobId(const char* value) { m_jobId.assign(value); }
96 inline GetBatchJobExecutionResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
97 inline GetBatchJobExecutionResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
98 inline GetBatchJobExecutionResult& WithJobId(const char* value) { SetJobId(value); return *this;}
100
102
105 inline const Aws::String& GetJobName() const{ return m_jobName; }
106 inline void SetJobName(const Aws::String& value) { m_jobName = value; }
107 inline void SetJobName(Aws::String&& value) { m_jobName = std::move(value); }
108 inline void SetJobName(const char* value) { m_jobName.assign(value); }
109 inline GetBatchJobExecutionResult& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
110 inline GetBatchJobExecutionResult& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
111 inline GetBatchJobExecutionResult& WithJobName(const char* value) { SetJobName(value); return *this;}
113
115
118 inline const JobStepRestartMarker& GetJobStepRestartMarker() const{ return m_jobStepRestartMarker; }
119 inline void SetJobStepRestartMarker(const JobStepRestartMarker& value) { m_jobStepRestartMarker = value; }
120 inline void SetJobStepRestartMarker(JobStepRestartMarker&& value) { m_jobStepRestartMarker = std::move(value); }
124
126
129 inline const BatchJobType& GetJobType() const{ return m_jobType; }
130 inline void SetJobType(const BatchJobType& value) { m_jobType = value; }
131 inline void SetJobType(BatchJobType&& value) { m_jobType = std::move(value); }
132 inline GetBatchJobExecutionResult& WithJobType(const BatchJobType& value) { SetJobType(value); return *this;}
133 inline GetBatchJobExecutionResult& WithJobType(BatchJobType&& value) { SetJobType(std::move(value)); return *this;}
135
137
140 inline const Aws::String& GetJobUser() const{ return m_jobUser; }
141 inline void SetJobUser(const Aws::String& value) { m_jobUser = value; }
142 inline void SetJobUser(Aws::String&& value) { m_jobUser = std::move(value); }
143 inline void SetJobUser(const char* value) { m_jobUser.assign(value); }
144 inline GetBatchJobExecutionResult& WithJobUser(const Aws::String& value) { SetJobUser(value); return *this;}
145 inline GetBatchJobExecutionResult& WithJobUser(Aws::String&& value) { SetJobUser(std::move(value)); return *this;}
146 inline GetBatchJobExecutionResult& WithJobUser(const char* value) { SetJobUser(value); return *this;}
148
150
157 inline const Aws::String& GetReturnCode() const{ return m_returnCode; }
158 inline void SetReturnCode(const Aws::String& value) { m_returnCode = value; }
159 inline void SetReturnCode(Aws::String&& value) { m_returnCode = std::move(value); }
160 inline void SetReturnCode(const char* value) { m_returnCode.assign(value); }
161 inline GetBatchJobExecutionResult& WithReturnCode(const Aws::String& value) { SetReturnCode(value); return *this;}
162 inline GetBatchJobExecutionResult& WithReturnCode(Aws::String&& value) { SetReturnCode(std::move(value)); return *this;}
163 inline GetBatchJobExecutionResult& WithReturnCode(const char* value) { SetReturnCode(value); return *this;}
165
167
170 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
171 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; }
172 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); }
173 inline GetBatchJobExecutionResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
174 inline GetBatchJobExecutionResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
176
178
181 inline const BatchJobExecutionStatus& GetStatus() const{ return m_status; }
182 inline void SetStatus(const BatchJobExecutionStatus& value) { m_status = value; }
183 inline void SetStatus(BatchJobExecutionStatus&& value) { m_status = std::move(value); }
184 inline GetBatchJobExecutionResult& WithStatus(const BatchJobExecutionStatus& value) { SetStatus(value); return *this;}
185 inline GetBatchJobExecutionResult& WithStatus(BatchJobExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
187
189
192 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
193 inline void SetStatusReason(const Aws::String& value) { m_statusReason = value; }
194 inline void SetStatusReason(Aws::String&& value) { m_statusReason = std::move(value); }
195 inline void SetStatusReason(const char* value) { m_statusReason.assign(value); }
196 inline GetBatchJobExecutionResult& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
197 inline GetBatchJobExecutionResult& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
198 inline GetBatchJobExecutionResult& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
200
202
203 inline const Aws::String& GetRequestId() const{ return m_requestId; }
204 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
205 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
206 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
207 inline GetBatchJobExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
208 inline GetBatchJobExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
209 inline GetBatchJobExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
211 private:
212
213 Aws::String m_applicationId;
214
215 BatchJobIdentifier m_batchJobIdentifier;
216
217 Aws::Utils::DateTime m_endTime;
218
219 Aws::String m_executionId;
220
221 Aws::String m_jobId;
222
223 Aws::String m_jobName;
224
225 JobStepRestartMarker m_jobStepRestartMarker;
226
227 BatchJobType m_jobType;
228
229 Aws::String m_jobUser;
230
231 Aws::String m_returnCode;
232
233 Aws::Utils::DateTime m_startTime;
234
236
237 Aws::String m_statusReason;
238
239 Aws::String m_requestId;
240 };
241
242} // namespace Model
243} // namespace MainframeModernization
244} // namespace Aws
AWS_MAINFRAMEMODERNIZATION_API GetBatchJobExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBatchJobExecutionResult & WithJobStepRestartMarker(JobStepRestartMarker &&value)
GetBatchJobExecutionResult & WithExecutionId(const Aws::String &value)
GetBatchJobExecutionResult & WithJobId(const Aws::String &value)
GetBatchJobExecutionResult & WithReturnCode(const Aws::String &value)
GetBatchJobExecutionResult & WithStatus(BatchJobExecutionStatus &&value)
GetBatchJobExecutionResult & WithJobUser(const Aws::String &value)
GetBatchJobExecutionResult & WithRequestId(Aws::String &&value)
GetBatchJobExecutionResult & WithApplicationId(const Aws::String &value)
GetBatchJobExecutionResult & WithExecutionId(Aws::String &&value)
GetBatchJobExecutionResult & WithJobType(const BatchJobType &value)
GetBatchJobExecutionResult & WithApplicationId(const char *value)
GetBatchJobExecutionResult & WithStatusReason(const Aws::String &value)
GetBatchJobExecutionResult & WithEndTime(const Aws::Utils::DateTime &value)
GetBatchJobExecutionResult & WithRequestId(const Aws::String &value)
GetBatchJobExecutionResult & WithJobUser(Aws::String &&value)
GetBatchJobExecutionResult & WithJobName(Aws::String &&value)
GetBatchJobExecutionResult & WithStatusReason(const char *value)
GetBatchJobExecutionResult & WithReturnCode(Aws::String &&value)
GetBatchJobExecutionResult & WithBatchJobIdentifier(const BatchJobIdentifier &value)
GetBatchJobExecutionResult & WithBatchJobIdentifier(BatchJobIdentifier &&value)
GetBatchJobExecutionResult & WithStatusReason(Aws::String &&value)
GetBatchJobExecutionResult & WithStartTime(Aws::Utils::DateTime &&value)
AWS_MAINFRAMEMODERNIZATION_API GetBatchJobExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBatchJobExecutionResult & WithJobId(Aws::String &&value)
GetBatchJobExecutionResult & WithJobStepRestartMarker(const JobStepRestartMarker &value)
GetBatchJobExecutionResult & WithStartTime(const Aws::Utils::DateTime &value)
GetBatchJobExecutionResult & WithJobName(const Aws::String &value)
GetBatchJobExecutionResult & WithStatus(const BatchJobExecutionStatus &value)
GetBatchJobExecutionResult & WithApplicationId(Aws::String &&value)
GetBatchJobExecutionResult & WithEndTime(Aws::Utils::DateTime &&value)
GetBatchJobExecutionResult & WithJobType(BatchJobType &&value)
GetBatchJobExecutionResult & WithExecutionId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue