7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/compute-optimizer/model/EnhancedInfrastructureMetrics.h>
10#include <aws/compute-optimizer/model/InferredWorkloadTypesPreference.h>
11#include <aws/compute-optimizer/model/ExternalMetricsPreference.h>
12#include <aws/compute-optimizer/model/LookBackPeriodPreference.h>
13#include <aws/compute-optimizer/model/InstanceSavingsEstimationMode.h>
14#include <aws/compute-optimizer/model/CpuVendorArchitecture.h>
15#include <aws/compute-optimizer/model/UtilizationPreference.h>
16#include <aws/compute-optimizer/model/EffectivePreferredResource.h>
29namespace ComputeOptimizer
182 bool m_cpuVendorArchitecturesHasBeenSet =
false;
185 bool m_enhancedInfrastructureMetricsHasBeenSet =
false;
188 bool m_inferredWorkloadTypesHasBeenSet =
false;
191 bool m_externalMetricsPreferenceHasBeenSet =
false;
194 bool m_lookBackPeriodHasBeenSet =
false;
197 bool m_utilizationPreferencesHasBeenSet =
false;
200 bool m_preferredResourcesHasBeenSet =
false;
203 bool m_savingsEstimationModeHasBeenSet =
false;
const Aws::Vector< EffectivePreferredResource > & GetPreferredResources() const
bool EnhancedInfrastructureMetricsHasBeenSet() const
const ExternalMetricsPreference & GetExternalMetricsPreference() const
void SetExternalMetricsPreference(ExternalMetricsPreference &&value)
void SetSavingsEstimationMode(InstanceSavingsEstimationMode &&value)
bool UtilizationPreferencesHasBeenSet() const
EffectiveRecommendationPreferences & WithUtilizationPreferences(const Aws::Vector< UtilizationPreference > &value)
EffectiveRecommendationPreferences & WithInferredWorkloadTypes(InferredWorkloadTypesPreference &&value)
EffectiveRecommendationPreferences & WithExternalMetricsPreference(ExternalMetricsPreference &&value)
EffectiveRecommendationPreferences & WithUtilizationPreferences(Aws::Vector< UtilizationPreference > &&value)
AWS_COMPUTEOPTIMIZER_API EffectiveRecommendationPreferences(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< UtilizationPreference > & GetUtilizationPreferences() const
EffectiveRecommendationPreferences & WithLookBackPeriod(LookBackPeriodPreference &&value)
EffectiveRecommendationPreferences & WithEnhancedInfrastructureMetrics(const EnhancedInfrastructureMetrics &value)
const LookBackPeriodPreference & GetLookBackPeriod() const
void SetUtilizationPreferences(Aws::Vector< UtilizationPreference > &&value)
void SetEnhancedInfrastructureMetrics(EnhancedInfrastructureMetrics &&value)
EffectiveRecommendationPreferences & WithEnhancedInfrastructureMetrics(EnhancedInfrastructureMetrics &&value)
void SetCpuVendorArchitectures(Aws::Vector< CpuVendorArchitecture > &&value)
void SetExternalMetricsPreference(const ExternalMetricsPreference &value)
EffectiveRecommendationPreferences & WithPreferredResources(const Aws::Vector< EffectivePreferredResource > &value)
void SetEnhancedInfrastructureMetrics(const EnhancedInfrastructureMetrics &value)
const Aws::Vector< CpuVendorArchitecture > & GetCpuVendorArchitectures() const
EffectiveRecommendationPreferences & AddPreferredResources(const EffectivePreferredResource &value)
bool ExternalMetricsPreferenceHasBeenSet() const
const InstanceSavingsEstimationMode & GetSavingsEstimationMode() const
bool LookBackPeriodHasBeenSet() const
EffectiveRecommendationPreferences & WithSavingsEstimationMode(InstanceSavingsEstimationMode &&value)
void SetSavingsEstimationMode(const InstanceSavingsEstimationMode &value)
EffectiveRecommendationPreferences & WithPreferredResources(Aws::Vector< EffectivePreferredResource > &&value)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
EffectiveRecommendationPreferences & AddPreferredResources(EffectivePreferredResource &&value)
EffectiveRecommendationPreferences & WithCpuVendorArchitectures(Aws::Vector< CpuVendorArchitecture > &&value)
EffectiveRecommendationPreferences & AddCpuVendorArchitectures(CpuVendorArchitecture &&value)
EffectiveRecommendationPreferences & WithCpuVendorArchitectures(const Aws::Vector< CpuVendorArchitecture > &value)
void SetPreferredResources(const Aws::Vector< EffectivePreferredResource > &value)
EffectiveRecommendationPreferences & WithExternalMetricsPreference(const ExternalMetricsPreference &value)
AWS_COMPUTEOPTIMIZER_API EffectiveRecommendationPreferences & operator=(Aws::Utils::Json::JsonView jsonValue)
const InferredWorkloadTypesPreference & GetInferredWorkloadTypes() const
const EnhancedInfrastructureMetrics & GetEnhancedInfrastructureMetrics() const
EffectiveRecommendationPreferences & WithSavingsEstimationMode(const InstanceSavingsEstimationMode &value)
bool SavingsEstimationModeHasBeenSet() const
EffectiveRecommendationPreferences & AddUtilizationPreferences(const UtilizationPreference &value)
bool PreferredResourcesHasBeenSet() const
EffectiveRecommendationPreferences & WithLookBackPeriod(const LookBackPeriodPreference &value)
EffectiveRecommendationPreferences & AddUtilizationPreferences(UtilizationPreference &&value)
EffectiveRecommendationPreferences & AddCpuVendorArchitectures(const CpuVendorArchitecture &value)
void SetUtilizationPreferences(const Aws::Vector< UtilizationPreference > &value)
void SetLookBackPeriod(const LookBackPeriodPreference &value)
void SetInferredWorkloadTypes(InferredWorkloadTypesPreference &&value)
bool CpuVendorArchitecturesHasBeenSet() const
void SetLookBackPeriod(LookBackPeriodPreference &&value)
void SetPreferredResources(Aws::Vector< EffectivePreferredResource > &&value)
AWS_COMPUTEOPTIMIZER_API EffectiveRecommendationPreferences()
bool InferredWorkloadTypesHasBeenSet() const
void SetInferredWorkloadTypes(const InferredWorkloadTypesPreference &value)
void SetCpuVendorArchitectures(const Aws::Vector< CpuVendorArchitecture > &value)
EffectiveRecommendationPreferences & WithInferredWorkloadTypes(const InferredWorkloadTypesPreference &value)
InferredWorkloadTypesPreference
EnhancedInfrastructureMetrics
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue