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/ProductionVariantInstanceType.h>
11#include <aws/sagemaker/model/ProductionVariantAcceleratorType.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/DeployedImage.h>
16#include <aws/sagemaker/model/ProductionVariantStatus.h>
62 inline void SetVariantName(
const char* value) { m_variantNameHasBeenSet =
true; m_variantName.assign(value); }
90 inline void SetCurrentWeight(
double value) { m_currentWeightHasBeenSet =
true; m_currentWeight = value; }
104 inline void SetDesiredWeight(
double value) { m_desiredWeightHasBeenSet =
true; m_desiredWeight = value; }
226 bool m_variantNameHasBeenSet =
false;
229 bool m_deployedImagesHasBeenSet =
false;
231 double m_currentWeight;
232 bool m_currentWeightHasBeenSet =
false;
234 double m_desiredWeight;
235 bool m_desiredWeightHasBeenSet =
false;
237 int m_currentInstanceCount;
238 bool m_currentInstanceCountHasBeenSet =
false;
240 int m_desiredInstanceCount;
241 bool m_desiredInstanceCountHasBeenSet =
false;
244 bool m_instanceTypeHasBeenSet =
false;
247 bool m_acceleratorTypeHasBeenSet =
false;
250 bool m_variantStatusHasBeenSet =
false;
253 bool m_currentServerlessConfigHasBeenSet =
false;
256 bool m_desiredServerlessConfigHasBeenSet =
false;
259 bool m_managedInstanceScalingHasBeenSet =
false;
262 bool m_routingConfigHasBeenSet =
false;
AWS_SAGEMAKER_API PendingProductionVariantSummary(Aws::Utils::Json::JsonView jsonValue)
PendingProductionVariantSummary & WithAcceleratorType(const ProductionVariantAcceleratorType &value)
void SetCurrentInstanceCount(int value)
PendingProductionVariantSummary & AddDeployedImages(DeployedImage &&value)
void SetDesiredServerlessConfig(const ProductionVariantServerlessConfig &value)
void SetInstanceType(const ProductionVariantInstanceType &value)
void SetCurrentServerlessConfig(const ProductionVariantServerlessConfig &value)
PendingProductionVariantSummary & WithRoutingConfig(ProductionVariantRoutingConfig &&value)
const ProductionVariantRoutingConfig & GetRoutingConfig() const
const ProductionVariantAcceleratorType & GetAcceleratorType() const
bool CurrentWeightHasBeenSet() const
PendingProductionVariantSummary & WithVariantName(Aws::String &&value)
PendingProductionVariantSummary & WithVariantName(const char *value)
PendingProductionVariantSummary & WithDesiredServerlessConfig(const ProductionVariantServerlessConfig &value)
bool DesiredInstanceCountHasBeenSet() const
void SetCurrentServerlessConfig(ProductionVariantServerlessConfig &&value)
PendingProductionVariantSummary & WithCurrentServerlessConfig(ProductionVariantServerlessConfig &&value)
void SetVariantName(const char *value)
bool DesiredWeightHasBeenSet() const
PendingProductionVariantSummary & WithInstanceType(ProductionVariantInstanceType &&value)
bool CurrentServerlessConfigHasBeenSet() const
PendingProductionVariantSummary & WithDesiredInstanceCount(int value)
const Aws::Vector< ProductionVariantStatus > & GetVariantStatus() const
PendingProductionVariantSummary & WithCurrentInstanceCount(int value)
const Aws::String & GetVariantName() const
void SetDeployedImages(Aws::Vector< DeployedImage > &&value)
bool DeployedImagesHasBeenSet() const
PendingProductionVariantSummary & WithInstanceType(const ProductionVariantInstanceType &value)
PendingProductionVariantSummary & WithCurrentWeight(double value)
PendingProductionVariantSummary & WithVariantName(const Aws::String &value)
bool RoutingConfigHasBeenSet() const
PendingProductionVariantSummary & WithCurrentServerlessConfig(const ProductionVariantServerlessConfig &value)
void SetVariantStatus(const Aws::Vector< ProductionVariantStatus > &value)
PendingProductionVariantSummary & WithManagedInstanceScaling(ProductionVariantManagedInstanceScaling &&value)
void SetManagedInstanceScaling(const ProductionVariantManagedInstanceScaling &value)
void SetInstanceType(ProductionVariantInstanceType &&value)
void SetDesiredServerlessConfig(ProductionVariantServerlessConfig &&value)
bool VariantNameHasBeenSet() const
const ProductionVariantInstanceType & GetInstanceType() const
void SetManagedInstanceScaling(ProductionVariantManagedInstanceScaling &&value)
void SetDesiredWeight(double value)
int GetDesiredInstanceCount() const
bool AcceleratorTypeHasBeenSet() const
bool ManagedInstanceScalingHasBeenSet() const
void SetAcceleratorType(ProductionVariantAcceleratorType &&value)
const Aws::Vector< DeployedImage > & GetDeployedImages() const
double GetCurrentWeight() const
AWS_SAGEMAKER_API PendingProductionVariantSummary()
bool DesiredServerlessConfigHasBeenSet() const
PendingProductionVariantSummary & WithAcceleratorType(ProductionVariantAcceleratorType &&value)
PendingProductionVariantSummary & WithVariantStatus(const Aws::Vector< ProductionVariantStatus > &value)
int GetCurrentInstanceCount() const
void SetVariantName(const Aws::String &value)
const ProductionVariantServerlessConfig & GetCurrentServerlessConfig() const
bool CurrentInstanceCountHasBeenSet() const
PendingProductionVariantSummary & WithDeployedImages(Aws::Vector< DeployedImage > &&value)
bool VariantStatusHasBeenSet() const
const ProductionVariantManagedInstanceScaling & GetManagedInstanceScaling() const
PendingProductionVariantSummary & AddVariantStatus(ProductionVariantStatus &&value)
void SetDeployedImages(const Aws::Vector< DeployedImage > &value)
void SetAcceleratorType(const ProductionVariantAcceleratorType &value)
PendingProductionVariantSummary & WithDesiredServerlessConfig(ProductionVariantServerlessConfig &&value)
void SetRoutingConfig(const ProductionVariantRoutingConfig &value)
PendingProductionVariantSummary & WithDesiredWeight(double value)
PendingProductionVariantSummary & WithRoutingConfig(const ProductionVariantRoutingConfig &value)
void SetRoutingConfig(ProductionVariantRoutingConfig &&value)
PendingProductionVariantSummary & WithVariantStatus(Aws::Vector< ProductionVariantStatus > &&value)
double GetDesiredWeight() const
void SetVariantName(Aws::String &&value)
PendingProductionVariantSummary & AddDeployedImages(const DeployedImage &value)
PendingProductionVariantSummary & AddVariantStatus(const ProductionVariantStatus &value)
void SetDesiredInstanceCount(int value)
const ProductionVariantServerlessConfig & GetDesiredServerlessConfig() const
AWS_SAGEMAKER_API PendingProductionVariantSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVariantStatus(Aws::Vector< ProductionVariantStatus > &&value)
PendingProductionVariantSummary & WithManagedInstanceScaling(const ProductionVariantManagedInstanceScaling &value)
void SetCurrentWeight(double value)
bool InstanceTypeHasBeenSet() const
PendingProductionVariantSummary & WithDeployedImages(const Aws::Vector< DeployedImage > &value)
ProductionVariantInstanceType
ProductionVariantAcceleratorType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue