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/compute-optimizer/model/S3DestinationConfig.h>
11#include <aws/compute-optimizer/model/FileFormat.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/compute-optimizer/model/LambdaFunctionRecommendationFilter.h>
14#include <aws/compute-optimizer/model/ExportableLambdaFunctionField.h>
19namespace ComputeOptimizer
35 inline virtual const char*
GetServiceRequestName()
const override {
return "ExportLambdaFunctionRecommendations"; }
55 template<
typename AccountIdsT = Aws::Vector<Aws::String>>
56 void SetAccountIds(AccountIdsT&& value) { m_accountIdsHasBeenSet =
true; m_accountIds = std::forward<AccountIdsT>(value); }
57 template<
typename AccountIdsT = Aws::Vector<Aws::String>>
59 template<
typename AccountIdsT = Aws::String>
70 template<
typename FiltersT = Aws::Vector<LambdaFunctionRecommendationFilter>>
71 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters = std::forward<FiltersT>(value); }
72 template<
typename FiltersT = Aws::Vector<LambdaFunctionRecommendationFilter>>
74 template<
typename FiltersT = LambdaFunctionRecommendationFilter>
87 template<
typename FieldsToExportT = Aws::Vector<ExportableLambdaFunctionField>>
88 void SetFieldsToExport(FieldsToExportT&& value) { m_fieldsToExportHasBeenSet =
true; m_fieldsToExport = std::forward<FieldsToExportT>(value); }
89 template<
typename FieldsToExportT = Aws::Vector<ExportableLambdaFunctionField>>
98 template<
typename S3DestinationConfigT = S3DestinationConfig>
99 void SetS3DestinationConfig(S3DestinationConfigT&& value) { m_s3DestinationConfigHasBeenSet =
true; m_s3DestinationConfig = std::forward<S3DestinationConfigT>(value); }
100 template<
typename S3DestinationConfigT = S3DestinationConfig>
139 bool m_accountIdsHasBeenSet =
false;
142 bool m_filtersHasBeenSet =
false;
145 bool m_fieldsToExportHasBeenSet =
false;
148 bool m_s3DestinationConfigHasBeenSet =
false;
151 bool m_fileFormatHasBeenSet =
false;
153 bool m_includeMemberAccounts{
false};
154 bool m_includeMemberAccountsHasBeenSet =
false;
void SetS3DestinationConfig(S3DestinationConfigT &&value)
ExportLambdaFunctionRecommendationsRequest & WithFileFormat(FileFormat value)
ExportLambdaFunctionRecommendationsRequest & AddAccountIds(AccountIdsT &&value)
bool FileFormatHasBeenSet() const
const Aws::Vector< ExportableLambdaFunctionField > & GetFieldsToExport() const
bool AccountIdsHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API ExportLambdaFunctionRecommendationsRequest()=default
ExportLambdaFunctionRecommendationsRequest & WithIncludeMemberAccounts(bool value)
const Aws::Vector< Aws::String > & GetAccountIds() const
ExportLambdaFunctionRecommendationsRequest & AddFieldsToExport(ExportableLambdaFunctionField value)
virtual const char * GetServiceRequestName() const override
void SetFileFormat(FileFormat value)
void SetIncludeMemberAccounts(bool value)
ExportLambdaFunctionRecommendationsRequest & WithFilters(FiltersT &&value)
const Aws::Vector< LambdaFunctionRecommendationFilter > & GetFilters() const
bool FiltersHasBeenSet() const
ExportLambdaFunctionRecommendationsRequest & WithS3DestinationConfig(S3DestinationConfigT &&value)
void SetAccountIds(AccountIdsT &&value)
bool IncludeMemberAccountsHasBeenSet() const
ExportLambdaFunctionRecommendationsRequest & AddFilters(FiltersT &&value)
AWS_COMPUTEOPTIMIZER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const S3DestinationConfig & GetS3DestinationConfig() const
bool FieldsToExportHasBeenSet() const
bool S3DestinationConfigHasBeenSet() const
bool GetIncludeMemberAccounts() const
void SetFilters(FiltersT &&value)
ExportLambdaFunctionRecommendationsRequest & WithFieldsToExport(FieldsToExportT &&value)
ExportLambdaFunctionRecommendationsRequest & WithAccountIds(AccountIdsT &&value)
FileFormat GetFileFormat() const
void SetFieldsToExport(FieldsToExportT &&value)
AWS_COMPUTEOPTIMIZER_API Aws::String SerializePayload() const override
ExportableLambdaFunctionField
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