AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateWorkflowRequest.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/omics/OmicsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/omics/model/WorkflowEngine.h>
11#include <aws/core/utils/Array.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/omics/model/Accelerators.h>
14#include <aws/omics/model/WorkflowParameter.h>
15#include <utility>
16#include <aws/core/utils/UUID.h>
17
18namespace Aws
19{
20namespace Omics
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_OMICS_API CreateWorkflowRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateWorkflow"; }
37
38 AWS_OMICS_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline CreateWorkflowRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline CreateWorkflowRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline CreateWorkflowRequest& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const Aws::String& GetDescription() const{ return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
62 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
63 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
64 inline CreateWorkflowRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
65 inline CreateWorkflowRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
66 inline CreateWorkflowRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
68
70
73 inline const WorkflowEngine& GetEngine() const{ return m_engine; }
74 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
75 inline void SetEngine(const WorkflowEngine& value) { m_engineHasBeenSet = true; m_engine = value; }
76 inline void SetEngine(WorkflowEngine&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
77 inline CreateWorkflowRequest& WithEngine(const WorkflowEngine& value) { SetEngine(value); return *this;}
78 inline CreateWorkflowRequest& WithEngine(WorkflowEngine&& value) { SetEngine(std::move(value)); return *this;}
80
82
85 inline const Aws::Utils::ByteBuffer& GetDefinitionZip() const{ return m_definitionZip; }
86 inline bool DefinitionZipHasBeenSet() const { return m_definitionZipHasBeenSet; }
87 inline void SetDefinitionZip(const Aws::Utils::ByteBuffer& value) { m_definitionZipHasBeenSet = true; m_definitionZip = value; }
88 inline void SetDefinitionZip(Aws::Utils::ByteBuffer&& value) { m_definitionZipHasBeenSet = true; m_definitionZip = std::move(value); }
90 inline CreateWorkflowRequest& WithDefinitionZip(Aws::Utils::ByteBuffer&& value) { SetDefinitionZip(std::move(value)); return *this;}
92
94
97 inline const Aws::String& GetDefinitionUri() const{ return m_definitionUri; }
98 inline bool DefinitionUriHasBeenSet() const { return m_definitionUriHasBeenSet; }
99 inline void SetDefinitionUri(const Aws::String& value) { m_definitionUriHasBeenSet = true; m_definitionUri = value; }
100 inline void SetDefinitionUri(Aws::String&& value) { m_definitionUriHasBeenSet = true; m_definitionUri = std::move(value); }
101 inline void SetDefinitionUri(const char* value) { m_definitionUriHasBeenSet = true; m_definitionUri.assign(value); }
102 inline CreateWorkflowRequest& WithDefinitionUri(const Aws::String& value) { SetDefinitionUri(value); return *this;}
103 inline CreateWorkflowRequest& WithDefinitionUri(Aws::String&& value) { SetDefinitionUri(std::move(value)); return *this;}
104 inline CreateWorkflowRequest& WithDefinitionUri(const char* value) { SetDefinitionUri(value); return *this;}
106
108
111 inline const Aws::String& GetMain() const{ return m_main; }
112 inline bool MainHasBeenSet() const { return m_mainHasBeenSet; }
113 inline void SetMain(const Aws::String& value) { m_mainHasBeenSet = true; m_main = value; }
114 inline void SetMain(Aws::String&& value) { m_mainHasBeenSet = true; m_main = std::move(value); }
115 inline void SetMain(const char* value) { m_mainHasBeenSet = true; m_main.assign(value); }
116 inline CreateWorkflowRequest& WithMain(const Aws::String& value) { SetMain(value); return *this;}
117 inline CreateWorkflowRequest& WithMain(Aws::String&& value) { SetMain(std::move(value)); return *this;}
118 inline CreateWorkflowRequest& WithMain(const char* value) { SetMain(value); return *this;}
120
122
125 inline const Aws::Map<Aws::String, WorkflowParameter>& GetParameterTemplate() const{ return m_parameterTemplate; }
126 inline bool ParameterTemplateHasBeenSet() const { return m_parameterTemplateHasBeenSet; }
127 inline void SetParameterTemplate(const Aws::Map<Aws::String, WorkflowParameter>& value) { m_parameterTemplateHasBeenSet = true; m_parameterTemplate = value; }
128 inline void SetParameterTemplate(Aws::Map<Aws::String, WorkflowParameter>&& value) { m_parameterTemplateHasBeenSet = true; m_parameterTemplate = std::move(value); }
131 inline CreateWorkflowRequest& AddParameterTemplate(const Aws::String& key, const WorkflowParameter& value) { m_parameterTemplateHasBeenSet = true; m_parameterTemplate.emplace(key, value); return *this; }
132 inline CreateWorkflowRequest& AddParameterTemplate(Aws::String&& key, const WorkflowParameter& value) { m_parameterTemplateHasBeenSet = true; m_parameterTemplate.emplace(std::move(key), value); return *this; }
133 inline CreateWorkflowRequest& AddParameterTemplate(const Aws::String& key, WorkflowParameter&& value) { m_parameterTemplateHasBeenSet = true; m_parameterTemplate.emplace(key, std::move(value)); return *this; }
134 inline CreateWorkflowRequest& AddParameterTemplate(Aws::String&& key, WorkflowParameter&& value) { m_parameterTemplateHasBeenSet = true; m_parameterTemplate.emplace(std::move(key), std::move(value)); return *this; }
135 inline CreateWorkflowRequest& AddParameterTemplate(const char* key, WorkflowParameter&& value) { m_parameterTemplateHasBeenSet = true; m_parameterTemplate.emplace(key, std::move(value)); return *this; }
136 inline CreateWorkflowRequest& AddParameterTemplate(const char* key, const WorkflowParameter& value) { m_parameterTemplateHasBeenSet = true; m_parameterTemplate.emplace(key, value); return *this; }
138
140
143 inline int GetStorageCapacity() const{ return m_storageCapacity; }
144 inline bool StorageCapacityHasBeenSet() const { return m_storageCapacityHasBeenSet; }
145 inline void SetStorageCapacity(int value) { m_storageCapacityHasBeenSet = true; m_storageCapacity = value; }
146 inline CreateWorkflowRequest& WithStorageCapacity(int value) { SetStorageCapacity(value); return *this;}
148
150
153 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
154 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
155 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
156 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
157 inline CreateWorkflowRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
158 inline CreateWorkflowRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
159 inline CreateWorkflowRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
160 inline CreateWorkflowRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
161 inline CreateWorkflowRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
162 inline CreateWorkflowRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
163 inline CreateWorkflowRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
164 inline CreateWorkflowRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
165 inline CreateWorkflowRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
167
169
173 inline const Aws::String& GetRequestId() const{ return m_requestId; }
174 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
175 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
176 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
177 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
178 inline CreateWorkflowRequest& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
179 inline CreateWorkflowRequest& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
180 inline CreateWorkflowRequest& WithRequestId(const char* value) { SetRequestId(value); return *this;}
182
184
187 inline const Accelerators& GetAccelerators() const{ return m_accelerators; }
188 inline bool AcceleratorsHasBeenSet() const { return m_acceleratorsHasBeenSet; }
189 inline void SetAccelerators(const Accelerators& value) { m_acceleratorsHasBeenSet = true; m_accelerators = value; }
190 inline void SetAccelerators(Accelerators&& value) { m_acceleratorsHasBeenSet = true; m_accelerators = std::move(value); }
191 inline CreateWorkflowRequest& WithAccelerators(const Accelerators& value) { SetAccelerators(value); return *this;}
192 inline CreateWorkflowRequest& WithAccelerators(Accelerators&& value) { SetAccelerators(std::move(value)); return *this;}
194 private:
195
196 Aws::String m_name;
197 bool m_nameHasBeenSet = false;
198
199 Aws::String m_description;
200 bool m_descriptionHasBeenSet = false;
201
202 WorkflowEngine m_engine;
203 bool m_engineHasBeenSet = false;
204
205 Aws::Utils::ByteBuffer m_definitionZip;
206 bool m_definitionZipHasBeenSet = false;
207
208 Aws::String m_definitionUri;
209 bool m_definitionUriHasBeenSet = false;
210
211 Aws::String m_main;
212 bool m_mainHasBeenSet = false;
213
215 bool m_parameterTemplateHasBeenSet = false;
216
217 int m_storageCapacity;
218 bool m_storageCapacityHasBeenSet = false;
219
221 bool m_tagsHasBeenSet = false;
222
223 Aws::String m_requestId;
224 bool m_requestIdHasBeenSet = false;
225
226 Accelerators m_accelerators;
227 bool m_acceleratorsHasBeenSet = false;
228 };
229
230} // namespace Model
231} // namespace Omics
232} // namespace Aws
CreateWorkflowRequest & WithName(const char *value)
CreateWorkflowRequest & WithParameterTemplate(Aws::Map< Aws::String, WorkflowParameter > &&value)
CreateWorkflowRequest & WithAccelerators(const Accelerators &value)
CreateWorkflowRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetDefinitionZip(const Aws::Utils::ByteBuffer &value)
const Aws::Utils::ByteBuffer & GetDefinitionZip() const
CreateWorkflowRequest & WithDefinitionUri(const Aws::String &value)
CreateWorkflowRequest & WithMain(const char *value)
CreateWorkflowRequest & WithDefinitionZip(const Aws::Utils::ByteBuffer &value)
CreateWorkflowRequest & AddParameterTemplate(const char *key, const WorkflowParameter &value)
CreateWorkflowRequest & WithRequestId(const char *value)
void SetDescription(const Aws::String &value)
CreateWorkflowRequest & WithName(const Aws::String &value)
CreateWorkflowRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateWorkflowRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateWorkflowRequest & WithDefinitionZip(Aws::Utils::ByteBuffer &&value)
CreateWorkflowRequest & AddParameterTemplate(const Aws::String &key, const WorkflowParameter &value)
const Aws::Map< Aws::String, WorkflowParameter > & GetParameterTemplate() const
CreateWorkflowRequest & WithMain(const Aws::String &value)
CreateWorkflowRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateWorkflowRequest & AddParameterTemplate(const char *key, WorkflowParameter &&value)
CreateWorkflowRequest & AddTags(const char *key, Aws::String &&value)
CreateWorkflowRequest & WithRequestId(const Aws::String &value)
CreateWorkflowRequest & AddParameterTemplate(const Aws::String &key, WorkflowParameter &&value)
CreateWorkflowRequest & WithName(Aws::String &&value)
CreateWorkflowRequest & WithMain(Aws::String &&value)
AWS_OMICS_API Aws::String SerializePayload() const override
CreateWorkflowRequest & AddParameterTemplate(Aws::String &&key, WorkflowParameter &&value)
virtual const char * GetServiceRequestName() const override
void SetDefinitionZip(Aws::Utils::ByteBuffer &&value)
CreateWorkflowRequest & WithStorageCapacity(int value)
void SetParameterTemplate(Aws::Map< Aws::String, WorkflowParameter > &&value)
CreateWorkflowRequest & WithDescription(const char *value)
CreateWorkflowRequest & WithParameterTemplate(const Aws::Map< Aws::String, WorkflowParameter > &value)
CreateWorkflowRequest & WithEngine(WorkflowEngine &&value)
CreateWorkflowRequest & WithRequestId(Aws::String &&value)
CreateWorkflowRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateWorkflowRequest & AddTags(const char *key, const char *value)
void SetAccelerators(const Accelerators &value)
CreateWorkflowRequest & WithDefinitionUri(const char *value)
CreateWorkflowRequest & AddTags(Aws::String &&key, const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateWorkflowRequest & WithEngine(const WorkflowEngine &value)
CreateWorkflowRequest & WithAccelerators(Accelerators &&value)
void SetRequestId(const Aws::String &value)
CreateWorkflowRequest & AddParameterTemplate(Aws::String &&key, const WorkflowParameter &value)
void SetDefinitionUri(const Aws::String &value)
void SetEngine(const WorkflowEngine &value)
CreateWorkflowRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetParameterTemplate(const Aws::Map< Aws::String, WorkflowParameter > &value)
CreateWorkflowRequest & WithDescription(Aws::String &&value)
CreateWorkflowRequest & WithDescription(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateWorkflowRequest & WithDefinitionUri(Aws::String &&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