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/InferenceComponentContainerSpecificationSummary.h>
11#include <aws/sagemaker/model/InferenceComponentDataCacheConfigSummary.h>
12#include <aws/sagemaker/model/InferenceComponentSchedulingConfig.h>
13#include <aws/sagemaker/model/InferenceComponentStartupParameters.h>
14#include <aws/sagemaker/model/ProductionVariantInstanceType.h>
49 m_instanceTypeHasBeenSet =
true;
50 m_instanceType = value;
65 template <
typename ModelNameT = Aws::String>
67 m_modelNameHasBeenSet =
true;
68 m_modelName = std::forward<ModelNameT>(value);
70 template <
typename ModelNameT = Aws::String>
84 template <
typename ContainerT = InferenceComponentContainerSpecificationSummary>
86 m_containerHasBeenSet =
true;
87 m_container = std::forward<ContainerT>(value);
89 template <
typename ContainerT = InferenceComponentContainerSpecificationSummary>
102 template <
typename StartupParametersT = InferenceComponentStartupParameters>
104 m_startupParametersHasBeenSet =
true;
105 m_startupParameters = std::forward<StartupParametersT>(value);
107 template <
typename StartupParametersT = InferenceComponentStartupParameters>
120 return m_computeResourceRequirements;
123 template <
typename ComputeResourceRequirementsT = InferenceComponentComputeResourceRequirements>
125 m_computeResourceRequirementsHasBeenSet =
true;
126 m_computeResourceRequirements = std::forward<ComputeResourceRequirementsT>(value);
128 template <
typename ComputeResourceRequirementsT = InferenceComponentComputeResourceRequirements>
142 template <
typename BaseInferenceComponentNameT = Aws::String>
144 m_baseInferenceComponentNameHasBeenSet =
true;
145 m_baseInferenceComponentName = std::forward<BaseInferenceComponentNameT>(value);
147 template <
typename BaseInferenceComponentNameT = Aws::String>
160 template <
typename DataCacheConfigT = InferenceComponentDataCacheConfigSummary>
162 m_dataCacheConfigHasBeenSet =
true;
163 m_dataCacheConfig = std::forward<DataCacheConfigT>(value);
165 template <
typename DataCacheConfigT = InferenceComponentDataCacheConfigSummary>
179 template <
typename SchedulingConfigT = InferenceComponentSchedulingConfig>
181 m_schedulingConfigHasBeenSet =
true;
182 m_schedulingConfig = std::forward<SchedulingConfigT>(value);
184 template <
typename SchedulingConfigT = InferenceComponentSchedulingConfig>
195 InferenceComponentContainerSpecificationSummary m_container;
197 InferenceComponentStartupParameters m_startupParameters;
199 InferenceComponentComputeResourceRequirements m_computeResourceRequirements;
203 InferenceComponentDataCacheConfigSummary m_dataCacheConfig;
205 InferenceComponentSchedulingConfig m_schedulingConfig;
206 bool m_instanceTypeHasBeenSet =
false;
207 bool m_modelNameHasBeenSet =
false;
208 bool m_containerHasBeenSet =
false;
209 bool m_startupParametersHasBeenSet =
false;
210 bool m_computeResourceRequirementsHasBeenSet =
false;
211 bool m_baseInferenceComponentNameHasBeenSet =
false;
212 bool m_dataCacheConfigHasBeenSet =
false;
213 bool m_schedulingConfigHasBeenSet =
false;
const InferenceComponentStartupParameters & GetStartupParameters() const
void SetInstanceType(ProductionVariantInstanceType value)
bool ContainerHasBeenSet() const
InferenceComponentSpecificationSummary & WithContainer(ContainerT &&value)
InferenceComponentSpecificationSummary & WithComputeResourceRequirements(ComputeResourceRequirementsT &&value)
bool ModelNameHasBeenSet() const
void SetSchedulingConfig(SchedulingConfigT &&value)
AWS_SAGEMAKER_API InferenceComponentSpecificationSummary()=default
InferenceComponentSpecificationSummary & WithInstanceType(ProductionVariantInstanceType value)
bool DataCacheConfigHasBeenSet() const
bool InstanceTypeHasBeenSet() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const InferenceComponentContainerSpecificationSummary & GetContainer() const
void SetComputeResourceRequirements(ComputeResourceRequirementsT &&value)
InferenceComponentSpecificationSummary & WithStartupParameters(StartupParametersT &&value)
const Aws::String & GetBaseInferenceComponentName() const
InferenceComponentSpecificationSummary & WithSchedulingConfig(SchedulingConfigT &&value)
bool StartupParametersHasBeenSet() const
const Aws::String & GetModelName() const
bool BaseInferenceComponentNameHasBeenSet() const
void SetModelName(ModelNameT &&value)
const InferenceComponentDataCacheConfigSummary & GetDataCacheConfig() const
const InferenceComponentSchedulingConfig & GetSchedulingConfig() const
InferenceComponentSpecificationSummary & WithDataCacheConfig(DataCacheConfigT &&value)
void SetBaseInferenceComponentName(BaseInferenceComponentNameT &&value)
void SetContainer(ContainerT &&value)
InferenceComponentSpecificationSummary & WithBaseInferenceComponentName(BaseInferenceComponentNameT &&value)
InferenceComponentSpecificationSummary & WithModelName(ModelNameT &&value)
const InferenceComponentComputeResourceRequirements & GetComputeResourceRequirements() const
void SetDataCacheConfig(DataCacheConfigT &&value)
AWS_SAGEMAKER_API InferenceComponentSpecificationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SchedulingConfigHasBeenSet() const
AWS_SAGEMAKER_API InferenceComponentSpecificationSummary(Aws::Utils::Json::JsonView jsonValue)
ProductionVariantInstanceType GetInstanceType() const
void SetStartupParameters(StartupParametersT &&value)
bool ComputeResourceRequirementsHasBeenSet() const
ProductionVariantInstanceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue