AWS SDK for C++  1.9.153
AWS SDK for C++
Public Member Functions | List of all members
Aws::ComputeOptimizer::Model::RecommendationPreferences Class Reference

#include <RecommendationPreferences.h>

Public Member Functions

 RecommendationPreferences ()
 
 RecommendationPreferences (Aws::Utils::Json::JsonView jsonValue)
 
RecommendationPreferencesoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::Vector< CpuVendorArchitecture > & GetCpuVendorArchitectures () const
 
bool CpuVendorArchitecturesHasBeenSet () const
 
void SetCpuVendorArchitectures (const Aws::Vector< CpuVendorArchitecture > &value)
 
void SetCpuVendorArchitectures (Aws::Vector< CpuVendorArchitecture > &&value)
 
RecommendationPreferencesWithCpuVendorArchitectures (const Aws::Vector< CpuVendorArchitecture > &value)
 
RecommendationPreferencesWithCpuVendorArchitectures (Aws::Vector< CpuVendorArchitecture > &&value)
 
RecommendationPreferencesAddCpuVendorArchitectures (const CpuVendorArchitecture &value)
 
RecommendationPreferencesAddCpuVendorArchitectures (CpuVendorArchitecture &&value)
 

Detailed Description

Describes preferences for recommendations.

See Also:

AWS API Reference

Definition at line 32 of file RecommendationPreferences.h.

Constructor & Destructor Documentation

◆ RecommendationPreferences() [1/2]

Aws::ComputeOptimizer::Model::RecommendationPreferences::RecommendationPreferences ( )

◆ RecommendationPreferences() [2/2]

Aws::ComputeOptimizer::Model::RecommendationPreferences::RecommendationPreferences ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddCpuVendorArchitectures() [1/2]

RecommendationPreferences& Aws::ComputeOptimizer::Model::RecommendationPreferences::AddCpuVendorArchitectures ( const CpuVendorArchitecture value)
inline

Specifies the CPU vendor and architecture for Amazon EC2 instance and Auto Scaling group recommendations.

For example, when you specify AWS_ARM64 with:

  • A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only.

  • A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only.

  • A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.

Definition at line 151 of file RecommendationPreferences.h.

◆ AddCpuVendorArchitectures() [2/2]

RecommendationPreferences& Aws::ComputeOptimizer::Model::RecommendationPreferences::AddCpuVendorArchitectures ( CpuVendorArchitecture &&  value)
inline

Specifies the CPU vendor and architecture for Amazon EC2 instance and Auto Scaling group recommendations.

For example, when you specify AWS_ARM64 with:

  • A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only.

  • A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only.

  • A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.

Definition at line 167 of file RecommendationPreferences.h.

◆ CpuVendorArchitecturesHasBeenSet()

bool Aws::ComputeOptimizer::Model::RecommendationPreferences::CpuVendorArchitecturesHasBeenSet ( ) const
inline

Specifies the CPU vendor and architecture for Amazon EC2 instance and Auto Scaling group recommendations.

For example, when you specify AWS_ARM64 with:

  • A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only.

  • A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only.

  • A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.

Definition at line 71 of file RecommendationPreferences.h.

◆ GetCpuVendorArchitectures()

const Aws::Vector<CpuVendorArchitecture>& Aws::ComputeOptimizer::Model::RecommendationPreferences::GetCpuVendorArchitectures ( ) const
inline

Specifies the CPU vendor and architecture for Amazon EC2 instance and Auto Scaling group recommendations.

For example, when you specify AWS_ARM64 with:

  • A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only.

  • A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only.

  • A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.

Definition at line 55 of file RecommendationPreferences.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::ComputeOptimizer::Model::RecommendationPreferences::Jsonize ( ) const

◆ operator=()

RecommendationPreferences& Aws::ComputeOptimizer::Model::RecommendationPreferences::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetCpuVendorArchitectures() [1/2]

void Aws::ComputeOptimizer::Model::RecommendationPreferences::SetCpuVendorArchitectures ( Aws::Vector< CpuVendorArchitecture > &&  value)
inline

Specifies the CPU vendor and architecture for Amazon EC2 instance and Auto Scaling group recommendations.

For example, when you specify AWS_ARM64 with:

  • A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only.

  • A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only.

  • A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.

Definition at line 103 of file RecommendationPreferences.h.

◆ SetCpuVendorArchitectures() [2/2]

void Aws::ComputeOptimizer::Model::RecommendationPreferences::SetCpuVendorArchitectures ( const Aws::Vector< CpuVendorArchitecture > &  value)
inline

Specifies the CPU vendor and architecture for Amazon EC2 instance and Auto Scaling group recommendations.

For example, when you specify AWS_ARM64 with:

  • A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only.

  • A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only.

  • A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.

Definition at line 87 of file RecommendationPreferences.h.

◆ WithCpuVendorArchitectures() [1/2]

RecommendationPreferences& Aws::ComputeOptimizer::Model::RecommendationPreferences::WithCpuVendorArchitectures ( Aws::Vector< CpuVendorArchitecture > &&  value)
inline

Specifies the CPU vendor and architecture for Amazon EC2 instance and Auto Scaling group recommendations.

For example, when you specify AWS_ARM64 with:

  • A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only.

  • A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only.

  • A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.

Definition at line 135 of file RecommendationPreferences.h.

◆ WithCpuVendorArchitectures() [2/2]

RecommendationPreferences& Aws::ComputeOptimizer::Model::RecommendationPreferences::WithCpuVendorArchitectures ( const Aws::Vector< CpuVendorArchitecture > &  value)
inline

Specifies the CPU vendor and architecture for Amazon EC2 instance and Auto Scaling group recommendations.

For example, when you specify AWS_ARM64 with:

  • A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only.

  • A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only.

  • A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.

Definition at line 119 of file RecommendationPreferences.h.


The documentation for this class was generated from the following file: