AWS SDK for C++

AWS SDK for C++ Version 1.11.808

Loading...
Searching...
No Matches
DefaultRunSetting.h
1
6#pragma once
7#include <aws/core/utils/Document.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/CacheBehavior.h>
12#include <aws/omics/model/NetworkingMode.h>
13#include <aws/omics/model/RunLogLevel.h>
14#include <aws/omics/model/RunRetentionMode.h>
15#include <aws/omics/model/StorageType.h>
16#include <aws/omics/model/WorkflowType.h>
17
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Omics {
28namespace Model {
29
40 public:
41 AWS_OMICS_API DefaultRunSetting() = default;
44 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
45
47
50 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
51 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
52 template <typename WorkflowIdT = Aws::String>
53 void SetWorkflowId(WorkflowIdT&& value) {
54 m_workflowIdHasBeenSet = true;
55 m_workflowId = std::forward<WorkflowIdT>(value);
56 }
57 template <typename WorkflowIdT = Aws::String>
58 DefaultRunSetting& WithWorkflowId(WorkflowIdT&& value) {
59 SetWorkflowId(std::forward<WorkflowIdT>(value));
60 return *this;
61 }
63
65
69 inline WorkflowType GetWorkflowType() const { return m_workflowType; }
70 inline bool WorkflowTypeHasBeenSet() const { return m_workflowTypeHasBeenSet; }
71 inline void SetWorkflowType(WorkflowType value) {
72 m_workflowTypeHasBeenSet = true;
73 m_workflowType = value;
74 }
76 SetWorkflowType(value);
77 return *this;
78 }
80
82
87 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
88 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
89 template <typename RoleArnT = Aws::String>
90 void SetRoleArn(RoleArnT&& value) {
91 m_roleArnHasBeenSet = true;
92 m_roleArn = std::forward<RoleArnT>(value);
93 }
94 template <typename RoleArnT = Aws::String>
95 DefaultRunSetting& WithRoleArn(RoleArnT&& value) {
96 SetRoleArn(std::forward<RoleArnT>(value));
97 return *this;
98 }
100
102
106 inline const Aws::String& GetName() const { return m_name; }
107 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
108 template <typename NameT = Aws::String>
109 void SetName(NameT&& value) {
110 m_nameHasBeenSet = true;
111 m_name = std::forward<NameT>(value);
112 }
113 template <typename NameT = Aws::String>
114 DefaultRunSetting& WithName(NameT&& value) {
115 SetName(std::forward<NameT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::String& GetCacheId() const { return m_cacheId; }
125 inline bool CacheIdHasBeenSet() const { return m_cacheIdHasBeenSet; }
126 template <typename CacheIdT = Aws::String>
127 void SetCacheId(CacheIdT&& value) {
128 m_cacheIdHasBeenSet = true;
129 m_cacheId = std::forward<CacheIdT>(value);
130 }
131 template <typename CacheIdT = Aws::String>
132 DefaultRunSetting& WithCacheId(CacheIdT&& value) {
133 SetCacheId(std::forward<CacheIdT>(value));
134 return *this;
135 }
137
139
142 inline CacheBehavior GetCacheBehavior() const { return m_cacheBehavior; }
143 inline bool CacheBehaviorHasBeenSet() const { return m_cacheBehaviorHasBeenSet; }
144 inline void SetCacheBehavior(CacheBehavior value) {
145 m_cacheBehaviorHasBeenSet = true;
146 m_cacheBehavior = value;
147 }
149 SetCacheBehavior(value);
150 return *this;
151 }
153
155
158 inline const Aws::String& GetRunGroupId() const { return m_runGroupId; }
159 inline bool RunGroupIdHasBeenSet() const { return m_runGroupIdHasBeenSet; }
160 template <typename RunGroupIdT = Aws::String>
161 void SetRunGroupId(RunGroupIdT&& value) {
162 m_runGroupIdHasBeenSet = true;
163 m_runGroupId = std::forward<RunGroupIdT>(value);
164 }
165 template <typename RunGroupIdT = Aws::String>
166 DefaultRunSetting& WithRunGroupId(RunGroupIdT&& value) {
167 SetRunGroupId(std::forward<RunGroupIdT>(value));
168 return *this;
169 }
171
173
178 inline int GetPriority() const { return m_priority; }
179 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
180 inline void SetPriority(int value) {
181 m_priorityHasBeenSet = true;
182 m_priority = value;
183 }
184 inline DefaultRunSetting& WithPriority(int value) {
185 SetPriority(value);
186 return *this;
187 }
189
191
196 inline Aws::Utils::DocumentView GetParameters() const { return m_parameters; }
197 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
198 template <typename ParametersT = Aws::Utils::Document>
199 void SetParameters(ParametersT&& value) {
200 m_parametersHasBeenSet = true;
201 m_parameters = std::forward<ParametersT>(value);
202 }
203 template <typename ParametersT = Aws::Utils::Document>
204 DefaultRunSetting& WithParameters(ParametersT&& value) {
205 SetParameters(std::forward<ParametersT>(value));
206 return *this;
207 }
209
211
215 inline int GetStorageCapacity() const { return m_storageCapacity; }
216 inline bool StorageCapacityHasBeenSet() const { return m_storageCapacityHasBeenSet; }
217 inline void SetStorageCapacity(int value) {
218 m_storageCapacityHasBeenSet = true;
219 m_storageCapacity = value;
220 }
222 SetStorageCapacity(value);
223 return *this;
224 }
226
228
233 inline const Aws::String& GetOutputUri() const { return m_outputUri; }
234 inline bool OutputUriHasBeenSet() const { return m_outputUriHasBeenSet; }
235 template <typename OutputUriT = Aws::String>
236 void SetOutputUri(OutputUriT&& value) {
237 m_outputUriHasBeenSet = true;
238 m_outputUri = std::forward<OutputUriT>(value);
239 }
240 template <typename OutputUriT = Aws::String>
241 DefaultRunSetting& WithOutputUri(OutputUriT&& value) {
242 SetOutputUri(std::forward<OutputUriT>(value));
243 return *this;
244 }
246
248
251 inline RunLogLevel GetLogLevel() const { return m_logLevel; }
252 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
253 inline void SetLogLevel(RunLogLevel value) {
254 m_logLevelHasBeenSet = true;
255 m_logLevel = value;
256 }
258 SetLogLevel(value);
259 return *this;
260 }
262
264
268 inline const Aws::Map<Aws::String, Aws::String>& GetRunTags() const { return m_runTags; }
269 inline bool RunTagsHasBeenSet() const { return m_runTagsHasBeenSet; }
270 template <typename RunTagsT = Aws::Map<Aws::String, Aws::String>>
271 void SetRunTags(RunTagsT&& value) {
272 m_runTagsHasBeenSet = true;
273 m_runTags = std::forward<RunTagsT>(value);
274 }
275 template <typename RunTagsT = Aws::Map<Aws::String, Aws::String>>
276 DefaultRunSetting& WithRunTags(RunTagsT&& value) {
277 SetRunTags(std::forward<RunTagsT>(value));
278 return *this;
279 }
280 template <typename RunTagsKeyT = Aws::String, typename RunTagsValueT = Aws::String>
281 DefaultRunSetting& AddRunTags(RunTagsKeyT&& key, RunTagsValueT&& value) {
282 m_runTagsHasBeenSet = true;
283 m_runTags.emplace(std::forward<RunTagsKeyT>(key), std::forward<RunTagsValueT>(value));
284 return *this;
285 }
287
289
292 inline RunRetentionMode GetRetentionMode() const { return m_retentionMode; }
293 inline bool RetentionModeHasBeenSet() const { return m_retentionModeHasBeenSet; }
295 m_retentionModeHasBeenSet = true;
296 m_retentionMode = value;
297 }
299 SetRetentionMode(value);
300 return *this;
301 }
303
305
308 inline StorageType GetStorageType() const { return m_storageType; }
309 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
310 inline void SetStorageType(StorageType value) {
311 m_storageTypeHasBeenSet = true;
312 m_storageType = value;
313 }
315 SetStorageType(value);
316 return *this;
317 }
319
321
325 inline const Aws::String& GetWorkflowOwnerId() const { return m_workflowOwnerId; }
326 inline bool WorkflowOwnerIdHasBeenSet() const { return m_workflowOwnerIdHasBeenSet; }
327 template <typename WorkflowOwnerIdT = Aws::String>
328 void SetWorkflowOwnerId(WorkflowOwnerIdT&& value) {
329 m_workflowOwnerIdHasBeenSet = true;
330 m_workflowOwnerId = std::forward<WorkflowOwnerIdT>(value);
331 }
332 template <typename WorkflowOwnerIdT = Aws::String>
333 DefaultRunSetting& WithWorkflowOwnerId(WorkflowOwnerIdT&& value) {
334 SetWorkflowOwnerId(std::forward<WorkflowOwnerIdT>(value));
335 return *this;
336 }
338
340
344 inline const Aws::String& GetOutputBucketOwnerId() const { return m_outputBucketOwnerId; }
345 inline bool OutputBucketOwnerIdHasBeenSet() const { return m_outputBucketOwnerIdHasBeenSet; }
346 template <typename OutputBucketOwnerIdT = Aws::String>
347 void SetOutputBucketOwnerId(OutputBucketOwnerIdT&& value) {
348 m_outputBucketOwnerIdHasBeenSet = true;
349 m_outputBucketOwnerId = std::forward<OutputBucketOwnerIdT>(value);
350 }
351 template <typename OutputBucketOwnerIdT = Aws::String>
352 DefaultRunSetting& WithOutputBucketOwnerId(OutputBucketOwnerIdT&& value) {
353 SetOutputBucketOwnerId(std::forward<OutputBucketOwnerIdT>(value));
354 return *this;
355 }
357
359
362 inline const Aws::String& GetWorkflowVersionName() const { return m_workflowVersionName; }
363 inline bool WorkflowVersionNameHasBeenSet() const { return m_workflowVersionNameHasBeenSet; }
364 template <typename WorkflowVersionNameT = Aws::String>
365 void SetWorkflowVersionName(WorkflowVersionNameT&& value) {
366 m_workflowVersionNameHasBeenSet = true;
367 m_workflowVersionName = std::forward<WorkflowVersionNameT>(value);
368 }
369 template <typename WorkflowVersionNameT = Aws::String>
370 DefaultRunSetting& WithWorkflowVersionName(WorkflowVersionNameT&& value) {
371 SetWorkflowVersionName(std::forward<WorkflowVersionNameT>(value));
372 return *this;
373 }
375
377
381 inline NetworkingMode GetNetworkingMode() const { return m_networkingMode; }
382 inline bool NetworkingModeHasBeenSet() const { return m_networkingModeHasBeenSet; }
384 m_networkingModeHasBeenSet = true;
385 m_networkingMode = value;
386 }
388 SetNetworkingMode(value);
389 return *this;
390 }
392
394
397 inline const Aws::String& GetConfigurationName() const { return m_configurationName; }
398 inline bool ConfigurationNameHasBeenSet() const { return m_configurationNameHasBeenSet; }
399 template <typename ConfigurationNameT = Aws::String>
400 void SetConfigurationName(ConfigurationNameT&& value) {
401 m_configurationNameHasBeenSet = true;
402 m_configurationName = std::forward<ConfigurationNameT>(value);
403 }
404 template <typename ConfigurationNameT = Aws::String>
405 DefaultRunSetting& WithConfigurationName(ConfigurationNameT&& value) {
406 SetConfigurationName(std::forward<ConfigurationNameT>(value));
407 return *this;
408 }
410 private:
411 Aws::String m_workflowId;
412
413 WorkflowType m_workflowType{WorkflowType::NOT_SET};
414
415 Aws::String m_roleArn;
416
417 Aws::String m_name;
418
419 Aws::String m_cacheId;
420
421 CacheBehavior m_cacheBehavior{CacheBehavior::NOT_SET};
422
423 Aws::String m_runGroupId;
424
425 int m_priority{0};
426
427 Aws::Utils::Document m_parameters;
428
429 int m_storageCapacity{0};
430
431 Aws::String m_outputUri;
432
434
436
438
439 StorageType m_storageType{StorageType::NOT_SET};
440
441 Aws::String m_workflowOwnerId;
442
443 Aws::String m_outputBucketOwnerId;
444
445 Aws::String m_workflowVersionName;
446
447 NetworkingMode m_networkingMode{NetworkingMode::NOT_SET};
448
449 Aws::String m_configurationName;
450 bool m_workflowIdHasBeenSet = false;
451 bool m_workflowTypeHasBeenSet = false;
452 bool m_roleArnHasBeenSet = false;
453 bool m_nameHasBeenSet = false;
454 bool m_cacheIdHasBeenSet = false;
455 bool m_cacheBehaviorHasBeenSet = false;
456 bool m_runGroupIdHasBeenSet = false;
457 bool m_priorityHasBeenSet = false;
458 bool m_parametersHasBeenSet = false;
459 bool m_storageCapacityHasBeenSet = false;
460 bool m_outputUriHasBeenSet = false;
461 bool m_logLevelHasBeenSet = false;
462 bool m_runTagsHasBeenSet = false;
463 bool m_retentionModeHasBeenSet = false;
464 bool m_storageTypeHasBeenSet = false;
465 bool m_workflowOwnerIdHasBeenSet = false;
466 bool m_outputBucketOwnerIdHasBeenSet = false;
467 bool m_workflowVersionNameHasBeenSet = false;
468 bool m_networkingModeHasBeenSet = false;
469 bool m_configurationNameHasBeenSet = false;
470};
471
472} // namespace Model
473} // namespace Omics
474} // namespace Aws
void SetWorkflowId(WorkflowIdT &&value)
DefaultRunSetting & WithWorkflowType(WorkflowType value)
const Aws::String & GetWorkflowId() const
const Aws::String & GetConfigurationName() const
void SetWorkflowVersionName(WorkflowVersionNameT &&value)
void SetOutputBucketOwnerId(OutputBucketOwnerIdT &&value)
const Aws::String & GetRoleArn() const
DefaultRunSetting & WithConfigurationName(ConfigurationNameT &&value)
Aws::Utils::DocumentView GetParameters() const
AWS_OMICS_API DefaultRunSetting(Aws::Utils::Json::JsonView jsonValue)
void SetRunGroupId(RunGroupIdT &&value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
DefaultRunSetting & WithLogLevel(RunLogLevel value)
void SetConfigurationName(ConfigurationNameT &&value)
const Aws::String & GetName() const
const Aws::String & GetCacheId() const
const Aws::String & GetWorkflowVersionName() const
DefaultRunSetting & WithRunGroupId(RunGroupIdT &&value)
DefaultRunSetting & WithRunTags(RunTagsT &&value)
DefaultRunSetting & WithWorkflowId(WorkflowIdT &&value)
DefaultRunSetting & WithName(NameT &&value)
const Aws::String & GetWorkflowOwnerId() const
DefaultRunSetting & WithOutputBucketOwnerId(OutputBucketOwnerIdT &&value)
void SetParameters(ParametersT &&value)
void SetRetentionMode(RunRetentionMode value)
void SetNetworkingMode(NetworkingMode value)
void SetWorkflowType(WorkflowType value)
void SetWorkflowOwnerId(WorkflowOwnerIdT &&value)
DefaultRunSetting & WithWorkflowOwnerId(WorkflowOwnerIdT &&value)
RunRetentionMode GetRetentionMode() const
DefaultRunSetting & WithStorageType(StorageType value)
void SetCacheBehavior(CacheBehavior value)
const Aws::String & GetRunGroupId() const
DefaultRunSetting & WithStorageCapacity(int value)
DefaultRunSetting & AddRunTags(RunTagsKeyT &&key, RunTagsValueT &&value)
DefaultRunSetting & WithCacheId(CacheIdT &&value)
DefaultRunSetting & WithPriority(int value)
DefaultRunSetting & WithOutputUri(OutputUriT &&value)
DefaultRunSetting & WithRetentionMode(RunRetentionMode value)
DefaultRunSetting & WithNetworkingMode(NetworkingMode value)
DefaultRunSetting & WithWorkflowVersionName(WorkflowVersionNameT &&value)
AWS_OMICS_API DefaultRunSetting()=default
AWS_OMICS_API DefaultRunSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOutputBucketOwnerId() const
const Aws::Map< Aws::String, Aws::String > & GetRunTags() const
DefaultRunSetting & WithCacheBehavior(CacheBehavior value)
DefaultRunSetting & WithRoleArn(RoleArnT &&value)
DefaultRunSetting & WithParameters(ParametersT &&value)
const Aws::String & GetOutputUri() const
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