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
51 template<
typename ScalingPlanNameT = Aws::String>
52 void SetScalingPlanName(ScalingPlanNameT&& value) { m_scalingPlanNameHasBeenSet =
true; m_scalingPlanName = std::forward<ScalingPlanNameT>(value); }
53 template<
typename ScalingPlanNameT = Aws::String>
63 inline void SetScalingPlanVersion(
long long value) { m_scalingPlanVersionHasBeenSet =
true; m_scalingPlanVersion = value; }
99 template<
typename ResourceIdT = Aws::String>
100 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
101 template<
typename ResourceIdT = Aws::String>
137 template<
typename ScalingPoliciesT = Aws::Vector<ScalingPolicy>>
138 void SetScalingPolicies(ScalingPoliciesT&& value) { m_scalingPoliciesHasBeenSet =
true; m_scalingPolicies = std::forward<ScalingPoliciesT>(value); }
139 template<
typename ScalingPoliciesT = Aws::Vector<ScalingPolicy>>
141 template<
typename ScalingPoliciesT = ScalingPolicy>
168 template<
typename ScalingStatusMessageT = Aws::String>
169 void SetScalingStatusMessage(ScalingStatusMessageT&& value) { m_scalingStatusMessageHasBeenSet =
true; m_scalingStatusMessage = std::forward<ScalingStatusMessageT>(value); }
170 template<
typename ScalingStatusMessageT = Aws::String>
176 bool m_scalingPlanNameHasBeenSet =
false;
178 long long m_scalingPlanVersion{0};
179 bool m_scalingPlanVersionHasBeenSet =
false;
182 bool m_serviceNamespaceHasBeenSet =
false;
185 bool m_resourceIdHasBeenSet =
false;
188 bool m_scalableDimensionHasBeenSet =
false;
191 bool m_scalingPoliciesHasBeenSet =
false;
194 bool m_scalingStatusCodeHasBeenSet =
false;
197 bool m_scalingStatusMessageHasBeenSet =
false;
AWS_AUTOSCALINGPLANS_API Aws::Utils::Json::JsonValue Jsonize() const
ScalingPlanResource & WithScalableDimension(ScalableDimension value)
ScalingPlanResource & WithScalingPlanVersion(long long value)
AWS_AUTOSCALINGPLANS_API ScalingPlanResource()=default
void SetScalingStatusMessage(ScalingStatusMessageT &&value)
ScalingPlanResource & WithScalingPlanName(ScalingPlanNameT &&value)
bool ScalableDimensionHasBeenSet() const
long long GetScalingPlanVersion() const
ScalingStatusCode GetScalingStatusCode() const
bool ScalingStatusCodeHasBeenSet() const
void SetScalingPlanVersion(long long value)
AWS_AUTOSCALINGPLANS_API ScalingPlanResource & operator=(Aws::Utils::Json::JsonView jsonValue)
ScalingPlanResource & WithScalingStatusMessage(ScalingStatusMessageT &&value)
const Aws::String & GetScalingStatusMessage() const
void SetScalingPlanName(ScalingPlanNameT &&value)
void SetScalableDimension(ScalableDimension value)
ScalingPlanResource & WithServiceNamespace(ServiceNamespace value)
ScalingPlanResource & WithResourceId(ResourceIdT &&value)
bool ScalingPlanNameHasBeenSet() const
bool ServiceNamespaceHasBeenSet() const
const Aws::String & GetResourceId() const
ScalingPlanResource & WithScalingStatusCode(ScalingStatusCode value)
void SetScalingStatusCode(ScalingStatusCode value)
const Aws::String & GetScalingPlanName() const
void SetServiceNamespace(ServiceNamespace value)
bool ScalingPoliciesHasBeenSet() const
const Aws::Vector< ScalingPolicy > & GetScalingPolicies() const
bool ScalingStatusMessageHasBeenSet() const
bool ResourceIdHasBeenSet() const
ScalableDimension GetScalableDimension() const
ServiceNamespace GetServiceNamespace() const
void SetResourceId(ResourceIdT &&value)
ScalingPlanResource & WithScalingPolicies(ScalingPoliciesT &&value)
AWS_AUTOSCALINGPLANS_API ScalingPlanResource(Aws::Utils::Json::JsonView jsonValue)
ScalingPlanResource & AddScalingPolicies(ScalingPoliciesT &&value)
void SetScalingPolicies(ScalingPoliciesT &&value)
bool ScalingPlanVersionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue