/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a projected utilization metric of a recommendation option. The Cpu
and Memory
metrics are the only
* projected utilization metrics returned when you run the
* GetEC2RecommendationProjectedMetrics action. Additionally, the
* Memory
metric is returned only for resources that have the unified
* CloudWatch agent installed on them. For more information, see Enabling
* Memory Utilization with the CloudWatch Agent.See
* Also:
AWS
* API Reference
The recommended instance type.
*/ inline const Aws::String& GetRecommendedInstanceType() const{ return m_recommendedInstanceType; } /** *The recommended instance type.
*/ inline bool RecommendedInstanceTypeHasBeenSet() const { return m_recommendedInstanceTypeHasBeenSet; } /** *The recommended instance type.
*/ inline void SetRecommendedInstanceType(const Aws::String& value) { m_recommendedInstanceTypeHasBeenSet = true; m_recommendedInstanceType = value; } /** *The recommended instance type.
*/ inline void SetRecommendedInstanceType(Aws::String&& value) { m_recommendedInstanceTypeHasBeenSet = true; m_recommendedInstanceType = std::move(value); } /** *The recommended instance type.
*/ inline void SetRecommendedInstanceType(const char* value) { m_recommendedInstanceTypeHasBeenSet = true; m_recommendedInstanceType.assign(value); } /** *The recommended instance type.
*/ inline RecommendedOptionProjectedMetric& WithRecommendedInstanceType(const Aws::String& value) { SetRecommendedInstanceType(value); return *this;} /** *The recommended instance type.
*/ inline RecommendedOptionProjectedMetric& WithRecommendedInstanceType(Aws::String&& value) { SetRecommendedInstanceType(std::move(value)); return *this;} /** *The recommended instance type.
*/ inline RecommendedOptionProjectedMetric& WithRecommendedInstanceType(const char* value) { SetRecommendedInstanceType(value); return *this;} /** *The rank of the recommendation option projected metric.
The top
* recommendation option is ranked as 1
.
The projected metric
* rank correlates to the recommendation option rank. For example, the projected
* metric ranked as 1
is related to the recommendation option that is
* also ranked as 1
in the same response.
The rank of the recommendation option projected metric.
The top
* recommendation option is ranked as 1
.
The projected metric
* rank correlates to the recommendation option rank. For example, the projected
* metric ranked as 1
is related to the recommendation option that is
* also ranked as 1
in the same response.
The rank of the recommendation option projected metric.
The top
* recommendation option is ranked as 1
.
The projected metric
* rank correlates to the recommendation option rank. For example, the projected
* metric ranked as 1
is related to the recommendation option that is
* also ranked as 1
in the same response.
The rank of the recommendation option projected metric.
The top
* recommendation option is ranked as 1
.
The projected metric
* rank correlates to the recommendation option rank. For example, the projected
* metric ranked as 1
is related to the recommendation option that is
* also ranked as 1
in the same response.
An array of objects that describe a projected utilization metric.
*/ inline const Aws::VectorAn array of objects that describe a projected utilization metric.
*/ inline bool ProjectedMetricsHasBeenSet() const { return m_projectedMetricsHasBeenSet; } /** *An array of objects that describe a projected utilization metric.
*/ inline void SetProjectedMetrics(const Aws::VectorAn array of objects that describe a projected utilization metric.
*/ inline void SetProjectedMetrics(Aws::VectorAn array of objects that describe a projected utilization metric.
*/ inline RecommendedOptionProjectedMetric& WithProjectedMetrics(const Aws::VectorAn array of objects that describe a projected utilization metric.
*/ inline RecommendedOptionProjectedMetric& WithProjectedMetrics(Aws::VectorAn array of objects that describe a projected utilization metric.
*/ inline RecommendedOptionProjectedMetric& AddProjectedMetrics(const ProjectedMetric& value) { m_projectedMetricsHasBeenSet = true; m_projectedMetrics.push_back(value); return *this; } /** *An array of objects that describe a projected utilization metric.
*/ inline RecommendedOptionProjectedMetric& AddProjectedMetrics(ProjectedMetric&& value) { m_projectedMetricsHasBeenSet = true; m_projectedMetrics.push_back(std::move(value)); return *this; } private: Aws::String m_recommendedInstanceType; bool m_recommendedInstanceTypeHasBeenSet = false; int m_rank; bool m_rankHasBeenSet = false; Aws::Vector