AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/Tag.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace SageMaker
29{
30namespace Model
31{
32
39 class Project
40 {
41 public:
42 AWS_SAGEMAKER_API Project();
43 AWS_SAGEMAKER_API Project(Aws::Utils::Json::JsonView jsonValue);
44 AWS_SAGEMAKER_API Project& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetProjectArn() const{ return m_projectArn; }
53 inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
54 inline void SetProjectArn(const Aws::String& value) { m_projectArnHasBeenSet = true; m_projectArn = value; }
55 inline void SetProjectArn(Aws::String&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::move(value); }
56 inline void SetProjectArn(const char* value) { m_projectArnHasBeenSet = true; m_projectArn.assign(value); }
57 inline Project& WithProjectArn(const Aws::String& value) { SetProjectArn(value); return *this;}
58 inline Project& WithProjectArn(Aws::String&& value) { SetProjectArn(std::move(value)); return *this;}
59 inline Project& WithProjectArn(const char* value) { SetProjectArn(value); return *this;}
61
63
66 inline const Aws::String& GetProjectName() const{ return m_projectName; }
67 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
68 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
69 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
70 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
71 inline Project& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
72 inline Project& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
73 inline Project& WithProjectName(const char* value) { SetProjectName(value); return *this;}
75
77
80 inline const Aws::String& GetProjectId() const{ return m_projectId; }
81 inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; }
82 inline void SetProjectId(const Aws::String& value) { m_projectIdHasBeenSet = true; m_projectId = value; }
83 inline void SetProjectId(Aws::String&& value) { m_projectIdHasBeenSet = true; m_projectId = std::move(value); }
84 inline void SetProjectId(const char* value) { m_projectIdHasBeenSet = true; m_projectId.assign(value); }
85 inline Project& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
86 inline Project& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
87 inline Project& WithProjectId(const char* value) { SetProjectId(value); return *this;}
89
91
94 inline const Aws::String& GetProjectDescription() const{ return m_projectDescription; }
95 inline bool ProjectDescriptionHasBeenSet() const { return m_projectDescriptionHasBeenSet; }
96 inline void SetProjectDescription(const Aws::String& value) { m_projectDescriptionHasBeenSet = true; m_projectDescription = value; }
97 inline void SetProjectDescription(Aws::String&& value) { m_projectDescriptionHasBeenSet = true; m_projectDescription = std::move(value); }
98 inline void SetProjectDescription(const char* value) { m_projectDescriptionHasBeenSet = true; m_projectDescription.assign(value); }
99 inline Project& WithProjectDescription(const Aws::String& value) { SetProjectDescription(value); return *this;}
100 inline Project& WithProjectDescription(Aws::String&& value) { SetProjectDescription(std::move(value)); return *this;}
101 inline Project& WithProjectDescription(const char* value) { SetProjectDescription(value); return *this;}
103
105
106 inline const ServiceCatalogProvisioningDetails& GetServiceCatalogProvisioningDetails() const{ return m_serviceCatalogProvisioningDetails; }
107 inline bool ServiceCatalogProvisioningDetailsHasBeenSet() const { return m_serviceCatalogProvisioningDetailsHasBeenSet; }
108 inline void SetServiceCatalogProvisioningDetails(const ServiceCatalogProvisioningDetails& value) { m_serviceCatalogProvisioningDetailsHasBeenSet = true; m_serviceCatalogProvisioningDetails = value; }
109 inline void SetServiceCatalogProvisioningDetails(ServiceCatalogProvisioningDetails&& value) { m_serviceCatalogProvisioningDetailsHasBeenSet = true; m_serviceCatalogProvisioningDetails = std::move(value); }
113
115
116 inline const ServiceCatalogProvisionedProductDetails& GetServiceCatalogProvisionedProductDetails() const{ return m_serviceCatalogProvisionedProductDetails; }
117 inline bool ServiceCatalogProvisionedProductDetailsHasBeenSet() const { return m_serviceCatalogProvisionedProductDetailsHasBeenSet; }
118 inline void SetServiceCatalogProvisionedProductDetails(const ServiceCatalogProvisionedProductDetails& value) { m_serviceCatalogProvisionedProductDetailsHasBeenSet = true; m_serviceCatalogProvisionedProductDetails = value; }
119 inline void SetServiceCatalogProvisionedProductDetails(ServiceCatalogProvisionedProductDetails&& value) { m_serviceCatalogProvisionedProductDetailsHasBeenSet = true; m_serviceCatalogProvisionedProductDetails = std::move(value); }
123
125
128 inline const ProjectStatus& GetProjectStatus() const{ return m_projectStatus; }
129 inline bool ProjectStatusHasBeenSet() const { return m_projectStatusHasBeenSet; }
130 inline void SetProjectStatus(const ProjectStatus& value) { m_projectStatusHasBeenSet = true; m_projectStatus = value; }
131 inline void SetProjectStatus(ProjectStatus&& value) { m_projectStatusHasBeenSet = true; m_projectStatus = std::move(value); }
132 inline Project& WithProjectStatus(const ProjectStatus& value) { SetProjectStatus(value); return *this;}
133 inline Project& WithProjectStatus(ProjectStatus&& value) { SetProjectStatus(std::move(value)); return *this;}
135
137
140 inline const UserContext& GetCreatedBy() const{ return m_createdBy; }
141 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
142 inline void SetCreatedBy(const UserContext& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
143 inline void SetCreatedBy(UserContext&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
144 inline Project& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;}
145 inline Project& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;}
147
149
152 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
153 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
154 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
155 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
156 inline Project& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
157 inline Project& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
159
161
168 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
169 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
170 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
171 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
172 inline Project& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
173 inline Project& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
174 inline Project& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
175 inline Project& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
177
179
182 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
183 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
184 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
185 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
186 inline Project& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
187 inline Project& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
189
191
192 inline const UserContext& GetLastModifiedBy() const{ return m_lastModifiedBy; }
193 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
194 inline void SetLastModifiedBy(const UserContext& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
195 inline void SetLastModifiedBy(UserContext&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
196 inline Project& WithLastModifiedBy(const UserContext& value) { SetLastModifiedBy(value); return *this;}
197 inline Project& WithLastModifiedBy(UserContext&& value) { SetLastModifiedBy(std::move(value)); return *this;}
199 private:
200
201 Aws::String m_projectArn;
202 bool m_projectArnHasBeenSet = false;
203
204 Aws::String m_projectName;
205 bool m_projectNameHasBeenSet = false;
206
207 Aws::String m_projectId;
208 bool m_projectIdHasBeenSet = false;
209
210 Aws::String m_projectDescription;
211 bool m_projectDescriptionHasBeenSet = false;
212
213 ServiceCatalogProvisioningDetails m_serviceCatalogProvisioningDetails;
214 bool m_serviceCatalogProvisioningDetailsHasBeenSet = false;
215
216 ServiceCatalogProvisionedProductDetails m_serviceCatalogProvisionedProductDetails;
217 bool m_serviceCatalogProvisionedProductDetailsHasBeenSet = false;
218
219 ProjectStatus m_projectStatus;
220 bool m_projectStatusHasBeenSet = false;
221
222 UserContext m_createdBy;
223 bool m_createdByHasBeenSet = false;
224
225 Aws::Utils::DateTime m_creationTime;
226 bool m_creationTimeHasBeenSet = false;
227
228 Aws::Vector<Tag> m_tags;
229 bool m_tagsHasBeenSet = false;
230
231 Aws::Utils::DateTime m_lastModifiedTime;
232 bool m_lastModifiedTimeHasBeenSet = false;
233
234 UserContext m_lastModifiedBy;
235 bool m_lastModifiedByHasBeenSet = false;
236 };
237
238} // namespace Model
239} // namespace SageMaker
240} // namespace Aws
Project & WithCreatedBy(UserContext &&value)
Definition Project.h:145
bool ServiceCatalogProvisionedProductDetailsHasBeenSet() const
Definition Project.h:117
void SetProjectDescription(Aws::String &&value)
Definition Project.h:97
const Aws::String & GetProjectDescription() const
Definition Project.h:94
bool CreatedByHasBeenSet() const
Definition Project.h:141
const Aws::Vector< Tag > & GetTags() const
Definition Project.h:168
const Aws::String & GetProjectId() const
Definition Project.h:80
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition Project.h:155
Project & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition Project.h:187
Project & WithProjectStatus(const ProjectStatus &value)
Definition Project.h:132
bool ProjectStatusHasBeenSet() const
Definition Project.h:129
bool ProjectArnHasBeenSet() const
Definition Project.h:53
Project & WithLastModifiedBy(UserContext &&value)
Definition Project.h:197
Project & WithProjectId(Aws::String &&value)
Definition Project.h:86
Project & WithProjectDescription(const char *value)
Definition Project.h:101
bool ProjectDescriptionHasBeenSet() const
Definition Project.h:95
void SetCreatedBy(const UserContext &value)
Definition Project.h:142
const ServiceCatalogProvisionedProductDetails & GetServiceCatalogProvisionedProductDetails() const
Definition Project.h:116
void SetProjectArn(const char *value)
Definition Project.h:56
Project & WithTags(Aws::Vector< Tag > &&value)
Definition Project.h:173
Project & WithProjectDescription(Aws::String &&value)
Definition Project.h:100
Project & WithServiceCatalogProvisionedProductDetails(ServiceCatalogProvisionedProductDetails &&value)
Definition Project.h:121
Project & WithProjectName(Aws::String &&value)
Definition Project.h:72
void SetServiceCatalogProvisionedProductDetails(const ServiceCatalogProvisionedProductDetails &value)
Definition Project.h:118
const ServiceCatalogProvisioningDetails & GetServiceCatalogProvisioningDetails() const
Definition Project.h:106
Project & WithServiceCatalogProvisioningDetails(ServiceCatalogProvisioningDetails &&value)
Definition Project.h:111
Project & WithProjectArn(Aws::String &&value)
Definition Project.h:58
AWS_SAGEMAKER_API Project(Aws::Utils::Json::JsonView jsonValue)
void SetProjectName(const char *value)
Definition Project.h:70
Project & WithCreationTime(Aws::Utils::DateTime &&value)
Definition Project.h:157
void SetProjectId(const char *value)
Definition Project.h:84
void SetProjectName(Aws::String &&value)
Definition Project.h:69
AWS_SAGEMAKER_API Project & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedBy(const UserContext &value)
Definition Project.h:194
void SetProjectStatus(const ProjectStatus &value)
Definition Project.h:130
Project & WithProjectArn(const Aws::String &value)
Definition Project.h:57
Project & WithCreationTime(const Aws::Utils::DateTime &value)
Definition Project.h:156
void SetProjectId(Aws::String &&value)
Definition Project.h:83
void SetProjectId(const Aws::String &value)
Definition Project.h:82
void SetProjectStatus(ProjectStatus &&value)
Definition Project.h:131
void SetProjectName(const Aws::String &value)
Definition Project.h:68
Project & WithProjectName(const Aws::String &value)
Definition Project.h:71
void SetServiceCatalogProvisionedProductDetails(ServiceCatalogProvisionedProductDetails &&value)
Definition Project.h:119
Project & WithCreatedBy(const UserContext &value)
Definition Project.h:144
Project & WithServiceCatalogProvisioningDetails(const ServiceCatalogProvisioningDetails &value)
Definition Project.h:110
void SetProjectArn(Aws::String &&value)
Definition Project.h:55
Project & AddTags(const Tag &value)
Definition Project.h:174
Project & WithProjectStatus(ProjectStatus &&value)
Definition Project.h:133
Project & AddTags(Tag &&value)
Definition Project.h:175
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition Project.h:182
void SetProjectDescription(const char *value)
Definition Project.h:98
Project & WithServiceCatalogProvisionedProductDetails(const ServiceCatalogProvisionedProductDetails &value)
Definition Project.h:120
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition Project.h:185
void SetLastModifiedBy(UserContext &&value)
Definition Project.h:195
bool LastModifiedTimeHasBeenSet() const
Definition Project.h:183
void SetProjectDescription(const Aws::String &value)
Definition Project.h:96
Project & WithProjectId(const char *value)
Definition Project.h:87
Project & WithProjectId(const Aws::String &value)
Definition Project.h:85
Project & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition Project.h:186
AWS_SAGEMAKER_API Project()
Project & WithLastModifiedBy(const UserContext &value)
Definition Project.h:196
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition Project.h:154
void SetServiceCatalogProvisioningDetails(ServiceCatalogProvisioningDetails &&value)
Definition Project.h:109
void SetTags(const Aws::Vector< Tag > &value)
Definition Project.h:170
void SetProjectArn(const Aws::String &value)
Definition Project.h:54
Project & WithProjectArn(const char *value)
Definition Project.h:59
Project & WithTags(const Aws::Vector< Tag > &value)
Definition Project.h:172
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetServiceCatalogProvisioningDetails(const ServiceCatalogProvisioningDetails &value)
Definition Project.h:108
void SetCreatedBy(UserContext &&value)
Definition Project.h:143
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition Project.h:184
const Aws::String & GetProjectArn() const
Definition Project.h:52
const UserContext & GetLastModifiedBy() const
Definition Project.h:192
bool CreationTimeHasBeenSet() const
Definition Project.h:153
const Aws::Utils::DateTime & GetCreationTime() const
Definition Project.h:152
bool LastModifiedByHasBeenSet() const
Definition Project.h:193
Project & WithProjectName(const char *value)
Definition Project.h:73
bool ProjectNameHasBeenSet() const
Definition Project.h:67
bool ServiceCatalogProvisioningDetailsHasBeenSet() const
Definition Project.h:107
const UserContext & GetCreatedBy() const
Definition Project.h:140
void SetTags(Aws::Vector< Tag > &&value)
Definition Project.h:171
Project & WithProjectDescription(const Aws::String &value)
Definition Project.h:99
bool ProjectIdHasBeenSet() const
Definition Project.h:81
const ProjectStatus & GetProjectStatus() const
Definition Project.h:128
const Aws::String & GetProjectName() const
Definition Project.h:66
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue