AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
UpdateProjectRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/DataZoneRequest.h>
11#include <aws/datazone/DataZone_EXPORTS.h>
12#include <aws/datazone/model/EnvironmentConfigurationUserParameter.h>
13#include <aws/datazone/model/EnvironmentDeploymentDetails.h>
14
15#include <utility>
16
17namespace Aws {
18namespace DataZone {
19namespace Model {
20
24 public:
25 AWS_DATAZONE_API UpdateProjectRequest() = 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 "UpdateProject"; }
32
33 AWS_DATAZONE_API Aws::String SerializePayload() const override;
34
36
40 inline const Aws::String& GetDescription() const { return m_description; }
41 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
42 template <typename DescriptionT = Aws::String>
43 void SetDescription(DescriptionT&& value) {
44 m_descriptionHasBeenSet = true;
45 m_description = std::forward<DescriptionT>(value);
46 }
47 template <typename DescriptionT = Aws::String>
48 UpdateProjectRequest& WithDescription(DescriptionT&& value) {
49 SetDescription(std::forward<DescriptionT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
59 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
60 template <typename DomainIdentifierT = Aws::String>
61 void SetDomainIdentifier(DomainIdentifierT&& value) {
62 m_domainIdentifierHasBeenSet = true;
63 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
64 }
65 template <typename DomainIdentifierT = Aws::String>
66 UpdateProjectRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
67 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDomainUnitId() const { return m_domainUnitId; }
77 inline bool DomainUnitIdHasBeenSet() const { return m_domainUnitIdHasBeenSet; }
78 template <typename DomainUnitIdT = Aws::String>
79 void SetDomainUnitId(DomainUnitIdT&& value) {
80 m_domainUnitIdHasBeenSet = true;
81 m_domainUnitId = std::forward<DomainUnitIdT>(value);
82 }
83 template <typename DomainUnitIdT = Aws::String>
84 UpdateProjectRequest& WithDomainUnitId(DomainUnitIdT&& value) {
85 SetDomainUnitId(std::forward<DomainUnitIdT>(value));
86 return *this;
87 }
89
91
94 inline const EnvironmentDeploymentDetails& GetEnvironmentDeploymentDetails() const { return m_environmentDeploymentDetails; }
95 inline bool EnvironmentDeploymentDetailsHasBeenSet() const { return m_environmentDeploymentDetailsHasBeenSet; }
96 template <typename EnvironmentDeploymentDetailsT = EnvironmentDeploymentDetails>
97 void SetEnvironmentDeploymentDetails(EnvironmentDeploymentDetailsT&& value) {
98 m_environmentDeploymentDetailsHasBeenSet = true;
99 m_environmentDeploymentDetails = std::forward<EnvironmentDeploymentDetailsT>(value);
100 }
101 template <typename EnvironmentDeploymentDetailsT = EnvironmentDeploymentDetails>
102 UpdateProjectRequest& WithEnvironmentDeploymentDetails(EnvironmentDeploymentDetailsT&& value) {
103 SetEnvironmentDeploymentDetails(std::forward<EnvironmentDeploymentDetailsT>(value));
104 return *this;
105 }
107
109
113 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
114 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
115 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
116 void SetGlossaryTerms(GlossaryTermsT&& value) {
117 m_glossaryTermsHasBeenSet = true;
118 m_glossaryTerms = std::forward<GlossaryTermsT>(value);
119 }
120 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
121 UpdateProjectRequest& WithGlossaryTerms(GlossaryTermsT&& value) {
122 SetGlossaryTerms(std::forward<GlossaryTermsT>(value));
123 return *this;
124 }
125 template <typename GlossaryTermsT = Aws::String>
126 UpdateProjectRequest& AddGlossaryTerms(GlossaryTermsT&& value) {
127 m_glossaryTermsHasBeenSet = true;
128 m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value));
129 return *this;
130 }
132
134
137 inline const Aws::String& GetIdentifier() const { return m_identifier; }
138 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
139 template <typename IdentifierT = Aws::String>
140 void SetIdentifier(IdentifierT&& value) {
141 m_identifierHasBeenSet = true;
142 m_identifier = std::forward<IdentifierT>(value);
143 }
144 template <typename IdentifierT = Aws::String>
145 UpdateProjectRequest& WithIdentifier(IdentifierT&& value) {
146 SetIdentifier(std::forward<IdentifierT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::String& GetName() const { return m_name; }
156 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
157 template <typename NameT = Aws::String>
158 void SetName(NameT&& value) {
159 m_nameHasBeenSet = true;
160 m_name = std::forward<NameT>(value);
161 }
162 template <typename NameT = Aws::String>
164 SetName(std::forward<NameT>(value));
165 return *this;
166 }
168
170
174 inline const Aws::String& GetProjectProfileVersion() const { return m_projectProfileVersion; }
175 inline bool ProjectProfileVersionHasBeenSet() const { return m_projectProfileVersionHasBeenSet; }
176 template <typename ProjectProfileVersionT = Aws::String>
177 void SetProjectProfileVersion(ProjectProfileVersionT&& value) {
178 m_projectProfileVersionHasBeenSet = true;
179 m_projectProfileVersion = std::forward<ProjectProfileVersionT>(value);
180 }
181 template <typename ProjectProfileVersionT = Aws::String>
182 UpdateProjectRequest& WithProjectProfileVersion(ProjectProfileVersionT&& value) {
183 SetProjectProfileVersion(std::forward<ProjectProfileVersionT>(value));
184 return *this;
185 }
187
189
192 inline const Aws::Map<Aws::String, Aws::String>& GetResourceTags() const { return m_resourceTags; }
193 inline bool ResourceTagsHasBeenSet() const { return m_resourceTagsHasBeenSet; }
194 template <typename ResourceTagsT = Aws::Map<Aws::String, Aws::String>>
195 void SetResourceTags(ResourceTagsT&& value) {
196 m_resourceTagsHasBeenSet = true;
197 m_resourceTags = std::forward<ResourceTagsT>(value);
198 }
199 template <typename ResourceTagsT = Aws::Map<Aws::String, Aws::String>>
200 UpdateProjectRequest& WithResourceTags(ResourceTagsT&& value) {
201 SetResourceTags(std::forward<ResourceTagsT>(value));
202 return *this;
203 }
204 template <typename ResourceTagsKeyT = Aws::String, typename ResourceTagsValueT = Aws::String>
205 UpdateProjectRequest& AddResourceTags(ResourceTagsKeyT&& key, ResourceTagsValueT&& value) {
206 m_resourceTagsHasBeenSet = true;
207 m_resourceTags.emplace(std::forward<ResourceTagsKeyT>(key), std::forward<ResourceTagsValueT>(value));
208 return *this;
209 }
211
213
216 inline const Aws::Vector<EnvironmentConfigurationUserParameter>& GetUserParameters() const { return m_userParameters; }
217 inline bool UserParametersHasBeenSet() const { return m_userParametersHasBeenSet; }
218 template <typename UserParametersT = Aws::Vector<EnvironmentConfigurationUserParameter>>
219 void SetUserParameters(UserParametersT&& value) {
220 m_userParametersHasBeenSet = true;
221 m_userParameters = std::forward<UserParametersT>(value);
222 }
223 template <typename UserParametersT = Aws::Vector<EnvironmentConfigurationUserParameter>>
224 UpdateProjectRequest& WithUserParameters(UserParametersT&& value) {
225 SetUserParameters(std::forward<UserParametersT>(value));
226 return *this;
227 }
228 template <typename UserParametersT = EnvironmentConfigurationUserParameter>
229 UpdateProjectRequest& AddUserParameters(UserParametersT&& value) {
230 m_userParametersHasBeenSet = true;
231 m_userParameters.emplace_back(std::forward<UserParametersT>(value));
232 return *this;
233 }
235 private:
236 Aws::String m_description;
237 bool m_descriptionHasBeenSet = false;
238
239 Aws::String m_domainIdentifier;
240 bool m_domainIdentifierHasBeenSet = false;
241
242 Aws::String m_domainUnitId;
243 bool m_domainUnitIdHasBeenSet = false;
244
245 EnvironmentDeploymentDetails m_environmentDeploymentDetails;
246 bool m_environmentDeploymentDetailsHasBeenSet = false;
247
248 Aws::Vector<Aws::String> m_glossaryTerms;
249 bool m_glossaryTermsHasBeenSet = false;
250
251 Aws::String m_identifier;
252 bool m_identifierHasBeenSet = false;
253
254 Aws::String m_name;
255 bool m_nameHasBeenSet = false;
256
257 Aws::String m_projectProfileVersion;
258 bool m_projectProfileVersionHasBeenSet = false;
259
261 bool m_resourceTagsHasBeenSet = false;
262
264 bool m_userParametersHasBeenSet = false;
265};
266
267} // namespace Model
268} // namespace DataZone
269} // namespace Aws
UpdateProjectRequest & WithGlossaryTerms(GlossaryTermsT &&value)
const Aws::String & GetProjectProfileVersion() const
AWS_DATAZONE_API Aws::String SerializePayload() const override
const Aws::Vector< EnvironmentConfigurationUserParameter > & GetUserParameters() const
const EnvironmentDeploymentDetails & GetEnvironmentDeploymentDetails() const
UpdateProjectRequest & WithProjectProfileVersion(ProjectProfileVersionT &&value)
void SetUserParameters(UserParametersT &&value)
UpdateProjectRequest & WithEnvironmentDeploymentDetails(EnvironmentDeploymentDetailsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetResourceTags() const
UpdateProjectRequest & WithIdentifier(IdentifierT &&value)
UpdateProjectRequest & AddUserParameters(UserParametersT &&value)
AWS_DATAZONE_API UpdateProjectRequest()=default
virtual const char * GetServiceRequestName() const override
void SetProjectProfileVersion(ProjectProfileVersionT &&value)
UpdateProjectRequest & AddGlossaryTerms(GlossaryTermsT &&value)
UpdateProjectRequest & WithUserParameters(UserParametersT &&value)
UpdateProjectRequest & WithDomainUnitId(DomainUnitIdT &&value)
void SetDomainIdentifier(DomainIdentifierT &&value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
UpdateProjectRequest & WithResourceTags(ResourceTagsT &&value)
UpdateProjectRequest & AddResourceTags(ResourceTagsKeyT &&key, ResourceTagsValueT &&value)
UpdateProjectRequest & WithDomainIdentifier(DomainIdentifierT &&value)
UpdateProjectRequest & WithName(NameT &&value)
UpdateProjectRequest & WithDescription(DescriptionT &&value)
void SetEnvironmentDeploymentDetails(EnvironmentDeploymentDetailsT &&value)
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
std::vector< T, Aws::Allocator< T > > Vector