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