7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/model/AutoScalingPolicyStatus.h>
9#include <aws/elasticmapreduce/model/ScalingConstraints.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticmapreduce/model/ScalingRule.h>
53 template<
typename StatusT = AutoScalingPolicyStatus>
54 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
55 template<
typename StatusT = AutoScalingPolicyStatus>
67 template<
typename Constra
intsT = ScalingConstra
ints>
68 void SetConstraints(ConstraintsT&& value) { m_constraintsHasBeenSet =
true; m_constraints = std::forward<ConstraintsT>(value); }
69 template<
typename Constra
intsT = ScalingConstra
ints>
80 template<
typename RulesT = Aws::Vector<ScalingRule>>
81 void SetRules(RulesT&& value) { m_rulesHasBeenSet =
true; m_rules = std::forward<RulesT>(value); }
82 template<
typename RulesT = Aws::Vector<ScalingRule>>
84 template<
typename RulesT = ScalingRule>
90 bool m_statusHasBeenSet =
false;
93 bool m_constraintsHasBeenSet =
false;
96 bool m_rulesHasBeenSet =
false;
void SetRules(RulesT &&value)
const AutoScalingPolicyStatus & GetStatus() const
bool ConstraintsHasBeenSet() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConstraints(ConstraintsT &&value)
void SetStatus(StatusT &&value)
AutoScalingPolicyDescription & WithRules(RulesT &&value)
AutoScalingPolicyDescription & AddRules(RulesT &&value)
const ScalingConstraints & GetConstraints() const
const Aws::Vector< ScalingRule > & GetRules() const
AWS_EMR_API AutoScalingPolicyDescription(Aws::Utils::Json::JsonView jsonValue)
AutoScalingPolicyDescription & WithConstraints(ConstraintsT &&value)
bool StatusHasBeenSet() const
AutoScalingPolicyDescription & WithStatus(StatusT &&value)
AWS_EMR_API AutoScalingPolicyDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API AutoScalingPolicyDescription()=default
bool RulesHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue