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>
48 template <
typename ModelNameT = Aws::String>
50 m_modelNameHasBeenSet =
true;
51 m_modelName = std::forward<ModelNameT>(value);
53 template <
typename ModelNameT = Aws::String>
67 template <
typename ContainerT = InferenceComponentContainerSpecification>
69 m_containerHasBeenSet =
true;
70 m_container = std::forward<ContainerT>(value);
72 template <
typename ContainerT = InferenceComponentContainerSpecification>
85 template <
typename StartupParametersT = InferenceComponentStartupParameters>
87 m_startupParametersHasBeenSet =
true;
88 m_startupParameters = std::forward<StartupParametersT>(value);
90 template <
typename StartupParametersT = InferenceComponentStartupParameters>
106 return m_computeResourceRequirements;
109 template <
typename ComputeResourceRequirementsT = InferenceComponentComputeResourceRequirements>
111 m_computeResourceRequirementsHasBeenSet =
true;
112 m_computeResourceRequirements = std::forward<ComputeResourceRequirementsT>(value);
114 template <
typename ComputeResourceRequirementsT = InferenceComponentComputeResourceRequirements>
140 template <
typename BaseInferenceComponentNameT = Aws::String>
142 m_baseInferenceComponentNameHasBeenSet =
true;
143 m_baseInferenceComponentName = std::forward<BaseInferenceComponentNameT>(value);
145 template <
typename BaseInferenceComponentNameT = Aws::String>
158 template <
typename DataCacheConfigT = InferenceComponentDataCacheConfig>
160 m_dataCacheConfigHasBeenSet =
true;
161 m_dataCacheConfig = std::forward<DataCacheConfigT>(value);
163 template <
typename DataCacheConfigT = InferenceComponentDataCacheConfig>
177 template <
typename SchedulingConfigT = InferenceComponentSchedulingConfig>
179 m_schedulingConfigHasBeenSet =
true;
180 m_schedulingConfig = std::forward<SchedulingConfigT>(value);
182 template <
typename SchedulingConfigT = InferenceComponentSchedulingConfig>
202 bool m_modelNameHasBeenSet =
false;
203 bool m_containerHasBeenSet =
false;
204 bool m_startupParametersHasBeenSet =
false;
205 bool m_computeResourceRequirementsHasBeenSet =
false;
206 bool m_baseInferenceComponentNameHasBeenSet =
false;
207 bool m_dataCacheConfigHasBeenSet =
false;
208 bool m_schedulingConfigHasBeenSet =
false;
void SetContainer(ContainerT &&value)
void SetComputeResourceRequirements(ComputeResourceRequirementsT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
InferenceComponentSpecification & WithModelName(ModelNameT &&value)
AWS_SAGEMAKER_API InferenceComponentSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDataCacheConfig(DataCacheConfigT &&value)
const InferenceComponentSchedulingConfig & GetSchedulingConfig() const
void SetModelName(ModelNameT &&value)
void SetStartupParameters(StartupParametersT &&value)
void SetBaseInferenceComponentName(BaseInferenceComponentNameT &&value)
InferenceComponentSpecification & WithBaseInferenceComponentName(BaseInferenceComponentNameT &&value)
InferenceComponentSpecification & WithContainer(ContainerT &&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)
bool ContainerHasBeenSet() const
const Aws::String & GetModelName() const
AWS_SAGEMAKER_API InferenceComponentSpecification()=default
bool ModelNameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue