7#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
8#include <aws/application-autoscaling/ApplicationAutoScalingRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/application-autoscaling/model/ServiceNamespace.h>
11#include <aws/application-autoscaling/model/ScalableDimension.h>
12#include <aws/application-autoscaling/model/PolicyType.h>
13#include <aws/application-autoscaling/model/StepScalingPolicyConfiguration.h>
14#include <aws/application-autoscaling/model/TargetTrackingScalingPolicyConfiguration.h>
19namespace ApplicationAutoScaling
52 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
138 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
253 bool m_policyNameHasBeenSet =
false;
256 bool m_serviceNamespaceHasBeenSet =
false;
259 bool m_resourceIdHasBeenSet =
false;
262 bool m_scalableDimensionHasBeenSet =
false;
265 bool m_policyTypeHasBeenSet =
false;
268 bool m_stepScalingPolicyConfigurationHasBeenSet =
false;
271 bool m_targetTrackingScalingPolicyConfigurationHasBeenSet =
false;
PutScalingPolicyRequest & WithResourceId(Aws::String &&value)
PutScalingPolicyRequest & WithPolicyName(const Aws::String &value)
const Aws::String & GetResourceId() const
PutScalingPolicyRequest & WithResourceId(const char *value)
void SetResourceId(const char *value)
bool ResourceIdHasBeenSet() const
const PolicyType & GetPolicyType() const
virtual const char * GetServiceRequestName() const override
PutScalingPolicyRequest & WithTargetTrackingScalingPolicyConfiguration(const TargetTrackingScalingPolicyConfiguration &value)
bool StepScalingPolicyConfigurationHasBeenSet() const
void SetResourceId(Aws::String &&value)
void SetPolicyName(const char *value)
const StepScalingPolicyConfiguration & GetStepScalingPolicyConfiguration() const
void SetTargetTrackingScalingPolicyConfiguration(TargetTrackingScalingPolicyConfiguration &&value)
PutScalingPolicyRequest & WithServiceNamespace(ServiceNamespace &&value)
PutScalingPolicyRequest & WithScalableDimension(const ScalableDimension &value)
void SetPolicyType(const PolicyType &value)
void SetScalableDimension(const ScalableDimension &value)
PutScalingPolicyRequest & WithPolicyName(const char *value)
void SetStepScalingPolicyConfiguration(StepScalingPolicyConfiguration &&value)
const ScalableDimension & GetScalableDimension() const
void SetPolicyType(PolicyType &&value)
void SetStepScalingPolicyConfiguration(const StepScalingPolicyConfiguration &value)
const Aws::String & GetPolicyName() const
AWS_APPLICATIONAUTOSCALING_API PutScalingPolicyRequest()
bool PolicyNameHasBeenSet() const
bool TargetTrackingScalingPolicyConfigurationHasBeenSet() const
void SetPolicyName(const Aws::String &value)
AWS_APPLICATIONAUTOSCALING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutScalingPolicyRequest & WithPolicyName(Aws::String &&value)
PutScalingPolicyRequest & WithStepScalingPolicyConfiguration(const StepScalingPolicyConfiguration &value)
const ServiceNamespace & GetServiceNamespace() const
void SetScalableDimension(ScalableDimension &&value)
PutScalingPolicyRequest & WithStepScalingPolicyConfiguration(StepScalingPolicyConfiguration &&value)
void SetServiceNamespace(ServiceNamespace &&value)
bool PolicyTypeHasBeenSet() const
void SetPolicyName(Aws::String &&value)
PutScalingPolicyRequest & WithScalableDimension(ScalableDimension &&value)
void SetResourceId(const Aws::String &value)
bool ScalableDimensionHasBeenSet() const
PutScalingPolicyRequest & WithPolicyType(PolicyType &&value)
const TargetTrackingScalingPolicyConfiguration & GetTargetTrackingScalingPolicyConfiguration() const
bool ServiceNamespaceHasBeenSet() const
void SetTargetTrackingScalingPolicyConfiguration(const TargetTrackingScalingPolicyConfiguration &value)
PutScalingPolicyRequest & WithPolicyType(const PolicyType &value)
PutScalingPolicyRequest & WithServiceNamespace(const ServiceNamespace &value)
AWS_APPLICATIONAUTOSCALING_API Aws::String SerializePayload() const override
void SetServiceNamespace(const ServiceNamespace &value)
PutScalingPolicyRequest & WithResourceId(const Aws::String &value)
PutScalingPolicyRequest & WithTargetTrackingScalingPolicyConfiguration(TargetTrackingScalingPolicyConfiguration &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String