AWS SDK for C++  1.9.155
AWS SDK for C++
Public Member Functions | List of all members
Aws::SageMaker::Model::ProductionVariant Class Reference

#include <ProductionVariant.h>

Public Member Functions

 ProductionVariant ()
 
 ProductionVariant (Aws::Utils::Json::JsonView jsonValue)
 
ProductionVariantoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetVariantName () const
 
bool VariantNameHasBeenSet () const
 
void SetVariantName (const Aws::String &value)
 
void SetVariantName (Aws::String &&value)
 
void SetVariantName (const char *value)
 
ProductionVariantWithVariantName (const Aws::String &value)
 
ProductionVariantWithVariantName (Aws::String &&value)
 
ProductionVariantWithVariantName (const char *value)
 
const Aws::StringGetModelName () const
 
bool ModelNameHasBeenSet () const
 
void SetModelName (const Aws::String &value)
 
void SetModelName (Aws::String &&value)
 
void SetModelName (const char *value)
 
ProductionVariantWithModelName (const Aws::String &value)
 
ProductionVariantWithModelName (Aws::String &&value)
 
ProductionVariantWithModelName (const char *value)
 
int GetInitialInstanceCount () const
 
bool InitialInstanceCountHasBeenSet () const
 
void SetInitialInstanceCount (int value)
 
ProductionVariantWithInitialInstanceCount (int value)
 
const ProductionVariantInstanceTypeGetInstanceType () const
 
bool InstanceTypeHasBeenSet () const
 
void SetInstanceType (const ProductionVariantInstanceType &value)
 
void SetInstanceType (ProductionVariantInstanceType &&value)
 
ProductionVariantWithInstanceType (const ProductionVariantInstanceType &value)
 
ProductionVariantWithInstanceType (ProductionVariantInstanceType &&value)
 
double GetInitialVariantWeight () const
 
bool InitialVariantWeightHasBeenSet () const
 
void SetInitialVariantWeight (double value)
 
ProductionVariantWithInitialVariantWeight (double value)
 
const ProductionVariantAcceleratorTypeGetAcceleratorType () const
 
bool AcceleratorTypeHasBeenSet () const
 
void SetAcceleratorType (const ProductionVariantAcceleratorType &value)
 
void SetAcceleratorType (ProductionVariantAcceleratorType &&value)
 
ProductionVariantWithAcceleratorType (const ProductionVariantAcceleratorType &value)
 
ProductionVariantWithAcceleratorType (ProductionVariantAcceleratorType &&value)
 
const ProductionVariantCoreDumpConfigGetCoreDumpConfig () const
 
bool CoreDumpConfigHasBeenSet () const
 
void SetCoreDumpConfig (const ProductionVariantCoreDumpConfig &value)
 
void SetCoreDumpConfig (ProductionVariantCoreDumpConfig &&value)
 
ProductionVariantWithCoreDumpConfig (const ProductionVariantCoreDumpConfig &value)
 
ProductionVariantWithCoreDumpConfig (ProductionVariantCoreDumpConfig &&value)
 

Detailed Description

Identifies a model that you want to host and the resources chosen to deploy for hosting it. If you are deploying multiple models, tell Amazon SageMaker how to distribute traffic among the models by specifying variant weights.

See Also:

AWS API Reference

Definition at line 37 of file ProductionVariant.h.

Constructor & Destructor Documentation

◆ ProductionVariant() [1/2]

Aws::SageMaker::Model::ProductionVariant::ProductionVariant ( )

◆ ProductionVariant() [2/2]

Aws::SageMaker::Model::ProductionVariant::ProductionVariant ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AcceleratorTypeHasBeenSet()

bool Aws::SageMaker::Model::ProductionVariant::AcceleratorTypeHasBeenSet ( ) const
inline

The size of the Elastic Inference (EI) instance to use for the production variant. EI instances provide on-demand GPU computing for inference. For more information, see Using Elastic Inference in Amazon SageMaker.

Definition at line 241 of file ProductionVariant.h.

◆ CoreDumpConfigHasBeenSet()

bool Aws::SageMaker::Model::ProductionVariant::CoreDumpConfigHasBeenSet ( ) const
inline

Specifies configuration for a core dump from the model container when the process crashes.

Definition at line 290 of file ProductionVariant.h.

◆ GetAcceleratorType()

const ProductionVariantAcceleratorType& Aws::SageMaker::Model::ProductionVariant::GetAcceleratorType ( ) const
inline

The size of the Elastic Inference (EI) instance to use for the production variant. EI instances provide on-demand GPU computing for inference. For more information, see Using Elastic Inference in Amazon SageMaker.

Definition at line 232 of file ProductionVariant.h.

◆ GetCoreDumpConfig()

const ProductionVariantCoreDumpConfig& Aws::SageMaker::Model::ProductionVariant::GetCoreDumpConfig ( ) const
inline

Specifies configuration for a core dump from the model container when the process crashes.

Definition at line 284 of file ProductionVariant.h.

◆ GetInitialInstanceCount()

int Aws::SageMaker::Model::ProductionVariant::GetInitialInstanceCount ( ) const
inline

Number of instances to launch initially.

Definition at line 139 of file ProductionVariant.h.

◆ GetInitialVariantWeight()

double Aws::SageMaker::Model::ProductionVariant::GetInitialVariantWeight ( ) const
inline

Determines initial traffic distribution among all of the models that you specify in the endpoint configuration. The traffic to a production variant is determined by the ratio of the VariantWeight to the sum of all VariantWeight values across all ProductionVariants. If unspecified, it defaults to 1.0.

Definition at line 195 of file ProductionVariant.h.

◆ GetInstanceType()

const ProductionVariantInstanceType& Aws::SageMaker::Model::ProductionVariant::GetInstanceType ( ) const
inline

The ML compute instance type.

Definition at line 160 of file ProductionVariant.h.

◆ GetModelName()

const Aws::String& Aws::SageMaker::Model::ProductionVariant::GetModelName ( ) const
inline

The name of the model that you want to host. This is the name that you specified when creating the model.

Definition at line 91 of file ProductionVariant.h.

◆ GetVariantName()

const Aws::String& Aws::SageMaker::Model::ProductionVariant::GetVariantName ( ) const
inline

The name of the production variant.

Definition at line 49 of file ProductionVariant.h.

◆ InitialInstanceCountHasBeenSet()

bool Aws::SageMaker::Model::ProductionVariant::InitialInstanceCountHasBeenSet ( ) const
inline

Number of instances to launch initially.

Definition at line 144 of file ProductionVariant.h.

◆ InitialVariantWeightHasBeenSet()

bool Aws::SageMaker::Model::ProductionVariant::InitialVariantWeightHasBeenSet ( ) const
inline

Determines initial traffic distribution among all of the models that you specify in the endpoint configuration. The traffic to a production variant is determined by the ratio of the VariantWeight to the sum of all VariantWeight values across all ProductionVariants. If unspecified, it defaults to 1.0.

Definition at line 204 of file ProductionVariant.h.

◆ InstanceTypeHasBeenSet()

bool Aws::SageMaker::Model::ProductionVariant::InstanceTypeHasBeenSet ( ) const
inline

The ML compute instance type.

Definition at line 165 of file ProductionVariant.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::SageMaker::Model::ProductionVariant::Jsonize ( ) const

◆ ModelNameHasBeenSet()

bool Aws::SageMaker::Model::ProductionVariant::ModelNameHasBeenSet ( ) const
inline

The name of the model that you want to host. This is the name that you specified when creating the model.

Definition at line 97 of file ProductionVariant.h.

◆ operator=()

ProductionVariant& Aws::SageMaker::Model::ProductionVariant::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetAcceleratorType() [1/2]

void Aws::SageMaker::Model::ProductionVariant::SetAcceleratorType ( const ProductionVariantAcceleratorType value)
inline

The size of the Elastic Inference (EI) instance to use for the production variant. EI instances provide on-demand GPU computing for inference. For more information, see Using Elastic Inference in Amazon SageMaker.

Definition at line 250 of file ProductionVariant.h.

◆ SetAcceleratorType() [2/2]

