/**
* 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 Elastic Block Store (Amazon
* EBS) instance.See Also:
AWS
* API Reference
An array of objects that describe a volume configuration.
*/ inline const VolumeConfiguration& GetConfiguration() const{ return m_configuration; } /** *An array of objects that describe a volume configuration.
*/ inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } /** *An array of objects that describe a volume configuration.
*/ inline void SetConfiguration(const VolumeConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; } /** *An array of objects that describe a volume configuration.
*/ inline void SetConfiguration(VolumeConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } /** *An array of objects that describe a volume configuration.
*/ inline VolumeRecommendationOption& WithConfiguration(const VolumeConfiguration& value) { SetConfiguration(value); return *this;} /** *An array of objects that describe a volume configuration.
*/ inline VolumeRecommendationOption& WithConfiguration(VolumeConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} /** *The performance risk of the volume recommendation option.
Performance * risk is the likelihood of the recommended volume type meeting the performance * requirement of your workload.
The value ranges from 0
-
* 4
, with 0
meaning that the recommended resource is
* predicted to always provide enough hardware capability. The higher the
* performance risk is, the more likely you should validate whether the
* recommendation will meet the performance requirements of your workload before
* migrating your resource.
The performance risk of the volume recommendation option.
Performance * risk is the likelihood of the recommended volume type meeting the performance * requirement of your workload.
The value ranges from 0
-
* 4
, with 0
meaning that the recommended resource is
* predicted to always provide enough hardware capability. The higher the
* performance risk is, the more likely you should validate whether the
* recommendation will meet the performance requirements of your workload before
* migrating your resource.
The performance risk of the volume recommendation option.
Performance * risk is the likelihood of the recommended volume type meeting the performance * requirement of your workload.
The value ranges from 0
-
* 4
, with 0
meaning that the recommended resource is
* predicted to always provide enough hardware capability. The higher the
* performance risk is, the more likely you should validate whether the
* recommendation will meet the performance requirements of your workload before
* migrating your resource.
The performance risk of the volume recommendation option.
Performance * risk is the likelihood of the recommended volume type meeting the performance * requirement of your workload.
The value ranges from 0
-
* 4
, with 0
meaning that the recommended resource is
* predicted to always provide enough hardware capability. The higher the
* performance risk is, the more likely you should validate whether the
* recommendation will meet the performance requirements of your workload before
* migrating your resource.
The rank of the volume recommendation option.
The top recommendation
* option is ranked as 1
.
The rank of the volume recommendation option.
The top recommendation
* option is ranked as 1
.
The rank of the volume recommendation option.
The top recommendation
* option is ranked as 1
.
The rank of the volume recommendation option.
The top recommendation
* option is ranked as 1
.
An object that describes the savings opportunity for the EBS volume * recommendation option. Savings opportunity includes the estimated monthly * savings amount and percentage.
*/ inline const SavingsOpportunity& GetSavingsOpportunity() const{ return m_savingsOpportunity; } /** *An object that describes the savings opportunity for the EBS volume * recommendation option. Savings opportunity includes the estimated monthly * savings amount and percentage.
*/ inline bool SavingsOpportunityHasBeenSet() const { return m_savingsOpportunityHasBeenSet; } /** *An object that describes the savings opportunity for the EBS volume * recommendation option. Savings opportunity includes the estimated monthly * savings amount and percentage.
*/ inline void SetSavingsOpportunity(const SavingsOpportunity& value) { m_savingsOpportunityHasBeenSet = true; m_savingsOpportunity = value; } /** *An object that describes the savings opportunity for the EBS volume * recommendation option. Savings opportunity includes the estimated monthly * savings amount and percentage.
*/ inline void SetSavingsOpportunity(SavingsOpportunity&& value) { m_savingsOpportunityHasBeenSet = true; m_savingsOpportunity = std::move(value); } /** *An object that describes the savings opportunity for the EBS volume * recommendation option. Savings opportunity includes the estimated monthly * savings amount and percentage.
*/ inline VolumeRecommendationOption& WithSavingsOpportunity(const SavingsOpportunity& value) { SetSavingsOpportunity(value); return *this;} /** *An object that describes the savings opportunity for the EBS volume * recommendation option. Savings opportunity includes the estimated monthly * savings amount and percentage.
*/ inline VolumeRecommendationOption& WithSavingsOpportunity(SavingsOpportunity&& value) { SetSavingsOpportunity(std::move(value)); return *this;} private: VolumeConfiguration m_configuration; bool m_configurationHasBeenSet = false; double m_performanceRisk; bool m_performanceRiskHasBeenSet = false; int m_rank; bool m_rankHasBeenSet = false; SavingsOpportunity m_savingsOpportunity; bool m_savingsOpportunityHasBeenSet = false; }; } // namespace Model } // namespace ComputeOptimizer } // namespace Aws