AWS SDK for C++

AWS SDK for C++ Version 1.11.840

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/ScratchStorageMode.h>
16#include <aws/omics/model/StorageType.h>
17#include <aws/omics/model/WorkflowType.h>
18
19#include <utility>
20
21namespace Aws {
22namespace Utils {
23namespace Json {
24class JsonValue;
25class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace Omics {
29namespace Model {
30
41 public:
42 AWS_OMICS_API DefaultRunSetting() = default;
45 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
46
48
51 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
52 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
53 template <typename WorkflowIdT = Aws::String>
54 void SetWorkflowId(WorkflowIdT&& value) {
55 m_workflowIdHasBeenSet = true;
56 m_workflowId = std::forward<WorkflowIdT>(value);
57 }
58 template <typename WorkflowIdT = Aws::String>
59 DefaultRunSetting& WithWorkflowId(WorkflowIdT&& value) {
60 SetWorkflowId(std::forward<WorkflowIdT>(value));
61 return *this;
62 }
64
66
70 inline WorkflowType GetWorkflowType() const { return m_workflowType; }
71 inline bool WorkflowTypeHasBeenSet() const { return m_workflowTypeHasBeenSet; }
72 inline void SetWorkflowType(WorkflowType value) {
73 m_workflowTypeHasBeenSet = true;
74 m_workflowType = value;
75 }
77 SetWorkflowType(value);
78 return *this;
79 }
81
83
88 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
89 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
90 template <typename RoleArnT = Aws::String>
91 void SetRoleArn(RoleArnT&& value) {
92 m_roleArnHasBeenSet = true;
93 m_roleArn = std::forward<RoleArnT>(value);
94 }
95 template <typename RoleArnT = Aws::String>
96 DefaultRunSetting& WithRoleArn(RoleArnT&& value) {
97 SetRoleArn(std::forward<RoleArnT>(value));
98 return *this;
99 }
101
103
107 inline const Aws::String& GetName() const { return m_name; }
108 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
109 template <typename NameT = Aws::String>
110 void SetName(NameT&& value) {
111 m_nameHasBeenSet = true;
112 m_name = std::forward<NameT>(value);
113 }
114 template <typename NameT = Aws::String>
115 DefaultRunSetting& WithName(NameT&& value) {
116 SetName(std::forward<NameT>(value));
117 return *this;
118 }
120
122
125 inline const Aws::String& GetCacheId() const { return m_cacheId; }
126 inline bool CacheIdHasBeenSet() const { return m_cacheIdHasBeenSet; }
127 template <typename CacheIdT = Aws::String>
128 void SetCacheId(CacheIdT&& value) {
129 m_cacheIdHasBeenSet = true;
130 m_cacheId = std::forward<CacheIdT>(value);
131 }
132 template <typename CacheIdT = Aws::String>
133 DefaultRunSetting& WithCacheId(CacheIdT&& value) {
134 SetCacheId(std::forward<CacheIdT>(value));
135 return *this;
136 }
138
140
143 inline CacheBehavior GetCacheBehavior() const { return m_cacheBehavior; }
144 inline bool CacheBehaviorHasBeenSet() const { return m_cacheBehaviorHasBeenSet; }
145 inline void SetCacheBehavior(CacheBehavior value) {
146 m_cacheBehaviorHasBeenSet = true;
147 m_cacheBehavior = value;
148 }
150 SetCacheBehavior(value);
151 return *this;
152 }
154
156
159 inline const Aws::String& GetRunGroupId() const { return m_runGroupId; }
160 inline bool RunGroupIdHasBeenSet() const { return m_runGroupIdHasBeenSet; }
161 template <typename RunGroupIdT = Aws::String>
162 void SetRunGroupId(RunGroupIdT&& value) {
163 m_runGroupIdHasBeenSet = true;
164 m_runGroupId = std::forward<RunGroupIdT>(value);
165 }
166 template <typename RunGroupIdT = Aws::String>
167 DefaultRunSetting& WithRunGroupId(RunGroupIdT&& value) {
168 SetRunGroupId(std::forward<RunGroupIdT>(value));
169 return *this;
170 }
172
174
179 inline int GetPriority() const { return m_priority; }
180 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
181 inline void SetPriority(int value) {
182 m_priorityHasBeenSet = true;
183 m_priority = value;
184 }
185 inline DefaultRunSetting& WithPriority(int value) {
186 SetPriority(value);
187 return *this;
188 }
190
192
197 inline Aws::Utils::DocumentView GetParameters() const { return m_parameters; }
198 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
199 template <typename ParametersT = Aws::Utils::Document>
200 void SetParameters(ParametersT&& value) {
201 m_parametersHasBeenSet = true;
202 m_parameters = std::forward<ParametersT>(value);
203 }
204 template <typename ParametersT = Aws::Utils::Document>
205 DefaultRunSetting& WithParameters(ParametersT&& value) {
206 SetParameters(std::forward<ParametersT>(value));
207 return *this;
208 }
210
212
216 inline int GetStorageCapacity() const { return m_storageCapacity; }
217 inline bool StorageCapacityHasBeenSet() const { return m_storageCapacityHasBeenSet; }
218 inline void SetStorageCapacity(int value) {
219 m_storageCapacityHasBeenSet = true;
220 m_storageCapacity = value;
221 }
223 SetStorageCapacity(value);
224 return *this;
225 }
227
229
234 inline const Aws::String& GetOutputUri() const { return m_outputUri; }
235 inline bool OutputUriHasBeenSet() const { return m_outputUriHasBeenSet; }
236 template <typename OutputUriT = Aws::String>
237 void SetOutputUri(OutputUriT&& value) {
238 m_outputUriHasBeenSet = true;
239 m_outputUri = std::forward<OutputUriT>(value);
240 }
241 template <typename OutputUriT = Aws::String>
242 DefaultRunSetting& WithOutputUri(OutputUriT&& value) {
243 SetOutputUri(std::forward<OutputUriT>(value));
244 return *this;
245 }
247
249
252 inline RunLogLevel GetLogLevel() const { return m_logLevel; }
253 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
254 inline void SetLogLevel(RunLogLevel value) {
255 m_logLevelHasBeenSet = true;
256 m_logLevel = value;
257 }
259 SetLogLevel(value);
260 return *this;
261 }
263
265
269 inline const Aws::Map<Aws::String, Aws::String>& GetRunTags() const { return m_runTags; }
270 inline bool RunTagsHasBeenSet() const { return m_runTagsHasBeenSet; }
271 template <typename RunTagsT = Aws::Map<Aws::String, Aws::String>>
272 void SetRunTags(RunTagsT&& value) {
273 m_runTagsHasBeenSet = true;
274 m_runTags = std::forward<RunTagsT>(value);
275 }
276 template <typename RunTagsT = Aws::Map<Aws::String, Aws::String>>
277 DefaultRunSetting& WithRunTags(RunTagsT&& value) {
278 SetRunTags(std::forward<RunTagsT>(value));
279 return *this;
280 }
281 template <typename RunTagsKeyT = Aws::String, typename RunTagsValueT = Aws::String>
282 DefaultRunSetting& AddRunTags(RunTagsKeyT&& key, RunTagsValueT&& value) {
283 m_runTagsHasBeenSet = true;
284 m_runTags.emplace(std::forward<RunTagsKeyT>(key), std::forward<RunTagsValueT>(value));
285 return *this;
286 }
288
290
293 inline RunRetentionMode GetRetentionMode() const { return m_retentionMode; }
294 inline bool RetentionModeHasBeenSet() const { return m_retentionModeHasBeenSet; }
296 m_retentionModeHasBeenSet = true;
297 m_retentionMode = value;
298 }
300 SetRetentionMode(value);
301 return *this;
302 }
304
306
309 inline StorageType GetStorageType() const { return m_storageType; }
310 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
311 inline void SetStorageType(StorageType value) {
312 m_storageTypeHasBeenSet = true;
313 m_storageType = value;
314 }
316 SetStorageType(value);
317 return *this;
318 }
320
322
326 inline const Aws::String& GetWorkflowOwnerId() const { return m_workflowOwnerId; }
327 inline bool WorkflowOwnerIdHasBeenSet() const { return m_workflowOwnerIdHasBeenSet; }
328 template <typename WorkflowOwnerIdT = Aws::String>
329 void SetWorkflowOwnerId(WorkflowOwnerIdT&& value) {
330 m_workflowOwnerIdHasBeenSet = true;
331 m_workflowOwnerId = std::forward<WorkflowOwnerIdT>(value);
332 }
333 template <typename WorkflowOwnerIdT = Aws::String>
334 DefaultRunSetting& WithWorkflowOwnerId(WorkflowOwnerIdT&& value) {
335 SetWorkflowOwnerId(std::forward<WorkflowOwnerIdT>(value));
336 return *this;
337 }
339
341
345 inline const Aws::String& GetOutputBucketOwnerId() const { return m_outputBucketOwnerId; }
346 inline bool OutputBucketOwnerIdHasBeenSet() const { return m_outputBucketOwnerIdHasBeenSet; }
347 template <typename OutputBucketOwnerIdT = Aws::String>
348 void SetOutputBucketOwnerId(OutputBucketOwnerIdT&& value) {
349 m_outputBucketOwnerIdHasBeenSet = true;
350 m_outputBucketOwnerId = std::forward<OutputBucketOwnerIdT>(value);
351 }
352 template <typename OutputBucketOwnerIdT = Aws::String>
353 DefaultRunSetting& WithOutputBucketOwnerId(OutputBucketOwnerIdT&& value) {
354 SetOutputBucketOwnerId(std::forward<OutputBucketOwnerIdT>(value));
355 return *this;
356 }
358
360
363 inline const Aws::String& GetWorkflowVersionName() const { return m_workflowVersionName; }
364 inline bool WorkflowVersionNameHasBeenSet() const { return m_workflowVersionNameHasBeenSet; }
365 template <typename WorkflowVersionNameT = Aws::String>
366 void SetWorkflowVersionName(WorkflowVersionNameT&& value) {
367 m_workflowVersionNameHasBeenSet = true;
368 m_workflowVersionName = std::forward<WorkflowVersionNameT>(value);
369 }
370 template <typename WorkflowVersionNameT = Aws::String>
371 DefaultRunSetting& WithWorkflowVersionName(WorkflowVersionNameT&& value) {
372 SetWorkflowVersionName(std::forward<WorkflowVersionNameT>(value));
373 return *this;
374 }
376
378
382 inline NetworkingMode GetNetworkingMode() const { return m_networkingMode; }
383 inline bool NetworkingModeHasBeenSet() const { return m_networkingModeHasBeenSet; }
385 m_networkingModeHasBeenSet = true;
386 m_networkingMode = value;
387 }
389 SetNetworkingMode(value);
390 return *this;
391 }
393
395
398 inline const Aws::String& GetConfigurationName() const { return m_configurationName; }
399 inline bool ConfigurationNameHasBeenSet() const { return m_configurationNameHasBeenSet; }
400 template <typename ConfigurationNameT = Aws::String>
401 void SetConfigurationName(ConfigurationNameT&& value) {
402 m_configurationNameHasBeenSet = true;
403 m_configurationName = std::forward<ConfigurationNameT>(value);
404 }
405 template <typename ConfigurationNameT = Aws::String>
406 DefaultRunSetting& WithConfigurationName(ConfigurationNameT&& value) {
407 SetConfigurationName(std::forward<ConfigurationNameT>(value));
408 return *this;
409 }
411
413
418 inline Aws::Utils::DocumentView GetEngineSettings() const { return m_engineSettings; }
419 inline bool EngineSettingsHasBeenSet() const { return m_engineSettingsHasBeenSet; }
420 template <typename EngineSettingsT = Aws::Utils::Document>
421 void SetEngineSettings(EngineSettingsT&& value) {
422 m_engineSettingsHasBeenSet = true;
423 m_engineSettings = std::forward<EngineSettingsT>(value);
424 }
425 template <typename EngineSettingsT = Aws::Utils::Document>
426 DefaultRunSetting& WithEngineSettings(EngineSettingsT&& value) {
427 SetEngineSettings(std::forward<EngineSettingsT>(value));
428 return *this;
429 }
431
433
439 inline ScratchStorageMode GetScratchStorageMode() const { return m_scratchStorageMode; }
440 inline bool ScratchStorageModeHasBeenSet() const { return m_scratchStorageModeHasBeenSet; }
442 m_scratchStorageModeHasBeenSet = true;
443 m_scratchStorageMode = value;
444 }
447 return *this;
448 }
450 private:
451 Aws::String m_workflowId;
452
453 WorkflowType m_workflowType{WorkflowType::NOT_SET};
454
455 Aws::String m_roleArn;
456
457 Aws::String m_name;
458
459 Aws::String m_cacheId;
460
461 CacheBehavior m_cacheBehavior{CacheBehavior::NOT_SET};
462
463 Aws::String m_runGroupId;
464
465 int m_priority{0};
466
467 Aws::Utils::Document m_parameters;
468
469 int m_storageCapacity{0};
470
471 Aws::String m_outputUri;
472
474
476
478
479 StorageType m_storageType{StorageType::NOT_SET};
480
481 Aws::String m_workflowOwnerId;
482
483 Aws::String m_outputBucketOwnerId;
484
485 Aws::String m_workflowVersionName;
486
487 NetworkingMode m_networkingMode{NetworkingMode::NOT_SET};
488
489 Aws::String m_configurationName;
490
491 Aws::Utils::Document m_engineSettings;
492
494 bool m_workflowIdHasBeenSet = false;
495 bool m_workflowTypeHasBeenSet = false;
496 bool m_roleArnHasBeenSet = false;
497 bool m_nameHasBeenSet = false;
498 bool m_cacheIdHasBeenSet = false;
499 bool m_cacheBehaviorHasBeenSet = false;
500 bool m_runGroupIdHasBeenSet = false;
501 bool m_priorityHasBeenSet = false;
502 bool m_parametersHasBeenSet = false;
503 bool m_storageCapacityHasBeenSet = false;
504 bool m_outputUriHasBeenSet = false;
505 bool m_logLevelHasBeenSet = false;
506 bool m_runTagsHasBeenSet = false;
507 bool m_retentionModeHasBeenSet = false;
508 bool m_storageTypeHasBeenSet = false;
509 bool m_workflowOwnerIdHasBeenSet = false;
510 bool m_outputBucketOwnerIdHasBeenSet = false;
511 bool m_workflowVersionNameHasBeenSet = false;
512 bool m_networkingModeHasBeenSet = false;
513 bool m_configurationNameHasBeenSet = false;
514 bool m_engineSettingsHasBeenSet = false;
515 bool m_scratchStorageModeHasBeenSet = false;
516};
517
518} // namespace Model
519} // namespace Omics
520} // namespace Aws
void SetWorkflowId(WorkflowIdT &&value)
DefaultRunSetting & WithWorkflowType(WorkflowType value)
DefaultRunSetting & WithEngineSettings(EngineSettingsT &&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)
Aws::Utils::DocumentView GetEngineSettings() const
ScratchStorageMode GetScratchStorageMode() const
DefaultRunSetting & WithOutputUri(OutputUriT &&value)
void SetEngineSettings(EngineSettingsT &&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
DefaultRunSetting & WithScratchStorageMode(ScratchStorageMode value)
const Aws::Map< Aws::String, Aws::String > & GetRunTags() const
DefaultRunSetting & WithCacheBehavior(CacheBehavior value)
void SetScratchStorageMode(ScratchStorageMode 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