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>
60 template<
typename VariantNameT = Aws::String>
61 void SetVariantName(VariantNameT&& value) { m_variantNameHasBeenSet =
true; m_variantName = std::forward<VariantNameT>(value); }
62 template<
typename VariantNameT = Aws::String>
74 template<
typename DeployedImagesT = Aws::Vector<DeployedImage>>
75 void SetDeployedImages(DeployedImagesT&& value) { m_deployedImagesHasBeenSet =
true; m_deployedImages = std::forward<DeployedImagesT>(value); }
76 template<
typename DeployedImagesT = Aws::Vector<DeployedImage>>
78 template<
typename DeployedImagesT = DeployedImage>
88 inline void SetCurrentWeight(
double value) { m_currentWeightHasBeenSet =
true; m_currentWeight = value; }
102 inline void SetDesiredWeight(
double value) { m_desiredWeightHasBeenSet =
true; m_desiredWeight = value; }
159 template<
typename VariantStatusT = Aws::Vector<ProductionVariantStatus>>
160 void SetVariantStatus(VariantStatusT&& value) { m_variantStatusHasBeenSet =
true; m_variantStatus = std::forward<VariantStatusT>(value); }
161 template<
typename VariantStatusT = Aws::Vector<ProductionVariantStatus>>
163 template<
typename VariantStatusT = ProductionVariantStatus>
173 template<
typename CurrentServerlessConfigT = ProductionVariantServerlessConfig>
174 void SetCurrentServerlessConfig(CurrentServerlessConfigT&& value) { m_currentServerlessConfigHasBeenSet =
true; m_currentServerlessConfig = std::forward<CurrentServerlessConfigT>(value); }
175 template<
typename CurrentServerlessConfigT = ProductionVariantServerlessConfig>
186 template<
typename DesiredServerlessConfigT = ProductionVariantServerlessConfig>
187 void SetDesiredServerlessConfig(DesiredServerlessConfigT&& value) { m_desiredServerlessConfigHasBeenSet =
true; m_desiredServerlessConfig = std::forward<DesiredServerlessConfigT>(value); }
188 template<
typename DesiredServerlessConfigT = ProductionVariantServerlessConfig>
199 template<
typename ManagedInstanceScalingT = ProductionVariantManagedInstanceScaling>
200 void SetManagedInstanceScaling(ManagedInstanceScalingT&& value) { m_managedInstanceScalingHasBeenSet =
true; m_managedInstanceScaling = std::forward<ManagedInstanceScalingT>(value); }
201 template<
typename ManagedInstanceScalingT = ProductionVariantManagedInstanceScaling>
212 template<
typename RoutingConfigT = ProductionVariantRoutingConfig>
213 void SetRoutingConfig(RoutingConfigT&& value) { m_routingConfigHasBeenSet =
true; m_routingConfig = std::forward<RoutingConfigT>(value); }
214 template<
typename RoutingConfigT = ProductionVariantRoutingConfig>
220 bool m_variantNameHasBeenSet =
false;
223 bool m_deployedImagesHasBeenSet =
false;
225 double m_currentWeight{0.0};
226 bool m_currentWeightHasBeenSet =
false;
228 double m_desiredWeight{0.0};
229 bool m_desiredWeightHasBeenSet =
false;
231 int m_currentInstanceCount{0};
232 bool m_currentInstanceCountHasBeenSet =
false;
234 int m_desiredInstanceCount{0};
235 bool m_desiredInstanceCountHasBeenSet =
false;
238 bool m_instanceTypeHasBeenSet =
false;
241 bool m_acceleratorTypeHasBeenSet =
false;
244 bool m_variantStatusHasBeenSet =
false;
246 ProductionVariantServerlessConfig m_currentServerlessConfig;
247 bool m_currentServerlessConfigHasBeenSet =
false;
249 ProductionVariantServerlessConfig m_desiredServerlessConfig;
250 bool m_desiredServerlessConfigHasBeenSet =
false;
252 ProductionVariantManagedInstanceScaling m_managedInstanceScaling;
253 bool m_managedInstanceScalingHasBeenSet =
false;
255 ProductionVariantRoutingConfig m_routingConfig;
256 bool m_routingConfigHasBeenSet =
false;
void SetManagedInstanceScaling(ManagedInstanceScalingT &&value)
AWS_SAGEMAKER_API PendingProductionVariantSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCurrentInstanceCount(int value)
PendingProductionVariantSummary & WithAcceleratorType(ProductionVariantAcceleratorType value)
const ProductionVariantRoutingConfig & GetRoutingConfig() const
PendingProductionVariantSummary & WithRoutingConfig(RoutingConfigT &&value)
bool CurrentWeightHasBeenSet() const
PendingProductionVariantSummary & WithVariantStatus(VariantStatusT &&value)
ProductionVariantInstanceType GetInstanceType() const
void SetDeployedImages(DeployedImagesT &&value)
bool DesiredInstanceCountHasBeenSet() const
bool DesiredWeightHasBeenSet() const
bool CurrentServerlessConfigHasBeenSet() const
PendingProductionVariantSummary & WithDesiredInstanceCount(int value)
const Aws::Vector< ProductionVariantStatus > & GetVariantStatus() const
PendingProductionVariantSummary & WithCurrentInstanceCount(int value)
const Aws::String & GetVariantName() const
bool DeployedImagesHasBeenSet() const
void SetInstanceType(ProductionVariantInstanceType value)
PendingProductionVariantSummary & WithCurrentWeight(double value)
bool RoutingConfigHasBeenSet() const
void SetRoutingConfig(RoutingConfigT &&value)
PendingProductionVariantSummary & AddVariantStatus(VariantStatusT &&value)
PendingProductionVariantSummary & AddDeployedImages(DeployedImagesT &&value)
bool VariantNameHasBeenSet() const
PendingProductionVariantSummary & WithVariantName(VariantNameT &&value)
void SetDesiredWeight(double value)
int GetDesiredInstanceCount() const
bool AcceleratorTypeHasBeenSet() const
bool ManagedInstanceScalingHasBeenSet() const
const Aws::Vector< DeployedImage > & GetDeployedImages() const
double GetCurrentWeight() const
ProductionVariantAcceleratorType GetAcceleratorType() const
bool DesiredServerlessConfigHasBeenSet() const
int GetCurrentInstanceCount() const
const ProductionVariantServerlessConfig & GetCurrentServerlessConfig() const
bool CurrentInstanceCountHasBeenSet() const
bool VariantStatusHasBeenSet() const
const ProductionVariantManagedInstanceScaling & GetManagedInstanceScaling() const
PendingProductionVariantSummary & WithInstanceType(ProductionVariantInstanceType value)
void SetDesiredServerlessConfig(DesiredServerlessConfigT &&value)
PendingProductionVariantSummary & WithCurrentServerlessConfig(CurrentServerlessConfigT &&value)
PendingProductionVariantSummary & WithDesiredWeight(double value)
double GetDesiredWeight() const
AWS_SAGEMAKER_API PendingProductionVariantSummary()=default
void SetAcceleratorType(ProductionVariantAcceleratorType 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 SetCurrentServerlessConfig(CurrentServerlessConfigT &&value)
PendingProductionVariantSummary & WithDeployedImages(DeployedImagesT &&value)
PendingProductionVariantSummary & WithManagedInstanceScaling(ManagedInstanceScalingT &&value)
void SetVariantStatus(VariantStatusT &&value)
void SetCurrentWeight(double value)
PendingProductionVariantSummary & WithDesiredServerlessConfig(DesiredServerlessConfigT &&value)
void SetVariantName(VariantNameT &&value)
bool InstanceTypeHasBeenSet() const
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