AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchJobExecutionSummary.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/BatchJobType.h>
12#include <aws/m2/model/BatchJobExecutionStatus.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace MainframeModernization
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_MAINFRAMEMODERNIZATION_API BatchJobExecutionSummary();
40 AWS_MAINFRAMEMODERNIZATION_API BatchJobExecutionSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MAINFRAMEMODERNIZATION_API BatchJobExecutionSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
50 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
51 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
52 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
53 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
54 inline BatchJobExecutionSummary& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
55 inline BatchJobExecutionSummary& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
56 inline BatchJobExecutionSummary& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
58
60
63 inline const BatchJobIdentifier& GetBatchJobIdentifier() const{ return m_batchJobIdentifier; }
64 inline bool BatchJobIdentifierHasBeenSet() const { return m_batchJobIdentifierHasBeenSet; }
65 inline void SetBatchJobIdentifier(const BatchJobIdentifier& value) { m_batchJobIdentifierHasBeenSet = true; m_batchJobIdentifier = value; }
66 inline void SetBatchJobIdentifier(BatchJobIdentifier&& value) { m_batchJobIdentifierHasBeenSet = true; m_batchJobIdentifier = std::move(value); }
70
72
75 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
76 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
77 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
78 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
79 inline BatchJobExecutionSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
80 inline BatchJobExecutionSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetExecutionId() const{ return m_executionId; }
88 inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; }
89 inline void SetExecutionId(const Aws::String& value) { m_executionIdHasBeenSet = true; m_executionId = value; }
90 inline void SetExecutionId(Aws::String&& value) { m_executionIdHasBeenSet = true; m_executionId = std::move(value); }
91 inline void SetExecutionId(const char* value) { m_executionIdHasBeenSet = true; m_executionId.assign(value); }
92 inline BatchJobExecutionSummary& WithExecutionId(const Aws::String& value) { SetExecutionId(value); return *this;}
93 inline BatchJobExecutionSummary& WithExecutionId(Aws::String&& value) { SetExecutionId(std::move(value)); return *this;}
94 inline BatchJobExecutionSummary& WithExecutionId(const char* value) { SetExecutionId(value); return *this;}
96
98
101 inline const Aws::String& GetJobId() const{ return m_jobId; }
102 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
103 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
104 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
105 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
106 inline BatchJobExecutionSummary& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
107 inline BatchJobExecutionSummary& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
108 inline BatchJobExecutionSummary& WithJobId(const char* value) { SetJobId(value); return *this;}
110
112
115 inline const Aws::String& GetJobName() const{ return m_jobName; }
116 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
117 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
118 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
119 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
120 inline BatchJobExecutionSummary& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
121 inline BatchJobExecutionSummary& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
122 inline BatchJobExecutionSummary& WithJobName(const char* value) { SetJobName(value); return *this;}
124
126
129 inline const BatchJobType& GetJobType() const{ return m_jobType; }
130 inline bool JobTypeHasBeenSet() const { return m_jobTypeHasBeenSet; }
131 inline void SetJobType(const BatchJobType& value) { m_jobTypeHasBeenSet = true; m_jobType = value; }
132 inline void SetJobType(BatchJobType&& value) { m_jobTypeHasBeenSet = true; m_jobType = std::move(value); }
133 inline BatchJobExecutionSummary& WithJobType(const BatchJobType& value) { SetJobType(value); return *this;}
134 inline BatchJobExecutionSummary& WithJobType(BatchJobType&& value) { SetJobType(std::move(value)); return *this;}
136
138
145 inline const Aws::String& GetReturnCode() const{ return m_returnCode; }
146 inline bool ReturnCodeHasBeenSet() const { return m_returnCodeHasBeenSet; }
147 inline void SetReturnCode(const Aws::String& value) { m_returnCodeHasBeenSet = true; m_returnCode = value; }
148 inline void SetReturnCode(Aws::String&& value) { m_returnCodeHasBeenSet = true; m_returnCode = std::move(value); }
149 inline void SetReturnCode(const char* value) { m_returnCodeHasBeenSet = true; m_returnCode.assign(value); }
150 inline BatchJobExecutionSummary& WithReturnCode(const Aws::String& value) { SetReturnCode(value); return *this;}
151 inline BatchJobExecutionSummary& WithReturnCode(Aws::String&& value) { SetReturnCode(std::move(value)); return *this;}
152 inline BatchJobExecutionSummary& WithReturnCode(const char* value) { SetReturnCode(value); return *this;}
154
156
159 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
160 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
161 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
162 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
163 inline BatchJobExecutionSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
164 inline BatchJobExecutionSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
166
168
171 inline const BatchJobExecutionStatus& GetStatus() const{ return m_status; }
172 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
173 inline void SetStatus(const BatchJobExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
174 inline void SetStatus(BatchJobExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
175 inline BatchJobExecutionSummary& WithStatus(const BatchJobExecutionStatus& value) { SetStatus(value); return *this;}
176 inline BatchJobExecutionSummary& WithStatus(BatchJobExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
178 private:
179
180 Aws::String m_applicationId;
181 bool m_applicationIdHasBeenSet = false;
182
183 BatchJobIdentifier m_batchJobIdentifier;
184 bool m_batchJobIdentifierHasBeenSet = false;
185
186 Aws::Utils::DateTime m_endTime;
187 bool m_endTimeHasBeenSet = false;
188
189 Aws::String m_executionId;
190 bool m_executionIdHasBeenSet = false;
191
192 Aws::String m_jobId;
193 bool m_jobIdHasBeenSet = false;
194
195 Aws::String m_jobName;
196 bool m_jobNameHasBeenSet = false;
197
198 BatchJobType m_jobType;
199 bool m_jobTypeHasBeenSet = false;
200
201 Aws::String m_returnCode;
202 bool m_returnCodeHasBeenSet = false;
203
204 Aws::Utils::DateTime m_startTime;
205 bool m_startTimeHasBeenSet = false;
206
208 bool m_statusHasBeenSet = false;
209 };
210
211} // namespace Model
212} // namespace MainframeModernization
213} // namespace Aws
BatchJobExecutionSummary & WithJobId(Aws::String &&value)
BatchJobExecutionSummary & WithExecutionId(Aws::String &&value)
BatchJobExecutionSummary & WithReturnCode(const Aws::String &value)
BatchJobExecutionSummary & WithEndTime(Aws::Utils::DateTime &&value)
BatchJobExecutionSummary & WithExecutionId(const Aws::String &value)
BatchJobExecutionSummary & WithApplicationId(const Aws::String &value)
BatchJobExecutionSummary & WithJobId(const Aws::String &value)
BatchJobExecutionSummary & WithJobName(Aws::String &&value)
BatchJobExecutionSummary & WithApplicationId(const char *value)
BatchJobExecutionSummary & WithStartTime(const Aws::Utils::DateTime &value)
BatchJobExecutionSummary & WithJobType(BatchJobType &&value)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
BatchJobExecutionSummary & WithReturnCode(Aws::String &&value)
BatchJobExecutionSummary & WithBatchJobIdentifier(const BatchJobIdentifier &value)
BatchJobExecutionSummary & WithReturnCode(const char *value)
BatchJobExecutionSummary & WithJobName(const Aws::String &value)
BatchJobExecutionSummary & WithBatchJobIdentifier(BatchJobIdentifier &&value)
BatchJobExecutionSummary & WithStatus(const BatchJobExecutionStatus &value)
BatchJobExecutionSummary & WithEndTime(const Aws::Utils::DateTime &value)
BatchJobExecutionSummary & WithJobType(const BatchJobType &value)
BatchJobExecutionSummary & WithStatus(BatchJobExecutionStatus &&value)
BatchJobExecutionSummary & WithExecutionId(const char *value)
BatchJobExecutionSummary & WithStartTime(Aws::Utils::DateTime &&value)
AWS_MAINFRAMEMODERNIZATION_API BatchJobExecutionSummary(Aws::Utils::Json::JsonView jsonValue)
BatchJobExecutionSummary & WithApplicationId(Aws::String &&value)
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