7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/elasticmapreduce/EMR_EXPORTS.h>
9#include <aws/elasticmapreduce/model/AutoScalingPolicyStatus.h>
10#include <aws/elasticmapreduce/model/ScalingConstraints.h>
11#include <aws/elasticmapreduce/model/ScalingRule.h>
47 template <
typename StatusT = AutoScalingPolicyStatus>
49 m_statusHasBeenSet =
true;
50 m_status = std::forward<StatusT>(value);
52 template <
typename StatusT = AutoScalingPolicyStatus>
67 template <
typename Constra
intsT = ScalingConstra
ints>
69 m_constraintsHasBeenSet =
true;
70 m_constraints = std::forward<ConstraintsT>(value);
72 template <
typename Constra
intsT = ScalingConstra
ints>
86 template <
typename RulesT = Aws::Vector<ScalingRule>>
88 m_rulesHasBeenSet =
true;
89 m_rules = std::forward<RulesT>(value);
91 template <
typename RulesT = Aws::Vector<ScalingRule>>
93 SetRules(std::forward<RulesT>(value));
96 template <
typename RulesT = ScalingRule>
98 m_rulesHasBeenSet =
true;
99 m_rules.emplace_back(std::forward<RulesT>(value));
109 bool m_statusHasBeenSet =
false;
110 bool m_constraintsHasBeenSet =
false;
111 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