7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/EnhancedInfrastructureMetrics.h>
9#include <aws/compute-optimizer/model/ExternalMetricsPreference.h>
10#include <aws/compute-optimizer/model/LookBackPeriodPreference.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/compute-optimizer/model/UtilizationPreference.h>
14#include <aws/compute-optimizer/model/EffectivePreferredResource.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
29namespace ComputeOptimizer
145 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
GetEffectiveRecommendationPreferencesResult & WithLookBackPeriod(const LookBackPeriodPreference &value)
void SetUtilizationPreferences(Aws::Vector< UtilizationPreference > &&value)
GetEffectiveRecommendationPreferencesResult & WithEnhancedInfrastructureMetrics(const EnhancedInfrastructureMetrics &value)
AWS_COMPUTEOPTIMIZER_API GetEffectiveRecommendationPreferencesResult()
GetEffectiveRecommendationPreferencesResult & AddUtilizationPreferences(const UtilizationPreference &value)
void SetRequestId(Aws::String &&value)
GetEffectiveRecommendationPreferencesResult & WithEnhancedInfrastructureMetrics(EnhancedInfrastructureMetrics &&value)
GetEffectiveRecommendationPreferencesResult & WithUtilizationPreferences(const Aws::Vector< UtilizationPreference > &value)
void SetPreferredResources(const Aws::Vector< EffectivePreferredResource > &value)
GetEffectiveRecommendationPreferencesResult & AddUtilizationPreferences(UtilizationPreference &&value)
void SetLookBackPeriod(const LookBackPeriodPreference &value)
const Aws::Vector< UtilizationPreference > & GetUtilizationPreferences() const
void SetExternalMetricsPreference(const ExternalMetricsPreference &value)
GetEffectiveRecommendationPreferencesResult & WithRequestId(Aws::String &&value)
AWS_COMPUTEOPTIMIZER_API GetEffectiveRecommendationPreferencesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEffectiveRecommendationPreferencesResult & WithExternalMetricsPreference(ExternalMetricsPreference &&value)
GetEffectiveRecommendationPreferencesResult & AddPreferredResources(const EffectivePreferredResource &value)
void SetRequestId(const Aws::String &value)
GetEffectiveRecommendationPreferencesResult & WithRequestId(const Aws::String &value)
GetEffectiveRecommendationPreferencesResult & WithPreferredResources(Aws::Vector< EffectivePreferredResource > &&value)
GetEffectiveRecommendationPreferencesResult & WithUtilizationPreferences(Aws::Vector< UtilizationPreference > &&value)
GetEffectiveRecommendationPreferencesResult & WithLookBackPeriod(LookBackPeriodPreference &&value)
const ExternalMetricsPreference & GetExternalMetricsPreference() const
GetEffectiveRecommendationPreferencesResult & AddPreferredResources(EffectivePreferredResource &&value)
const EnhancedInfrastructureMetrics & GetEnhancedInfrastructureMetrics() const
const Aws::String & GetRequestId() const
GetEffectiveRecommendationPreferencesResult & WithRequestId(const char *value)
void SetLookBackPeriod(LookBackPeriodPreference &&value)
void SetEnhancedInfrastructureMetrics(EnhancedInfrastructureMetrics &&value)
void SetUtilizationPreferences(const Aws::Vector< UtilizationPreference > &value)
GetEffectiveRecommendationPreferencesResult & WithExternalMetricsPreference(const ExternalMetricsPreference &value)
const LookBackPeriodPreference & GetLookBackPeriod() const
GetEffectiveRecommendationPreferencesResult & WithPreferredResources(const Aws::Vector< EffectivePreferredResource > &value)
AWS_COMPUTEOPTIMIZER_API GetEffectiveRecommendationPreferencesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEnhancedInfrastructureMetrics(const EnhancedInfrastructureMetrics &value)
void SetPreferredResources(Aws::Vector< EffectivePreferredResource > &&value)
void SetExternalMetricsPreference(ExternalMetricsPreference &&value)
void SetRequestId(const char *value)
const Aws::Vector< EffectivePreferredResource > & GetPreferredResources() const
EnhancedInfrastructureMetrics
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue