AWS SDK for C++  1.9.156
AWS SDK for C++
CreateEndpointRequest.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 "CreateEndpoint"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
46  inline const Aws::String& GetEndpointName() const{ return m_endpointName; }
47 
54  inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
55 
62  inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; }
63 
70  inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); }
71 
78  inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); }
79 
86  inline CreateEndpointRequest& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;}
87 
94  inline CreateEndpointRequest& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;}
95 
102  inline CreateEndpointRequest& WithEndpointName(const char* value) { SetEndpointName(value); return *this;}
103 
104 
109  inline const Aws::String& GetEndpointConfigName() const{ return m_endpointConfigName; }
110 
115  inline bool EndpointConfigNameHasBeenSet() const { return m_endpointConfigNameHasBeenSet; }
116 
121  inline void SetEndpointConfigName(const Aws::String& value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName = value; }
122 
127  inline void SetEndpointConfigName(Aws::String&& value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName = std::move(value); }
128 
133  inline void SetEndpointConfigName(const char* value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName.assign(value); }
134 
139  inline CreateEndpointRequest& WithEndpointConfigName(const Aws::String& value) { SetEndpointConfigName(value); return *this;}
140 
145  inline CreateEndpointRequest& WithEndpointConfigName(Aws::String&& value) { SetEndpointConfigName(std::move(value)); return *this;}
146 
151  inline CreateEndpointRequest& WithEndpointConfigName(const char* value) { SetEndpointConfigName(value); return *this;}
152 
153 
154 
155  inline const DeploymentConfig& GetDeploymentConfig() const{ return m_deploymentConfig; }
156 
157 
158  inline bool DeploymentConfigHasBeenSet() const { return m_deploymentConfigHasBeenSet; }
159 
160 
161  inline void SetDeploymentConfig(const DeploymentConfig& value) { m_deploymentConfigHasBeenSet = true; m_deploymentConfig = value; }
162 
163 
164  inline void SetDeploymentConfig(DeploymentConfig&& value) { m_deploymentConfigHasBeenSet = true; m_deploymentConfig = std::move(value); }
165 
166 
167  inline CreateEndpointRequest& WithDeploymentConfig(const DeploymentConfig& value) { SetDeploymentConfig(value); return *this;}
168 
169 
170  inline CreateEndpointRequest& WithDeploymentConfig(DeploymentConfig&& value) { SetDeploymentConfig(std::move(value)); return *this;}
171 
172 
180  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
181 
189  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
190 
198  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
199 
207  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
208 
216  inline CreateEndpointRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
217 
225  inline CreateEndpointRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
226 
234  inline CreateEndpointRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
235 
243  inline CreateEndpointRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
244 
245  private:
246 
247  Aws::String m_endpointName;
248  bool m_endpointNameHasBeenSet;
249 
250  Aws::String m_endpointConfigName;
251  bool m_endpointConfigNameHasBeenSet;
252 
253  DeploymentConfig m_deploymentConfig;
254  bool m_deploymentConfigHasBeenSet;
255 
256  Aws::Vector<Tag> m_tags;
257  bool m_tagsHasBeenSet;
258  };
259 
260 } // namespace Model
261 } // namespace SageMaker
262 } // namespace Aws
Aws::SageMaker::Model::CreateEndpointRequest::WithEndpointName
CreateEndpointRequest & WithEndpointName(const Aws::String &value)
Definition: CreateEndpointRequest.h:86
Aws::SageMaker::Model::Tag
Definition: Tag.h:44
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::CreateEndpointRequest::WithTags
CreateEndpointRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateEndpointRequest.h:216
SageMaker_EXPORTS.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::CreateEndpointRequest::DeploymentConfigHasBeenSet
bool DeploymentConfigHasBeenSet() const
Definition: CreateEndpointRequest.h:158
Aws::SageMaker::Model::CreateEndpointRequest::AddTags
CreateEndpointRequest & AddTags(Tag &&value)
Definition: CreateEndpointRequest.h:243
Aws::SageMaker::Model::CreateEndpointRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateEndpointRequest.h:207
Aws::SageMaker::Model::CreateEndpointRequest::GetDeploymentConfig
const DeploymentConfig & GetDeploymentConfig() const
Definition: CreateEndpointRequest.h:155
Aws::SageMaker::Model::CreateEndpointRequest::WithEndpointName
CreateEndpointRequest & WithEndpointName(const char *value)
Definition: CreateEndpointRequest.h:102
Aws::SageMaker::Model::CreateEndpointRequest::EndpointConfigNameHasBeenSet
bool EndpointConfigNameHasBeenSet() const
Definition: CreateEndpointRequest.h:115
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::CreateEndpointRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateEndpointRequest.h:180
AWSVector.h
Aws::SageMaker::Model::CreateEndpointRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateEndpointRequest.h:198
Aws::SageMaker::Model::CreateEndpointRequest::SetEndpointConfigName
void SetEndpointConfigName(const Aws::String &value)
Definition: CreateEndpointRequest.h:121
Aws::SageMaker::Model::CreateEndpointRequest::GetEndpointName
const Aws::String & GetEndpointName() const
Definition: CreateEndpointRequest.h:46
Aws::SageMaker::Model::CreateEndpointRequest::AddTags
CreateEndpointRequest & AddTags(const Tag &value)
Definition: CreateEndpointRequest.h:234
Aws::SageMaker::Model::CreateEndpointRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::DeploymentConfig
Definition: DeploymentConfig.h:34
Aws::SageMaker::Model::CreateEndpointRequest::WithEndpointConfigName
CreateEndpointRequest & WithEndpointConfigName(const Aws::String &value)
Definition: CreateEndpointRequest.h:139
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::CreateEndpointRequest::WithEndpointConfigName
CreateEndpointRequest & WithEndpointConfigName(Aws::String &&value)
Definition: CreateEndpointRequest.h:145
Aws::SageMaker::Model::CreateEndpointRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::CreateEndpointRequest::WithDeploymentConfig
CreateEndpointRequest & WithDeploymentConfig(DeploymentConfig &&value)
Definition: CreateEndpointRequest.h:170
Aws::SageMaker::Model::CreateEndpointRequest::WithEndpointConfigName
CreateEndpointRequest & WithEndpointConfigName(const char *value)
Definition: CreateEndpointRequest.h:151
Aws::SageMaker::Model::CreateEndpointRequest::EndpointNameHasBeenSet
bool EndpointNameHasBeenSet() const
Definition: CreateEndpointRequest.h:54
Aws::SageMaker::Model::CreateEndpointRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateEndpointRequest.h:33
AWSString.h
Tag.h
Aws::SageMaker::Model::CreateEndpointRequest::WithDeploymentConfig
CreateEndpointRequest & WithDeploymentConfig(const DeploymentConfig &value)
Definition: CreateEndpointRequest.h:167
Aws::SageMaker::Model::CreateEndpointRequest::WithTags
CreateEndpointRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateEndpointRequest.h:225
Aws::SageMaker::Model::CreateEndpointRequest::SetEndpointName
void SetEndpointName(Aws::String &&value)
Definition: CreateEndpointRequest.h:70
DeploymentConfig.h
Aws::SageMaker::Model::CreateEndpointRequest::SetDeploymentConfig
void SetDeploymentConfig(DeploymentConfig &&value)
Definition: CreateEndpointRequest.h:164
Aws::SageMaker::Model::CreateEndpointRequest::SetEndpointName
void SetEndpointName(const Aws::String &value)
Definition: CreateEndpointRequest.h:62
Aws::SageMaker::Model::CreateEndpointRequest::WithEndpointName
CreateEndpointRequest & WithEndpointName(Aws::String &&value)
Definition: CreateEndpointRequest.h:94
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::CreateEndpointRequest::CreateEndpointRequest
CreateEndpointRequest()
SageMakerRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CreateEndpointRequest::SetEndpointName
void SetEndpointName(const char *value)
Definition: CreateEndpointRequest.h:78
Aws::SageMaker::Model::CreateEndpointRequest::SetDeploymentConfig
void SetDeploymentConfig(const DeploymentConfig &value)
Definition: CreateEndpointRequest.h:161
Aws::SageMaker::Model::CreateEndpointRequest
Definition: CreateEndpointRequest.h:25
Aws::SageMaker::Model::CreateEndpointRequest::SetEndpointConfigName
void SetEndpointConfigName(Aws::String &&value)
Definition: CreateEndpointRequest.h:127
Aws::SageMaker::Model::CreateEndpointRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateEndpointRequest.h:189
Aws::SageMaker::Model::CreateEndpointRequest::SetEndpointConfigName
void SetEndpointConfigName(const char *value)
Definition: CreateEndpointRequest.h:133
Aws::SageMaker::Model::CreateEndpointRequest::GetEndpointConfigName
const Aws::String & GetEndpointConfigName() const
Definition: CreateEndpointRequest.h:109