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/sagemaker/model/InferenceComponentSpecification.h>
11#include <aws/sagemaker/model/InferenceComponentRuntimeConfig.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/sagemaker/model/Tag.h>
47 template<
typename InferenceComponentNameT = Aws::String>
48 void SetInferenceComponentName(InferenceComponentNameT&& value) { m_inferenceComponentNameHasBeenSet =
true; m_inferenceComponentName = std::forward<InferenceComponentNameT>(value); }
49 template<
typename InferenceComponentNameT = Aws::String>
59 template<
typename Endpo
intNameT = Aws::String>
60 void SetEndpointName(EndpointNameT&& value) { m_endpointNameHasBeenSet =
true; m_endpointName = std::forward<EndpointNameT>(value); }
61 template<
typename Endpo
intNameT = Aws::String>
72 template<
typename VariantNameT = Aws::String>
73 void SetVariantName(VariantNameT&& value) { m_variantNameHasBeenSet =
true; m_variantName = std::forward<VariantNameT>(value); }
74 template<
typename VariantNameT = Aws::String>
85 template<
typename SpecificationT = InferenceComponentSpecification>
86 void SetSpecification(SpecificationT&& value) { m_specificationHasBeenSet =
true; m_specification = std::forward<SpecificationT>(value); }
87 template<
typename SpecificationT = InferenceComponentSpecification>
98 template<
typename RuntimeConfigT = InferenceComponentRuntimeConfig>
99 void SetRuntimeConfig(RuntimeConfigT&& value) { m_runtimeConfigHasBeenSet =
true; m_runtimeConfig = std::forward<RuntimeConfigT>(value); }
100 template<
typename RuntimeConfigT = InferenceComponentRuntimeConfig>
114 template<
typename TagsT = Aws::Vector<Tag>>
115 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
116 template<
typename TagsT = Aws::Vector<Tag>>
118 template<
typename TagsT = Tag>
124 bool m_inferenceComponentNameHasBeenSet =
false;
127 bool m_endpointNameHasBeenSet =
false;
130 bool m_variantNameHasBeenSet =
false;
133 bool m_specificationHasBeenSet =
false;
136 bool m_runtimeConfigHasBeenSet =
false;
139 bool m_tagsHasBeenSet =
false;
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 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)
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 SetRuntimeConfig(RuntimeConfigT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetInferenceComponentName(InferenceComponentNameT &&value)
const InferenceComponentRuntimeConfig & GetRuntimeConfig() const
void SetTags(TagsT &&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