/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a recommendation option for an Amazon EC2 instance.See
* Also:
AWS
* API Reference
The instance type of the instance recommendation.
*/ inline const Aws::String& GetInstanceType() const{ return m_instanceType; } /** *The instance type of the instance recommendation.
*/ inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } /** *The instance type of the instance recommendation.
*/ inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; } /** *The instance type of the instance recommendation.
*/ inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); } /** *The instance type of the instance recommendation.
*/ inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); } /** *The instance type of the instance recommendation.
*/ inline InstanceRecommendationOption& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;} /** *The instance type of the instance recommendation.
*/ inline InstanceRecommendationOption& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;} /** *The instance type of the instance recommendation.
*/ inline InstanceRecommendationOption& WithInstanceType(const char* value) { SetInstanceType(value); return *this;} /** *An array of objects that describe the projected utilization metrics of the * instance recommendation option.
*/ inline const Aws::VectorAn array of objects that describe the projected utilization metrics of the * instance recommendation option.
*/ inline bool ProjectedUtilizationMetricsHasBeenSet() const { return m_projectedUtilizationMetricsHasBeenSet; } /** *An array of objects that describe the projected utilization metrics of the * instance recommendation option.
*/ inline void SetProjectedUtilizationMetrics(const Aws::VectorAn array of objects that describe the projected utilization metrics of the * instance recommendation option.
*/ inline void SetProjectedUtilizationMetrics(Aws::VectorAn array of objects that describe the projected utilization metrics of the * instance recommendation option.
*/ inline InstanceRecommendationOption& WithProjectedUtilizationMetrics(const Aws::VectorAn array of objects that describe the projected utilization metrics of the * instance recommendation option.
*/ inline InstanceRecommendationOption& WithProjectedUtilizationMetrics(Aws::VectorAn array of objects that describe the projected utilization metrics of the * instance recommendation option.
*/ inline InstanceRecommendationOption& AddProjectedUtilizationMetrics(const UtilizationMetric& value) { m_projectedUtilizationMetricsHasBeenSet = true; m_projectedUtilizationMetrics.push_back(value); return *this; } /** *An array of objects that describe the projected utilization metrics of the * instance recommendation option.
*/ inline InstanceRecommendationOption& AddProjectedUtilizationMetrics(UtilizationMetric&& value) { m_projectedUtilizationMetricsHasBeenSet = true; m_projectedUtilizationMetrics.push_back(std::move(value)); return *this; } /** *The performance risk of the instance recommendation option.
*Performance risk is the likelihood of the recommended instance type not * meeting the performance requirement of your workload.
The lowest
* performance risk is categorized as 0, and the highest as
* 5.
The performance risk of the instance recommendation option.
*Performance risk is the likelihood of the recommended instance type not * meeting the performance requirement of your workload.
The lowest
* performance risk is categorized as 0, and the highest as
* 5.
The performance risk of the instance recommendation option.
*Performance risk is the likelihood of the recommended instance type not * meeting the performance requirement of your workload.
The lowest
* performance risk is categorized as 0, and the highest as
* 5.
The performance risk of the instance recommendation option.
*Performance risk is the likelihood of the recommended instance type not * meeting the performance requirement of your workload.
The lowest
* performance risk is categorized as 0, and the highest as
* 5.
The rank of the instance recommendation option.
The top recommendation
* option is ranked as 1.
The rank of the instance recommendation option.
The top recommendation
* option is ranked as 1.
The rank of the instance recommendation option.
The top recommendation
* option is ranked as 1.
The rank of the instance recommendation option.
The top recommendation
* option is ranked as 1.