void Aws::SageMaker::Model::ProductionVariant::SetAcceleratorType ( ProductionVariantAcceleratorType &&  value)
inline

The size of the Elastic Inference (EI) instance to use for the production variant. EI instances provide on-demand GPU computing for inference. For more information, see Using Elastic Inference in Amazon SageMaker.

Definition at line 259 of file ProductionVariant.h.

◆ SetCoreDumpConfig() [1/2]

void Aws::SageMaker::Model::ProductionVariant::SetCoreDumpConfig ( const ProductionVariantCoreDumpConfig value)
inline

Specifies configuration for a core dump from the model container when the process crashes.

Definition at line 296 of file ProductionVariant.h.

◆ SetCoreDumpConfig() [2/2]

void Aws::SageMaker::Model::ProductionVariant::SetCoreDumpConfig ( ProductionVariantCoreDumpConfig &&  value)
inline

Specifies configuration for a core dump from the model container when the process crashes.

Definition at line 302 of file ProductionVariant.h.

◆ SetInitialInstanceCount()

void Aws::SageMaker::Model::ProductionVariant::SetInitialInstanceCount ( int  value)
inline

Number of instances to launch initially.

Definition at line 149 of file ProductionVariant.h.

◆ SetInitialVariantWeight()

void Aws::SageMaker::Model::ProductionVariant::SetInitialVariantWeight ( double  value)
inline

Determines initial traffic distribution among all of the models that you specify in the endpoint configuration. The traffic to a production variant is determined by the ratio of the VariantWeight to the sum of all VariantWeight values across all ProductionVariants. If unspecified, it defaults to 1.0.

Definition at line 213 of file ProductionVariant.h.

◆ SetInstanceType() [1/2]

void Aws::SageMaker::Model::ProductionVariant::SetInstanceType ( const ProductionVariantInstanceType value)
inline

The ML compute instance type.

Definition at line 170 of file ProductionVariant.h.

◆ SetInstanceType() [2/2]

void Aws::SageMaker::Model::ProductionVariant::SetInstanceType ( ProductionVariantInstanceType &&  value)
inline

The ML compute instance type.

Definition at line 175 of file ProductionVariant.h.

◆ SetModelName() [1/3]

void Aws::SageMaker::Model::ProductionVariant::SetModelName ( Aws::String &&  value)
inline

The name of the model that you want to host. This is the name that you specified when creating the model.

Definition at line 109 of file ProductionVariant.h.

◆ SetModelName() [2/3]

void Aws::SageMaker::Model::ProductionVariant::SetModelName ( const Aws::String value)
inline

The name of the model that you want to host. This is the name that you specified when creating the model.

Definition at line 103 of file ProductionVariant.h.

◆ SetModelName() [3/3]

void Aws::SageMaker::Model::ProductionVariant::SetModelName ( const char *  value)
inline

The name of the model that you want to host. This is the name that you specified when creating the model.

Definition at line 115 of file ProductionVariant.h.

◆ SetVariantName() [1/3]

void Aws::SageMaker::Model::ProductionVariant::SetVariantName ( Aws::String &&  value)
inline

The name of the production variant.

Definition at line 64 of file ProductionVariant.h.

◆ SetVariantName() [2/3]

void Aws::SageMaker::Model::ProductionVariant::SetVariantName ( const Aws::String value)
inline

The name of the production variant.

Definition at line 59 of file ProductionVariant.h.

◆ SetVariantName() [3/3]

void Aws::SageMaker::Model::ProductionVariant::SetVariantName ( const char *  value)
inline

The name of the production variant.

Definition at line 69 of file ProductionVariant.h.

◆ VariantNameHasBeenSet()

bool Aws::SageMaker::Model::ProductionVariant::VariantNameHasBeenSet ( ) const
inline

The name of the production variant.

Definition at line 54 of file ProductionVariant.h.

◆ WithAcceleratorType() [1/2]

ProductionVariant& Aws::SageMaker::Model::ProductionVariant::WithAcceleratorType ( const ProductionVariantAcceleratorType value)
inline

The size of the Elastic Inference (EI) instance to use for the production variant. EI instances provide on-demand GPU computing for inference. For more information, see Using Elastic Inference in Amazon SageMaker.

Definition at line 268 of file ProductionVariant.h.

◆ WithAcceleratorType() [2/2]

ProductionVariant& Aws::SageMaker::Model::ProductionVariant::WithAcceleratorType ( ProductionVariantAcceleratorType &&  value)
inline

The size of the Elastic Inference (EI) instance to use for the production variant. EI instances provide on-demand GPU computing for inference. For more information, see Using Elastic Inference in Amazon SageMaker.

Definition at line 277 of file ProductionVariant.h.

◆ WithCoreDumpConfig() [1/2]

ProductionVariant& Aws::SageMaker::Model::ProductionVariant::WithCoreDumpConfig ( const ProductionVariantCoreDumpConfig value)
inline

Specifies configuration for a core dump from the model container when the process crashes.

Definition at line 308 of file ProductionVariant.h.

◆ WithCoreDumpConfig() [2/2]

ProductionVariant& Aws::SageMaker::Model::ProductionVariant::WithCoreDumpConfig ( ProductionVariantCoreDumpConfig &&  value)
inline

Specifies configuration for a core dump from the model container when the process crashes.

Definition at line 314 of file ProductionVariant.h.

◆ WithInitialInstanceCount()

ProductionVariant& Aws::SageMaker::Model::ProductionVariant::WithInitialInstanceCount ( int  value)
inline

Number of instances to launch initially.

Definition at line 154 of file ProductionVariant.h.

◆ WithInitialVariantWeight()

ProductionVariant& Aws::SageMaker::Model::ProductionVariant::WithInitialVariantWeight ( double  value)
inline

Determines initial traffic distribution among all of the models that you specify in the endpoint configuration. The traffic to a production variant is determined by the ratio of the VariantWeight to the sum of all VariantWeight values across all ProductionVariants. If unspecified, it defaults to 1.0.

Definition at line 222 of file ProductionVariant.h.

◆ WithInstanceType() [1/2]

ProductionVariant& Aws::SageMaker::Model::ProductionVariant::WithInstanceType ( const ProductionVariantInstanceType value)
inline

The ML compute instance type.

Definition at line 180 of file ProductionVariant.h.

◆ WithInstanceType() [2/2]

ProductionVariant& Aws::SageMaker::Model::ProductionVariant::WithInstanceType ( ProductionVariantInstanceType &&  value)
inline

The ML compute instance type.

Definition at line 185 of file ProductionVariant.h.

◆ WithModelName() [1/3]

ProductionVariant& Aws::SageMaker::Model::ProductionVariant::WithModelName ( Aws::String &&  value)
inline

The name of the model that you want to host. This is the name that you specified when creating the model.

Definition at line 127 of file ProductionVariant.h.

◆ WithModelName() [2/3]

ProductionVariant& Aws::SageMaker::Model::ProductionVariant::WithModelName ( const Aws::String value)
inline

The name of the model that you want to host. This is the name that you specified when creating the model.

Definition at line 121 of file ProductionVariant.h.

◆ WithModelName() [3/3]

ProductionVariant& Aws::SageMaker::Model::ProductionVariant::WithModelName ( const char *  value)
inline

The name of the model that you want to host. This is the name that you specified when creating the model.

Definition at line 133 of file ProductionVariant.h.

◆ WithVariantName() [1/3]

ProductionVariant& Aws::SageMaker::Model::ProductionVariant::WithVariantName ( Aws::String &&  value)
inline

The name of the production variant.

Definition at line 79 of file ProductionVariant.h.

◆ WithVariantName() [2/3]

ProductionVariant& Aws::SageMaker::Model::ProductionVariant::WithVariantName ( const Aws::String value)
inline

The name of the production variant.

Definition at line 74 of file ProductionVariant.h.

◆ WithVariantName() [3/3]

ProductionVariant& Aws::SageMaker::Model::ProductionVariant::WithVariantName ( const char *  value)
inline

The name of the production variant.

Definition at line 84 of file ProductionVariant.h.


The documentation for this class was generated from the following file: