AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeProjectResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ServiceCatalogProvisioningDetails.h>
10#include <aws/sagemaker/model/ServiceCatalogProvisionedProductDetails.h>
11#include <aws/sagemaker/model/ProjectStatus.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/sagemaker/model/UserContext.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/sagemaker/model/TemplateProviderDetail.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace SageMaker
31{
32namespace Model
33{
35 {
36 public:
37 AWS_SAGEMAKER_API DescribeProjectResult() = default;
40
41
43
46 inline const Aws::String& GetProjectArn() const { return m_projectArn; }
47 template<typename ProjectArnT = Aws::String>
48 void SetProjectArn(ProjectArnT&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::forward<ProjectArnT>(value); }
49 template<typename ProjectArnT = Aws::String>
50 DescribeProjectResult& WithProjectArn(ProjectArnT&& value) { SetProjectArn(std::forward<ProjectArnT>(value)); return *this;}
52
54
57 inline const Aws::String& GetProjectName() const { return m_projectName; }
58 template<typename ProjectNameT = Aws::String>
59 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
60 template<typename ProjectNameT = Aws::String>
61 DescribeProjectResult& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
63
65
68 inline const Aws::String& GetProjectId() const { return m_projectId; }
69 template<typename ProjectIdT = Aws::String>
70 void SetProjectId(ProjectIdT&& value) { m_projectIdHasBeenSet = true; m_projectId = std::forward<ProjectIdT>(value); }
71 template<typename ProjectIdT = Aws::String>
72 DescribeProjectResult& WithProjectId(ProjectIdT&& value) { SetProjectId(std::forward<ProjectIdT>(value)); return *this;}
74
76
79 inline const Aws::String& GetProjectDescription() const { return m_projectDescription; }
80 template<typename ProjectDescriptionT = Aws::String>
81 void SetProjectDescription(ProjectDescriptionT&& value) { m_projectDescriptionHasBeenSet = true; m_projectDescription = std::forward<ProjectDescriptionT>(value); }
82 template<typename ProjectDescriptionT = Aws::String>
83 DescribeProjectResult& WithProjectDescription(ProjectDescriptionT&& value) { SetProjectDescription(std::forward<ProjectDescriptionT>(value)); return *this;}
85
87
93 inline const ServiceCatalogProvisioningDetails& GetServiceCatalogProvisioningDetails() const { return m_serviceCatalogProvisioningDetails; }
94 template<typename ServiceCatalogProvisioningDetailsT = ServiceCatalogProvisioningDetails>
95 void SetServiceCatalogProvisioningDetails(ServiceCatalogProvisioningDetailsT&& value) { m_serviceCatalogProvisioningDetailsHasBeenSet = true; m_serviceCatalogProvisioningDetails = std::forward<ServiceCatalogProvisioningDetailsT>(value); }
96 template<typename ServiceCatalogProvisioningDetailsT = ServiceCatalogProvisioningDetails>
97 DescribeProjectResult& WithServiceCatalogProvisioningDetails(ServiceCatalogProvisioningDetailsT&& value) { SetServiceCatalogProvisioningDetails(std::forward<ServiceCatalogProvisioningDetailsT>(value)); return *this;}
99
101
104 inline const ServiceCatalogProvisionedProductDetails& GetServiceCatalogProvisionedProductDetails() const { return m_serviceCatalogProvisionedProductDetails; }
105 template<typename ServiceCatalogProvisionedProductDetailsT = ServiceCatalogProvisionedProductDetails>
106 void SetServiceCatalogProvisionedProductDetails(ServiceCatalogProvisionedProductDetailsT&& value) { m_serviceCatalogProvisionedProductDetailsHasBeenSet = true; m_serviceCatalogProvisionedProductDetails = std::forward<ServiceCatalogProvisionedProductDetailsT>(value); }
107 template<typename ServiceCatalogProvisionedProductDetailsT = ServiceCatalogProvisionedProductDetails>
108 DescribeProjectResult& WithServiceCatalogProvisionedProductDetails(ServiceCatalogProvisionedProductDetailsT&& value) { SetServiceCatalogProvisionedProductDetails(std::forward<ServiceCatalogProvisionedProductDetailsT>(value)); return *this;}
110
112
115 inline ProjectStatus GetProjectStatus() const { return m_projectStatus; }
116 inline void SetProjectStatus(ProjectStatus value) { m_projectStatusHasBeenSet = true; m_projectStatus = value; }
119
121
124 inline const Aws::Vector<TemplateProviderDetail>& GetTemplateProviderDetails() const { return m_templateProviderDetails; }
125 template<typename TemplateProviderDetailsT = Aws::Vector<TemplateProviderDetail>>
126 void SetTemplateProviderDetails(TemplateProviderDetailsT&& value) { m_templateProviderDetailsHasBeenSet = true; m_templateProviderDetails = std::forward<TemplateProviderDetailsT>(value); }
127 template<typename TemplateProviderDetailsT = Aws::Vector<TemplateProviderDetail>>
128 DescribeProjectResult& WithTemplateProviderDetails(TemplateProviderDetailsT&& value) { SetTemplateProviderDetails(std::forward<TemplateProviderDetailsT>(value)); return *this;}
129 template<typename TemplateProviderDetailsT = TemplateProviderDetail>
130 DescribeProjectResult& AddTemplateProviderDetails(TemplateProviderDetailsT&& value) { m_templateProviderDetailsHasBeenSet = true; m_templateProviderDetails.emplace_back(std::forward<TemplateProviderDetailsT>(value)); return *this; }
132
134
135 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
136 template<typename CreatedByT = UserContext>
137 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
138 template<typename CreatedByT = UserContext>
139 DescribeProjectResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
141
143
146 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
147 template<typename CreationTimeT = Aws::Utils::DateTime>
148 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
149 template<typename CreationTimeT = Aws::Utils::DateTime>
150 DescribeProjectResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
152
154
157 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
158 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
159 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
160 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
161 DescribeProjectResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
163
165
166 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
167 template<typename LastModifiedByT = UserContext>
168 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
169 template<typename LastModifiedByT = UserContext>
170 DescribeProjectResult& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
172
174
175 inline const Aws::String& GetRequestId() const { return m_requestId; }
176 template<typename RequestIdT = Aws::String>
177 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
178 template<typename RequestIdT = Aws::String>
179 DescribeProjectResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
181 private:
182
183 Aws::String m_projectArn;
184 bool m_projectArnHasBeenSet = false;
185
186 Aws::String m_projectName;
187 bool m_projectNameHasBeenSet = false;
188
189 Aws::String m_projectId;
190 bool m_projectIdHasBeenSet = false;
191
192 Aws::String m_projectDescription;
193 bool m_projectDescriptionHasBeenSet = false;
194
195 ServiceCatalogProvisioningDetails m_serviceCatalogProvisioningDetails;
196 bool m_serviceCatalogProvisioningDetailsHasBeenSet = false;
197
198 ServiceCatalogProvisionedProductDetails m_serviceCatalogProvisionedProductDetails;
199 bool m_serviceCatalogProvisionedProductDetailsHasBeenSet = false;
200
201 ProjectStatus m_projectStatus{ProjectStatus::NOT_SET};
202 bool m_projectStatusHasBeenSet = false;
203
204 Aws::Vector<TemplateProviderDetail> m_templateProviderDetails;
205 bool m_templateProviderDetailsHasBeenSet = false;
206
207 UserContext m_createdBy;
208 bool m_createdByHasBeenSet = false;
209
210 Aws::Utils::DateTime m_creationTime{};
211 bool m_creationTimeHasBeenSet = false;
212
213 Aws::Utils::DateTime m_lastModifiedTime{};
214 bool m_lastModifiedTimeHasBeenSet = false;
215
216 UserContext m_lastModifiedBy;
217 bool m_lastModifiedByHasBeenSet = false;
218
219 Aws::String m_requestId;
220 bool m_requestIdHasBeenSet = false;
221 };
222
223} // namespace Model
224} // namespace SageMaker
225} // 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