7#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/application-autoscaling/model/ServiceNamespace.h>
10#include <aws/application-autoscaling/model/ScalableDimension.h>
11#include <aws/application-autoscaling/model/PolicyType.h>
12#include <aws/application-autoscaling/model/StepScalingPolicyConfiguration.h>
13#include <aws/application-autoscaling/model/TargetTrackingScalingPolicyConfiguration.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/application-autoscaling/model/Alarm.h>
29namespace ApplicationAutoScaling
61 inline void SetPolicyARN(
const char* value) { m_policyARNHasBeenSet =
true; m_policyARN.assign(value); }
75 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
160 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
292 bool m_policyARNHasBeenSet =
false;
295 bool m_policyNameHasBeenSet =
false;
298 bool m_serviceNamespaceHasBeenSet =
false;
301 bool m_resourceIdHasBeenSet =
false;
304 bool m_scalableDimensionHasBeenSet =
false;
307 bool m_policyTypeHasBeenSet =
false;
310 bool m_stepScalingPolicyConfigurationHasBeenSet =
false;
313 bool m_targetTrackingScalingPolicyConfigurationHasBeenSet =
false;
316 bool m_alarmsHasBeenSet =
false;
319 bool m_creationTimeHasBeenSet =
false;
ScalingPolicy & WithPolicyType(const PolicyType &value)
ScalingPolicy & WithServiceNamespace(const ServiceNamespace &value)
void SetResourceId(Aws::String &&value)
void SetServiceNamespace(ServiceNamespace &&value)
ScalingPolicy & WithResourceId(const char *value)
bool PolicyARNHasBeenSet() const
void SetPolicyARN(const Aws::String &value)
ScalingPolicy & WithPolicyARN(Aws::String &&value)
bool ResourceIdHasBeenSet() const
bool ScalableDimensionHasBeenSet() const
void SetPolicyName(const Aws::String &value)
ScalingPolicy & WithPolicyARN(const Aws::String &value)
const PolicyType & GetPolicyType() const
const Aws::String & GetPolicyARN() const
ScalingPolicy & WithPolicyName(Aws::String &&value)
void SetAlarms(Aws::Vector< Alarm > &&value)
ScalingPolicy & WithPolicyName(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
bool StepScalingPolicyConfigurationHasBeenSet() const
void SetAlarms(const Aws::Vector< Alarm > &value)
void SetResourceId(const Aws::String &value)
void SetServiceNamespace(const ServiceNamespace &value)
const Aws::String & GetResourceId() const
const ServiceNamespace & GetServiceNamespace() const
void SetPolicyType(PolicyType &&value)
void SetResourceId(const char *value)
AWS_APPLICATIONAUTOSCALING_API ScalingPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
ScalingPolicy & WithPolicyName(const Aws::String &value)
const Aws::String & GetPolicyName() const
ScalingPolicy & AddAlarms(const Alarm &value)
ScalingPolicy & WithCreationTime(Aws::Utils::DateTime &&value)
AWS_APPLICATIONAUTOSCALING_API ScalingPolicy(Aws::Utils::Json::JsonView jsonValue)
bool PolicyTypeHasBeenSet() const
const StepScalingPolicyConfiguration & GetStepScalingPolicyConfiguration() const
void SetPolicyName(Aws::String &&value)
void SetTargetTrackingScalingPolicyConfiguration(const TargetTrackingScalingPolicyConfiguration &value)
ScalingPolicy & WithResourceId(const Aws::String &value)
void SetPolicyName(const char *value)
bool CreationTimeHasBeenSet() const
ScalingPolicy & WithCreationTime(const Aws::Utils::DateTime &value)
bool AlarmsHasBeenSet() const
const Aws::Vector< Alarm > & GetAlarms() const
void SetCreationTime(const Aws::Utils::DateTime &value)
const TargetTrackingScalingPolicyConfiguration & GetTargetTrackingScalingPolicyConfiguration() const
void SetStepScalingPolicyConfiguration(const StepScalingPolicyConfiguration &value)
ScalingPolicy & WithAlarms(Aws::Vector< Alarm > &&value)
ScalingPolicy & WithServiceNamespace(ServiceNamespace &&value)
ScalingPolicy & WithResourceId(Aws::String &&value)
ScalingPolicy & WithAlarms(const Aws::Vector< Alarm > &value)
ScalingPolicy & WithTargetTrackingScalingPolicyConfiguration(TargetTrackingScalingPolicyConfiguration &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_APPLICATIONAUTOSCALING_API ScalingPolicy()
ScalingPolicy & WithScalableDimension(const ScalableDimension &value)
ScalingPolicy & WithScalableDimension(ScalableDimension &&value)
ScalingPolicy & WithStepScalingPolicyConfiguration(StepScalingPolicyConfiguration &&value)
void SetScalableDimension(const ScalableDimension &value)
AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStepScalingPolicyConfiguration(StepScalingPolicyConfiguration &&value)
bool TargetTrackingScalingPolicyConfigurationHasBeenSet() const
ScalingPolicy & WithPolicyARN(const char *value)
void SetScalableDimension(ScalableDimension &&value)
void SetPolicyARN(Aws::String &&value)
const ScalableDimension & GetScalableDimension() const
void SetTargetTrackingScalingPolicyConfiguration(TargetTrackingScalingPolicyConfiguration &&value)
ScalingPolicy & AddAlarms(Alarm &&value)
ScalingPolicy & WithStepScalingPolicyConfiguration(const StepScalingPolicyConfiguration &value)
bool ServiceNamespaceHasBeenSet() const
void SetPolicyType(const PolicyType &value)
bool PolicyNameHasBeenSet() const
void SetPolicyARN(const char *value)
ScalingPolicy & WithTargetTrackingScalingPolicyConfiguration(const TargetTrackingScalingPolicyConfiguration &value)
ScalingPolicy & WithPolicyType(PolicyType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue