/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about your recommended reservation purchase.See Also:
* AWS
* API Reference
The account that this Reserved Instance (RI) recommendation is for.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The account that this Reserved Instance (RI) recommendation is for.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The account that this Reserved Instance (RI) recommendation is for.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The account that this Reserved Instance (RI) recommendation is for.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The account that this Reserved Instance (RI) recommendation is for.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The account that this Reserved Instance (RI) recommendation is for.
*/ inline ReservationPurchaseRecommendationDetail& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The account that this Reserved Instance (RI) recommendation is for.
*/ inline ReservationPurchaseRecommendationDetail& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The account that this Reserved Instance (RI) recommendation is for.
*/ inline ReservationPurchaseRecommendationDetail& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *Details about the instances that Amazon Web Services recommends that you * purchase.
*/ inline const InstanceDetails& GetInstanceDetails() const{ return m_instanceDetails; } /** *Details about the instances that Amazon Web Services recommends that you * purchase.
*/ inline bool InstanceDetailsHasBeenSet() const { return m_instanceDetailsHasBeenSet; } /** *Details about the instances that Amazon Web Services recommends that you * purchase.
*/ inline void SetInstanceDetails(const InstanceDetails& value) { m_instanceDetailsHasBeenSet = true; m_instanceDetails = value; } /** *Details about the instances that Amazon Web Services recommends that you * purchase.
*/ inline void SetInstanceDetails(InstanceDetails&& value) { m_instanceDetailsHasBeenSet = true; m_instanceDetails = std::move(value); } /** *Details about the instances that Amazon Web Services recommends that you * purchase.
*/ inline ReservationPurchaseRecommendationDetail& WithInstanceDetails(const InstanceDetails& value) { SetInstanceDetails(value); return *this;} /** *Details about the instances that Amazon Web Services recommends that you * purchase.
*/ inline ReservationPurchaseRecommendationDetail& WithInstanceDetails(InstanceDetails&& value) { SetInstanceDetails(std::move(value)); return *this;} /** *The number of instances that Amazon Web Services recommends that you * purchase.
*/ inline const Aws::String& GetRecommendedNumberOfInstancesToPurchase() const{ return m_recommendedNumberOfInstancesToPurchase; } /** *The number of instances that Amazon Web Services recommends that you * purchase.
*/ inline bool RecommendedNumberOfInstancesToPurchaseHasBeenSet() const { return m_recommendedNumberOfInstancesToPurchaseHasBeenSet; } /** *The number of instances that Amazon Web Services recommends that you * purchase.
*/ inline void SetRecommendedNumberOfInstancesToPurchase(const Aws::String& value) { m_recommendedNumberOfInstancesToPurchaseHasBeenSet = true; m_recommendedNumberOfInstancesToPurchase = value; } /** *The number of instances that Amazon Web Services recommends that you * purchase.
*/ inline void SetRecommendedNumberOfInstancesToPurchase(Aws::String&& value) { m_recommendedNumberOfInstancesToPurchaseHasBeenSet = true; m_recommendedNumberOfInstancesToPurchase = std::move(value); } /** *The number of instances that Amazon Web Services recommends that you * purchase.
*/ inline void SetRecommendedNumberOfInstancesToPurchase(const char* value) { m_recommendedNumberOfInstancesToPurchaseHasBeenSet = true; m_recommendedNumberOfInstancesToPurchase.assign(value); } /** *The number of instances that Amazon Web Services recommends that you * purchase.
*/ inline ReservationPurchaseRecommendationDetail& WithRecommendedNumberOfInstancesToPurchase(const Aws::String& value) { SetRecommendedNumberOfInstancesToPurchase(value); return *this;} /** *The number of instances that Amazon Web Services recommends that you * purchase.
*/ inline ReservationPurchaseRecommendationDetail& WithRecommendedNumberOfInstancesToPurchase(Aws::String&& value) { SetRecommendedNumberOfInstancesToPurchase(std::move(value)); return *this;} /** *The number of instances that Amazon Web Services recommends that you * purchase.
*/ inline ReservationPurchaseRecommendationDetail& WithRecommendedNumberOfInstancesToPurchase(const char* value) { SetRecommendedNumberOfInstancesToPurchase(value); return *this;} /** *The number of normalized units that Amazon Web Services recommends that you * purchase.
*/ inline const Aws::String& GetRecommendedNormalizedUnitsToPurchase() const{ return m_recommendedNormalizedUnitsToPurchase; } /** *The number of normalized units that Amazon Web Services recommends that you * purchase.
*/ inline bool RecommendedNormalizedUnitsToPurchaseHasBeenSet() const { return m_recommendedNormalizedUnitsToPurchaseHasBeenSet; } /** *The number of normalized units that Amazon Web Services recommends that you * purchase.
*/ inline void SetRecommendedNormalizedUnitsToPurchase(const Aws::String& value) { m_recommendedNormalizedUnitsToPurchaseHasBeenSet = true; m_recommendedNormalizedUnitsToPurchase = value; } /** *The number of normalized units that Amazon Web Services recommends that you * purchase.
*/ inline void SetRecommendedNormalizedUnitsToPurchase(Aws::String&& value) { m_recommendedNormalizedUnitsToPurchaseHasBeenSet = true; m_recommendedNormalizedUnitsToPurchase = std::move(value); } /** *The number of normalized units that Amazon Web Services recommends that you * purchase.
*/ inline void SetRecommendedNormalizedUnitsToPurchase(const char* value) { m_recommendedNormalizedUnitsToPurchaseHasBeenSet = true; m_recommendedNormalizedUnitsToPurchase.assign(value); } /** *The number of normalized units that Amazon Web Services recommends that you * purchase.
*/ inline ReservationPurchaseRecommendationDetail& WithRecommendedNormalizedUnitsToPurchase(const Aws::String& value) { SetRecommendedNormalizedUnitsToPurchase(value); return *this;} /** *The number of normalized units that Amazon Web Services recommends that you * purchase.
*/ inline ReservationPurchaseRecommendationDetail& WithRecommendedNormalizedUnitsToPurchase(Aws::String&& value) { SetRecommendedNormalizedUnitsToPurchase(std::move(value)); return *this;} /** *The number of normalized units that Amazon Web Services recommends that you * purchase.
*/ inline ReservationPurchaseRecommendationDetail& WithRecommendedNormalizedUnitsToPurchase(const char* value) { SetRecommendedNormalizedUnitsToPurchase(value); return *this;} /** *The minimum number of instances that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline const Aws::String& GetMinimumNumberOfInstancesUsedPerHour() const{ return m_minimumNumberOfInstancesUsedPerHour; } /** *The minimum number of instances that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline bool MinimumNumberOfInstancesUsedPerHourHasBeenSet() const { return m_minimumNumberOfInstancesUsedPerHourHasBeenSet; } /** *The minimum number of instances that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline void SetMinimumNumberOfInstancesUsedPerHour(const Aws::String& value) { m_minimumNumberOfInstancesUsedPerHourHasBeenSet = true; m_minimumNumberOfInstancesUsedPerHour = value; } /** *The minimum number of instances that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline void SetMinimumNumberOfInstancesUsedPerHour(Aws::String&& value) { m_minimumNumberOfInstancesUsedPerHourHasBeenSet = true; m_minimumNumberOfInstancesUsedPerHour = std::move(value); } /** *The minimum number of instances that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline void SetMinimumNumberOfInstancesUsedPerHour(const char* value) { m_minimumNumberOfInstancesUsedPerHourHasBeenSet = true; m_minimumNumberOfInstancesUsedPerHour.assign(value); } /** *The minimum number of instances that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline ReservationPurchaseRecommendationDetail& WithMinimumNumberOfInstancesUsedPerHour(const Aws::String& value) { SetMinimumNumberOfInstancesUsedPerHour(value); return *this;} /** *The minimum number of instances that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline ReservationPurchaseRecommendationDetail& WithMinimumNumberOfInstancesUsedPerHour(Aws::String&& value) { SetMinimumNumberOfInstancesUsedPerHour(std::move(value)); return *this;} /** *The minimum number of instances that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline ReservationPurchaseRecommendationDetail& WithMinimumNumberOfInstancesUsedPerHour(const char* value) { SetMinimumNumberOfInstancesUsedPerHour(value); return *this;} /** *The minimum number of normalized units that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline const Aws::String& GetMinimumNormalizedUnitsUsedPerHour() const{ return m_minimumNormalizedUnitsUsedPerHour; } /** *The minimum number of normalized units that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline bool MinimumNormalizedUnitsUsedPerHourHasBeenSet() const { return m_minimumNormalizedUnitsUsedPerHourHasBeenSet; } /** *The minimum number of normalized units that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline void SetMinimumNormalizedUnitsUsedPerHour(const Aws::String& value) { m_minimumNormalizedUnitsUsedPerHourHasBeenSet = true; m_minimumNormalizedUnitsUsedPerHour = value; } /** *The minimum number of normalized units that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline void SetMinimumNormalizedUnitsUsedPerHour(Aws::String&& value) { m_minimumNormalizedUnitsUsedPerHourHasBeenSet = true; m_minimumNormalizedUnitsUsedPerHour = std::move(value); } /** *The minimum number of normalized units that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline void SetMinimumNormalizedUnitsUsedPerHour(const char* value) { m_minimumNormalizedUnitsUsedPerHourHasBeenSet = true; m_minimumNormalizedUnitsUsedPerHour.assign(value); } /** *The minimum number of normalized units that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline ReservationPurchaseRecommendationDetail& WithMinimumNormalizedUnitsUsedPerHour(const Aws::String& value) { SetMinimumNormalizedUnitsUsedPerHour(value); return *this;} /** *The minimum number of normalized units that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline ReservationPurchaseRecommendationDetail& WithMinimumNormalizedUnitsUsedPerHour(Aws::String&& value) { SetMinimumNormalizedUnitsUsedPerHour(std::move(value)); return *this;} /** *The minimum number of normalized units that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline ReservationPurchaseRecommendationDetail& WithMinimumNormalizedUnitsUsedPerHour(const char* value) { SetMinimumNormalizedUnitsUsedPerHour(value); return *this;} /** *The maximum number of instances that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline const Aws::String& GetMaximumNumberOfInstancesUsedPerHour() const{ return m_maximumNumberOfInstancesUsedPerHour; } /** *The maximum number of instances that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline bool MaximumNumberOfInstancesUsedPerHourHasBeenSet() const { return m_maximumNumberOfInstancesUsedPerHourHasBeenSet; } /** *The maximum number of instances that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline void SetMaximumNumberOfInstancesUsedPerHour(const Aws::String& value) { m_maximumNumberOfInstancesUsedPerHourHasBeenSet = true; m_maximumNumberOfInstancesUsedPerHour = value; } /** *The maximum number of instances that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline void SetMaximumNumberOfInstancesUsedPerHour(Aws::String&& value) { m_maximumNumberOfInstancesUsedPerHourHasBeenSet = true; m_maximumNumberOfInstancesUsedPerHour = std::move(value); } /** *The maximum number of instances that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline void SetMaximumNumberOfInstancesUsedPerHour(const char* value) { m_maximumNumberOfInstancesUsedPerHourHasBeenSet = true; m_maximumNumberOfInstancesUsedPerHour.assign(value); } /** *The maximum number of instances that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline ReservationPurchaseRecommendationDetail& WithMaximumNumberOfInstancesUsedPerHour(const Aws::String& value) { SetMaximumNumberOfInstancesUsedPerHour(value); return *this;} /** *The maximum number of instances that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline ReservationPurchaseRecommendationDetail& WithMaximumNumberOfInstancesUsedPerHour(Aws::String&& value) { SetMaximumNumberOfInstancesUsedPerHour(std::move(value)); return *this;} /** *The maximum number of instances that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline ReservationPurchaseRecommendationDetail& WithMaximumNumberOfInstancesUsedPerHour(const char* value) { SetMaximumNumberOfInstancesUsedPerHour(value); return *this;} /** *The maximum number of normalized units that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline const Aws::String& GetMaximumNormalizedUnitsUsedPerHour() const{ return m_maximumNormalizedUnitsUsedPerHour; } /** *The maximum number of normalized units that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline bool MaximumNormalizedUnitsUsedPerHourHasBeenSet() const { return m_maximumNormalizedUnitsUsedPerHourHasBeenSet; } /** *The maximum number of normalized units that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline void SetMaximumNormalizedUnitsUsedPerHour(const Aws::String& value) { m_maximumNormalizedUnitsUsedPerHourHasBeenSet = true; m_maximumNormalizedUnitsUsedPerHour = value; } /** *The maximum number of normalized units that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline void SetMaximumNormalizedUnitsUsedPerHour(Aws::String&& value) { m_maximumNormalizedUnitsUsedPerHourHasBeenSet = true; m_maximumNormalizedUnitsUsedPerHour = std::move(value); } /** *The maximum number of normalized units that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline void SetMaximumNormalizedUnitsUsedPerHour(const char* value) { m_maximumNormalizedUnitsUsedPerHourHasBeenSet = true; m_maximumNormalizedUnitsUsedPerHour.assign(value); } /** *The maximum number of normalized units that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline ReservationPurchaseRecommendationDetail& WithMaximumNormalizedUnitsUsedPerHour(const Aws::String& value) { SetMaximumNormalizedUnitsUsedPerHour(value); return *this;} /** *The maximum number of normalized units that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline ReservationPurchaseRecommendationDetail& WithMaximumNormalizedUnitsUsedPerHour(Aws::String&& value) { SetMaximumNormalizedUnitsUsedPerHour(std::move(value)); return *this;} /** *The maximum number of normalized units that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline ReservationPurchaseRecommendationDetail& WithMaximumNormalizedUnitsUsedPerHour(const char* value) { SetMaximumNormalizedUnitsUsedPerHour(value); return *this;} /** *The average number of instances that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline const Aws::String& GetAverageNumberOfInstancesUsedPerHour() const{ return m_averageNumberOfInstancesUsedPerHour; } /** *The average number of instances that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline bool AverageNumberOfInstancesUsedPerHourHasBeenSet() const { return m_averageNumberOfInstancesUsedPerHourHasBeenSet; } /** *The average number of instances that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline void SetAverageNumberOfInstancesUsedPerHour(const Aws::String& value) { m_averageNumberOfInstancesUsedPerHourHasBeenSet = true; m_averageNumberOfInstancesUsedPerHour = value; } /** *The average number of instances that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline void SetAverageNumberOfInstancesUsedPerHour(Aws::String&& value) { m_averageNumberOfInstancesUsedPerHourHasBeenSet = true; m_averageNumberOfInstancesUsedPerHour = std::move(value); } /** *The average number of instances that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline void SetAverageNumberOfInstancesUsedPerHour(const char* value) { m_averageNumberOfInstancesUsedPerHourHasBeenSet = true; m_averageNumberOfInstancesUsedPerHour.assign(value); } /** *The average number of instances that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline ReservationPurchaseRecommendationDetail& WithAverageNumberOfInstancesUsedPerHour(const Aws::String& value) { SetAverageNumberOfInstancesUsedPerHour(value); return *this;} /** *The average number of instances that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline ReservationPurchaseRecommendationDetail& WithAverageNumberOfInstancesUsedPerHour(Aws::String&& value) { SetAverageNumberOfInstancesUsedPerHour(std::move(value)); return *this;} /** *The average number of instances that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline ReservationPurchaseRecommendationDetail& WithAverageNumberOfInstancesUsedPerHour(const char* value) { SetAverageNumberOfInstancesUsedPerHour(value); return *this;} /** *The average number of normalized units that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline const Aws::String& GetAverageNormalizedUnitsUsedPerHour() const{ return m_averageNormalizedUnitsUsedPerHour; } /** *The average number of normalized units that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline bool AverageNormalizedUnitsUsedPerHourHasBeenSet() const { return m_averageNormalizedUnitsUsedPerHourHasBeenSet; } /** *The average number of normalized units that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline void SetAverageNormalizedUnitsUsedPerHour(const Aws::String& value) { m_averageNormalizedUnitsUsedPerHourHasBeenSet = true; m_averageNormalizedUnitsUsedPerHour = value; } /** *The average number of normalized units that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline void SetAverageNormalizedUnitsUsedPerHour(Aws::String&& value) { m_averageNormalizedUnitsUsedPerHourHasBeenSet = true; m_averageNormalizedUnitsUsedPerHour = std::move(value); } /** *The average number of normalized units that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline void SetAverageNormalizedUnitsUsedPerHour(const char* value) { m_averageNormalizedUnitsUsedPerHourHasBeenSet = true; m_averageNormalizedUnitsUsedPerHour.assign(value); } /** *The average number of normalized units that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline ReservationPurchaseRecommendationDetail& WithAverageNormalizedUnitsUsedPerHour(const Aws::String& value) { SetAverageNormalizedUnitsUsedPerHour(value); return *this;} /** *The average number of normalized units that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline ReservationPurchaseRecommendationDetail& WithAverageNormalizedUnitsUsedPerHour(Aws::String&& value) { SetAverageNormalizedUnitsUsedPerHour(std::move(value)); return *this;} /** *The average number of normalized units that you used in an hour during the * historical period. Amazon Web Services uses this to calculate your recommended * reservation purchases.
*/ inline ReservationPurchaseRecommendationDetail& WithAverageNormalizedUnitsUsedPerHour(const char* value) { SetAverageNormalizedUnitsUsedPerHour(value); return *this;} /** *The average utilization of your instances. Amazon Web Services uses this to * calculate your recommended reservation purchases.
*/ inline const Aws::String& GetAverageUtilization() const{ return m_averageUtilization; } /** *The average utilization of your instances. Amazon Web Services uses this to * calculate your recommended reservation purchases.
*/ inline bool AverageUtilizationHasBeenSet() const { return m_averageUtilizationHasBeenSet; } /** *The average utilization of your instances. Amazon Web Services uses this to * calculate your recommended reservation purchases.
*/ inline void SetAverageUtilization(const Aws::String& value) { m_averageUtilizationHasBeenSet = true; m_averageUtilization = value; } /** *The average utilization of your instances. Amazon Web Services uses this to * calculate your recommended reservation purchases.
*/ inline void SetAverageUtilization(Aws::String&& value) { m_averageUtilizationHasBeenSet = true; m_averageUtilization = std::move(value); } /** *The average utilization of your instances. Amazon Web Services uses this to * calculate your recommended reservation purchases.
*/ inline void SetAverageUtilization(const char* value) { m_averageUtilizationHasBeenSet = true; m_averageUtilization.assign(value); } /** *The average utilization of your instances. Amazon Web Services uses this to * calculate your recommended reservation purchases.
*/ inline ReservationPurchaseRecommendationDetail& WithAverageUtilization(const Aws::String& value) { SetAverageUtilization(value); return *this;} /** *The average utilization of your instances. Amazon Web Services uses this to * calculate your recommended reservation purchases.
*/ inline ReservationPurchaseRecommendationDetail& WithAverageUtilization(Aws::String&& value) { SetAverageUtilization(std::move(value)); return *this;} /** *The average utilization of your instances. Amazon Web Services uses this to * calculate your recommended reservation purchases.
*/ inline ReservationPurchaseRecommendationDetail& WithAverageUtilization(const char* value) { SetAverageUtilization(value); return *this;} /** *How long Amazon Web Services estimates that it takes for this instance to * start saving you money, in months.
*/ inline const Aws::String& GetEstimatedBreakEvenInMonths() const{ return m_estimatedBreakEvenInMonths; } /** *How long Amazon Web Services estimates that it takes for this instance to * start saving you money, in months.
*/ inline bool EstimatedBreakEvenInMonthsHasBeenSet() const { return m_estimatedBreakEvenInMonthsHasBeenSet; } /** *How long Amazon Web Services estimates that it takes for this instance to * start saving you money, in months.
*/ inline void SetEstimatedBreakEvenInMonths(const Aws::String& value) { m_estimatedBreakEvenInMonthsHasBeenSet = true; m_estimatedBreakEvenInMonths = value; } /** *How long Amazon Web Services estimates that it takes for this instance to * start saving you money, in months.
*/ inline void SetEstimatedBreakEvenInMonths(Aws::String&& value) { m_estimatedBreakEvenInMonthsHasBeenSet = true; m_estimatedBreakEvenInMonths = std::move(value); } /** *How long Amazon Web Services estimates that it takes for this instance to * start saving you money, in months.
*/ inline void SetEstimatedBreakEvenInMonths(const char* value) { m_estimatedBreakEvenInMonthsHasBeenSet = true; m_estimatedBreakEvenInMonths.assign(value); } /** *How long Amazon Web Services estimates that it takes for this instance to * start saving you money, in months.
*/ inline ReservationPurchaseRecommendationDetail& WithEstimatedBreakEvenInMonths(const Aws::String& value) { SetEstimatedBreakEvenInMonths(value); return *this;} /** *How long Amazon Web Services estimates that it takes for this instance to * start saving you money, in months.
*/ inline ReservationPurchaseRecommendationDetail& WithEstimatedBreakEvenInMonths(Aws::String&& value) { SetEstimatedBreakEvenInMonths(std::move(value)); return *this;} /** *How long Amazon Web Services estimates that it takes for this instance to * start saving you money, in months.
*/ inline ReservationPurchaseRecommendationDetail& WithEstimatedBreakEvenInMonths(const char* value) { SetEstimatedBreakEvenInMonths(value); return *this;} /** *The currency code that Amazon Web Services used to calculate the costs for * this instance.
*/ inline const Aws::String& GetCurrencyCode() const{ return m_currencyCode; } /** *The currency code that Amazon Web Services used to calculate the costs for * this instance.
*/ inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; } /** *The currency code that Amazon Web Services used to calculate the costs for * this instance.
*/ inline void SetCurrencyCode(const Aws::String& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = value; } /** *The currency code that Amazon Web Services used to calculate the costs for * this instance.
*/ inline void SetCurrencyCode(Aws::String&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::move(value); } /** *The currency code that Amazon Web Services used to calculate the costs for * this instance.
*/ inline void SetCurrencyCode(const char* value) { m_currencyCodeHasBeenSet = true; m_currencyCode.assign(value); } /** *The currency code that Amazon Web Services used to calculate the costs for * this instance.
*/ inline ReservationPurchaseRecommendationDetail& WithCurrencyCode(const Aws::String& value) { SetCurrencyCode(value); return *this;} /** *The currency code that Amazon Web Services used to calculate the costs for * this instance.
*/ inline ReservationPurchaseRecommendationDetail& WithCurrencyCode(Aws::String&& value) { SetCurrencyCode(std::move(value)); return *this;} /** *The currency code that Amazon Web Services used to calculate the costs for * this instance.
*/ inline ReservationPurchaseRecommendationDetail& WithCurrencyCode(const char* value) { SetCurrencyCode(value); return *this;} /** *How much Amazon Web Services estimates that this specific recommendation * might save you in a month.
*/ inline const Aws::String& GetEstimatedMonthlySavingsAmount() const{ return m_estimatedMonthlySavingsAmount; } /** *How much Amazon Web Services estimates that this specific recommendation * might save you in a month.
*/ inline bool EstimatedMonthlySavingsAmountHasBeenSet() const { return m_estimatedMonthlySavingsAmountHasBeenSet; } /** *How much Amazon Web Services estimates that this specific recommendation * might save you in a month.
*/ inline void SetEstimatedMonthlySavingsAmount(const Aws::String& value) { m_estimatedMonthlySavingsAmountHasBeenSet = true; m_estimatedMonthlySavingsAmount = value; } /** *How much Amazon Web Services estimates that this specific recommendation * might save you in a month.
*/ inline void SetEstimatedMonthlySavingsAmount(Aws::String&& value) { m_estimatedMonthlySavingsAmountHasBeenSet = true; m_estimatedMonthlySavingsAmount = std::move(value); } /** *How much Amazon Web Services estimates that this specific recommendation * might save you in a month.
*/ inline void SetEstimatedMonthlySavingsAmount(const char* value) { m_estimatedMonthlySavingsAmountHasBeenSet = true; m_estimatedMonthlySavingsAmount.assign(value); } /** *How much Amazon Web Services estimates that this specific recommendation * might save you in a month.
*/ inline ReservationPurchaseRecommendationDetail& WithEstimatedMonthlySavingsAmount(const Aws::String& value) { SetEstimatedMonthlySavingsAmount(value); return *this;} /** *How much Amazon Web Services estimates that this specific recommendation * might save you in a month.
*/ inline ReservationPurchaseRecommendationDetail& WithEstimatedMonthlySavingsAmount(Aws::String&& value) { SetEstimatedMonthlySavingsAmount(std::move(value)); return *this;} /** *How much Amazon Web Services estimates that this specific recommendation * might save you in a month.
*/ inline ReservationPurchaseRecommendationDetail& WithEstimatedMonthlySavingsAmount(const char* value) { SetEstimatedMonthlySavingsAmount(value); return *this;} /** *How much Amazon Web Services estimates that this specific recommendation * might save you in a month, as a percentage of your overall costs.
*/ inline const Aws::String& GetEstimatedMonthlySavingsPercentage() const{ return m_estimatedMonthlySavingsPercentage; } /** *How much Amazon Web Services estimates that this specific recommendation * might save you in a month, as a percentage of your overall costs.
*/ inline bool EstimatedMonthlySavingsPercentageHasBeenSet() const { return m_estimatedMonthlySavingsPercentageHasBeenSet; } /** *How much Amazon Web Services estimates that this specific recommendation * might save you in a month, as a percentage of your overall costs.
*/ inline void SetEstimatedMonthlySavingsPercentage(const Aws::String& value) { m_estimatedMonthlySavingsPercentageHasBeenSet = true; m_estimatedMonthlySavingsPercentage = value; } /** *How much Amazon Web Services estimates that this specific recommendation * might save you in a month, as a percentage of your overall costs.
*/ inline void SetEstimatedMonthlySavingsPercentage(Aws::String&& value) { m_estimatedMonthlySavingsPercentageHasBeenSet = true; m_estimatedMonthlySavingsPercentage = std::move(value); } /** *How much Amazon Web Services estimates that this specific recommendation * might save you in a month, as a percentage of your overall costs.
*/ inline void SetEstimatedMonthlySavingsPercentage(const char* value) { m_estimatedMonthlySavingsPercentageHasBeenSet = true; m_estimatedMonthlySavingsPercentage.assign(value); } /** *How much Amazon Web Services estimates that this specific recommendation * might save you in a month, as a percentage of your overall costs.
*/ inline ReservationPurchaseRecommendationDetail& WithEstimatedMonthlySavingsPercentage(const Aws::String& value) { SetEstimatedMonthlySavingsPercentage(value); return *this;} /** *How much Amazon Web Services estimates that this specific recommendation * might save you in a month, as a percentage of your overall costs.
*/ inline ReservationPurchaseRecommendationDetail& WithEstimatedMonthlySavingsPercentage(Aws::String&& value) { SetEstimatedMonthlySavingsPercentage(std::move(value)); return *this;} /** *How much Amazon Web Services estimates that this specific recommendation * might save you in a month, as a percentage of your overall costs.
*/ inline ReservationPurchaseRecommendationDetail& WithEstimatedMonthlySavingsPercentage(const char* value) { SetEstimatedMonthlySavingsPercentage(value); return *this;} /** *How much Amazon Web Services estimates that you spend on On-Demand Instances * in a month.
*/ inline const Aws::String& GetEstimatedMonthlyOnDemandCost() const{ return m_estimatedMonthlyOnDemandCost; } /** *How much Amazon Web Services estimates that you spend on On-Demand Instances * in a month.
*/ inline bool EstimatedMonthlyOnDemandCostHasBeenSet() const { return m_estimatedMonthlyOnDemandCostHasBeenSet; } /** *How much Amazon Web Services estimates that you spend on On-Demand Instances * in a month.
*/ inline void SetEstimatedMonthlyOnDemandCost(const Aws::String& value) { m_estimatedMonthlyOnDemandCostHasBeenSet = true; m_estimatedMonthlyOnDemandCost = value; } /** *How much Amazon Web Services estimates that you spend on On-Demand Instances * in a month.
*/ inline void SetEstimatedMonthlyOnDemandCost(Aws::String&& value) { m_estimatedMonthlyOnDemandCostHasBeenSet = true; m_estimatedMonthlyOnDemandCost = std::move(value); } /** *How much Amazon Web Services estimates that you spend on On-Demand Instances * in a month.
*/ inline void SetEstimatedMonthlyOnDemandCost(const char* value) { m_estimatedMonthlyOnDemandCostHasBeenSet = true; m_estimatedMonthlyOnDemandCost.assign(value); } /** *How much Amazon Web Services estimates that you spend on On-Demand Instances * in a month.
*/ inline ReservationPurchaseRecommendationDetail& WithEstimatedMonthlyOnDemandCost(const Aws::String& value) { SetEstimatedMonthlyOnDemandCost(value); return *this;} /** *How much Amazon Web Services estimates that you spend on On-Demand Instances * in a month.
*/ inline ReservationPurchaseRecommendationDetail& WithEstimatedMonthlyOnDemandCost(Aws::String&& value) { SetEstimatedMonthlyOnDemandCost(std::move(value)); return *this;} /** *How much Amazon Web Services estimates that you spend on On-Demand Instances * in a month.
*/ inline ReservationPurchaseRecommendationDetail& WithEstimatedMonthlyOnDemandCost(const char* value) { SetEstimatedMonthlyOnDemandCost(value); return *this;} /** *How much Amazon Web Services estimates that you might spend for all usage * during the specified historical period if you had a reservation.
*/ inline const Aws::String& GetEstimatedReservationCostForLookbackPeriod() const{ return m_estimatedReservationCostForLookbackPeriod; } /** *How much Amazon Web Services estimates that you might spend for all usage * during the specified historical period if you had a reservation.
*/ inline bool EstimatedReservationCostForLookbackPeriodHasBeenSet() const { return m_estimatedReservationCostForLookbackPeriodHasBeenSet; } /** *How much Amazon Web Services estimates that you might spend for all usage * during the specified historical period if you had a reservation.
*/ inline void SetEstimatedReservationCostForLookbackPeriod(const Aws::String& value) { m_estimatedReservationCostForLookbackPeriodHasBeenSet = true; m_estimatedReservationCostForLookbackPeriod = value; } /** *How much Amazon Web Services estimates that you might spend for all usage * during the specified historical period if you had a reservation.
*/ inline void SetEstimatedReservationCostForLookbackPeriod(Aws::String&& value) { m_estimatedReservationCostForLookbackPeriodHasBeenSet = true; m_estimatedReservationCostForLookbackPeriod = std::move(value); } /** *How much Amazon Web Services estimates that you might spend for all usage * during the specified historical period if you had a reservation.
*/ inline void SetEstimatedReservationCostForLookbackPeriod(const char* value) { m_estimatedReservationCostForLookbackPeriodHasBeenSet = true; m_estimatedReservationCostForLookbackPeriod.assign(value); } /** *How much Amazon Web Services estimates that you might spend for all usage * during the specified historical period if you had a reservation.
*/ inline ReservationPurchaseRecommendationDetail& WithEstimatedReservationCostForLookbackPeriod(const Aws::String& value) { SetEstimatedReservationCostForLookbackPeriod(value); return *this;} /** *How much Amazon Web Services estimates that you might spend for all usage * during the specified historical period if you had a reservation.
*/ inline ReservationPurchaseRecommendationDetail& WithEstimatedReservationCostForLookbackPeriod(Aws::String&& value) { SetEstimatedReservationCostForLookbackPeriod(std::move(value)); return *this;} /** *How much Amazon Web Services estimates that you might spend for all usage * during the specified historical period if you had a reservation.
*/ inline ReservationPurchaseRecommendationDetail& WithEstimatedReservationCostForLookbackPeriod(const char* value) { SetEstimatedReservationCostForLookbackPeriod(value); return *this;} /** *How much purchasing this instance costs you upfront.
*/ inline const Aws::String& GetUpfrontCost() const{ return m_upfrontCost; } /** *How much purchasing this instance costs you upfront.
*/ inline bool UpfrontCostHasBeenSet() const { return m_upfrontCostHasBeenSet; } /** *How much purchasing this instance costs you upfront.
*/ inline void SetUpfrontCost(const Aws::String& value) { m_upfrontCostHasBeenSet = true; m_upfrontCost = value; } /** *How much purchasing this instance costs you upfront.
*/ inline void SetUpfrontCost(Aws::String&& value) { m_upfrontCostHasBeenSet = true; m_upfrontCost = std::move(value); } /** *How much purchasing this instance costs you upfront.
*/ inline void SetUpfrontCost(const char* value) { m_upfrontCostHasBeenSet = true; m_upfrontCost.assign(value); } /** *How much purchasing this instance costs you upfront.
*/ inline ReservationPurchaseRecommendationDetail& WithUpfrontCost(const Aws::String& value) { SetUpfrontCost(value); return *this;} /** *How much purchasing this instance costs you upfront.
*/ inline ReservationPurchaseRecommendationDetail& WithUpfrontCost(Aws::String&& value) { SetUpfrontCost(std::move(value)); return *this;} /** *How much purchasing this instance costs you upfront.
*/ inline ReservationPurchaseRecommendationDetail& WithUpfrontCost(const char* value) { SetUpfrontCost(value); return *this;} /** *How much purchasing this instance costs you on a monthly basis.
*/ inline const Aws::String& GetRecurringStandardMonthlyCost() const{ return m_recurringStandardMonthlyCost; } /** *How much purchasing this instance costs you on a monthly basis.
*/ inline bool RecurringStandardMonthlyCostHasBeenSet() const { return m_recurringStandardMonthlyCostHasBeenSet; } /** *How much purchasing this instance costs you on a monthly basis.
*/ inline void SetRecurringStandardMonthlyCost(const Aws::String& value) { m_recurringStandardMonthlyCostHasBeenSet = true; m_recurringStandardMonthlyCost = value; } /** *How much purchasing this instance costs you on a monthly basis.
*/ inline void SetRecurringStandardMonthlyCost(Aws::String&& value) { m_recurringStandardMonthlyCostHasBeenSet = true; m_recurringStandardMonthlyCost = std::move(value); } /** *How much purchasing this instance costs you on a monthly basis.
*/ inline void SetRecurringStandardMonthlyCost(const char* value) { m_recurringStandardMonthlyCostHasBeenSet = true; m_recurringStandardMonthlyCost.assign(value); } /** *How much purchasing this instance costs you on a monthly basis.
*/ inline ReservationPurchaseRecommendationDetail& WithRecurringStandardMonthlyCost(const Aws::String& value) { SetRecurringStandardMonthlyCost(value); return *this;} /** *How much purchasing this instance costs you on a monthly basis.
*/ inline ReservationPurchaseRecommendationDetail& WithRecurringStandardMonthlyCost(Aws::String&& value) { SetRecurringStandardMonthlyCost(std::move(value)); return *this;} /** *How much purchasing this instance costs you on a monthly basis.
*/ inline ReservationPurchaseRecommendationDetail& WithRecurringStandardMonthlyCost(const char* value) { SetRecurringStandardMonthlyCost(value); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; InstanceDetails m_instanceDetails; bool m_instanceDetailsHasBeenSet = false; Aws::String m_recommendedNumberOfInstancesToPurchase; bool m_recommendedNumberOfInstancesToPurchaseHasBeenSet = false; Aws::String m_recommendedNormalizedUnitsToPurchase; bool m_recommendedNormalizedUnitsToPurchaseHasBeenSet = false; Aws::String m_minimumNumberOfInstancesUsedPerHour; bool m_minimumNumberOfInstancesUsedPerHourHasBeenSet = false; Aws::String m_minimumNormalizedUnitsUsedPerHour; bool m_minimumNormalizedUnitsUsedPerHourHasBeenSet = false; Aws::String m_maximumNumberOfInstancesUsedPerHour; bool m_maximumNumberOfInstancesUsedPerHourHasBeenSet = false; Aws::String m_maximumNormalizedUnitsUsedPerHour; bool m_maximumNormalizedUnitsUsedPerHourHasBeenSet = false; Aws::String m_averageNumberOfInstancesUsedPerHour; bool m_averageNumberOfInstancesUsedPerHourHasBeenSet = false; Aws::String m_averageNormalizedUnitsUsedPerHour; bool m_averageNormalizedUnitsUsedPerHourHasBeenSet = false; Aws::String m_averageUtilization; bool m_averageUtilizationHasBeenSet = false; Aws::String m_estimatedBreakEvenInMonths; bool m_estimatedBreakEvenInMonthsHasBeenSet = false; Aws::String m_currencyCode; bool m_currencyCodeHasBeenSet = false; Aws::String m_estimatedMonthlySavingsAmount; bool m_estimatedMonthlySavingsAmountHasBeenSet = false; Aws::String m_estimatedMonthlySavingsPercentage; bool m_estimatedMonthlySavingsPercentageHasBeenSet = false; Aws::String m_estimatedMonthlyOnDemandCost; bool m_estimatedMonthlyOnDemandCostHasBeenSet = false; Aws::String m_estimatedReservationCostForLookbackPeriod; bool m_estimatedReservationCostForLookbackPeriodHasBeenSet = false; Aws::String m_upfrontCost; bool m_upfrontCostHasBeenSet = false; Aws::String m_recurringStandardMonthlyCost; bool m_recurringStandardMonthlyCostHasBeenSet = false; }; } // namespace Model } // namespace CostExplorer } // namespace Aws