AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeProjectResult.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/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/ProjectStatus.h>
12#include <aws/sagemaker/model/ServiceCatalogProvisionedProductDetails.h>
13#include <aws/sagemaker/model/ServiceCatalogProvisioningDetails.h>
14#include <aws/sagemaker/model/TemplateProviderDetail.h>
15#include <aws/sagemaker/model/UserContext.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 SageMaker {
29namespace Model {
31 public:
32 AWS_SAGEMAKER_API DescribeProjectResult() = default;
35
37
40 inline const Aws::String& GetProjectArn() const { return m_projectArn; }
41 template <typename ProjectArnT = Aws::String>
42 void SetProjectArn(ProjectArnT&& value) {
43 m_projectArnHasBeenSet = true;
44 m_projectArn = std::forward<ProjectArnT>(value);
45 }
46 template <typename ProjectArnT = Aws::String>
47 DescribeProjectResult& WithProjectArn(ProjectArnT&& value) {
48 SetProjectArn(std::forward<ProjectArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetProjectName() const { return m_projectName; }
58 template <typename ProjectNameT = Aws::String>
59 void SetProjectName(ProjectNameT&& value) {
60 m_projectNameHasBeenSet = true;
61 m_projectName = std::forward<ProjectNameT>(value);
62 }
63 template <typename ProjectNameT = Aws::String>
64 DescribeProjectResult& WithProjectName(ProjectNameT&& value) {
65 SetProjectName(std::forward<ProjectNameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetProjectId() const { return m_projectId; }
75 template <typename ProjectIdT = Aws::String>
76 void SetProjectId(ProjectIdT&& value) {
77 m_projectIdHasBeenSet = true;
78 m_projectId = std::forward<ProjectIdT>(value);
79 }
80 template <typename ProjectIdT = Aws::String>
81 DescribeProjectResult& WithProjectId(ProjectIdT&& value) {
82 SetProjectId(std::forward<ProjectIdT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetProjectDescription() const { return m_projectDescription; }
92 template <typename ProjectDescriptionT = Aws::String>
93 void SetProjectDescription(ProjectDescriptionT&& value) {
94 m_projectDescriptionHasBeenSet = true;
95 m_projectDescription = std::forward<ProjectDescriptionT>(value);
96 }
97 template <typename ProjectDescriptionT = Aws::String>
98 DescribeProjectResult& WithProjectDescription(ProjectDescriptionT&& value) {
99 SetProjectDescription(std::forward<ProjectDescriptionT>(value));
100 return *this;
101 }
103
105
112 return m_serviceCatalogProvisioningDetails;
113 }
114 template <typename ServiceCatalogProvisioningDetailsT = ServiceCatalogProvisioningDetails>
115 void SetServiceCatalogProvisioningDetails(ServiceCatalogProvisioningDetailsT&& value) {
116 m_serviceCatalogProvisioningDetailsHasBeenSet = true;
117 m_serviceCatalogProvisioningDetails = std::forward<ServiceCatalogProvisioningDetailsT>(value);
118 }
119 template <typename ServiceCatalogProvisioningDetailsT = ServiceCatalogProvisioningDetails>
120 DescribeProjectResult& WithServiceCatalogProvisioningDetails(ServiceCatalogProvisioningDetailsT&& value) {
121 SetServiceCatalogProvisioningDetails(std::forward<ServiceCatalogProvisioningDetailsT>(value));
122 return *this;
123 }
125
127
131 return m_serviceCatalogProvisionedProductDetails;
132 }
133 template <typename ServiceCatalogProvisionedProductDetailsT = ServiceCatalogProvisionedProductDetails>
134 void SetServiceCatalogProvisionedProductDetails(ServiceCatalogProvisionedProductDetailsT&& value) {
135 m_serviceCatalogProvisionedProductDetailsHasBeenSet = true;
136 m_serviceCatalogProvisionedProductDetails = std::forward<ServiceCatalogProvisionedProductDetailsT>(value);
137 }
138 template <typename ServiceCatalogProvisionedProductDetailsT = ServiceCatalogProvisionedProductDetails>
139 DescribeProjectResult& WithServiceCatalogProvisionedProductDetails(ServiceCatalogProvisionedProductDetailsT&& value) {
140 SetServiceCatalogProvisionedProductDetails(std::forward<ServiceCatalogProvisionedProductDetailsT>(value));
141 return *this;
142 }
144
146
149 inline ProjectStatus GetProjectStatus() const { return m_projectStatus; }
150 inline void SetProjectStatus(ProjectStatus value) {
151 m_projectStatusHasBeenSet = true;
152 m_projectStatus = value;
153 }
155 SetProjectStatus(value);
156 return *this;
157 }
159
161
164 inline const Aws::Vector<TemplateProviderDetail>& GetTemplateProviderDetails() const { return m_templateProviderDetails; }
165 template <typename TemplateProviderDetailsT = Aws::Vector<TemplateProviderDetail>>
166 void SetTemplateProviderDetails(TemplateProviderDetailsT&& value) {
167 m_templateProviderDetailsHasBeenSet = true;
168 m_templateProviderDetails = std::forward<TemplateProviderDetailsT>(value);
169 }
170 template <typename TemplateProviderDetailsT = Aws::Vector<TemplateProviderDetail>>
171 DescribeProjectResult& WithTemplateProviderDetails(TemplateProviderDetailsT&& value) {
172 SetTemplateProviderDetails(std::forward<TemplateProviderDetailsT>(value));
173 return *this;
174 }
175 template <typename TemplateProviderDetailsT = TemplateProviderDetail>
176 DescribeProjectResult& AddTemplateProviderDetails(TemplateProviderDetailsT&& value) {
177 m_templateProviderDetailsHasBeenSet = true;
178 m_templateProviderDetails.emplace_back(std::forward<TemplateProviderDetailsT>(value));
179 return *this;
180 }
182
184
185 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
186 template <typename CreatedByT = UserContext>
187 void SetCreatedBy(CreatedByT&& value) {
188 m_createdByHasBeenSet = true;
189 m_createdBy = std::forward<CreatedByT>(value);
190 }
191 template <typename CreatedByT = UserContext>
193 SetCreatedBy(std::forward<CreatedByT>(value));
194 return *this;
195 }
197
199
202 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
203 template <typename CreationTimeT = Aws::Utils::DateTime>
204 void SetCreationTime(CreationTimeT&& value) {
205 m_creationTimeHasBeenSet = true;
206 m_creationTime = std::forward<CreationTimeT>(value);
207 }
208 template <typename CreationTimeT = Aws::Utils::DateTime>
209 DescribeProjectResult& WithCreationTime(CreationTimeT&& value) {
210 SetCreationTime(std::forward<CreationTimeT>(value));
211 return *this;
212 }
214
216
219 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
220 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
221 void SetLastModifiedTime(LastModifiedTimeT&& value) {
222 m_lastModifiedTimeHasBeenSet = true;
223 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
224 }
225 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
226 DescribeProjectResult& WithLastModifiedTime(LastModifiedTimeT&& value) {
227 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
228 return *this;
229 }
231
233
234 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
235 template <typename LastModifiedByT = UserContext>
236 void SetLastModifiedBy(LastModifiedByT&& value) {
237 m_lastModifiedByHasBeenSet = true;
238 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
239 }
240 template <typename LastModifiedByT = UserContext>
241 DescribeProjectResult& WithLastModifiedBy(LastModifiedByT&& value) {
242 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
243 return *this;
244 }
246
248
249 inline const Aws::String& GetRequestId() const { return m_requestId; }
250 template <typename RequestIdT = Aws::String>
251 void SetRequestId(RequestIdT&& value) {
252 m_requestIdHasBeenSet = true;
253 m_requestId = std::forward<RequestIdT>(value);
254 }
255 template <typename RequestIdT = Aws::String>
257 SetRequestId(std::forward<RequestIdT>(value));
258 return *this;
259 }
261 private:
262 Aws::String m_projectArn;
263
264 Aws::String m_projectName;
265
266 Aws::String m_projectId;
267
268 Aws::String m_projectDescription;
269
270 ServiceCatalogProvisioningDetails m_serviceCatalogProvisioningDetails;
271
272 ServiceCatalogProvisionedProductDetails m_serviceCatalogProvisionedProductDetails;
273
274 ProjectStatus m_projectStatus{ProjectStatus::NOT_SET};
275
276 Aws::Vector<TemplateProviderDetail> m_templateProviderDetails;
277
278 UserContext m_createdBy;
279
280 Aws::Utils::DateTime m_creationTime{};
281
282 Aws::Utils::DateTime m_lastModifiedTime{};
283
284 UserContext m_lastModifiedBy;
285
286 Aws::String m_requestId;
287 bool m_projectArnHasBeenSet = false;
288 bool m_projectNameHasBeenSet = false;
289 bool m_projectIdHasBeenSet = false;
290 bool m_projectDescriptionHasBeenSet = false;
291 bool m_serviceCatalogProvisioningDetailsHasBeenSet = false;
292 bool m_serviceCatalogProvisionedProductDetailsHasBeenSet = false;
293 bool m_projectStatusHasBeenSet = false;
294 bool m_templateProviderDetailsHasBeenSet = false;
295 bool m_createdByHasBeenSet = false;
296 bool m_creationTimeHasBeenSet = false;
297 bool m_lastModifiedTimeHasBeenSet = false;
298 bool m_lastModifiedByHasBeenSet = false;
299 bool m_requestIdHasBeenSet = false;
300};
301
302} // namespace Model
303} // namespace SageMaker
304} // 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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue