7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMakerRequest.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/InferenceComponentRuntimeConfig.h>
12#include <aws/sagemaker/model/InferenceComponentSpecification.h>
13#include <aws/sagemaker/model/Tag.h>
43 template <
typename InferenceComponentNameT = Aws::String>
45 m_inferenceComponentNameHasBeenSet =
true;
46 m_inferenceComponentName = std::forward<InferenceComponentNameT>(value);
48 template <
typename InferenceComponentNameT = Aws::String>
61 template <
typename Endpo
intNameT = Aws::String>
63 m_endpointNameHasBeenSet =
true;
64 m_endpointName = std::forward<EndpointNameT>(value);
66 template <
typename Endpo
intNameT = Aws::String>
80 template <
typename VariantNameT = Aws::String>
82 m_variantNameHasBeenSet =
true;
83 m_variantName = std::forward<VariantNameT>(value);
85 template <
typename VariantNameT = Aws::String>
99 template <
typename SpecificationT = InferenceComponentSpecification>
101 m_specificationHasBeenSet =
true;
102 m_specification = std::forward<SpecificationT>(value);
104 template <
typename SpecificationT = InferenceComponentSpecification>
121 template <
typename SpecificationsT = Aws::Vector<InferenceComponentSpecification>>
123 m_specificationsHasBeenSet =
true;
124 m_specifications = std::forward<SpecificationsT>(value);
126 template <
typename SpecificationsT = Aws::Vector<InferenceComponentSpecification>>
131 template <
typename SpecificationsT = InferenceComponentSpecification>
133 m_specificationsHasBeenSet =
true;
134 m_specifications.emplace_back(std::forward<SpecificationsT>(value));
146 template <
typename RuntimeConfigT = InferenceComponentRuntimeConfig>
148 m_runtimeConfigHasBeenSet =
true;
149 m_runtimeConfig = std::forward<RuntimeConfigT>(value);
151 template <
typename RuntimeConfigT = InferenceComponentRuntimeConfig>
168 template <
typename TagsT = Aws::Vector<Tag>>
170 m_tagsHasBeenSet =
true;
171 m_tags = std::forward<TagsT>(value);
173 template <
typename TagsT = Aws::Vector<Tag>>
175 SetTags(std::forward<TagsT>(value));
178 template <
typename TagsT = Tag>
180 m_tagsHasBeenSet =
true;
181 m_tags.emplace_back(std::forward<TagsT>(value));
199 bool m_inferenceComponentNameHasBeenSet =
false;
200 bool m_endpointNameHasBeenSet =
false;
201 bool m_variantNameHasBeenSet =
false;
202 bool m_specificationHasBeenSet =
false;
203 bool m_specificationsHasBeenSet =
false;
204 bool m_runtimeConfigHasBeenSet =
false;
205 bool m_tagsHasBeenSet =
false;
const Aws::Vector< InferenceComponentSpecification > & GetSpecifications() const
CreateInferenceComponentRequest & WithTags(TagsT &&value)
bool EndpointNameHasBeenSet() const
bool RuntimeConfigHasBeenSet() const
void SetVariantName(VariantNameT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
const Aws::String & GetVariantName() const
CreateInferenceComponentRequest & WithVariantName(VariantNameT &&value)
const InferenceComponentSpecification & GetSpecification() const
CreateInferenceComponentRequest & WithEndpointName(EndpointNameT &&value)
bool SpecificationsHasBeenSet() const
bool VariantNameHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetEndpointName() const
CreateInferenceComponentRequest & WithSpecification(SpecificationT &&value)
CreateInferenceComponentRequest & WithRuntimeConfig(RuntimeConfigT &&value)
bool TagsHasBeenSet() const
CreateInferenceComponentRequest & AddTags(TagsT &&value)
CreateInferenceComponentRequest & WithSpecifications(SpecificationsT &&value)
void SetEndpointName(EndpointNameT &&value)
CreateInferenceComponentRequest & WithInferenceComponentName(InferenceComponentNameT &&value)
void SetSpecification(SpecificationT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_API CreateInferenceComponentRequest()=default
const Aws::String & GetInferenceComponentName() const
void SetSpecifications(SpecificationsT &&value)
void SetRuntimeConfig(RuntimeConfigT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetInferenceComponentName(InferenceComponentNameT &&value)
const InferenceComponentRuntimeConfig & GetRuntimeConfig() const
void SetTags(TagsT &&value)
CreateInferenceComponentRequest & AddSpecifications(SpecificationsT &&value)
bool SpecificationHasBeenSet() const
bool InferenceComponentNameHasBeenSet() const
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