AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
GetWorkflowVersionResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/omics/Omics_EXPORTS.h>
11#include <aws/omics/model/Accelerators.h>
12#include <aws/omics/model/ContainerRegistryMap.h>
13#include <aws/omics/model/DefinitionRepositoryDetails.h>
14#include <aws/omics/model/StorageType.h>
15#include <aws/omics/model/WorkflowEngine.h>
16#include <aws/omics/model/WorkflowParameter.h>
17#include <aws/omics/model/WorkflowStatus.h>
18#include <aws/omics/model/WorkflowType.h>
19
20#include <utility>
21
22namespace Aws {
23template <typename RESULT_TYPE>
24class AmazonWebServiceResult;
25
26namespace Utils {
27namespace Json {
28class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace Omics {
32namespace Model {
34 public:
35 AWS_OMICS_API GetWorkflowVersionResult() = default;
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 template <typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) {
46 m_arnHasBeenSet = true;
47 m_arn = std::forward<ArnT>(value);
48 }
49 template <typename ArnT = Aws::String>
51 SetArn(std::forward<ArnT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
61 template <typename WorkflowIdT = Aws::String>
62 void SetWorkflowId(WorkflowIdT&& value) {
63 m_workflowIdHasBeenSet = true;
64 m_workflowId = std::forward<WorkflowIdT>(value);
65 }
66 template <typename WorkflowIdT = Aws::String>
68 SetWorkflowId(std::forward<WorkflowIdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetVersionName() const { return m_versionName; }
78 template <typename VersionNameT = Aws::String>
79 void SetVersionName(VersionNameT&& value) {
80 m_versionNameHasBeenSet = true;
81 m_versionName = std::forward<VersionNameT>(value);
82 }
83 template <typename VersionNameT = Aws::String>
85 SetVersionName(std::forward<VersionNameT>(value));
86 return *this;
87 }
89
91
94 inline Accelerators GetAccelerators() const { return m_accelerators; }
95 inline void SetAccelerators(Accelerators value) {
96 m_acceleratorsHasBeenSet = true;
97 m_accelerators = value;
98 }
100 SetAccelerators(value);
101 return *this;
102 }
104
106
109 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
110 template <typename CreationTimeT = Aws::Utils::DateTime>
111 void SetCreationTime(CreationTimeT&& value) {
112 m_creationTimeHasBeenSet = true;
113 m_creationTime = std::forward<CreationTimeT>(value);
114 }
115 template <typename CreationTimeT = Aws::Utils::DateTime>
117 SetCreationTime(std::forward<CreationTimeT>(value));
118 return *this;
119 }
121
123
126 inline const Aws::String& GetDescription() const { return m_description; }
127 template <typename DescriptionT = Aws::String>
128 void SetDescription(DescriptionT&& value) {
129 m_descriptionHasBeenSet = true;
130 m_description = std::forward<DescriptionT>(value);
131 }
132 template <typename DescriptionT = Aws::String>
134 SetDescription(std::forward<DescriptionT>(value));
135 return *this;
136 }
138
140
143 inline const Aws::String& GetDefinition() const { return m_definition; }
144 template <typename DefinitionT = Aws::String>
145 void SetDefinition(DefinitionT&& value) {
146 m_definitionHasBeenSet = true;
147 m_definition = std::forward<DefinitionT>(value);
148 }
149 template <typename DefinitionT = Aws::String>
151 SetDefinition(std::forward<DefinitionT>(value));
152 return *this;
153 }
155
157
160 inline const Aws::String& GetDigest() const { return m_digest; }
161 template <typename DigestT = Aws::String>
162 void SetDigest(DigestT&& value) {
163 m_digestHasBeenSet = true;
164 m_digest = std::forward<DigestT>(value);
165 }
166 template <typename DigestT = Aws::String>
168 SetDigest(std::forward<DigestT>(value));
169 return *this;
170 }
172
174
177 inline WorkflowEngine GetEngine() const { return m_engine; }
178 inline void SetEngine(WorkflowEngine value) {
179 m_engineHasBeenSet = true;
180 m_engine = value;
181 }
183 SetEngine(value);
184 return *this;
185 }
187
189
192 inline const Aws::String& GetMain() const { return m_main; }
193 template <typename MainT = Aws::String>
194 void SetMain(MainT&& value) {
195 m_mainHasBeenSet = true;
196 m_main = std::forward<MainT>(value);
197 }
198 template <typename MainT = Aws::String>
200 SetMain(std::forward<MainT>(value));
201 return *this;
202 }
204
206
209 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const { return m_metadata; }
210 template <typename MetadataT = Aws::Map<Aws::String, Aws::String>>
211 void SetMetadata(MetadataT&& value) {
212 m_metadataHasBeenSet = true;
213 m_metadata = std::forward<MetadataT>(value);
214 }
215 template <typename MetadataT = Aws::Map<Aws::String, Aws::String>>
217 SetMetadata(std::forward<MetadataT>(value));
218 return *this;
219 }
220 template <typename MetadataKeyT = Aws::String, typename MetadataValueT = Aws::String>
221 GetWorkflowVersionResult& AddMetadata(MetadataKeyT&& key, MetadataValueT&& value) {
222 m_metadataHasBeenSet = true;
223 m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value));
224 return *this;
225 }
227
229
232 inline const Aws::Map<Aws::String, WorkflowParameter>& GetParameterTemplate() const { return m_parameterTemplate; }
233 template <typename ParameterTemplateT = Aws::Map<Aws::String, WorkflowParameter>>
234 void SetParameterTemplate(ParameterTemplateT&& value) {
235 m_parameterTemplateHasBeenSet = true;
236 m_parameterTemplate = std::forward<ParameterTemplateT>(value);
237 }
238 template <typename ParameterTemplateT = Aws::Map<Aws::String, WorkflowParameter>>
239 GetWorkflowVersionResult& WithParameterTemplate(ParameterTemplateT&& value) {
240 SetParameterTemplate(std::forward<ParameterTemplateT>(value));
241 return *this;
242 }
243 template <typename ParameterTemplateKeyT = Aws::String, typename ParameterTemplateValueT = WorkflowParameter>
244 GetWorkflowVersionResult& AddParameterTemplate(ParameterTemplateKeyT&& key, ParameterTemplateValueT&& value) {
245 m_parameterTemplateHasBeenSet = true;
246 m_parameterTemplate.emplace(std::forward<ParameterTemplateKeyT>(key), std::forward<ParameterTemplateValueT>(value));
247 return *this;
248 }
250
252
255 inline WorkflowStatus GetStatus() const { return m_status; }
256 inline void SetStatus(WorkflowStatus value) {
257 m_statusHasBeenSet = true;
258 m_status = value;
259 }
261 SetStatus(value);
262 return *this;
263 }
265
267
270 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
271 template <typename StatusMessageT = Aws::String>
272 void SetStatusMessage(StatusMessageT&& value) {
273 m_statusMessageHasBeenSet = true;
274 m_statusMessage = std::forward<StatusMessageT>(value);
275 }
276 template <typename StatusMessageT = Aws::String>
278 SetStatusMessage(std::forward<StatusMessageT>(value));
279 return *this;
280 }
282
284
287 inline StorageType GetStorageType() const { return m_storageType; }
288 inline void SetStorageType(StorageType value) {
289 m_storageTypeHasBeenSet = true;
290 m_storageType = value;
291 }
293 SetStorageType(value);
294 return *this;
295 }
297
299
302 inline int GetStorageCapacity() const { return m_storageCapacity; }
303 inline void SetStorageCapacity(int value) {
304 m_storageCapacityHasBeenSet = true;
305 m_storageCapacity = value;
306 }
308 SetStorageCapacity(value);
309 return *this;
310 }
312
314
317 inline WorkflowType GetType() const { return m_type; }
318 inline void SetType(WorkflowType value) {
319 m_typeHasBeenSet = true;
320 m_type = value;
321 }
323 SetType(value);
324 return *this;
325 }
327
329
332 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
333 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
334 void SetTags(TagsT&& value) {
335 m_tagsHasBeenSet = true;
336 m_tags = std::forward<TagsT>(value);
337 }
338 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
340 SetTags(std::forward<TagsT>(value));
341 return *this;
342 }
343 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
344 GetWorkflowVersionResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
345 m_tagsHasBeenSet = true;
346 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
347 return *this;
348 }
350
352
355 inline const Aws::String& GetUuid() const { return m_uuid; }
356 template <typename UuidT = Aws::String>
357 void SetUuid(UuidT&& value) {
358 m_uuidHasBeenSet = true;
359 m_uuid = std::forward<UuidT>(value);
360 }
361 template <typename UuidT = Aws::String>
363 SetUuid(std::forward<UuidT>(value));
364 return *this;
365 }
367
369
372 inline const Aws::String& GetWorkflowBucketOwnerId() const { return m_workflowBucketOwnerId; }
373 template <typename WorkflowBucketOwnerIdT = Aws::String>
374 void SetWorkflowBucketOwnerId(WorkflowBucketOwnerIdT&& value) {
375 m_workflowBucketOwnerIdHasBeenSet = true;
376 m_workflowBucketOwnerId = std::forward<WorkflowBucketOwnerIdT>(value);
377 }
378 template <typename WorkflowBucketOwnerIdT = Aws::String>
379 GetWorkflowVersionResult& WithWorkflowBucketOwnerId(WorkflowBucketOwnerIdT&& value) {
380 SetWorkflowBucketOwnerId(std::forward<WorkflowBucketOwnerIdT>(value));
381 return *this;
382 }
384
386
389 inline const ContainerRegistryMap& GetContainerRegistryMap() const { return m_containerRegistryMap; }
390 template <typename ContainerRegistryMapT = ContainerRegistryMap>
391 void SetContainerRegistryMap(ContainerRegistryMapT&& value) {
392 m_containerRegistryMapHasBeenSet = true;
393 m_containerRegistryMap = std::forward<ContainerRegistryMapT>(value);
394 }
395 template <typename ContainerRegistryMapT = ContainerRegistryMap>
396 GetWorkflowVersionResult& WithContainerRegistryMap(ContainerRegistryMapT&& value) {
397 SetContainerRegistryMap(std::forward<ContainerRegistryMapT>(value));
398 return *this;
399 }
401
403
407 inline const Aws::String& GetReadme() const { return m_readme; }
408 template <typename ReadmeT = Aws::String>
409 void SetReadme(ReadmeT&& value) {
410 m_readmeHasBeenSet = true;
411 m_readme = std::forward<ReadmeT>(value);
412 }
413 template <typename ReadmeT = Aws::String>
415 SetReadme(std::forward<ReadmeT>(value));
416 return *this;
417 }
419
421
425 inline const DefinitionRepositoryDetails& GetDefinitionRepositoryDetails() const { return m_definitionRepositoryDetails; }
426 template <typename DefinitionRepositoryDetailsT = DefinitionRepositoryDetails>
427 void SetDefinitionRepositoryDetails(DefinitionRepositoryDetailsT&& value) {
428 m_definitionRepositoryDetailsHasBeenSet = true;
429 m_definitionRepositoryDetails = std::forward<DefinitionRepositoryDetailsT>(value);
430 }
431 template <typename DefinitionRepositoryDetailsT = DefinitionRepositoryDetails>
432 GetWorkflowVersionResult& WithDefinitionRepositoryDetails(DefinitionRepositoryDetailsT&& value) {
433 SetDefinitionRepositoryDetails(std::forward<DefinitionRepositoryDetailsT>(value));
434 return *this;
435 }
437
439
445 inline const Aws::String& GetReadmePath() const { return m_readmePath; }
446 template <typename ReadmePathT = Aws::String>
447 void SetReadmePath(ReadmePathT&& value) {
448 m_readmePathHasBeenSet = true;
449 m_readmePath = std::forward<ReadmePathT>(value);
450 }
451 template <typename ReadmePathT = Aws::String>
453 SetReadmePath(std::forward<ReadmePathT>(value));
454 return *this;
455 }
457
459
460 inline const Aws::String& GetRequestId() const { return m_requestId; }
461 template <typename RequestIdT = Aws::String>
462 void SetRequestId(RequestIdT&& value) {
463 m_requestIdHasBeenSet = true;
464 m_requestId = std::forward<RequestIdT>(value);
465 }
466 template <typename RequestIdT = Aws::String>
468 SetRequestId(std::forward<RequestIdT>(value));
469 return *this;
470 }
472 private:
473 Aws::String m_arn;
474
475 Aws::String m_workflowId;
476
477 Aws::String m_versionName;
478
479 Accelerators m_accelerators{Accelerators::NOT_SET};
480
481 Aws::Utils::DateTime m_creationTime{};
482
483 Aws::String m_description;
484
485 Aws::String m_definition;
486
487 Aws::String m_digest;
488
490
491 Aws::String m_main;
492
494
496
498
499 Aws::String m_statusMessage;
500
501 StorageType m_storageType{StorageType::NOT_SET};
502
503 int m_storageCapacity{0};
504
506
508
509 Aws::String m_uuid;
510
511 Aws::String m_workflowBucketOwnerId;
512
513 ContainerRegistryMap m_containerRegistryMap;
514
515 Aws::String m_readme;
516
517 DefinitionRepositoryDetails m_definitionRepositoryDetails;
518
519 Aws::String m_readmePath;
520
521 Aws::String m_requestId;
522 bool m_arnHasBeenSet = false;
523 bool m_workflowIdHasBeenSet = false;
524 bool m_versionNameHasBeenSet = false;
525 bool m_acceleratorsHasBeenSet = false;
526 bool m_creationTimeHasBeenSet = false;
527 bool m_descriptionHasBeenSet = false;
528 bool m_definitionHasBeenSet = false;
529 bool m_digestHasBeenSet = false;
530 bool m_engineHasBeenSet = false;
531 bool m_mainHasBeenSet = false;
532 bool m_metadataHasBeenSet = false;
533 bool m_parameterTemplateHasBeenSet = false;
534 bool m_statusHasBeenSet = false;
535 bool m_statusMessageHasBeenSet = false;
536 bool m_storageTypeHasBeenSet = false;
537 bool m_storageCapacityHasBeenSet = false;
538 bool m_typeHasBeenSet = false;
539 bool m_tagsHasBeenSet = false;
540 bool m_uuidHasBeenSet = false;
541 bool m_workflowBucketOwnerIdHasBeenSet = false;
542 bool m_containerRegistryMapHasBeenSet = false;
543 bool m_readmeHasBeenSet = false;
544 bool m_definitionRepositoryDetailsHasBeenSet = false;
545 bool m_readmePathHasBeenSet = false;
546 bool m_requestIdHasBeenSet = false;
547};
548
549} // namespace Model
550} // namespace Omics
551} // namespace Aws
GetWorkflowVersionResult & WithDigest(DigestT &&value)
void SetContainerRegistryMap(ContainerRegistryMapT &&value)
GetWorkflowVersionResult & WithContainerRegistryMap(ContainerRegistryMapT &&value)
GetWorkflowVersionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetParameterTemplate(ParameterTemplateT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
GetWorkflowVersionResult & WithStatusMessage(StatusMessageT &&value)
GetWorkflowVersionResult & WithDescription(DescriptionT &&value)
GetWorkflowVersionResult & AddParameterTemplate(ParameterTemplateKeyT &&key, ParameterTemplateValueT &&value)
GetWorkflowVersionResult & WithWorkflowBucketOwnerId(WorkflowBucketOwnerIdT &&value)
GetWorkflowVersionResult & WithUuid(UuidT &&value)
GetWorkflowVersionResult & WithCreationTime(CreationTimeT &&value)
GetWorkflowVersionResult & WithTags(TagsT &&value)
void SetWorkflowBucketOwnerId(WorkflowBucketOwnerIdT &&value)
GetWorkflowVersionResult & WithDefinitionRepositoryDetails(DefinitionRepositoryDetailsT &&value)
GetWorkflowVersionResult & WithWorkflowId(WorkflowIdT &&value)
AWS_OMICS_API GetWorkflowVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWorkflowVersionResult & WithRequestId(RequestIdT &&value)
const DefinitionRepositoryDetails & GetDefinitionRepositoryDetails() const
AWS_OMICS_API GetWorkflowVersionResult()=default
GetWorkflowVersionResult & WithMetadata(MetadataT &&value)
GetWorkflowVersionResult & WithStorageCapacity(int value)
GetWorkflowVersionResult & WithAccelerators(Accelerators value)
AWS_OMICS_API GetWorkflowVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDefinitionRepositoryDetails(DefinitionRepositoryDetailsT &&value)
GetWorkflowVersionResult & WithStorageType(StorageType value)
const Aws::Map< Aws::String, WorkflowParameter > & GetParameterTemplate() const
const ContainerRegistryMap & GetContainerRegistryMap() const
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
GetWorkflowVersionResult & WithType(WorkflowType value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetWorkflowVersionResult & WithStatus(WorkflowStatus value)
GetWorkflowVersionResult & WithEngine(WorkflowEngine value)
GetWorkflowVersionResult & WithMain(MainT &&value)
GetWorkflowVersionResult & WithReadmePath(ReadmePathT &&value)
GetWorkflowVersionResult & WithDefinition(DefinitionT &&value)
GetWorkflowVersionResult & WithArn(ArnT &&value)
GetWorkflowVersionResult & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
GetWorkflowVersionResult & WithParameterTemplate(ParameterTemplateT &&value)
GetWorkflowVersionResult & WithReadme(ReadmeT &&value)
GetWorkflowVersionResult & WithVersionName(VersionNameT &&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