AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
GetProjectResult.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 GetProjectResult() = default;
35
37
40 inline const Aws::String& GetDomainId() const { return m_domainId; }
41 template <typename DomainIdT = Aws::String>
42 void SetDomainId(DomainIdT&& value) {
43 m_domainIdHasBeenSet = true;
44 m_domainId = std::forward<DomainIdT>(value);
45 }
46 template <typename DomainIdT = Aws::String>
47 GetProjectResult& WithDomainId(DomainIdT&& value) {
48 SetDomainId(std::forward<DomainIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetId() const { return m_id; }
58 template <typename IdT = Aws::String>
59 void SetId(IdT&& value) {
60 m_idHasBeenSet = true;
61 m_id = std::forward<IdT>(value);
62 }
63 template <typename IdT = Aws::String>
64 GetProjectResult& WithId(IdT&& value) {
65 SetId(std::forward<IdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetName() const { return m_name; }
75 template <typename NameT = Aws::String>
76 void SetName(NameT&& value) {
77 m_nameHasBeenSet = true;
78 m_name = std::forward<NameT>(value);
79 }
80 template <typename NameT = Aws::String>
81 GetProjectResult& WithName(NameT&& value) {
82 SetName(std::forward<NameT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetDescription() const { return m_description; }
92 template <typename DescriptionT = Aws::String>
93 void SetDescription(DescriptionT&& value) {
94 m_descriptionHasBeenSet = true;
95 m_description = std::forward<DescriptionT>(value);
96 }
97 template <typename DescriptionT = Aws::String>
98 GetProjectResult& WithDescription(DescriptionT&& value) {
99 SetDescription(std::forward<DescriptionT>(value));
100 return *this;
101 }
103
105
108 inline ProjectStatus GetProjectStatus() const { return m_projectStatus; }
109 inline void SetProjectStatus(ProjectStatus value) {
110 m_projectStatusHasBeenSet = true;
111 m_projectStatus = value;
112 }
114 SetProjectStatus(value);
115 return *this;
116 }
118
120
124 inline const Aws::Vector<ProjectDeletionError>& GetFailureReasons() const { return m_failureReasons; }
125 template <typename FailureReasonsT = Aws::Vector<ProjectDeletionError>>
126 void SetFailureReasons(FailureReasonsT&& value) {
127 m_failureReasonsHasBeenSet = true;
128 m_failureReasons = std::forward<FailureReasonsT>(value);
129 }
130 template <typename FailureReasonsT = Aws::Vector<ProjectDeletionError>>
131 GetProjectResult& WithFailureReasons(FailureReasonsT&& value) {
132 SetFailureReasons(std::forward<FailureReasonsT>(value));
133 return *this;
134 }
135 template <typename FailureReasonsT = ProjectDeletionError>
136 GetProjectResult& AddFailureReasons(FailureReasonsT&& value) {
137 m_failureReasonsHasBeenSet = true;
138 m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
148 template <typename CreatedByT = Aws::String>
149 void SetCreatedBy(CreatedByT&& value) {
150 m_createdByHasBeenSet = true;
151 m_createdBy = std::forward<CreatedByT>(value);
152 }
153 template <typename CreatedByT = Aws::String>
154 GetProjectResult& WithCreatedBy(CreatedByT&& value) {
155 SetCreatedBy(std::forward<CreatedByT>(value));
156 return *this;
157 }
159
161
164 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
165 template <typename CreatedAtT = Aws::Utils::DateTime>
166 void SetCreatedAt(CreatedAtT&& value) {
167 m_createdAtHasBeenSet = true;
168 m_createdAt = std::forward<CreatedAtT>(value);
169 }
170 template <typename CreatedAtT = Aws::Utils::DateTime>
171 GetProjectResult& WithCreatedAt(CreatedAtT&& value) {
172 SetCreatedAt(std::forward<CreatedAtT>(value));
173 return *this;
174 }
176
178
181 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
182 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
183 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
184 m_lastUpdatedAtHasBeenSet = true;
185 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
186 }
187 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
188 GetProjectResult& WithLastUpdatedAt(LastUpdatedAtT&& value) {
189 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
190 return *this;
191 }
193
195
198 inline const Aws::Vector<ResourceTag>& GetResourceTags() const { return m_resourceTags; }
199 template <typename ResourceTagsT = Aws::Vector<ResourceTag>>
200 void SetResourceTags(ResourceTagsT&& value) {
201 m_resourceTagsHasBeenSet = true;
202 m_resourceTags = std::forward<ResourceTagsT>(value);
203 }
204 template <typename ResourceTagsT = Aws::Vector<ResourceTag>>
205 GetProjectResult& WithResourceTags(ResourceTagsT&& value) {
206 SetResourceTags(std::forward<ResourceTagsT>(value));
207 return *this;
208 }
209 template <typename ResourceTagsT = ResourceTag>
210 GetProjectResult& AddResourceTags(ResourceTagsT&& value) {
211 m_resourceTagsHasBeenSet = true;
212 m_resourceTags.emplace_back(std::forward<ResourceTagsT>(value));
213 return *this;
214 }
216
218
221 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
222 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
223 void SetGlossaryTerms(GlossaryTermsT&& value) {
224 m_glossaryTermsHasBeenSet = true;
225 m_glossaryTerms = std::forward<GlossaryTermsT>(value);
226 }
227 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
228 GetProjectResult& WithGlossaryTerms(GlossaryTermsT&& value) {
229 SetGlossaryTerms(std::forward<GlossaryTermsT>(value));
230 return *this;
231 }
232 template <typename GlossaryTermsT = Aws::String>
233 GetProjectResult& AddGlossaryTerms(GlossaryTermsT&& value) {
234 m_glossaryTermsHasBeenSet = true;
235 m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value));
236 return *this;
237 }
239
241
244 inline const Aws::String& GetDomainUnitId() const { return m_domainUnitId; }
245 template <typename DomainUnitIdT = Aws::String>
246 void SetDomainUnitId(DomainUnitIdT&& value) {
247 m_domainUnitIdHasBeenSet = true;
248 m_domainUnitId = std::forward<DomainUnitIdT>(value);
249 }
250 template <typename DomainUnitIdT = Aws::String>
251 GetProjectResult& WithDomainUnitId(DomainUnitIdT&& value) {
252 SetDomainUnitId(std::forward<DomainUnitIdT>(value));
253 return *this;
254 }
256
258
261 inline const Aws::String& GetProjectProfileId() const { return m_projectProfileId; }
262 template <typename ProjectProfileIdT = Aws::String>
263 void SetProjectProfileId(ProjectProfileIdT&& value) {
264 m_projectProfileIdHasBeenSet = true;
265 m_projectProfileId = std::forward<ProjectProfileIdT>(value);
266 }
267 template <typename ProjectProfileIdT = Aws::String>
268 GetProjectResult& WithProjectProfileId(ProjectProfileIdT&& value) {
269 SetProjectProfileId(std::forward<ProjectProfileIdT>(value));
270 return *this;
271 }
273
275
278 inline const Aws::Vector<EnvironmentConfigurationUserParameter>& GetUserParameters() const { return m_userParameters; }
279 template <typename UserParametersT = Aws::Vector<EnvironmentConfigurationUserParameter>>
280 void SetUserParameters(UserParametersT&& value) {
281 m_userParametersHasBeenSet = true;
282 m_userParameters = std::forward<UserParametersT>(value);
283 }
284 template <typename UserParametersT = Aws::Vector<EnvironmentConfigurationUserParameter>>
285 GetProjectResult& WithUserParameters(UserParametersT&& value) {
286 SetUserParameters(std::forward<UserParametersT>(value));
287 return *this;
288 }
289 template <typename UserParametersT = EnvironmentConfigurationUserParameter>
290 GetProjectResult& AddUserParameters(UserParametersT&& value) {
291 m_userParametersHasBeenSet = true;
292 m_userParameters.emplace_back(std::forward<UserParametersT>(value));
293 return *this;
294 }
296
298
301 inline const EnvironmentDeploymentDetails& GetEnvironmentDeploymentDetails() const { return m_environmentDeploymentDetails; }
302 template <typename EnvironmentDeploymentDetailsT = EnvironmentDeploymentDetails>
303 void SetEnvironmentDeploymentDetails(EnvironmentDeploymentDetailsT&& value) {
304 m_environmentDeploymentDetailsHasBeenSet = true;
305 m_environmentDeploymentDetails = std::forward<EnvironmentDeploymentDetailsT>(value);
306 }
307 template <typename EnvironmentDeploymentDetailsT = EnvironmentDeploymentDetails>
308 GetProjectResult& WithEnvironmentDeploymentDetails(EnvironmentDeploymentDetailsT&& value) {
309 SetEnvironmentDeploymentDetails(std::forward<EnvironmentDeploymentDetailsT>(value));
310 return *this;
311 }
313
315
316 inline const Aws::String& GetRequestId() const { return m_requestId; }
317 template <typename RequestIdT = Aws::String>
318 void SetRequestId(RequestIdT&& value) {
319 m_requestIdHasBeenSet = true;
320 m_requestId = std::forward<RequestIdT>(value);
321 }
322 template <typename RequestIdT = Aws::String>
323 GetProjectResult& WithRequestId(RequestIdT&& value) {
324 SetRequestId(std::forward<RequestIdT>(value));
325 return *this;
326 }
328 private:
329 Aws::String m_domainId;
330
331 Aws::String m_id;
332
333 Aws::String m_name;
334
335 Aws::String m_description;
336
337 ProjectStatus m_projectStatus{ProjectStatus::NOT_SET};
338
339 Aws::Vector<ProjectDeletionError> m_failureReasons;
340
341 Aws::String m_createdBy;
342
343 Aws::Utils::DateTime m_createdAt{};
344
345 Aws::Utils::DateTime m_lastUpdatedAt{};
346
347 Aws::Vector<ResourceTag> m_resourceTags;
348
349 Aws::Vector<Aws::String> m_glossaryTerms;
350
351 Aws::String m_domainUnitId;
352
353 Aws::String m_projectProfileId;
354
356
357 EnvironmentDeploymentDetails m_environmentDeploymentDetails;
358
359 Aws::String m_requestId;
360 bool m_domainIdHasBeenSet = false;
361 bool m_idHasBeenSet = false;
362 bool m_nameHasBeenSet = false;
363 bool m_descriptionHasBeenSet = false;
364 bool m_projectStatusHasBeenSet = false;
365 bool m_failureReasonsHasBeenSet = false;
366 bool m_createdByHasBeenSet = false;
367 bool m_createdAtHasBeenSet = false;
368 bool m_lastUpdatedAtHasBeenSet = false;
369 bool m_resourceTagsHasBeenSet = false;
370 bool m_glossaryTermsHasBeenSet = false;
371 bool m_domainUnitIdHasBeenSet = false;
372 bool m_projectProfileIdHasBeenSet = false;
373 bool m_userParametersHasBeenSet = false;
374 bool m_environmentDeploymentDetailsHasBeenSet = false;
375 bool m_requestIdHasBeenSet = false;
376};
377
378} // namespace Model
379} // namespace DataZone
380} // namespace Aws
const EnvironmentDeploymentDetails & GetEnvironmentDeploymentDetails() const
void SetFailureReasons(FailureReasonsT &&value)
void SetDomainUnitId(DomainUnitIdT &&value)
const Aws::Vector< ResourceTag > & GetResourceTags() const
GetProjectResult & AddResourceTags(ResourceTagsT &&value)
GetProjectResult & WithProjectStatus(ProjectStatus value)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
GetProjectResult & WithProjectProfileId(ProjectProfileIdT &&value)
void SetProjectStatus(ProjectStatus value)
void SetGlossaryTerms(GlossaryTermsT &&value)
GetProjectResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
GetProjectResult & WithGlossaryTerms(GlossaryTermsT &&value)
GetProjectResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetName() const
const Aws::String & GetRequestId() const
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
const Aws::String & GetProjectProfileId() const
GetProjectResult & WithDomainUnitId(DomainUnitIdT &&value)
AWS_DATAZONE_API GetProjectResult()=default
const Aws::String & GetDomainUnitId() const
GetProjectResult & AddFailureReasons(FailureReasonsT &&value)
GetProjectResult & WithName(NameT &&value)
const Aws::String & GetDomainId() const
GetProjectResult & WithDomainId(DomainIdT &&value)
GetProjectResult & WithResourceTags(ResourceTagsT &&value)
void SetUserParameters(UserParametersT &&value)
GetProjectResult & WithDescription(DescriptionT &&value)
GetProjectResult & WithCreatedBy(CreatedByT &&value)
GetProjectResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetId() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetResourceTags(ResourceTagsT &&value)
GetProjectResult & WithFailureReasons(FailureReasonsT &&value)
const Aws::String & GetCreatedBy() const
AWS_DATAZONE_API GetProjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< EnvironmentConfigurationUserParameter > & GetUserParameters() const
const Aws::Vector< ProjectDeletionError > & GetFailureReasons() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetDescription(DescriptionT &&value)
AWS_DATAZONE_API GetProjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetProjectProfileId(ProjectProfileIdT &&value)
GetProjectResult & WithId(IdT &&value)
GetProjectResult & WithUserParameters(UserParametersT &&value)
GetProjectResult & WithEnvironmentDeploymentDetails(EnvironmentDeploymentDetailsT &&value)
const Aws::String & GetDescription() const
GetProjectResult & AddUserParameters(UserParametersT &&value)
void SetEnvironmentDeploymentDetails(EnvironmentDeploymentDetailsT &&value)
GetProjectResult & AddGlossaryTerms(GlossaryTermsT &&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