AWS SDK for C++  1.9.106
AWS SDK for C++
PutScalingPolicyRequest.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace AutoScaling
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "PutScalingPolicy"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
46  inline const Aws::String& GetAutoScalingGroupName() const{ return m_autoScalingGroupName; }
47 
51  inline bool AutoScalingGroupNameHasBeenSet() const { return m_autoScalingGroupNameHasBeenSet; }
52 
56  inline void SetAutoScalingGroupName(const Aws::String& value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName = value; }
57 
61  inline void SetAutoScalingGroupName(Aws::String&& value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName = std::move(value); }
62 
66  inline void SetAutoScalingGroupName(const char* value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName.assign(value); }
67 
71  inline PutScalingPolicyRequest& WithAutoScalingGroupName(const Aws::String& value) { SetAutoScalingGroupName(value); return *this;}
72 
76  inline PutScalingPolicyRequest& WithAutoScalingGroupName(Aws::String&& value) { SetAutoScalingGroupName(std::move(value)); return *this;}
77 
81  inline PutScalingPolicyRequest& WithAutoScalingGroupName(const char* value) { SetAutoScalingGroupName(value); return *this;}
82 
83 
87  inline const Aws::String& GetPolicyName() const{ return m_policyName; }
88 
92  inline bool PolicyNameHasBeenSet() const { return m_policyNameHasBeenSet; }
93 
97  inline void SetPolicyName(const Aws::String& value) { m_policyNameHasBeenSet = true; m_policyName = value; }
98 
102  inline void SetPolicyName(Aws::String&& value) { m_policyNameHasBeenSet = true; m_policyName = std::move(value); }
103 
107  inline void SetPolicyName(const char* value) { m_policyNameHasBeenSet = true; m_policyName.assign(value); }
108 
112  inline PutScalingPolicyRequest& WithPolicyName(const Aws::String& value) { SetPolicyName(value); return *this;}
113 
117  inline PutScalingPolicyRequest& WithPolicyName(Aws::String&& value) { SetPolicyName(std::move(value)); return *this;}
118 
122  inline PutScalingPolicyRequest& WithPolicyName(const char* value) { SetPolicyName(value); return *this;}
123 
124 
131  inline const Aws::String& GetPolicyType() const{ return m_policyType; }
132 
139  inline bool PolicyTypeHasBeenSet() const { return m_policyTypeHasBeenSet; }
140 
147  inline void SetPolicyType(const Aws::String& value) { m_policyTypeHasBeenSet = true; m_policyType = value; }
148 
155  inline void SetPolicyType(Aws::String&& value) { m_policyTypeHasBeenSet = true; m_policyType = std::move(value); }
156 
163  inline void SetPolicyType(const char* value) { m_policyTypeHasBeenSet = true; m_policyType.assign(value); }
164 
171  inline PutScalingPolicyRequest& WithPolicyType(const Aws::String& value) { SetPolicyType(value); return *this;}
172 
179  inline PutScalingPolicyRequest& WithPolicyType(Aws::String&& value) { SetPolicyType(std::move(value)); return *this;}
180 
187  inline PutScalingPolicyRequest& WithPolicyType(const char* value) { SetPolicyType(value); return *this;}
188 
189 
199  inline const Aws::String& GetAdjustmentType() const{ return m_adjustmentType; }
200 
210  inline bool AdjustmentTypeHasBeenSet() const { return m_adjustmentTypeHasBeenSet; }
211 
221  inline void SetAdjustmentType(const Aws::String& value) { m_adjustmentTypeHasBeenSet = true; m_adjustmentType = value; }
222 
232  inline void SetAdjustmentType(Aws::String&& value) { m_adjustmentTypeHasBeenSet = true; m_adjustmentType = std::move(value); }
233 
243  inline void SetAdjustmentType(const char* value) { m_adjustmentTypeHasBeenSet = true; m_adjustmentType.assign(value); }
244 
254  inline PutScalingPolicyRequest& WithAdjustmentType(const Aws::String& value) { SetAdjustmentType(value); return *this;}
255 
265  inline PutScalingPolicyRequest& WithAdjustmentType(Aws::String&& value) { SetAdjustmentType(std::move(value)); return *this;}
266 
276  inline PutScalingPolicyRequest& WithAdjustmentType(const char* value) { SetAdjustmentType(value); return *this;}
277 
278 
283  inline int GetMinAdjustmentStep() const{ return m_minAdjustmentStep; }
284 
289  inline bool MinAdjustmentStepHasBeenSet() const { return m_minAdjustmentStepHasBeenSet; }
290 
295  inline void SetMinAdjustmentStep(int value) { m_minAdjustmentStepHasBeenSet = true; m_minAdjustmentStep = value; }
296 
301  inline PutScalingPolicyRequest& WithMinAdjustmentStep(int value) { SetMinAdjustmentStep(value); return *this;}
302 
303 
320  inline int GetMinAdjustmentMagnitude() const{ return m_minAdjustmentMagnitude; }
321 
338  inline bool MinAdjustmentMagnitudeHasBeenSet() const { return m_minAdjustmentMagnitudeHasBeenSet; }
339 
356  inline void SetMinAdjustmentMagnitude(int value) { m_minAdjustmentMagnitudeHasBeenSet = true; m_minAdjustmentMagnitude = value; }
357 
374  inline PutScalingPolicyRequest& WithMinAdjustmentMagnitude(int value) { SetMinAdjustmentMagnitude(value); return *this;}
375 
376 
384  inline int GetScalingAdjustment() const{ return m_scalingAdjustment; }
385 
393  inline bool ScalingAdjustmentHasBeenSet() const { return m_scalingAdjustmentHasBeenSet; }
394 
402  inline void SetScalingAdjustment(int value) { m_scalingAdjustmentHasBeenSet = true; m_scalingAdjustment = value; }
403 
411  inline PutScalingPolicyRequest& WithScalingAdjustment(int value) { SetScalingAdjustment(value); return *this;}
412 
413 
423  inline int GetCooldown() const{ return m_cooldown; }
424 
434  inline bool CooldownHasBeenSet() const { return m_cooldownHasBeenSet; }
435 
445  inline void SetCooldown(int value) { m_cooldownHasBeenSet = true; m_cooldown = value; }
446 
456  inline PutScalingPolicyRequest& WithCooldown(int value) { SetCooldown(value); return *this;}
457 
458 
465  inline const Aws::String& GetMetricAggregationType() const{ return m_metricAggregationType; }
466 
473  inline bool MetricAggregationTypeHasBeenSet() const { return m_metricAggregationTypeHasBeenSet; }
474 
481  inline void SetMetricAggregationType(const Aws::String& value) { m_metricAggregationTypeHasBeenSet = true; m_metricAggregationType = value; }
482 
489  inline void SetMetricAggregationType(Aws::String&& value) { m_metricAggregationTypeHasBeenSet = true; m_metricAggregationType = std::move(value); }
490 
497  inline void SetMetricAggregationType(const char* value) { m_metricAggregationTypeHasBeenSet = true; m_metricAggregationType.assign(value); }
498 
505  inline PutScalingPolicyRequest& WithMetricAggregationType(const Aws::String& value) { SetMetricAggregationType(value); return *this;}
506 
513  inline PutScalingPolicyRequest& WithMetricAggregationType(Aws::String&& value) { SetMetricAggregationType(std::move(value)); return *this;}
514 
521  inline PutScalingPolicyRequest& WithMetricAggregationType(const char* value) { SetMetricAggregationType(value); return *this;}
522 
523 
529  inline const Aws::Vector<StepAdjustment>& GetStepAdjustments() const{ return m_stepAdjustments; }
530 
536  inline bool StepAdjustmentsHasBeenSet() const { return m_stepAdjustmentsHasBeenSet; }
537 
543  inline void SetStepAdjustments(const Aws::Vector<StepAdjustment>& value) { m_stepAdjustmentsHasBeenSet = true; m_stepAdjustments = value; }
544 
550  inline void SetStepAdjustments(Aws::Vector<StepAdjustment>&& value) { m_stepAdjustmentsHasBeenSet = true; m_stepAdjustments = std::move(value); }
551 
557  inline PutScalingPolicyRequest& WithStepAdjustments(const Aws::Vector<StepAdjustment>& value) { SetStepAdjustments(value); return *this;}
558 
564  inline PutScalingPolicyRequest& WithStepAdjustments(Aws::Vector<StepAdjustment>&& value) { SetStepAdjustments(std::move(value)); return *this;}
565 
571  inline PutScalingPolicyRequest& AddStepAdjustments(const StepAdjustment& value) { m_stepAdjustmentsHasBeenSet = true; m_stepAdjustments.push_back(value); return *this; }
572 
578  inline PutScalingPolicyRequest& AddStepAdjustments(StepAdjustment&& value) { m_stepAdjustmentsHasBeenSet = true; m_stepAdjustments.push_back(std::move(value)); return *this; }
579 
580 
588  inline int GetEstimatedInstanceWarmup() const{ return m_estimatedInstanceWarmup; }
589 
597  inline bool EstimatedInstanceWarmupHasBeenSet() const { return m_estimatedInstanceWarmupHasBeenSet; }
598 
606  inline void SetEstimatedInstanceWarmup(int value) { m_estimatedInstanceWarmupHasBeenSet = true; m_estimatedInstanceWarmup = value; }
607 
615  inline PutScalingPolicyRequest& WithEstimatedInstanceWarmup(int value) { SetEstimatedInstanceWarmup(value); return *this;}
616 
617 
632  inline const TargetTrackingConfiguration& GetTargetTrackingConfiguration() const{ return m_targetTrackingConfiguration; }
633 
648  inline bool TargetTrackingConfigurationHasBeenSet() const { return m_targetTrackingConfigurationHasBeenSet; }
649 
664  inline void SetTargetTrackingConfiguration(const TargetTrackingConfiguration& value) { m_targetTrackingConfigurationHasBeenSet = true; m_targetTrackingConfiguration = value; }
665 
680  inline void SetTargetTrackingConfiguration(TargetTrackingConfiguration&& value) { m_targetTrackingConfigurationHasBeenSet = true; m_targetTrackingConfiguration = std::move(value); }
681 
696  inline PutScalingPolicyRequest& WithTargetTrackingConfiguration(const TargetTrackingConfiguration& value) { SetTargetTrackingConfiguration(value); return *this;}
697 
712  inline PutScalingPolicyRequest& WithTargetTrackingConfiguration(TargetTrackingConfiguration&& value) { SetTargetTrackingConfiguration(std::move(value)); return *this;}
713 
714 
722  inline bool GetEnabled() const{ return m_enabled; }
723 
731  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
732 
740  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
741 
749  inline PutScalingPolicyRequest& WithEnabled(bool value) { SetEnabled(value); return *this;}
750 
751 
761  inline const PredictiveScalingConfiguration& GetPredictiveScalingConfiguration() const{ return m_predictiveScalingConfiguration; }
762 
772  inline bool PredictiveScalingConfigurationHasBeenSet() const { return m_predictiveScalingConfigurationHasBeenSet; }
773 
783  inline void SetPredictiveScalingConfiguration(const PredictiveScalingConfiguration& value) { m_predictiveScalingConfigurationHasBeenSet = true; m_predictiveScalingConfiguration = value; }
784 
794  inline void SetPredictiveScalingConfiguration(PredictiveScalingConfiguration&& value) { m_predictiveScalingConfigurationHasBeenSet = true; m_predictiveScalingConfiguration = std::move(value); }
795 
805  inline PutScalingPolicyRequest& WithPredictiveScalingConfiguration(const PredictiveScalingConfiguration& value) { SetPredictiveScalingConfiguration(value); return *this;}
806 
816  inline PutScalingPolicyRequest& WithPredictiveScalingConfiguration(PredictiveScalingConfiguration&& value) { SetPredictiveScalingConfiguration(std::move(value)); return *this;}
817 
818  private:
819 
820  Aws::String m_autoScalingGroupName;
821  bool m_autoScalingGroupNameHasBeenSet;
822 
823  Aws::String m_policyName;
824  bool m_policyNameHasBeenSet;
825 
826  Aws::String m_policyType;
827  bool m_policyTypeHasBeenSet;
828 
829  Aws::String m_adjustmentType;
830  bool m_adjustmentTypeHasBeenSet;
831 
832  int m_minAdjustmentStep;
833  bool m_minAdjustmentStepHasBeenSet;
834 
835  int m_minAdjustmentMagnitude;
836  bool m_minAdjustmentMagnitudeHasBeenSet;
837 
838  int m_scalingAdjustment;
839  bool m_scalingAdjustmentHasBeenSet;
840 
841  int m_cooldown;
842  bool m_cooldownHasBeenSet;
843 
844  Aws::String m_metricAggregationType;
845  bool m_metricAggregationTypeHasBeenSet;
846 
847  Aws::Vector<StepAdjustment> m_stepAdjustments;
848  bool m_stepAdjustmentsHasBeenSet;
849 
850  int m_estimatedInstanceWarmup;
851  bool m_estimatedInstanceWarmupHasBeenSet;
852 
853  TargetTrackingConfiguration m_targetTrackingConfiguration;
854  bool m_targetTrackingConfigurationHasBeenSet;
855 
856  bool m_enabled;
857  bool m_enabledHasBeenSet;
858 
859  PredictiveScalingConfiguration m_predictiveScalingConfiguration;
860  bool m_predictiveScalingConfigurationHasBeenSet;
861  };
862 
863 } // namespace Model
864 } // namespace AutoScaling
865 } // namespace Aws
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetCooldown
void SetCooldown(int value)
Definition: PutScalingPolicyRequest.h:445
Aws::Http::URI
Definition: URI.h:32
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithStepAdjustments
PutScalingPolicyRequest & WithStepAdjustments(Aws::Vector< StepAdjustment > &&value)
Definition: PutScalingPolicyRequest.h:564
Aws::AutoScaling::Model::PutScalingPolicyRequest::GetTargetTrackingConfiguration
const TargetTrackingConfiguration & GetTargetTrackingConfiguration() const
Definition: PutScalingPolicyRequest.h:632
Aws::AutoScaling::Model::PutScalingPolicyRequest::GetMinAdjustmentStep
int GetMinAdjustmentStep() const
Definition: PutScalingPolicyRequest.h:283
Aws::AutoScaling::Model::PutScalingPolicyRequest::MinAdjustmentMagnitudeHasBeenSet
bool MinAdjustmentMagnitudeHasBeenSet() const
Definition: PutScalingPolicyRequest.h:338
Aws::AutoScaling::Model::PutScalingPolicyRequest::GetAutoScalingGroupName
const Aws::String & GetAutoScalingGroupName() const
Definition: PutScalingPolicyRequest.h:46
Aws::AutoScaling::Model::PutScalingPolicyRequest::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: PutScalingPolicyRequest.h:731
Aws::AutoScaling::Model::PutScalingPolicyRequest::StepAdjustmentsHasBeenSet
bool StepAdjustmentsHasBeenSet() const
Definition: PutScalingPolicyRequest.h:536
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetTargetTrackingConfiguration
void SetTargetTrackingConfiguration(const TargetTrackingConfiguration &value)
Definition: PutScalingPolicyRequest.h:664
Aws::AutoScaling::Model::StepAdjustment
Definition: StepAdjustment.h:48
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetMetricAggregationType
void SetMetricAggregationType(const char *value)
Definition: PutScalingPolicyRequest.h:497
Aws::AutoScaling::Model::PutScalingPolicyRequest::GetPolicyType
const Aws::String & GetPolicyType() const
Definition: PutScalingPolicyRequest.h:131
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithPredictiveScalingConfiguration
PutScalingPolicyRequest & WithPredictiveScalingConfiguration(PredictiveScalingConfiguration &&value)
Definition: PutScalingPolicyRequest.h:816
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetMetricAggregationType
void SetMetricAggregationType(Aws::String &&value)
Definition: PutScalingPolicyRequest.h:489
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetStepAdjustments
void SetStepAdjustments(const Aws::Vector< StepAdjustment > &value)
Definition: PutScalingPolicyRequest.h:543
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithPolicyName
PutScalingPolicyRequest & WithPolicyName(const char *value)
Definition: PutScalingPolicyRequest.h:122
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetPolicyType
void SetPolicyType(Aws::String &&value)
Definition: PutScalingPolicyRequest.h:155
Aws::AutoScaling::Model::PutScalingPolicyRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
StepAdjustment.h
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithAutoScalingGroupName
PutScalingPolicyRequest & WithAutoScalingGroupName(const char *value)
Definition: PutScalingPolicyRequest.h:81
Aws::AutoScaling::Model::PutScalingPolicyRequest::AddStepAdjustments
PutScalingPolicyRequest & AddStepAdjustments(StepAdjustment &&value)
Definition: PutScalingPolicyRequest.h:578
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithStepAdjustments
PutScalingPolicyRequest & WithStepAdjustments(const Aws::Vector< StepAdjustment > &value)
Definition: PutScalingPolicyRequest.h:557
Aws::AutoScaling::Model::PutScalingPolicyRequest::AdjustmentTypeHasBeenSet
bool AdjustmentTypeHasBeenSet() const
Definition: PutScalingPolicyRequest.h:210
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AutoScaling::Model::PutScalingPolicyRequest::MinAdjustmentStepHasBeenSet
bool MinAdjustmentStepHasBeenSet() const
Definition: PutScalingPolicyRequest.h:289
Aws::AutoScaling::Model::PutScalingPolicyRequest::EstimatedInstanceWarmupHasBeenSet
bool EstimatedInstanceWarmupHasBeenSet() const
Definition: PutScalingPolicyRequest.h:597
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetEstimatedInstanceWarmup
void SetEstimatedInstanceWarmup(int value)
Definition: PutScalingPolicyRequest.h:606
Aws::AutoScaling::Model::PutScalingPolicyRequest::PredictiveScalingConfigurationHasBeenSet
bool PredictiveScalingConfigurationHasBeenSet() const
Definition: PutScalingPolicyRequest.h:772
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithPredictiveScalingConfiguration
PutScalingPolicyRequest & WithPredictiveScalingConfiguration(const PredictiveScalingConfiguration &value)
Definition: PutScalingPolicyRequest.h:805
Aws::AutoScaling::Model::PutScalingPolicyRequest::PolicyNameHasBeenSet
bool PolicyNameHasBeenSet() const
Definition: PutScalingPolicyRequest.h:92
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetAdjustmentType
void SetAdjustmentType(Aws::String &&value)
Definition: PutScalingPolicyRequest.h:232
AWSVector.h
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithMetricAggregationType
PutScalingPolicyRequest & WithMetricAggregationType(const Aws::String &value)
Definition: PutScalingPolicyRequest.h:505
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithScalingAdjustment
PutScalingPolicyRequest & WithScalingAdjustment(int value)
Definition: PutScalingPolicyRequest.h:411
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithPolicyName
PutScalingPolicyRequest & WithPolicyName(Aws::String &&value)
Definition: PutScalingPolicyRequest.h:117
Aws::AutoScaling::Model::PutScalingPolicyRequest::TargetTrackingConfigurationHasBeenSet
bool TargetTrackingConfigurationHasBeenSet() const
Definition: PutScalingPolicyRequest.h:648
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithMinAdjustmentStep
PutScalingPolicyRequest & WithMinAdjustmentStep(int value)
Definition: PutScalingPolicyRequest.h:301
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithAutoScalingGroupName
PutScalingPolicyRequest & WithAutoScalingGroupName(Aws::String &&value)
Definition: PutScalingPolicyRequest.h:76
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetEnabled
void SetEnabled(bool value)
Definition: PutScalingPolicyRequest.h:740
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetPolicyName
void SetPolicyName(const Aws::String &value)
Definition: PutScalingPolicyRequest.h:97
Aws::AutoScaling::Model::TargetTrackingConfiguration
Definition: TargetTrackingConfiguration.h:34
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithEnabled
PutScalingPolicyRequest & WithEnabled(bool value)
Definition: PutScalingPolicyRequest.h:749
Aws::AutoScaling::Model::PutScalingPolicyRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AutoScaling::Model::PutScalingPolicyRequest::GetPredictiveScalingConfiguration
const PredictiveScalingConfiguration & GetPredictiveScalingConfiguration() const
Definition: PutScalingPolicyRequest.h:761
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithTargetTrackingConfiguration
PutScalingPolicyRequest & WithTargetTrackingConfiguration(TargetTrackingConfiguration &&value)
Definition: PutScalingPolicyRequest.h:712
Aws::AutoScaling::Model::PutScalingPolicyRequest::GetMetricAggregationType
const Aws::String & GetMetricAggregationType() const
Definition: PutScalingPolicyRequest.h:465
Aws::AutoScaling::Model::PutScalingPolicyRequest::GetMinAdjustmentMagnitude
int GetMinAdjustmentMagnitude() const
Definition: PutScalingPolicyRequest.h:320
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetAutoScalingGroupName
void SetAutoScalingGroupName(Aws::String &&value)
Definition: PutScalingPolicyRequest.h:61
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetAdjustmentType
void SetAdjustmentType(const Aws::String &value)
Definition: PutScalingPolicyRequest.h:221
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetStepAdjustments
void SetStepAdjustments(Aws::Vector< StepAdjustment > &&value)
Definition: PutScalingPolicyRequest.h:550
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithMinAdjustmentMagnitude
PutScalingPolicyRequest & WithMinAdjustmentMagnitude(int value)
Definition: PutScalingPolicyRequest.h:374
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetPolicyType
void SetPolicyType(const char *value)
Definition: PutScalingPolicyRequest.h:163
Aws::AutoScaling::Model::PutScalingPolicyRequest::ScalingAdjustmentHasBeenSet
bool ScalingAdjustmentHasBeenSet() const
Definition: PutScalingPolicyRequest.h:393
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithCooldown
PutScalingPolicyRequest & WithCooldown(int value)
Definition: PutScalingPolicyRequest.h:456
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithAutoScalingGroupName
PutScalingPolicyRequest & WithAutoScalingGroupName(const Aws::String &value)
Definition: PutScalingPolicyRequest.h:71
TargetTrackingConfiguration.h
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithPolicyType
PutScalingPolicyRequest & WithPolicyType(const Aws::String &value)
Definition: PutScalingPolicyRequest.h:171
Aws::AutoScaling::Model::PutScalingPolicyRequest::GetEnabled
bool GetEnabled() const
Definition: PutScalingPolicyRequest.h:722
AutoScalingRequest.h
AWS_AUTOSCALING_API
#define AWS_AUTOSCALING_API
Definition: AutoScaling_EXPORTS.h:28
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetPolicyName
void SetPolicyName(Aws::String &&value)
Definition: PutScalingPolicyRequest.h:102
Aws::AutoScaling::Model::PutScalingPolicyRequest::AddStepAdjustments
PutScalingPolicyRequest & AddStepAdjustments(const StepAdjustment &value)
Definition: PutScalingPolicyRequest.h:571
Aws::AutoScaling::Model::PutScalingPolicyRequest::GetCooldown
int GetCooldown() const
Definition: PutScalingPolicyRequest.h:423
Aws::AutoScaling::Model::PutScalingPolicyRequest::GetScalingAdjustment
int GetScalingAdjustment() const
Definition: PutScalingPolicyRequest.h:384
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithAdjustmentType
PutScalingPolicyRequest & WithAdjustmentType(Aws::String &&value)
Definition: PutScalingPolicyRequest.h:265
Aws::AutoScaling::Model::PutScalingPolicyRequest::GetPolicyName
const Aws::String & GetPolicyName() const
Definition: PutScalingPolicyRequest.h:87
AWSString.h
Aws::AutoScaling::Model::PutScalingPolicyRequest::PolicyTypeHasBeenSet
bool PolicyTypeHasBeenSet() const
Definition: PutScalingPolicyRequest.h:139
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetScalingAdjustment
void SetScalingAdjustment(int value)
Definition: PutScalingPolicyRequest.h:402
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetAdjustmentType
void SetAdjustmentType(const char *value)
Definition: PutScalingPolicyRequest.h:243
Aws::AutoScaling::Model::PutScalingPolicyRequest::GetAdjustmentType
const Aws::String & GetAdjustmentType() const
Definition: PutScalingPolicyRequest.h:199
Aws::AutoScaling::AutoScalingRequest
Definition: AutoScalingRequest.h:17
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetMinAdjustmentStep
void SetMinAdjustmentStep(int value)
Definition: PutScalingPolicyRequest.h:295
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetPolicyType
void SetPolicyType(const Aws::String &value)
Definition: PutScalingPolicyRequest.h:147
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithPolicyType
PutScalingPolicyRequest & WithPolicyType(Aws::String &&value)
Definition: PutScalingPolicyRequest.h:179
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetMetricAggregationType
void SetMetricAggregationType(const Aws::String &value)
Definition: PutScalingPolicyRequest.h:481
AutoScaling_EXPORTS.h
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetPolicyName
void SetPolicyName(const char *value)
Definition: PutScalingPolicyRequest.h:107
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetPredictiveScalingConfiguration
void SetPredictiveScalingConfiguration(PredictiveScalingConfiguration &&value)
Definition: PutScalingPolicyRequest.h:794
Aws
Definition: AccessManagementClient.h:15
Aws::AutoScaling::Model::PutScalingPolicyRequest::AutoScalingGroupNameHasBeenSet
bool AutoScalingGroupNameHasBeenSet() const
Definition: PutScalingPolicyRequest.h:51
Aws::AutoScaling::Model::PutScalingPolicyRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutScalingPolicyRequest.h:34
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithEstimatedInstanceWarmup
PutScalingPolicyRequest & WithEstimatedInstanceWarmup(int value)
Definition: PutScalingPolicyRequest.h:615
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithTargetTrackingConfiguration
PutScalingPolicyRequest & WithTargetTrackingConfiguration(const TargetTrackingConfiguration &value)
Definition: PutScalingPolicyRequest.h:696
Aws::AutoScaling::Model::PutScalingPolicyRequest::PutScalingPolicyRequest
PutScalingPolicyRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AutoScaling::Model::PutScalingPolicyRequest::GetEstimatedInstanceWarmup
int GetEstimatedInstanceWarmup() const
Definition: PutScalingPolicyRequest.h:588
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetPredictiveScalingConfiguration
void SetPredictiveScalingConfiguration(const PredictiveScalingConfiguration &value)
Definition: PutScalingPolicyRequest.h:783
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetAutoScalingGroupName
void SetAutoScalingGroupName(const char *value)
Definition: PutScalingPolicyRequest.h:66
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithMetricAggregationType
PutScalingPolicyRequest & WithMetricAggregationType(Aws::String &&value)
Definition: PutScalingPolicyRequest.h:513
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithPolicyType
PutScalingPolicyRequest & WithPolicyType(const char *value)
Definition: PutScalingPolicyRequest.h:187
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithAdjustmentType
PutScalingPolicyRequest & WithAdjustmentType(const char *value)
Definition: PutScalingPolicyRequest.h:276
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithMetricAggregationType
PutScalingPolicyRequest & WithMetricAggregationType(const char *value)
Definition: PutScalingPolicyRequest.h:521
PredictiveScalingConfiguration.h
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithPolicyName
PutScalingPolicyRequest & WithPolicyName(const Aws::String &value)
Definition: PutScalingPolicyRequest.h:112
Aws::AutoScaling::Model::PutScalingPolicyRequest::GetStepAdjustments
const Aws::Vector< StepAdjustment > & GetStepAdjustments() const
Definition: PutScalingPolicyRequest.h:529
Aws::AutoScaling::Model::PutScalingPolicyRequest
Definition: PutScalingPolicyRequest.h:26
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetMinAdjustmentMagnitude
void SetMinAdjustmentMagnitude(int value)
Definition: PutScalingPolicyRequest.h:356
Aws::AutoScaling::Model::PutScalingPolicyRequest::MetricAggregationTypeHasBeenSet
bool MetricAggregationTypeHasBeenSet() const
Definition: PutScalingPolicyRequest.h:473
Aws::AutoScaling::Model::PutScalingPolicyRequest::WithAdjustmentType
PutScalingPolicyRequest & WithAdjustmentType(const Aws::String &value)
Definition: PutScalingPolicyRequest.h:254
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetAutoScalingGroupName
void SetAutoScalingGroupName(const Aws::String &value)
Definition: PutScalingPolicyRequest.h:56
Aws::AutoScaling::Model::PutScalingPolicyRequest::SetTargetTrackingConfiguration
void SetTargetTrackingConfiguration(TargetTrackingConfiguration &&value)
Definition: PutScalingPolicyRequest.h:680
Aws::AutoScaling::Model::PutScalingPolicyRequest::CooldownHasBeenSet
bool CooldownHasBeenSet() const
Definition: PutScalingPolicyRequest.h:434
Aws::AutoScaling::Model::PredictiveScalingConfiguration
Definition: PredictiveScalingConfiguration.h:36