7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ce/model/InstanceDetails.h>
10#include <aws/ce/model/ReservedCapacityDetails.h>
51 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
205 inline void SetAverageUtilization(
const char* value) { m_averageUtilizationHasBeenSet =
true; m_averageUtilization.assign(value); }
235 inline void SetCurrencyCode(
const char* value) { m_currencyCodeHasBeenSet =
true; m_currencyCode.assign(value); }
309 inline void SetUpfrontCost(
const char* value) { m_upfrontCostHasBeenSet =
true; m_upfrontCost.assign(value); }
407 bool m_accountIdHasBeenSet =
false;
410 bool m_instanceDetailsHasBeenSet =
false;
412 Aws::String m_recommendedNumberOfInstancesToPurchase;
413 bool m_recommendedNumberOfInstancesToPurchaseHasBeenSet =
false;
415 Aws::String m_recommendedNormalizedUnitsToPurchase;
416 bool m_recommendedNormalizedUnitsToPurchaseHasBeenSet =
false;
419 bool m_minimumNumberOfInstancesUsedPerHourHasBeenSet =
false;
422 bool m_minimumNormalizedUnitsUsedPerHourHasBeenSet =
false;
425 bool m_maximumNumberOfInstancesUsedPerHourHasBeenSet =
false;
428 bool m_maximumNormalizedUnitsUsedPerHourHasBeenSet =
false;
431 bool m_averageNumberOfInstancesUsedPerHourHasBeenSet =
false;
434 bool m_averageNormalizedUnitsUsedPerHourHasBeenSet =
false;
437 bool m_averageUtilizationHasBeenSet =
false;
440 bool m_estimatedBreakEvenInMonthsHasBeenSet =
false;
443 bool m_currencyCodeHasBeenSet =
false;
446 bool m_estimatedMonthlySavingsAmountHasBeenSet =
false;
449 bool m_estimatedMonthlySavingsPercentageHasBeenSet =
false;
452 bool m_estimatedMonthlyOnDemandCostHasBeenSet =
false;
454 Aws::String m_estimatedReservationCostForLookbackPeriod;
455 bool m_estimatedReservationCostForLookbackPeriodHasBeenSet =
false;
458 bool m_upfrontCostHasBeenSet =
false;
461 bool m_recurringStandardMonthlyCostHasBeenSet =
false;
464 bool m_reservedCapacityDetailsHasBeenSet =
false;
466 Aws::String m_recommendedNumberOfCapacityUnitsToPurchase;
467 bool m_recommendedNumberOfCapacityUnitsToPurchaseHasBeenSet =
false;
469 Aws::String m_minimumNumberOfCapacityUnitsUsedPerHour;
470 bool m_minimumNumberOfCapacityUnitsUsedPerHourHasBeenSet =
false;
472 Aws::String m_maximumNumberOfCapacityUnitsUsedPerHour;
473 bool m_maximumNumberOfCapacityUnitsUsedPerHourHasBeenSet =
false;
475 Aws::String m_averageNumberOfCapacityUnitsUsedPerHour;
476 bool m_averageNumberOfCapacityUnitsUsedPerHourHasBeenSet =
false;
ReservationPurchaseRecommendationDetail & WithAverageNormalizedUnitsUsedPerHour(const char *value)
ReservationPurchaseRecommendationDetail & WithMaximumNormalizedUnitsUsedPerHour(const char *value)
void SetAverageUtilization(const char *value)
ReservationPurchaseRecommendationDetail & WithEstimatedMonthlyOnDemandCost(const char *value)
void SetEstimatedBreakEvenInMonths(const Aws::String &value)
ReservationPurchaseRecommendationDetail & WithEstimatedReservationCostForLookbackPeriod(const char *value)
const Aws::String & GetCurrencyCode() const
const ReservedCapacityDetails & GetReservedCapacityDetails() const
bool EstimatedReservationCostForLookbackPeriodHasBeenSet() const
bool MinimumNormalizedUnitsUsedPerHourHasBeenSet() const
bool AccountIdHasBeenSet() const
void SetAverageNumberOfCapacityUnitsUsedPerHour(const char *value)
const Aws::String & GetAccountId() const
ReservationPurchaseRecommendationDetail & WithRecommendedNumberOfCapacityUnitsToPurchase(const char *value)
bool MaximumNumberOfCapacityUnitsUsedPerHourHasBeenSet() const
void SetUpfrontCost(const char *value)
ReservationPurchaseRecommendationDetail & WithAccountId(const Aws::String &value)
void SetMinimumNumberOfCapacityUnitsUsedPerHour(const char *value)
ReservationPurchaseRecommendationDetail & WithRecommendedNumberOfInstancesToPurchase(const char *value)
ReservationPurchaseRecommendationDetail & WithAverageNormalizedUnitsUsedPerHour(Aws::String &&value)
AWS_COSTEXPLORER_API ReservationPurchaseRecommendationDetail(Aws::Utils::Json::JsonView jsonValue)
ReservationPurchaseRecommendationDetail & WithEstimatedReservationCostForLookbackPeriod(Aws::String &&value)
void SetAverageNumberOfInstancesUsedPerHour(const Aws::String &value)
void SetAccountId(const Aws::String &value)
void SetMinimumNormalizedUnitsUsedPerHour(Aws::String &&value)
ReservationPurchaseRecommendationDetail & WithMinimumNumberOfInstancesUsedPerHour(Aws::String &&value)
void SetMinimumNumberOfInstancesUsedPerHour(const Aws::String &value)
ReservationPurchaseRecommendationDetail & WithRecommendedNumberOfInstancesToPurchase(const Aws::String &value)
ReservationPurchaseRecommendationDetail & WithRecommendedNumberOfCapacityUnitsToPurchase(const Aws::String &value)
ReservationPurchaseRecommendationDetail & WithRecommendedNormalizedUnitsToPurchase(Aws::String &&value)
bool RecommendedNumberOfCapacityUnitsToPurchaseHasBeenSet() const
bool EstimatedBreakEvenInMonthsHasBeenSet() const
bool CurrencyCodeHasBeenSet() const
void SetMaximumNormalizedUnitsUsedPerHour(const char *value)
void SetRecommendedNumberOfCapacityUnitsToPurchase(Aws::String &&value)
void SetRecurringStandardMonthlyCost(const Aws::String &value)
const Aws::String & GetMaximumNumberOfCapacityUnitsUsedPerHour() const
void SetRecommendedNormalizedUnitsToPurchase(const Aws::String &value)
void SetMinimumNumberOfInstancesUsedPerHour(Aws::String &&value)
ReservationPurchaseRecommendationDetail & WithAverageNumberOfCapacityUnitsUsedPerHour(Aws::String &&value)
const Aws::String & GetEstimatedBreakEvenInMonths() const
const Aws::String & GetMaximumNumberOfInstancesUsedPerHour() const
void SetEstimatedBreakEvenInMonths(const char *value)
ReservationPurchaseRecommendationDetail & WithMaximumNumberOfInstancesUsedPerHour(const char *value)
void SetInstanceDetails(InstanceDetails &&value)
ReservationPurchaseRecommendationDetail & WithAverageNumberOfInstancesUsedPerHour(Aws::String &&value)
ReservationPurchaseRecommendationDetail & WithAverageUtilization(const Aws::String &value)
const Aws::String & GetEstimatedMonthlyOnDemandCost() const
void SetReservedCapacityDetails(ReservedCapacityDetails &&value)
ReservationPurchaseRecommendationDetail & WithEstimatedMonthlySavingsAmount(const char *value)
bool AverageNumberOfInstancesUsedPerHourHasBeenSet() const
void SetMaximumNormalizedUnitsUsedPerHour(Aws::String &&value)
const Aws::String & GetAverageUtilization() const
void SetEstimatedMonthlyOnDemandCost(const char *value)
bool RecommendedNumberOfInstancesToPurchaseHasBeenSet() const
ReservationPurchaseRecommendationDetail & WithRecurringStandardMonthlyCost(Aws::String &&value)
const Aws::String & GetRecurringStandardMonthlyCost() const
void SetCurrencyCode(const Aws::String &value)
ReservationPurchaseRecommendationDetail & WithCurrencyCode(const Aws::String &value)
void SetRecommendedNumberOfInstancesToPurchase(const char *value)
void SetEstimatedMonthlySavingsAmount(const Aws::String &value)
void SetCurrencyCode(const char *value)
ReservationPurchaseRecommendationDetail & WithRecommendedNumberOfInstancesToPurchase(Aws::String &&value)
const Aws::String & GetAverageNumberOfCapacityUnitsUsedPerHour() const
void SetAverageNumberOfInstancesUsedPerHour(Aws::String &&value)
void SetRecommendedNumberOfCapacityUnitsToPurchase(const char *value)
bool MinimumNumberOfCapacityUnitsUsedPerHourHasBeenSet() const
ReservationPurchaseRecommendationDetail & WithUpfrontCost(const char *value)
void SetReservedCapacityDetails(const ReservedCapacityDetails &value)
void SetAccountId(Aws::String &&value)
void SetRecommendedNormalizedUnitsToPurchase(Aws::String &&value)
void SetRecurringStandardMonthlyCost(Aws::String &&value)
ReservationPurchaseRecommendationDetail & WithRecommendedNormalizedUnitsToPurchase(const char *value)
void SetEstimatedBreakEvenInMonths(Aws::String &&value)
ReservationPurchaseRecommendationDetail & WithEstimatedMonthlyOnDemandCost(const Aws::String &value)
void SetRecommendedNormalizedUnitsToPurchase(const char *value)
void SetEstimatedMonthlyOnDemandCost(const Aws::String &value)
void SetMaximumNumberOfCapacityUnitsUsedPerHour(const Aws::String &value)
const Aws::String & GetEstimatedMonthlySavingsAmount() const
void SetEstimatedMonthlySavingsPercentage(Aws::String &&value)
AWS_COSTEXPLORER_API ReservationPurchaseRecommendationDetail()
const Aws::String & GetRecommendedNormalizedUnitsToPurchase() const
const Aws::String & GetRecommendedNumberOfCapacityUnitsToPurchase() const
ReservationPurchaseRecommendationDetail & WithMaximumNumberOfCapacityUnitsUsedPerHour(const char *value)
ReservationPurchaseRecommendationDetail & WithMaximumNumberOfCapacityUnitsUsedPerHour(const Aws::String &value)
void SetEstimatedMonthlySavingsAmount(Aws::String &&value)
ReservationPurchaseRecommendationDetail & WithMinimumNumberOfCapacityUnitsUsedPerHour(const char *value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMinimumNumberOfCapacityUnitsUsedPerHour() const
ReservationPurchaseRecommendationDetail & WithAccountId(Aws::String &&value)
ReservationPurchaseRecommendationDetail & WithCurrencyCode(const char *value)
ReservationPurchaseRecommendationDetail & WithRecurringStandardMonthlyCost(const char *value)
ReservationPurchaseRecommendationDetail & WithMaximumNumberOfInstancesUsedPerHour(const Aws::String &value)
ReservationPurchaseRecommendationDetail & WithEstimatedBreakEvenInMonths(const char *value)
ReservationPurchaseRecommendationDetail & WithRecommendedNumberOfCapacityUnitsToPurchase(Aws::String &&value)
ReservationPurchaseRecommendationDetail & WithAverageNormalizedUnitsUsedPerHour(const Aws::String &value)
void SetRecommendedNumberOfCapacityUnitsToPurchase(const Aws::String &value)
void SetEstimatedMonthlyOnDemandCost(Aws::String &&value)
void SetAverageNormalizedUnitsUsedPerHour(const char *value)
const Aws::String & GetAverageNumberOfInstancesUsedPerHour() const
void SetMaximumNormalizedUnitsUsedPerHour(const Aws::String &value)
bool RecommendedNormalizedUnitsToPurchaseHasBeenSet() const
const Aws::String & GetEstimatedMonthlySavingsPercentage() const
void SetEstimatedMonthlySavingsAmount(const char *value)
void SetMaximumNumberOfCapacityUnitsUsedPerHour(const char *value)
bool EstimatedMonthlyOnDemandCostHasBeenSet() const
ReservationPurchaseRecommendationDetail & WithMinimumNormalizedUnitsUsedPerHour(Aws::String &&value)
bool EstimatedMonthlySavingsPercentageHasBeenSet() const
bool EstimatedMonthlySavingsAmountHasBeenSet() const
const Aws::String & GetAverageNormalizedUnitsUsedPerHour() const
bool MaximumNormalizedUnitsUsedPerHourHasBeenSet() const
void SetMinimumNormalizedUnitsUsedPerHour(const char *value)
const Aws::String & GetUpfrontCost() const
ReservationPurchaseRecommendationDetail & WithMinimumNormalizedUnitsUsedPerHour(const char *value)
void SetMaximumNumberOfInstancesUsedPerHour(const char *value)
void SetMinimumNumberOfCapacityUnitsUsedPerHour(Aws::String &&value)
void SetEstimatedReservationCostForLookbackPeriod(Aws::String &&value)
ReservationPurchaseRecommendationDetail & WithAverageNumberOfInstancesUsedPerHour(const char *value)
ReservationPurchaseRecommendationDetail & WithAverageNumberOfInstancesUsedPerHour(const Aws::String &value)
ReservationPurchaseRecommendationDetail & WithMinimumNumberOfCapacityUnitsUsedPerHour(const Aws::String &value)
ReservationPurchaseRecommendationDetail & WithAverageUtilization(Aws::String &&value)
ReservationPurchaseRecommendationDetail & WithMinimumNormalizedUnitsUsedPerHour(const Aws::String &value)
ReservationPurchaseRecommendationDetail & WithEstimatedBreakEvenInMonths(Aws::String &&value)
bool InstanceDetailsHasBeenSet() const
void SetAverageNumberOfCapacityUnitsUsedPerHour(const Aws::String &value)
ReservationPurchaseRecommendationDetail & WithMinimumNumberOfCapacityUnitsUsedPerHour(Aws::String &&value)
ReservationPurchaseRecommendationDetail & WithMaximumNormalizedUnitsUsedPerHour(Aws::String &&value)
void SetUpfrontCost(const Aws::String &value)
void SetEstimatedReservationCostForLookbackPeriod(const Aws::String &value)
bool RecurringStandardMonthlyCostHasBeenSet() const
ReservationPurchaseRecommendationDetail & WithMaximumNumberOfCapacityUnitsUsedPerHour(Aws::String &&value)
void SetMinimumNormalizedUnitsUsedPerHour(const Aws::String &value)
void SetInstanceDetails(const InstanceDetails &value)
ReservationPurchaseRecommendationDetail & WithEstimatedMonthlySavingsPercentage(Aws::String &&value)
const Aws::String & GetMinimumNumberOfInstancesUsedPerHour() const
ReservationPurchaseRecommendationDetail & WithReservedCapacityDetails(ReservedCapacityDetails &&value)
void SetAverageUtilization(Aws::String &&value)
void SetMinimumNumberOfInstancesUsedPerHour(const char *value)
void SetMaximumNumberOfCapacityUnitsUsedPerHour(Aws::String &&value)
void SetEstimatedMonthlySavingsPercentage(const char *value)
bool MaximumNumberOfInstancesUsedPerHourHasBeenSet() const
void SetEstimatedReservationCostForLookbackPeriod(const char *value)
ReservationPurchaseRecommendationDetail & WithUpfrontCost(const Aws::String &value)
ReservationPurchaseRecommendationDetail & WithAverageNumberOfCapacityUnitsUsedPerHour(const Aws::String &value)
void SetRecommendedNumberOfInstancesToPurchase(Aws::String &&value)
const Aws::String & GetMaximumNormalizedUnitsUsedPerHour() const
ReservationPurchaseRecommendationDetail & WithEstimatedMonthlySavingsPercentage(const Aws::String &value)
void SetAccountId(const char *value)
ReservationPurchaseRecommendationDetail & WithReservedCapacityDetails(const ReservedCapacityDetails &value)
void SetAverageNumberOfInstancesUsedPerHour(const char *value)
const Aws::String & GetEstimatedReservationCostForLookbackPeriod() const
void SetRecurringStandardMonthlyCost(const char *value)
AWS_COSTEXPLORER_API ReservationPurchaseRecommendationDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAverageNormalizedUnitsUsedPerHour(Aws::String &&value)
void SetCurrencyCode(Aws::String &&value)
ReservationPurchaseRecommendationDetail & WithAccountId(const char *value)
ReservationPurchaseRecommendationDetail & WithRecurringStandardMonthlyCost(const Aws::String &value)
ReservationPurchaseRecommendationDetail & WithMaximumNormalizedUnitsUsedPerHour(const Aws::String &value)
ReservationPurchaseRecommendationDetail & WithMinimumNumberOfInstancesUsedPerHour(const Aws::String &value)
void SetMaximumNumberOfInstancesUsedPerHour(const Aws::String &value)
ReservationPurchaseRecommendationDetail & WithMinimumNumberOfInstancesUsedPerHour(const char *value)
void SetMinimumNumberOfCapacityUnitsUsedPerHour(const Aws::String &value)
const Aws::String & GetRecommendedNumberOfInstancesToPurchase() const
bool MinimumNumberOfInstancesUsedPerHourHasBeenSet() const
void SetAverageUtilization(const Aws::String &value)
ReservationPurchaseRecommendationDetail & WithMaximumNumberOfInstancesUsedPerHour(Aws::String &&value)
void SetUpfrontCost(Aws::String &&value)
const InstanceDetails & GetInstanceDetails() const
ReservationPurchaseRecommendationDetail & WithAverageUtilization(const char *value)
ReservationPurchaseRecommendationDetail & WithEstimatedMonthlySavingsAmount(Aws::String &&value)
ReservationPurchaseRecommendationDetail & WithInstanceDetails(InstanceDetails &&value)
ReservationPurchaseRecommendationDetail & WithRecommendedNormalizedUnitsToPurchase(const Aws::String &value)
bool ReservedCapacityDetailsHasBeenSet() const
const Aws::String & GetMinimumNormalizedUnitsUsedPerHour() const
ReservationPurchaseRecommendationDetail & WithEstimatedMonthlyOnDemandCost(Aws::String &&value)
ReservationPurchaseRecommendationDetail & WithEstimatedMonthlySavingsAmount(const Aws::String &value)
void SetMaximumNumberOfInstancesUsedPerHour(Aws::String &&value)
void SetAverageNormalizedUnitsUsedPerHour(const Aws::String &value)
ReservationPurchaseRecommendationDetail & WithEstimatedBreakEvenInMonths(const Aws::String &value)
bool AverageNormalizedUnitsUsedPerHourHasBeenSet() const
bool AverageNumberOfCapacityUnitsUsedPerHourHasBeenSet() const
ReservationPurchaseRecommendationDetail & WithEstimatedMonthlySavingsPercentage(const char *value)
void SetAverageNumberOfCapacityUnitsUsedPerHour(Aws::String &&value)
bool AverageUtilizationHasBeenSet() const
ReservationPurchaseRecommendationDetail & WithUpfrontCost(Aws::String &&value)
void SetRecommendedNumberOfInstancesToPurchase(const Aws::String &value)
ReservationPurchaseRecommendationDetail & WithCurrencyCode(Aws::String &&value)
ReservationPurchaseRecommendationDetail & WithAverageNumberOfCapacityUnitsUsedPerHour(const char *value)
bool UpfrontCostHasBeenSet() const
ReservationPurchaseRecommendationDetail & WithInstanceDetails(const InstanceDetails &value)
void SetEstimatedMonthlySavingsPercentage(const Aws::String &value)
ReservationPurchaseRecommendationDetail & WithEstimatedReservationCostForLookbackPeriod(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue