7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/InferenceComponentComputeResourceRequirements.h>
10#include <aws/sagemaker/model/InferenceComponentContainerSpecification.h>
11#include <aws/sagemaker/model/InferenceComponentDataCacheConfig.h>
12#include <aws/sagemaker/model/InferenceComponentSchedulingConfig.h>
13#include <aws/sagemaker/model/InferenceComponentStartupParameters.h>
14#include <aws/sagemaker/model/ProductionVariantInstanceType.h>
51 m_instanceTypeHasBeenSet =
true;
52 m_instanceType = value;
67 template <
typename ModelNameT = Aws::String>
69 m_modelNameHasBeenSet =
true;
70 m_modelName = std::forward<ModelNameT>(value);
72 template <
typename ModelNameT = Aws::String>
86 template <
typename ContainerT = InferenceComponentContainerSpecification>
88 m_containerHasBeenSet =
true;
89 m_container = std::forward<ContainerT>(value);
91 template <
typename ContainerT = InferenceComponentContainerSpecification>
104 template <
typename StartupParametersT = InferenceComponentStartupParameters>
106 m_startupParametersHasBeenSet =
true;
107 m_startupParameters = std::forward<StartupParametersT>(value);
109 template <
typename StartupParametersT = InferenceComponentStartupParameters>
125 return m_computeResourceRequirements;
128 template <
typename ComputeResourceRequirementsT = InferenceComponentComputeResourceRequirements>
130 m_computeResourceRequirementsHasBeenSet =
true;
131 m_computeResourceRequirements = std::forward<ComputeResourceRequirementsT>(value);
133 template <
typename ComputeResourceRequirementsT = InferenceComponentComputeResourceRequirements>
159 template <
typename BaseInferenceComponentNameT = Aws::String>
161 m_baseInferenceComponentNameHasBeenSet =
true;
162 m_baseInferenceComponentName = std::forward<BaseInferenceComponentNameT>(value);
164 template <
typename BaseInferenceComponentNameT = Aws::String>
177 template <
typename DataCacheConfigT = InferenceComponentDataCacheConfig>
179 m_dataCacheConfigHasBeenSet =
true;
180 m_dataCacheConfig = std::forward<DataCacheConfigT>(value);
182 template <
typename DataCacheConfigT = InferenceComponentDataCacheConfig>
196 template <
typename SchedulingConfigT = InferenceComponentSchedulingConfig>
198 m_schedulingConfigHasBeenSet =
true;
199 m_schedulingConfig = std::forward<SchedulingConfigT>(value);
201 template <
typename SchedulingConfigT = InferenceComponentSchedulingConfig>
212 InferenceComponentContainerSpecification m_container;
214 InferenceComponentStartupParameters m_startupParameters;
216 InferenceComponentComputeResourceRequirements m_computeResourceRequirements;
220 InferenceComponentDataCacheConfig m_dataCacheConfig;
222 InferenceComponentSchedulingConfig m_schedulingConfig;
223 bool m_instanceTypeHasBeenSet =
false;
224 bool m_modelNameHasBeenSet =
false;
225 bool m_containerHasBeenSet =
false;
226 bool m_startupParametersHasBeenSet =
false;
227 bool m_computeResourceRequirementsHasBeenSet =
false;
228 bool m_baseInferenceComponentNameHasBeenSet =
false;
229 bool m_dataCacheConfigHasBeenSet =
false;
230 bool m_schedulingConfigHasBeenSet =
false;
void SetContainer(ContainerT &&value)
void SetComputeResourceRequirements(ComputeResourceRequirementsT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
bool InstanceTypeHasBeenSet() const
InferenceComponentSpecification & WithModelName(ModelNameT &&value)
AWS_SAGEMAKER_API InferenceComponentSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDataCacheConfig(DataCacheConfigT &&value)
const InferenceComponentSchedulingConfig & GetSchedulingConfig() const
void SetInstanceType(ProductionVariantInstanceType value)
void SetModelName(ModelNameT &&value)
void SetStartupParameters(StartupParametersT &&value)
void SetBaseInferenceComponentName(BaseInferenceComponentNameT &&value)
InferenceComponentSpecification & WithBaseInferenceComponentName(BaseInferenceComponentNameT &&value)
InferenceComponentSpecification & WithContainer(ContainerT &&value)
InferenceComponentSpecification & WithInstanceType(ProductionVariantInstanceType value)
void SetSchedulingConfig(SchedulingConfigT &&value)
bool BaseInferenceComponentNameHasBeenSet() const
const InferenceComponentStartupParameters & GetStartupParameters() const
bool StartupParametersHasBeenSet() const
InferenceComponentSpecification & WithStartupParameters(StartupParametersT &&value)
InferenceComponentSpecification & WithComputeResourceRequirements(ComputeResourceRequirementsT &&value)
bool ComputeResourceRequirementsHasBeenSet() const
InferenceComponentSpecification & WithSchedulingConfig(SchedulingConfigT &&value)
InferenceComponentSpecification & WithDataCacheConfig(DataCacheConfigT &&value)
const InferenceComponentComputeResourceRequirements & GetComputeResourceRequirements() const
const Aws::String & GetBaseInferenceComponentName() const
const InferenceComponentContainerSpecification & GetContainer() const
bool DataCacheConfigHasBeenSet() const
const InferenceComponentDataCacheConfig & GetDataCacheConfig() const
bool SchedulingConfigHasBeenSet() const
AWS_SAGEMAKER_API InferenceComponentSpecification(Aws::Utils::Json::JsonView jsonValue)
ProductionVariantInstanceType GetInstanceType() const
bool ContainerHasBeenSet() const
const Aws::String & GetModelName() const
AWS_SAGEMAKER_API InferenceComponentSpecification()=default
bool ModelNameHasBeenSet() const
ProductionVariantInstanceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue