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

#include <CapacitySize.h>

Public Member Functions

 CapacitySize ()
 
 CapacitySize (Aws::Utils::Json::JsonView jsonValue)
 
CapacitySizeoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const CapacitySizeTypeGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const CapacitySizeType &value)
 
void SetType (CapacitySizeType &&value)
 
CapacitySizeWithType (const CapacitySizeType &value)
 
CapacitySizeWithType (CapacitySizeType &&value)
 
int GetValue () const
 
bool ValueHasBeenSet () const
 
void SetValue (int value)
 
CapacitySizeWithValue (int value)
 

Detailed Description

Specifies the endpoint capacity to activate for production.

See Also:

AWS API Reference

Definition at line 32 of file CapacitySize.h.

Constructor & Destructor Documentation

◆ CapacitySize() [1/2]

Aws::SageMaker::Model::CapacitySize::CapacitySize ( )

◆ CapacitySize() [2/2]

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

Member Function Documentation

◆ GetType()

const CapacitySizeType& Aws::SageMaker::Model::CapacitySize::GetType ( ) const
inline

Specifies the endpoint capacity type.

  • INSTANCE_COUNT: The endpoint activates based on the number of instances.

  • CAPACITY_PERCENT: The endpoint activates based on the specified percentage of capacity.

Definition at line 47 of file CapacitySize.h.

◆ GetValue()

int Aws::SageMaker::Model::CapacitySize::GetValue ( ) const
inline

Defines the capacity size, either as a number of instances or a capacity percentage.

Definition at line 94 of file CapacitySize.h.

◆ Jsonize()

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

◆ operator=()

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

◆ SetType() [1/2]

void Aws::SageMaker::Model::CapacitySize::SetType ( CapacitySizeType &&  value)
inline

Specifies the endpoint capacity type.

  • INSTANCE_COUNT: The endpoint activates based on the number of instances.

  • CAPACITY_PERCENT: The endpoint activates based on the specified percentage of capacity.

Definition at line 71 of file CapacitySize.h.

◆ SetType() [2/2]

void Aws::SageMaker::Model::CapacitySize::SetType ( const CapacitySizeType value)
inline

Specifies the endpoint capacity type.

  • INSTANCE_COUNT: The endpoint activates based on the number of instances.

  • CAPACITY_PERCENT: The endpoint activates based on the specified percentage of capacity.

Definition at line 63 of file CapacitySize.h.

◆ SetValue()

void Aws::SageMaker::Model::CapacitySize::SetValue ( int  value)
inline

Defines the capacity size, either as a number of instances or a capacity percentage.

Definition at line 106 of file CapacitySize.h.

◆ TypeHasBeenSet()

bool Aws::SageMaker::Model::CapacitySize::TypeHasBeenSet ( ) const
inline

Specifies the endpoint capacity type.

  • INSTANCE_COUNT: The endpoint activates based on the number of instances.

  • CAPACITY_PERCENT: The endpoint activates based on the specified percentage of capacity.

Definition at line 55 of file CapacitySize.h.

◆ ValueHasBeenSet()

bool Aws::SageMaker::Model::CapacitySize::ValueHasBeenSet ( ) const
inline

Defines the capacity size, either as a number of instances or a capacity percentage.

Definition at line 100 of file CapacitySize.h.

◆ WithType() [1/2]

CapacitySize& Aws::SageMaker::Model::CapacitySize::WithType ( CapacitySizeType &&  value)
inline

Specifies the endpoint capacity type.

  • INSTANCE_COUNT: The endpoint activates based on the number of instances.

  • CAPACITY_PERCENT: The endpoint activates based on the specified percentage of capacity.

Definition at line 87 of file CapacitySize.h.

◆ WithType() [2/2]

CapacitySize& Aws::SageMaker::Model::CapacitySize::WithType ( const CapacitySizeType value)
inline

Specifies the endpoint capacity type.

  • INSTANCE_COUNT: The endpoint activates based on the number of instances.

  • CAPACITY_PERCENT: The endpoint activates based on the specified percentage of capacity.

Definition at line 79 of file CapacitySize.h.

◆ WithValue()

CapacitySize& Aws::SageMaker::Model::CapacitySize::WithValue ( int  value)
inline

Defines the capacity size, either as a number of instances or a capacity percentage.

Definition at line 112 of file CapacitySize.h.


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