7#include <aws/autoscaling-plans/AutoScalingPlans_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/autoscaling-plans/model/PolicyType.h>
10#include <aws/autoscaling-plans/model/TargetTrackingConfiguration.h>
23namespace AutoScalingPlans
50 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
83 bool m_policyNameHasBeenSet =
false;
86 bool m_policyTypeHasBeenSet =
false;
89 bool m_targetTrackingConfigurationHasBeenSet =
false;
void SetPolicyName(Aws::String &&value)
void SetPolicyName(const Aws::String &value)
bool PolicyNameHasBeenSet() const
ScalingPolicy & WithPolicyType(PolicyType &&value)
void SetTargetTrackingConfiguration(const TargetTrackingConfiguration &value)
void SetPolicyName(const char *value)
ScalingPolicy & WithTargetTrackingConfiguration(const TargetTrackingConfiguration &value)
AWS_AUTOSCALINGPLANS_API ScalingPolicy()
bool TargetTrackingConfigurationHasBeenSet() const
AWS_AUTOSCALINGPLANS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetPolicyName() const
ScalingPolicy & WithPolicyType(const PolicyType &value)
bool PolicyTypeHasBeenSet() const
ScalingPolicy & WithPolicyName(const char *value)
void SetPolicyType(PolicyType &&value)
ScalingPolicy & WithPolicyName(Aws::String &&value)
ScalingPolicy & WithTargetTrackingConfiguration(TargetTrackingConfiguration &&value)
const PolicyType & GetPolicyType() const
ScalingPolicy & WithPolicyName(const Aws::String &value)
void SetPolicyType(const PolicyType &value)
const TargetTrackingConfiguration & GetTargetTrackingConfiguration() const
AWS_AUTOSCALINGPLANS_API ScalingPolicy(Aws::Utils::Json::JsonView jsonValue)
void SetTargetTrackingConfiguration(TargetTrackingConfiguration &&value)
AWS_AUTOSCALINGPLANS_API ScalingPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue