AWS SDK for C++

AWS SDK for C++ Version 1.11.747

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& GetName() const { return m_name; }
112 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
113 template <typename NameT = Aws::String>
114 void SetName(NameT&& value) {
115 m_nameHasBeenSet = true;
116 m_name = std::forward<NameT>(value);
117 }
118 template <typename NameT = Aws::String>
119 RunListItem& WithName(NameT&& value) {
120 SetName(std::forward<NameT>(value));
121 return *this;
122 }
124
126
129 inline int GetPriority() const { return m_priority; }
130 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
131 inline void SetPriority(int value) {
132 m_priorityHasBeenSet = true;
133 m_priority = value;
134 }
135 inline RunListItem& WithPriority(int value) {
136 SetPriority(value);
137 return *this;
138 }
140
142
147 inline int GetStorageCapacity() const { return m_storageCapacity; }
148 inline bool StorageCapacityHasBeenSet() const { return m_storageCapacityHasBeenSet; }
149 inline void SetStorageCapacity(int value) {
150 m_storageCapacityHasBeenSet = true;
151 m_storageCapacity = value;
152 }
153 inline RunListItem& WithStorageCapacity(int value) {
154 SetStorageCapacity(value);
155 return *this;
156 }
158
160
163 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
164 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
165 template <typename CreationTimeT = Aws::Utils::DateTime>
166 void SetCreationTime(CreationTimeT&& value) {
167 m_creationTimeHasBeenSet = true;
168 m_creationTime = std::forward<CreationTimeT>(value);
169 }
170 template <typename CreationTimeT = Aws::Utils::DateTime>
171 RunListItem& WithCreationTime(CreationTimeT&& value) {
172 SetCreationTime(std::forward<CreationTimeT>(value));
173 return *this;
174 }
176
178
181 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
182 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
183 template <typename StartTimeT = Aws::Utils::DateTime>
184 void SetStartTime(StartTimeT&& value) {
185 m_startTimeHasBeenSet = true;
186 m_startTime = std::forward<StartTimeT>(value);
187 }
188 template <typename StartTimeT = Aws::Utils::DateTime>
189 RunListItem& WithStartTime(StartTimeT&& value) {
190 SetStartTime(std::forward<StartTimeT>(value));
191 return *this;
192 }
194
196
199 inline const Aws::Utils::DateTime& GetStopTime() const { return m_stopTime; }
200 inline bool StopTimeHasBeenSet() const { return m_stopTimeHasBeenSet; }
201 template <typename StopTimeT = Aws::Utils::DateTime>
202 void SetStopTime(StopTimeT&& value) {
203 m_stopTimeHasBeenSet = true;
204 m_stopTime = std::forward<StopTimeT>(value);
205 }
206 template <typename StopTimeT = Aws::Utils::DateTime>
207 RunListItem& WithStopTime(StopTimeT&& value) {
208 SetStopTime(std::forward<StopTimeT>(value));
209 return *this;
210 }
212
214
217 inline StorageType GetStorageType() const { return m_storageType; }
218 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
219 inline void SetStorageType(StorageType value) {
220 m_storageTypeHasBeenSet = true;
221 m_storageType = value;
222 }
224 SetStorageType(value);
225 return *this;
226 }
228
230
233 inline const Aws::String& GetWorkflowVersionName() const { return m_workflowVersionName; }
234 inline bool WorkflowVersionNameHasBeenSet() const { return m_workflowVersionNameHasBeenSet; }
235 template <typename WorkflowVersionNameT = Aws::String>
236 void SetWorkflowVersionName(WorkflowVersionNameT&& value) {
237 m_workflowVersionNameHasBeenSet = true;
238 m_workflowVersionName = std::forward<WorkflowVersionNameT>(value);
239 }
240 template <typename WorkflowVersionNameT = Aws::String>
241 RunListItem& WithWorkflowVersionName(WorkflowVersionNameT&& value) {
242 SetWorkflowVersionName(std::forward<WorkflowVersionNameT>(value));
243 return *this;
244 }
246 private:
247 Aws::String m_arn;
248
249 Aws::String m_id;
250
252
253 Aws::String m_workflowId;
254
255 Aws::String m_name;
256
257 int m_priority{0};
258
259 int m_storageCapacity{0};
260
261 Aws::Utils::DateTime m_creationTime{};
262
263 Aws::Utils::DateTime m_startTime{};
264
265 Aws::Utils::DateTime m_stopTime{};
266
267 StorageType m_storageType{StorageType::NOT_SET};
268
269 Aws::String m_workflowVersionName;
270 bool m_arnHasBeenSet = false;
271 bool m_idHasBeenSet = false;
272 bool m_statusHasBeenSet = false;
273 bool m_workflowIdHasBeenSet = false;
274 bool m_nameHasBeenSet = false;
275 bool m_priorityHasBeenSet = false;
276 bool m_storageCapacityHasBeenSet = false;
277 bool m_creationTimeHasBeenSet = false;
278 bool m_startTimeHasBeenSet = false;
279 bool m_stopTimeHasBeenSet = false;
280 bool m_storageTypeHasBeenSet = false;
281 bool m_workflowVersionNameHasBeenSet = false;
282};
283
284} // namespace Model
285} // namespace Omics
286} // namespace Aws
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
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue