7#include <aws/autoscaling-plans/AutoScalingPlans_EXPORTS.h>
8#include <aws/autoscaling-plans/model/ServiceNamespace.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/autoscaling-plans/model/ScalableDimension.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/autoscaling-plans/model/PredefinedLoadMetricSpecification.h>
13#include <aws/autoscaling-plans/model/CustomizedLoadMetricSpecification.h>
14#include <aws/autoscaling-plans/model/PredictiveScalingMaxCapacityBehavior.h>
15#include <aws/autoscaling-plans/model/PredictiveScalingMode.h>
16#include <aws/autoscaling-plans/model/ScalingPolicyUpdateBehavior.h>
17#include <aws/autoscaling-plans/model/TargetTrackingConfiguration.h>
30namespace AutoScalingPlans
103 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
143 inline void SetMinCapacity(
int value) { m_minCapacityHasBeenSet =
true; m_minCapacity = value; }
155 inline void SetMaxCapacity(
int value) { m_maxCapacityHasBeenSet =
true; m_maxCapacity = value; }
314 bool m_serviceNamespaceHasBeenSet =
false;
317 bool m_resourceIdHasBeenSet =
false;
320 bool m_scalableDimensionHasBeenSet =
false;
323 bool m_minCapacityHasBeenSet =
false;
326 bool m_maxCapacityHasBeenSet =
false;
329 bool m_targetTrackingConfigurationsHasBeenSet =
false;
332 bool m_predefinedLoadMetricSpecificationHasBeenSet =
false;
335 bool m_customizedLoadMetricSpecificationHasBeenSet =
false;
337 int m_scheduledActionBufferTime;
338 bool m_scheduledActionBufferTimeHasBeenSet =
false;
341 bool m_predictiveScalingMaxCapacityBehaviorHasBeenSet =
false;
343 int m_predictiveScalingMaxCapacityBuffer;
344 bool m_predictiveScalingMaxCapacityBufferHasBeenSet =
false;
347 bool m_predictiveScalingModeHasBeenSet =
false;
350 bool m_scalingPolicyUpdateBehaviorHasBeenSet =
false;
352 bool m_disableDynamicScaling;
353 bool m_disableDynamicScalingHasBeenSet =
false;
void SetScalingPolicyUpdateBehavior(ScalingPolicyUpdateBehavior &&value)
bool TargetTrackingConfigurationsHasBeenSet() const
ScalingInstruction & WithTargetTrackingConfigurations(Aws::Vector< TargetTrackingConfiguration > &&value)
ScalingInstruction & WithCustomizedLoadMetricSpecification(const CustomizedLoadMetricSpecification &value)
ScalingInstruction & WithPredictiveScalingMode(PredictiveScalingMode &&value)
void SetPredefinedLoadMetricSpecification(const PredefinedLoadMetricSpecification &value)
ScalingInstruction & WithCustomizedLoadMetricSpecification(CustomizedLoadMetricSpecification &&value)
ScalingInstruction & WithResourceId(const Aws::String &value)
ScalingInstruction & WithPredefinedLoadMetricSpecification(const PredefinedLoadMetricSpecification &value)
ScalingInstruction & WithTargetTrackingConfigurations(const Aws::Vector< TargetTrackingConfiguration > &value)
void SetTargetTrackingConfigurations(const Aws::Vector< TargetTrackingConfiguration > &value)
bool ServiceNamespaceHasBeenSet() const
ScalingInstruction & WithPredictiveScalingMaxCapacityBehavior(const PredictiveScalingMaxCapacityBehavior &value)
AWS_AUTOSCALINGPLANS_API Aws::Utils::Json::JsonValue Jsonize() const
bool PredefinedLoadMetricSpecificationHasBeenSet() const
const ServiceNamespace & GetServiceNamespace() const
void SetDisableDynamicScaling(bool value)
ScalingInstruction & WithPredictiveScalingMaxCapacityBehavior(PredictiveScalingMaxCapacityBehavior &&value)
ScalingInstruction & WithScalableDimension(const ScalableDimension &value)
bool MinCapacityHasBeenSet() const
int GetScheduledActionBufferTime() const
void SetScalableDimension(const ScalableDimension &value)
void SetServiceNamespace(const ServiceNamespace &value)
const ScalingPolicyUpdateBehavior & GetScalingPolicyUpdateBehavior() const
bool ScalableDimensionHasBeenSet() const
bool MaxCapacityHasBeenSet() const
void SetMaxCapacity(int value)
void SetPredefinedLoadMetricSpecification(PredefinedLoadMetricSpecification &&value)
ScalingInstruction & WithDisableDynamicScaling(bool value)
int GetMinCapacity() const
bool ResourceIdHasBeenSet() const
void SetPredictiveScalingMode(const PredictiveScalingMode &value)
void SetPredictiveScalingMaxCapacityBuffer(int value)
void SetCustomizedLoadMetricSpecification(const CustomizedLoadMetricSpecification &value)
bool PredictiveScalingMaxCapacityBufferHasBeenSet() const
ScalingInstruction & WithMaxCapacity(int value)
void SetScalableDimension(ScalableDimension &&value)
ScalingInstruction & WithResourceId(Aws::String &&value)
const Aws::String & GetResourceId() const
bool ScalingPolicyUpdateBehaviorHasBeenSet() const
const CustomizedLoadMetricSpecification & GetCustomizedLoadMetricSpecification() const
const PredefinedLoadMetricSpecification & GetPredefinedLoadMetricSpecification() const
bool ScheduledActionBufferTimeHasBeenSet() const
void SetScheduledActionBufferTime(int value)
bool PredictiveScalingModeHasBeenSet() const
ScalingInstruction & WithScheduledActionBufferTime(int value)
ScalingInstruction & WithMinCapacity(int value)
ScalingInstruction & WithPredefinedLoadMetricSpecification(PredefinedLoadMetricSpecification &&value)
int GetPredictiveScalingMaxCapacityBuffer() const
ScalingInstruction & WithScalableDimension(ScalableDimension &&value)
void SetServiceNamespace(ServiceNamespace &&value)
ScalingInstruction & WithScalingPolicyUpdateBehavior(const ScalingPolicyUpdateBehavior &value)
bool DisableDynamicScalingHasBeenSet() const
ScalingInstruction & AddTargetTrackingConfigurations(const TargetTrackingConfiguration &value)
ScalingInstruction & WithResourceId(const char *value)
const PredictiveScalingMaxCapacityBehavior & GetPredictiveScalingMaxCapacityBehavior() const
void SetResourceId(const char *value)
void SetPredictiveScalingMaxCapacityBehavior(PredictiveScalingMaxCapacityBehavior &&value)
const Aws::Vector< TargetTrackingConfiguration > & GetTargetTrackingConfigurations() const
void SetCustomizedLoadMetricSpecification(CustomizedLoadMetricSpecification &&value)
void SetResourceId(Aws::String &&value)
bool CustomizedLoadMetricSpecificationHasBeenSet() const
void SetResourceId(const Aws::String &value)
void SetScalingPolicyUpdateBehavior(const ScalingPolicyUpdateBehavior &value)
const ScalableDimension & GetScalableDimension() const
bool PredictiveScalingMaxCapacityBehaviorHasBeenSet() const
AWS_AUTOSCALINGPLANS_API ScalingInstruction(Aws::Utils::Json::JsonView jsonValue)
AWS_AUTOSCALINGPLANS_API ScalingInstruction()
bool GetDisableDynamicScaling() const
ScalingInstruction & WithServiceNamespace(const ServiceNamespace &value)
AWS_AUTOSCALINGPLANS_API ScalingInstruction & operator=(Aws::Utils::Json::JsonView jsonValue)
ScalingInstruction & WithServiceNamespace(ServiceNamespace &&value)
int GetMaxCapacity() const
void SetTargetTrackingConfigurations(Aws::Vector< TargetTrackingConfiguration > &&value)
const PredictiveScalingMode & GetPredictiveScalingMode() const
void SetPredictiveScalingMode(PredictiveScalingMode &&value)
void SetMinCapacity(int value)
void SetPredictiveScalingMaxCapacityBehavior(const PredictiveScalingMaxCapacityBehavior &value)
ScalingInstruction & WithScalingPolicyUpdateBehavior(ScalingPolicyUpdateBehavior &&value)
ScalingInstruction & WithPredictiveScalingMaxCapacityBuffer(int value)
ScalingInstruction & WithPredictiveScalingMode(const PredictiveScalingMode &value)
ScalingInstruction & AddTargetTrackingConfigurations(TargetTrackingConfiguration &&value)
ScalingPolicyUpdateBehavior
PredictiveScalingMaxCapacityBehavior
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue