7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/model/ScalingPolicy.h>
48 inline void SetMinCapacity(
int value) { m_minCapacityHasBeenSet =
true; m_minCapacity = value; }
58 inline void SetMaxCapacity(
int value) { m_maxCapacityHasBeenSet =
true; m_maxCapacity = value; }
68 inline void SetScaleInCooldown(
int value) { m_scaleInCooldownHasBeenSet =
true; m_scaleInCooldown = value; }
78 inline void SetScaleOutCooldown(
int value) { m_scaleOutCooldownHasBeenSet =
true; m_scaleOutCooldown = value; }
98 bool m_minCapacityHasBeenSet =
false;
101 bool m_maxCapacityHasBeenSet =
false;
103 int m_scaleInCooldown;
104 bool m_scaleInCooldownHasBeenSet =
false;
106 int m_scaleOutCooldown;
107 bool m_scaleOutCooldownHasBeenSet =
false;
110 bool m_scalingPoliciesHasBeenSet =
false;
int GetScaleOutCooldown() const
bool ScaleInCooldownHasBeenSet() const
DynamicScalingConfiguration & WithScalingPolicies(Aws::Vector< ScalingPolicy > &&value)
int GetScaleInCooldown() const
AWS_SAGEMAKER_API DynamicScalingConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool MinCapacityHasBeenSet() const
int GetMinCapacity() const
bool ScaleOutCooldownHasBeenSet() const
void SetScaleOutCooldown(int value)
DynamicScalingConfiguration & WithScaleInCooldown(int value)
AWS_SAGEMAKER_API DynamicScalingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetScalingPolicies(Aws::Vector< ScalingPolicy > &&value)
int GetMaxCapacity() const
DynamicScalingConfiguration & WithScalingPolicies(const Aws::Vector< ScalingPolicy > &value)
DynamicScalingConfiguration & WithMaxCapacity(int value)
bool MaxCapacityHasBeenSet() const
DynamicScalingConfiguration & WithScaleOutCooldown(int value)
const Aws::Vector< ScalingPolicy > & GetScalingPolicies() const
bool ScalingPoliciesHasBeenSet() const
DynamicScalingConfiguration & AddScalingPolicies(const ScalingPolicy &value)
void SetMinCapacity(int value)
void SetScaleInCooldown(int value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMaxCapacity(int value)
AWS_SAGEMAKER_API DynamicScalingConfiguration()
void SetScalingPolicies(const Aws::Vector< ScalingPolicy > &value)
DynamicScalingConfiguration & WithMinCapacity(int value)
DynamicScalingConfiguration & AddScalingPolicies(ScalingPolicy &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue