AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
BatchJobExecutionSummary.h
1
6#pragma once
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
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MainframeModernization {
24namespace Model {
25
33 public:
34 AWS_MAINFRAMEMODERNIZATION_API BatchJobExecutionSummary() = default;
35 AWS_MAINFRAMEMODERNIZATION_API BatchJobExecutionSummary(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MAINFRAMEMODERNIZATION_API BatchJobExecutionSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
44 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
45 template <typename ApplicationIdT = Aws::String>
46 void SetApplicationId(ApplicationIdT&& value) {
47 m_applicationIdHasBeenSet = true;
48 m_applicationId = std::forward<ApplicationIdT>(value);
49 }
50 template <typename ApplicationIdT = Aws::String>
52 SetApplicationId(std::forward<ApplicationIdT>(value));
53 return *this;
54 }
56
58
61 inline const BatchJobIdentifier& GetBatchJobIdentifier() const { return m_batchJobIdentifier; }
62 inline bool BatchJobIdentifierHasBeenSet() const { return m_batchJobIdentifierHasBeenSet; }
63 template <typename BatchJobIdentifierT = BatchJobIdentifier>
64 void SetBatchJobIdentifier(BatchJobIdentifierT&& value) {
65 m_batchJobIdentifierHasBeenSet = true;
66 m_batchJobIdentifier = std::forward<BatchJobIdentifierT>(value);
67 }
68 template <typename BatchJobIdentifierT = BatchJobIdentifier>
69 BatchJobExecutionSummary& WithBatchJobIdentifier(BatchJobIdentifierT&& value) {
70 SetBatchJobIdentifier(std::forward<BatchJobIdentifierT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
80 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
81 template <typename EndTimeT = Aws::Utils::DateTime>
82 void SetEndTime(EndTimeT&& value) {
83 m_endTimeHasBeenSet = true;
84 m_endTime = std::forward<EndTimeT>(value);
85 }
86 template <typename EndTimeT = Aws::Utils::DateTime>
88 SetEndTime(std::forward<EndTimeT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::String& GetExecutionId() const { return m_executionId; }
98 inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; }
99 template <typename ExecutionIdT = Aws::String>
100 void SetExecutionId(ExecutionIdT&& value) {
101 m_executionIdHasBeenSet = true;
102 m_executionId = std::forward<ExecutionIdT>(value);
103 }
104 template <typename ExecutionIdT = Aws::String>
106 SetExecutionId(std::forward<ExecutionIdT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::String& GetJobId() const { return m_jobId; }
116 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
117 template <typename JobIdT = Aws::String>
118 void SetJobId(JobIdT&& value) {
119 m_jobIdHasBeenSet = true;
120 m_jobId = std::forward<JobIdT>(value);
121 }
122 template <typename JobIdT = Aws::String>
124 SetJobId(std::forward<JobIdT>(value));
125 return *this;
126 }
128
130
133 inline const Aws::String& GetJobName() const { return m_jobName; }
134 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
135 template <typename JobNameT = Aws::String>
136 void SetJobName(JobNameT&& value) {
137 m_jobNameHasBeenSet = true;
138 m_jobName = std::forward<JobNameT>(value);
139 }
140 template <typename JobNameT = Aws::String>
142 SetJobName(std::forward<JobNameT>(value));
143 return *this;
144 }
146
148
151 inline BatchJobType GetJobType() const { return m_jobType; }
152 inline bool JobTypeHasBeenSet() const { return m_jobTypeHasBeenSet; }
153 inline void SetJobType(BatchJobType value) {
154 m_jobTypeHasBeenSet = true;
155 m_jobType = value;
156 }
158 SetJobType(value);
159 return *this;
160 }
162
164
171 inline const Aws::String& GetReturnCode() const { return m_returnCode; }
172 inline bool ReturnCodeHasBeenSet() const { return m_returnCodeHasBeenSet; }
173 template <typename ReturnCodeT = Aws::String>
174 void SetReturnCode(ReturnCodeT&& value) {
175 m_returnCodeHasBeenSet = true;
176 m_returnCode = std::forward<ReturnCodeT>(value);
177 }
178 template <typename ReturnCodeT = Aws::String>
180 SetReturnCode(std::forward<ReturnCodeT>(value));
181 return *this;
182 }
184
186
189 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
190 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
191 template <typename StartTimeT = Aws::Utils::DateTime>
192 void SetStartTime(StartTimeT&& value) {
193 m_startTimeHasBeenSet = true;
194 m_startTime = std::forward<StartTimeT>(value);
195 }
196 template <typename StartTimeT = Aws::Utils::DateTime>
198 SetStartTime(std::forward<StartTimeT>(value));
199 return *this;
200 }
202
204
207 inline BatchJobExecutionStatus GetStatus() const { return m_status; }
208 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
210 m_statusHasBeenSet = true;
211 m_status = value;
212 }
214 SetStatus(value);
215 return *this;
216 }
218 private:
219 Aws::String m_applicationId;
220
221 BatchJobIdentifier m_batchJobIdentifier;
222
223 Aws::Utils::DateTime m_endTime{};
224
225 Aws::String m_executionId;
226
227 Aws::String m_jobId;
228
229 Aws::String m_jobName;
230
232
233 Aws::String m_returnCode;
234
235 Aws::Utils::DateTime m_startTime{};
236
238 bool m_applicationIdHasBeenSet = false;
239 bool m_batchJobIdentifierHasBeenSet = false;
240 bool m_endTimeHasBeenSet = false;
241 bool m_executionIdHasBeenSet = false;
242 bool m_jobIdHasBeenSet = false;
243 bool m_jobNameHasBeenSet = false;
244 bool m_jobTypeHasBeenSet = false;
245 bool m_returnCodeHasBeenSet = false;
246 bool m_startTimeHasBeenSet = false;
247 bool m_statusHasBeenSet = false;
248};
249
250} // namespace Model
251} // namespace MainframeModernization
252} // namespace Aws
BatchJobExecutionSummary & WithBatchJobIdentifier(BatchJobIdentifierT &&value)
BatchJobExecutionSummary & WithStatus(BatchJobExecutionStatus value)
BatchJobExecutionSummary & WithReturnCode(ReturnCodeT &&value)
AWS_MAINFRAMEMODERNIZATION_API BatchJobExecutionSummary()=default
BatchJobExecutionSummary & WithStartTime(StartTimeT &&value)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
BatchJobExecutionSummary & WithJobType(BatchJobType value)
BatchJobExecutionSummary & WithApplicationId(ApplicationIdT &&value)
BatchJobExecutionSummary & WithExecutionId(ExecutionIdT &&value)
AWS_MAINFRAMEMODERNIZATION_API BatchJobExecutionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API BatchJobExecutionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue