7#include <aws/autoscaling-plans/AutoScalingPlans_EXPORTS.h>
8#include <aws/autoscaling-plans/model/ScalableDimension.h>
9#include <aws/autoscaling-plans/model/ScalingPolicy.h>
10#include <aws/autoscaling-plans/model/ScalingStatusCode.h>
11#include <aws/autoscaling-plans/model/ServiceNamespace.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
24namespace AutoScalingPlans {
45 template <
typename ScalingPlanNameT = Aws::String>
47 m_scalingPlanNameHasBeenSet =
true;
48 m_scalingPlanName = std::forward<ScalingPlanNameT>(value);
50 template <
typename ScalingPlanNameT = Aws::String>
64 m_scalingPlanVersionHasBeenSet =
true;
65 m_scalingPlanVersion = value;
80 m_serviceNamespaceHasBeenSet =
true;
81 m_serviceNamespace = value;
111 template <
typename ResourceIdT = Aws::String>
113 m_resourceIdHasBeenSet =
true;
114 m_resourceId = std::forward<ResourceIdT>(value);
116 template <
typename ResourceIdT = Aws::String>
146 m_scalableDimensionHasBeenSet =
true;
147 m_scalableDimension = value;
161 template <
typename ScalingPoliciesT = Aws::Vector<ScalingPolicy>>
163 m_scalingPoliciesHasBeenSet =
true;
164 m_scalingPolicies = std::forward<ScalingPoliciesT>(value);
166 template <
typename ScalingPoliciesT = Aws::Vector<ScalingPolicy>>
171 template <
typename ScalingPoliciesT = ScalingPolicy>
173 m_scalingPoliciesHasBeenSet =
true;
174 m_scalingPolicies.emplace_back(std::forward<ScalingPoliciesT>(value));
193 m_scalingStatusCodeHasBeenSet =
true;
194 m_scalingStatusCode = value;
208 template <
typename ScalingStatusMessageT = Aws::String>
210 m_scalingStatusMessageHasBeenSet =
true;
211 m_scalingStatusMessage = std::forward<ScalingStatusMessageT>(value);
213 template <
typename ScalingStatusMessageT = Aws::String>
222 long long m_scalingPlanVersion{0};
235 bool m_scalingPlanNameHasBeenSet =
false;
236 bool m_scalingPlanVersionHasBeenSet =
false;
237 bool m_serviceNamespaceHasBeenSet =
false;
238 bool m_resourceIdHasBeenSet =
false;
239 bool m_scalableDimensionHasBeenSet =
false;
240 bool m_scalingPoliciesHasBeenSet =
false;
241 bool m_scalingStatusCodeHasBeenSet =
false;
242 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