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/LookBackPeriodPreference.h>
11#include <aws/compute-optimizer/model/RDSSavingsEstimationMode.h>
12#include <aws/compute-optimizer/model/CpuVendorArchitecture.h>
25namespace ComputeOptimizer
52 template<
typename CpuVendorArchitecturesT = Aws::Vector<CpuVendorArchitecture>>
53 void SetCpuVendorArchitectures(CpuVendorArchitecturesT&& value) { m_cpuVendorArchitecturesHasBeenSet =
true; m_cpuVendorArchitectures = std::forward<CpuVendorArchitecturesT>(value); }
54 template<
typename CpuVendorArchitecturesT = Aws::Vector<CpuVendorArchitecture>>
93 template<
typename SavingsEstimationModeT = RDSSavingsEstimationMode>
94 void SetSavingsEstimationMode(SavingsEstimationModeT&& value) { m_savingsEstimationModeHasBeenSet =
true; m_savingsEstimationMode = std::forward<SavingsEstimationModeT>(value); }
95 template<
typename SavingsEstimationModeT = RDSSavingsEstimationMode>
101 bool m_cpuVendorArchitecturesHasBeenSet =
false;
104 bool m_enhancedInfrastructureMetricsHasBeenSet =
false;
107 bool m_lookBackPeriodHasBeenSet =
false;
109 RDSSavingsEstimationMode m_savingsEstimationMode;
110 bool m_savingsEstimationModeHasBeenSet =
false;
AWS_COMPUTEOPTIMIZER_API RDSEffectiveRecommendationPreferences(Aws::Utils::Json::JsonView jsonValue)
RDSEffectiveRecommendationPreferences & AddCpuVendorArchitectures(CpuVendorArchitecture value)
const Aws::Vector< CpuVendorArchitecture > & GetCpuVendorArchitectures() const
void SetCpuVendorArchitectures(CpuVendorArchitecturesT &&value)
const RDSSavingsEstimationMode & GetSavingsEstimationMode() const
void SetSavingsEstimationMode(SavingsEstimationModeT &&value)
EnhancedInfrastructureMetrics GetEnhancedInfrastructureMetrics() const
RDSEffectiveRecommendationPreferences & WithLookBackPeriod(LookBackPeriodPreference value)
bool LookBackPeriodHasBeenSet() const
RDSEffectiveRecommendationPreferences & WithSavingsEstimationMode(SavingsEstimationModeT &&value)
void SetEnhancedInfrastructureMetrics(EnhancedInfrastructureMetrics value)
bool EnhancedInfrastructureMetricsHasBeenSet() const
bool SavingsEstimationModeHasBeenSet() const
void SetLookBackPeriod(LookBackPeriodPreference value)
RDSEffectiveRecommendationPreferences & WithCpuVendorArchitectures(CpuVendorArchitecturesT &&value)
AWS_COMPUTEOPTIMIZER_API RDSEffectiveRecommendationPreferences & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
RDSEffectiveRecommendationPreferences & WithEnhancedInfrastructureMetrics(EnhancedInfrastructureMetrics value)
AWS_COMPUTEOPTIMIZER_API RDSEffectiveRecommendationPreferences()=default
LookBackPeriodPreference GetLookBackPeriod() const
bool CpuVendorArchitecturesHasBeenSet() const
EnhancedInfrastructureMetrics
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue