7#include <aws/autoscaling-plans/AutoScalingPlans_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/autoscaling-plans/model/ServiceNamespace.h>
10#include <aws/autoscaling-plans/model/ScalableDimension.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/autoscaling-plans/model/ScalingStatusCode.h>
13#include <aws/autoscaling-plans/model/ScalingPolicy.h>
26namespace AutoScalingPlans
53 inline void SetScalingPlanName(
const char* value) { m_scalingPlanNameHasBeenSet =
true; m_scalingPlanName.assign(value); }
65 inline void SetScalingPlanVersion(
long long value) { m_scalingPlanVersionHasBeenSet =
true; m_scalingPlanVersion = value; }
105 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
180 inline void SetScalingStatusMessage(
const char* value) { m_scalingStatusMessageHasBeenSet =
true; m_scalingStatusMessage.assign(value); }
188 bool m_scalingPlanNameHasBeenSet =
false;
190 long long m_scalingPlanVersion;
191 bool m_scalingPlanVersionHasBeenSet =
false;
194 bool m_serviceNamespaceHasBeenSet =
false;
197 bool m_resourceIdHasBeenSet =
false;
200 bool m_scalableDimensionHasBeenSet =
false;
203 bool m_scalingPoliciesHasBeenSet =
false;
206 bool m_scalingStatusCodeHasBeenSet =
false;
209 bool m_scalingStatusMessageHasBeenSet =
false;
const ScalingStatusCode & GetScalingStatusCode() const
AWS_AUTOSCALINGPLANS_API Aws::Utils::Json::JsonValue Jsonize() const
ScalingPlanResource & WithScalingPlanName(Aws::String &&value)
ScalingPlanResource & WithResourceId(const char *value)
ScalingPlanResource & WithScalingPlanVersion(long long value)
void SetScalingStatusMessage(const Aws::String &value)
ScalingPlanResource & WithServiceNamespace(ServiceNamespace &&value)
ScalingPlanResource & WithScalingStatusCode(ScalingStatusCode &&value)
bool ScalableDimensionHasBeenSet() const
ScalingPlanResource & WithScalingStatusMessage(const char *value)
ScalingPlanResource & WithScalableDimension(ScalableDimension &&value)
long long GetScalingPlanVersion() const
void SetScalingPlanName(Aws::String &&value)
void SetScalableDimension(ScalableDimension &&value)
void SetScalingStatusCode(const ScalingStatusCode &value)
void SetServiceNamespace(ServiceNamespace &&value)
void SetScalingStatusMessage(const char *value)
ScalingPlanResource & WithResourceId(const Aws::String &value)
void SetResourceId(const char *value)
bool ScalingStatusCodeHasBeenSet() const
ScalingPlanResource & WithResourceId(Aws::String &&value)
void SetScalingPlanVersion(long long value)
AWS_AUTOSCALINGPLANS_API ScalingPlanResource & operator=(Aws::Utils::Json::JsonView jsonValue)
ScalingPlanResource & WithScalingStatusMessage(Aws::String &&value)
void SetScalingPlanName(const char *value)
const Aws::String & GetScalingStatusMessage() const
void SetServiceNamespace(const ServiceNamespace &value)
AWS_AUTOSCALINGPLANS_API ScalingPlanResource()
ScalingPlanResource & AddScalingPolicies(ScalingPolicy &&value)
const ScalableDimension & GetScalableDimension() const
ScalingPlanResource & WithScalingPolicies(const Aws::Vector< ScalingPolicy > &value)
ScalingPlanResource & WithScalingPlanName(const char *value)
bool ScalingPlanNameHasBeenSet() const
bool ServiceNamespaceHasBeenSet() const
const Aws::String & GetResourceId() const
ScalingPlanResource & WithScalingStatusMessage(const Aws::String &value)
ScalingPlanResource & AddScalingPolicies(const ScalingPolicy &value)
void SetResourceId(Aws::String &&value)
void SetScalingStatusMessage(Aws::String &&value)
const ServiceNamespace & GetServiceNamespace() const
ScalingPlanResource & WithScalableDimension(const ScalableDimension &value)
void SetScalingPolicies(Aws::Vector< ScalingPolicy > &&value)
void SetScalingPolicies(const Aws::Vector< ScalingPolicy > &value)
ScalingPlanResource & WithScalingPlanName(const Aws::String &value)
const Aws::String & GetScalingPlanName() const
ScalingPlanResource & WithServiceNamespace(const ServiceNamespace &value)
bool ScalingPoliciesHasBeenSet() const
const Aws::Vector< ScalingPolicy > & GetScalingPolicies() const
bool ScalingStatusMessageHasBeenSet() const
bool ResourceIdHasBeenSet() const
void SetResourceId(const Aws::String &value)
void SetScalingStatusCode(ScalingStatusCode &&value)
void SetScalableDimension(const ScalableDimension &value)
AWS_AUTOSCALINGPLANS_API ScalingPlanResource(Aws::Utils::Json::JsonView jsonValue)
void SetScalingPlanName(const Aws::String &value)
bool ScalingPlanVersionHasBeenSet() const
ScalingPlanResource & WithScalingPolicies(Aws::Vector< ScalingPolicy > &&value)
ScalingPlanResource & WithScalingStatusCode(const ScalingStatusCode &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