7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/model/AdjustmentType.h>
57 m_adjustmentTypeHasBeenSet =
true;
58 m_adjustmentType = value;
80 m_scalingAdjustmentHasBeenSet =
true;
81 m_scalingAdjustment = value;
98 m_coolDownHasBeenSet =
true;
109 int m_scalingAdjustment{0};
112 bool m_adjustmentTypeHasBeenSet =
false;
113 bool m_scalingAdjustmentHasBeenSet =
false;
114 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