7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/model/ProductionVariantServerlessConfig.h>
11#include <aws/sagemaker/model/ProductionVariantManagedInstanceScaling.h>
12#include <aws/sagemaker/model/ProductionVariantRoutingConfig.h>
13#include <aws/sagemaker/model/DeployedImage.h>
14#include <aws/sagemaker/model/ProductionVariantStatus.h>
58 inline void SetVariantName(
const char* value) { m_variantNameHasBeenSet =
true; m_variantName.assign(value); }
86 inline void SetCurrentWeight(
double value) { m_currentWeightHasBeenSet =
true; m_currentWeight = value; }
97 inline void SetDesiredWeight(
double value) { m_desiredWeightHasBeenSet =
true; m_desiredWeight = value; }
189 bool m_variantNameHasBeenSet =
false;
192 bool m_deployedImagesHasBeenSet =
false;
194 double m_currentWeight;
195 bool m_currentWeightHasBeenSet =
false;
197 double m_desiredWeight;
198 bool m_desiredWeightHasBeenSet =
false;
200 int m_currentInstanceCount;
201 bool m_currentInstanceCountHasBeenSet =
false;
203 int m_desiredInstanceCount;
204 bool m_desiredInstanceCountHasBeenSet =
false;
207 bool m_variantStatusHasBeenSet =
false;
210 bool m_currentServerlessConfigHasBeenSet =
false;
213 bool m_desiredServerlessConfigHasBeenSet =
false;
216 bool m_managedInstanceScalingHasBeenSet =
false;
219 bool m_routingConfigHasBeenSet =
false;
ProductionVariantSummary & AddDeployedImages(const DeployedImage &value)
void SetDeployedImages(const Aws::Vector< DeployedImage > &value)
ProductionVariantSummary & WithCurrentServerlessConfig(const ProductionVariantServerlessConfig &value)
ProductionVariantSummary & WithVariantName(const char *value)
void SetDeployedImages(Aws::Vector< DeployedImage > &&value)
void SetVariantName(const char *value)
ProductionVariantSummary & WithDesiredWeight(double value)
ProductionVariantSummary & WithVariantStatus(const Aws::Vector< ProductionVariantStatus > &value)
AWS_SAGEMAKER_API ProductionVariantSummary()
bool CurrentWeightHasBeenSet() const
void SetVariantName(const Aws::String &value)
ProductionVariantSummary & WithDeployedImages(const Aws::Vector< DeployedImage > &value)
void SetCurrentServerlessConfig(ProductionVariantServerlessConfig &&value)
void SetDesiredWeight(double value)
void SetCurrentWeight(double value)
ProductionVariantSummary & WithDeployedImages(Aws::Vector< DeployedImage > &&value)
ProductionVariantSummary & WithManagedInstanceScaling(const ProductionVariantManagedInstanceScaling &value)
int GetCurrentInstanceCount() const
int GetDesiredInstanceCount() const
bool VariantNameHasBeenSet() const
bool ManagedInstanceScalingHasBeenSet() const
const ProductionVariantManagedInstanceScaling & GetManagedInstanceScaling() const
AWS_SAGEMAKER_API ProductionVariantSummary(Aws::Utils::Json::JsonView jsonValue)
ProductionVariantSummary & AddVariantStatus(const ProductionVariantStatus &value)
bool DeployedImagesHasBeenSet() const
void SetVariantStatus(const Aws::Vector< ProductionVariantStatus > &value)
double GetDesiredWeight() const
ProductionVariantSummary & WithCurrentInstanceCount(int value)
double GetCurrentWeight() const
const Aws::Vector< DeployedImage > & GetDeployedImages() const
ProductionVariantSummary & WithDesiredInstanceCount(int value)
ProductionVariantSummary & WithVariantStatus(Aws::Vector< ProductionVariantStatus > &&value)
void SetCurrentServerlessConfig(const ProductionVariantServerlessConfig &value)
ProductionVariantSummary & WithDesiredServerlessConfig(const ProductionVariantServerlessConfig &value)
void SetRoutingConfig(ProductionVariantRoutingConfig &&value)
ProductionVariantSummary & WithVariantName(const Aws::String &value)
void SetVariantStatus(Aws::Vector< ProductionVariantStatus > &&value)
bool DesiredWeightHasBeenSet() const
void SetDesiredInstanceCount(int value)
ProductionVariantSummary & WithDesiredServerlessConfig(ProductionVariantServerlessConfig &&value)
ProductionVariantSummary & AddVariantStatus(ProductionVariantStatus &&value)
const ProductionVariantRoutingConfig & GetRoutingConfig() const
bool CurrentServerlessConfigHasBeenSet() const
ProductionVariantSummary & WithManagedInstanceScaling(ProductionVariantManagedInstanceScaling &&value)
const ProductionVariantServerlessConfig & GetDesiredServerlessConfig() const
const Aws::String & GetVariantName() const
ProductionVariantSummary & AddDeployedImages(DeployedImage &&value)
bool VariantStatusHasBeenSet() const
void SetDesiredServerlessConfig(ProductionVariantServerlessConfig &&value)
ProductionVariantSummary & WithVariantName(Aws::String &&value)
bool RoutingConfigHasBeenSet() const
bool DesiredInstanceCountHasBeenSet() const
void SetRoutingConfig(const ProductionVariantRoutingConfig &value)
AWS_SAGEMAKER_API ProductionVariantSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CurrentInstanceCountHasBeenSet() const
void SetVariantName(Aws::String &&value)
ProductionVariantSummary & WithCurrentServerlessConfig(ProductionVariantServerlessConfig &&value)
void SetManagedInstanceScaling(const ProductionVariantManagedInstanceScaling &value)
ProductionVariantSummary & WithRoutingConfig(const ProductionVariantRoutingConfig &value)
ProductionVariantSummary & WithRoutingConfig(ProductionVariantRoutingConfig &&value)
void SetDesiredServerlessConfig(const ProductionVariantServerlessConfig &value)
ProductionVariantSummary & WithCurrentWeight(double value)
void SetCurrentInstanceCount(int value)
const ProductionVariantServerlessConfig & GetCurrentServerlessConfig() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
bool DesiredServerlessConfigHasBeenSet() const
const Aws::Vector< ProductionVariantStatus > & GetVariantStatus() const
void SetManagedInstanceScaling(ProductionVariantManagedInstanceScaling &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue