7#include <aws/compute-optimizer/ComputeOptimizerRequest.h>
8#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
9#include <aws/compute-optimizer/model/LicenseRecommendationFilter.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16namespace ComputeOptimizer {
43 template <
typename ResourceArnsT = Aws::Vector<Aws::String>>
45 m_resourceArnsHasBeenSet =
true;
46 m_resourceArns = std::forward<ResourceArnsT>(value);
48 template <
typename ResourceArnsT = Aws::Vector<Aws::String>>
53 template <
typename ResourceArnsT = Aws::String>
55 m_resourceArnsHasBeenSet =
true;
56 m_resourceArns.emplace_back(std::forward<ResourceArnsT>(value));
67 template <
typename NextTokenT = Aws::String>
69 m_nextTokenHasBeenSet =
true;
70 m_nextToken = std::forward<NextTokenT>(value);
72 template <
typename NextTokenT = Aws::String>
88 m_maxResultsHasBeenSet =
true;
104 template <
typename FiltersT = Aws::Vector<LicenseRecommendationFilter>>
106 m_filtersHasBeenSet =
true;
107 m_filters = std::forward<FiltersT>(value);
109 template <
typename FiltersT = Aws::Vector<LicenseRecommendationFilter>>
114 template <
typename FiltersT = LicenseRecommendationFilter>
116 m_filtersHasBeenSet =
true;
117 m_filters.emplace_back(std::forward<FiltersT>(value));
132 template <
typename AccountIdsT = Aws::Vector<Aws::String>>
134 m_accountIdsHasBeenSet =
true;
135 m_accountIds = std::forward<AccountIdsT>(value);
137 template <
typename AccountIdsT = Aws::Vector<Aws::String>>
142 template <
typename AccountIdsT = Aws::String>
144 m_accountIdsHasBeenSet =
true;
145 m_accountIds.emplace_back(std::forward<AccountIdsT>(value));
159 bool m_resourceArnsHasBeenSet =
false;
160 bool m_nextTokenHasBeenSet =
false;
161 bool m_maxResultsHasBeenSet =
false;
162 bool m_filtersHasBeenSet =
false;
163 bool m_accountIdsHasBeenSet =
false;
GetLicenseRecommendationsRequest & WithNextToken(NextTokenT &&value)
void SetMaxResults(int value)
const Aws::Vector< Aws::String > & GetResourceArns() const
GetLicenseRecommendationsRequest & WithAccountIds(AccountIdsT &&value)
bool ResourceArnsHasBeenSet() const
void SetAccountIds(AccountIdsT &&value)
bool FiltersHasBeenSet() const
void SetFilters(FiltersT &&value)
const Aws::Vector< LicenseRecommendationFilter > & GetFilters() const
void SetResourceArns(ResourceArnsT &&value)
GetLicenseRecommendationsRequest & AddFilters(FiltersT &&value)
bool MaxResultsHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_COMPUTEOPTIMIZER_API GetLicenseRecommendationsRequest()=default
bool AccountIdsHasBeenSet() const
GetLicenseRecommendationsRequest & AddAccountIds(AccountIdsT &&value)
const Aws::Vector< Aws::String > & GetAccountIds() const
const Aws::String & GetNextToken() const
GetLicenseRecommendationsRequest & WithFilters(FiltersT &&value)
GetLicenseRecommendationsRequest & WithResourceArns(ResourceArnsT &&value)
int GetMaxResults() const
virtual const char * GetServiceRequestName() const override
GetLicenseRecommendationsRequest & WithMaxResults(int value)
AWS_COMPUTEOPTIMIZER_API Aws::String SerializePayload() const override
bool NextTokenHasBeenSet() const
GetLicenseRecommendationsRequest & AddResourceArns(ResourceArnsT &&value)
void SetNextToken(NextTokenT &&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