AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetProjectResult.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 GetProjectResult() = 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 GetProjectResult& 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 GetProjectResult& 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 GetProjectResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
73
75
78 inline const Aws::String& GetDomainId() const { return m_domainId; }
79 template<typename DomainIdT = Aws::String>
80 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
81 template<typename DomainIdT = Aws::String>
82 GetProjectResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
84
86
89 inline const Aws::String& GetDomainUnitId() const { return m_domainUnitId; }
90 template<typename DomainUnitIdT = Aws::String>
91 void SetDomainUnitId(DomainUnitIdT&& value) { m_domainUnitIdHasBeenSet = true; m_domainUnitId = std::forward<DomainUnitIdT>(value); }
92 template<typename DomainUnitIdT = Aws::String>
93 GetProjectResult& WithDomainUnitId(DomainUnitIdT&& value) { SetDomainUnitId(std::forward<DomainUnitIdT>(value)); return *this;}
95
97
100 inline const EnvironmentDeploymentDetails& GetEnvironmentDeploymentDetails() const { return m_environmentDeploymentDetails; }
101 template<typename EnvironmentDeploymentDetailsT = EnvironmentDeploymentDetails>
102 void SetEnvironmentDeploymentDetails(EnvironmentDeploymentDetailsT&& value) { m_environmentDeploymentDetailsHasBeenSet = true; m_environmentDeploymentDetails = std::forward<EnvironmentDeploymentDetailsT>(value); }
103 template<typename EnvironmentDeploymentDetailsT = EnvironmentDeploymentDetails>
104 GetProjectResult& WithEnvironmentDeploymentDetails(EnvironmentDeploymentDetailsT&& value) { SetEnvironmentDeploymentDetails(std::forward<EnvironmentDeploymentDetailsT>(value)); return *this;}
106
108
112 inline const Aws::Vector<ProjectDeletionError>& GetFailureReasons() const { return m_failureReasons; }
113 template<typename FailureReasonsT = Aws::Vector<ProjectDeletionError>>
114 void SetFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons = std::forward<FailureReasonsT>(value); }
115 template<typename FailureReasonsT = Aws::Vector<ProjectDeletionError>>
116 GetProjectResult& WithFailureReasons(FailureReasonsT&& value) { SetFailureReasons(std::forward<FailureReasonsT>(value)); return *this;}
117 template<typename FailureReasonsT = ProjectDeletionError>
118 GetProjectResult& AddFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value)); return *this; }
120
122
125 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
126 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
127 void SetGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::forward<GlossaryTermsT>(value); }
128 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
129 GetProjectResult& WithGlossaryTerms(GlossaryTermsT&& value) { SetGlossaryTerms(std::forward<GlossaryTermsT>(value)); return *this;}
130 template<typename GlossaryTermsT = Aws::String>
131 GetProjectResult& AddGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value)); return *this; }
133
135
138 inline const Aws::String& GetId() const { return m_id; }
139 template<typename IdT = Aws::String>
140 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
141 template<typename IdT = Aws::String>
142 GetProjectResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
144
146
149 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
150 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
151 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
152 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
153 GetProjectResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
155
157
160 inline const Aws::String& GetName() const { return m_name; }
161 template<typename NameT = Aws::String>
162 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
163 template<typename NameT = Aws::String>
164 GetProjectResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
166
168
171 inline const Aws::String& GetProjectProfileId() const { return m_projectProfileId; }
172 template<typename ProjectProfileIdT = Aws::String>
173 void SetProjectProfileId(ProjectProfileIdT&& value) { m_projectProfileIdHasBeenSet = true; m_projectProfileId = std::forward<ProjectProfileIdT>(value); }
174 template<typename ProjectProfileIdT = Aws::String>
175 GetProjectResult& WithProjectProfileId(ProjectProfileIdT&& value) { SetProjectProfileId(std::forward<ProjectProfileIdT>(value)); return *this;}
177
179
182 inline ProjectStatus GetProjectStatus() const { return m_projectStatus; }
183 inline void SetProjectStatus(ProjectStatus value) { m_projectStatusHasBeenSet = true; m_projectStatus = value; }
184 inline GetProjectResult& WithProjectStatus(ProjectStatus value) { SetProjectStatus(value); return *this;}
186
188
191 inline const Aws::Vector<EnvironmentConfigurationUserParameter>& GetUserParameters() const { return m_userParameters; }
192 template<typename UserParametersT = Aws::Vector<EnvironmentConfigurationUserParameter>>
193 void SetUserParameters(UserParametersT&& value) { m_userParametersHasBeenSet = true; m_userParameters = std::forward<UserParametersT>(value); }
194 template<typename UserParametersT = Aws::Vector<EnvironmentConfigurationUserParameter>>
195 GetProjectResult& WithUserParameters(UserParametersT&& value) { SetUserParameters(std::forward<UserParametersT>(value)); return *this;}
196 template<typename UserParametersT = EnvironmentConfigurationUserParameter>
197 GetProjectResult& AddUserParameters(UserParametersT&& value) { m_userParametersHasBeenSet = true; m_userParameters.emplace_back(std::forward<UserParametersT>(value)); return *this; }
199
201
202 inline const Aws::String& GetRequestId() const { return m_requestId; }
203 template<typename RequestIdT = Aws::String>
204 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
205 template<typename RequestIdT = Aws::String>
206 GetProjectResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
208 private:
209
210 Aws::Utils::DateTime m_createdAt{};
211 bool m_createdAtHasBeenSet = false;
212
213 Aws::String m_createdBy;
214 bool m_createdByHasBeenSet = false;
215
216 Aws::String m_description;
217 bool m_descriptionHasBeenSet = false;
218
219 Aws::String m_domainId;
220 bool m_domainIdHasBeenSet = false;
221
222 Aws::String m_domainUnitId;
223 bool m_domainUnitIdHasBeenSet = false;
224
225 EnvironmentDeploymentDetails m_environmentDeploymentDetails;
226 bool m_environmentDeploymentDetailsHasBeenSet = false;
227
228 Aws::Vector<ProjectDeletionError> m_failureReasons;
229 bool m_failureReasonsHasBeenSet = false;
230
231 Aws::Vector<Aws::String> m_glossaryTerms;
232 bool m_glossaryTermsHasBeenSet = false;
233
234 Aws::String m_id;
235 bool m_idHasBeenSet = false;
236
237 Aws::Utils::DateTime m_lastUpdatedAt{};
238 bool m_lastUpdatedAtHasBeenSet = false;
239
240 Aws::String m_name;
241 bool m_nameHasBeenSet = false;
242
243 Aws::String m_projectProfileId;
244 bool m_projectProfileIdHasBeenSet = false;
245
246 ProjectStatus m_projectStatus{ProjectStatus::NOT_SET};
247 bool m_projectStatusHasBeenSet = false;
248
250 bool m_userParametersHasBeenSet = false;
251
252 Aws::String m_requestId;
253 bool m_requestIdHasBeenSet = false;
254 };
255
256} // namespace Model
257} // namespace DataZone
258} // namespace Aws
const EnvironmentDeploymentDetails & GetEnvironmentDeploymentDetails() const
void SetFailureReasons(FailureReasonsT &&value)
void SetDomainUnitId(DomainUnitIdT &&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)
void SetUserParameters(UserParametersT &&value)
GetProjectResult & WithDescription(DescriptionT &&value)
GetProjectResult & WithCreatedBy(CreatedByT &&value)
GetProjectResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
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