7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ce/model/RecommendationDetailHourlyMetrics.h>
49 template<
typename CurrencyCodeT = Aws::String>
50 void SetCurrencyCode(CurrencyCodeT&& value) { m_currencyCodeHasBeenSet =
true; m_currencyCode = std::forward<CurrencyCodeT>(value); }
51 template<
typename CurrencyCodeT = Aws::String>
61 template<
typename LookbackPeriodInHoursT = Aws::String>
62 void SetLookbackPeriodInHours(LookbackPeriodInHoursT&& value) { m_lookbackPeriodInHoursHasBeenSet =
true; m_lookbackPeriodInHours = std::forward<LookbackPeriodInHoursT>(value); }
63 template<
typename LookbackPeriodInHoursT = Aws::String>
73 template<
typename CurrentAverageCoverageT = Aws::String>
74 void SetCurrentAverageCoverage(CurrentAverageCoverageT&& value) { m_currentAverageCoverageHasBeenSet =
true; m_currentAverageCoverage = std::forward<CurrentAverageCoverageT>(value); }
75 template<
typename CurrentAverageCoverageT = Aws::String>
85 template<
typename CurrentAverageHourlyOnDemandSpendT = Aws::String>
86 void SetCurrentAverageHourlyOnDemandSpend(CurrentAverageHourlyOnDemandSpendT&& value) { m_currentAverageHourlyOnDemandSpendHasBeenSet =
true; m_currentAverageHourlyOnDemandSpend = std::forward<CurrentAverageHourlyOnDemandSpendT>(value); }
87 template<
typename CurrentAverageHourlyOnDemandSpendT = Aws::String>
97 template<
typename CurrentMaximumHourlyOnDemandSpendT = Aws::String>
98 void SetCurrentMaximumHourlyOnDemandSpend(CurrentMaximumHourlyOnDemandSpendT&& value) { m_currentMaximumHourlyOnDemandSpendHasBeenSet =
true; m_currentMaximumHourlyOnDemandSpend = std::forward<CurrentMaximumHourlyOnDemandSpendT>(value); }
99 template<
typename CurrentMaximumHourlyOnDemandSpendT = Aws::String>
109 template<
typename CurrentMinimumHourlyOnDemandSpendT = Aws::String>
110 void SetCurrentMinimumHourlyOnDemandSpend(CurrentMinimumHourlyOnDemandSpendT&& value) { m_currentMinimumHourlyOnDemandSpendHasBeenSet =
true; m_currentMinimumHourlyOnDemandSpend = std::forward<CurrentMinimumHourlyOnDemandSpendT>(value); }
111 template<
typename CurrentMinimumHourlyOnDemandSpendT = Aws::String>
121 template<
typename CurrentOnDemandSpendT = Aws::String>
122 void SetCurrentOnDemandSpend(CurrentOnDemandSpendT&& value) { m_currentOnDemandSpendHasBeenSet =
true; m_currentOnDemandSpend = std::forward<CurrentOnDemandSpendT>(value); }
123 template<
typename CurrentOnDemandSpendT = Aws::String>
133 template<
typename ExistingHourlyCommitmentT = Aws::String>
134 void SetExistingHourlyCommitment(ExistingHourlyCommitmentT&& value) { m_existingHourlyCommitmentHasBeenSet =
true; m_existingHourlyCommitment = std::forward<ExistingHourlyCommitmentT>(value); }
135 template<
typename ExistingHourlyCommitmentT = Aws::String>
145 template<
typename HourlyCommitmentToPurchaseT = Aws::String>
146 void SetHourlyCommitmentToPurchase(HourlyCommitmentToPurchaseT&& value) { m_hourlyCommitmentToPurchaseHasBeenSet =
true; m_hourlyCommitmentToPurchase = std::forward<HourlyCommitmentToPurchaseT>(value); }
147 template<
typename HourlyCommitmentToPurchaseT = Aws::String>
157 template<
typename EstimatedAverageCoverageT = Aws::String>
158 void SetEstimatedAverageCoverage(EstimatedAverageCoverageT&& value) { m_estimatedAverageCoverageHasBeenSet =
true; m_estimatedAverageCoverage = std::forward<EstimatedAverageCoverageT>(value); }
159 template<
typename EstimatedAverageCoverageT = Aws::String>
169 template<
typename EstimatedAverageUtilizationT = Aws::String>
170 void SetEstimatedAverageUtilization(EstimatedAverageUtilizationT&& value) { m_estimatedAverageUtilizationHasBeenSet =
true; m_estimatedAverageUtilization = std::forward<EstimatedAverageUtilizationT>(value); }
171 template<
typename EstimatedAverageUtilizationT = Aws::String>
181 template<
typename EstimatedMonthlySavingsAmountT = Aws::String>
182 void SetEstimatedMonthlySavingsAmount(EstimatedMonthlySavingsAmountT&& value) { m_estimatedMonthlySavingsAmountHasBeenSet =
true; m_estimatedMonthlySavingsAmount = std::forward<EstimatedMonthlySavingsAmountT>(value); }
183 template<
typename EstimatedMonthlySavingsAmountT = Aws::String>
194 template<
typename EstimatedOnDemandCostT = Aws::String>
195 void SetEstimatedOnDemandCost(EstimatedOnDemandCostT&& value) { m_estimatedOnDemandCostHasBeenSet =
true; m_estimatedOnDemandCost = std::forward<EstimatedOnDemandCostT>(value); }
196 template<
typename EstimatedOnDemandCostT = Aws::String>
207 template<
typename EstimatedOnDemandCostWithCurrentCommitmentT = Aws::String>
208 void SetEstimatedOnDemandCostWithCurrentCommitment(EstimatedOnDemandCostWithCurrentCommitmentT&& value) { m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet =
true; m_estimatedOnDemandCostWithCurrentCommitment = std::forward<EstimatedOnDemandCostWithCurrentCommitmentT>(value); }
209 template<
typename EstimatedOnDemandCostWithCurrentCommitmentT = Aws::String>
221 template<
typename EstimatedROIT = Aws::String>
222 void SetEstimatedROI(EstimatedROIT&& value) { m_estimatedROIHasBeenSet =
true; m_estimatedROI = std::forward<EstimatedROIT>(value); }
223 template<
typename EstimatedROIT = Aws::String>
234 template<
typename EstimatedSavingsAmountT = Aws::String>
235 void SetEstimatedSavingsAmount(EstimatedSavingsAmountT&& value) { m_estimatedSavingsAmountHasBeenSet =
true; m_estimatedSavingsAmount = std::forward<EstimatedSavingsAmountT>(value); }
236 template<
typename EstimatedSavingsAmountT = Aws::String>
247 template<
typename EstimatedSavingsPercentageT = Aws::String>
248 void SetEstimatedSavingsPercentage(EstimatedSavingsPercentageT&& value) { m_estimatedSavingsPercentageHasBeenSet =
true; m_estimatedSavingsPercentage = std::forward<EstimatedSavingsPercentageT>(value); }
249 template<
typename EstimatedSavingsPercentageT = Aws::String>
260 template<
typename EstimatedCommitmentCostT = Aws::String>
261 void SetEstimatedCommitmentCost(EstimatedCommitmentCostT&& value) { m_estimatedCommitmentCostHasBeenSet =
true; m_estimatedCommitmentCost = std::forward<EstimatedCommitmentCostT>(value); }
262 template<
typename EstimatedCommitmentCostT = Aws::String>
272 template<
typename LatestUsageTimestampT = Aws::String>
273 void SetLatestUsageTimestamp(LatestUsageTimestampT&& value) { m_latestUsageTimestampHasBeenSet =
true; m_latestUsageTimestamp = std::forward<LatestUsageTimestampT>(value); }
274 template<
typename LatestUsageTimestampT = Aws::String>
285 template<
typename UpfrontCostT = Aws::String>
286 void SetUpfrontCost(UpfrontCostT&& value) { m_upfrontCostHasBeenSet =
true; m_upfrontCost = std::forward<UpfrontCostT>(value); }
287 template<
typename UpfrontCostT = Aws::String>
297 template<
typename AdditionalMetadataT = Aws::String>
298 void SetAdditionalMetadata(AdditionalMetadataT&& value) { m_additionalMetadataHasBeenSet =
true; m_additionalMetadata = std::forward<AdditionalMetadataT>(value); }
299 template<
typename AdditionalMetadataT = Aws::String>
310 template<
typename MetricsOverLookbackPeriodT = Aws::Vector<RecommendationDetailHourlyMetrics>>
311 void SetMetricsOverLookbackPeriod(MetricsOverLookbackPeriodT&& value) { m_metricsOverLookbackPeriodHasBeenSet =
true; m_metricsOverLookbackPeriod = std::forward<MetricsOverLookbackPeriodT>(value); }
312 template<
typename MetricsOverLookbackPeriodT = Aws::Vector<RecommendationDetailHourlyMetrics>>
314 template<
typename MetricsOverLookbackPeriodT = RecommendationDetailHourlyMetrics>
320 bool m_currencyCodeHasBeenSet =
false;
323 bool m_lookbackPeriodInHoursHasBeenSet =
false;
326 bool m_currentAverageCoverageHasBeenSet =
false;
329 bool m_currentAverageHourlyOnDemandSpendHasBeenSet =
false;
332 bool m_currentMaximumHourlyOnDemandSpendHasBeenSet =
false;
335 bool m_currentMinimumHourlyOnDemandSpendHasBeenSet =
false;
338 bool m_currentOnDemandSpendHasBeenSet =
false;
341 bool m_existingHourlyCommitmentHasBeenSet =
false;
344 bool m_hourlyCommitmentToPurchaseHasBeenSet =
false;
347 bool m_estimatedAverageCoverageHasBeenSet =
false;
350 bool m_estimatedAverageUtilizationHasBeenSet =
false;
353 bool m_estimatedMonthlySavingsAmountHasBeenSet =
false;
356 bool m_estimatedOnDemandCostHasBeenSet =
false;
358 Aws::String m_estimatedOnDemandCostWithCurrentCommitment;
359 bool m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet =
false;
362 bool m_estimatedROIHasBeenSet =
false;
365 bool m_estimatedSavingsAmountHasBeenSet =
false;
368 bool m_estimatedSavingsPercentageHasBeenSet =
false;
371 bool m_estimatedCommitmentCostHasBeenSet =
false;
374 bool m_latestUsageTimestampHasBeenSet =
false;
377 bool m_upfrontCostHasBeenSet =
false;
380 bool m_additionalMetadataHasBeenSet =
false;
383 bool m_metricsOverLookbackPeriodHasBeenSet =
false;
void SetMetricsOverLookbackPeriod(MetricsOverLookbackPeriodT &&value)
SavingsPlansPurchaseAnalysisDetails & WithCurrentMinimumHourlyOnDemandSpend(CurrentMinimumHourlyOnDemandSpendT &&value)
const Aws::String & GetEstimatedCommitmentCost() const
void SetCurrentAverageHourlyOnDemandSpend(CurrentAverageHourlyOnDemandSpendT &&value)
bool CurrentMaximumHourlyOnDemandSpendHasBeenSet() const
void SetEstimatedOnDemandCost(EstimatedOnDemandCostT &&value)
const Aws::String & GetExistingHourlyCommitment() const
void SetCurrentMinimumHourlyOnDemandSpend(CurrentMinimumHourlyOnDemandSpendT &&value)
AWS_COSTEXPLORER_API SavingsPlansPurchaseAnalysisDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLatestUsageTimestamp() const
const Aws::String & GetCurrentMinimumHourlyOnDemandSpend() const
void SetHourlyCommitmentToPurchase(HourlyCommitmentToPurchaseT &&value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
SavingsPlansPurchaseAnalysisDetails & WithLookbackPeriodInHours(LookbackPeriodInHoursT &&value)
const Aws::String & GetLookbackPeriodInHours() const
bool CurrentMinimumHourlyOnDemandSpendHasBeenSet() const
void SetEstimatedOnDemandCostWithCurrentCommitment(EstimatedOnDemandCostWithCurrentCommitmentT &&value)
bool CurrencyCodeHasBeenSet() const
const Aws::Vector< RecommendationDetailHourlyMetrics > & GetMetricsOverLookbackPeriod() const
void SetAdditionalMetadata(AdditionalMetadataT &&value)
bool LatestUsageTimestampHasBeenSet() const
void SetEstimatedAverageCoverage(EstimatedAverageCoverageT &&value)
void SetLookbackPeriodInHours(LookbackPeriodInHoursT &&value)
void SetEstimatedAverageUtilization(EstimatedAverageUtilizationT &&value)
const Aws::String & GetCurrentOnDemandSpend() const
SavingsPlansPurchaseAnalysisDetails & WithCurrentOnDemandSpend(CurrentOnDemandSpendT &&value)
SavingsPlansPurchaseAnalysisDetails & WithEstimatedROI(EstimatedROIT &&value)
bool EstimatedOnDemandCostWithCurrentCommitmentHasBeenSet() const
const Aws::String & GetEstimatedAverageUtilization() const
const Aws::String & GetEstimatedOnDemandCostWithCurrentCommitment() const
bool EstimatedSavingsPercentageHasBeenSet() const
void SetExistingHourlyCommitment(ExistingHourlyCommitmentT &&value)
bool EstimatedCommitmentCostHasBeenSet() const
SavingsPlansPurchaseAnalysisDetails & WithEstimatedOnDemandCostWithCurrentCommitment(EstimatedOnDemandCostWithCurrentCommitmentT &&value)
const Aws::String & GetEstimatedROI() const
void SetCurrentAverageCoverage(CurrentAverageCoverageT &&value)
bool LookbackPeriodInHoursHasBeenSet() const
SavingsPlansPurchaseAnalysisDetails & WithCurrentAverageCoverage(CurrentAverageCoverageT &&value)
SavingsPlansPurchaseAnalysisDetails & WithEstimatedMonthlySavingsAmount(EstimatedMonthlySavingsAmountT &&value)
void SetCurrentMaximumHourlyOnDemandSpend(CurrentMaximumHourlyOnDemandSpendT &&value)
bool CurrentAverageCoverageHasBeenSet() const
SavingsPlansPurchaseAnalysisDetails & WithEstimatedAverageUtilization(EstimatedAverageUtilizationT &&value)
SavingsPlansPurchaseAnalysisDetails & WithAdditionalMetadata(AdditionalMetadataT &&value)
bool EstimatedSavingsAmountHasBeenSet() const
SavingsPlansPurchaseAnalysisDetails & WithEstimatedOnDemandCost(EstimatedOnDemandCostT &&value)
void SetEstimatedSavingsAmount(EstimatedSavingsAmountT &&value)
bool EstimatedROIHasBeenSet() const
SavingsPlansPurchaseAnalysisDetails & WithUpfrontCost(UpfrontCostT &&value)
void SetEstimatedMonthlySavingsAmount(EstimatedMonthlySavingsAmountT &&value)
const Aws::String & GetEstimatedSavingsPercentage() const
const Aws::String & GetCurrencyCode() const
const Aws::String & GetCurrentMaximumHourlyOnDemandSpend() const
void SetCurrentOnDemandSpend(CurrentOnDemandSpendT &&value)
const Aws::String & GetUpfrontCost() const
bool EstimatedAverageCoverageHasBeenSet() const
SavingsPlansPurchaseAnalysisDetails & WithHourlyCommitmentToPurchase(HourlyCommitmentToPurchaseT &&value)
SavingsPlansPurchaseAnalysisDetails & WithLatestUsageTimestamp(LatestUsageTimestampT &&value)
bool EstimatedAverageUtilizationHasBeenSet() const
const Aws::String & GetEstimatedOnDemandCost() const
const Aws::String & GetEstimatedAverageCoverage() const
void SetEstimatedSavingsPercentage(EstimatedSavingsPercentageT &&value)
SavingsPlansPurchaseAnalysisDetails & WithCurrencyCode(CurrencyCodeT &&value)
void SetEstimatedCommitmentCost(EstimatedCommitmentCostT &&value)
bool AdditionalMetadataHasBeenSet() const
SavingsPlansPurchaseAnalysisDetails & WithMetricsOverLookbackPeriod(MetricsOverLookbackPeriodT &&value)
bool ExistingHourlyCommitmentHasBeenSet() const
bool CurrentAverageHourlyOnDemandSpendHasBeenSet() const
const Aws::String & GetEstimatedMonthlySavingsAmount() const
bool CurrentOnDemandSpendHasBeenSet() const
void SetEstimatedROI(EstimatedROIT &&value)
SavingsPlansPurchaseAnalysisDetails & AddMetricsOverLookbackPeriod(MetricsOverLookbackPeriodT &&value)
SavingsPlansPurchaseAnalysisDetails & WithEstimatedSavingsAmount(EstimatedSavingsAmountT &&value)
bool HourlyCommitmentToPurchaseHasBeenSet() const
bool EstimatedMonthlySavingsAmountHasBeenSet() const
const Aws::String & GetEstimatedSavingsAmount() const
void SetUpfrontCost(UpfrontCostT &&value)
void SetCurrencyCode(CurrencyCodeT &&value)
const Aws::String & GetHourlyCommitmentToPurchase() const
SavingsPlansPurchaseAnalysisDetails & WithEstimatedAverageCoverage(EstimatedAverageCoverageT &&value)
SavingsPlansPurchaseAnalysisDetails & WithCurrentAverageHourlyOnDemandSpend(CurrentAverageHourlyOnDemandSpendT &&value)
SavingsPlansPurchaseAnalysisDetails & WithEstimatedCommitmentCost(EstimatedCommitmentCostT &&value)
const Aws::String & GetCurrentAverageCoverage() const
AWS_COSTEXPLORER_API SavingsPlansPurchaseAnalysisDetails(Aws::Utils::Json::JsonView jsonValue)
bool UpfrontCostHasBeenSet() const
const Aws::String & GetCurrentAverageHourlyOnDemandSpend() const
AWS_COSTEXPLORER_API SavingsPlansPurchaseAnalysisDetails()=default
bool EstimatedOnDemandCostHasBeenSet() const
bool MetricsOverLookbackPeriodHasBeenSet() const
SavingsPlansPurchaseAnalysisDetails & WithEstimatedSavingsPercentage(EstimatedSavingsPercentageT &&value)
void SetLatestUsageTimestamp(LatestUsageTimestampT &&value)
SavingsPlansPurchaseAnalysisDetails & WithExistingHourlyCommitment(ExistingHourlyCommitmentT &&value)
const Aws::String & GetAdditionalMetadata() const
SavingsPlansPurchaseAnalysisDetails & WithCurrentMaximumHourlyOnDemandSpend(CurrentMaximumHourlyOnDemandSpendT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue