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
64 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
78 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
131 bool m_instanceArnsHasBeenSet =
false;
134 bool m_nextTokenHasBeenSet =
false;
137 bool m_maxResultsHasBeenSet =
false;
140 bool m_filtersHasBeenSet =
false;
143 bool m_accountIdsHasBeenSet =
false;
146 bool m_recommendationPreferencesHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
void SetAccountIds(Aws::Vector< Aws::String > &&value)
bool MaxResultsHasBeenSet() const
GetEC2InstanceRecommendationsRequest & AddAccountIds(Aws::String &&value)
GetEC2InstanceRecommendationsRequest & WithNextToken(const Aws::String &value)
void SetNextToken(Aws::String &&value)
GetEC2InstanceRecommendationsRequest & AddAccountIds(const char *value)
const RecommendationPreferences & GetRecommendationPreferences() const
GetEC2InstanceRecommendationsRequest & AddInstanceArns(const char *value)
AWS_COMPUTEOPTIMIZER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool InstanceArnsHasBeenSet() const
void SetMaxResults(int value)
void SetInstanceArns(Aws::Vector< Aws::String > &&value)
GetEC2InstanceRecommendationsRequest & WithRecommendationPreferences(const RecommendationPreferences &value)
GetEC2InstanceRecommendationsRequest & AddInstanceArns(Aws::String &&value)
AWS_COMPUTEOPTIMIZER_API Aws::String SerializePayload() const override
GetEC2InstanceRecommendationsRequest & WithFilters(Aws::Vector< Filter > &&value)
GetEC2InstanceRecommendationsRequest & AddInstanceArns(const Aws::String &value)
void SetInstanceArns(const Aws::Vector< Aws::String > &value)
GetEC2InstanceRecommendationsRequest & WithInstanceArns(Aws::Vector< Aws::String > &&value)
GetEC2InstanceRecommendationsRequest & AddFilters(const Filter &value)
GetEC2InstanceRecommendationsRequest & WithAccountIds(Aws::Vector< Aws::String > &&value)
void SetFilters(const Aws::Vector< Filter > &value)
bool NextTokenHasBeenSet() const
GetEC2InstanceRecommendationsRequest & WithInstanceArns(const Aws::Vector< Aws::String > &value)
GetEC2InstanceRecommendationsRequest & WithAccountIds(const Aws::Vector< Aws::String > &value)
void SetNextToken(const char *value)
AWS_COMPUTEOPTIMIZER_API GetEC2InstanceRecommendationsRequest()
void SetFilters(Aws::Vector< Filter > &&value)
const Aws::String & GetNextToken() const
GetEC2InstanceRecommendationsRequest & WithNextToken(const char *value)
bool FiltersHasBeenSet() const
bool AccountIdsHasBeenSet() const
void SetAccountIds(const Aws::Vector< Aws::String > &value)
bool RecommendationPreferencesHasBeenSet() const
GetEC2InstanceRecommendationsRequest & WithMaxResults(int value)
void SetRecommendationPreferences(const RecommendationPreferences &value)
void SetNextToken(const Aws::String &value)
int GetMaxResults() const
GetEC2InstanceRecommendationsRequest & AddAccountIds(const Aws::String &value)
const Aws::Vector< Aws::String > & GetInstanceArns() const
GetEC2InstanceRecommendationsRequest & AddFilters(Filter &&value)
void SetRecommendationPreferences(RecommendationPreferences &&value)
GetEC2InstanceRecommendationsRequest & WithFilters(const Aws::Vector< Filter > &value)
GetEC2InstanceRecommendationsRequest & WithNextToken(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAccountIds() const
const Aws::Vector< Filter > & GetFilters() const
GetEC2InstanceRecommendationsRequest & WithRecommendationPreferences(RecommendationPreferences &&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