AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 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>
54 BatchJobExecutionSummary& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
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) { m_batchJobIdentifierHasBeenSet = true; m_batchJobIdentifier = std::forward<BatchJobIdentifierT>(value); }
65 template<typename BatchJobIdentifierT = BatchJobIdentifier>
66 BatchJobExecutionSummary& WithBatchJobIdentifier(BatchJobIdentifierT&& value) { SetBatchJobIdentifier(std::forward<BatchJobIdentifierT>(value)); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
74 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
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>
78 BatchJobExecutionSummary& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
80
82
85 inline const Aws::String& GetExecutionId() const { return m_executionId; }
86 inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; }
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>
90 BatchJobExecutionSummary& WithExecutionId(ExecutionIdT&& value) { SetExecutionId(std::forward<ExecutionIdT>(value)); return *this;}
92
94
97 inline const Aws::String& GetJobId() const { return m_jobId; }
98 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
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>
102 BatchJobExecutionSummary& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
104
106
109 inline const Aws::String& GetJobName() const { return m_jobName; }
110 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
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>
114 BatchJobExecutionSummary& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
116
118
121 inline BatchJobType GetJobType() const { return m_jobType; }
122 inline bool JobTypeHasBeenSet() const { return m_jobTypeHasBeenSet; }
123 inline void SetJobType(BatchJobType value) { m_jobTypeHasBeenSet = true; m_jobType = value; }
124 inline BatchJobExecutionSummary& WithJobType(BatchJobType value) { SetJobType(value); return *this;}
126
128
135 inline const Aws::String& GetReturnCode() const { return m_returnCode; }
136 inline bool ReturnCodeHasBeenSet() const { return m_returnCodeHasBeenSet; }
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>
140 BatchJobExecutionSummary& WithReturnCode(ReturnCodeT&& value) { SetReturnCode(std::forward<ReturnCodeT>(value)); return *this;}
142
144
147 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
148 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
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>
152 BatchJobExecutionSummary& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
154
156
159 inline BatchJobExecutionStatus GetStatus() const { return m_status; }
160 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
161 inline void SetStatus(BatchJobExecutionStatus value) { m_statusHasBeenSet = true; m_status = value; }
164 private:
165
166 Aws::String m_applicationId;
167 bool m_applicationIdHasBeenSet = false;
168
169 BatchJobIdentifier m_batchJobIdentifier;
170 bool m_batchJobIdentifierHasBeenSet = false;
171
172 Aws::Utils::DateTime m_endTime{};
173 bool m_endTimeHasBeenSet = false;
174
175 Aws::String m_executionId;
176 bool m_executionIdHasBeenSet = false;
177
178 Aws::String m_jobId;
179 bool m_jobIdHasBeenSet = false;
180
181 Aws::String m_jobName;
182 bool m_jobNameHasBeenSet = false;
183
185 bool m_jobTypeHasBeenSet = false;
186
187 Aws::String m_returnCode;
188 bool m_returnCodeHasBeenSet = false;
189
190 Aws::Utils::DateTime m_startTime{};
191 bool m_startTimeHasBeenSet = false;
192
194 bool m_statusHasBeenSet = false;
195 };
196
197} // namespace Model
198} // namespace MainframeModernization
199} // 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