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/LambdaFunctionRecommendationFilter.h>
16namespace ComputeOptimizer
32 inline virtual const char*
GetServiceRequestName()
const override {
return "GetLambdaFunctionRecommendations"; }
53 template<
typename FunctionArnsT = Aws::Vector<Aws::String>>
54 void SetFunctionArns(FunctionArnsT&& value) { m_functionArnsHasBeenSet =
true; m_functionArns = std::forward<FunctionArnsT>(value); }
55 template<
typename FunctionArnsT = Aws::Vector<Aws::String>>
57 template<
typename FunctionArnsT = Aws::String>
71 template<
typename AccountIdsT = Aws::Vector<Aws::String>>
72 void SetAccountIds(AccountIdsT&& value) { m_accountIdsHasBeenSet =
true; m_accountIds = std::forward<AccountIdsT>(value); }
73 template<
typename AccountIdsT = Aws::Vector<Aws::String>>
75 template<
typename AccountIdsT = Aws::String>
86 template<
typename FiltersT = Aws::Vector<LambdaFunctionRecommendationFilter>>
87 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters = std::forward<FiltersT>(value); }
88 template<
typename FiltersT = Aws::Vector<LambdaFunctionRecommendationFilter>>
90 template<
typename FiltersT = LambdaFunctionRecommendationFilter>
100 template<
typename NextTokenT = Aws::String>
101 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
102 template<
typename NextTokenT = Aws::String>
114 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
120 bool m_functionArnsHasBeenSet =
false;
123 bool m_accountIdsHasBeenSet =
false;
126 bool m_filtersHasBeenSet =
false;
129 bool m_nextTokenHasBeenSet =
false;
132 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