AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline RunListItem& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline RunListItem& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline RunListItem& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::String& GetId() const{ return m_id; }
62 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
63 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
64 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
65 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
66 inline RunListItem& WithId(const Aws::String& value) { SetId(value); return *this;}
67 inline RunListItem& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
68 inline RunListItem& WithId(const char* value) { SetId(value); return *this;}
70
72
75 inline const RunStatus& GetStatus() const{ return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(const RunStatus& value) { m_statusHasBeenSet = true; m_status = value; }
78 inline void SetStatus(RunStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
79 inline RunListItem& WithStatus(const RunStatus& value) { SetStatus(value); return *this;}
80 inline RunListItem& WithStatus(RunStatus&& value) { SetStatus(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetWorkflowId() const{ return m_workflowId; }
88 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
89 inline void SetWorkflowId(const Aws::String& value) { m_workflowIdHasBeenSet = true; m_workflowId = value; }
90 inline void SetWorkflowId(Aws::String&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::move(value); }
91 inline void SetWorkflowId(const char* value) { m_workflowIdHasBeenSet = true; m_workflowId.assign(value); }
92 inline RunListItem& WithWorkflowId(const Aws::String& value) { SetWorkflowId(value); return *this;}
93 inline RunListItem& WithWorkflowId(Aws::String&& value) { SetWorkflowId(std::move(value)); return *this;}
94 inline RunListItem& WithWorkflowId(const char* value) { SetWorkflowId(value); return *this;}
96
98
101 inline const Aws::String& GetName() const{ return m_name; }
102 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
103 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
104 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
105 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
106 inline RunListItem& WithName(const Aws::String& value) { SetName(value); return *this;}
107 inline RunListItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
108 inline RunListItem& WithName(const char* value) { SetName(value); return *this;}
110
112
115 inline int GetPriority() const{ return m_priority; }
116 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
117 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
118 inline RunListItem& WithPriority(int value) { SetPriority(value); return *this;}
120
122
127 inline int GetStorageCapacity() const{ return m_storageCapacity; }
128 inline bool StorageCapacityHasBeenSet() const { return m_storageCapacityHasBeenSet; }
129 inline void SetStorageCapacity(int value) { m_storageCapacityHasBeenSet = true; m_storageCapacity = value; }
130 inline RunListItem& WithStorageCapacity(int value) { SetStorageCapacity(value); return *this;}
132
134
137 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
138 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
139 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
140 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
141 inline RunListItem& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
142 inline RunListItem& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
144
146
149 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
150 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
151 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
152 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
153 inline RunListItem& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
154 inline RunListItem& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
156
158
161 inline const Aws::Utils::DateTime& GetStopTime() const{ return m_stopTime; }
162 inline bool StopTimeHasBeenSet() const { return m_stopTimeHasBeenSet; }
163 inline void SetStopTime(const Aws::Utils::DateTime& value) { m_stopTimeHasBeenSet = true; m_stopTime = value; }
164 inline void SetStopTime(Aws::Utils::DateTime&& value) { m_stopTimeHasBeenSet = true; m_stopTime = std::move(value); }
165 inline RunListItem& WithStopTime(const Aws::Utils::DateTime& value) { SetStopTime(value); return *this;}
166 inline RunListItem& WithStopTime(Aws::Utils::DateTime&& value) { SetStopTime(std::move(value)); return *this;}
168
170
173 inline const StorageType& GetStorageType() const{ return m_storageType; }
174 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
175 inline void SetStorageType(const StorageType& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
176 inline void SetStorageType(StorageType&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); }
177 inline RunListItem& WithStorageType(const StorageType& value) { SetStorageType(value); return *this;}
178 inline RunListItem& WithStorageType(StorageType&& value) { SetStorageType(std::move(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
188 RunStatus m_status;
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;
198 bool m_priorityHasBeenSet = false;
199
200 int m_storageCapacity;
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;
213 bool m_storageTypeHasBeenSet = false;
214 };
215
216} // namespace Model
217} // namespace Omics
218} // namespace Aws
RunListItem & WithStopTime(Aws::Utils::DateTime &&value)
const Aws::String & GetName() const
RunListItem & WithName(Aws::String &&value)
void SetStatus(const RunStatus &value)
Definition RunListItem.h:77
AWS_OMICS_API RunListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
RunListItem & WithName(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
RunListItem & WithCreationTime(Aws::Utils::DateTime &&value)
void SetWorkflowId(const Aws::String &value)
Definition RunListItem.h:89
const Aws::Utils::DateTime & GetStopTime() const
void SetWorkflowId(Aws::String &&value)
Definition RunListItem.h:90
void SetStartTime(Aws::Utils::DateTime &&value)
RunListItem & WithCreationTime(const Aws::Utils::DateTime &value)
RunListItem & WithStatus(const RunStatus &value)
Definition RunListItem.h:79
const Aws::String & GetArn() const
Definition RunListItem.h:47
const Aws::Utils::DateTime & GetStartTime() const
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetName(const char *value)
void SetName(const Aws::String &value)
void SetArn(const Aws::String &value)
Definition RunListItem.h:49
void SetStopTime(const Aws::Utils::DateTime &value)
RunListItem & WithStatus(RunStatus &&value)
Definition RunListItem.h:80
void SetArn(Aws::String &&value)
Definition RunListItem.h:50
void SetWorkflowId(const char *value)
Definition RunListItem.h:91
const StorageType & GetStorageType() const
RunListItem & WithId(const char *value)
Definition RunListItem.h:68
RunListItem & WithStartTime(const Aws::Utils::DateTime &value)
const Aws::String & GetId() const
Definition RunListItem.h:61
RunListItem & WithWorkflowId(const char *value)
Definition RunListItem.h:94
void SetName(Aws::String &&value)
RunListItem & WithStartTime(Aws::Utils::DateTime &&value)
void SetId(Aws::String &&value)
Definition RunListItem.h:64
RunListItem & WithWorkflowId(const Aws::String &value)
Definition RunListItem.h:92
void SetId(const Aws::String &value)
Definition RunListItem.h:63
const RunStatus & GetStatus() const
Definition RunListItem.h:75
RunListItem & WithId(Aws::String &&value)
Definition RunListItem.h:67
const Aws::String & GetWorkflowId() const
Definition RunListItem.h:87
RunListItem & WithArn(const Aws::String &value)
Definition RunListItem.h:52
RunListItem & WithName(const Aws::String &value)
RunListItem & WithStorageCapacity(int value)
const Aws::Utils::DateTime & GetCreationTime() const
RunListItem & WithStopTime(const Aws::Utils::DateTime &value)
void SetArn(const char *value)
Definition RunListItem.h:51
RunListItem & WithPriority(int value)
RunListItem & WithWorkflowId(Aws::String &&value)
Definition RunListItem.h:93
RunListItem & WithArn(const char *value)
Definition RunListItem.h:54
AWS_OMICS_API RunListItem(Aws::Utils::Json::JsonView jsonValue)
RunListItem & WithArn(Aws::String &&value)
Definition RunListItem.h:53
void SetStorageType(const StorageType &value)
void SetId(const char *value)
Definition RunListItem.h:65
void SetStatus(RunStatus &&value)
Definition RunListItem.h:78
void SetStorageCapacity(int value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetStopTime(Aws::Utils::DateTime &&value)
void SetStorageType(StorageType &&value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
RunListItem & WithStorageType(StorageType &&value)
RunListItem & WithId(const Aws::String &value)
Definition RunListItem.h:66
RunListItem & WithStorageType(const StorageType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue