AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Project.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/sagemaker/model/UserContext.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/sagemaker/model/TemplateProviderDetail.h>
16#include <aws/sagemaker/model/Tag.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace SageMaker
30{
31namespace Model
32{
33
40 class Project
41 {
42 public:
43 AWS_SAGEMAKER_API Project() = default;
44 AWS_SAGEMAKER_API Project(Aws::Utils::Json::JsonView jsonValue);
45 AWS_SAGEMAKER_API Project& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const Aws::String& GetProjectArn() const { return m_projectArn; }
54 inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
55 template<typename ProjectArnT = Aws::String>
56 void SetProjectArn(ProjectArnT&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::forward<ProjectArnT>(value); }
57 template<typename ProjectArnT = Aws::String>
58 Project& WithProjectArn(ProjectArnT&& value) { SetProjectArn(std::forward<ProjectArnT>(value)); return *this;}
60
62
65 inline const Aws::String& GetProjectName() const { return m_projectName; }
66 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
67 template<typename ProjectNameT = Aws::String>
68 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
69 template<typename ProjectNameT = Aws::String>
70 Project& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
72
74
77 inline const Aws::String& GetProjectId() const { return m_projectId; }
78 inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; }
79 template<typename ProjectIdT = Aws::String>
80 void SetProjectId(ProjectIdT&& value) { m_projectIdHasBeenSet = true; m_projectId = std::forward<ProjectIdT>(value); }
81 template<typename ProjectIdT = Aws::String>
82 Project& WithProjectId(ProjectIdT&& value) { SetProjectId(std::forward<ProjectIdT>(value)); return *this;}
84
86
89 inline const Aws::String& GetProjectDescription() const { return m_projectDescription; }
90 inline bool ProjectDescriptionHasBeenSet() const { return m_projectDescriptionHasBeenSet; }
91 template<typename ProjectDescriptionT = Aws::String>
92 void SetProjectDescription(ProjectDescriptionT&& value) { m_projectDescriptionHasBeenSet = true; m_projectDescription = std::forward<ProjectDescriptionT>(value); }
93 template<typename ProjectDescriptionT = Aws::String>
94 Project& WithProjectDescription(ProjectDescriptionT&& value) { SetProjectDescription(std::forward<ProjectDescriptionT>(value)); return *this;}
96
98
99 inline const ServiceCatalogProvisioningDetails& GetServiceCatalogProvisioningDetails() const { return m_serviceCatalogProvisioningDetails; }
100 inline bool ServiceCatalogProvisioningDetailsHasBeenSet() const { return m_serviceCatalogProvisioningDetailsHasBeenSet; }
101 template<typename ServiceCatalogProvisioningDetailsT = ServiceCatalogProvisioningDetails>
102 void SetServiceCatalogProvisioningDetails(ServiceCatalogProvisioningDetailsT&& value) { m_serviceCatalogProvisioningDetailsHasBeenSet = true; m_serviceCatalogProvisioningDetails = std::forward<ServiceCatalogProvisioningDetailsT>(value); }
103 template<typename ServiceCatalogProvisioningDetailsT = ServiceCatalogProvisioningDetails>
104 Project& WithServiceCatalogProvisioningDetails(ServiceCatalogProvisioningDetailsT&& value) { SetServiceCatalogProvisioningDetails(std::forward<ServiceCatalogProvisioningDetailsT>(value)); return *this;}
106
108
109 inline const ServiceCatalogProvisionedProductDetails& GetServiceCatalogProvisionedProductDetails() const { return m_serviceCatalogProvisionedProductDetails; }
110 inline bool ServiceCatalogProvisionedProductDetailsHasBeenSet() const { return m_serviceCatalogProvisionedProductDetailsHasBeenSet; }
111 template<typename ServiceCatalogProvisionedProductDetailsT = ServiceCatalogProvisionedProductDetails>
112 void SetServiceCatalogProvisionedProductDetails(ServiceCatalogProvisionedProductDetailsT&& value) { m_serviceCatalogProvisionedProductDetailsHasBeenSet = true; m_serviceCatalogProvisionedProductDetails = std::forward<ServiceCatalogProvisionedProductDetailsT>(value); }
113 template<typename ServiceCatalogProvisionedProductDetailsT = ServiceCatalogProvisionedProductDetails>
114 Project& WithServiceCatalogProvisionedProductDetails(ServiceCatalogProvisionedProductDetailsT&& value) { SetServiceCatalogProvisionedProductDetails(std::forward<ServiceCatalogProvisionedProductDetailsT>(value)); return *this;}
116
118
121 inline ProjectStatus GetProjectStatus() const { return m_projectStatus; }
122 inline bool ProjectStatusHasBeenSet() const { return m_projectStatusHasBeenSet; }
123 inline void SetProjectStatus(ProjectStatus value) { m_projectStatusHasBeenSet = true; m_projectStatus = value; }
124 inline Project& WithProjectStatus(ProjectStatus value) { SetProjectStatus(value); return *this;}
126
128
131 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
132 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
133 template<typename CreatedByT = UserContext>
134 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
135 template<typename CreatedByT = UserContext>
136 Project& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
138
140
143 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
144 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
145 template<typename CreationTimeT = Aws::Utils::DateTime>
146 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
147 template<typename CreationTimeT = Aws::Utils::DateTime>
148 Project& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
150
152
155 inline const Aws::Vector<TemplateProviderDetail>& GetTemplateProviderDetails() const { return m_templateProviderDetails; }
156 inline bool TemplateProviderDetailsHasBeenSet() const { return m_templateProviderDetailsHasBeenSet; }
157 template<typename TemplateProviderDetailsT = Aws::Vector<TemplateProviderDetail>>
158 void SetTemplateProviderDetails(TemplateProviderDetailsT&& value) { m_templateProviderDetailsHasBeenSet = true; m_templateProviderDetails = std::forward<TemplateProviderDetailsT>(value); }
159 template<typename TemplateProviderDetailsT = Aws::Vector<TemplateProviderDetail>>
160 Project& WithTemplateProviderDetails(TemplateProviderDetailsT&& value) { SetTemplateProviderDetails(std::forward<TemplateProviderDetailsT>(value)); return *this;}
161 template<typename TemplateProviderDetailsT = TemplateProviderDetail>
162 Project& AddTemplateProviderDetails(TemplateProviderDetailsT&& value) { m_templateProviderDetailsHasBeenSet = true; m_templateProviderDetails.emplace_back(std::forward<TemplateProviderDetailsT>(value)); return *this; }
164
166
173 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
174 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
175 template<typename TagsT = Aws::Vector<Tag>>
176 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
177 template<typename TagsT = Aws::Vector<Tag>>
178 Project& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
179 template<typename TagsT = Tag>
180 Project& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
182
184
187 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
188 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
189 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
190 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
191 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
192 Project& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
194
196
197 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
198 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
199 template<typename LastModifiedByT = UserContext>
200 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
201 template<typename LastModifiedByT = UserContext>
202 Project& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
204 private:
205
206 Aws::String m_projectArn;
207 bool m_projectArnHasBeenSet = false;
208
209 Aws::String m_projectName;
210 bool m_projectNameHasBeenSet = false;
211
212 Aws::String m_projectId;
213 bool m_projectIdHasBeenSet = false;
214
215 Aws::String m_projectDescription;
216 bool m_projectDescriptionHasBeenSet = false;
217
218 ServiceCatalogProvisioningDetails m_serviceCatalogProvisioningDetails;
219 bool m_serviceCatalogProvisioningDetailsHasBeenSet = false;
220
221 ServiceCatalogProvisionedProductDetails m_serviceCatalogProvisionedProductDetails;
222 bool m_serviceCatalogProvisionedProductDetailsHasBeenSet = false;
223
224 ProjectStatus m_projectStatus{ProjectStatus::NOT_SET};
225 bool m_projectStatusHasBeenSet = false;
226
227 UserContext m_createdBy;
228 bool m_createdByHasBeenSet = false;
229
230 Aws::Utils::DateTime m_creationTime{};
231 bool m_creationTimeHasBeenSet = false;
232
233 Aws::Vector<TemplateProviderDetail> m_templateProviderDetails;
234 bool m_templateProviderDetailsHasBeenSet = false;
235
236 Aws::Vector<Tag> m_tags;
237 bool m_tagsHasBeenSet = false;
238
239 Aws::Utils::DateTime m_lastModifiedTime{};
240 bool m_lastModifiedTimeHasBeenSet = false;
241
242 UserContext m_lastModifiedBy;
243 bool m_lastModifiedByHasBeenSet = false;
244 };
245
246} // namespace Model
247} // namespace SageMaker
248} // namespace Aws
bool ServiceCatalogProvisionedProductDetailsHasBeenSet() const
Definition Project.h:110
Project & WithTemplateProviderDetails(TemplateProviderDetailsT &&value)
Definition Project.h:160
Project & WithServiceCatalogProvisioningDetails(ServiceCatalogProvisioningDetailsT &&value)
Definition Project.h:104
const Aws::String & GetProjectDescription() const
Definition Project.h:89
bool CreatedByHasBeenSet() const
Definition Project.h:132
const Aws::Vector< Tag > & GetTags() const
Definition Project.h:173
const Aws::String & GetProjectId() const
Definition Project.h:77
Project & WithProjectStatus(ProjectStatus value)
Definition Project.h:124
bool ProjectStatusHasBeenSet() const
Definition Project.h:122
Project & AddTemplateProviderDetails(TemplateProviderDetailsT &&value)
Definition Project.h:162
bool ProjectArnHasBeenSet() const
Definition Project.h:54
bool ProjectDescriptionHasBeenSet() const
Definition Project.h:90
Project & WithCreationTime(CreationTimeT &&value)
Definition Project.h:148
const ServiceCatalogProvisionedProductDetails & GetServiceCatalogProvisionedProductDetails() const
Definition Project.h:109
const ServiceCatalogProvisioningDetails & GetServiceCatalogProvisioningDetails() const
Definition Project.h:99
void SetCreatedBy(CreatedByT &&value)
Definition Project.h:134
AWS_SAGEMAKER_API Project(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedBy(LastModifiedByT &&value)
Definition Project.h:200
void SetProjectDescription(ProjectDescriptionT &&value)
Definition Project.h:92
AWS_SAGEMAKER_API Project & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTags(TagsT &&value)
Definition Project.h:176
Project & WithProjectDescription(ProjectDescriptionT &&value)
Definition Project.h:94
Project & WithServiceCatalogProvisionedProductDetails(ServiceCatalogProvisionedProductDetailsT &&value)
Definition Project.h:114
void SetCreationTime(CreationTimeT &&value)
Definition Project.h:146
Project & WithProjectName(ProjectNameT &&value)
Definition Project.h:70
void SetProjectName(ProjectNameT &&value)
Definition Project.h:68
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition Project.h:187
const Aws::Vector< TemplateProviderDetail > & GetTemplateProviderDetails() const
Definition Project.h:155
AWS_SAGEMAKER_API Project()=default
bool LastModifiedTimeHasBeenSet() const
Definition Project.h:188
void SetTemplateProviderDetails(TemplateProviderDetailsT &&value)
Definition Project.h:158
Project & WithTags(TagsT &&value)
Definition Project.h:178
void SetServiceCatalogProvisioningDetails(ServiceCatalogProvisioningDetailsT &&value)
Definition Project.h:102
void SetProjectId(ProjectIdT &&value)
Definition Project.h:80
void SetLastModifiedTime(LastModifiedTimeT &&value)
Definition Project.h:190
Project & WithLastModifiedTime(LastModifiedTimeT &&value)
Definition Project.h:192
ProjectStatus GetProjectStatus() const
Definition Project.h:121
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Project & WithCreatedBy(CreatedByT &&value)
Definition Project.h:136
const Aws::String & GetProjectArn() const
Definition Project.h:53
const UserContext & GetLastModifiedBy() const
Definition Project.h:197
bool CreationTimeHasBeenSet() const
Definition Project.h:144
const Aws::Utils::DateTime & GetCreationTime() const
Definition Project.h:143
void SetProjectStatus(ProjectStatus value)
Definition Project.h:123
bool LastModifiedByHasBeenSet() const
Definition Project.h:198
void SetProjectArn(ProjectArnT &&value)
Definition Project.h:56
bool ProjectNameHasBeenSet() const
Definition Project.h:66
bool ServiceCatalogProvisioningDetailsHasBeenSet() const
Definition Project.h:100
Project & WithProjectArn(ProjectArnT &&value)
Definition Project.h:58
const UserContext & GetCreatedBy() const
Definition Project.h:131
void SetServiceCatalogProvisionedProductDetails(ServiceCatalogProvisionedProductDetailsT &&value)
Definition Project.h:112
Project & AddTags(TagsT &&value)
Definition Project.h:180
bool ProjectIdHasBeenSet() const
Definition Project.h:78
bool TemplateProviderDetailsHasBeenSet() const
Definition Project.h:156
Project & WithLastModifiedBy(LastModifiedByT &&value)
Definition Project.h:202
Project & WithProjectId(ProjectIdT &&value)
Definition Project.h:82
const Aws::String & GetProjectName() const
Definition Project.h:65
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue