AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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/StorageType.h>
16#include <aws/omics/model/DefinitionRepositoryDetails.h>
17#include <aws/omics/model/WorkflowParameter.h>
18#include <utility>
19
20namespace Aws
21{
22template<typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils
26{
27namespace Json
28{
29 class JsonValue;
30} // namespace Json
31} // namespace Utils
32namespace Omics
33{
34namespace Model
35{
37 {
38 public:
39 AWS_OMICS_API GetWorkflowResult() = default;
42
43
45
48 inline const Aws::String& GetArn() const { return m_arn; }
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 GetWorkflowResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
54
56
59 inline const Aws::String& GetId() const { return m_id; }
60 template<typename IdT = Aws::String>
61 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
62 template<typename IdT = Aws::String>
63 GetWorkflowResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
65
67
70 inline WorkflowStatus GetStatus() const { return m_status; }
71 inline void SetStatus(WorkflowStatus value) { m_statusHasBeenSet = true; m_status = value; }
72 inline GetWorkflowResult& WithStatus(WorkflowStatus value) { SetStatus(value); return *this;}
74
76
79 inline WorkflowType GetType() const { return m_type; }
80 inline void SetType(WorkflowType value) { m_typeHasBeenSet = true; m_type = value; }
81 inline GetWorkflowResult& WithType(WorkflowType value) { SetType(value); return *this;}
83
85
88 inline const Aws::String& GetName() const { return m_name; }
89 template<typename NameT = Aws::String>
90 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
91 template<typename NameT = Aws::String>
92 GetWorkflowResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
94
96
99 inline const Aws::String& GetDescription() const { return m_description; }
100 template<typename DescriptionT = Aws::String>
101 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
102 template<typename DescriptionT = Aws::String>
103 GetWorkflowResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
105
107
110 inline WorkflowEngine GetEngine() const { return m_engine; }
111 inline void SetEngine(WorkflowEngine value) { m_engineHasBeenSet = true; m_engine = value; }
112 inline GetWorkflowResult& WithEngine(WorkflowEngine value) { SetEngine(value); return *this;}
114
116
119 inline const Aws::String& GetDefinition() const { return m_definition; }
120 template<typename DefinitionT = Aws::String>
121 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet = true; m_definition = std::forward<DefinitionT>(value); }
122 template<typename DefinitionT = Aws::String>
123 GetWorkflowResult& WithDefinition(DefinitionT&& value) { SetDefinition(std::forward<DefinitionT>(value)); return *this;}
125
127
130 inline const Aws::String& GetMain() const { return m_main; }
131 template<typename MainT = Aws::String>
132 void SetMain(MainT&& value) { m_mainHasBeenSet = true; m_main = std::forward<MainT>(value); }
133 template<typename MainT = Aws::String>
134 GetWorkflowResult& WithMain(MainT&& value) { SetMain(std::forward<MainT>(value)); return *this;}
136
138
141 inline const Aws::String& GetDigest() const { return m_digest; }
142 template<typename DigestT = Aws::String>
143 void SetDigest(DigestT&& value) { m_digestHasBeenSet = true; m_digest = std::forward<DigestT>(value); }
144 template<typename DigestT = Aws::String>
145 GetWorkflowResult& WithDigest(DigestT&& value) { SetDigest(std::forward<DigestT>(value)); return *this;}
147
149
152 inline const Aws::Map<Aws::String, WorkflowParameter>& GetParameterTemplate() const { return m_parameterTemplate; }
153 template<typename ParameterTemplateT = Aws::Map<Aws::String, WorkflowParameter>>
154 void SetParameterTemplate(ParameterTemplateT&& value) { m_parameterTemplateHasBeenSet = true; m_parameterTemplate = std::forward<ParameterTemplateT>(value); }
155 template<typename ParameterTemplateT = Aws::Map<Aws::String, WorkflowParameter>>
156 GetWorkflowResult& WithParameterTemplate(ParameterTemplateT&& value) { SetParameterTemplate(std::forward<ParameterTemplateT>(value)); return *this;}
157 template<typename ParameterTemplateKeyT = Aws::String, typename ParameterTemplateValueT = WorkflowParameter>
158 GetWorkflowResult& AddParameterTemplate(ParameterTemplateKeyT&& key, ParameterTemplateValueT&& value) {
159 m_parameterTemplateHasBeenSet = true; m_parameterTemplate.emplace(std::forward<ParameterTemplateKeyT>(key), std::forward<ParameterTemplateValueT>(value)); return *this;
160 }
162
164
168 inline int GetStorageCapacity() const { return m_storageCapacity; }
169 inline void SetStorageCapacity(int value) { m_storageCapacityHasBeenSet = true; m_storageCapacity = value; }
170 inline GetWorkflowResult& WithStorageCapacity(int value) { SetStorageCapacity(value); return *this;}
172
174
177 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
178 template<typename CreationTimeT = Aws::Utils::DateTime>
179 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
180 template<typename CreationTimeT = Aws::Utils::DateTime>
181 GetWorkflowResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
183
185
188 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
189 template<typename StatusMessageT = Aws::String>
190 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
191 template<typename StatusMessageT = Aws::String>
192 GetWorkflowResult& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
194
196
199 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
200 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
201 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
202 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
203 GetWorkflowResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
204 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
205 GetWorkflowResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
206 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
207 }
209
211
214 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const { return m_metadata; }
215 template<typename MetadataT = Aws::Map<Aws::String, Aws::String>>
216 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet = true; m_metadata = std::forward<MetadataT>(value); }
217 template<typename MetadataT = Aws::Map<Aws::String, Aws::String>>
218 GetWorkflowResult& WithMetadata(MetadataT&& value) { SetMetadata(std::forward<MetadataT>(value)); return *this;}
219 template<typename MetadataKeyT = Aws::String, typename MetadataValueT = Aws::String>
220 GetWorkflowResult& AddMetadata(MetadataKeyT&& key, MetadataValueT&& value) {
221 m_metadataHasBeenSet = true; m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value)); return *this;
222 }
224
226
229 inline Accelerators GetAccelerators() const { return m_accelerators; }
230 inline void SetAccelerators(Accelerators value) { m_acceleratorsHasBeenSet = true; m_accelerators = value; }
231 inline GetWorkflowResult& WithAccelerators(Accelerators value) { SetAccelerators(value); return *this;}
233
235
238 inline StorageType GetStorageType() const { return m_storageType; }
239 inline void SetStorageType(StorageType value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
240 inline GetWorkflowResult& WithStorageType(StorageType value) { SetStorageType(value); return *this;}
242
244
247 inline const Aws::String& GetUuid() const { return m_uuid; }
248 template<typename UuidT = Aws::String>
249 void SetUuid(UuidT&& value) { m_uuidHasBeenSet = true; m_uuid = std::forward<UuidT>(value); }
250 template<typename UuidT = Aws::String>
251 GetWorkflowResult& WithUuid(UuidT&& value) { SetUuid(std::forward<UuidT>(value)); return *this;}
253
255
259 inline const Aws::String& GetReadme() const { return m_readme; }
260 template<typename ReadmeT = Aws::String>
261 void SetReadme(ReadmeT&& value) { m_readmeHasBeenSet = true; m_readme = std::forward<ReadmeT>(value); }
262 template<typename ReadmeT = Aws::String>
263 GetWorkflowResult& WithReadme(ReadmeT&& value) { SetReadme(std::forward<ReadmeT>(value)); return *this;}
265
267
271 inline const DefinitionRepositoryDetails& GetDefinitionRepositoryDetails() const { return m_definitionRepositoryDetails; }
272 template<typename DefinitionRepositoryDetailsT = DefinitionRepositoryDetails>
273 void SetDefinitionRepositoryDetails(DefinitionRepositoryDetailsT&& value) { m_definitionRepositoryDetailsHasBeenSet = true; m_definitionRepositoryDetails = std::forward<DefinitionRepositoryDetailsT>(value); }
274 template<typename DefinitionRepositoryDetailsT = DefinitionRepositoryDetails>
275 GetWorkflowResult& WithDefinitionRepositoryDetails(DefinitionRepositoryDetailsT&& value) { SetDefinitionRepositoryDetails(std::forward<DefinitionRepositoryDetailsT>(value)); return *this;}
277
279
285 inline const Aws::String& GetReadmePath() const { return m_readmePath; }
286 template<typename ReadmePathT = Aws::String>
287 void SetReadmePath(ReadmePathT&& value) { m_readmePathHasBeenSet = true; m_readmePath = std::forward<ReadmePathT>(value); }
288 template<typename ReadmePathT = Aws::String>
289 GetWorkflowResult& WithReadmePath(ReadmePathT&& value) { SetReadmePath(std::forward<ReadmePathT>(value)); return *this;}
291
293
294 inline const Aws::String& GetRequestId() const { return m_requestId; }
295 template<typename RequestIdT = Aws::String>
296 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
297 template<typename RequestIdT = Aws::String>
298 GetWorkflowResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
300 private:
301
302 Aws::String m_arn;
303 bool m_arnHasBeenSet = false;
304
305 Aws::String m_id;
306 bool m_idHasBeenSet = false;
307
309 bool m_statusHasBeenSet = false;
310
312 bool m_typeHasBeenSet = false;
313
314 Aws::String m_name;
315 bool m_nameHasBeenSet = false;
316
317 Aws::String m_description;
318 bool m_descriptionHasBeenSet = false;
319
321 bool m_engineHasBeenSet = false;
322
323 Aws::String m_definition;
324 bool m_definitionHasBeenSet = false;
325
326 Aws::String m_main;
327 bool m_mainHasBeenSet = false;
328
329 Aws::String m_digest;
330 bool m_digestHasBeenSet = false;
331
333 bool m_parameterTemplateHasBeenSet = false;
334
335 int m_storageCapacity{0};
336 bool m_storageCapacityHasBeenSet = false;
337
338 Aws::Utils::DateTime m_creationTime{};
339 bool m_creationTimeHasBeenSet = false;
340
341 Aws::String m_statusMessage;
342 bool m_statusMessageHasBeenSet = false;
343
345 bool m_tagsHasBeenSet = false;
346
348 bool m_metadataHasBeenSet = false;
349
350 Accelerators m_accelerators{Accelerators::NOT_SET};
351 bool m_acceleratorsHasBeenSet = false;
352
353 StorageType m_storageType{StorageType::NOT_SET};
354 bool m_storageTypeHasBeenSet = false;
355
356 Aws::String m_uuid;
357 bool m_uuidHasBeenSet = false;
358
359 Aws::String m_readme;
360 bool m_readmeHasBeenSet = false;
361
362 DefinitionRepositoryDetails m_definitionRepositoryDetails;
363 bool m_definitionRepositoryDetailsHasBeenSet = false;
364
365 Aws::String m_readmePath;
366 bool m_readmePathHasBeenSet = false;
367
368 Aws::String m_requestId;
369 bool m_requestIdHasBeenSet = false;
370 };
371
372} // namespace Model
373} // namespace Omics
374} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
GetWorkflowResult & WithStorageCapacity(int value)
void SetCreationTime(CreationTimeT &&value)
void SetStatusMessage(StatusMessageT &&value)
GetWorkflowResult & WithStatusMessage(StatusMessageT &&value)
GetWorkflowResult & WithDescription(DescriptionT &&value)
GetWorkflowResult & WithStorageType(StorageType value)
AWS_OMICS_API GetWorkflowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWorkflowResult & WithParameterTemplate(ParameterTemplateT &&value)
const Aws::String & GetStatusMessage() const
const Aws::String & GetName() const
void SetParameterTemplate(ParameterTemplateT &&value)
GetWorkflowResult & WithDefinition(DefinitionT &&value)
GetWorkflowResult & AddParameterTemplate(ParameterTemplateKeyT &&key, ParameterTemplateValueT &&value)
const Aws::String & GetMain() const
GetWorkflowResult & WithCreationTime(CreationTimeT &&value)
GetWorkflowResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetWorkflowResult & WithMetadata(MetadataT &&value)
const Aws::String & GetDigest() const
const DefinitionRepositoryDetails & GetDefinitionRepositoryDetails() const
AWS_OMICS_API GetWorkflowResult()=default
GetWorkflowResult & WithDigest(DigestT &&value)
const Aws::String & GetArn() const
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetDescription(DescriptionT &&value)
GetWorkflowResult & WithMain(MainT &&value)
const Aws::String & GetDefinition() const
const Aws::String & GetReadme() const
GetWorkflowResult & WithAccelerators(Accelerators value)
GetWorkflowResult & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
GetWorkflowResult & WithReadme(ReadmeT &&value)
const Aws::Map< Aws::String, WorkflowParameter > & GetParameterTemplate() const
const Aws::String & GetReadmePath() const
GetWorkflowResult & WithTags(TagsT &&value)
AWS_OMICS_API GetWorkflowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDefinitionRepositoryDetails(DefinitionRepositoryDetailsT &&value)
GetWorkflowResult & WithStatus(WorkflowStatus value)
const Aws::String & GetUuid() const
void SetStatus(WorkflowStatus value)
void SetReadmePath(ReadmePathT &&value)
GetWorkflowResult & WithDefinitionRepositoryDetails(DefinitionRepositoryDetailsT &&value)
GetWorkflowResult & WithUuid(UuidT &&value)
const Aws::String & GetRequestId() const
GetWorkflowResult & WithReadmePath(ReadmePathT &&value)
GetWorkflowResult & WithRequestId(RequestIdT &&value)
GetWorkflowResult & WithEngine(WorkflowEngine value)
void SetAccelerators(Accelerators value)
const Aws::String & GetDescription() const
void SetEngine(WorkflowEngine value)
GetWorkflowResult & WithArn(ArnT &&value)
GetWorkflowResult & WithName(NameT &&value)
void SetDefinition(DefinitionT &&value)
GetWorkflowResult & WithId(IdT &&value)
const Aws::String & GetId() const
GetWorkflowResult & WithType(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