AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeProjectResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/SageMaker_EXPORTS.h>
12#include <aws/sagemaker/model/ProjectStatus.h>
13#include <aws/sagemaker/model/ServiceCatalogProvisionedProductDetails.h>
14#include <aws/sagemaker/model/ServiceCatalogProvisioningDetails.h>
15#include <aws/sagemaker/model/TemplateProviderDetail.h>
16#include <aws/sagemaker/model/UserContext.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace SageMaker {
30namespace Model {
32 public:
33 AWS_SAGEMAKER_API DescribeProjectResult() = default;
36
38
41 inline const Aws::String& GetProjectArn() const { return m_projectArn; }
42 template <typename ProjectArnT = Aws::String>
43 void SetProjectArn(ProjectArnT&& value) {
44 m_projectArnHasBeenSet = true;
45 m_projectArn = std::forward<ProjectArnT>(value);
46 }
47 template <typename ProjectArnT = Aws::String>
48 DescribeProjectResult& WithProjectArn(ProjectArnT&& value) {
49 SetProjectArn(std::forward<ProjectArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetProjectName() const { return m_projectName; }
59 template <typename ProjectNameT = Aws::String>
60 void SetProjectName(ProjectNameT&& value) {
61 m_projectNameHasBeenSet = true;
62 m_projectName = std::forward<ProjectNameT>(value);
63 }
64 template <typename ProjectNameT = Aws::String>
65 DescribeProjectResult& WithProjectName(ProjectNameT&& value) {
66 SetProjectName(std::forward<ProjectNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetProjectId() const { return m_projectId; }
76 template <typename ProjectIdT = Aws::String>
77 void SetProjectId(ProjectIdT&& value) {
78 m_projectIdHasBeenSet = true;
79 m_projectId = std::forward<ProjectIdT>(value);
80 }
81 template <typename ProjectIdT = Aws::String>
82 DescribeProjectResult& WithProjectId(ProjectIdT&& value) {
83 SetProjectId(std::forward<ProjectIdT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetProjectDescription() const { return m_projectDescription; }
93 template <typename ProjectDescriptionT = Aws::String>
94 void SetProjectDescription(ProjectDescriptionT&& value) {
95 m_projectDescriptionHasBeenSet = true;
96 m_projectDescription = std::forward<ProjectDescriptionT>(value);
97 }
98 template <typename ProjectDescriptionT = Aws::String>
99 DescribeProjectResult& WithProjectDescription(ProjectDescriptionT&& value) {
100 SetProjectDescription(std::forward<ProjectDescriptionT>(value));
101 return *this;
102 }
104
106
113 return m_serviceCatalogProvisioningDetails;
114 }
115 template <typename ServiceCatalogProvisioningDetailsT = ServiceCatalogProvisioningDetails>
116 void SetServiceCatalogProvisioningDetails(ServiceCatalogProvisioningDetailsT&& value) {
117 m_serviceCatalogProvisioningDetailsHasBeenSet = true;
118 m_serviceCatalogProvisioningDetails = std::forward<ServiceCatalogProvisioningDetailsT>(value);
119 }
120 template <typename ServiceCatalogProvisioningDetailsT = ServiceCatalogProvisioningDetails>
121 DescribeProjectResult& WithServiceCatalogProvisioningDetails(ServiceCatalogProvisioningDetailsT&& value) {
122 SetServiceCatalogProvisioningDetails(std::forward<ServiceCatalogProvisioningDetailsT>(value));
123 return *this;
124 }
126
128
132 return m_serviceCatalogProvisionedProductDetails;
133 }
134 template <typename ServiceCatalogProvisionedProductDetailsT = ServiceCatalogProvisionedProductDetails>
135 void SetServiceCatalogProvisionedProductDetails(ServiceCatalogProvisionedProductDetailsT&& value) {
136 m_serviceCatalogProvisionedProductDetailsHasBeenSet = true;
137 m_serviceCatalogProvisionedProductDetails = std::forward<ServiceCatalogProvisionedProductDetailsT>(value);
138 }
139 template <typename ServiceCatalogProvisionedProductDetailsT = ServiceCatalogProvisionedProductDetails>
140 DescribeProjectResult& WithServiceCatalogProvisionedProductDetails(ServiceCatalogProvisionedProductDetailsT&& value) {
141 SetServiceCatalogProvisionedProductDetails(std::forward<ServiceCatalogProvisionedProductDetailsT>(value));
142 return *this;
143 }
145
147
150 inline ProjectStatus GetProjectStatus() const { return m_projectStatus; }
151 inline void SetProjectStatus(ProjectStatus value) {
152 m_projectStatusHasBeenSet = true;
153 m_projectStatus = value;
154 }
156 SetProjectStatus(value);
157 return *this;
158 }
160
162
165 inline const Aws::Vector<TemplateProviderDetail>& GetTemplateProviderDetails() const { return m_templateProviderDetails; }
166 template <typename TemplateProviderDetailsT = Aws::Vector<TemplateProviderDetail>>
167 void SetTemplateProviderDetails(TemplateProviderDetailsT&& value) {
168 m_templateProviderDetailsHasBeenSet = true;
169 m_templateProviderDetails = std::forward<TemplateProviderDetailsT>(value);
170 }
171 template <typename TemplateProviderDetailsT = Aws::Vector<TemplateProviderDetail>>
172 DescribeProjectResult& WithTemplateProviderDetails(TemplateProviderDetailsT&& value) {
173 SetTemplateProviderDetails(std::forward<TemplateProviderDetailsT>(value));
174 return *this;
175 }
176 template <typename TemplateProviderDetailsT = TemplateProviderDetail>
177 DescribeProjectResult& AddTemplateProviderDetails(TemplateProviderDetailsT&& value) {
178 m_templateProviderDetailsHasBeenSet = true;
179 m_templateProviderDetails.emplace_back(std::forward<TemplateProviderDetailsT>(value));
180 return *this;
181 }
183
185
186 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
187 template <typename CreatedByT = UserContext>
188 void SetCreatedBy(CreatedByT&& value) {
189 m_createdByHasBeenSet = true;
190 m_createdBy = std::forward<CreatedByT>(value);
191 }
192 template <typename CreatedByT = UserContext>
194 SetCreatedBy(std::forward<CreatedByT>(value));
195 return *this;
196 }
198
200
203 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
204 template <typename CreationTimeT = Aws::Utils::DateTime>
205 void SetCreationTime(CreationTimeT&& value) {
206 m_creationTimeHasBeenSet = true;
207 m_creationTime = std::forward<CreationTimeT>(value);
208 }
209 template <typename CreationTimeT = Aws::Utils::DateTime>
210 DescribeProjectResult& WithCreationTime(CreationTimeT&& value) {
211 SetCreationTime(std::forward<CreationTimeT>(value));
212 return *this;
213 }
215
217
220 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
221 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
222 void SetLastModifiedTime(LastModifiedTimeT&& value) {
223 m_lastModifiedTimeHasBeenSet = true;
224 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
225 }
226 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
227 DescribeProjectResult& WithLastModifiedTime(LastModifiedTimeT&& value) {
228 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
229 return *this;
230 }
232
234
235 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
236 template <typename LastModifiedByT = UserContext>
237 void SetLastModifiedBy(LastModifiedByT&& value) {
238 m_lastModifiedByHasBeenSet = true;
239 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
240 }
241 template <typename LastModifiedByT = UserContext>
242 DescribeProjectResult& WithLastModifiedBy(LastModifiedByT&& value) {
243 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
244 return *this;
245 }
247
249
250 inline const Aws::String& GetRequestId() const { return m_requestId; }
251 template <typename RequestIdT = Aws::String>
252 void SetRequestId(RequestIdT&& value) {
253 m_requestIdHasBeenSet = true;
254 m_requestId = std::forward<RequestIdT>(value);
255 }
256 template <typename RequestIdT = Aws::String>
258 SetRequestId(std::forward<RequestIdT>(value));
259 return *this;
260 }
262 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
263
264 private:
265 Aws::String m_projectArn;
266
267 Aws::String m_projectName;
268
269 Aws::String m_projectId;
270
271 Aws::String m_projectDescription;
272
273 ServiceCatalogProvisioningDetails m_serviceCatalogProvisioningDetails;
274
275 ServiceCatalogProvisionedProductDetails m_serviceCatalogProvisionedProductDetails;
276
277 ProjectStatus m_projectStatus{ProjectStatus::NOT_SET};
278
279 Aws::Vector<TemplateProviderDetail> m_templateProviderDetails;
280
281 UserContext m_createdBy;
282
283 Aws::Utils::DateTime m_creationTime{};
284
285 Aws::Utils::DateTime m_lastModifiedTime{};
286
287 UserContext m_lastModifiedBy;
288
289 Aws::String m_requestId;
290 Aws::Http::HttpResponseCode m_HttpResponseCode;
291 bool m_projectArnHasBeenSet = false;
292 bool m_projectNameHasBeenSet = false;
293 bool m_projectIdHasBeenSet = false;
294 bool m_projectDescriptionHasBeenSet = false;
295 bool m_serviceCatalogProvisioningDetailsHasBeenSet = false;
296 bool m_serviceCatalogProvisionedProductDetailsHasBeenSet = false;
297 bool m_projectStatusHasBeenSet = false;
298 bool m_templateProviderDetailsHasBeenSet = false;
299 bool m_createdByHasBeenSet = false;
300 bool m_creationTimeHasBeenSet = false;
301 bool m_lastModifiedTimeHasBeenSet = false;
302 bool m_lastModifiedByHasBeenSet = false;
303 bool m_requestIdHasBeenSet = false;
304};
305
306} // namespace Model
307} // namespace SageMaker
308} // namespace Aws
DescribeProjectResult & WithCreatedBy(CreatedByT &&value)
void SetTemplateProviderDetails(TemplateProviderDetailsT &&value)
const Aws::Vector< TemplateProviderDetail > & GetTemplateProviderDetails() const
void SetProjectDescription(ProjectDescriptionT &&value)
const ServiceCatalogProvisioningDetails & GetServiceCatalogProvisioningDetails() const
DescribeProjectResult & WithProjectId(ProjectIdT &&value)
const ServiceCatalogProvisionedProductDetails & GetServiceCatalogProvisionedProductDetails() const
DescribeProjectResult & WithProjectArn(ProjectArnT &&value)
DescribeProjectResult & WithProjectStatus(ProjectStatus value)
void SetServiceCatalogProvisionedProductDetails(ServiceCatalogProvisionedProductDetailsT &&value)
DescribeProjectResult & WithServiceCatalogProvisionedProductDetails(ServiceCatalogProvisionedProductDetailsT &&value)
DescribeProjectResult & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetServiceCatalogProvisioningDetails(ServiceCatalogProvisioningDetailsT &&value)
AWS_SAGEMAKER_API DescribeProjectResult()=default
void SetLastModifiedTime(LastModifiedTimeT &&value)
AWS_SAGEMAKER_API DescribeProjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeProjectResult & WithProjectDescription(ProjectDescriptionT &&value)
DescribeProjectResult & AddTemplateProviderDetails(TemplateProviderDetailsT &&value)
DescribeProjectResult & WithCreationTime(CreationTimeT &&value)
DescribeProjectResult & WithProjectName(ProjectNameT &&value)
AWS_SAGEMAKER_API DescribeProjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeProjectResult & WithServiceCatalogProvisioningDetails(ServiceCatalogProvisioningDetailsT &&value)
DescribeProjectResult & WithLastModifiedBy(LastModifiedByT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
DescribeProjectResult & WithTemplateProviderDetails(TemplateProviderDetailsT &&value)
DescribeProjectResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue