AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateWorkflowVersionRequest.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/StorageType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Omics
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_OMICS_API UpdateWorkflowVersionRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateWorkflowVersion"; }
32
33 AWS_OMICS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
41 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
42 template<typename WorkflowIdT = Aws::String>
43 void SetWorkflowId(WorkflowIdT&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::forward<WorkflowIdT>(value); }
44 template<typename WorkflowIdT = Aws::String>
45 UpdateWorkflowVersionRequest& WithWorkflowId(WorkflowIdT&& value) { SetWorkflowId(std::forward<WorkflowIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetVersionName() const { return m_versionName; }
53 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
54 template<typename VersionNameT = Aws::String>
55 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet = true; m_versionName = std::forward<VersionNameT>(value); }
56 template<typename VersionNameT = Aws::String>
57 UpdateWorkflowVersionRequest& WithVersionName(VersionNameT&& value) { SetVersionName(std::forward<VersionNameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetDescription() const { return m_description; }
65 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
66 template<typename DescriptionT = Aws::String>
67 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
68 template<typename DescriptionT = Aws::String>
69 UpdateWorkflowVersionRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
71
73
81 inline StorageType GetStorageType() const { return m_storageType; }
82 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
83 inline void SetStorageType(StorageType value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
86
88
92 inline int GetStorageCapacity() const { return m_storageCapacity; }
93 inline bool StorageCapacityHasBeenSet() const { return m_storageCapacityHasBeenSet; }
94 inline void SetStorageCapacity(int value) { m_storageCapacityHasBeenSet = true; m_storageCapacity = value; }
95 inline UpdateWorkflowVersionRequest& WithStorageCapacity(int value) { SetStorageCapacity(value); return *this;}
97 private:
98
99 Aws::String m_workflowId;
100 bool m_workflowIdHasBeenSet = false;
101
102 Aws::String m_versionName;
103 bool m_versionNameHasBeenSet = false;
104
105 Aws::String m_description;
106 bool m_descriptionHasBeenSet = false;
107
108 StorageType m_storageType{StorageType::NOT_SET};
109 bool m_storageTypeHasBeenSet = false;
110
111 int m_storageCapacity{0};
112 bool m_storageCapacityHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Omics
117} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateWorkflowVersionRequest & WithStorageCapacity(int value)
UpdateWorkflowVersionRequest & WithVersionName(VersionNameT &&value)
AWS_OMICS_API UpdateWorkflowVersionRequest()=default
UpdateWorkflowVersionRequest & WithStorageType(StorageType value)
UpdateWorkflowVersionRequest & WithDescription(DescriptionT &&value)
UpdateWorkflowVersionRequest & WithWorkflowId(WorkflowIdT &&value)
AWS_OMICS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String