7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/ComputeOptimizerRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/compute-optimizer/model/RecommendationPreferences.h>
12#include <aws/compute-optimizer/model/Filter.h>
17namespace ComputeOptimizer
33 inline virtual const char*
GetServiceRequestName()
const override {
return "GetAutoScalingGroupRecommendations"; }
84 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
98 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
132 bool m_accountIdsHasBeenSet =
false;
135 bool m_autoScalingGroupArnsHasBeenSet =
false;
138 bool m_nextTokenHasBeenSet =
false;
141 bool m_maxResultsHasBeenSet =
false;
144 bool m_filtersHasBeenSet =
false;
147 bool m_recommendationPreferencesHasBeenSet =
false;
GetAutoScalingGroupRecommendationsRequest & WithAutoScalingGroupArns(Aws::Vector< Aws::String > &&value)
AWS_COMPUTEOPTIMIZER_API GetAutoScalingGroupRecommendationsRequest()
GetAutoScalingGroupRecommendationsRequest & AddAccountIds(const char *value)
GetAutoScalingGroupRecommendationsRequest & AddAutoScalingGroupArns(const Aws::String &value)
const Aws::Vector< Aws::String > & GetAutoScalingGroupArns() const
void SetMaxResults(int value)
bool RecommendationPreferencesHasBeenSet() const
GetAutoScalingGroupRecommendationsRequest & WithNextToken(const Aws::String &value)
GetAutoScalingGroupRecommendationsRequest & WithRecommendationPreferences(RecommendationPreferences &&value)
GetAutoScalingGroupRecommendationsRequest & WithFilters(const Aws::Vector< Filter > &value)
GetAutoScalingGroupRecommendationsRequest & WithMaxResults(int value)
GetAutoScalingGroupRecommendationsRequest & WithNextToken(const char *value)
void SetAccountIds(const Aws::Vector< Aws::String > &value)
virtual const char * GetServiceRequestName() const override
void SetNextToken(Aws::String &&value)
GetAutoScalingGroupRecommendationsRequest & AddFilters(const Filter &value)
GetAutoScalingGroupRecommendationsRequest & WithAccountIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetAccountIds() const
const Aws::Vector< Filter > & GetFilters() const
bool NextTokenHasBeenSet() const
const Aws::String & GetNextToken() const
GetAutoScalingGroupRecommendationsRequest & WithFilters(Aws::Vector< Filter > &&value)
GetAutoScalingGroupRecommendationsRequest & WithRecommendationPreferences(const RecommendationPreferences &value)
GetAutoScalingGroupRecommendationsRequest & AddAccountIds(const Aws::String &value)
GetAutoScalingGroupRecommendationsRequest & WithAccountIds(const Aws::Vector< Aws::String > &value)
bool FiltersHasBeenSet() const
GetAutoScalingGroupRecommendationsRequest & AddAutoScalingGroupArns(const char *value)
AWS_COMPUTEOPTIMIZER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetAutoScalingGroupArns(Aws::Vector< Aws::String > &&value)
int GetMaxResults() const
GetAutoScalingGroupRecommendationsRequest & WithNextToken(Aws::String &&value)
void SetRecommendationPreferences(const RecommendationPreferences &value)
bool MaxResultsHasBeenSet() const
void SetFilters(const Aws::Vector< Filter > &value)
bool AutoScalingGroupArnsHasBeenSet() const
GetAutoScalingGroupRecommendationsRequest & WithAutoScalingGroupArns(const Aws::Vector< Aws::String > &value)
void SetNextToken(const char *value)
const RecommendationPreferences & GetRecommendationPreferences() const
void SetNextToken(const Aws::String &value)
GetAutoScalingGroupRecommendationsRequest & AddAutoScalingGroupArns(Aws::String &&value)
GetAutoScalingGroupRecommendationsRequest & AddFilters(Filter &&value)
void SetFilters(Aws::Vector< Filter > &&value)
bool AccountIdsHasBeenSet() const
void SetAccountIds(Aws::Vector< Aws::String > &&value)
GetAutoScalingGroupRecommendationsRequest & AddAccountIds(Aws::String &&value)
void SetAutoScalingGroupArns(const Aws::Vector< Aws::String > &value)
void SetRecommendationPreferences(RecommendationPreferences &&value)
AWS_COMPUTEOPTIMIZER_API Aws::String SerializePayload() const override
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