AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateProjectRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/ServiceCatalogProvisioningUpdateDetails.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SageMaker
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_SAGEMAKER_API UpdateProjectRequest();
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 "UpdateProject"; }
34
35 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetProjectName() const{ return m_projectName; }
45 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
46 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
47 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
48 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
49 inline UpdateProjectRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
50 inline UpdateProjectRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
51 inline UpdateProjectRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
53
55
58 inline const Aws::String& GetProjectDescription() const{ return m_projectDescription; }
59 inline bool ProjectDescriptionHasBeenSet() const { return m_projectDescriptionHasBeenSet; }
60 inline void SetProjectDescription(const Aws::String& value) { m_projectDescriptionHasBeenSet = true; m_projectDescription = value; }
61 inline void SetProjectDescription(Aws::String&& value) { m_projectDescriptionHasBeenSet = true; m_projectDescription = std::move(value); }
62 inline void SetProjectDescription(const char* value) { m_projectDescriptionHasBeenSet = true; m_projectDescription.assign(value); }
64 inline UpdateProjectRequest& WithProjectDescription(Aws::String&& value) { SetProjectDescription(std::move(value)); return *this;}
65 inline UpdateProjectRequest& WithProjectDescription(const char* value) { SetProjectDescription(value); return *this;}
67
69
77 inline const ServiceCatalogProvisioningUpdateDetails& GetServiceCatalogProvisioningUpdateDetails() const{ return m_serviceCatalogProvisioningUpdateDetails; }
78 inline bool ServiceCatalogProvisioningUpdateDetailsHasBeenSet() const { return m_serviceCatalogProvisioningUpdateDetailsHasBeenSet; }
79 inline void SetServiceCatalogProvisioningUpdateDetails(const ServiceCatalogProvisioningUpdateDetails& value) { m_serviceCatalogProvisioningUpdateDetailsHasBeenSet = true; m_serviceCatalogProvisioningUpdateDetails = value; }
80 inline void SetServiceCatalogProvisioningUpdateDetails(ServiceCatalogProvisioningUpdateDetails&& value) { m_serviceCatalogProvisioningUpdateDetailsHasBeenSet = true; m_serviceCatalogProvisioningUpdateDetails = std::move(value); }
84
86
97 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
98 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
99 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
100 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
101 inline UpdateProjectRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
102 inline UpdateProjectRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
103 inline UpdateProjectRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
104 inline UpdateProjectRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
106 private:
107
108 Aws::String m_projectName;
109 bool m_projectNameHasBeenSet = false;
110
111 Aws::String m_projectDescription;
112 bool m_projectDescriptionHasBeenSet = false;
113
114 ServiceCatalogProvisioningUpdateDetails m_serviceCatalogProvisioningUpdateDetails;
115 bool m_serviceCatalogProvisioningUpdateDetailsHasBeenSet = false;
116
117 Aws::Vector<Tag> m_tags;
118 bool m_tagsHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace SageMaker
123} // namespace Aws
void SetServiceCatalogProvisioningUpdateDetails(ServiceCatalogProvisioningUpdateDetails &&value)
const ServiceCatalogProvisioningUpdateDetails & GetServiceCatalogProvisioningUpdateDetails() const
UpdateProjectRequest & WithServiceCatalogProvisioningUpdateDetails(const ServiceCatalogProvisioningUpdateDetails &value)
void SetProjectName(const Aws::String &value)
UpdateProjectRequest & WithProjectName(const Aws::String &value)
UpdateProjectRequest & WithProjectDescription(Aws::String &&value)
void SetServiceCatalogProvisioningUpdateDetails(const ServiceCatalogProvisioningUpdateDetails &value)
const Aws::Vector< Tag > & GetTags() const
UpdateProjectRequest & WithProjectName(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateProjectRequest & WithProjectName(const char *value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
UpdateProjectRequest & AddTags(Tag &&value)
UpdateProjectRequest & WithTags(const Aws::Vector< Tag > &value)
virtual const char * GetServiceRequestName() const override
void SetProjectDescription(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
UpdateProjectRequest & WithServiceCatalogProvisioningUpdateDetails(ServiceCatalogProvisioningUpdateDetails &&value)
UpdateProjectRequest & WithProjectDescription(const char *value)
UpdateProjectRequest & AddTags(const Tag &value)
UpdateProjectRequest & WithTags(Aws::Vector< Tag > &&value)
UpdateProjectRequest & WithProjectDescription(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector