/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The summary of rightsizing recommendations See Also:
AWS
* API Reference
The total number of instance recommendations.
*/ inline const Aws::String& GetTotalRecommendationCount() const{ return m_totalRecommendationCount; } /** *The total number of instance recommendations.
*/ inline bool TotalRecommendationCountHasBeenSet() const { return m_totalRecommendationCountHasBeenSet; } /** *The total number of instance recommendations.
*/ inline void SetTotalRecommendationCount(const Aws::String& value) { m_totalRecommendationCountHasBeenSet = true; m_totalRecommendationCount = value; } /** *The total number of instance recommendations.
*/ inline void SetTotalRecommendationCount(Aws::String&& value) { m_totalRecommendationCountHasBeenSet = true; m_totalRecommendationCount = std::move(value); } /** *The total number of instance recommendations.
*/ inline void SetTotalRecommendationCount(const char* value) { m_totalRecommendationCountHasBeenSet = true; m_totalRecommendationCount.assign(value); } /** *The total number of instance recommendations.
*/ inline RightsizingRecommendationSummary& WithTotalRecommendationCount(const Aws::String& value) { SetTotalRecommendationCount(value); return *this;} /** *The total number of instance recommendations.
*/ inline RightsizingRecommendationSummary& WithTotalRecommendationCount(Aws::String&& value) { SetTotalRecommendationCount(std::move(value)); return *this;} /** *The total number of instance recommendations.
*/ inline RightsizingRecommendationSummary& WithTotalRecommendationCount(const char* value) { SetTotalRecommendationCount(value); return *this;} /** *The estimated total savings resulting from modifications, on a monthly * basis.
*/ inline const Aws::String& GetEstimatedTotalMonthlySavingsAmount() const{ return m_estimatedTotalMonthlySavingsAmount; } /** *The estimated total savings resulting from modifications, on a monthly * basis.
*/ inline bool EstimatedTotalMonthlySavingsAmountHasBeenSet() const { return m_estimatedTotalMonthlySavingsAmountHasBeenSet; } /** *The estimated total savings resulting from modifications, on a monthly * basis.
*/ inline void SetEstimatedTotalMonthlySavingsAmount(const Aws::String& value) { m_estimatedTotalMonthlySavingsAmountHasBeenSet = true; m_estimatedTotalMonthlySavingsAmount = value; } /** *The estimated total savings resulting from modifications, on a monthly * basis.
*/ inline void SetEstimatedTotalMonthlySavingsAmount(Aws::String&& value) { m_estimatedTotalMonthlySavingsAmountHasBeenSet = true; m_estimatedTotalMonthlySavingsAmount = std::move(value); } /** *The estimated total savings resulting from modifications, on a monthly * basis.
*/ inline void SetEstimatedTotalMonthlySavingsAmount(const char* value) { m_estimatedTotalMonthlySavingsAmountHasBeenSet = true; m_estimatedTotalMonthlySavingsAmount.assign(value); } /** *The estimated total savings resulting from modifications, on a monthly * basis.
*/ inline RightsizingRecommendationSummary& WithEstimatedTotalMonthlySavingsAmount(const Aws::String& value) { SetEstimatedTotalMonthlySavingsAmount(value); return *this;} /** *The estimated total savings resulting from modifications, on a monthly * basis.
*/ inline RightsizingRecommendationSummary& WithEstimatedTotalMonthlySavingsAmount(Aws::String&& value) { SetEstimatedTotalMonthlySavingsAmount(std::move(value)); return *this;} /** *The estimated total savings resulting from modifications, on a monthly * basis.
*/ inline RightsizingRecommendationSummary& WithEstimatedTotalMonthlySavingsAmount(const char* value) { SetEstimatedTotalMonthlySavingsAmount(value); return *this;} /** *The currency code that Amazon Web Services used to calculate the savings.
*/ inline const Aws::String& GetSavingsCurrencyCode() const{ return m_savingsCurrencyCode; } /** *The currency code that Amazon Web Services used to calculate the savings.
*/ inline bool SavingsCurrencyCodeHasBeenSet() const { return m_savingsCurrencyCodeHasBeenSet; } /** *The currency code that Amazon Web Services used to calculate the savings.
*/ inline void SetSavingsCurrencyCode(const Aws::String& value) { m_savingsCurrencyCodeHasBeenSet = true; m_savingsCurrencyCode = value; } /** *The currency code that Amazon Web Services used to calculate the savings.
*/ inline void SetSavingsCurrencyCode(Aws::String&& value) { m_savingsCurrencyCodeHasBeenSet = true; m_savingsCurrencyCode = std::move(value); } /** *The currency code that Amazon Web Services used to calculate the savings.
*/ inline void SetSavingsCurrencyCode(const char* value) { m_savingsCurrencyCodeHasBeenSet = true; m_savingsCurrencyCode.assign(value); } /** *The currency code that Amazon Web Services used to calculate the savings.
*/ inline RightsizingRecommendationSummary& WithSavingsCurrencyCode(const Aws::String& value) { SetSavingsCurrencyCode(value); return *this;} /** *The currency code that Amazon Web Services used to calculate the savings.
*/ inline RightsizingRecommendationSummary& WithSavingsCurrencyCode(Aws::String&& value) { SetSavingsCurrencyCode(std::move(value)); return *this;} /** *The currency code that Amazon Web Services used to calculate the savings.
*/ inline RightsizingRecommendationSummary& WithSavingsCurrencyCode(const char* value) { SetSavingsCurrencyCode(value); return *this;} /** *The savings percentage based on the recommended modifications. It's relative * to the total On-Demand costs that are associated with these instances.
*/ inline const Aws::String& GetSavingsPercentage() const{ return m_savingsPercentage; } /** *The savings percentage based on the recommended modifications. It's relative * to the total On-Demand costs that are associated with these instances.
*/ inline bool SavingsPercentageHasBeenSet() const { return m_savingsPercentageHasBeenSet; } /** *The savings percentage based on the recommended modifications. It's relative * to the total On-Demand costs that are associated with these instances.
*/ inline void SetSavingsPercentage(const Aws::String& value) { m_savingsPercentageHasBeenSet = true; m_savingsPercentage = value; } /** *The savings percentage based on the recommended modifications. It's relative * to the total On-Demand costs that are associated with these instances.
*/ inline void SetSavingsPercentage(Aws::String&& value) { m_savingsPercentageHasBeenSet = true; m_savingsPercentage = std::move(value); } /** *The savings percentage based on the recommended modifications. It's relative * to the total On-Demand costs that are associated with these instances.
*/ inline void SetSavingsPercentage(const char* value) { m_savingsPercentageHasBeenSet = true; m_savingsPercentage.assign(value); } /** *The savings percentage based on the recommended modifications. It's relative * to the total On-Demand costs that are associated with these instances.
*/ inline RightsizingRecommendationSummary& WithSavingsPercentage(const Aws::String& value) { SetSavingsPercentage(value); return *this;} /** *The savings percentage based on the recommended modifications. It's relative * to the total On-Demand costs that are associated with these instances.
*/ inline RightsizingRecommendationSummary& WithSavingsPercentage(Aws::String&& value) { SetSavingsPercentage(std::move(value)); return *this;} /** *The savings percentage based on the recommended modifications. It's relative * to the total On-Demand costs that are associated with these instances.
*/ inline RightsizingRecommendationSummary& WithSavingsPercentage(const char* value) { SetSavingsPercentage(value); return *this;} private: Aws::String m_totalRecommendationCount; bool m_totalRecommendationCountHasBeenSet = false; Aws::String m_estimatedTotalMonthlySavingsAmount; bool m_estimatedTotalMonthlySavingsAmountHasBeenSet = false; Aws::String m_savingsCurrencyCode; bool m_savingsCurrencyCodeHasBeenSet = false; Aws::String m_savingsPercentage; bool m_savingsPercentageHasBeenSet = false; }; } // namespace Model } // namespace CostExplorer } // namespace Aws