7#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
8#include <aws/application-autoscaling/model/ServiceNamespace.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/application-autoscaling/model/ScalableDimension.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/application-autoscaling/model/SuspendedState.h>
25namespace ApplicationAutoScaling
123 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
195 inline void SetMinCapacity(
int value) { m_minCapacityHasBeenSet =
true; m_minCapacity = value; }
205 inline void SetMaxCapacity(
int value) { m_maxCapacityHasBeenSet =
true; m_maxCapacity = value; }
218 inline void SetRoleARN(
const char* value) { m_roleARNHasBeenSet =
true; m_roleARN.assign(value); }
257 inline void SetScalableTargetARN(
const char* value) { m_scalableTargetARNHasBeenSet =
true; m_scalableTargetARN.assign(value); }
265 bool m_serviceNamespaceHasBeenSet =
false;
268 bool m_resourceIdHasBeenSet =
false;
271 bool m_scalableDimensionHasBeenSet =
false;
274 bool m_minCapacityHasBeenSet =
false;
277 bool m_maxCapacityHasBeenSet =
false;
280 bool m_roleARNHasBeenSet =
false;
283 bool m_creationTimeHasBeenSet =
false;
286 bool m_suspendedStateHasBeenSet =
false;
289 bool m_scalableTargetARNHasBeenSet =
false;
void SetRoleARN(const Aws::String &value)
ScalableTarget & WithSuspendedState(const SuspendedState &value)
void SetScalableDimension(ScalableDimension &&value)
ScalableTarget & WithResourceId(const char *value)
void SetSuspendedState(const SuspendedState &value)
ScalableTarget & WithScalableTargetARN(const char *value)
AWS_APPLICATIONAUTOSCALING_API ScalableTarget()
bool MaxCapacityHasBeenSet() const
ScalableTarget & WithSuspendedState(SuspendedState &&value)
ScalableTarget & WithResourceId(Aws::String &&value)
AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const
bool SuspendedStateHasBeenSet() const
void SetScalableTargetARN(Aws::String &&value)
bool MinCapacityHasBeenSet() const
const ScalableDimension & GetScalableDimension() const
bool CreationTimeHasBeenSet() const
bool RoleARNHasBeenSet() const
void SetMinCapacity(int value)
ScalableTarget & WithResourceId(const Aws::String &value)
ScalableTarget & WithMaxCapacity(int value)
ScalableTarget & WithMinCapacity(int value)
int GetMaxCapacity() const
void SetSuspendedState(SuspendedState &&value)
const ServiceNamespace & GetServiceNamespace() const
bool ServiceNamespaceHasBeenSet() const
ScalableTarget & WithServiceNamespace(ServiceNamespace &&value)
void SetServiceNamespace(const ServiceNamespace &value)
void SetScalableTargetARN(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetScalableDimension(const ScalableDimension &value)
bool ScalableTargetARNHasBeenSet() const
ScalableTarget & WithScalableDimension(ScalableDimension &&value)
void SetResourceId(const char *value)
void SetRoleARN(const char *value)
const Aws::String & GetResourceId() const
bool ScalableDimensionHasBeenSet() const
ScalableTarget & WithRoleARN(const char *value)
ScalableTarget & WithCreationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetRoleARN() const
AWS_APPLICATIONAUTOSCALING_API ScalableTarget(Aws::Utils::Json::JsonView jsonValue)
void SetServiceNamespace(ServiceNamespace &&value)
void SetMaxCapacity(int value)
const Aws::String & GetScalableTargetARN() const
ScalableTarget & WithCreationTime(const Aws::Utils::DateTime &value)
void SetRoleARN(Aws::String &&value)
void SetResourceId(Aws::String &&value)
ScalableTarget & WithRoleARN(const Aws::String &value)
void SetResourceId(const Aws::String &value)
ScalableTarget & WithScalableTargetARN(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
ScalableTarget & WithRoleARN(Aws::String &&value)
const SuspendedState & GetSuspendedState() const
AWS_APPLICATIONAUTOSCALING_API ScalableTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTime(Aws::Utils::DateTime &&value)
bool ResourceIdHasBeenSet() const
void SetScalableTargetARN(const char *value)
ScalableTarget & WithScalableTargetARN(Aws::String &&value)
ScalableTarget & WithServiceNamespace(const ServiceNamespace &value)
int GetMinCapacity() const
ScalableTarget & WithScalableDimension(const ScalableDimension &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue