AWS SDK for C++  1.9.129
AWS SDK for C++
CreateProjectRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace SageMaker
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "CreateProject"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetProjectName() const{ return m_projectName; }
44 
48  inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
49 
53  inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
54 
58  inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
59 
63  inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
64 
68  inline CreateProjectRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
69 
73  inline CreateProjectRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
74 
78  inline CreateProjectRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
79 
80 
84  inline const Aws::String& GetProjectDescription() const{ return m_projectDescription; }
85 
89  inline bool ProjectDescriptionHasBeenSet() const { return m_projectDescriptionHasBeenSet; }
90 
94  inline void SetProjectDescription(const Aws::String& value) { m_projectDescriptionHasBeenSet = true; m_projectDescription = value; }
95 
99  inline void SetProjectDescription(Aws::String&& value) { m_projectDescriptionHasBeenSet = true; m_projectDescription = std::move(value); }
100 
104  inline void SetProjectDescription(const char* value) { m_projectDescriptionHasBeenSet = true; m_projectDescription.assign(value); }
105 
109  inline CreateProjectRequest& WithProjectDescription(const Aws::String& value) { SetProjectDescription(value); return *this;}
110 
114  inline CreateProjectRequest& WithProjectDescription(Aws::String&& value) { SetProjectDescription(std::move(value)); return *this;}
115 
119  inline CreateProjectRequest& WithProjectDescription(const char* value) { SetProjectDescription(value); return *this;}
120 
121 
130  inline const ServiceCatalogProvisioningDetails& GetServiceCatalogProvisioningDetails() const{ return m_serviceCatalogProvisioningDetails; }
131 
140  inline bool ServiceCatalogProvisioningDetailsHasBeenSet() const { return m_serviceCatalogProvisioningDetailsHasBeenSet; }
141 
150  inline void SetServiceCatalogProvisioningDetails(const ServiceCatalogProvisioningDetails& value) { m_serviceCatalogProvisioningDetailsHasBeenSet = true; m_serviceCatalogProvisioningDetails = value; }
151 
160  inline void SetServiceCatalogProvisioningDetails(ServiceCatalogProvisioningDetails&& value) { m_serviceCatalogProvisioningDetailsHasBeenSet = true; m_serviceCatalogProvisioningDetails = std::move(value); }
161 
170  inline CreateProjectRequest& WithServiceCatalogProvisioningDetails(const ServiceCatalogProvisioningDetails& value) { SetServiceCatalogProvisioningDetails(value); return *this;}
171 
180  inline CreateProjectRequest& WithServiceCatalogProvisioningDetails(ServiceCatalogProvisioningDetails&& value) { SetServiceCatalogProvisioningDetails(std::move(value)); return *this;}
181 
182 
190  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
191 
199  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
200 
208  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
209 
217  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
218 
226  inline CreateProjectRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
227 
235  inline CreateProjectRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
236 
244  inline CreateProjectRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
245 
253  inline CreateProjectRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
254 
255  private:
256 
257  Aws::String m_projectName;
258  bool m_projectNameHasBeenSet;
259 
260  Aws::String m_projectDescription;
261  bool m_projectDescriptionHasBeenSet;
262 
263  ServiceCatalogProvisioningDetails m_serviceCatalogProvisioningDetails;
264  bool m_serviceCatalogProvisioningDetailsHasBeenSet;
265 
266  Aws::Vector<Tag> m_tags;
267  bool m_tagsHasBeenSet;
268  };
269 
270 } // namespace Model
271 } // namespace SageMaker
272 } // namespace Aws
Aws::SageMaker::Model::Tag
Definition: Tag.h:44
Aws::SageMaker::Model::CreateProjectRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateProjectRequest.h:33
Aws::SageMaker::Model::CreateProjectRequest::GetServiceCatalogProvisioningDetails
const ServiceCatalogProvisioningDetails & GetServiceCatalogProvisioningDetails() const
Definition: CreateProjectRequest.h:130
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::CreateProjectRequest::WithProjectDescription
CreateProjectRequest & WithProjectDescription(const Aws::String &value)
Definition: CreateProjectRequest.h:109
Aws::SageMaker::Model::CreateProjectRequest::SetServiceCatalogProvisioningDetails
void SetServiceCatalogProvisioningDetails(ServiceCatalogProvisioningDetails &&value)
Definition: CreateProjectRequest.h:160
SageMaker_EXPORTS.h
ServiceCatalogProvisioningDetails.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::CreateProjectRequest::SetProjectName
void SetProjectName(const Aws::String &value)
Definition: CreateProjectRequest.h:53
Aws::SageMaker::Model::CreateProjectRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateProjectRequest.h:190
Aws::SageMaker::Model::CreateProjectRequest::ProjectDescriptionHasBeenSet
bool ProjectDescriptionHasBeenSet() const
Definition: CreateProjectRequest.h:89
Aws::SageMaker::Model::CreateProjectRequest::SetProjectName
void SetProjectName(Aws::String &&value)
Definition: CreateProjectRequest.h:58
Aws::SageMaker::Model::CreateProjectRequest::WithProjectName
CreateProjectRequest & WithProjectName(Aws::String &&value)
Definition: CreateProjectRequest.h:73
Aws::SageMaker::Model::CreateProjectRequest::AddTags
CreateProjectRequest & AddTags(const Tag &value)
Definition: CreateProjectRequest.h:244
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SageMaker::Model::CreateProjectRequest::WithTags
CreateProjectRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateProjectRequest.h:235
Aws::SageMaker::Model::CreateProjectRequest::WithTags
CreateProjectRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateProjectRequest.h:226
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::CreateProjectRequest::ProjectNameHasBeenSet
bool ProjectNameHasBeenSet() const
Definition: CreateProjectRequest.h:48
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::CreateProjectRequest::WithProjectDescription
CreateProjectRequest & WithProjectDescription(Aws::String &&value)
Definition: CreateProjectRequest.h:114
Aws::SageMaker::Model::CreateProjectRequest::SetProjectDescription
void SetProjectDescription(const Aws::String &value)
Definition: CreateProjectRequest.h:94
Aws::SageMaker::Model::CreateProjectRequest::WithProjectName
CreateProjectRequest & WithProjectName(const Aws::String &value)
Definition: CreateProjectRequest.h:68
Aws::SageMaker::Model::CreateProjectRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::CreateProjectRequest::GetProjectDescription
const Aws::String & GetProjectDescription() const
Definition: CreateProjectRequest.h:84
Aws::SageMaker::Model::CreateProjectRequest::AddTags
CreateProjectRequest & AddTags(Tag &&value)
Definition: CreateProjectRequest.h:253
Aws::SageMaker::Model::CreateProjectRequest::SetProjectName
void SetProjectName(const char *value)
Definition: CreateProjectRequest.h:63
AWSString.h
Aws::SageMaker::Model::CreateProjectRequest::SerializePayload
Aws::String SerializePayload() const override
Tag.h
Aws::SageMaker::Model::CreateProjectRequest::WithServiceCatalogProvisioningDetails
CreateProjectRequest & WithServiceCatalogProvisioningDetails(const ServiceCatalogProvisioningDetails &value)
Definition: CreateProjectRequest.h:170
Aws::SageMaker::Model::CreateProjectRequest::GetProjectName
const Aws::String & GetProjectName() const
Definition: CreateProjectRequest.h:43
Aws::SageMaker::Model::CreateProjectRequest::WithProjectDescription
CreateProjectRequest & WithProjectDescription(const char *value)
Definition: CreateProjectRequest.h:119
Aws::SageMaker::Model::CreateProjectRequest
Definition: CreateProjectRequest.h:25
Aws::SageMaker::Model::CreateProjectRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateProjectRequest.h:208
Aws::SageMaker::Model::CreateProjectRequest::SetProjectDescription
void SetProjectDescription(Aws::String &&value)
Definition: CreateProjectRequest.h:99
Aws::SageMaker::Model::CreateProjectRequest::CreateProjectRequest
CreateProjectRequest()
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::SageMaker::Model::CreateProjectRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateProjectRequest.h:199
Aws::SageMaker::Model::CreateProjectRequest::SetProjectDescription
void SetProjectDescription(const char *value)
Definition: CreateProjectRequest.h:104
Aws::SageMaker::Model::ServiceCatalogProvisioningDetails
Definition: ServiceCatalogProvisioningDetails.h:37
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CreateProjectRequest::ServiceCatalogProvisioningDetailsHasBeenSet
bool ServiceCatalogProvisioningDetailsHasBeenSet() const
Definition: CreateProjectRequest.h:140
Aws::SageMaker::Model::CreateProjectRequest::SetServiceCatalogProvisioningDetails
void SetServiceCatalogProvisioningDetails(const ServiceCatalogProvisioningDetails &value)
Definition: CreateProjectRequest.h:150
Aws::SageMaker::Model::CreateProjectRequest::WithProjectName
CreateProjectRequest & WithProjectName(const char *value)
Definition: CreateProjectRequest.h:78
Aws::SageMaker::Model::CreateProjectRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateProjectRequest.h:217
Aws::SageMaker::Model::CreateProjectRequest::WithServiceCatalogProvisioningDetails
CreateProjectRequest & WithServiceCatalogProvisioningDetails(ServiceCatalogProvisioningDetails &&value)
Definition: CreateProjectRequest.h:180