AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartRunRequest.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/WorkflowType.h>
11#include <aws/core/utils/Document.h>
12#include <aws/omics/model/RunLogLevel.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/omics/model/RunRetentionMode.h>
15#include <aws/omics/model/StorageType.h>
16#include <utility>
17#include <aws/core/utils/UUID.h>
18
19namespace Aws
20{
21namespace Omics
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_OMICS_API StartRunRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "StartRun"; }
38
39 AWS_OMICS_API Aws::String SerializePayload() const override;
40
41
43
46 inline const Aws::String& GetWorkflowId() const{ return m_workflowId; }
47 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
48 inline void SetWorkflowId(const Aws::String& value) { m_workflowIdHasBeenSet = true; m_workflowId = value; }
49 inline void SetWorkflowId(Aws::String&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::move(value); }
50 inline void SetWorkflowId(const char* value) { m_workflowIdHasBeenSet = true; m_workflowId.assign(value); }
51 inline StartRunRequest& WithWorkflowId(const Aws::String& value) { SetWorkflowId(value); return *this;}
52 inline StartRunRequest& WithWorkflowId(Aws::String&& value) { SetWorkflowId(std::move(value)); return *this;}
53 inline StartRunRequest& WithWorkflowId(const char* value) { SetWorkflowId(value); return *this;}
55
57
60 inline const WorkflowType& GetWorkflowType() const{ return m_workflowType; }
61 inline bool WorkflowTypeHasBeenSet() const { return m_workflowTypeHasBeenSet; }
62 inline void SetWorkflowType(const WorkflowType& value) { m_workflowTypeHasBeenSet = true; m_workflowType = value; }
63 inline void SetWorkflowType(WorkflowType&& value) { m_workflowTypeHasBeenSet = true; m_workflowType = std::move(value); }
64 inline StartRunRequest& WithWorkflowType(const WorkflowType& value) { SetWorkflowType(value); return *this;}
65 inline StartRunRequest& WithWorkflowType(WorkflowType&& value) { SetWorkflowType(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetRunId() const{ return m_runId; }
73 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
74 inline void SetRunId(const Aws::String& value) { m_runIdHasBeenSet = true; m_runId = value; }
75 inline void SetRunId(Aws::String&& value) { m_runIdHasBeenSet = true; m_runId = std::move(value); }
76 inline void SetRunId(const char* value) { m_runIdHasBeenSet = true; m_runId.assign(value); }
77 inline StartRunRequest& WithRunId(const Aws::String& value) { SetRunId(value); return *this;}
78 inline StartRunRequest& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;}
79 inline StartRunRequest& WithRunId(const char* value) { SetRunId(value); return *this;}
81
83
86 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
87 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
88 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
89 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
90 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
91 inline StartRunRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
92 inline StartRunRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
93 inline StartRunRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
95
97
100 inline const Aws::String& GetName() const{ return m_name; }
101 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
102 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
103 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
104 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
105 inline StartRunRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
106 inline StartRunRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
107 inline StartRunRequest& WithName(const char* value) { SetName(value); return *this;}
109
111
114 inline const Aws::String& GetRunGroupId() const{ return m_runGroupId; }
115 inline bool RunGroupIdHasBeenSet() const { return m_runGroupIdHasBeenSet; }
116 inline void SetRunGroupId(const Aws::String& value) { m_runGroupIdHasBeenSet = true; m_runGroupId = value; }
117 inline void SetRunGroupId(Aws::String&& value) { m_runGroupIdHasBeenSet = true; m_runGroupId = std::move(value); }
118 inline void SetRunGroupId(const char* value) { m_runGroupIdHasBeenSet = true; m_runGroupId.assign(value); }
119 inline StartRunRequest& WithRunGroupId(const Aws::String& value) { SetRunGroupId(value); return *this;}
120 inline StartRunRequest& WithRunGroupId(Aws::String&& value) { SetRunGroupId(std::move(value)); return *this;}
121 inline StartRunRequest& WithRunGroupId(const char* value) { SetRunGroupId(value); return *this;}
123
125
128 inline int GetPriority() const{ return m_priority; }
129 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
130 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
131 inline StartRunRequest& WithPriority(int value) { SetPriority(value); return *this;}
133
135
138 inline Aws::Utils::DocumentView GetParameters() const{ return m_parameters; }
139 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
140 inline void SetParameters(const Aws::Utils::Document& value) { m_parametersHasBeenSet = true; m_parameters = value; }
141 inline void SetParameters(Aws::Utils::Document&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
142 inline StartRunRequest& WithParameters(const Aws::Utils::Document& value) { SetParameters(value); return *this;}
143 inline StartRunRequest& WithParameters(Aws::Utils::Document&& value) { SetParameters(std::move(value)); return *this;}
145
147
151 inline int GetStorageCapacity() const{ return m_storageCapacity; }
152 inline bool StorageCapacityHasBeenSet() const { return m_storageCapacityHasBeenSet; }
153 inline void SetStorageCapacity(int value) { m_storageCapacityHasBeenSet = true; m_storageCapacity = value; }
154 inline StartRunRequest& WithStorageCapacity(int value) { SetStorageCapacity(value); return *this;}
156
158
161 inline const Aws::String& GetOutputUri() const{ return m_outputUri; }
162 inline bool OutputUriHasBeenSet() const { return m_outputUriHasBeenSet; }
163 inline void SetOutputUri(const Aws::String& value) { m_outputUriHasBeenSet = true; m_outputUri = value; }
164 inline void SetOutputUri(Aws::String&& value) { m_outputUriHasBeenSet = true; m_outputUri = std::move(value); }
165 inline void SetOutputUri(const char* value) { m_outputUriHasBeenSet = true; m_outputUri.assign(value); }
166 inline StartRunRequest& WithOutputUri(const Aws::String& value) { SetOutputUri(value); return *this;}
167 inline StartRunRequest& WithOutputUri(Aws::String&& value) { SetOutputUri(std::move(value)); return *this;}
168 inline StartRunRequest& WithOutputUri(const char* value) { SetOutputUri(value); return *this;}
170
172
175 inline const RunLogLevel& GetLogLevel() const{ return m_logLevel; }
176 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
177 inline void SetLogLevel(const RunLogLevel& value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
178 inline void SetLogLevel(RunLogLevel&& value) { m_logLevelHasBeenSet = true; m_logLevel = std::move(value); }
179 inline StartRunRequest& WithLogLevel(const RunLogLevel& value) { SetLogLevel(value); return *this;}
180 inline StartRunRequest& WithLogLevel(RunLogLevel&& value) { SetLogLevel(std::move(value)); return *this;}
182
184
187 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
188 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
189 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
190 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
191 inline StartRunRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
192 inline StartRunRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
193 inline StartRunRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
194 inline StartRunRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
195 inline StartRunRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
196 inline StartRunRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
197 inline StartRunRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
198 inline StartRunRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
199 inline StartRunRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
201
203
207 inline const Aws::String& GetRequestId() const{ return m_requestId; }
208 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
209 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
210 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
211 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
212 inline StartRunRequest& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
213 inline StartRunRequest& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
214 inline StartRunRequest& WithRequestId(const char* value) { SetRequestId(value); return *this;}
216
218
221 inline const RunRetentionMode& GetRetentionMode() const{ return m_retentionMode; }
222 inline bool RetentionModeHasBeenSet() const { return m_retentionModeHasBeenSet; }
223 inline void SetRetentionMode(const RunRetentionMode& value) { m_retentionModeHasBeenSet = true; m_retentionMode = value; }
224 inline void SetRetentionMode(RunRetentionMode&& value) { m_retentionModeHasBeenSet = true; m_retentionMode = std::move(value); }
225 inline StartRunRequest& WithRetentionMode(const RunRetentionMode& value) { SetRetentionMode(value); return *this;}
226 inline StartRunRequest& WithRetentionMode(RunRetentionMode&& value) { SetRetentionMode(std::move(value)); return *this;}
228
230
236 inline const StorageType& GetStorageType() const{ return m_storageType; }
237 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
238 inline void SetStorageType(const StorageType& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
239 inline void SetStorageType(StorageType&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); }
240 inline StartRunRequest& WithStorageType(const StorageType& value) { SetStorageType(value); return *this;}
241 inline StartRunRequest& WithStorageType(StorageType&& value) { SetStorageType(std::move(value)); return *this;}
243
245
248 inline const Aws::String& GetWorkflowOwnerId() const{ return m_workflowOwnerId; }
249 inline bool WorkflowOwnerIdHasBeenSet() const { return m_workflowOwnerIdHasBeenSet; }
250 inline void SetWorkflowOwnerId(const Aws::String& value) { m_workflowOwnerIdHasBeenSet = true; m_workflowOwnerId = value; }
251 inline void SetWorkflowOwnerId(Aws::String&& value) { m_workflowOwnerIdHasBeenSet = true; m_workflowOwnerId = std::move(value); }
252 inline void SetWorkflowOwnerId(const char* value) { m_workflowOwnerIdHasBeenSet = true; m_workflowOwnerId.assign(value); }
253 inline StartRunRequest& WithWorkflowOwnerId(const Aws::String& value) { SetWorkflowOwnerId(value); return *this;}
254 inline StartRunRequest& WithWorkflowOwnerId(Aws::String&& value) { SetWorkflowOwnerId(std::move(value)); return *this;}
255 inline StartRunRequest& WithWorkflowOwnerId(const char* value) { SetWorkflowOwnerId(value); return *this;}
257 private:
258
259 Aws::String m_workflowId;
260 bool m_workflowIdHasBeenSet = false;
261
262 WorkflowType m_workflowType;
263 bool m_workflowTypeHasBeenSet = false;
264
265 Aws::String m_runId;
266 bool m_runIdHasBeenSet = false;
267
268 Aws::String m_roleArn;
269 bool m_roleArnHasBeenSet = false;
270
271 Aws::String m_name;
272 bool m_nameHasBeenSet = false;
273
274 Aws::String m_runGroupId;
275 bool m_runGroupIdHasBeenSet = false;
276
277 int m_priority;
278 bool m_priorityHasBeenSet = false;
279
280 Aws::Utils::Document m_parameters;
281 bool m_parametersHasBeenSet = false;
282
283 int m_storageCapacity;
284 bool m_storageCapacityHasBeenSet = false;
285
286 Aws::String m_outputUri;
287 bool m_outputUriHasBeenSet = false;
288
289 RunLogLevel m_logLevel;
290 bool m_logLevelHasBeenSet = false;
291
293 bool m_tagsHasBeenSet = false;
294
295 Aws::String m_requestId;
296 bool m_requestIdHasBeenSet = false;
297
298 RunRetentionMode m_retentionMode;
299 bool m_retentionModeHasBeenSet = false;
300
301 StorageType m_storageType;
302 bool m_storageTypeHasBeenSet = false;
303
304 Aws::String m_workflowOwnerId;
305 bool m_workflowOwnerIdHasBeenSet = false;
306 };
307
308} // namespace Model
309} // namespace Omics
310} // namespace Aws
StartRunRequest & WithParameters(const Aws::Utils::Document &value)
StartRunRequest & WithName(Aws::String &&value)
Aws::Utils::DocumentView GetParameters() const
void SetWorkflowId(const Aws::String &value)
StartRunRequest & WithWorkflowType(const WorkflowType &value)
StartRunRequest & AddTags(const Aws::String &key, const Aws::String &value)
const WorkflowType & GetWorkflowType() const
AWS_OMICS_API Aws::String SerializePayload() const override
StartRunRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
StartRunRequest & AddTags(Aws::String &&key, const char *value)
const Aws::String & GetWorkflowOwnerId() const
void SetWorkflowId(Aws::String &&value)
void SetOutputUri(Aws::String &&value)
StartRunRequest & WithName(const Aws::String &value)
StartRunRequest & WithLogLevel(RunLogLevel &&value)
void SetName(const Aws::String &value)
StartRunRequest & WithRequestId(Aws::String &&value)
void SetRetentionMode(RunRetentionMode &&value)
StartRunRequest & WithLogLevel(const RunLogLevel &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
StartRunRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetParameters(Aws::Utils::Document &&value)
void SetRequestId(Aws::String &&value)
StartRunRequest & WithWorkflowOwnerId(const Aws::String &value)
StartRunRequest & WithRunId(const char *value)
const StorageType & GetStorageType() const
StartRunRequest & WithRetentionMode(const RunRetentionMode &value)
void SetLogLevel(RunLogLevel &&value)
StartRunRequest & WithWorkflowOwnerId(const char *value)
const Aws::String & GetRunId() const
const RunLogLevel & GetLogLevel() const
void SetRunGroupId(Aws::String &&value)
StartRunRequest & AddTags(const char *key, Aws::String &&value)
void SetWorkflowOwnerId(Aws::String &&value)
void SetRequestId(const char *value)
StartRunRequest & WithRunId(const Aws::String &value)
void SetOutputUri(const char *value)
StartRunRequest & WithOutputUri(Aws::String &&value)
StartRunRequest & WithStorageType(StorageType &&value)
StartRunRequest & WithWorkflowId(const char *value)
const Aws::String & GetRunGroupId() const
StartRunRequest & WithRequestId(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
StartRunRequest & WithRunGroupId(Aws::String &&value)
StartRunRequest & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::String & GetRoleArn() const
void SetRetentionMode(const RunRetentionMode &value)
StartRunRequest & WithParameters(Aws::Utils::Document &&value)
void SetStorageType(const StorageType &value)
const RunRetentionMode & GetRetentionMode() const
StartRunRequest & AddTags(const char *key, const char *value)
const Aws::String & GetWorkflowId() const
void SetRunGroupId(const char *value)
void SetRunId(Aws::String &&value)
void SetRoleArn(Aws::String &&value)
StartRunRequest & WithRequestId(const char *value)
void SetOutputUri(const Aws::String &value)
StartRunRequest & WithWorkflowOwnerId(Aws::String &&value)
void SetStorageType(StorageType &&value)
void SetWorkflowId(const char *value)
StartRunRequest & AddTags(const Aws::String &key, Aws::String &&value)
StartRunRequest & WithOutputUri(const char *value)
void SetRunId(const char *value)
StartRunRequest & WithWorkflowId(const Aws::String &value)
StartRunRequest & WithWorkflowType(WorkflowType &&value)
StartRunRequest & WithRunGroupId(const Aws::String &value)
StartRunRequest & WithRoleArn(const char *value)
StartRunRequest & WithRetentionMode(RunRetentionMode &&value)
void SetName(Aws::String &&value)
void SetRunId(const Aws::String &value)
void SetWorkflowOwnerId(const Aws::String &value)
StartRunRequest & WithWorkflowId(Aws::String &&value)
void SetWorkflowType(WorkflowType &&value)
StartRunRequest & WithRunId(Aws::String &&value)
StartRunRequest & WithOutputUri(const Aws::String &value)
void SetParameters(const Aws::Utils::Document &value)
const Aws::String & GetRequestId() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
StartRunRequest & WithStorageType(const StorageType &value)
StartRunRequest & WithRoleArn(const Aws::String &value)
const Aws::String & GetOutputUri() const
const Aws::String & GetName() const
StartRunRequest & WithStorageCapacity(int value)
void SetRoleArn(const Aws::String &value)
StartRunRequest & WithRoleArn(Aws::String &&value)
void SetRoleArn(const char *value)
StartRunRequest & AddTags(Aws::String &&key, Aws::String &&value)
StartRunRequest & WithPriority(int value)
void SetWorkflowOwnerId(const char *value)
StartRunRequest & WithRunGroupId(const char *value)
void SetRequestId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetLogLevel(const RunLogLevel &value)
void SetRunGroupId(const Aws::String &value)
StartRunRequest & WithName(const char *value)
void SetWorkflowType(const 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