AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
UpdateWorkflowVersionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/omics/OmicsRequest.h>
9#include <aws/omics/Omics_EXPORTS.h>
10#include <aws/omics/model/StorageType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Omics {
16namespace Model {
17
21 public:
22 AWS_OMICS_API UpdateWorkflowVersionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateWorkflowVersion"; }
29
30 AWS_OMICS_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
37 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
38 template <typename WorkflowIdT = Aws::String>
39 void SetWorkflowId(WorkflowIdT&& value) {
40 m_workflowIdHasBeenSet = true;
41 m_workflowId = std::forward<WorkflowIdT>(value);
42 }
43 template <typename WorkflowIdT = Aws::String>
45 SetWorkflowId(std::forward<WorkflowIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetVersionName() const { return m_versionName; }
55 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
56 template <typename VersionNameT = Aws::String>
57 void SetVersionName(VersionNameT&& value) {
58 m_versionNameHasBeenSet = true;
59 m_versionName = std::forward<VersionNameT>(value);
60 }
61 template <typename VersionNameT = Aws::String>
63 SetVersionName(std::forward<VersionNameT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetDescription() const { return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 template <typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) {
76 m_descriptionHasBeenSet = true;
77 m_description = std::forward<DescriptionT>(value);
78 }
79 template <typename DescriptionT = Aws::String>
81 SetDescription(std::forward<DescriptionT>(value));
82 return *this;
83 }
85
87
97 inline StorageType GetStorageType() const { return m_storageType; }
98 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
99 inline void SetStorageType(StorageType value) {
100 m_storageTypeHasBeenSet = true;
101 m_storageType = value;
102 }
104 SetStorageType(value);
105 return *this;
106 }
108
110
116 inline int GetStorageCapacity() const { return m_storageCapacity; }
117 inline bool StorageCapacityHasBeenSet() const { return m_storageCapacityHasBeenSet; }
118 inline void SetStorageCapacity(int value) {
119 m_storageCapacityHasBeenSet = true;
120 m_storageCapacity = value;
121 }
123 SetStorageCapacity(value);
124 return *this;
125 }
127
129
134 inline const Aws::String& GetReadmeMarkdown() const { return m_readmeMarkdown; }
135 inline bool ReadmeMarkdownHasBeenSet() const { return m_readmeMarkdownHasBeenSet; }
136 template <typename ReadmeMarkdownT = Aws::String>
137 void SetReadmeMarkdown(ReadmeMarkdownT&& value) {
138 m_readmeMarkdownHasBeenSet = true;
139 m_readmeMarkdown = std::forward<ReadmeMarkdownT>(value);
140 }
141 template <typename ReadmeMarkdownT = Aws::String>
143 SetReadmeMarkdown(std::forward<ReadmeMarkdownT>(value));
144 return *this;
145 }
147 private:
148 Aws::String m_workflowId;
149
150 Aws::String m_versionName;
151
152 Aws::String m_description;
153
154 StorageType m_storageType{StorageType::NOT_SET};
155
156 int m_storageCapacity{0};
157
158 Aws::String m_readmeMarkdown;
159 bool m_workflowIdHasBeenSet = false;
160 bool m_versionNameHasBeenSet = false;
161 bool m_descriptionHasBeenSet = false;
162 bool m_storageTypeHasBeenSet = false;
163 bool m_storageCapacityHasBeenSet = false;
164 bool m_readmeMarkdownHasBeenSet = false;
165};
166
167} // namespace Model
168} // namespace Omics
169} // 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)
UpdateWorkflowVersionRequest & WithReadmeMarkdown(ReadmeMarkdownT &&value)
AWS_OMICS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String