7#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
8#include <aws/application-autoscaling/ApplicationAutoScalingRequest.h>
9#include <aws/application-autoscaling/model/ServiceNamespace.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/application-autoscaling/model/ScalableDimension.h>
12#include <aws/application-autoscaling/model/SuspendedState.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
18namespace ApplicationAutoScaling
121 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
209 inline void SetMinCapacity(
int value) { m_minCapacityHasBeenSet =
true; m_minCapacity = value; }
230 inline void SetMaxCapacity(
int value) { m_maxCapacityHasBeenSet =
true; m_maxCapacity = value; }
249 inline void SetRoleARN(
const char* value) { m_roleARNHasBeenSet =
true; m_roleARN.assign(value); }
309 bool m_serviceNamespaceHasBeenSet =
false;
312 bool m_resourceIdHasBeenSet =
false;
315 bool m_scalableDimensionHasBeenSet =
false;
318 bool m_minCapacityHasBeenSet =
false;
321 bool m_maxCapacityHasBeenSet =
false;
324 bool m_roleARNHasBeenSet =
false;
327 bool m_suspendedStateHasBeenSet =
false;
330 bool m_tagsHasBeenSet =
false;
RegisterScalableTargetRequest & WithSuspendedState(SuspendedState &&value)
RegisterScalableTargetRequest & WithRoleARN(Aws::String &&value)
RegisterScalableTargetRequest & AddTags(const char *key, Aws::String &&value)
const SuspendedState & GetSuspendedState() const
void SetResourceId(Aws::String &&value)
void SetServiceNamespace(const ServiceNamespace &value)
RegisterScalableTargetRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetRoleARN(const char *value)
RegisterScalableTargetRequest & AddTags(const char *key, const char *value)
void SetResourceId(const Aws::String &value)
RegisterScalableTargetRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
RegisterScalableTargetRequest & WithSuspendedState(const SuspendedState &value)
bool TagsHasBeenSet() const
RegisterScalableTargetRequest & AddTags(Aws::String &&key, const char *value)
bool RoleARNHasBeenSet() const
int GetMaxCapacity() const
void SetServiceNamespace(ServiceNamespace &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
RegisterScalableTargetRequest & WithServiceNamespace(const ServiceNamespace &value)
RegisterScalableTargetRequest & AddTags(const Aws::String &key, Aws::String &&value)
RegisterScalableTargetRequest & AddTags(Aws::String &&key, Aws::String &&value)
RegisterScalableTargetRequest & WithServiceNamespace(ServiceNamespace &&value)
const ServiceNamespace & GetServiceNamespace() const
RegisterScalableTargetRequest & WithResourceId(const Aws::String &value)
bool MaxCapacityHasBeenSet() const
void SetSuspendedState(const SuspendedState &value)
RegisterScalableTargetRequest & WithRoleARN(const Aws::String &value)
bool ScalableDimensionHasBeenSet() const
void SetRoleARN(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
RegisterScalableTargetRequest & WithScalableDimension(ScalableDimension &&value)
void SetSuspendedState(SuspendedState &&value)
bool ResourceIdHasBeenSet() const
void SetResourceId(const char *value)
const Aws::String & GetResourceId() const
virtual const char * GetServiceRequestName() const override
const ScalableDimension & GetScalableDimension() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
RegisterScalableTargetRequest & WithMaxCapacity(int value)
bool ServiceNamespaceHasBeenSet() const
void SetMaxCapacity(int value)
RegisterScalableTargetRequest & WithResourceId(Aws::String &&value)
RegisterScalableTargetRequest & AddTags(Aws::String &&key, const Aws::String &value)
bool SuspendedStateHasBeenSet() const
void SetScalableDimension(ScalableDimension &&value)
AWS_APPLICATIONAUTOSCALING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetRoleARN() const
AWS_APPLICATIONAUTOSCALING_API RegisterScalableTargetRequest()
int GetMinCapacity() const
AWS_APPLICATIONAUTOSCALING_API Aws::String SerializePayload() const override
RegisterScalableTargetRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetMinCapacity(int value)
RegisterScalableTargetRequest & WithMinCapacity(int value)
void SetScalableDimension(const ScalableDimension &value)
void SetRoleARN(const Aws::String &value)
RegisterScalableTargetRequest & WithResourceId(const char *value)
RegisterScalableTargetRequest & WithRoleARN(const char *value)
bool MinCapacityHasBeenSet() const
RegisterScalableTargetRequest & WithScalableDimension(const ScalableDimension &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String