AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RunListItem.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/omics/model/RunStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/omics/model/StorageType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Omics
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_OMICS_API RunListItem() = default;
38 AWS_OMICS_API RunListItem(Aws::Utils::Json::JsonView jsonValue);
40 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const { return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 template<typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
51 template<typename ArnT = Aws::String>
52 RunListItem& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
63 template<typename IdT = Aws::String>
64 RunListItem& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
66
68
71 inline RunStatus GetStatus() const { return m_status; }
72 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
73 inline void SetStatus(RunStatus value) { m_statusHasBeenSet = true; m_status = value; }
74 inline RunListItem& WithStatus(RunStatus value) { SetStatus(value); return *this;}
76
78
81 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
82 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
83 template<typename WorkflowIdT = Aws::String>
84 void SetWorkflowId(WorkflowIdT&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::forward<WorkflowIdT>(value); }
85 template<typename WorkflowIdT = Aws::String>
86 RunListItem& WithWorkflowId(WorkflowIdT&& value) { SetWorkflowId(std::forward<WorkflowIdT>(value)); return *this;}
88
90
93 inline const Aws::String& GetName() const { return m_name; }
94 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
95 template<typename NameT = Aws::String>
96 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
97 template<typename NameT = Aws::String>
98 RunListItem& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
100
102
105 inline int GetPriority() const { return m_priority; }
106 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
107 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
108 inline RunListItem& WithPriority(int value) { SetPriority(value); return *this;}
110
112
117 inline int GetStorageCapacity() const { return m_storageCapacity; }
118 inline bool StorageCapacityHasBeenSet() const { return m_storageCapacityHasBeenSet; }
119 inline void SetStorageCapacity(int value) { m_storageCapacityHasBeenSet = true; m_storageCapacity = value; }
120 inline RunListItem& WithStorageCapacity(int value) { SetStorageCapacity(value); return *this;}
122
124
127 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
128 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
129 template<typename CreationTimeT = Aws::Utils::DateTime>
130 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
131 template<typename CreationTimeT = Aws::Utils::DateTime>
132 RunListItem& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
134
136
139 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
140 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
141 template<typename StartTimeT = Aws::Utils::DateTime>
142 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
143 template<typename StartTimeT = Aws::Utils::DateTime>
144 RunListItem& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
146
148
151 inline const Aws::Utils::DateTime& GetStopTime() const { return m_stopTime; }
152 inline bool StopTimeHasBeenSet() const { return m_stopTimeHasBeenSet; }
153 template<typename StopTimeT = Aws::Utils::DateTime>
154 void SetStopTime(StopTimeT&& value) { m_stopTimeHasBeenSet = true; m_stopTime = std::forward<StopTimeT>(value); }
155 template<typename StopTimeT = Aws::Utils::DateTime>
156 RunListItem& WithStopTime(StopTimeT&& value) { SetStopTime(std::forward<StopTimeT>(value)); return *this;}
158
160
163 inline StorageType GetStorageType() const { return m_storageType; }
164 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
165 inline void SetStorageType(StorageType value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
166 inline RunListItem& WithStorageType(StorageType value) { SetStorageType(value); return *this;}
168
170
173 inline const Aws::String& GetWorkflowVersionName() const { return m_workflowVersionName; }
174 inline bool WorkflowVersionNameHasBeenSet() const { return m_workflowVersionNameHasBeenSet; }
175 template<typename WorkflowVersionNameT = Aws::String>
176 void SetWorkflowVersionName(WorkflowVersionNameT&& value) { m_workflowVersionNameHasBeenSet = true; m_workflowVersionName = std::forward<WorkflowVersionNameT>(value); }
177 template<typename WorkflowVersionNameT = Aws::String>
178 RunListItem& WithWorkflowVersionName(WorkflowVersionNameT&& value) { SetWorkflowVersionName(std::forward<WorkflowVersionNameT>(value)); return *this;}
180 private:
181
182 Aws::String m_arn;
183 bool m_arnHasBeenSet = false;
184
185 Aws::String m_id;
186 bool m_idHasBeenSet = false;
187
189 bool m_statusHasBeenSet = false;
190
191 Aws::String m_workflowId;
192 bool m_workflowIdHasBeenSet = false;
193
194 Aws::String m_name;
195 bool m_nameHasBeenSet = false;
196
197 int m_priority{0};
198 bool m_priorityHasBeenSet = false;
199
200 int m_storageCapacity{0};
201 bool m_storageCapacityHasBeenSet = false;
202
203 Aws::Utils::DateTime m_creationTime{};
204 bool m_creationTimeHasBeenSet = false;
205
206 Aws::Utils::DateTime m_startTime{};
207 bool m_startTimeHasBeenSet = false;
208
209 Aws::Utils::DateTime m_stopTime{};
210 bool m_stopTimeHasBeenSet = false;
211
212 StorageType m_storageType{StorageType::NOT_SET};
213 bool m_storageTypeHasBeenSet = false;
214
215 Aws::String m_workflowVersionName;
216 bool m_workflowVersionNameHasBeenSet = false;
217 };
218
219} // namespace Model
220} // namespace Omics
221} // namespace Aws
const Aws::String & GetName() const
Definition RunListItem.h:93
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:73
RunListItem & WithStopTime(StopTimeT &&value)
const Aws::Utils::DateTime & GetStopTime() const
void SetStartTime(StartTimeT &&value)
RunListItem & WithName(NameT &&value)
Definition RunListItem.h:98
RunListItem & WithStartTime(StartTimeT &&value)
const Aws::String & GetArn() const
Definition RunListItem.h:47
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:52
RunStatus GetStatus() const
Definition RunListItem.h:71
const Aws::String & GetId() const
Definition RunListItem.h:59
bool WorkflowVersionNameHasBeenSet() const
void SetWorkflowId(WorkflowIdT &&value)
Definition RunListItem.h:84
AWS_OMICS_API RunListItem()=default
const Aws::String & GetWorkflowId() const
Definition RunListItem.h:81
RunListItem & WithId(IdT &&value)
Definition RunListItem.h:64
RunListItem & WithStorageCapacity(int value)
void SetName(NameT &&value)
Definition RunListItem.h:96
const Aws::Utils::DateTime & GetCreationTime() const
RunListItem & WithStatus(RunStatus value)
Definition RunListItem.h:74
RunListItem & WithPriority(int value)
void SetArn(ArnT &&value)
Definition RunListItem.h:50
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)
Definition RunListItem.h:86
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