AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateProjectResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/EnvironmentConfigurationUserParameter.h>
12#include <aws/datazone/model/EnvironmentDeploymentDetails.h>
13#include <aws/datazone/model/ProjectDeletionError.h>
14#include <aws/datazone/model/ProjectStatus.h>
15#include <aws/datazone/model/ResourceTag.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace DataZone {
29namespace Model {
31 public:
32 AWS_DATAZONE_API UpdateProjectResult() = default;
35
37
41 inline const Aws::String& GetDomainId() const { return m_domainId; }
42 template <typename DomainIdT = Aws::String>
43 void SetDomainId(DomainIdT&& value) {
44 m_domainIdHasBeenSet = true;
45 m_domainId = std::forward<DomainIdT>(value);
46 }
47 template <typename DomainIdT = Aws::String>
48 UpdateProjectResult& WithDomainId(DomainIdT&& value) {
49 SetDomainId(std::forward<DomainIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetId() const { return m_id; }
59 template <typename IdT = Aws::String>
60 void SetId(IdT&& value) {
61 m_idHasBeenSet = true;
62 m_id = std::forward<IdT>(value);
63 }
64 template <typename IdT = Aws::String>
66 SetId(std::forward<IdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 template <typename NameT = Aws::String>
77 void SetName(NameT&& value) {
78 m_nameHasBeenSet = true;
79 m_name = std::forward<NameT>(value);
80 }
81 template <typename NameT = Aws::String>
82 UpdateProjectResult& WithName(NameT&& value) {
83 SetName(std::forward<NameT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetDescription() const { return m_description; }
93 template <typename DescriptionT = Aws::String>
94 void SetDescription(DescriptionT&& value) {
95 m_descriptionHasBeenSet = true;
96 m_description = std::forward<DescriptionT>(value);
97 }
98 template <typename DescriptionT = Aws::String>
99 UpdateProjectResult& WithDescription(DescriptionT&& value) {
100 SetDescription(std::forward<DescriptionT>(value));
101 return *this;
102 }
104
106
109 inline ProjectStatus GetProjectStatus() const { return m_projectStatus; }
110 inline void SetProjectStatus(ProjectStatus value) {
111 m_projectStatusHasBeenSet = true;
112 m_projectStatus = value;
113 }
115 SetProjectStatus(value);
116 return *this;
117 }
119
121
125 inline const Aws::Vector<ProjectDeletionError>& GetFailureReasons() const { return m_failureReasons; }
126 template <typename FailureReasonsT = Aws::Vector<ProjectDeletionError>>
127 void SetFailureReasons(FailureReasonsT&& value) {
128 m_failureReasonsHasBeenSet = true;
129 m_failureReasons = std::forward<FailureReasonsT>(value);
130 }
131 template <typename FailureReasonsT = Aws::Vector<ProjectDeletionError>>
132 UpdateProjectResult& WithFailureReasons(FailureReasonsT&& value) {
133 SetFailureReasons(std::forward<FailureReasonsT>(value));
134 return *this;
135 }
136 template <typename FailureReasonsT = ProjectDeletionError>
137 UpdateProjectResult& AddFailureReasons(FailureReasonsT&& value) {
138 m_failureReasonsHasBeenSet = true;
139 m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
149 template <typename CreatedByT = Aws::String>
150 void SetCreatedBy(CreatedByT&& value) {
151 m_createdByHasBeenSet = true;
152 m_createdBy = std::forward<CreatedByT>(value);
153 }
154 template <typename CreatedByT = Aws::String>
155 UpdateProjectResult& WithCreatedBy(CreatedByT&& value) {
156 SetCreatedBy(std::forward<CreatedByT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
166 template <typename CreatedAtT = Aws::Utils::DateTime>
167 void SetCreatedAt(CreatedAtT&& value) {
168 m_createdAtHasBeenSet = true;
169 m_createdAt = std::forward<CreatedAtT>(value);
170 }
171 template <typename CreatedAtT = Aws::Utils::DateTime>
172 UpdateProjectResult& WithCreatedAt(CreatedAtT&& value) {
173 SetCreatedAt(std::forward<CreatedAtT>(value));
174 return *this;
175 }
177
179
182 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
183 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
184 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
185 m_lastUpdatedAtHasBeenSet = true;
186 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
187 }
188 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
189 UpdateProjectResult& WithLastUpdatedAt(LastUpdatedAtT&& value) {
190 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
191 return *this;
192 }
194
196
199 inline const Aws::Vector<ResourceTag>& GetResourceTags() const { return m_resourceTags; }
200 template <typename ResourceTagsT = Aws::Vector<ResourceTag>>
201 void SetResourceTags(ResourceTagsT&& value) {
202 m_resourceTagsHasBeenSet = true;
203 m_resourceTags = std::forward<ResourceTagsT>(value);
204 }
205 template <typename ResourceTagsT = Aws::Vector<ResourceTag>>
206 UpdateProjectResult& WithResourceTags(ResourceTagsT&& value) {
207 SetResourceTags(std::forward<ResourceTagsT>(value));
208 return *this;
209 }
210 template <typename ResourceTagsT = ResourceTag>
211 UpdateProjectResult& AddResourceTags(ResourceTagsT&& value) {
212 m_resourceTagsHasBeenSet = true;
213 m_resourceTags.emplace_back(std::forward<ResourceTagsT>(value));
214 return *this;
215 }
217
219
222 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
223 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
224 void SetGlossaryTerms(GlossaryTermsT&& value) {
225 m_glossaryTermsHasBeenSet = true;
226 m_glossaryTerms = std::forward<GlossaryTermsT>(value);
227 }
228 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
229 UpdateProjectResult& WithGlossaryTerms(GlossaryTermsT&& value) {
230 SetGlossaryTerms(std::forward<GlossaryTermsT>(value));
231 return *this;
232 }
233 template <typename GlossaryTermsT = Aws::String>
234 UpdateProjectResult& AddGlossaryTerms(GlossaryTermsT&& value) {
235 m_glossaryTermsHasBeenSet = true;
236 m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value));
237 return *this;
238 }
240
242
245 inline const Aws::String& GetDomainUnitId() const { return m_domainUnitId; }
246 template <typename DomainUnitIdT = Aws::String>
247 void SetDomainUnitId(DomainUnitIdT&& value) {
248 m_domainUnitIdHasBeenSet = true;
249 m_domainUnitId = std::forward<DomainUnitIdT>(value);
250 }
251 template <typename DomainUnitIdT = Aws::String>
252 UpdateProjectResult& WithDomainUnitId(DomainUnitIdT&& value) {
253 SetDomainUnitId(std::forward<DomainUnitIdT>(value));
254 return *this;
255 }
257
259
262 inline const Aws::String& GetProjectProfileId() const { return m_projectProfileId; }
263 template <typename ProjectProfileIdT = Aws::String>
264 void SetProjectProfileId(ProjectProfileIdT&& value) {
265 m_projectProfileIdHasBeenSet = true;
266 m_projectProfileId = std::forward<ProjectProfileIdT>(value);
267 }
268 template <typename ProjectProfileIdT = Aws::String>
269 UpdateProjectResult& WithProjectProfileId(ProjectProfileIdT&& value) {
270 SetProjectProfileId(std::forward<ProjectProfileIdT>(value));
271 return *this;
272 }
274
276
279 inline const Aws::Vector<EnvironmentConfigurationUserParameter>& GetUserParameters() const { return m_userParameters; }
280 template <typename UserParametersT = Aws::Vector<EnvironmentConfigurationUserParameter>>
281 void SetUserParameters(UserParametersT&& value) {
282 m_userParametersHasBeenSet = true;
283 m_userParameters = std::forward<UserParametersT>(value);
284 }
285 template <typename UserParametersT = Aws::Vector<EnvironmentConfigurationUserParameter>>
286 UpdateProjectResult& WithUserParameters(UserParametersT&& value) {
287 SetUserParameters(std::forward<UserParametersT>(value));
288 return *this;
289 }
290 template <typename UserParametersT = EnvironmentConfigurationUserParameter>
291 UpdateProjectResult& AddUserParameters(UserParametersT&& value) {
292 m_userParametersHasBeenSet = true;
293 m_userParameters.emplace_back(std::forward<UserParametersT>(value));
294 return *this;
295 }
297
299
302 inline const EnvironmentDeploymentDetails& GetEnvironmentDeploymentDetails() const { return m_environmentDeploymentDetails; }
303 template <typename EnvironmentDeploymentDetailsT = EnvironmentDeploymentDetails>
304 void SetEnvironmentDeploymentDetails(EnvironmentDeploymentDetailsT&& value) {
305 m_environmentDeploymentDetailsHasBeenSet = true;
306 m_environmentDeploymentDetails = std::forward<EnvironmentDeploymentDetailsT>(value);
307 }
308 template <typename EnvironmentDeploymentDetailsT = EnvironmentDeploymentDetails>
309 UpdateProjectResult& WithEnvironmentDeploymentDetails(EnvironmentDeploymentDetailsT&& value) {
310 SetEnvironmentDeploymentDetails(std::forward<EnvironmentDeploymentDetailsT>(value));
311 return *this;
312 }
314
316
317 inline const Aws::String& GetRequestId() const { return m_requestId; }
318 template <typename RequestIdT = Aws::String>
319 void SetRequestId(RequestIdT&& value) {
320 m_requestIdHasBeenSet = true;
321 m_requestId = std::forward<RequestIdT>(value);
322 }
323 template <typename RequestIdT = Aws::String>
324 UpdateProjectResult& WithRequestId(RequestIdT&& value) {
325 SetRequestId(std::forward<RequestIdT>(value));
326 return *this;
327 }
329 private:
330 Aws::String m_domainId;
331
332 Aws::String m_id;
333
334 Aws::String m_name;
335
336 Aws::String m_description;
337
338 ProjectStatus m_projectStatus{ProjectStatus::NOT_SET};
339
340 Aws::Vector<ProjectDeletionError> m_failureReasons;
341
342 Aws::String m_createdBy;
343
344 Aws::Utils::DateTime m_createdAt{};
345
346 Aws::Utils::DateTime m_lastUpdatedAt{};
347
348 Aws::Vector<ResourceTag> m_resourceTags;
349
350 Aws::Vector<Aws::String> m_glossaryTerms;
351
352 Aws::String m_domainUnitId;
353
354 Aws::String m_projectProfileId;
355
357
358 EnvironmentDeploymentDetails m_environmentDeploymentDetails;
359
360 Aws::String m_requestId;
361 bool m_domainIdHasBeenSet = false;
362 bool m_idHasBeenSet = false;
363 bool m_nameHasBeenSet = false;
364 bool m_descriptionHasBeenSet = false;
365 bool m_projectStatusHasBeenSet = false;
366 bool m_failureReasonsHasBeenSet = false;
367 bool m_createdByHasBeenSet = false;
368 bool m_createdAtHasBeenSet = false;
369 bool m_lastUpdatedAtHasBeenSet = false;
370 bool m_resourceTagsHasBeenSet = false;
371 bool m_glossaryTermsHasBeenSet = false;
372 bool m_domainUnitIdHasBeenSet = false;
373 bool m_projectProfileIdHasBeenSet = false;
374 bool m_userParametersHasBeenSet = false;
375 bool m_environmentDeploymentDetailsHasBeenSet = false;
376 bool m_requestIdHasBeenSet = false;
377};
378
379} // namespace Model
380} // namespace DataZone
381} // namespace Aws
UpdateProjectResult & AddUserParameters(UserParametersT &&value)
void SetEnvironmentDeploymentDetails(EnvironmentDeploymentDetailsT &&value)
const Aws::Vector< EnvironmentConfigurationUserParameter > & GetUserParameters() const
UpdateProjectResult & WithResourceTags(ResourceTagsT &&value)
UpdateProjectResult & WithEnvironmentDeploymentDetails(EnvironmentDeploymentDetailsT &&value)
UpdateProjectResult & WithId(IdT &&value)
AWS_DATAZONE_API UpdateProjectResult()=default
UpdateProjectResult & WithCreatedBy(CreatedByT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
const Aws::String & GetProjectProfileId() const
AWS_DATAZONE_API UpdateProjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetGlossaryTerms(GlossaryTermsT &&value)
UpdateProjectResult & WithDomainUnitId(DomainUnitIdT &&value)
UpdateProjectResult & AddGlossaryTerms(GlossaryTermsT &&value)
void SetUserParameters(UserParametersT &&value)
UpdateProjectResult & AddResourceTags(ResourceTagsT &&value)
void SetProjectProfileId(ProjectProfileIdT &&value)
UpdateProjectResult & AddFailureReasons(FailureReasonsT &&value)
UpdateProjectResult & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
UpdateProjectResult & WithCreatedAt(CreatedAtT &&value)
const EnvironmentDeploymentDetails & GetEnvironmentDeploymentDetails() const
UpdateProjectResult & WithProjectProfileId(ProjectProfileIdT &&value)
UpdateProjectResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
AWS_DATAZONE_API UpdateProjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateProjectResult & WithProjectStatus(ProjectStatus value)
UpdateProjectResult & WithGlossaryTerms(GlossaryTermsT &&value)
UpdateProjectResult & WithName(NameT &&value)
UpdateProjectResult & WithDomainId(DomainIdT &&value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
UpdateProjectResult & WithUserParameters(UserParametersT &&value)
UpdateProjectResult & WithFailureReasons(FailureReasonsT &&value)
const Aws::Vector< ResourceTag > & GetResourceTags() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::Vector< ProjectDeletionError > & GetFailureReasons() const
void SetFailureReasons(FailureReasonsT &&value)
UpdateProjectResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue