7#include <aws/compute-optimizer/ComputeOptimizerRequest.h>
8#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
9#include <aws/compute-optimizer/model/LambdaFunctionRecommendationFilter.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16namespace ComputeOptimizer {
29 inline virtual const char*
GetServiceRequestName()
const override {
return "GetLambdaFunctionRecommendations"; }
49 template <
typename FunctionArnsT = Aws::Vector<Aws::String>>
51 m_functionArnsHasBeenSet =
true;
52 m_functionArns = std::forward<FunctionArnsT>(value);
54 template <
typename FunctionArnsT = Aws::Vector<Aws::String>>
59 template <
typename FunctionArnsT = Aws::String>
61 m_functionArnsHasBeenSet =
true;
62 m_functionArns.emplace_back(std::forward<FunctionArnsT>(value));
77 template <
typename AccountIdsT = Aws::Vector<Aws::String>>
79 m_accountIdsHasBeenSet =
true;
80 m_accountIds = std::forward<AccountIdsT>(value);
82 template <
typename AccountIdsT = Aws::Vector<Aws::String>>
87 template <
typename AccountIdsT = Aws::String>
89 m_accountIdsHasBeenSet =
true;
90 m_accountIds.emplace_back(std::forward<AccountIdsT>(value));
102 template <
typename FiltersT = Aws::Vector<LambdaFunctionRecommendationFilter>>
104 m_filtersHasBeenSet =
true;
105 m_filters = std::forward<FiltersT>(value);
107 template <
typename FiltersT = Aws::Vector<LambdaFunctionRecommendationFilter>>
112 template <
typename FiltersT = LambdaFunctionRecommendationFilter>
114 m_filtersHasBeenSet =
true;
115 m_filters.emplace_back(std::forward<FiltersT>(value));
126 template <
typename NextTokenT = Aws::String>
128 m_nextTokenHasBeenSet =
true;
129 m_nextToken = std::forward<NextTokenT>(value);
131 template <
typename NextTokenT = Aws::String>
147 m_maxResultsHasBeenSet =
true;
148 m_maxResults = value;
165 bool m_functionArnsHasBeenSet =
false;
166 bool m_accountIdsHasBeenSet =
false;
167 bool m_filtersHasBeenSet =
false;
168 bool m_nextTokenHasBeenSet =
false;
169 bool m_maxResultsHasBeenSet =
false;
bool FiltersHasBeenSet() const
bool NextTokenHasBeenSet() const
const Aws::Vector< Aws::String > & GetAccountIds() const
void SetAccountIds(AccountIdsT &&value)
const Aws::Vector< Aws::String > & GetFunctionArns() const
const Aws::String & GetNextToken() const
GetLambdaFunctionRecommendationsRequest & WithMaxResults(int value)
AWS_COMPUTEOPTIMIZER_API Aws::String SerializePayload() const override
GetLambdaFunctionRecommendationsRequest & WithAccountIds(AccountIdsT &&value)
virtual const char * GetServiceRequestName() const override
void SetNextToken(NextTokenT &&value)
void SetFilters(FiltersT &&value)
bool AccountIdsHasBeenSet() const
void SetFunctionArns(FunctionArnsT &&value)
GetLambdaFunctionRecommendationsRequest & WithNextToken(NextTokenT &&value)
GetLambdaFunctionRecommendationsRequest & WithFunctionArns(FunctionArnsT &&value)
GetLambdaFunctionRecommendationsRequest & AddAccountIds(AccountIdsT &&value)
const Aws::Vector< LambdaFunctionRecommendationFilter > & GetFilters() const
AWS_COMPUTEOPTIMIZER_API GetLambdaFunctionRecommendationsRequest()=default
void SetMaxResults(int value)
GetLambdaFunctionRecommendationsRequest & AddFunctionArns(FunctionArnsT &&value)
int GetMaxResults() const
bool FunctionArnsHasBeenSet() const
GetLambdaFunctionRecommendationsRequest & WithFilters(FiltersT &&value)
GetLambdaFunctionRecommendationsRequest & AddFilters(FiltersT &&value)
bool MaxResultsHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() 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