AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateEndpointConfigRequest.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/DataCaptureConfig.h>
12#include <aws/sagemaker/model/AsyncInferenceConfig.h>
13#include <aws/sagemaker/model/ExplainerConfig.h>
14#include <aws/sagemaker/model/VpcConfig.h>
15#include <aws/sagemaker/model/ProductionVariant.h>
16#include <aws/sagemaker/model/Tag.h>
17#include <utility>
18
19namespace Aws
20{
21namespace SageMaker
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_SAGEMAKER_API CreateEndpointConfigRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "CreateEndpointConfig"; }
38
39 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
40
42
43
45
50 inline const Aws::String& GetEndpointConfigName() const{ return m_endpointConfigName; }
51 inline bool EndpointConfigNameHasBeenSet() const { return m_endpointConfigNameHasBeenSet; }
52 inline void SetEndpointConfigName(const Aws::String& value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName = value; }
53 inline void SetEndpointConfigName(Aws::String&& value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName = std::move(value); }
54 inline void SetEndpointConfigName(const char* value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName.assign(value); }
56 inline CreateEndpointConfigRequest& WithEndpointConfigName(Aws::String&& value) { SetEndpointConfigName(std::move(value)); return *this;}
57 inline CreateEndpointConfigRequest& WithEndpointConfigName(const char* value) { SetEndpointConfigName(value); return *this;}
59
61
65 inline const Aws::Vector<ProductionVariant>& GetProductionVariants() const{ return m_productionVariants; }
66 inline bool ProductionVariantsHasBeenSet() const { return m_productionVariantsHasBeenSet; }
67 inline void SetProductionVariants(const Aws::Vector<ProductionVariant>& value) { m_productionVariantsHasBeenSet = true; m_productionVariants = value; }
68 inline void SetProductionVariants(Aws::Vector<ProductionVariant>&& value) { m_productionVariantsHasBeenSet = true; m_productionVariants = std::move(value); }
71 inline CreateEndpointConfigRequest& AddProductionVariants(const ProductionVariant& value) { m_productionVariantsHasBeenSet = true; m_productionVariants.push_back(value); return *this; }
72 inline CreateEndpointConfigRequest& AddProductionVariants(ProductionVariant&& value) { m_productionVariantsHasBeenSet = true; m_productionVariants.push_back(std::move(value)); return *this; }
74
76
77 inline const DataCaptureConfig& GetDataCaptureConfig() const{ return m_dataCaptureConfig; }
78 inline bool DataCaptureConfigHasBeenSet() const { return m_dataCaptureConfigHasBeenSet; }
79 inline void SetDataCaptureConfig(const DataCaptureConfig& value) { m_dataCaptureConfigHasBeenSet = true; m_dataCaptureConfig = value; }
80 inline void SetDataCaptureConfig(DataCaptureConfig&& value) { m_dataCaptureConfigHasBeenSet = true; m_dataCaptureConfig = std::move(value); }
84
86
93 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
94 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
95 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
96 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
97 inline CreateEndpointConfigRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
98 inline CreateEndpointConfigRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
99 inline CreateEndpointConfigRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
100 inline CreateEndpointConfigRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
102
104
135 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
136 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
137 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
138 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
139 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
140 inline CreateEndpointConfigRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
141 inline CreateEndpointConfigRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
142 inline CreateEndpointConfigRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
144
146
151 inline const AsyncInferenceConfig& GetAsyncInferenceConfig() const{ return m_asyncInferenceConfig; }
152 inline bool AsyncInferenceConfigHasBeenSet() const { return m_asyncInferenceConfigHasBeenSet; }
153 inline void SetAsyncInferenceConfig(const AsyncInferenceConfig& value) { m_asyncInferenceConfigHasBeenSet = true; m_asyncInferenceConfig = value; }
154 inline void SetAsyncInferenceConfig(AsyncInferenceConfig&& value) { m_asyncInferenceConfigHasBeenSet = true; m_asyncInferenceConfig = std::move(value); }
158
160
163 inline const ExplainerConfig& GetExplainerConfig() const{ return m_explainerConfig; }
164 inline bool ExplainerConfigHasBeenSet() const { return m_explainerConfigHasBeenSet; }
165 inline void SetExplainerConfig(const ExplainerConfig& value) { m_explainerConfigHasBeenSet = true; m_explainerConfig = value; }
166 inline void SetExplainerConfig(ExplainerConfig&& value) { m_explainerConfigHasBeenSet = true; m_explainerConfig = std::move(value); }
168 inline CreateEndpointConfigRequest& WithExplainerConfig(ExplainerConfig&& value) { SetExplainerConfig(std::move(value)); return *this;}
170
172
180 inline const Aws::Vector<ProductionVariant>& GetShadowProductionVariants() const{ return m_shadowProductionVariants; }
181 inline bool ShadowProductionVariantsHasBeenSet() const { return m_shadowProductionVariantsHasBeenSet; }
182 inline void SetShadowProductionVariants(const Aws::Vector<ProductionVariant>& value) { m_shadowProductionVariantsHasBeenSet = true; m_shadowProductionVariants = value; }
183 inline void SetShadowProductionVariants(Aws::Vector<ProductionVariant>&& value) { m_shadowProductionVariantsHasBeenSet = true; m_shadowProductionVariants = std::move(value); }
186 inline CreateEndpointConfigRequest& AddShadowProductionVariants(const ProductionVariant& value) { m_shadowProductionVariantsHasBeenSet = true; m_shadowProductionVariants.push_back(value); return *this; }
187 inline CreateEndpointConfigRequest& AddShadowProductionVariants(ProductionVariant&& value) { m_shadowProductionVariantsHasBeenSet = true; m_shadowProductionVariants.push_back(std::move(value)); return *this; }
189
191
199 inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
200 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
201 inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = value; }
202 inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::move(value); }
203 inline void SetExecutionRoleArn(const char* value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn.assign(value); }
205 inline CreateEndpointConfigRequest& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
206 inline CreateEndpointConfigRequest& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
208
210
211 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
212 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
213 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
214 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
215 inline CreateEndpointConfigRequest& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
216 inline CreateEndpointConfigRequest& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
218
220
225 inline bool GetEnableNetworkIsolation() const{ return m_enableNetworkIsolation; }
226 inline bool EnableNetworkIsolationHasBeenSet() const { return m_enableNetworkIsolationHasBeenSet; }
227 inline void SetEnableNetworkIsolation(bool value) { m_enableNetworkIsolationHasBeenSet = true; m_enableNetworkIsolation = value; }
230 private:
231
232 Aws::String m_endpointConfigName;
233 bool m_endpointConfigNameHasBeenSet = false;
234
235 Aws::Vector<ProductionVariant> m_productionVariants;
236 bool m_productionVariantsHasBeenSet = false;
237
238 DataCaptureConfig m_dataCaptureConfig;
239 bool m_dataCaptureConfigHasBeenSet = false;
240
241 Aws::Vector<Tag> m_tags;
242 bool m_tagsHasBeenSet = false;
243
244 Aws::String m_kmsKeyId;
245 bool m_kmsKeyIdHasBeenSet = false;
246
247 AsyncInferenceConfig m_asyncInferenceConfig;
248 bool m_asyncInferenceConfigHasBeenSet = false;
249
250 ExplainerConfig m_explainerConfig;
251 bool m_explainerConfigHasBeenSet = false;
252
253 Aws::Vector<ProductionVariant> m_shadowProductionVariants;
254 bool m_shadowProductionVariantsHasBeenSet = false;
255
256 Aws::String m_executionRoleArn;
257 bool m_executionRoleArnHasBeenSet = false;
258
259 VpcConfig m_vpcConfig;
260 bool m_vpcConfigHasBeenSet = false;
261
262 bool m_enableNetworkIsolation;
263 bool m_enableNetworkIsolationHasBeenSet = false;
264 };
265
266} // namespace Model
267} // namespace SageMaker
268} // namespace Aws
CreateEndpointConfigRequest & WithExecutionRoleArn(const Aws::String &value)
void SetAsyncInferenceConfig(const AsyncInferenceConfig &value)
CreateEndpointConfigRequest & WithKmsKeyId(Aws::String &&value)
CreateEndpointConfigRequest & WithProductionVariants(const Aws::Vector< ProductionVariant > &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< ProductionVariant > & GetShadowProductionVariants() const
void SetProductionVariants(Aws::Vector< ProductionVariant > &&value)
CreateEndpointConfigRequest & AddTags(const Tag &value)
CreateEndpointConfigRequest & WithShadowProductionVariants(const Aws::Vector< ProductionVariant > &value)
CreateEndpointConfigRequest & WithDataCaptureConfig(DataCaptureConfig &&value)
CreateEndpointConfigRequest & AddShadowProductionVariants(ProductionVariant &&value)
void SetProductionVariants(const Aws::Vector< ProductionVariant > &value)
CreateEndpointConfigRequest & WithProductionVariants(Aws::Vector< ProductionVariant > &&value)
CreateEndpointConfigRequest & WithVpcConfig(VpcConfig &&value)
CreateEndpointConfigRequest & WithKmsKeyId(const Aws::String &value)
CreateEndpointConfigRequest & WithShadowProductionVariants(Aws::Vector< ProductionVariant > &&value)
CreateEndpointConfigRequest & AddProductionVariants(const ProductionVariant &value)
void SetShadowProductionVariants(const Aws::Vector< ProductionVariant > &value)
CreateEndpointConfigRequest & AddProductionVariants(ProductionVariant &&value)
CreateEndpointConfigRequest & WithEndpointConfigName(const Aws::String &value)
CreateEndpointConfigRequest & WithExecutionRoleArn(const char *value)
CreateEndpointConfigRequest & AddShadowProductionVariants(const ProductionVariant &value)
CreateEndpointConfigRequest & WithKmsKeyId(const char *value)
CreateEndpointConfigRequest & WithTags(Aws::Vector< Tag > &&value)
virtual const char * GetServiceRequestName() const override
CreateEndpointConfigRequest & WithEndpointConfigName(Aws::String &&value)
CreateEndpointConfigRequest & WithAsyncInferenceConfig(const AsyncInferenceConfig &value)
void SetShadowProductionVariants(Aws::Vector< ProductionVariant > &&value)
CreateEndpointConfigRequest & WithExplainerConfig(ExplainerConfig &&value)
CreateEndpointConfigRequest & WithExecutionRoleArn(Aws::String &&value)
CreateEndpointConfigRequest & WithTags(const Aws::Vector< Tag > &value)
const Aws::Vector< ProductionVariant > & GetProductionVariants() const
CreateEndpointConfigRequest & WithAsyncInferenceConfig(AsyncInferenceConfig &&value)
CreateEndpointConfigRequest & WithEnableNetworkIsolation(bool value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
CreateEndpointConfigRequest & WithEndpointConfigName(const char *value)
CreateEndpointConfigRequest & WithExplainerConfig(const ExplainerConfig &value)
CreateEndpointConfigRequest & WithDataCaptureConfig(const DataCaptureConfig &value)
CreateEndpointConfigRequest & WithVpcConfig(const VpcConfig &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