AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateEndpointRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/DeploymentConfig.h>
12#include <aws/sagemaker/model/VariantProperty.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SageMaker
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_SAGEMAKER_API UpdateEndpointRequest();
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_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetEndpointName() const{ return m_endpointName; }
45 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
46 inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; }
47 inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); }
48 inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); }
49 inline UpdateEndpointRequest& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;}
50 inline UpdateEndpointRequest& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;}
51 inline UpdateEndpointRequest& WithEndpointName(const char* value) { SetEndpointName(value); return *this;}
53
55
58 inline const Aws::String& GetEndpointConfigName() const{ return m_endpointConfigName; }
59 inline bool EndpointConfigNameHasBeenSet() const { return m_endpointConfigNameHasBeenSet; }
60 inline void SetEndpointConfigName(const Aws::String& value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName = value; }
61 inline void SetEndpointConfigName(Aws::String&& value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName = std::move(value); }
62 inline void SetEndpointConfigName(const char* value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName.assign(value); }
64 inline UpdateEndpointRequest& WithEndpointConfigName(Aws::String&& value) { SetEndpointConfigName(std::move(value)); return *this;}
65 inline UpdateEndpointRequest& WithEndpointConfigName(const char* value) { SetEndpointConfigName(value); return *this;}
67
69
79 inline bool GetRetainAllVariantProperties() const{ return m_retainAllVariantProperties; }
80 inline bool RetainAllVariantPropertiesHasBeenSet() const { return m_retainAllVariantPropertiesHasBeenSet; }
81 inline void SetRetainAllVariantProperties(bool value) { m_retainAllVariantPropertiesHasBeenSet = true; m_retainAllVariantProperties = value; }
84
86
96 inline const Aws::Vector<VariantProperty>& GetExcludeRetainedVariantProperties() const{ return m_excludeRetainedVariantProperties; }
97 inline bool ExcludeRetainedVariantPropertiesHasBeenSet() const { return m_excludeRetainedVariantPropertiesHasBeenSet; }
98 inline void SetExcludeRetainedVariantProperties(const Aws::Vector<VariantProperty>& value) { m_excludeRetainedVariantPropertiesHasBeenSet = true; m_excludeRetainedVariantProperties = value; }
99 inline void SetExcludeRetainedVariantProperties(Aws::Vector<VariantProperty>&& value) { m_excludeRetainedVariantPropertiesHasBeenSet = true; m_excludeRetainedVariantProperties = std::move(value); }
102 inline UpdateEndpointRequest& AddExcludeRetainedVariantProperties(const VariantProperty& value) { m_excludeRetainedVariantPropertiesHasBeenSet = true; m_excludeRetainedVariantProperties.push_back(value); return *this; }
103 inline UpdateEndpointRequest& AddExcludeRetainedVariantProperties(VariantProperty&& value) { m_excludeRetainedVariantPropertiesHasBeenSet = true; m_excludeRetainedVariantProperties.push_back(std::move(value)); return *this; }
105
107
111 inline const DeploymentConfig& GetDeploymentConfig() const{ return m_deploymentConfig; }
112 inline bool DeploymentConfigHasBeenSet() const { return m_deploymentConfigHasBeenSet; }
113 inline void SetDeploymentConfig(const DeploymentConfig& value) { m_deploymentConfigHasBeenSet = true; m_deploymentConfig = value; }
114 inline void SetDeploymentConfig(DeploymentConfig&& value) { m_deploymentConfigHasBeenSet = true; m_deploymentConfig = std::move(value); }
116 inline UpdateEndpointRequest& WithDeploymentConfig(DeploymentConfig&& value) { SetDeploymentConfig(std::move(value)); return *this;}
118
120
124 inline bool GetRetainDeploymentConfig() const{ return m_retainDeploymentConfig; }
125 inline bool RetainDeploymentConfigHasBeenSet() const { return m_retainDeploymentConfigHasBeenSet; }
126 inline void SetRetainDeploymentConfig(bool value) { m_retainDeploymentConfigHasBeenSet = true; m_retainDeploymentConfig = value; }
129 private:
130
131 Aws::String m_endpointName;
132 bool m_endpointNameHasBeenSet = false;
133
134 Aws::String m_endpointConfigName;
135 bool m_endpointConfigNameHasBeenSet = false;
136
137 bool m_retainAllVariantProperties;
138 bool m_retainAllVariantPropertiesHasBeenSet = false;
139
140 Aws::Vector<VariantProperty> m_excludeRetainedVariantProperties;
141 bool m_excludeRetainedVariantPropertiesHasBeenSet = false;
142
143 DeploymentConfig m_deploymentConfig;
144 bool m_deploymentConfigHasBeenSet = false;
145
146 bool m_retainDeploymentConfig;
147 bool m_retainDeploymentConfigHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace SageMaker
152} // namespace Aws
UpdateEndpointRequest & WithExcludeRetainedVariantProperties(Aws::Vector< VariantProperty > &&value)
void SetDeploymentConfig(const DeploymentConfig &value)
const DeploymentConfig & GetDeploymentConfig() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
UpdateEndpointRequest & WithEndpointConfigName(const char *value)
UpdateEndpointRequest & WithExcludeRetainedVariantProperties(const Aws::Vector< VariantProperty > &value)
void SetExcludeRetainedVariantProperties(Aws::Vector< VariantProperty > &&value)
UpdateEndpointRequest & AddExcludeRetainedVariantProperties(const VariantProperty &value)
UpdateEndpointRequest & WithEndpointConfigName(const Aws::String &value)
UpdateEndpointRequest & WithEndpointName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateEndpointRequest & WithEndpointConfigName(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateEndpointRequest & WithEndpointName(Aws::String &&value)
UpdateEndpointRequest & WithEndpointName(const char *value)
UpdateEndpointRequest & WithRetainAllVariantProperties(bool value)
UpdateEndpointRequest & AddExcludeRetainedVariantProperties(VariantProperty &&value)
UpdateEndpointRequest & WithRetainDeploymentConfig(bool value)
void SetExcludeRetainedVariantProperties(const Aws::Vector< VariantProperty > &value)
void SetEndpointConfigName(const Aws::String &value)
const Aws::Vector< VariantProperty > & GetExcludeRetainedVariantProperties() const
UpdateEndpointRequest & WithDeploymentConfig(DeploymentConfig &&value)
UpdateEndpointRequest & WithDeploymentConfig(const DeploymentConfig &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