AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
GetWorkflowVersionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/omics/Omics_EXPORTS.h>
12#include <aws/omics/model/Accelerators.h>
13#include <aws/omics/model/ContainerRegistryMap.h>
14#include <aws/omics/model/DefinitionRepositoryDetails.h>
15#include <aws/omics/model/StorageType.h>
16#include <aws/omics/model/WorkflowEngine.h>
17#include <aws/omics/model/WorkflowParameter.h>
18#include <aws/omics/model/WorkflowStatus.h>
19#include <aws/omics/model/WorkflowType.h>
20
21#include <utility>
22
23namespace Aws {
24template <typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils {
28namespace Json {
29class JsonValue;
30} // namespace Json
31} // namespace Utils
32namespace Omics {
33namespace Model {
35 public:
36 AWS_OMICS_API GetWorkflowVersionResult() = default;
39
41
44 inline const Aws::String& GetArn() const { return m_arn; }
45 template <typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) {
47 m_arnHasBeenSet = true;
48 m_arn = std::forward<ArnT>(value);
49 }
50 template <typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
62 template <typename WorkflowIdT = Aws::String>
63 void SetWorkflowId(WorkflowIdT&& value) {
64 m_workflowIdHasBeenSet = true;
65 m_workflowId = std::forward<WorkflowIdT>(value);
66 }
67 template <typename WorkflowIdT = Aws::String>
69 SetWorkflowId(std::forward<WorkflowIdT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetVersionName() const { return m_versionName; }
79 template <typename VersionNameT = Aws::String>
80 void SetVersionName(VersionNameT&& value) {
81 m_versionNameHasBeenSet = true;
82 m_versionName = std::forward<VersionNameT>(value);
83 }
84 template <typename VersionNameT = Aws::String>
86 SetVersionName(std::forward<VersionNameT>(value));
87 return *this;
88 }
90
92
95 inline Accelerators GetAccelerators() const { return m_accelerators; }
96 inline void SetAccelerators(Accelerators value) {
97 m_acceleratorsHasBeenSet = true;
98 m_accelerators = value;
99 }
101 SetAccelerators(value);
102 return *this;
103 }
105
107
110 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
111 template <typename CreationTimeT = Aws::Utils::DateTime>
112 void SetCreationTime(CreationTimeT&& value) {
113 m_creationTimeHasBeenSet = true;
114 m_creationTime = std::forward<CreationTimeT>(value);
115 }
116 template <typename CreationTimeT = Aws::Utils::DateTime>
118 SetCreationTime(std::forward<CreationTimeT>(value));
119 return *this;
120 }
122
124
127 inline const Aws::String& GetDescription() const { return m_description; }
128 template <typename DescriptionT = Aws::String>
129 void SetDescription(DescriptionT&& value) {
130 m_descriptionHasBeenSet = true;
131 m_description = std::forward<DescriptionT>(value);
132 }
133 template <typename DescriptionT = Aws::String>
135 SetDescription(std::forward<DescriptionT>(value));
136 return *this;
137 }
139
141
144 inline const Aws::String& GetDefinition() const { return m_definition; }
145 template <typename DefinitionT = Aws::String>
146 void SetDefinition(DefinitionT&& value) {
147 m_definitionHasBeenSet = true;
148 m_definition = std::forward<DefinitionT>(value);
149 }
150 template <typename DefinitionT = Aws::String>
152 SetDefinition(std::forward<DefinitionT>(value));
153 return *this;
154 }
156
158
161 inline const Aws::String& GetDigest() const { return m_digest; }
162 template <typename DigestT = Aws::String>
163 void SetDigest(DigestT&& value) {
164 m_digestHasBeenSet = true;
165 m_digest = std::forward<DigestT>(value);
166 }
167 template <typename DigestT = Aws::String>
169 SetDigest(std::forward<DigestT>(value));
170 return *this;
171 }
173
175
178 inline WorkflowEngine GetEngine() const { return m_engine; }
179 inline void SetEngine(WorkflowEngine value) {
180 m_engineHasBeenSet = true;
181 m_engine = value;
182 }
184 SetEngine(value);
185 return *this;
186 }
188
190
193 inline const Aws::String& GetMain() const { return m_main; }
194 template <typename MainT = Aws::String>
195 void SetMain(MainT&& value) {
196 m_mainHasBeenSet = true;
197 m_main = std::forward<MainT>(value);
198 }
199 template <typename MainT = Aws::String>
201 SetMain(std::forward<MainT>(value));
202 return *this;
203 }
205
207
210 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const { return m_metadata; }
211 template <typename MetadataT = Aws::Map<Aws::String, Aws::String>>
212 void SetMetadata(MetadataT&& value) {
213 m_metadataHasBeenSet = true;
214 m_metadata = std::forward<MetadataT>(value);
215 }
216 template <typename MetadataT = Aws::Map<Aws::String, Aws::String>>
218 SetMetadata(std::forward<MetadataT>(value));
219 return *this;
220 }
221 template <typename MetadataKeyT = Aws::String, typename MetadataValueT = Aws::String>
222 GetWorkflowVersionResult& AddMetadata(MetadataKeyT&& key, MetadataValueT&& value) {
223 m_metadataHasBeenSet = true;
224 m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value));
225 return *this;
226 }
228
230
233 inline const Aws::Map<Aws::String, WorkflowParameter>& GetParameterTemplate() const { return m_parameterTemplate; }
234 template <typename ParameterTemplateT = Aws::Map<Aws::String, WorkflowParameter>>
235 void SetParameterTemplate(ParameterTemplateT&& value) {
236 m_parameterTemplateHasBeenSet = true;
237 m_parameterTemplate = std::forward<ParameterTemplateT>(value);
238 }
239 template <typename ParameterTemplateT = Aws::Map<Aws::String, WorkflowParameter>>
240 GetWorkflowVersionResult& WithParameterTemplate(ParameterTemplateT&& value) {
241 SetParameterTemplate(std::forward<ParameterTemplateT>(value));
242 return *this;
243 }
244 template <typename ParameterTemplateKeyT = Aws::String, typename ParameterTemplateValueT = WorkflowParameter>
245 GetWorkflowVersionResult& AddParameterTemplate(ParameterTemplateKeyT&& key, ParameterTemplateValueT&& value) {
246 m_parameterTemplateHasBeenSet = true;
247 m_parameterTemplate.emplace(std::forward<ParameterTemplateKeyT>(key), std::forward<ParameterTemplateValueT>(value));
248 return *this;
249 }
251
253
256 inline WorkflowStatus GetStatus() const { return m_status; }
257 inline void SetStatus(WorkflowStatus value) {
258 m_statusHasBeenSet = true;
259 m_status = value;
260 }
262 SetStatus(value);
263 return *this;
264 }
266
268
271 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
272 template <typename StatusMessageT = Aws::String>
273 void SetStatusMessage(StatusMessageT&& value) {
274 m_statusMessageHasBeenSet = true;
275 m_statusMessage = std::forward<StatusMessageT>(value);
276 }
277 template <typename StatusMessageT = Aws::String>
279 SetStatusMessage(std::forward<StatusMessageT>(value));
280 return *this;
281 }
283
285
288 inline StorageType GetStorageType() const { return m_storageType; }
289 inline void SetStorageType(StorageType value) {
290 m_storageTypeHasBeenSet = true;
291 m_storageType = value;
292 }
294 SetStorageType(value);
295 return *this;
296 }
298
300
303 inline int GetStorageCapacity() const { return m_storageCapacity; }
304 inline void SetStorageCapacity(int value) {
305 m_storageCapacityHasBeenSet = true;
306 m_storageCapacity = value;
307 }
309 SetStorageCapacity(value);
310 return *this;
311 }
313
315
318 inline WorkflowType GetType() const { return m_type; }
319 inline void SetType(WorkflowType value) {
320 m_typeHasBeenSet = true;
321 m_type = value;
322 }
324 SetType(value);
325 return *this;
326 }
328
330
333 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
334 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
335 void SetTags(TagsT&& value) {
336 m_tagsHasBeenSet = true;
337 m_tags = std::forward<TagsT>(value);
338 }
339 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
341 SetTags(std::forward<TagsT>(value));
342 return *this;
343 }
344 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
345 GetWorkflowVersionResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
346 m_tagsHasBeenSet = true;
347 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
348 return *this;
349 }
351
353
356 inline const Aws::String& GetUuid() const { return m_uuid; }
357 template <typename UuidT = Aws::String>
358 void SetUuid(UuidT&& value) {
359 m_uuidHasBeenSet = true;
360 m_uuid = std::forward<UuidT>(value);
361 }
362 template <typename UuidT = Aws::String>
364 SetUuid(std::forward<UuidT>(value));
365 return *this;
366 }
368
370
373 inline const Aws::String& GetWorkflowBucketOwnerId() const { return m_workflowBucketOwnerId; }
374 template <typename WorkflowBucketOwnerIdT = Aws::String>
375 void SetWorkflowBucketOwnerId(WorkflowBucketOwnerIdT&& value) {
376 m_workflowBucketOwnerIdHasBeenSet = true;
377 m_workflowBucketOwnerId = std::forward<WorkflowBucketOwnerIdT>(value);
378 }
379 template <typename WorkflowBucketOwnerIdT = Aws::String>
380 GetWorkflowVersionResult& WithWorkflowBucketOwnerId(WorkflowBucketOwnerIdT&& value) {
381 SetWorkflowBucketOwnerId(std::forward<WorkflowBucketOwnerIdT>(value));
382 return *this;
383 }
385
387
390 inline const ContainerRegistryMap& GetContainerRegistryMap() const { return m_containerRegistryMap; }
391 template <typename ContainerRegistryMapT = ContainerRegistryMap>
392 void SetContainerRegistryMap(ContainerRegistryMapT&& value) {
393 m_containerRegistryMapHasBeenSet = true;
394 m_containerRegistryMap = std::forward<ContainerRegistryMapT>(value);
395 }
396 template <typename ContainerRegistryMapT = ContainerRegistryMap>
397 GetWorkflowVersionResult& WithContainerRegistryMap(ContainerRegistryMapT&& value) {
398 SetContainerRegistryMap(std::forward<ContainerRegistryMapT>(value));
399 return *this;
400 }
402
404
408 inline const Aws::String& GetReadme() const { return m_readme; }
409 template <typename ReadmeT = Aws::String>
410 void SetReadme(ReadmeT&& value) {
411 m_readmeHasBeenSet = true;
412 m_readme = std::forward<ReadmeT>(value);
413 }
414 template <typename ReadmeT = Aws::String>
416 SetReadme(std::forward<ReadmeT>(value));
417 return *this;
418 }
420
422
426 inline const DefinitionRepositoryDetails& GetDefinitionRepositoryDetails() const { return m_definitionRepositoryDetails; }
427 template <typename DefinitionRepositoryDetailsT = DefinitionRepositoryDetails>
428 void SetDefinitionRepositoryDetails(DefinitionRepositoryDetailsT&& value) {
429 m_definitionRepositoryDetailsHasBeenSet = true;
430 m_definitionRepositoryDetails = std::forward<DefinitionRepositoryDetailsT>(value);
431 }
432 template <typename DefinitionRepositoryDetailsT = DefinitionRepositoryDetails>
433 GetWorkflowVersionResult& WithDefinitionRepositoryDetails(DefinitionRepositoryDetailsT&& value) {
434 SetDefinitionRepositoryDetails(std::forward<DefinitionRepositoryDetailsT>(value));
435 return *this;
436 }
438
440
446 inline const Aws::String& GetReadmePath() const { return m_readmePath; }
447 template <typename ReadmePathT = Aws::String>
448 void SetReadmePath(ReadmePathT&& value) {
449 m_readmePathHasBeenSet = true;
450 m_readmePath = std::forward<ReadmePathT>(value);
451 }
452 template <typename ReadmePathT = Aws::String>
454 SetReadmePath(std::forward<ReadmePathT>(value));
455 return *this;
456 }
458
460
461 inline const Aws::String& GetRequestId() const { return m_requestId; }
462 template <typename RequestIdT = Aws::String>
463 void SetRequestId(RequestIdT&& value) {
464 m_requestIdHasBeenSet = true;
465 m_requestId = std::forward<RequestIdT>(value);
466 }
467 template <typename RequestIdT = Aws::String>
469 SetRequestId(std::forward<RequestIdT>(value));
470 return *this;
471 }
473 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
474
475 private:
476 Aws::String m_arn;
477
478 Aws::String m_workflowId;
479
480 Aws::String m_versionName;
481
482 Accelerators m_accelerators{Accelerators::NOT_SET};
483
484 Aws::Utils::DateTime m_creationTime{};
485
486 Aws::String m_description;
487
488 Aws::String m_definition;
489
490 Aws::String m_digest;
491
493
494 Aws::String m_main;
495
497
499
501
502 Aws::String m_statusMessage;
503
504 StorageType m_storageType{StorageType::NOT_SET};
505
506 int m_storageCapacity{0};
507
509
511
512 Aws::String m_uuid;
513
514 Aws::String m_workflowBucketOwnerId;
515
516 ContainerRegistryMap m_containerRegistryMap;
517
518 Aws::String m_readme;
519
520 DefinitionRepositoryDetails m_definitionRepositoryDetails;
521
522 Aws::String m_readmePath;
523
524 Aws::String m_requestId;
525 Aws::Http::HttpResponseCode m_HttpResponseCode;
526 bool m_arnHasBeenSet = false;
527 bool m_workflowIdHasBeenSet = false;
528 bool m_versionNameHasBeenSet = false;
529 bool m_acceleratorsHasBeenSet = false;
530 bool m_creationTimeHasBeenSet = false;
531 bool m_descriptionHasBeenSet = false;
532 bool m_definitionHasBeenSet = false;
533 bool m_digestHasBeenSet = false;
534 bool m_engineHasBeenSet = false;
535 bool m_mainHasBeenSet = false;
536 bool m_metadataHasBeenSet = false;
537 bool m_parameterTemplateHasBeenSet = false;
538 bool m_statusHasBeenSet = false;
539 bool m_statusMessageHasBeenSet = false;
540 bool m_storageTypeHasBeenSet = false;
541 bool m_storageCapacityHasBeenSet = false;
542 bool m_typeHasBeenSet = false;
543 bool m_tagsHasBeenSet = false;
544 bool m_uuidHasBeenSet = false;
545 bool m_workflowBucketOwnerIdHasBeenSet = false;
546 bool m_containerRegistryMapHasBeenSet = false;
547 bool m_readmeHasBeenSet = false;
548 bool m_definitionRepositoryDetailsHasBeenSet = false;
549 bool m_readmePathHasBeenSet = false;
550 bool m_requestIdHasBeenSet = false;
551};
552
553} // namespace Model
554} // namespace Omics
555} // 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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