AWS SDK for C++

AWS SDK for C++ Version 1.11.644

Loading...
Searching...
No Matches
GetWorkflowVersionResult.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/Accelerators.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/omics/model/WorkflowEngine.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/omics/model/WorkflowStatus.h>
14#include <aws/omics/model/StorageType.h>
15#include <aws/omics/model/WorkflowType.h>
16#include <aws/omics/model/ContainerRegistryMap.h>
17#include <aws/omics/model/DefinitionRepositoryDetails.h>
18#include <aws/omics/model/WorkflowParameter.h>
19#include <utility>
20
21namespace Aws
22{
23template<typename RESULT_TYPE>
24class AmazonWebServiceResult;
25
26namespace Utils
27{
28namespace Json
29{
30 class JsonValue;
31} // namespace Json
32} // namespace Utils
33namespace Omics
34{
35namespace Model
36{
38 {
39 public:
40 AWS_OMICS_API GetWorkflowVersionResult() = default;
43
44
46
49 inline const Aws::String& GetArn() const { return m_arn; }
50 template<typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
52 template<typename ArnT = Aws::String>
53 GetWorkflowVersionResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
55
57
60 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
61 template<typename WorkflowIdT = Aws::String>
62 void SetWorkflowId(WorkflowIdT&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::forward<WorkflowIdT>(value); }
63 template<typename WorkflowIdT = Aws::String>
64 GetWorkflowVersionResult& WithWorkflowId(WorkflowIdT&& value) { SetWorkflowId(std::forward<WorkflowIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetVersionName() const { return m_versionName; }
72 template<typename VersionNameT = Aws::String>
73 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet = true; m_versionName = std::forward<VersionNameT>(value); }
74 template<typename VersionNameT = Aws::String>
75 GetWorkflowVersionResult& WithVersionName(VersionNameT&& value) { SetVersionName(std::forward<VersionNameT>(value)); return *this;}
77
79
82 inline Accelerators GetAccelerators() const { return m_accelerators; }
83 inline void SetAccelerators(Accelerators value) { m_acceleratorsHasBeenSet = true; m_accelerators = value; }
86
88
91 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
92 template<typename CreationTimeT = Aws::Utils::DateTime>
93 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
94 template<typename CreationTimeT = Aws::Utils::DateTime>
95 GetWorkflowVersionResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
97
99
102 inline const Aws::String& GetDescription() const { return m_description; }
103 template<typename DescriptionT = Aws::String>
104 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
105 template<typename DescriptionT = Aws::String>
106 GetWorkflowVersionResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
108
110
113 inline const Aws::String& GetDefinition() const { return m_definition; }
114 template<typename DefinitionT = Aws::String>
115 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet = true; m_definition = std::forward<DefinitionT>(value); }
116 template<typename DefinitionT = Aws::String>
117 GetWorkflowVersionResult& WithDefinition(DefinitionT&& value) { SetDefinition(std::forward<DefinitionT>(value)); return *this;}
119
121
124 inline const Aws::String& GetDigest() const { return m_digest; }
125 template<typename DigestT = Aws::String>
126 void SetDigest(DigestT&& value) { m_digestHasBeenSet = true; m_digest = std::forward<DigestT>(value); }
127 template<typename DigestT = Aws::String>
128 GetWorkflowVersionResult& WithDigest(DigestT&& value) { SetDigest(std::forward<DigestT>(value)); return *this;}
130
132
135 inline WorkflowEngine GetEngine() const { return m_engine; }
136 inline void SetEngine(WorkflowEngine value) { m_engineHasBeenSet = true; m_engine = value; }
137 inline GetWorkflowVersionResult& WithEngine(WorkflowEngine value) { SetEngine(value); return *this;}
139
141
144 inline const Aws::String& GetMain() const { return m_main; }
145 template<typename MainT = Aws::String>
146 void SetMain(MainT&& value) { m_mainHasBeenSet = true; m_main = std::forward<MainT>(value); }
147 template<typename MainT = Aws::String>
148 GetWorkflowVersionResult& WithMain(MainT&& value) { SetMain(std::forward<MainT>(value)); return *this;}
150
152
155 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const { return m_metadata; }
156 template<typename MetadataT = Aws::Map<Aws::String, Aws::String>>
157 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet = true; m_metadata = std::forward<MetadataT>(value); }
158 template<typename MetadataT = Aws::Map<Aws::String, Aws::String>>
159 GetWorkflowVersionResult& WithMetadata(MetadataT&& value) { SetMetadata(std::forward<MetadataT>(value)); return *this;}
160 template<typename MetadataKeyT = Aws::String, typename MetadataValueT = Aws::String>
161 GetWorkflowVersionResult& AddMetadata(MetadataKeyT&& key, MetadataValueT&& value) {
162 m_metadataHasBeenSet = true; m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value)); return *this;
163 }
165
167
170 inline const Aws::Map<Aws::String, WorkflowParameter>& GetParameterTemplate() const { return m_parameterTemplate; }
171 template<typename ParameterTemplateT = Aws::Map<Aws::String, WorkflowParameter>>
172 void SetParameterTemplate(ParameterTemplateT&& value) { m_parameterTemplateHasBeenSet = true; m_parameterTemplate = std::forward<ParameterTemplateT>(value); }
173 template<typename ParameterTemplateT = Aws::Map<Aws::String, WorkflowParameter>>
174 GetWorkflowVersionResult& WithParameterTemplate(ParameterTemplateT&& value) { SetParameterTemplate(std::forward<ParameterTemplateT>(value)); return *this;}
175 template<typename ParameterTemplateKeyT = Aws::String, typename ParameterTemplateValueT = WorkflowParameter>
176 GetWorkflowVersionResult& AddParameterTemplate(ParameterTemplateKeyT&& key, ParameterTemplateValueT&& value) {
177 m_parameterTemplateHasBeenSet = true; m_parameterTemplate.emplace(std::forward<ParameterTemplateKeyT>(key), std::forward<ParameterTemplateValueT>(value)); return *this;
178 }
180
182
185 inline WorkflowStatus GetStatus() const { return m_status; }
186 inline void SetStatus(WorkflowStatus value) { m_statusHasBeenSet = true; m_status = value; }
187 inline GetWorkflowVersionResult& WithStatus(WorkflowStatus value) { SetStatus(value); return *this;}
189
191
194 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
195 template<typename StatusMessageT = Aws::String>
196 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
197 template<typename StatusMessageT = Aws::String>
198 GetWorkflowVersionResult& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
200
202
205 inline StorageType GetStorageType() const { return m_storageType; }
206 inline void SetStorageType(StorageType value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
209
211
214 inline int GetStorageCapacity() const { return m_storageCapacity; }
215 inline void SetStorageCapacity(int value) { m_storageCapacityHasBeenSet = true; m_storageCapacity = value; }
216 inline GetWorkflowVersionResult& WithStorageCapacity(int value) { SetStorageCapacity(value); return *this;}
218
220
223 inline WorkflowType GetType() const { return m_type; }
224 inline void SetType(WorkflowType value) { m_typeHasBeenSet = true; m_type = value; }
225 inline GetWorkflowVersionResult& WithType(WorkflowType value) { SetType(value); return *this;}
227
229
232 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
233 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
234 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
235 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
236 GetWorkflowVersionResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
237 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
238 GetWorkflowVersionResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
239 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
240 }
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 GetWorkflowVersionResult& WithUuid(UuidT&& value) { SetUuid(std::forward<UuidT>(value)); return *this;}
253
255
258 inline const Aws::String& GetWorkflowBucketOwnerId() const { return m_workflowBucketOwnerId; }
259 template<typename WorkflowBucketOwnerIdT = Aws::String>
260 void SetWorkflowBucketOwnerId(WorkflowBucketOwnerIdT&& value) { m_workflowBucketOwnerIdHasBeenSet = true; m_workflowBucketOwnerId = std::forward<WorkflowBucketOwnerIdT>(value); }
261 template<typename WorkflowBucketOwnerIdT = Aws::String>
262 GetWorkflowVersionResult& WithWorkflowBucketOwnerId(WorkflowBucketOwnerIdT&& value) { SetWorkflowBucketOwnerId(std::forward<WorkflowBucketOwnerIdT>(value)); return *this;}
264
266
269 inline const ContainerRegistryMap& GetContainerRegistryMap() const { return m_containerRegistryMap; }
270 template<typename ContainerRegistryMapT = ContainerRegistryMap>
271 void SetContainerRegistryMap(ContainerRegistryMapT&& value) { m_containerRegistryMapHasBeenSet = true; m_containerRegistryMap = std::forward<ContainerRegistryMapT>(value); }
272 template<typename ContainerRegistryMapT = ContainerRegistryMap>
273 GetWorkflowVersionResult& WithContainerRegistryMap(ContainerRegistryMapT&& value) { SetContainerRegistryMap(std::forward<ContainerRegistryMapT>(value)); return *this;}
275
277
281 inline const Aws::String& GetReadme() const { return m_readme; }
282 template<typename ReadmeT = Aws::String>
283 void SetReadme(ReadmeT&& value) { m_readmeHasBeenSet = true; m_readme = std::forward<ReadmeT>(value); }
284 template<typename ReadmeT = Aws::String>
285 GetWorkflowVersionResult& WithReadme(ReadmeT&& value) { SetReadme(std::forward<ReadmeT>(value)); return *this;}
287
289
293 inline const DefinitionRepositoryDetails& GetDefinitionRepositoryDetails() const { return m_definitionRepositoryDetails; }
294 template<typename DefinitionRepositoryDetailsT = DefinitionRepositoryDetails>
295 void SetDefinitionRepositoryDetails(DefinitionRepositoryDetailsT&& value) { m_definitionRepositoryDetailsHasBeenSet = true; m_definitionRepositoryDetails = std::forward<DefinitionRepositoryDetailsT>(value); }
296 template<typename DefinitionRepositoryDetailsT = DefinitionRepositoryDetails>
297 GetWorkflowVersionResult& WithDefinitionRepositoryDetails(DefinitionRepositoryDetailsT&& value) { SetDefinitionRepositoryDetails(std::forward<DefinitionRepositoryDetailsT>(value)); return *this;}
299
301
307 inline const Aws::String& GetReadmePath() const { return m_readmePath; }
308 template<typename ReadmePathT = Aws::String>
309 void SetReadmePath(ReadmePathT&& value) { m_readmePathHasBeenSet = true; m_readmePath = std::forward<ReadmePathT>(value); }
310 template<typename ReadmePathT = Aws::String>
311 GetWorkflowVersionResult& WithReadmePath(ReadmePathT&& value) { SetReadmePath(std::forward<ReadmePathT>(value)); return *this;}
313
315
316 inline const Aws::String& GetRequestId() const { return m_requestId; }
317 template<typename RequestIdT = Aws::String>
318 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
319 template<typename RequestIdT = Aws::String>
320 GetWorkflowVersionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
322 private:
323
324 Aws::String m_arn;
325 bool m_arnHasBeenSet = false;
326
327 Aws::String m_workflowId;
328 bool m_workflowIdHasBeenSet = false;
329
330 Aws::String m_versionName;
331 bool m_versionNameHasBeenSet = false;
332
333 Accelerators m_accelerators{Accelerators::NOT_SET};
334 bool m_acceleratorsHasBeenSet = false;
335
336 Aws::Utils::DateTime m_creationTime{};
337 bool m_creationTimeHasBeenSet = false;
338
339 Aws::String m_description;
340 bool m_descriptionHasBeenSet = false;
341
342 Aws::String m_definition;
343 bool m_definitionHasBeenSet = false;
344
345 Aws::String m_digest;
346 bool m_digestHasBeenSet = false;
347
349 bool m_engineHasBeenSet = false;
350
351 Aws::String m_main;
352 bool m_mainHasBeenSet = false;
353
355 bool m_metadataHasBeenSet = false;
356
358 bool m_parameterTemplateHasBeenSet = false;
359
361 bool m_statusHasBeenSet = false;
362
363 Aws::String m_statusMessage;
364 bool m_statusMessageHasBeenSet = false;
365
366 StorageType m_storageType{StorageType::NOT_SET};
367 bool m_storageTypeHasBeenSet = false;
368
369 int m_storageCapacity{0};
370 bool m_storageCapacityHasBeenSet = false;
371
373 bool m_typeHasBeenSet = false;
374
376 bool m_tagsHasBeenSet = false;
377
378 Aws::String m_uuid;
379 bool m_uuidHasBeenSet = false;
380
381 Aws::String m_workflowBucketOwnerId;
382 bool m_workflowBucketOwnerIdHasBeenSet = false;
383
384 ContainerRegistryMap m_containerRegistryMap;
385 bool m_containerRegistryMapHasBeenSet = false;
386
387 Aws::String m_readme;
388 bool m_readmeHasBeenSet = false;
389
390 DefinitionRepositoryDetails m_definitionRepositoryDetails;
391 bool m_definitionRepositoryDetailsHasBeenSet = false;
392
393 Aws::String m_readmePath;
394 bool m_readmePathHasBeenSet = false;
395
396 Aws::String m_requestId;
397 bool m_requestIdHasBeenSet = false;
398 };
399
400} // namespace Model
401} // namespace Omics
402} // 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