7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/Scope.h>
9#include <aws/compute-optimizer/model/ResourceType.h>
10#include <aws/compute-optimizer/model/EnhancedInfrastructureMetrics.h>
11#include <aws/compute-optimizer/model/InferredWorkloadTypesPreference.h>
12#include <aws/compute-optimizer/model/ExternalMetricsPreference.h>
13#include <aws/compute-optimizer/model/LookBackPeriodPreference.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/compute-optimizer/model/SavingsEstimationMode.h>
16#include <aws/compute-optimizer/model/UtilizationPreference.h>
17#include <aws/compute-optimizer/model/EffectivePreferredResource.h>
30namespace ComputeOptimizer
61 inline void SetScope(
const Scope& value) { m_scopeHasBeenSet =
true; m_scope = value; }
62 inline void SetScope(
Scope&& value) { m_scopeHasBeenSet =
true; m_scope = std::move(value); }
198 bool m_scopeHasBeenSet =
false;
201 bool m_resourceTypeHasBeenSet =
false;
204 bool m_enhancedInfrastructureMetricsHasBeenSet =
false;
207 bool m_inferredWorkloadTypesHasBeenSet =
false;
210 bool m_externalMetricsPreferenceHasBeenSet =
false;
213 bool m_lookBackPeriodHasBeenSet =
false;
216 bool m_utilizationPreferencesHasBeenSet =
false;
219 bool m_preferredResourcesHasBeenSet =
false;
222 bool m_savingsEstimationModeHasBeenSet =
false;
bool ScopeHasBeenSet() const
const Aws::Vector< EffectivePreferredResource > & GetPreferredResources() const
bool InferredWorkloadTypesHasBeenSet() const
void SetSavingsEstimationMode(SavingsEstimationMode &&value)
bool EnhancedInfrastructureMetricsHasBeenSet() const
const ResourceType & GetResourceType() const
void SetPreferredResources(Aws::Vector< EffectivePreferredResource > &&value)
RecommendationPreferencesDetail & WithPreferredResources(Aws::Vector< EffectivePreferredResource > &&value)
void SetEnhancedInfrastructureMetrics(EnhancedInfrastructureMetrics &&value)
RecommendationPreferencesDetail & WithEnhancedInfrastructureMetrics(const EnhancedInfrastructureMetrics &value)
void SetPreferredResources(const Aws::Vector< EffectivePreferredResource > &value)
void SetResourceType(const ResourceType &value)
bool PreferredResourcesHasBeenSet() const
RecommendationPreferencesDetail & WithSavingsEstimationMode(const SavingsEstimationMode &value)
RecommendationPreferencesDetail & WithLookBackPeriod(LookBackPeriodPreference &&value)
const LookBackPeriodPreference & GetLookBackPeriod() const
AWS_COMPUTEOPTIMIZER_API RecommendationPreferencesDetail()
void SetExternalMetricsPreference(const ExternalMetricsPreference &value)
AWS_COMPUTEOPTIMIZER_API RecommendationPreferencesDetail(Aws::Utils::Json::JsonView jsonValue)
bool SavingsEstimationModeHasBeenSet() const
RecommendationPreferencesDetail & WithPreferredResources(const Aws::Vector< EffectivePreferredResource > &value)
RecommendationPreferencesDetail & WithSavingsEstimationMode(SavingsEstimationMode &&value)
const EnhancedInfrastructureMetrics & GetEnhancedInfrastructureMetrics() const
RecommendationPreferencesDetail & WithUtilizationPreferences(Aws::Vector< UtilizationPreference > &&value)
void SetResourceType(ResourceType &&value)
RecommendationPreferencesDetail & WithExternalMetricsPreference(const ExternalMetricsPreference &value)
const ExternalMetricsPreference & GetExternalMetricsPreference() const
bool ResourceTypeHasBeenSet() const
bool UtilizationPreferencesHasBeenSet() const
const SavingsEstimationMode & GetSavingsEstimationMode() const
RecommendationPreferencesDetail & WithScope(const Scope &value)
bool ExternalMetricsPreferenceHasBeenSet() const
void SetInferredWorkloadTypes(const InferredWorkloadTypesPreference &value)
RecommendationPreferencesDetail & WithResourceType(const ResourceType &value)
AWS_COMPUTEOPTIMIZER_API RecommendationPreferencesDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLookBackPeriod(LookBackPeriodPreference &&value)
RecommendationPreferencesDetail & WithInferredWorkloadTypes(const InferredWorkloadTypesPreference &value)
void SetLookBackPeriod(const LookBackPeriodPreference &value)
const Aws::Vector< UtilizationPreference > & GetUtilizationPreferences() const
RecommendationPreferencesDetail & WithResourceType(ResourceType &&value)
const Scope & GetScope() const
RecommendationPreferencesDetail & WithLookBackPeriod(const LookBackPeriodPreference &value)
RecommendationPreferencesDetail & AddPreferredResources(const EffectivePreferredResource &value)
RecommendationPreferencesDetail & WithUtilizationPreferences(const Aws::Vector< UtilizationPreference > &value)
RecommendationPreferencesDetail & WithScope(Scope &&value)
void SetSavingsEstimationMode(const SavingsEstimationMode &value)
void SetScope(const Scope &value)
void SetUtilizationPreferences(const Aws::Vector< UtilizationPreference > &value)
RecommendationPreferencesDetail & WithExternalMetricsPreference(ExternalMetricsPreference &&value)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
RecommendationPreferencesDetail & AddUtilizationPreferences(UtilizationPreference &&value)
void SetEnhancedInfrastructureMetrics(const EnhancedInfrastructureMetrics &value)
void SetExternalMetricsPreference(ExternalMetricsPreference &&value)
void SetUtilizationPreferences(Aws::Vector< UtilizationPreference > &&value)
bool LookBackPeriodHasBeenSet() const
RecommendationPreferencesDetail & WithInferredWorkloadTypes(InferredWorkloadTypesPreference &&value)
void SetInferredWorkloadTypes(InferredWorkloadTypesPreference &&value)
RecommendationPreferencesDetail & WithEnhancedInfrastructureMetrics(EnhancedInfrastructureMetrics &&value)
const InferredWorkloadTypesPreference & GetInferredWorkloadTypes() const
RecommendationPreferencesDetail & AddUtilizationPreferences(const UtilizationPreference &value)
void SetScope(Scope &&value)
RecommendationPreferencesDetail & AddPreferredResources(EffectivePreferredResource &&value)
InferredWorkloadTypesPreference
EnhancedInfrastructureMetrics
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue