7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/model/AdjustmentType.h>
79 inline void SetScalingAdjustment(
int value) { m_scalingAdjustmentHasBeenSet =
true; m_scalingAdjustment = value; }
91 inline void SetCoolDown(
int value) { m_coolDownHasBeenSet =
true; m_coolDown = value; }
97 bool m_adjustmentTypeHasBeenSet =
false;
99 int m_scalingAdjustment{0};
100 bool m_scalingAdjustmentHasBeenSet =
false;
103 bool m_coolDownHasBeenSet =
false;
bool CoolDownHasBeenSet() const
AWS_EMR_API SimpleScalingPolicyConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetScalingAdjustment(int value)
void SetCoolDown(int value)
int GetScalingAdjustment() const
SimpleScalingPolicyConfiguration & WithCoolDown(int value)
AWS_EMR_API SimpleScalingPolicyConfiguration()=default
AdjustmentType GetAdjustmentType() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
bool AdjustmentTypeHasBeenSet() const
void SetAdjustmentType(AdjustmentType value)
SimpleScalingPolicyConfiguration & WithScalingAdjustment(int value)
bool ScalingAdjustmentHasBeenSet() const
AWS_EMR_API SimpleScalingPolicyConfiguration(Aws::Utils::Json::JsonView jsonValue)
SimpleScalingPolicyConfiguration & WithAdjustmentType(AdjustmentType value)
Aws::Utils::Json::JsonValue JsonValue