AWS SDK for C++

AWS SDK for C++ Version 1.11.786

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/RunLogLevel.h>
13#include <aws/omics/model/RunRetentionMode.h>
14#include <aws/omics/model/StorageType.h>
15#include <aws/omics/model/WorkflowType.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Omics {
27namespace Model {
28
39 public:
40 AWS_OMICS_API DefaultRunSetting() = default;
43 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
44
46
49 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
50 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
51 template <typename WorkflowIdT = Aws::String>
52 void SetWorkflowId(WorkflowIdT&& value) {
53 m_workflowIdHasBeenSet = true;
54 m_workflowId = std::forward<WorkflowIdT>(value);
55 }
56 template <typename WorkflowIdT = Aws::String>
57 DefaultRunSetting& WithWorkflowId(WorkflowIdT&& value) {
58 SetWorkflowId(std::forward<WorkflowIdT>(value));
59 return *this;
60 }
62
64
68 inline WorkflowType GetWorkflowType() const { return m_workflowType; }
69 inline bool WorkflowTypeHasBeenSet() const { return m_workflowTypeHasBeenSet; }
70 inline void SetWorkflowType(WorkflowType value) {
71 m_workflowTypeHasBeenSet = true;
72 m_workflowType = value;
73 }
75 SetWorkflowType(value);
76 return *this;
77 }
79
81
86 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
87 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
88 template <typename RoleArnT = Aws::String>
89 void SetRoleArn(RoleArnT&& value) {
90 m_roleArnHasBeenSet = true;
91 m_roleArn = std::forward<RoleArnT>(value);
92 }
93 template <typename RoleArnT = Aws::String>
94 DefaultRunSetting& WithRoleArn(RoleArnT&& value) {
95 SetRoleArn(std::forward<RoleArnT>(value));
96 return *this;
97 }
99
101
105 inline const Aws::String& GetName() const { return m_name; }
106 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
107 template <typename NameT = Aws::String>
108 void SetName(NameT&& value) {
109 m_nameHasBeenSet = true;
110 m_name = std::forward<NameT>(value);
111 }
112 template <typename NameT = Aws::String>
113 DefaultRunSetting& WithName(NameT&& value) {
114 SetName(std::forward<NameT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::String& GetCacheId() const { return m_cacheId; }
124 inline bool CacheIdHasBeenSet() const { return m_cacheIdHasBeenSet; }
125 template <typename CacheIdT = Aws::String>
126 void SetCacheId(CacheIdT&& value) {
127 m_cacheIdHasBeenSet = true;
128 m_cacheId = std::forward<CacheIdT>(value);
129 }
130 template <typename CacheIdT = Aws::String>
131 DefaultRunSetting& WithCacheId(CacheIdT&& value) {
132 SetCacheId(std::forward<CacheIdT>(value));
133 return *this;
134 }
136
138
141 inline CacheBehavior GetCacheBehavior() const { return m_cacheBehavior; }
142 inline bool CacheBehaviorHasBeenSet() const { return m_cacheBehaviorHasBeenSet; }
143 inline void SetCacheBehavior(CacheBehavior value) {
144 m_cacheBehaviorHasBeenSet = true;
145 m_cacheBehavior = value;
146 }
148 SetCacheBehavior(value);
149 return *this;
150 }
152
154
157 inline const Aws::String& GetRunGroupId() const { return m_runGroupId; }
158 inline bool RunGroupIdHasBeenSet() const { return m_runGroupIdHasBeenSet; }
159 template <typename RunGroupIdT = Aws::String>
160 void SetRunGroupId(RunGroupIdT&& value) {
161 m_runGroupIdHasBeenSet = true;
162 m_runGroupId = std::forward<RunGroupIdT>(value);
163 }
164 template <typename RunGroupIdT = Aws::String>
165 DefaultRunSetting& WithRunGroupId(RunGroupIdT&& value) {
166 SetRunGroupId(std::forward<RunGroupIdT>(value));
167 return *this;
168 }
170
172
177 inline int GetPriority() const { return m_priority; }
178 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
179 inline void SetPriority(int value) {
180 m_priorityHasBeenSet = true;
181 m_priority = value;
182 }
183 inline DefaultRunSetting& WithPriority(int value) {
184 SetPriority(value);
185 return *this;
186 }
188
190
195 inline Aws::Utils::DocumentView GetParameters() const { return m_parameters; }
196 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
197 template <typename ParametersT = Aws::Utils::Document>
198 void SetParameters(ParametersT&& value) {
199 m_parametersHasBeenSet = true;
200 m_parameters = std::forward<ParametersT>(value);
201 }
202 template <typename ParametersT = Aws::Utils::Document>
203 DefaultRunSetting& WithParameters(ParametersT&& value) {
204 SetParameters(std::forward<ParametersT>(value));
205 return *this;
206 }
208
210
214 inline int GetStorageCapacity() const { return m_storageCapacity; }
215 inline bool StorageCapacityHasBeenSet() const { return m_storageCapacityHasBeenSet; }
216 inline void SetStorageCapacity(int value) {
217 m_storageCapacityHasBeenSet = true;
218 m_storageCapacity = value;
219 }
221 SetStorageCapacity(value);
222 return *this;
223 }
225
227
232 inline const Aws::String& GetOutputUri() const { return m_outputUri; }
233 inline bool OutputUriHasBeenSet() const { return m_outputUriHasBeenSet; }
234 template <typename OutputUriT = Aws::String>
235 void SetOutputUri(OutputUriT&& value) {
236 m_outputUriHasBeenSet = true;
237 m_outputUri = std::forward<OutputUriT>(value);
238 }
239 template <typename OutputUriT = Aws::String>
240 DefaultRunSetting& WithOutputUri(OutputUriT&& value) {
241 SetOutputUri(std::forward<OutputUriT>(value));
242 return *this;
243 }
245
247
250 inline RunLogLevel GetLogLevel() const { return m_logLevel; }
251 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
252 inline void SetLogLevel(RunLogLevel value) {
253 m_logLevelHasBeenSet = true;
254 m_logLevel = value;
255 }
257 SetLogLevel(value);
258 return *this;
259 }
261
263
267 inline const Aws::Map<Aws::String, Aws::String>& GetRunTags() const { return m_runTags; }
268 inline bool RunTagsHasBeenSet() const { return m_runTagsHasBeenSet; }
269 template <typename RunTagsT = Aws::Map<Aws::String, Aws::String>>
270 void SetRunTags(RunTagsT&& value) {
271 m_runTagsHasBeenSet = true;
272 m_runTags = std::forward<RunTagsT>(value);
273 }
274 template <typename RunTagsT = Aws::Map<Aws::String, Aws::String>>
275 DefaultRunSetting& WithRunTags(RunTagsT&& value) {
276 SetRunTags(std::forward<RunTagsT>(value));
277 return *this;
278 }
279 template <typename RunTagsKeyT = Aws::String, typename RunTagsValueT = Aws::String>
280 DefaultRunSetting& AddRunTags(RunTagsKeyT&& key, RunTagsValueT&& value) {
281 m_runTagsHasBeenSet = true;
282 m_runTags.emplace(std::forward<RunTagsKeyT>(key), std::forward<RunTagsValueT>(value));
283 return *this;
284 }
286
288
291 inline RunRetentionMode GetRetentionMode() const { return m_retentionMode; }
292 inline bool RetentionModeHasBeenSet() const { return m_retentionModeHasBeenSet; }
294 m_retentionModeHasBeenSet = true;
295 m_retentionMode = value;
296 }
298 SetRetentionMode(value);
299 return *this;
300 }
302
304
307 inline StorageType GetStorageType() const { return m_storageType; }
308 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
309 inline void SetStorageType(StorageType value) {
310 m_storageTypeHasBeenSet = true;
311 m_storageType = value;
312 }
314 SetStorageType(value);
315 return *this;
316 }
318
320
324 inline const Aws::String& GetWorkflowOwnerId() const { return m_workflowOwnerId; }
325 inline bool WorkflowOwnerIdHasBeenSet() const { return m_workflowOwnerIdHasBeenSet; }
326 template <typename WorkflowOwnerIdT = Aws::String>
327 void SetWorkflowOwnerId(WorkflowOwnerIdT&& value) {
328 m_workflowOwnerIdHasBeenSet = true;
329 m_workflowOwnerId = std::forward<WorkflowOwnerIdT>(value);
330 }
331 template <typename WorkflowOwnerIdT = Aws::String>
332 DefaultRunSetting& WithWorkflowOwnerId(WorkflowOwnerIdT&& value) {
333 SetWorkflowOwnerId(std::forward<WorkflowOwnerIdT>(value));
334 return *this;
335 }
337
339
343 inline const Aws::String& GetOutputBucketOwnerId() const { return m_outputBucketOwnerId; }
344 inline bool OutputBucketOwnerIdHasBeenSet() const { return m_outputBucketOwnerIdHasBeenSet; }
345 template <typename OutputBucketOwnerIdT = Aws::String>
346 void SetOutputBucketOwnerId(OutputBucketOwnerIdT&& value) {
347 m_outputBucketOwnerIdHasBeenSet = true;
348 m_outputBucketOwnerId = std::forward<OutputBucketOwnerIdT>(value);
349 }
350 template <typename OutputBucketOwnerIdT = Aws::String>
351 DefaultRunSetting& WithOutputBucketOwnerId(OutputBucketOwnerIdT&& value) {
352 SetOutputBucketOwnerId(std::forward<OutputBucketOwnerIdT>(value));
353 return *this;
354 }
356
358
361 inline const Aws::String& GetWorkflowVersionName() const { return m_workflowVersionName; }
362 inline bool WorkflowVersionNameHasBeenSet() const { return m_workflowVersionNameHasBeenSet; }
363 template <typename WorkflowVersionNameT = Aws::String>
364 void SetWorkflowVersionName(WorkflowVersionNameT&& value) {
365 m_workflowVersionNameHasBeenSet = true;
366 m_workflowVersionName = std::forward<WorkflowVersionNameT>(value);
367 }
368 template <typename WorkflowVersionNameT = Aws::String>
369 DefaultRunSetting& WithWorkflowVersionName(WorkflowVersionNameT&& value) {
370 SetWorkflowVersionName(std::forward<WorkflowVersionNameT>(value));
371 return *this;
372 }
374 private:
375 Aws::String m_workflowId;
376
377 WorkflowType m_workflowType{WorkflowType::NOT_SET};
378
379 Aws::String m_roleArn;
380
381 Aws::String m_name;
382
383 Aws::String m_cacheId;
384
385 CacheBehavior m_cacheBehavior{CacheBehavior::NOT_SET};
386
387 Aws::String m_runGroupId;
388
389 int m_priority{0};
390
391 Aws::Utils::Document m_parameters;
392
393 int m_storageCapacity{0};
394
395 Aws::String m_outputUri;
396
398
400
402
403 StorageType m_storageType{StorageType::NOT_SET};
404
405 Aws::String m_workflowOwnerId;
406
407 Aws::String m_outputBucketOwnerId;
408
409 Aws::String m_workflowVersionName;
410 bool m_workflowIdHasBeenSet = false;
411 bool m_workflowTypeHasBeenSet = false;
412 bool m_roleArnHasBeenSet = false;
413 bool m_nameHasBeenSet = false;
414 bool m_cacheIdHasBeenSet = false;
415 bool m_cacheBehaviorHasBeenSet = false;
416 bool m_runGroupIdHasBeenSet = false;
417 bool m_priorityHasBeenSet = false;
418 bool m_parametersHasBeenSet = false;
419 bool m_storageCapacityHasBeenSet = false;
420 bool m_outputUriHasBeenSet = false;
421 bool m_logLevelHasBeenSet = false;
422 bool m_runTagsHasBeenSet = false;
423 bool m_retentionModeHasBeenSet = false;
424 bool m_storageTypeHasBeenSet = false;
425 bool m_workflowOwnerIdHasBeenSet = false;
426 bool m_outputBucketOwnerIdHasBeenSet = false;
427 bool m_workflowVersionNameHasBeenSet = false;
428};
429
430} // namespace Model
431} // namespace Omics
432} // namespace Aws
void SetWorkflowId(WorkflowIdT &&value)
DefaultRunSetting & WithWorkflowType(WorkflowType value)
const Aws::String & GetWorkflowId() const
void SetWorkflowVersionName(WorkflowVersionNameT &&value)
void SetOutputBucketOwnerId(OutputBucketOwnerIdT &&value)
const Aws::String & GetRoleArn() const
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)
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 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 & 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