7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/ComputeOptimizerRequest.h>
9#include <aws/compute-optimizer/model/ResourceType.h>
10#include <aws/compute-optimizer/model/Scope.h>
11#include <aws/compute-optimizer/model/EnhancedInfrastructureMetrics.h>
12#include <aws/compute-optimizer/model/InferredWorkloadTypesPreference.h>
13#include <aws/compute-optimizer/model/ExternalMetricsPreference.h>
14#include <aws/compute-optimizer/model/LookBackPeriodPreference.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/compute-optimizer/model/SavingsEstimationMode.h>
17#include <aws/compute-optimizer/model/UtilizationPreference.h>
18#include <aws/compute-optimizer/model/PreferredResource.h>
23namespace ComputeOptimizer
82 inline void SetScope(
const Scope& value) { m_scopeHasBeenSet =
true; m_scope = value; }
83 inline void SetScope(
Scope&& value) { m_scopeHasBeenSet =
true; m_scope = std::move(value); }
224 bool m_resourceTypeHasBeenSet =
false;
227 bool m_scopeHasBeenSet =
false;
230 bool m_enhancedInfrastructureMetricsHasBeenSet =
false;
233 bool m_inferredWorkloadTypesHasBeenSet =
false;
236 bool m_externalMetricsPreferenceHasBeenSet =
false;
239 bool m_lookBackPeriodHasBeenSet =
false;
242 bool m_utilizationPreferencesHasBeenSet =
false;
245 bool m_preferredResourcesHasBeenSet =
false;
248 bool m_savingsEstimationModeHasBeenSet =
false;
PutRecommendationPreferencesRequest & AddPreferredResources(PreferredResource &&value)
void SetScope(const Scope &value)
PutRecommendationPreferencesRequest & WithSavingsEstimationMode(const SavingsEstimationMode &value)
bool ExternalMetricsPreferenceHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API PutRecommendationPreferencesRequest()
const LookBackPeriodPreference & GetLookBackPeriod() const
void SetLookBackPeriod(LookBackPeriodPreference &&value)
bool EnhancedInfrastructureMetricsHasBeenSet() const
PutRecommendationPreferencesRequest & WithUtilizationPreferences(Aws::Vector< UtilizationPreference > &&value)
void SetUtilizationPreferences(Aws::Vector< UtilizationPreference > &&value)
PutRecommendationPreferencesRequest & AddPreferredResources(const PreferredResource &value)
bool ResourceTypeHasBeenSet() const
PutRecommendationPreferencesRequest & WithResourceType(ResourceType &&value)
void SetPreferredResources(Aws::Vector< PreferredResource > &&value)
bool InferredWorkloadTypesHasBeenSet() const
PutRecommendationPreferencesRequest & WithScope(Scope &&value)
void SetSavingsEstimationMode(const SavingsEstimationMode &value)
bool LookBackPeriodHasBeenSet() const
PutRecommendationPreferencesRequest & WithInferredWorkloadTypes(const InferredWorkloadTypesPreference &value)
PutRecommendationPreferencesRequest & WithPreferredResources(Aws::Vector< PreferredResource > &&value)
void SetEnhancedInfrastructureMetrics(const EnhancedInfrastructureMetrics &value)
void SetUtilizationPreferences(const Aws::Vector< UtilizationPreference > &value)
void SetResourceType(ResourceType &&value)
void SetScope(Scope &&value)
bool PreferredResourcesHasBeenSet() const
const Aws::Vector< PreferredResource > & GetPreferredResources() const
PutRecommendationPreferencesRequest & WithLookBackPeriod(const LookBackPeriodPreference &value)
AWS_COMPUTEOPTIMIZER_API Aws::String SerializePayload() const override
PutRecommendationPreferencesRequest & WithLookBackPeriod(LookBackPeriodPreference &&value)
void SetExternalMetricsPreference(ExternalMetricsPreference &&value)
bool UtilizationPreferencesHasBeenSet() const
PutRecommendationPreferencesRequest & WithUtilizationPreferences(const Aws::Vector< UtilizationPreference > &value)
bool SavingsEstimationModeHasBeenSet() const
PutRecommendationPreferencesRequest & WithEnhancedInfrastructureMetrics(EnhancedInfrastructureMetrics &&value)
const ExternalMetricsPreference & GetExternalMetricsPreference() const
const SavingsEstimationMode & GetSavingsEstimationMode() const
PutRecommendationPreferencesRequest & WithInferredWorkloadTypes(InferredWorkloadTypesPreference &&value)
void SetEnhancedInfrastructureMetrics(EnhancedInfrastructureMetrics &&value)
void SetInferredWorkloadTypes(const InferredWorkloadTypesPreference &value)
void SetSavingsEstimationMode(SavingsEstimationMode &&value)
void SetInferredWorkloadTypes(InferredWorkloadTypesPreference &&value)
const Scope & GetScope() const
PutRecommendationPreferencesRequest & AddUtilizationPreferences(const UtilizationPreference &value)
void SetExternalMetricsPreference(const ExternalMetricsPreference &value)
const ResourceType & GetResourceType() const
PutRecommendationPreferencesRequest & WithSavingsEstimationMode(SavingsEstimationMode &&value)
PutRecommendationPreferencesRequest & WithExternalMetricsPreference(const ExternalMetricsPreference &value)
virtual const char * GetServiceRequestName() const override
PutRecommendationPreferencesRequest & WithResourceType(const ResourceType &value)
PutRecommendationPreferencesRequest & WithExternalMetricsPreference(ExternalMetricsPreference &&value)
PutRecommendationPreferencesRequest & WithPreferredResources(const Aws::Vector< PreferredResource > &value)
const Aws::Vector< UtilizationPreference > & GetUtilizationPreferences() const
PutRecommendationPreferencesRequest & WithEnhancedInfrastructureMetrics(const EnhancedInfrastructureMetrics &value)
PutRecommendationPreferencesRequest & WithScope(const Scope &value)
bool ScopeHasBeenSet() const
PutRecommendationPreferencesRequest & AddUtilizationPreferences(UtilizationPreference &&value)
AWS_COMPUTEOPTIMIZER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const EnhancedInfrastructureMetrics & GetEnhancedInfrastructureMetrics() const
const InferredWorkloadTypesPreference & GetInferredWorkloadTypes() const
void SetPreferredResources(const Aws::Vector< PreferredResource > &value)
void SetLookBackPeriod(const LookBackPeriodPreference &value)
void SetResourceType(const ResourceType &value)
InferredWorkloadTypesPreference
EnhancedInfrastructureMetrics
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