AWS SDK for C++  1.9.158
AWS SDK for C++
UpdateEndpointRequest.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 "UpdateEndpoint"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetEndpointName() const{ return m_endpointName; }
44 
48  inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
49 
53  inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; }
54 
58  inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); }
59 
63  inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); }
64 
68  inline UpdateEndpointRequest& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;}
69 
73  inline UpdateEndpointRequest& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;}
74 
78  inline UpdateEndpointRequest& WithEndpointName(const char* value) { SetEndpointName(value); return *this;}
79 
80 
84  inline const Aws::String& GetEndpointConfigName() const{ return m_endpointConfigName; }
85 
89  inline bool EndpointConfigNameHasBeenSet() const { return m_endpointConfigNameHasBeenSet; }
90 
94  inline void SetEndpointConfigName(const Aws::String& value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName = value; }
95 
99  inline void SetEndpointConfigName(Aws::String&& value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName = std::move(value); }
100 
104  inline void SetEndpointConfigName(const char* value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName.assign(value); }
105 
109  inline UpdateEndpointRequest& WithEndpointConfigName(const Aws::String& value) { SetEndpointConfigName(value); return *this;}
110 
114  inline UpdateEndpointRequest& WithEndpointConfigName(Aws::String&& value) { SetEndpointConfigName(std::move(value)); return *this;}
115 
119  inline UpdateEndpointRequest& WithEndpointConfigName(const char* value) { SetEndpointConfigName(value); return *this;}
120 
121 
132  inline bool GetRetainAllVariantProperties() const{ return m_retainAllVariantProperties; }
133 
144  inline bool RetainAllVariantPropertiesHasBeenSet() const { return m_retainAllVariantPropertiesHasBeenSet; }
145 
156  inline void SetRetainAllVariantProperties(bool value) { m_retainAllVariantPropertiesHasBeenSet = true; m_retainAllVariantProperties = value; }
157 
168  inline UpdateEndpointRequest& WithRetainAllVariantProperties(bool value) { SetRetainAllVariantProperties(value); return *this;}
169 
170 
180  inline const Aws::Vector<VariantProperty>& GetExcludeRetainedVariantProperties() const{ return m_excludeRetainedVariantProperties; }
181 
191  inline bool ExcludeRetainedVariantPropertiesHasBeenSet() const { return m_excludeRetainedVariantPropertiesHasBeenSet; }
192 
202  inline void SetExcludeRetainedVariantProperties(const Aws::Vector<VariantProperty>& value) { m_excludeRetainedVariantPropertiesHasBeenSet = true; m_excludeRetainedVariantProperties = value; }
203 
213  inline void SetExcludeRetainedVariantProperties(Aws::Vector<VariantProperty>&& value) { m_excludeRetainedVariantPropertiesHasBeenSet = true; m_excludeRetainedVariantProperties = std::move(value); }
214 
224  inline UpdateEndpointRequest& WithExcludeRetainedVariantProperties(const Aws::Vector<VariantProperty>& value) { SetExcludeRetainedVariantProperties(value); return *this;}
225 
235  inline UpdateEndpointRequest& WithExcludeRetainedVariantProperties(Aws::Vector<VariantProperty>&& value) { SetExcludeRetainedVariantProperties(std::move(value)); return *this;}
236 
246  inline UpdateEndpointRequest& AddExcludeRetainedVariantProperties(const VariantProperty& value) { m_excludeRetainedVariantPropertiesHasBeenSet = true; m_excludeRetainedVariantProperties.push_back(value); return *this; }
247 
257  inline UpdateEndpointRequest& AddExcludeRetainedVariantProperties(VariantProperty&& value) { m_excludeRetainedVariantPropertiesHasBeenSet = true; m_excludeRetainedVariantProperties.push_back(std::move(value)); return *this; }
258 
259 
264  inline const DeploymentConfig& GetDeploymentConfig() const{ return m_deploymentConfig; }
265 
270  inline bool DeploymentConfigHasBeenSet() const { return m_deploymentConfigHasBeenSet; }
271 
276  inline void SetDeploymentConfig(const DeploymentConfig& value) { m_deploymentConfigHasBeenSet = true; m_deploymentConfig = value; }
277 
282  inline void SetDeploymentConfig(DeploymentConfig&& value) { m_deploymentConfigHasBeenSet = true; m_deploymentConfig = std::move(value); }
283 
288  inline UpdateEndpointRequest& WithDeploymentConfig(const DeploymentConfig& value) { SetDeploymentConfig(value); return *this;}
289 
294  inline UpdateEndpointRequest& WithDeploymentConfig(DeploymentConfig&& value) { SetDeploymentConfig(std::move(value)); return *this;}
295 
296 
301  inline bool GetRetainDeploymentConfig() const{ return m_retainDeploymentConfig; }
302 
307  inline bool RetainDeploymentConfigHasBeenSet() const { return m_retainDeploymentConfigHasBeenSet; }
308 
313  inline void SetRetainDeploymentConfig(bool value) { m_retainDeploymentConfigHasBeenSet = true; m_retainDeploymentConfig = value; }
314 
319  inline UpdateEndpointRequest& WithRetainDeploymentConfig(bool value) { SetRetainDeploymentConfig(value); return *this;}
320 
321  private:
322 
323  Aws::String m_endpointName;
324  bool m_endpointNameHasBeenSet;
325 
326  Aws::String m_endpointConfigName;
327  bool m_endpointConfigNameHasBeenSet;
328 
329  bool m_retainAllVariantProperties;
330  bool m_retainAllVariantPropertiesHasBeenSet;
331 
332  Aws::Vector<VariantProperty> m_excludeRetainedVariantProperties;
333  bool m_excludeRetainedVariantPropertiesHasBeenSet;
334 
335  DeploymentConfig m_deploymentConfig;
336  bool m_deploymentConfigHasBeenSet;
337 
338  bool m_retainDeploymentConfig;
339  bool m_retainDeploymentConfigHasBeenSet;
340  };
341 
342 } // namespace Model
343 } // namespace SageMaker
344 } // namespace Aws
Aws::SageMaker::Model::UpdateEndpointRequest::SetRetainAllVariantProperties
void SetRetainAllVariantProperties(bool value)
Definition: UpdateEndpointRequest.h:156
Aws::SageMaker::Model::UpdateEndpointRequest::RetainAllVariantPropertiesHasBeenSet
bool RetainAllVariantPropertiesHasBeenSet() const
Definition: UpdateEndpointRequest.h:144
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::UpdateEndpointRequest::WithRetainDeploymentConfig
UpdateEndpointRequest & WithRetainDeploymentConfig(bool value)
Definition: UpdateEndpointRequest.h:319
Aws::SageMaker::Model::UpdateEndpointRequest::WithRetainAllVariantProperties
UpdateEndpointRequest & WithRetainAllVariantProperties(bool value)
Definition: UpdateEndpointRequest.h:168
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::UpdateEndpointRequest::SetEndpointName
void SetEndpointName(const char *value)
Definition: UpdateEndpointRequest.h:63
VariantProperty.h
Aws::SageMaker::Model::UpdateEndpointRequest::WithEndpointConfigName
UpdateEndpointRequest & WithEndpointConfigName(const char *value)
Definition: UpdateEndpointRequest.h:119
Aws::SageMaker::Model::UpdateEndpointRequest::WithDeploymentConfig
UpdateEndpointRequest & WithDeploymentConfig(DeploymentConfig &&value)
Definition: UpdateEndpointRequest.h:294
Aws::SageMaker::Model::UpdateEndpointRequest::ExcludeRetainedVariantPropertiesHasBeenSet
bool ExcludeRetainedVariantPropertiesHasBeenSet() const
Definition: UpdateEndpointRequest.h:191
Aws::SageMaker::Model::UpdateEndpointRequest::SetEndpointConfigName
void SetEndpointConfigName(Aws::String &&value)
Definition: UpdateEndpointRequest.h:99
Aws::SageMaker::Model::UpdateEndpointRequest::GetEndpointConfigName
const Aws::String & GetEndpointConfigName() const
Definition: UpdateEndpointRequest.h:84
Aws::SageMaker::Model::UpdateEndpointRequest::SetEndpointName
void SetEndpointName(Aws::String &&value)
Definition: UpdateEndpointRequest.h:58
Aws::SageMaker::Model::UpdateEndpointRequest::WithEndpointName
UpdateEndpointRequest & WithEndpointName(const char *value)
Definition: UpdateEndpointRequest.h:78
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::UpdateEndpointRequest::GetRetainDeploymentConfig
bool GetRetainDeploymentConfig() const
Definition: UpdateEndpointRequest.h:301
Aws::SageMaker::Model::UpdateEndpointRequest
Definition: UpdateEndpointRequest.h:25
AWSVector.h
Aws::SageMaker::Model::UpdateEndpointRequest::WithEndpointName
UpdateEndpointRequest & WithEndpointName(const Aws::String &value)
Definition: UpdateEndpointRequest.h:68
Aws::SageMaker::Model::UpdateEndpointRequest::AddExcludeRetainedVariantProperties
UpdateEndpointRequest & AddExcludeRetainedVariantProperties(VariantProperty &&value)
Definition: UpdateEndpointRequest.h:257
Aws::SageMaker::Model::VariantProperty
Definition: VariantProperty.h:37
Aws::SageMaker::Model::UpdateEndpointRequest::SetDeploymentConfig
void SetDeploymentConfig(DeploymentConfig &&value)
Definition: UpdateEndpointRequest.h:282
Aws::SageMaker::Model::UpdateEndpointRequest::EndpointNameHasBeenSet
bool EndpointNameHasBeenSet() const
Definition: UpdateEndpointRequest.h:48
Aws::SageMaker::Model::UpdateEndpointRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateEndpointRequest.h:33
Aws::SageMaker::Model::UpdateEndpointRequest::SetDeploymentConfig
void SetDeploymentConfig(const DeploymentConfig &value)
Definition: UpdateEndpointRequest.h:276
Aws::SageMaker::Model::UpdateEndpointRequest::GetExcludeRetainedVariantProperties
const Aws::Vector< VariantProperty > & GetExcludeRetainedVariantProperties() const
Definition: UpdateEndpointRequest.h:180
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::DeploymentConfig
Definition: DeploymentConfig.h:34
Aws::SageMaker::Model::UpdateEndpointRequest::SetEndpointConfigName
void SetEndpointConfigName(const char *value)
Definition: UpdateEndpointRequest.h:104
Aws::SageMaker::Model::UpdateEndpointRequest::UpdateEndpointRequest
UpdateEndpointRequest()
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::UpdateEndpointRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::UpdateEndpointRequest::WithExcludeRetainedVariantProperties
UpdateEndpointRequest & WithExcludeRetainedVariantProperties(Aws::Vector< VariantProperty > &&value)
Definition: UpdateEndpointRequest.h:235
Aws::SageMaker::Model::UpdateEndpointRequest::SetExcludeRetainedVariantProperties
void SetExcludeRetainedVariantProperties(const Aws::Vector< VariantProperty > &value)
Definition: UpdateEndpointRequest.h:202
Aws::SageMaker::Model::UpdateEndpointRequest::GetRetainAllVariantProperties
bool GetRetainAllVariantProperties() const
Definition: UpdateEndpointRequest.h:132
Aws::SageMaker::Model::UpdateEndpointRequest::SetRetainDeploymentConfig
void SetRetainDeploymentConfig(bool value)
Definition: UpdateEndpointRequest.h:313
Aws::SageMaker::Model::UpdateEndpointRequest::GetDeploymentConfig
const DeploymentConfig & GetDeploymentConfig() const
Definition: UpdateEndpointRequest.h:264
Aws::SageMaker::Model::UpdateEndpointRequest::RetainDeploymentConfigHasBeenSet
bool RetainDeploymentConfigHasBeenSet() const
Definition: UpdateEndpointRequest.h:307
AWSString.h
Aws::SageMaker::Model::UpdateEndpointRequest::WithEndpointConfigName
UpdateEndpointRequest & WithEndpointConfigName(const Aws::String &value)
Definition: UpdateEndpointRequest.h:109
Aws::SageMaker::Model::UpdateEndpointRequest::AddExcludeRetainedVariantProperties
UpdateEndpointRequest & AddExcludeRetainedVariantProperties(const VariantProperty &value)
Definition: UpdateEndpointRequest.h:246
DeploymentConfig.h
Aws::SageMaker::Model::UpdateEndpointRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::SageMaker::Model::UpdateEndpointRequest::WithDeploymentConfig
UpdateEndpointRequest & WithDeploymentConfig(const DeploymentConfig &value)
Definition: UpdateEndpointRequest.h:288
Aws::SageMaker::Model::UpdateEndpointRequest::DeploymentConfigHasBeenSet
bool DeploymentConfigHasBeenSet() const
Definition: UpdateEndpointRequest.h:270
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::UpdateEndpointRequest::EndpointConfigNameHasBeenSet
bool EndpointConfigNameHasBeenSet() const
Definition: UpdateEndpointRequest.h:89
Aws::SageMaker::Model::UpdateEndpointRequest::WithEndpointConfigName
UpdateEndpointRequest & WithEndpointConfigName(Aws::String &&value)
Definition: UpdateEndpointRequest.h:114
Aws::SageMaker::Model::UpdateEndpointRequest::GetEndpointName
const Aws::String & GetEndpointName() const
Definition: UpdateEndpointRequest.h:43
Aws::SageMaker::Model::UpdateEndpointRequest::WithEndpointName
UpdateEndpointRequest & WithEndpointName(Aws::String &&value)
Definition: UpdateEndpointRequest.h:73
Aws::SageMaker::Model::UpdateEndpointRequest::SetEndpointConfigName
void SetEndpointConfigName(const Aws::String &value)
Definition: UpdateEndpointRequest.h:94
Aws::SageMaker::Model::UpdateEndpointRequest::WithExcludeRetainedVariantProperties
UpdateEndpointRequest & WithExcludeRetainedVariantProperties(const Aws::Vector< VariantProperty > &value)
Definition: UpdateEndpointRequest.h:224
Aws::SageMaker::Model::UpdateEndpointRequest::SetExcludeRetainedVariantProperties
void SetExcludeRetainedVariantProperties(Aws::Vector< VariantProperty > &&value)
Definition: UpdateEndpointRequest.h:213
Aws::SageMaker::Model::UpdateEndpointRequest::SetEndpointName
void SetEndpointName(const Aws::String &value)
Definition: UpdateEndpointRequest.h:53