7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ProductionVariantInstanceType.h>
10#include <aws/sagemaker/model/ProductionVariantAcceleratorType.h>
11#include <aws/sagemaker/model/ProductionVariantCoreDumpConfig.h>
12#include <aws/sagemaker/model/ProductionVariantServerlessConfig.h>
13#include <aws/sagemaker/model/ProductionVariantManagedInstanceScaling.h>
14#include <aws/sagemaker/model/ProductionVariantRoutingConfig.h>
15#include <aws/sagemaker/model/ProductionVariantInferenceAmiVersion.h>
60 inline void SetVariantName(
const char* value) { m_variantNameHasBeenSet =
true; m_variantName.assign(value); }
75 inline void SetModelName(
const char* value) { m_modelNameHasBeenSet =
true; m_modelName.assign(value); }
87 inline void SetInitialInstanceCount(
int value) { m_initialInstanceCountHasBeenSet =
true; m_initialInstanceCount = value; }
113 inline void SetInitialVariantWeight(
double value) { m_initialVariantWeightHasBeenSet =
true; m_initialVariantWeight = value; }
165 inline void SetVolumeSizeInGB(
int value) { m_volumeSizeInGBHasBeenSet =
true; m_volumeSizeInGB = value; }
205 inline void SetEnableSSMAccess(
bool value) { m_enableSSMAccessHasBeenSet =
true; m_enableSSMAccess = value; }
261 bool m_variantNameHasBeenSet =
false;
264 bool m_modelNameHasBeenSet =
false;
266 int m_initialInstanceCount;
267 bool m_initialInstanceCountHasBeenSet =
false;
270 bool m_instanceTypeHasBeenSet =
false;
272 double m_initialVariantWeight;
273 bool m_initialVariantWeightHasBeenSet =
false;
276 bool m_acceleratorTypeHasBeenSet =
false;
279 bool m_coreDumpConfigHasBeenSet =
false;
282 bool m_serverlessConfigHasBeenSet =
false;
284 int m_volumeSizeInGB;
285 bool m_volumeSizeInGBHasBeenSet =
false;
287 int m_modelDataDownloadTimeoutInSeconds;
288 bool m_modelDataDownloadTimeoutInSecondsHasBeenSet =
false;
290 int m_containerStartupHealthCheckTimeoutInSeconds;
291 bool m_containerStartupHealthCheckTimeoutInSecondsHasBeenSet =
false;
293 bool m_enableSSMAccess;
294 bool m_enableSSMAccessHasBeenSet =
false;
297 bool m_managedInstanceScalingHasBeenSet =
false;
300 bool m_routingConfigHasBeenSet =
false;
303 bool m_inferenceAmiVersionHasBeenSet =
false;
void SetModelName(const char *value)
const Aws::String & GetVariantName() const
void SetManagedInstanceScaling(const ProductionVariantManagedInstanceScaling &value)
const ProductionVariantRoutingConfig & GetRoutingConfig() const
const Aws::String & GetModelName() const
void SetAcceleratorType(const ProductionVariantAcceleratorType &value)
const ProductionVariantServerlessConfig & GetServerlessConfig() const
ProductionVariant & WithInitialInstanceCount(int value)
void SetInitialVariantWeight(double value)
void SetInferenceAmiVersion(ProductionVariantInferenceAmiVersion &&value)
bool InferenceAmiVersionHasBeenSet() const
void SetRoutingConfig(const ProductionVariantRoutingConfig &value)
ProductionVariant & WithVariantName(const Aws::String &value)
void SetContainerStartupHealthCheckTimeoutInSeconds(int value)
ProductionVariant & WithInferenceAmiVersion(ProductionVariantInferenceAmiVersion &&value)
void SetCoreDumpConfig(ProductionVariantCoreDumpConfig &&value)
const ProductionVariantManagedInstanceScaling & GetManagedInstanceScaling() const
void SetVariantName(const char *value)
ProductionVariant & WithContainerStartupHealthCheckTimeoutInSeconds(int value)
ProductionVariant & WithInitialVariantWeight(double value)
ProductionVariant & WithInferenceAmiVersion(const ProductionVariantInferenceAmiVersion &value)
void SetModelDataDownloadTimeoutInSeconds(int value)
AWS_SAGEMAKER_API ProductionVariant()
bool ServerlessConfigHasBeenSet() const
void SetModelName(Aws::String &&value)
ProductionVariant & WithVariantName(const char *value)
void SetEnableSSMAccess(bool value)
ProductionVariant & WithRoutingConfig(const ProductionVariantRoutingConfig &value)
ProductionVariant & WithModelName(const Aws::String &value)
bool ModelDataDownloadTimeoutInSecondsHasBeenSet() const
void SetAcceleratorType(ProductionVariantAcceleratorType &&value)
AWS_SAGEMAKER_API ProductionVariant & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetModelDataDownloadTimeoutInSeconds() const
void SetManagedInstanceScaling(ProductionVariantManagedInstanceScaling &&value)
const ProductionVariantInferenceAmiVersion & GetInferenceAmiVersion() const
ProductionVariant & WithVolumeSizeInGB(int value)
void SetInstanceType(const ProductionVariantInstanceType &value)
ProductionVariant & WithModelName(Aws::String &&value)
int GetContainerStartupHealthCheckTimeoutInSeconds() const
bool RoutingConfigHasBeenSet() const
ProductionVariant & WithModelDataDownloadTimeoutInSeconds(int value)
double GetInitialVariantWeight() const
ProductionVariant & WithRoutingConfig(ProductionVariantRoutingConfig &&value)
bool InitialVariantWeightHasBeenSet() const
void SetVolumeSizeInGB(int value)
bool InitialInstanceCountHasBeenSet() const
ProductionVariant & WithManagedInstanceScaling(const ProductionVariantManagedInstanceScaling &value)
const ProductionVariantAcceleratorType & GetAcceleratorType() const
bool AcceleratorTypeHasBeenSet() const
AWS_SAGEMAKER_API ProductionVariant(Aws::Utils::Json::JsonView jsonValue)
void SetServerlessConfig(ProductionVariantServerlessConfig &&value)
bool InstanceTypeHasBeenSet() const
ProductionVariant & WithVariantName(Aws::String &&value)
void SetVariantName(const Aws::String &value)
ProductionVariant & WithCoreDumpConfig(ProductionVariantCoreDumpConfig &&value)
const ProductionVariantCoreDumpConfig & GetCoreDumpConfig() const
void SetModelName(const Aws::String &value)
ProductionVariant & WithCoreDumpConfig(const ProductionVariantCoreDumpConfig &value)
ProductionVariant & WithModelName(const char *value)
ProductionVariant & WithEnableSSMAccess(bool value)
bool VariantNameHasBeenSet() const
ProductionVariant & WithServerlessConfig(ProductionVariantServerlessConfig &&value)
ProductionVariant & WithAcceleratorType(ProductionVariantAcceleratorType &&value)
ProductionVariant & WithAcceleratorType(const ProductionVariantAcceleratorType &value)
void SetRoutingConfig(ProductionVariantRoutingConfig &&value)
const ProductionVariantInstanceType & GetInstanceType() const
ProductionVariant & WithInstanceType(ProductionVariantInstanceType &&value)
int GetInitialInstanceCount() const
void SetInstanceType(ProductionVariantInstanceType &&value)
void SetInitialInstanceCount(int value)
bool CoreDumpConfigHasBeenSet() const
void SetCoreDumpConfig(const ProductionVariantCoreDumpConfig &value)
bool GetEnableSSMAccess() const
void SetInferenceAmiVersion(const ProductionVariantInferenceAmiVersion &value)
bool VolumeSizeInGBHasBeenSet() const
bool ManagedInstanceScalingHasBeenSet() const
ProductionVariant & WithInstanceType(const ProductionVariantInstanceType &value)
ProductionVariant & WithManagedInstanceScaling(ProductionVariantManagedInstanceScaling &&value)
ProductionVariant & WithServerlessConfig(const ProductionVariantServerlessConfig &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
bool EnableSSMAccessHasBeenSet() const
bool ModelNameHasBeenSet() const
void SetServerlessConfig(const ProductionVariantServerlessConfig &value)
bool ContainerStartupHealthCheckTimeoutInSecondsHasBeenSet() const
int GetVolumeSizeInGB() const
void SetVariantName(Aws::String &&value)
ProductionVariantInstanceType
ProductionVariantAcceleratorType
ProductionVariantInferenceAmiVersion
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue