7#include <aws/application-autoscaling/ApplicationAutoScalingRequest.h>
8#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
9#include <aws/application-autoscaling/model/ScalableDimension.h>
10#include <aws/application-autoscaling/model/ServiceNamespace.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17namespace ApplicationAutoScaling {
42 template <
typename PolicyNamesT = Aws::Vector<Aws::String>>
44 m_policyNamesHasBeenSet =
true;
45 m_policyNames = std::forward<PolicyNamesT>(value);
47 template <
typename PolicyNamesT = Aws::Vector<Aws::String>>
52 template <
typename PolicyNamesT = Aws::String>
54 m_policyNamesHasBeenSet =
true;
55 m_policyNames.emplace_back(std::forward<PolicyNamesT>(value));
69 m_serviceNamespaceHasBeenSet =
true;
70 m_serviceNamespace = value;
145 template <
typename ResourceIdT = Aws::String>
147 m_resourceIdHasBeenSet =
true;
148 m_resourceId = std::forward<ResourceIdT>(value);
150 template <
typename ResourceIdT = Aws::String>
214 m_scalableDimensionHasBeenSet =
true;
215 m_scalableDimension = value;
236 m_maxResultsHasBeenSet =
true;
237 m_maxResults = value;
251 template <
typename NextTokenT = Aws::String>
253 m_nextTokenHasBeenSet =
true;
254 m_nextToken = std::forward<NextTokenT>(value);
256 template <
typename NextTokenT = Aws::String>
274 bool m_policyNamesHasBeenSet =
false;
275 bool m_serviceNamespaceHasBeenSet =
false;
276 bool m_resourceIdHasBeenSet =
false;
277 bool m_scalableDimensionHasBeenSet =
false;
278 bool m_maxResultsHasBeenSet =
false;
279 bool m_nextTokenHasBeenSet =
false;
const Aws::String & GetResourceId() const
void SetServiceNamespace(ServiceNamespace value)
bool PolicyNamesHasBeenSet() const
DescribeScalingPoliciesRequest & WithServiceNamespace(ServiceNamespace value)
bool ResourceIdHasBeenSet() const
DescribeScalingPoliciesRequest & WithPolicyNames(PolicyNamesT &&value)
DescribeScalingPoliciesRequest & WithResourceId(ResourceIdT &&value)
DescribeScalingPoliciesRequest & WithNextToken(NextTokenT &&value)
bool ScalableDimensionHasBeenSet() const
AWS_APPLICATIONAUTOSCALING_API DescribeScalingPoliciesRequest()=default
AWS_APPLICATIONAUTOSCALING_API Aws::String SerializePayload() const override
bool ServiceNamespaceHasBeenSet() const
virtual const char * GetServiceRequestName() const override
AWS_APPLICATIONAUTOSCALING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ScalableDimension GetScalableDimension() const
bool MaxResultsHasBeenSet() const
bool NextTokenHasBeenSet() const
void SetPolicyNames(PolicyNamesT &&value)
int GetMaxResults() const
ServiceNamespace GetServiceNamespace() const
void SetScalableDimension(ScalableDimension value)
void SetResourceId(ResourceIdT &&value)
DescribeScalingPoliciesRequest & WithMaxResults(int value)
const Aws::Vector< Aws::String > & GetPolicyNames() const
void SetNextToken(NextTokenT &&value)
DescribeScalingPoliciesRequest & WithScalableDimension(ScalableDimension value)
void SetMaxResults(int value)
const Aws::String & GetNextToken() const
DescribeScalingPoliciesRequest & AddPolicyNames(PolicyNamesT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector