7#include <aws/compute-optimizer/ComputeOptimizerRequest.h>
8#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
9#include <aws/compute-optimizer/model/ResourceType.h>
10#include <aws/compute-optimizer/model/Scope.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
16namespace ComputeOptimizer {
46 m_resourceTypeHasBeenSet =
true;
47 m_resourceType = value;
67 template <
typename ScopeT = Scope>
69 m_scopeHasBeenSet =
true;
70 m_scope = std::forward<ScopeT>(value);
72 template <
typename ScopeT = Scope>
74 SetScope(std::forward<ScopeT>(value));
85 template <
typename NextTokenT = Aws::String>
87 m_nextTokenHasBeenSet =
true;
88 m_nextToken = std::forward<NextTokenT>(value);
90 template <
typename NextTokenT = Aws::String>
106 m_maxResultsHasBeenSet =
true;
107 m_maxResults = value;
122 bool m_resourceTypeHasBeenSet =
false;
123 bool m_scopeHasBeenSet =
false;
124 bool m_nextTokenHasBeenSet =
false;
125 bool m_maxResultsHasBeenSet =
false;
GetRecommendationPreferencesRequest & WithResourceType(ResourceType value)
bool MaxResultsHasBeenSet() const
int GetMaxResults() const
AWS_COMPUTEOPTIMIZER_API GetRecommendationPreferencesRequest()=default
ResourceType GetResourceType() const
bool ResourceTypeHasBeenSet() const
GetRecommendationPreferencesRequest & WithScope(ScopeT &&value)
const Aws::String & GetNextToken() const
AWS_COMPUTEOPTIMIZER_API Aws::String SerializePayload() const override
const Scope & GetScope() const
bool ScopeHasBeenSet() const
void SetScope(ScopeT &&value)
AWS_COMPUTEOPTIMIZER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetResourceType(ResourceType value)
bool NextTokenHasBeenSet() const
void SetNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
GetRecommendationPreferencesRequest & WithNextToken(NextTokenT &&value)
void SetMaxResults(int value)
GetRecommendationPreferencesRequest & WithMaxResults(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String