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/InferenceComponentStartupParameters.h>
47 template <
typename ModelNameT = Aws::String>
49 m_modelNameHasBeenSet =
true;
50 m_modelName = std::forward<ModelNameT>(value);
52 template <
typename ModelNameT = Aws::String>
66 template <
typename ContainerT = InferenceComponentContainerSpecification>
68 m_containerHasBeenSet =
true;
69 m_container = std::forward<ContainerT>(value);
71 template <
typename ContainerT = InferenceComponentContainerSpecification>
84 template <
typename StartupParametersT = InferenceComponentStartupParameters>
86 m_startupParametersHasBeenSet =
true;
87 m_startupParameters = std::forward<StartupParametersT>(value);
89 template <
typename StartupParametersT = InferenceComponentStartupParameters>
105 return m_computeResourceRequirements;
108 template <
typename ComputeResourceRequirementsT = InferenceComponentComputeResourceRequirements>
110 m_computeResourceRequirementsHasBeenSet =
true;
111 m_computeResourceRequirements = std::forward<ComputeResourceRequirementsT>(value);
113 template <
typename ComputeResourceRequirementsT = InferenceComponentComputeResourceRequirements>
139 template <
typename BaseInferenceComponentNameT = Aws::String>
141 m_baseInferenceComponentNameHasBeenSet =
true;
142 m_baseInferenceComponentName = std::forward<BaseInferenceComponentNameT>(value);
144 template <
typename BaseInferenceComponentNameT = Aws::String>
157 template <
typename DataCacheConfigT = InferenceComponentDataCacheConfig>
159 m_dataCacheConfigHasBeenSet =
true;
160 m_dataCacheConfig = std::forward<DataCacheConfigT>(value);
162 template <
typename DataCacheConfigT = InferenceComponentDataCacheConfig>
180 bool m_modelNameHasBeenSet =
false;
181 bool m_containerHasBeenSet =
false;
182 bool m_startupParametersHasBeenSet =
false;
183 bool m_computeResourceRequirementsHasBeenSet =
false;
184 bool m_baseInferenceComponentNameHasBeenSet =
false;
185 bool m_dataCacheConfigHasBeenSet =
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)
void SetModelName(ModelNameT &&value)
void SetStartupParameters(StartupParametersT &&value)
void SetBaseInferenceComponentName(BaseInferenceComponentNameT &&value)
InferenceComponentSpecification & WithBaseInferenceComponentName(BaseInferenceComponentNameT &&value)
InferenceComponentSpecification & WithContainer(ContainerT &&value)
bool BaseInferenceComponentNameHasBeenSet() const
const InferenceComponentStartupParameters & GetStartupParameters() const
bool StartupParametersHasBeenSet() const
InferenceComponentSpecification & WithStartupParameters(StartupParametersT &&value)
InferenceComponentSpecification & WithComputeResourceRequirements(ComputeResourceRequirementsT &&value)
bool ComputeResourceRequirementsHasBeenSet() const
InferenceComponentSpecification & WithDataCacheConfig(DataCacheConfigT &&value)
const InferenceComponentComputeResourceRequirements & GetComputeResourceRequirements() const
const Aws::String & GetBaseInferenceComponentName() const
const InferenceComponentContainerSpecification & GetContainer() const
bool DataCacheConfigHasBeenSet() const
const InferenceComponentDataCacheConfig & GetDataCacheConfig() 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