7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ProductionVariantServerlessUpdateConfig.h>
50 inline void SetVariantName(
const char* value) { m_variantNameHasBeenSet =
true; m_variantName.assign(value); }
62 inline void SetDesiredWeight(
double value) { m_desiredWeightHasBeenSet =
true; m_desiredWeight = value; }
72 inline void SetDesiredInstanceCount(
int value) { m_desiredInstanceCountHasBeenSet =
true; m_desiredInstanceCount = value; }
91 bool m_variantNameHasBeenSet =
false;
93 double m_desiredWeight;
94 bool m_desiredWeightHasBeenSet =
false;
96 int m_desiredInstanceCount;
97 bool m_desiredInstanceCountHasBeenSet =
false;
100 bool m_serverlessUpdateConfigHasBeenSet =
false;
DesiredWeightAndCapacity & WithVariantName(const Aws::String &value)
AWS_SAGEMAKER_API DesiredWeightAndCapacity(Aws::Utils::Json::JsonView jsonValue)
void SetDesiredWeight(double value)
AWS_SAGEMAKER_API DesiredWeightAndCapacity & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetDesiredInstanceCount() const
bool VariantNameHasBeenSet() const
bool DesiredInstanceCountHasBeenSet() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
DesiredWeightAndCapacity & WithVariantName(const char *value)
DesiredWeightAndCapacity & WithDesiredWeight(double value)
void SetServerlessUpdateConfig(ProductionVariantServerlessUpdateConfig &&value)
const Aws::String & GetVariantName() const
const ProductionVariantServerlessUpdateConfig & GetServerlessUpdateConfig() const
void SetDesiredInstanceCount(int value)
bool DesiredWeightHasBeenSet() const
DesiredWeightAndCapacity & WithServerlessUpdateConfig(const ProductionVariantServerlessUpdateConfig &value)
AWS_SAGEMAKER_API DesiredWeightAndCapacity()
DesiredWeightAndCapacity & WithServerlessUpdateConfig(ProductionVariantServerlessUpdateConfig &&value)
void SetVariantName(Aws::String &&value)
void SetVariantName(const Aws::String &value)
void SetVariantName(const char *value)
double GetDesiredWeight() const
DesiredWeightAndCapacity & WithVariantName(Aws::String &&value)
DesiredWeightAndCapacity & WithDesiredInstanceCount(int value)
void SetServerlessUpdateConfig(const ProductionVariantServerlessUpdateConfig &value)
bool ServerlessUpdateConfigHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue