AWS SDK for C++

AWS SDK for C++ Version 1.11.745

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
39 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
40 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
41 template <typename DomainIdentifierT = Aws::String>
42 void SetDomainIdentifier(DomainIdentifierT&& value) {
43 m_domainIdentifierHasBeenSet = true;
44 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
45 }
46 template <typename DomainIdentifierT = Aws::String>
47 UpdateProjectRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
48 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetIdentifier() const { return m_identifier; }
58 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
59 template <typename IdentifierT = Aws::String>
60 void SetIdentifier(IdentifierT&& value) {
61 m_identifierHasBeenSet = true;
62 m_identifier = std::forward<IdentifierT>(value);
63 }
64 template <typename IdentifierT = Aws::String>
65 UpdateProjectRequest& WithIdentifier(IdentifierT&& value) {
66 SetIdentifier(std::forward<IdentifierT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 template <typename NameT = Aws::String>
78 void SetName(NameT&& value) {
79 m_nameHasBeenSet = true;
80 m_name = std::forward<NameT>(value);
81 }
82 template <typename NameT = Aws::String>
84 SetName(std::forward<NameT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetDescription() const { return m_description; }
95 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
96 template <typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) {
98 m_descriptionHasBeenSet = true;
99 m_description = std::forward<DescriptionT>(value);
100 }
101 template <typename DescriptionT = Aws::String>
102 UpdateProjectRequest& WithDescription(DescriptionT&& value) {
103 SetDescription(std::forward<DescriptionT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::Map<Aws::String, Aws::String>& GetResourceTags() const { return m_resourceTags; }
113 inline bool ResourceTagsHasBeenSet() const { return m_resourceTagsHasBeenSet; }
114 template <typename ResourceTagsT = Aws::Map<Aws::String, Aws::String>>
115 void SetResourceTags(ResourceTagsT&& value) {
116 m_resourceTagsHasBeenSet = true;
117 m_resourceTags = std::forward<ResourceTagsT>(value);
118 }
119 template <typename ResourceTagsT = Aws::Map<Aws::String, Aws::String>>
120 UpdateProjectRequest& WithResourceTags(ResourceTagsT&& value) {
121 SetResourceTags(std::forward<ResourceTagsT>(value));
122 return *this;
123 }
124 template <typename ResourceTagsKeyT = Aws::String, typename ResourceTagsValueT = Aws::String>
125 UpdateProjectRequest& AddResourceTags(ResourceTagsKeyT&& key, ResourceTagsValueT&& value) {
126 m_resourceTagsHasBeenSet = true;
127 m_resourceTags.emplace(std::forward<ResourceTagsKeyT>(key), std::forward<ResourceTagsValueT>(value));
128 return *this;
129 }
131
133
137 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
138 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
139 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
140 void SetGlossaryTerms(GlossaryTermsT&& value) {
141 m_glossaryTermsHasBeenSet = true;
142 m_glossaryTerms = std::forward<GlossaryTermsT>(value);
143 }
144 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
145 UpdateProjectRequest& WithGlossaryTerms(GlossaryTermsT&& value) {
146 SetGlossaryTerms(std::forward<GlossaryTermsT>(value));
147 return *this;
148 }
149 template <typename GlossaryTermsT = Aws::String>
150 UpdateProjectRequest& AddGlossaryTerms(GlossaryTermsT&& value) {
151 m_glossaryTermsHasBeenSet = true;
152 m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value));
153 return *this;
154 }
156
158
161 inline const Aws::String& GetDomainUnitId() const { return m_domainUnitId; }
162 inline bool DomainUnitIdHasBeenSet() const { return m_domainUnitIdHasBeenSet; }
163 template <typename DomainUnitIdT = Aws::String>
164 void SetDomainUnitId(DomainUnitIdT&& value) {
165 m_domainUnitIdHasBeenSet = true;
166 m_domainUnitId = std::forward<DomainUnitIdT>(value);
167 }
168 template <typename DomainUnitIdT = Aws::String>
169 UpdateProjectRequest& WithDomainUnitId(DomainUnitIdT&& value) {
170 SetDomainUnitId(std::forward<DomainUnitIdT>(value));
171 return *this;
172 }
174
176
179 inline const EnvironmentDeploymentDetails& GetEnvironmentDeploymentDetails() const { return m_environmentDeploymentDetails; }
180 inline bool EnvironmentDeploymentDetailsHasBeenSet() const { return m_environmentDeploymentDetailsHasBeenSet; }
181 template <typename EnvironmentDeploymentDetailsT = EnvironmentDeploymentDetails>
182 void SetEnvironmentDeploymentDetails(EnvironmentDeploymentDetailsT&& value) {
183 m_environmentDeploymentDetailsHasBeenSet = true;
184 m_environmentDeploymentDetails = std::forward<EnvironmentDeploymentDetailsT>(value);
185 }
186 template <typename EnvironmentDeploymentDetailsT = EnvironmentDeploymentDetails>
187 UpdateProjectRequest& WithEnvironmentDeploymentDetails(EnvironmentDeploymentDetailsT&& value) {
188 SetEnvironmentDeploymentDetails(std::forward<EnvironmentDeploymentDetailsT>(value));
189 return *this;
190 }
192
194
197 inline const Aws::Vector<EnvironmentConfigurationUserParameter>& GetUserParameters() const { return m_userParameters; }
198 inline bool UserParametersHasBeenSet() const { return m_userParametersHasBeenSet; }
199 template <typename UserParametersT = Aws::Vector<EnvironmentConfigurationUserParameter>>
200 void SetUserParameters(UserParametersT&& value) {
201 m_userParametersHasBeenSet = true;
202 m_userParameters = std::forward<UserParametersT>(value);
203 }
204 template <typename UserParametersT = Aws::Vector<EnvironmentConfigurationUserParameter>>
205 UpdateProjectRequest& WithUserParameters(UserParametersT&& value) {
206 SetUserParameters(std::forward<UserParametersT>(value));
207 return *this;
208 }
209 template <typename UserParametersT = EnvironmentConfigurationUserParameter>
210 UpdateProjectRequest& AddUserParameters(UserParametersT&& value) {
211 m_userParametersHasBeenSet = true;
212 m_userParameters.emplace_back(std::forward<UserParametersT>(value));
213 return *this;
214 }
216
218
222 inline const Aws::String& GetProjectProfileVersion() const { return m_projectProfileVersion; }
223 inline bool ProjectProfileVersionHasBeenSet() const { return m_projectProfileVersionHasBeenSet; }
224 template <typename ProjectProfileVersionT = Aws::String>
225 void SetProjectProfileVersion(ProjectProfileVersionT&& value) {
226 m_projectProfileVersionHasBeenSet = true;
227 m_projectProfileVersion = std::forward<ProjectProfileVersionT>(value);
228 }
229 template <typename ProjectProfileVersionT = Aws::String>
230 UpdateProjectRequest& WithProjectProfileVersion(ProjectProfileVersionT&& value) {
231 SetProjectProfileVersion(std::forward<ProjectProfileVersionT>(value));
232 return *this;
233 }
235 private:
236 Aws::String m_domainIdentifier;
237
238 Aws::String m_identifier;
239
240 Aws::String m_name;
241
242 Aws::String m_description;
243
245
246 Aws::Vector<Aws::String> m_glossaryTerms;
247
248 Aws::String m_domainUnitId;
249
250 EnvironmentDeploymentDetails m_environmentDeploymentDetails;
251
253
254 Aws::String m_projectProfileVersion;
255 bool m_domainIdentifierHasBeenSet = false;
256 bool m_identifierHasBeenSet = false;
257 bool m_nameHasBeenSet = false;
258 bool m_descriptionHasBeenSet = false;
259 bool m_resourceTagsHasBeenSet = false;
260 bool m_glossaryTermsHasBeenSet = false;
261 bool m_domainUnitIdHasBeenSet = false;
262 bool m_environmentDeploymentDetailsHasBeenSet = false;
263 bool m_userParametersHasBeenSet = false;
264 bool m_projectProfileVersionHasBeenSet = 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