AWS SDK for C++  1.9.158
AWS SDK for C++
CreateEndpointConfigRequest.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 
17 namespace Aws
18 {
19 namespace SageMaker
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "CreateEndpointConfig"; }
36 
37  Aws::String SerializePayload() const override;
38 
40 
41 
46  inline const Aws::String& GetEndpointConfigName() const{ return m_endpointConfigName; }
47 
52  inline bool EndpointConfigNameHasBeenSet() const { return m_endpointConfigNameHasBeenSet; }
53 
58  inline void SetEndpointConfigName(const Aws::String& value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName = value; }
59 
64  inline void SetEndpointConfigName(Aws::String&& value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName = std::move(value); }
65 
70  inline void SetEndpointConfigName(const char* value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName.assign(value); }
71 
76  inline CreateEndpointConfigRequest& WithEndpointConfigName(const Aws::String& value) { SetEndpointConfigName(value); return *this;}
77 
82  inline CreateEndpointConfigRequest& WithEndpointConfigName(Aws::String&& value) { SetEndpointConfigName(std::move(value)); return *this;}
83 
88  inline CreateEndpointConfigRequest& WithEndpointConfigName(const char* value) { SetEndpointConfigName(value); return *this;}
89 
90 
95  inline const Aws::Vector<ProductionVariant>& GetProductionVariants() const{ return m_productionVariants; }
96 
101  inline bool ProductionVariantsHasBeenSet() const { return m_productionVariantsHasBeenSet; }
102 
107  inline void SetProductionVariants(const Aws::Vector<ProductionVariant>& value) { m_productionVariantsHasBeenSet = true; m_productionVariants = value; }
108 
113  inline void SetProductionVariants(Aws::Vector<ProductionVariant>&& value) { m_productionVariantsHasBeenSet = true; m_productionVariants = std::move(value); }
114 
119  inline CreateEndpointConfigRequest& WithProductionVariants(const Aws::Vector<ProductionVariant>& value) { SetProductionVariants(value); return *this;}
120 
125  inline CreateEndpointConfigRequest& WithProductionVariants(Aws::Vector<ProductionVariant>&& value) { SetProductionVariants(std::move(value)); return *this;}
126 
131  inline CreateEndpointConfigRequest& AddProductionVariants(const ProductionVariant& value) { m_productionVariantsHasBeenSet = true; m_productionVariants.push_back(value); return *this; }
132 
137  inline CreateEndpointConfigRequest& AddProductionVariants(ProductionVariant&& value) { m_productionVariantsHasBeenSet = true; m_productionVariants.push_back(std::move(value)); return *this; }
138 
139 
140 
141  inline const DataCaptureConfig& GetDataCaptureConfig() const{ return m_dataCaptureConfig; }
142 
143 
144  inline bool DataCaptureConfigHasBeenSet() const { return m_dataCaptureConfigHasBeenSet; }
145 
146 
147  inline void SetDataCaptureConfig(const DataCaptureConfig& value) { m_dataCaptureConfigHasBeenSet = true; m_dataCaptureConfig = value; }
148 
149 
150  inline void SetDataCaptureConfig(DataCaptureConfig&& value) { m_dataCaptureConfigHasBeenSet = true; m_dataCaptureConfig = std::move(value); }
151 
152 
153  inline CreateEndpointConfigRequest& WithDataCaptureConfig(const DataCaptureConfig& value) { SetDataCaptureConfig(value); return *this;}
154 
155 
156  inline CreateEndpointConfigRequest& WithDataCaptureConfig(DataCaptureConfig&& value) { SetDataCaptureConfig(std::move(value)); return *this;}
157 
158 
166  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
167 
175  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
176 
184  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
185 
193  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
194 
202  inline CreateEndpointConfigRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
203 
211  inline CreateEndpointConfigRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
212 
220  inline CreateEndpointConfigRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
221 
229  inline CreateEndpointConfigRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
230 
231 
263  inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
264 
296  inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
297 
329  inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
330 
362  inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
363 
395  inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
396 
428  inline CreateEndpointConfigRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
429 
461  inline CreateEndpointConfigRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
462 
494  inline CreateEndpointConfigRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
495 
496 
503  inline const AsyncInferenceConfig& GetAsyncInferenceConfig() const{ return m_asyncInferenceConfig; }
504 
511  inline bool AsyncInferenceConfigHasBeenSet() const { return m_asyncInferenceConfigHasBeenSet; }
512 
519  inline void SetAsyncInferenceConfig(const AsyncInferenceConfig& value) { m_asyncInferenceConfigHasBeenSet = true; m_asyncInferenceConfig = value; }
520 
527  inline void SetAsyncInferenceConfig(AsyncInferenceConfig&& value) { m_asyncInferenceConfigHasBeenSet = true; m_asyncInferenceConfig = std::move(value); }
528 
535  inline CreateEndpointConfigRequest& WithAsyncInferenceConfig(const AsyncInferenceConfig& value) { SetAsyncInferenceConfig(value); return *this;}
536 
543  inline CreateEndpointConfigRequest& WithAsyncInferenceConfig(AsyncInferenceConfig&& value) { SetAsyncInferenceConfig(std::move(value)); return *this;}
544 
545  private:
546 
547  Aws::String m_endpointConfigName;
548  bool m_endpointConfigNameHasBeenSet;
549 
550  Aws::Vector<ProductionVariant> m_productionVariants;
551  bool m_productionVariantsHasBeenSet;
552 
553  DataCaptureConfig m_dataCaptureConfig;
554  bool m_dataCaptureConfigHasBeenSet;
555 
556  Aws::Vector<Tag> m_tags;
557  bool m_tagsHasBeenSet;
558 
559  Aws::String m_kmsKeyId;
560  bool m_kmsKeyIdHasBeenSet;
561 
562  AsyncInferenceConfig m_asyncInferenceConfig;
563  bool m_asyncInferenceConfigHasBeenSet;
564  };
565 
566 } // namespace Model
567 } // namespace SageMaker
568 } // namespace Aws
Aws::SageMaker::Model::Tag
Definition: Tag.h:44
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::CreateEndpointConfigRequest::WithTags
CreateEndpointConfigRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateEndpointConfigRequest.h:211
SageMaker_EXPORTS.h
Aws::SageMaker::Model::CreateEndpointConfigRequest::SetKmsKeyId
void SetKmsKeyId(const Aws::String &value)
Definition: CreateEndpointConfigRequest.h:329
Aws::SageMaker::Model::CreateEndpointConfigRequest::AddProductionVariants
CreateEndpointConfigRequest & AddProductionVariants(ProductionVariant &&value)
Definition: CreateEndpointConfigRequest.h:137
Aws::SageMaker::Model::AsyncInferenceConfig
Definition: AsyncInferenceConfig.h:34
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::CreateEndpointConfigRequest::ProductionVariantsHasBeenSet
bool ProductionVariantsHasBeenSet() const
Definition: CreateEndpointConfigRequest.h:101
Aws::SageMaker::Model::CreateEndpointConfigRequest::GetAsyncInferenceConfig
const AsyncInferenceConfig & GetAsyncInferenceConfig() const
Definition: CreateEndpointConfigRequest.h:503
Aws::SageMaker::Model::CreateEndpointConfigRequest::WithKmsKeyId
CreateEndpointConfigRequest & WithKmsKeyId(const char *value)
Definition: CreateEndpointConfigRequest.h:494
Aws::SageMaker::Model::CreateEndpointConfigRequest::AddTags
CreateEndpointConfigRequest & AddTags(Tag &&value)
Definition: CreateEndpointConfigRequest.h:229
Aws::SageMaker::Model::CreateEndpointConfigRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::CreateEndpointConfigRequest::SetAsyncInferenceConfig
void SetAsyncInferenceConfig(AsyncInferenceConfig &&value)
Definition: CreateEndpointConfigRequest.h:527
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::ProductionVariant
Definition: ProductionVariant.h:39
Aws::SageMaker::Model::CreateEndpointConfigRequest::GetKmsKeyId
const Aws::String & GetKmsKeyId() const
Definition: CreateEndpointConfigRequest.h:263
Aws::SageMaker::Model::CreateEndpointConfigRequest::WithAsyncInferenceConfig
CreateEndpointConfigRequest & WithAsyncInferenceConfig(const AsyncInferenceConfig &value)
Definition: CreateEndpointConfigRequest.h:535
Aws::SageMaker::Model::CreateEndpointConfigRequest::WithProductionVariants
CreateEndpointConfigRequest & WithProductionVariants(Aws::Vector< ProductionVariant > &&value)
Definition: CreateEndpointConfigRequest.h:125
ProductionVariant.h
AWSVector.h
Aws::SageMaker::Model::CreateEndpointConfigRequest::WithAsyncInferenceConfig
CreateEndpointConfigRequest & WithAsyncInferenceConfig(AsyncInferenceConfig &&value)
Definition: CreateEndpointConfigRequest.h:543
AsyncInferenceConfig.h
Aws::SageMaker::Model::CreateEndpointConfigRequest::AddTags
CreateEndpointConfigRequest & AddTags(const Tag &value)
Definition: CreateEndpointConfigRequest.h:220
Aws::SageMaker::Model::CreateEndpointConfigRequest::WithDataCaptureConfig
CreateEndpointConfigRequest & WithDataCaptureConfig(DataCaptureConfig &&value)
Definition: CreateEndpointConfigRequest.h:156
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::CreateEndpointConfigRequest::SetDataCaptureConfig
void SetDataCaptureConfig(DataCaptureConfig &&value)
Definition: CreateEndpointConfigRequest.h:150
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DataCaptureConfig
Definition: DataCaptureConfig.h:35
Aws::SageMaker::Model::CreateEndpointConfigRequest::WithDataCaptureConfig
CreateEndpointConfigRequest & WithDataCaptureConfig(const DataCaptureConfig &value)
Definition: CreateEndpointConfigRequest.h:153
Aws::SageMaker::Model::CreateEndpointConfigRequest::SetKmsKeyId
void SetKmsKeyId(Aws::String &&value)
Definition: CreateEndpointConfigRequest.h:362
Aws::SageMaker::Model::CreateEndpointConfigRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateEndpointConfigRequest.h:193
Aws::SageMaker::Model::CreateEndpointConfigRequest::SetProductionVariants
void SetProductionVariants(const Aws::Vector< ProductionVariant > &value)
Definition: CreateEndpointConfigRequest.h:107
Aws::SageMaker::Model::CreateEndpointConfigRequest::SetProductionVariants
void SetProductionVariants(Aws::Vector< ProductionVariant > &&value)
Definition: CreateEndpointConfigRequest.h:113
Aws::SageMaker::Model::CreateEndpointConfigRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateEndpointConfigRequest.h:35
Aws::SageMaker::Model::CreateEndpointConfigRequest::GetDataCaptureConfig
const DataCaptureConfig & GetDataCaptureConfig() const
Definition: CreateEndpointConfigRequest.h:141
Aws::SageMaker::Model::CreateEndpointConfigRequest::WithKmsKeyId
CreateEndpointConfigRequest & WithKmsKeyId(const Aws::String &value)
Definition: CreateEndpointConfigRequest.h:428
Aws::SageMaker::Model::CreateEndpointConfigRequest::SetDataCaptureConfig
void SetDataCaptureConfig(const DataCaptureConfig &value)
Definition: CreateEndpointConfigRequest.h:147
Aws::SageMaker::Model::CreateEndpointConfigRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateEndpointConfigRequest.h:175
Aws::SageMaker::Model::CreateEndpointConfigRequest::DataCaptureConfigHasBeenSet
bool DataCaptureConfigHasBeenSet() const
Definition: CreateEndpointConfigRequest.h:144
Aws::SageMaker::Model::CreateEndpointConfigRequest::GetEndpointConfigName
const Aws::String & GetEndpointConfigName() const
Definition: CreateEndpointConfigRequest.h:46
Aws::SageMaker::Model::CreateEndpointConfigRequest::SetEndpointConfigName
void SetEndpointConfigName(const char *value)
Definition: CreateEndpointConfigRequest.h:70
AWSString.h
Tag.h
Aws::SageMaker::Model::CreateEndpointConfigRequest::WithEndpointConfigName
CreateEndpointConfigRequest & WithEndpointConfigName(Aws::String &&value)
Definition: CreateEndpointConfigRequest.h:82
Aws::SageMaker::Model::CreateEndpointConfigRequest::SetEndpointConfigName
void SetEndpointConfigName(const Aws::String &value)
Definition: CreateEndpointConfigRequest.h:58
DataCaptureConfig.h
Aws::SageMaker::Model::CreateEndpointConfigRequest::GetProductionVariants
const Aws::Vector< ProductionVariant > & GetProductionVariants() const
Definition: CreateEndpointConfigRequest.h:95
Aws::SageMaker::Model::CreateEndpointConfigRequest::WithTags
CreateEndpointConfigRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateEndpointConfigRequest.h:202
Aws::SageMaker::Model::CreateEndpointConfigRequest::AddProductionVariants
CreateEndpointConfigRequest & AddProductionVariants(const ProductionVariant &value)
Definition: CreateEndpointConfigRequest.h:131
Aws::SageMaker::Model::CreateEndpointConfigRequest::SetEndpointConfigName
void SetEndpointConfigName(Aws::String &&value)
Definition: CreateEndpointConfigRequest.h:64
Aws::SageMaker::Model::CreateEndpointConfigRequest::WithKmsKeyId
CreateEndpointConfigRequest & WithKmsKeyId(Aws::String &&value)
Definition: CreateEndpointConfigRequest.h:461
Aws::SageMaker::Model::CreateEndpointConfigRequest::AsyncInferenceConfigHasBeenSet
bool AsyncInferenceConfigHasBeenSet() const
Definition: CreateEndpointConfigRequest.h:511
Aws::SageMaker::Model::CreateEndpointConfigRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateEndpointConfigRequest.h:166
Aws::SageMaker::Model::CreateEndpointConfigRequest::WithEndpointConfigName
CreateEndpointConfigRequest & WithEndpointConfigName(const char *value)
Definition: CreateEndpointConfigRequest.h:88
Aws::SageMaker::Model::CreateEndpointConfigRequest::KmsKeyIdHasBeenSet
bool KmsKeyIdHasBeenSet() const
Definition: CreateEndpointConfigRequest.h:296
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::SageMaker::Model::CreateEndpointConfigRequest::SetAsyncInferenceConfig
void SetAsyncInferenceConfig(const AsyncInferenceConfig &value)
Definition: CreateEndpointConfigRequest.h:519
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CreateEndpointConfigRequest::EndpointConfigNameHasBeenSet
bool EndpointConfigNameHasBeenSet() const
Definition: CreateEndpointConfigRequest.h:52
Aws::SageMaker::Model::CreateEndpointConfigRequest::SetKmsKeyId
void SetKmsKeyId(const char *value)
Definition: CreateEndpointConfigRequest.h:395
Aws::SageMaker::Model::CreateEndpointConfigRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateEndpointConfigRequest.h:184
Aws::SageMaker::Model::CreateEndpointConfigRequest
Definition: CreateEndpointConfigRequest.h:27
Aws::SageMaker::Model::CreateEndpointConfigRequest::WithEndpointConfigName
CreateEndpointConfigRequest & WithEndpointConfigName(const Aws::String &value)
Definition: CreateEndpointConfigRequest.h:76
Aws::SageMaker::Model::CreateEndpointConfigRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::CreateEndpointConfigRequest::WithProductionVariants
CreateEndpointConfigRequest & WithProductionVariants(const Aws::Vector< ProductionVariant > &value)
Definition: CreateEndpointConfigRequest.h:119
Aws::SageMaker::Model::CreateEndpointConfigRequest::CreateEndpointConfigRequest
CreateEndpointConfigRequest()