AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
RunListItem.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/omics/Omics_EXPORTS.h>
10#include <aws/omics/model/RunStatus.h>
11#include <aws/omics/model/StorageType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Omics {
23namespace Model {
24
31 public:
32 AWS_OMICS_API RunListItem() = default;
33 AWS_OMICS_API RunListItem(Aws::Utils::Json::JsonView jsonValue);
35 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
43 template <typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) {
45 m_arnHasBeenSet = true;
46 m_arn = std::forward<ArnT>(value);
47 }
48 template <typename ArnT = Aws::String>
49 RunListItem& WithArn(ArnT&& value) {
50 SetArn(std::forward<ArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetId() const { return m_id; }
60 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
61 template <typename IdT = Aws::String>
62 void SetId(IdT&& value) {
63 m_idHasBeenSet = true;
64 m_id = std::forward<IdT>(value);
65 }
66 template <typename IdT = Aws::String>
67 RunListItem& WithId(IdT&& value) {
68 SetId(std::forward<IdT>(value));
69 return *this;
70 }
72
74
77 inline RunStatus GetStatus() const { return m_status; }
78 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
79 inline void SetStatus(RunStatus value) {
80 m_statusHasBeenSet = true;
81 m_status = value;
82 }
84 SetStatus(value);
85 return *this;
86 }
88
90
93 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
94 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
95 template <typename WorkflowIdT = Aws::String>
96 void SetWorkflowId(WorkflowIdT&& value) {
97 m_workflowIdHasBeenSet = true;
98 m_workflowId = std::forward<WorkflowIdT>(value);
99 }
100 template <typename WorkflowIdT = Aws::String>
101 RunListItem& WithWorkflowId(WorkflowIdT&& value) {
102 SetWorkflowId(std::forward<WorkflowIdT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetBatchId() const { return m_batchId; }
112 inline bool BatchIdHasBeenSet() const { return m_batchIdHasBeenSet; }
113 template <typename BatchIdT = Aws::String>
114 void SetBatchId(BatchIdT&& value) {
115 m_batchIdHasBeenSet = true;
116 m_batchId = std::forward<BatchIdT>(value);
117 }
118 template <typename BatchIdT = Aws::String>
119 RunListItem& WithBatchId(BatchIdT&& value) {
120 SetBatchId(std::forward<BatchIdT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetName() const { return m_name; }
130 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
131 template <typename NameT = Aws::String>
132 void SetName(NameT&& value) {
133 m_nameHasBeenSet = true;
134 m_name = std::forward<NameT>(value);
135 }
136 template <typename NameT = Aws::String>
137 RunListItem& WithName(NameT&& value) {
138 SetName(std::forward<NameT>(value));
139 return *this;
140 }
142
144
147 inline int GetPriority() const { return m_priority; }
148 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
149 inline void SetPriority(int value) {
150 m_priorityHasBeenSet = true;
151 m_priority = value;
152 }
153 inline RunListItem& WithPriority(int value) {
154 SetPriority(value);
155 return *this;
156 }
158
160
165 inline int GetStorageCapacity() const { return m_storageCapacity; }
166 inline bool StorageCapacityHasBeenSet() const { return m_storageCapacityHasBeenSet; }
167 inline void SetStorageCapacity(int value) {
168 m_storageCapacityHasBeenSet = true;
169 m_storageCapacity = value;
170 }
171 inline RunListItem& WithStorageCapacity(int value) {
172 SetStorageCapacity(value);
173 return *this;
174 }
176
178
181 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
182 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
183 template <typename CreationTimeT = Aws::Utils::DateTime>
184 void SetCreationTime(CreationTimeT&& value) {
185 m_creationTimeHasBeenSet = true;
186 m_creationTime = std::forward<CreationTimeT>(value);
187 }
188 template <typename CreationTimeT = Aws::Utils::DateTime>
189 RunListItem& WithCreationTime(CreationTimeT&& value) {
190 SetCreationTime(std::forward<CreationTimeT>(value));
191 return *this;
192 }
194
196
199 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
200 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
201 template <typename StartTimeT = Aws::Utils::DateTime>
202 void SetStartTime(StartTimeT&& value) {
203 m_startTimeHasBeenSet = true;
204 m_startTime = std::forward<StartTimeT>(value);
205 }
206 template <typename StartTimeT = Aws::Utils::DateTime>
207 RunListItem& WithStartTime(StartTimeT&& value) {
208 SetStartTime(std::forward<StartTimeT>(value));
209 return *this;
210 }
212
214
217 inline const Aws::Utils::DateTime& GetStopTime() const { return m_stopTime; }
218 inline bool StopTimeHasBeenSet() const { return m_stopTimeHasBeenSet; }
219 template <typename StopTimeT = Aws::Utils::DateTime>
220 void SetStopTime(StopTimeT&& value) {
221 m_stopTimeHasBeenSet = true;
222 m_stopTime = std::forward<StopTimeT>(value);
223 }
224 template <typename StopTimeT = Aws::Utils::DateTime>
225 RunListItem& WithStopTime(StopTimeT&& value) {
226 SetStopTime(std::forward<StopTimeT>(value));
227 return *this;
228 }
230
232
235 inline StorageType GetStorageType() const { return m_storageType; }
236 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
237 inline void SetStorageType(StorageType value) {
238 m_storageTypeHasBeenSet = true;
239 m_storageType = value;
240 }
242 SetStorageType(value);
243 return *this;
244 }
246
248
251 inline const Aws::String& GetWorkflowVersionName() const { return m_workflowVersionName; }
252 inline bool WorkflowVersionNameHasBeenSet() const { return m_workflowVersionNameHasBeenSet; }
253 template <typename WorkflowVersionNameT = Aws::String>
254 void SetWorkflowVersionName(WorkflowVersionNameT&& value) {
255 m_workflowVersionNameHasBeenSet = true;
256 m_workflowVersionName = std::forward<WorkflowVersionNameT>(value);
257 }
258 template <typename WorkflowVersionNameT = Aws::String>
259 RunListItem& WithWorkflowVersionName(WorkflowVersionNameT&& value) {
260 SetWorkflowVersionName(std::forward<WorkflowVersionNameT>(value));
261 return *this;
262 }
264 private:
265 Aws::String m_arn;
266
267 Aws::String m_id;
268
270
271 Aws::String m_workflowId;
272
273 Aws::String m_batchId;
274
275 Aws::String m_name;
276
277 int m_priority{0};
278
279 int m_storageCapacity{0};
280
281 Aws::Utils::DateTime m_creationTime{};
282
283 Aws::Utils::DateTime m_startTime{};
284
285 Aws::Utils::DateTime m_stopTime{};
286
287 StorageType m_storageType{StorageType::NOT_SET};
288
289 Aws::String m_workflowVersionName;
290 bool m_arnHasBeenSet = false;
291 bool m_idHasBeenSet = false;
292 bool m_statusHasBeenSet = false;
293 bool m_workflowIdHasBeenSet = false;
294 bool m_batchIdHasBeenSet = false;
295 bool m_nameHasBeenSet = false;
296 bool m_priorityHasBeenSet = false;
297 bool m_storageCapacityHasBeenSet = false;
298 bool m_creationTimeHasBeenSet = false;
299 bool m_startTimeHasBeenSet = false;
300 bool m_stopTimeHasBeenSet = false;
301 bool m_storageTypeHasBeenSet = false;
302 bool m_workflowVersionNameHasBeenSet = false;
303};
304
305} // namespace Model
306} // namespace Omics
307} // namespace Aws
const Aws::String & GetBatchId() const
RunListItem & WithBatchId(BatchIdT &&value)
const Aws::String & GetName() const
const Aws::String & GetWorkflowVersionName() const
void SetStopTime(StopTimeT &&value)
AWS_OMICS_API RunListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(RunStatus value)
Definition RunListItem.h:79
RunListItem & WithStopTime(StopTimeT &&value)
const Aws::Utils::DateTime & GetStopTime() const
void SetStartTime(StartTimeT &&value)
RunListItem & WithName(NameT &&value)
RunListItem & WithStartTime(StartTimeT &&value)
const Aws::String & GetArn() const
Definition RunListItem.h:41
void SetCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetWorkflowVersionName(WorkflowVersionNameT &&value)
void SetStorageType(StorageType value)
RunListItem & WithArn(ArnT &&value)
Definition RunListItem.h:49
RunStatus GetStatus() const
Definition RunListItem.h:77
const Aws::String & GetId() const
Definition RunListItem.h:59
bool WorkflowVersionNameHasBeenSet() const
void SetWorkflowId(WorkflowIdT &&value)
Definition RunListItem.h:96
AWS_OMICS_API RunListItem()=default
const Aws::String & GetWorkflowId() const
Definition RunListItem.h:93
RunListItem & WithId(IdT &&value)
Definition RunListItem.h:67
RunListItem & WithStorageCapacity(int value)
void SetName(NameT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
RunListItem & WithStatus(RunStatus value)
Definition RunListItem.h:83
RunListItem & WithPriority(int value)
void SetArn(ArnT &&value)
Definition RunListItem.h:44
RunListItem & WithWorkflowVersionName(WorkflowVersionNameT &&value)
RunListItem & WithCreationTime(CreationTimeT &&value)
AWS_OMICS_API RunListItem(Aws::Utils::Json::JsonView jsonValue)
void SetStorageCapacity(int value)
RunListItem & WithWorkflowId(WorkflowIdT &&value)
StorageType GetStorageType() const
RunListItem & WithStorageType(StorageType value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBatchId(BatchIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue