AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetWorkflowResult.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/WorkflowStatus.h>
10#include <aws/omics/model/WorkflowType.h>
11#include <aws/omics/model/WorkflowEngine.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/omics/model/Accelerators.h>
15#include <aws/omics/model/WorkflowParameter.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace Omics
31{
32namespace Model
33{
35 {
36 public:
37 AWS_OMICS_API GetWorkflowResult();
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline void SetArn(const Aws::String& value) { m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arn.assign(value); }
50 inline GetWorkflowResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline GetWorkflowResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline GetWorkflowResult& WithArn(const char* value) { SetArn(value); return *this;}
54
56
59 inline const Aws::String& GetId() const{ return m_id; }
60 inline void SetId(const Aws::String& value) { m_id = value; }
61 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
62 inline void SetId(const char* value) { m_id.assign(value); }
63 inline GetWorkflowResult& WithId(const Aws::String& value) { SetId(value); return *this;}
64 inline GetWorkflowResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
65 inline GetWorkflowResult& WithId(const char* value) { SetId(value); return *this;}
67
69
72 inline const WorkflowStatus& GetStatus() const{ return m_status; }
73 inline void SetStatus(const WorkflowStatus& value) { m_status = value; }
74 inline void SetStatus(WorkflowStatus&& value) { m_status = std::move(value); }
75 inline GetWorkflowResult& WithStatus(const WorkflowStatus& value) { SetStatus(value); return *this;}
76 inline GetWorkflowResult& WithStatus(WorkflowStatus&& value) { SetStatus(std::move(value)); return *this;}
78
80
83 inline const WorkflowType& GetType() const{ return m_type; }
84 inline void SetType(const WorkflowType& value) { m_type = value; }
85 inline void SetType(WorkflowType&& value) { m_type = std::move(value); }
86 inline GetWorkflowResult& WithType(const WorkflowType& value) { SetType(value); return *this;}
87 inline GetWorkflowResult& WithType(WorkflowType&& value) { SetType(std::move(value)); return *this;}
89
91
94 inline const Aws::String& GetName() const{ return m_name; }
95 inline void SetName(const Aws::String& value) { m_name = value; }
96 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
97 inline void SetName(const char* value) { m_name.assign(value); }
98 inline GetWorkflowResult& WithName(const Aws::String& value) { SetName(value); return *this;}
99 inline GetWorkflowResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
100 inline GetWorkflowResult& WithName(const char* value) { SetName(value); return *this;}
102
104
107 inline const Aws::String& GetDescription() const{ return m_description; }
108 inline void SetDescription(const Aws::String& value) { m_description = value; }
109 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
110 inline void SetDescription(const char* value) { m_description.assign(value); }
111 inline GetWorkflowResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
112 inline GetWorkflowResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
113 inline GetWorkflowResult& WithDescription(const char* value) { SetDescription(value); return *this;}
115
117
120 inline const WorkflowEngine& GetEngine() const{ return m_engine; }
121 inline void SetEngine(const WorkflowEngine& value) { m_engine = value; }
122 inline void SetEngine(WorkflowEngine&& value) { m_engine = std::move(value); }
123 inline GetWorkflowResult& WithEngine(const WorkflowEngine& value) { SetEngine(value); return *this;}
124 inline GetWorkflowResult& WithEngine(WorkflowEngine&& value) { SetEngine(std::move(value)); return *this;}
126
128
131 inline const Aws::String& GetDefinition() const{ return m_definition; }
132 inline void SetDefinition(const Aws::String& value) { m_definition = value; }
133 inline void SetDefinition(Aws::String&& value) { m_definition = std::move(value); }
134 inline void SetDefinition(const char* value) { m_definition.assign(value); }
135 inline GetWorkflowResult& WithDefinition(const Aws::String& value) { SetDefinition(value); return *this;}
136 inline GetWorkflowResult& WithDefinition(Aws::String&& value) { SetDefinition(std::move(value)); return *this;}
137 inline GetWorkflowResult& WithDefinition(const char* value) { SetDefinition(value); return *this;}
139
141
144 inline const Aws::String& GetMain() const{ return m_main; }
145 inline void SetMain(const Aws::String& value) { m_main = value; }
146 inline void SetMain(Aws::String&& value) { m_main = std::move(value); }
147 inline void SetMain(const char* value) { m_main.assign(value); }
148 inline GetWorkflowResult& WithMain(const Aws::String& value) { SetMain(value); return *this;}
149 inline GetWorkflowResult& WithMain(Aws::String&& value) { SetMain(std::move(value)); return *this;}
150 inline GetWorkflowResult& WithMain(const char* value) { SetMain(value); return *this;}
152
154
157 inline const Aws::String& GetDigest() const{ return m_digest; }
158 inline void SetDigest(const Aws::String& value) { m_digest = value; }
159 inline void SetDigest(Aws::String&& value) { m_digest = std::move(value); }
160 inline void SetDigest(const char* value) { m_digest.assign(value); }
161 inline GetWorkflowResult& WithDigest(const Aws::String& value) { SetDigest(value); return *this;}
162 inline GetWorkflowResult& WithDigest(Aws::String&& value) { SetDigest(std::move(value)); return *this;}
163 inline GetWorkflowResult& WithDigest(const char* value) { SetDigest(value); return *this;}
165
167
170 inline const Aws::Map<Aws::String, WorkflowParameter>& GetParameterTemplate() const{ return m_parameterTemplate; }
171 inline void SetParameterTemplate(const Aws::Map<Aws::String, WorkflowParameter>& value) { m_parameterTemplate = value; }
172 inline void SetParameterTemplate(Aws::Map<Aws::String, WorkflowParameter>&& value) { m_parameterTemplate = std::move(value); }
175 inline GetWorkflowResult& AddParameterTemplate(const Aws::String& key, const WorkflowParameter& value) { m_parameterTemplate.emplace(key, value); return *this; }
176 inline GetWorkflowResult& AddParameterTemplate(Aws::String&& key, const WorkflowParameter& value) { m_parameterTemplate.emplace(std::move(key), value); return *this; }
177 inline GetWorkflowResult& AddParameterTemplate(const Aws::String& key, WorkflowParameter&& value) { m_parameterTemplate.emplace(key, std::move(value)); return *this; }
178 inline GetWorkflowResult& AddParameterTemplate(Aws::String&& key, WorkflowParameter&& value) { m_parameterTemplate.emplace(std::move(key), std::move(value)); return *this; }
179 inline GetWorkflowResult& AddParameterTemplate(const char* key, WorkflowParameter&& value) { m_parameterTemplate.emplace(key, std::move(value)); return *this; }
180 inline GetWorkflowResult& AddParameterTemplate(const char* key, const WorkflowParameter& value) { m_parameterTemplate.emplace(key, value); return *this; }
182
184
187 inline int GetStorageCapacity() const{ return m_storageCapacity; }
188 inline void SetStorageCapacity(int value) { m_storageCapacity = value; }
189 inline GetWorkflowResult& WithStorageCapacity(int value) { SetStorageCapacity(value); return *this;}
191
193
196 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
197 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
198 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
199 inline GetWorkflowResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
200 inline GetWorkflowResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
202
204
207 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
208 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
209 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
210 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
211 inline GetWorkflowResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
212 inline GetWorkflowResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
213 inline GetWorkflowResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
215
217
220 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
221 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
222 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
223 inline GetWorkflowResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
224 inline GetWorkflowResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
225 inline GetWorkflowResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
226 inline GetWorkflowResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
227 inline GetWorkflowResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
228 inline GetWorkflowResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
229 inline GetWorkflowResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
230 inline GetWorkflowResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
231 inline GetWorkflowResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
233
235
238 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const{ return m_metadata; }
239 inline void SetMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_metadata = value; }
240 inline void SetMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_metadata = std::move(value); }
242 inline GetWorkflowResult& WithMetadata(Aws::Map<Aws::String, Aws::String>&& value) { SetMetadata(std::move(value)); return *this;}
243 inline GetWorkflowResult& AddMetadata(const Aws::String& key, const Aws::String& value) { m_metadata.emplace(key, value); return *this; }
244 inline GetWorkflowResult& AddMetadata(Aws::String&& key, const Aws::String& value) { m_metadata.emplace(std::move(key), value); return *this; }
245 inline GetWorkflowResult& AddMetadata(const Aws::String& key, Aws::String&& value) { m_metadata.emplace(key, std::move(value)); return *this; }
246 inline GetWorkflowResult& AddMetadata(Aws::String&& key, Aws::String&& value) { m_metadata.emplace(std::move(key), std::move(value)); return *this; }
247 inline GetWorkflowResult& AddMetadata(const char* key, Aws::String&& value) { m_metadata.emplace(key, std::move(value)); return *this; }
248 inline GetWorkflowResult& AddMetadata(Aws::String&& key, const char* value) { m_metadata.emplace(std::move(key), value); return *this; }
249 inline GetWorkflowResult& AddMetadata(const char* key, const char* value) { m_metadata.emplace(key, value); return *this; }
251
253
256 inline const Accelerators& GetAccelerators() const{ return m_accelerators; }
257 inline void SetAccelerators(const Accelerators& value) { m_accelerators = value; }
258 inline void SetAccelerators(Accelerators&& value) { m_accelerators = std::move(value); }
259 inline GetWorkflowResult& WithAccelerators(const Accelerators& value) { SetAccelerators(value); return *this;}
260 inline GetWorkflowResult& WithAccelerators(Accelerators&& value) { SetAccelerators(std::move(value)); return *this;}
262
264
265 inline const Aws::String& GetRequestId() const{ return m_requestId; }
266 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
267 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
268 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
269 inline GetWorkflowResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
270 inline GetWorkflowResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
271 inline GetWorkflowResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
273 private:
274
275 Aws::String m_arn;
276
277 Aws::String m_id;
278
279 WorkflowStatus m_status;
280
281 WorkflowType m_type;
282
283 Aws::String m_name;
284
285 Aws::String m_description;
286
287 WorkflowEngine m_engine;
288
289 Aws::String m_definition;
290
291 Aws::String m_main;
292
293 Aws::String m_digest;
294
296
297 int m_storageCapacity;
298
299 Aws::Utils::DateTime m_creationTime;
300
301 Aws::String m_statusMessage;
302
304
306
307 Accelerators m_accelerators;
308
309 Aws::String m_requestId;
310 };
311
312} // namespace Model
313} // namespace Omics
314} // namespace Aws
GetWorkflowResult & WithName(Aws::String &&value)
GetWorkflowResult & WithDescription(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
GetWorkflowResult & WithDefinition(const Aws::String &value)
GetWorkflowResult & WithStorageCapacity(int value)
void SetName(const Aws::String &value)
void SetRequestId(Aws::String &&value)
void SetDescription(const Aws::String &value)
GetWorkflowResult & AddTags(Aws::String &&key, Aws::String &&value)
GetWorkflowResult & WithCreationTime(Aws::Utils::DateTime &&value)
void SetType(const WorkflowType &value)
void SetId(const Aws::String &value)
void SetDefinition(const Aws::String &value)
GetWorkflowResult & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_OMICS_API GetWorkflowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWorkflowResult & AddMetadata(const char *key, Aws::String &&value)
void SetParameterTemplate(const Aws::Map< Aws::String, WorkflowParameter > &value)
void SetParameterTemplate(Aws::Map< Aws::String, WorkflowParameter > &&value)
GetWorkflowResult & AddParameterTemplate(const Aws::String &key, const WorkflowParameter &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetArn(const Aws::String &value)
GetWorkflowResult & WithDescription(const char *value)
void SetEngine(const WorkflowEngine &value)
const Aws::String & GetStatusMessage() const
GetWorkflowResult & WithStatusMessage(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetWorkflowResult & AddTags(Aws::String &&key, const Aws::String &value)
GetWorkflowResult & WithEngine(WorkflowEngine &&value)
GetWorkflowResult & AddTags(const Aws::String &key, Aws::String &&value)
GetWorkflowResult & WithDefinition(Aws::String &&value)
const Aws::String & GetName() const
GetWorkflowResult & AddParameterTemplate(const char *key, const WorkflowParameter &value)
GetWorkflowResult & AddMetadata(Aws::String &&key, Aws::String &&value)
GetWorkflowResult & WithArn(Aws::String &&value)
GetWorkflowResult & WithStatus(const WorkflowStatus &value)
const WorkflowEngine & GetEngine() const
const Aws::String & GetMain() const
GetWorkflowResult & WithDefinition(const char *value)
void SetMain(const Aws::String &value)
GetWorkflowResult & AddParameterTemplate(Aws::String &&key, const WorkflowParameter &value)
void SetDescription(Aws::String &&value)
GetWorkflowResult & WithId(const Aws::String &value)
GetWorkflowResult & WithParameterTemplate(Aws::Map< Aws::String, WorkflowParameter > &&value)
GetWorkflowResult & AddTags(const char *key, const char *value)
GetWorkflowResult & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
GetWorkflowResult & AddMetadata(const char *key, const char *value)
GetWorkflowResult & WithRequestId(const char *value)
const Aws::String & GetDigest() const
GetWorkflowResult & WithStatusMessage(const char *value)
GetWorkflowResult & WithRequestId(const Aws::String &value)
GetWorkflowResult & WithArn(const char *value)
void SetType(WorkflowType &&value)
GetWorkflowResult & AddMetadata(const Aws::String &key, Aws::String &&value)
GetWorkflowResult & WithName(const Aws::String &value)
void SetStatus(const WorkflowStatus &value)
const Aws::String & GetArn() const
const Aws::Utils::DateTime & GetCreationTime() const
GetWorkflowResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetCreationTime(Aws::Utils::DateTime &&value)
GetWorkflowResult & WithStatus(WorkflowStatus &&value)
GetWorkflowResult & WithDescription(Aws::String &&value)
GetWorkflowResult & WithName(const char *value)
void SetStatusMessage(const Aws::String &value)
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetDefinition() const
GetWorkflowResult & WithArn(const Aws::String &value)
GetWorkflowResult & WithDigest(const char *value)
void SetAccelerators(const Accelerators &value)
GetWorkflowResult & AddTags(Aws::String &&key, const char *value)
GetWorkflowResult & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
GetWorkflowResult & WithId(const char *value)
const WorkflowType & GetType() const
const Aws::Map< Aws::String, WorkflowParameter > & GetParameterTemplate() const
GetWorkflowResult & WithDigest(Aws::String &&value)
GetWorkflowResult & WithAccelerators(Accelerators &&value)
AWS_OMICS_API GetWorkflowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWorkflowResult & AddMetadata(Aws::String &&key, const char *value)
void SetStatus(WorkflowStatus &&value)
GetWorkflowResult & WithMain(const char *value)
GetWorkflowResult & AddMetadata(const Aws::String &key, const Aws::String &value)
GetWorkflowResult & WithDigest(const Aws::String &value)
GetWorkflowResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetWorkflowResult & AddParameterTemplate(const char *key, WorkflowParameter &&value)
GetWorkflowResult & AddParameterTemplate(const Aws::String &key, WorkflowParameter &&value)
void SetRequestId(const Aws::String &value)
void SetStatusMessage(Aws::String &&value)
GetWorkflowResult & AddTags(const char *key, Aws::String &&value)
void SetDigest(const Aws::String &value)
GetWorkflowResult & AddMetadata(Aws::String &&key, const Aws::String &value)
GetWorkflowResult & WithAccelerators(const Accelerators &value)
GetWorkflowResult & WithRequestId(Aws::String &&value)
const Aws::String & GetRequestId() const
const WorkflowStatus & GetStatus() const
GetWorkflowResult & WithMain(const Aws::String &value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
GetWorkflowResult & AddParameterTemplate(Aws::String &&key, WorkflowParameter &&value)
void SetEngine(WorkflowEngine &&value)
GetWorkflowResult & WithId(Aws::String &&value)
GetWorkflowResult & WithParameterTemplate(const Aws::Map< Aws::String, WorkflowParameter > &value)
void SetDefinition(Aws::String &&value)
GetWorkflowResult & WithMain(Aws::String &&value)
const Aws::String & GetDescription() const
GetWorkflowResult & WithStatusMessage(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
const Accelerators & GetAccelerators() const
GetWorkflowResult & AddTags(const Aws::String &key, const Aws::String &value)
GetWorkflowResult & WithType(WorkflowType &&value)
void SetAccelerators(Accelerators &&value)
GetWorkflowResult & WithEngine(const WorkflowEngine &value)
const Aws::String & GetId() const
GetWorkflowResult & WithType(const WorkflowType &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue