7#include <aws/autoscaling/AutoScalingRequest.h>
8#include <aws/autoscaling/AutoScaling_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace AutoScaling {
41 template <
typename AutoScalingGroupNameT = Aws::String>
43 m_autoScalingGroupNameHasBeenSet =
true;
44 m_autoScalingGroupName = std::forward<AutoScalingGroupNameT>(value);
46 template <
typename AutoScalingGroupNameT = Aws::String>
59 template <
typename PolicyNameT = Aws::String>
61 m_policyNameHasBeenSet =
true;
62 m_policyName = std::forward<PolicyNameT>(value);
64 template <
typename PolicyNameT = Aws::String>
83 m_honorCooldownHasBeenSet =
true;
84 m_honorCooldown = value;
106 m_metricValueHasBeenSet =
true;
107 m_metricValue = value;
123 m_breachThresholdHasBeenSet =
true;
124 m_breachThreshold = value;
136 bool m_honorCooldown{
false};
138 double m_metricValue{0.0};
140 double m_breachThreshold{0.0};
141 bool m_autoScalingGroupNameHasBeenSet =
false;
142 bool m_policyNameHasBeenSet =
false;
143 bool m_honorCooldownHasBeenSet =
false;
144 bool m_metricValueHasBeenSet =
false;
145 bool m_breachThresholdHasBeenSet =
false;
double GetBreachThreshold() const
AWS_AUTOSCALING_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ExecutePolicyRequest & WithMetricValue(double value)
void SetAutoScalingGroupName(AutoScalingGroupNameT &&value)
void SetPolicyName(PolicyNameT &&value)
bool BreachThresholdHasBeenSet() const
bool GetHonorCooldown() const
ExecutePolicyRequest & WithAutoScalingGroupName(AutoScalingGroupNameT &&value)
bool AutoScalingGroupNameHasBeenSet() const
const Aws::String & GetPolicyName() const
const Aws::String & GetAutoScalingGroupName() const
AWS_AUTOSCALING_API ExecutePolicyRequest()=default
bool HonorCooldownHasBeenSet() const
void SetBreachThreshold(double value)
void SetMetricValue(double value)
void SetHonorCooldown(bool value)
bool MetricValueHasBeenSet() const
ExecutePolicyRequest & WithBreachThreshold(double value)
virtual const char * GetServiceRequestName() const override
ExecutePolicyRequest & WithPolicyName(PolicyNameT &&value)
AWS_AUTOSCALING_API Aws::String SerializePayload() const override
bool PolicyNameHasBeenSet() const
ExecutePolicyRequest & WithHonorCooldown(bool value)
double GetMetricValue() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String