AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateProjectResult.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/EnvironmentDeploymentDetails.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/datazone/model/ProjectStatus.h>
13#include <aws/datazone/model/ProjectDeletionError.h>
14#include <aws/datazone/model/EnvironmentConfigurationUserParameter.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace DataZone
30{
31namespace Model
32{
34 {
35 public:
36 AWS_DATAZONE_API UpdateProjectResult() = default;
39
40
42
45 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
46 template<typename CreatedAtT = Aws::Utils::DateTime>
47 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
48 template<typename CreatedAtT = Aws::Utils::DateTime>
49 UpdateProjectResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
51
53
56 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
57 template<typename CreatedByT = Aws::String>
58 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
59 template<typename CreatedByT = Aws::String>
60 UpdateProjectResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
62
64
67 inline const Aws::String& GetDescription() const { return m_description; }
68 template<typename DescriptionT = Aws::String>
69 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
70 template<typename DescriptionT = Aws::String>
71 UpdateProjectResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
73
75
79 inline const Aws::String& GetDomainId() const { return m_domainId; }
80 template<typename DomainIdT = Aws::String>
81 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
82 template<typename DomainIdT = Aws::String>
83 UpdateProjectResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
85
87
90 inline const Aws::String& GetDomainUnitId() const { return m_domainUnitId; }
91 template<typename DomainUnitIdT = Aws::String>
92 void SetDomainUnitId(DomainUnitIdT&& value) { m_domainUnitIdHasBeenSet = true; m_domainUnitId = std::forward<DomainUnitIdT>(value); }
93 template<typename DomainUnitIdT = Aws::String>
94 UpdateProjectResult& WithDomainUnitId(DomainUnitIdT&& value) { SetDomainUnitId(std::forward<DomainUnitIdT>(value)); return *this;}
96
98
101 inline const EnvironmentDeploymentDetails& GetEnvironmentDeploymentDetails() const { return m_environmentDeploymentDetails; }
102 template<typename EnvironmentDeploymentDetailsT = EnvironmentDeploymentDetails>
103 void SetEnvironmentDeploymentDetails(EnvironmentDeploymentDetailsT&& value) { m_environmentDeploymentDetailsHasBeenSet = true; m_environmentDeploymentDetails = std::forward<EnvironmentDeploymentDetailsT>(value); }
104 template<typename EnvironmentDeploymentDetailsT = EnvironmentDeploymentDetails>
105 UpdateProjectResult& WithEnvironmentDeploymentDetails(EnvironmentDeploymentDetailsT&& value) { SetEnvironmentDeploymentDetails(std::forward<EnvironmentDeploymentDetailsT>(value)); return *this;}
107
109
113 inline const Aws::Vector<ProjectDeletionError>& GetFailureReasons() const { return m_failureReasons; }
114 template<typename FailureReasonsT = Aws::Vector<ProjectDeletionError>>
115 void SetFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons = std::forward<FailureReasonsT>(value); }
116 template<typename FailureReasonsT = Aws::Vector<ProjectDeletionError>>
117 UpdateProjectResult& WithFailureReasons(FailureReasonsT&& value) { SetFailureReasons(std::forward<FailureReasonsT>(value)); return *this;}
118 template<typename FailureReasonsT = ProjectDeletionError>
119 UpdateProjectResult& AddFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value)); return *this; }
121
123
126 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
127 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
128 void SetGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::forward<GlossaryTermsT>(value); }
129 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
130 UpdateProjectResult& WithGlossaryTerms(GlossaryTermsT&& value) { SetGlossaryTerms(std::forward<GlossaryTermsT>(value)); return *this;}
131 template<typename GlossaryTermsT = Aws::String>
132 UpdateProjectResult& AddGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value)); return *this; }
134
136
139 inline const Aws::String& GetId() const { return m_id; }
140 template<typename IdT = Aws::String>
141 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
142 template<typename IdT = Aws::String>
143 UpdateProjectResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
145
147
150 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
151 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
152 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
153 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
154 UpdateProjectResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
156
158
161 inline const Aws::String& GetName() const { return m_name; }
162 template<typename NameT = Aws::String>
163 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
164 template<typename NameT = Aws::String>
165 UpdateProjectResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
167
169
172 inline const Aws::String& GetProjectProfileId() const { return m_projectProfileId; }
173 template<typename ProjectProfileIdT = Aws::String>
174 void SetProjectProfileId(ProjectProfileIdT&& value) { m_projectProfileIdHasBeenSet = true; m_projectProfileId = std::forward<ProjectProfileIdT>(value); }
175 template<typename ProjectProfileIdT = Aws::String>
176 UpdateProjectResult& WithProjectProfileId(ProjectProfileIdT&& value) { SetProjectProfileId(std::forward<ProjectProfileIdT>(value)); return *this;}
178
180
183 inline ProjectStatus GetProjectStatus() const { return m_projectStatus; }
184 inline void SetProjectStatus(ProjectStatus value) { m_projectStatusHasBeenSet = true; m_projectStatus = value; }
187
189
192 inline const Aws::Vector<EnvironmentConfigurationUserParameter>& GetUserParameters() const { return m_userParameters; }
193 template<typename UserParametersT = Aws::Vector<EnvironmentConfigurationUserParameter>>
194 void SetUserParameters(UserParametersT&& value) { m_userParametersHasBeenSet = true; m_userParameters = std::forward<UserParametersT>(value); }
195 template<typename UserParametersT = Aws::Vector<EnvironmentConfigurationUserParameter>>
196 UpdateProjectResult& WithUserParameters(UserParametersT&& value) { SetUserParameters(std::forward<UserParametersT>(value)); return *this;}
197 template<typename UserParametersT = EnvironmentConfigurationUserParameter>
198 UpdateProjectResult& AddUserParameters(UserParametersT&& value) { m_userParametersHasBeenSet = true; m_userParameters.emplace_back(std::forward<UserParametersT>(value)); return *this; }
200
202
203 inline const Aws::String& GetRequestId() const { return m_requestId; }
204 template<typename RequestIdT = Aws::String>
205 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
206 template<typename RequestIdT = Aws::String>
207 UpdateProjectResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
209 private:
210
211 Aws::Utils::DateTime m_createdAt{};
212 bool m_createdAtHasBeenSet = false;
213
214 Aws::String m_createdBy;
215 bool m_createdByHasBeenSet = false;
216
217 Aws::String m_description;
218 bool m_descriptionHasBeenSet = false;
219
220 Aws::String m_domainId;
221 bool m_domainIdHasBeenSet = false;
222
223 Aws::String m_domainUnitId;
224 bool m_domainUnitIdHasBeenSet = false;
225
226 EnvironmentDeploymentDetails m_environmentDeploymentDetails;
227 bool m_environmentDeploymentDetailsHasBeenSet = false;
228
229 Aws::Vector<ProjectDeletionError> m_failureReasons;
230 bool m_failureReasonsHasBeenSet = false;
231
232 Aws::Vector<Aws::String> m_glossaryTerms;
233 bool m_glossaryTermsHasBeenSet = false;
234
235 Aws::String m_id;
236 bool m_idHasBeenSet = false;
237
238 Aws::Utils::DateTime m_lastUpdatedAt{};
239 bool m_lastUpdatedAtHasBeenSet = false;
240
241 Aws::String m_name;
242 bool m_nameHasBeenSet = false;
243
244 Aws::String m_projectProfileId;
245 bool m_projectProfileIdHasBeenSet = false;
246
247 ProjectStatus m_projectStatus{ProjectStatus::NOT_SET};
248 bool m_projectStatusHasBeenSet = false;
249
251 bool m_userParametersHasBeenSet = false;
252
253 Aws::String m_requestId;
254 bool m_requestIdHasBeenSet = false;
255 };
256
257} // namespace Model
258} // namespace DataZone
259} // namespace Aws
UpdateProjectResult & AddUserParameters(UserParametersT &&value)
void SetEnvironmentDeploymentDetails(EnvironmentDeploymentDetailsT &&value)
const Aws::Vector< EnvironmentConfigurationUserParameter > & GetUserParameters() const
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)
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)
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