7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/model/ScalingConstraints.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticmapreduce/model/ScalingRule.h>
77 bool m_constraintsHasBeenSet =
false;
80 bool m_rulesHasBeenSet =
false;
void SetRules(const Aws::Vector< ScalingRule > &value)
const ScalingConstraints & GetConstraints() const
AutoScalingPolicy & WithConstraints(ScalingConstraints &&value)
AWS_EMR_API AutoScalingPolicy()
AWS_EMR_API AutoScalingPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConstraints(const ScalingConstraints &value)
bool RulesHasBeenSet() const
const Aws::Vector< ScalingRule > & GetRules() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
bool ConstraintsHasBeenSet() const
AutoScalingPolicy & AddRules(const ScalingRule &value)
AutoScalingPolicy & AddRules(ScalingRule &&value)
void SetRules(Aws::Vector< ScalingRule > &&value)
AutoScalingPolicy & WithRules(const Aws::Vector< ScalingRule > &value)
AutoScalingPolicy & WithRules(Aws::Vector< ScalingRule > &&value)
void SetConstraints(ScalingConstraints &&value)
AWS_EMR_API AutoScalingPolicy(Aws::Utils::Json::JsonView jsonValue)
AutoScalingPolicy & WithConstraints(const ScalingConstraints &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue