AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
UpdateWorkflowRequest.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 UpdateWorkflowRequest() = 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 "UpdateWorkflow"; }
29
30 AWS_OMICS_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetId() const { return m_id; }
37 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
38 template <typename IdT = Aws::String>
39 void SetId(IdT&& value) {
40 m_idHasBeenSet = true;
41 m_id = std::forward<IdT>(value);
42 }
43 template <typename IdT = Aws::String>
45 SetId(std::forward<IdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetName() const { return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 template <typename NameT = Aws::String>
57 void SetName(NameT&& value) {
58 m_nameHasBeenSet = true;
59 m_name = std::forward<NameT>(value);
60 }
61 template <typename NameT = Aws::String>
63 SetName(std::forward<NameT>(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>
80 UpdateWorkflowRequest& WithDescription(DescriptionT&& value) {
81 SetDescription(std::forward<DescriptionT>(value));
82 return *this;
83 }
85
87
95 inline StorageType GetStorageType() const { return m_storageType; }
96 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
97 inline void SetStorageType(StorageType value) {
98 m_storageTypeHasBeenSet = true;
99 m_storageType = value;
100 }
102 SetStorageType(value);
103 return *this;
104 }
106
108
112 inline int GetStorageCapacity() const { return m_storageCapacity; }
113 inline bool StorageCapacityHasBeenSet() const { return m_storageCapacityHasBeenSet; }
114 inline void SetStorageCapacity(int value) {
115 m_storageCapacityHasBeenSet = true;
116 m_storageCapacity = value;
117 }
119 SetStorageCapacity(value);
120 return *this;
121 }
123
125
129 inline const Aws::String& GetReadmeMarkdown() const { return m_readmeMarkdown; }
130 inline bool ReadmeMarkdownHasBeenSet() const { return m_readmeMarkdownHasBeenSet; }
131 template <typename ReadmeMarkdownT = Aws::String>
132 void SetReadmeMarkdown(ReadmeMarkdownT&& value) {
133 m_readmeMarkdownHasBeenSet = true;
134 m_readmeMarkdown = std::forward<ReadmeMarkdownT>(value);
135 }
136 template <typename ReadmeMarkdownT = Aws::String>
137 UpdateWorkflowRequest& WithReadmeMarkdown(ReadmeMarkdownT&& value) {
138 SetReadmeMarkdown(std::forward<ReadmeMarkdownT>(value));
139 return *this;
140 }
142 private:
143 Aws::String m_id;
144
145 Aws::String m_name;
146
147 Aws::String m_description;
148
149 StorageType m_storageType{StorageType::NOT_SET};
150
151 int m_storageCapacity{0};
152
153 Aws::String m_readmeMarkdown;
154 bool m_idHasBeenSet = false;
155 bool m_nameHasBeenSet = false;
156 bool m_descriptionHasBeenSet = false;
157 bool m_storageTypeHasBeenSet = false;
158 bool m_storageCapacityHasBeenSet = false;
159 bool m_readmeMarkdownHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace Omics
164} // namespace Aws
UpdateWorkflowRequest & WithStorageType(StorageType value)
UpdateWorkflowRequest & WithStorageCapacity(int value)
AWS_OMICS_API UpdateWorkflowRequest()=default
UpdateWorkflowRequest & WithReadmeMarkdown(ReadmeMarkdownT &&value)
UpdateWorkflowRequest & WithName(NameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_OMICS_API Aws::String SerializePayload() const override
UpdateWorkflowRequest & WithId(IdT &&value)
UpdateWorkflowRequest & WithDescription(DescriptionT &&value)
void SetReadmeMarkdown(ReadmeMarkdownT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String