AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecommendationDetailData.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/AccountScope.h>
9#include <aws/ce/model/LookbackPeriodInDays.h>
10#include <aws/ce/model/SupportedSavingsPlansType.h>
11#include <aws/ce/model/TermInYears.h>
12#include <aws/ce/model/PaymentOption.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/ce/model/RecommendationDetailHourlyMetrics.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace CostExplorer
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_COSTEXPLORER_API RecommendationDetailData();
45 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
55 inline const AccountScope& GetAccountScope() const{ return m_accountScope; }
56 inline bool AccountScopeHasBeenSet() const { return m_accountScopeHasBeenSet; }
57 inline void SetAccountScope(const AccountScope& value) { m_accountScopeHasBeenSet = true; m_accountScope = value; }
58 inline void SetAccountScope(AccountScope&& value) { m_accountScopeHasBeenSet = true; m_accountScope = std::move(value); }
59 inline RecommendationDetailData& WithAccountScope(const AccountScope& value) { SetAccountScope(value); return *this;}
60 inline RecommendationDetailData& WithAccountScope(AccountScope&& value) { SetAccountScope(std::move(value)); return *this;}
62
64
68 inline const LookbackPeriodInDays& GetLookbackPeriodInDays() const{ return m_lookbackPeriodInDays; }
69 inline bool LookbackPeriodInDaysHasBeenSet() const { return m_lookbackPeriodInDaysHasBeenSet; }
70 inline void SetLookbackPeriodInDays(const LookbackPeriodInDays& value) { m_lookbackPeriodInDaysHasBeenSet = true; m_lookbackPeriodInDays = value; }
71 inline void SetLookbackPeriodInDays(LookbackPeriodInDays&& value) { m_lookbackPeriodInDaysHasBeenSet = true; m_lookbackPeriodInDays = std::move(value); }
75
77
80 inline const SupportedSavingsPlansType& GetSavingsPlansType() const{ return m_savingsPlansType; }
81 inline bool SavingsPlansTypeHasBeenSet() const { return m_savingsPlansTypeHasBeenSet; }
82 inline void SetSavingsPlansType(const SupportedSavingsPlansType& value) { m_savingsPlansTypeHasBeenSet = true; m_savingsPlansType = value; }
83 inline void SetSavingsPlansType(SupportedSavingsPlansType&& value) { m_savingsPlansTypeHasBeenSet = true; m_savingsPlansType = std::move(value); }
87
89
92 inline const TermInYears& GetTermInYears() const{ return m_termInYears; }
93 inline bool TermInYearsHasBeenSet() const { return m_termInYearsHasBeenSet; }
94 inline void SetTermInYears(const TermInYears& value) { m_termInYearsHasBeenSet = true; m_termInYears = value; }
95 inline void SetTermInYears(TermInYears&& value) { m_termInYearsHasBeenSet = true; m_termInYears = std::move(value); }
96 inline RecommendationDetailData& WithTermInYears(const TermInYears& value) { SetTermInYears(value); return *this;}
97 inline RecommendationDetailData& WithTermInYears(TermInYears&& value) { SetTermInYears(std::move(value)); return *this;}
99
101
105 inline const PaymentOption& GetPaymentOption() const{ return m_paymentOption; }
106 inline bool PaymentOptionHasBeenSet() const { return m_paymentOptionHasBeenSet; }
107 inline void SetPaymentOption(const PaymentOption& value) { m_paymentOptionHasBeenSet = true; m_paymentOption = value; }
108 inline void SetPaymentOption(PaymentOption&& value) { m_paymentOptionHasBeenSet = true; m_paymentOption = std::move(value); }
109 inline RecommendationDetailData& WithPaymentOption(const PaymentOption& value) { SetPaymentOption(value); return *this;}
110 inline RecommendationDetailData& WithPaymentOption(PaymentOption&& value) { SetPaymentOption(std::move(value)); return *this;}
112
114
117 inline const Aws::String& GetAccountId() const{ return m_accountId; }
118 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
119 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
120 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
121 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
122 inline RecommendationDetailData& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
123 inline RecommendationDetailData& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
124 inline RecommendationDetailData& WithAccountId(const char* value) { SetAccountId(value); return *this;}
126
128
132 inline const Aws::String& GetCurrencyCode() const{ return m_currencyCode; }
133 inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
134 inline void SetCurrencyCode(const Aws::String& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = value; }
135 inline void SetCurrencyCode(Aws::String&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::move(value); }
136 inline void SetCurrencyCode(const char* value) { m_currencyCodeHasBeenSet = true; m_currencyCode.assign(value); }
137 inline RecommendationDetailData& WithCurrencyCode(const Aws::String& value) { SetCurrencyCode(value); return *this;}
138 inline RecommendationDetailData& WithCurrencyCode(Aws::String&& value) { SetCurrencyCode(std::move(value)); return *this;}
139 inline RecommendationDetailData& WithCurrencyCode(const char* value) { SetCurrencyCode(value); return *this;}
141
143
146 inline const Aws::String& GetInstanceFamily() const{ return m_instanceFamily; }
147 inline bool InstanceFamilyHasBeenSet() const { return m_instanceFamilyHasBeenSet; }
148 inline void SetInstanceFamily(const Aws::String& value) { m_instanceFamilyHasBeenSet = true; m_instanceFamily = value; }
149 inline void SetInstanceFamily(Aws::String&& value) { m_instanceFamilyHasBeenSet = true; m_instanceFamily = std::move(value); }
150 inline void SetInstanceFamily(const char* value) { m_instanceFamilyHasBeenSet = true; m_instanceFamily.assign(value); }
151 inline RecommendationDetailData& WithInstanceFamily(const Aws::String& value) { SetInstanceFamily(value); return *this;}
152 inline RecommendationDetailData& WithInstanceFamily(Aws::String&& value) { SetInstanceFamily(std::move(value)); return *this;}
153 inline RecommendationDetailData& WithInstanceFamily(const char* value) { SetInstanceFamily(value); return *this;}
155
157
160 inline const Aws::String& GetRegion() const{ return m_region; }
161 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
162 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
163 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
164 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
165 inline RecommendationDetailData& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
166 inline RecommendationDetailData& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
167 inline RecommendationDetailData& WithRegion(const char* value) { SetRegion(value); return *this;}
169
171
174 inline const Aws::String& GetOfferingId() const{ return m_offeringId; }
175 inline bool OfferingIdHasBeenSet() const { return m_offeringIdHasBeenSet; }
176 inline void SetOfferingId(const Aws::String& value) { m_offeringIdHasBeenSet = true; m_offeringId = value; }
177 inline void SetOfferingId(Aws::String&& value) { m_offeringIdHasBeenSet = true; m_offeringId = std::move(value); }
178 inline void SetOfferingId(const char* value) { m_offeringIdHasBeenSet = true; m_offeringId.assign(value); }
179 inline RecommendationDetailData& WithOfferingId(const Aws::String& value) { SetOfferingId(value); return *this;}
180 inline RecommendationDetailData& WithOfferingId(Aws::String&& value) { SetOfferingId(std::move(value)); return *this;}
181 inline RecommendationDetailData& WithOfferingId(const char* value) { SetOfferingId(value); return *this;}
183
185
186 inline const Aws::String& GetGenerationTimestamp() const{ return m_generationTimestamp; }
187 inline bool GenerationTimestampHasBeenSet() const { return m_generationTimestampHasBeenSet; }
188 inline void SetGenerationTimestamp(const Aws::String& value) { m_generationTimestampHasBeenSet = true; m_generationTimestamp = value; }
189 inline void SetGenerationTimestamp(Aws::String&& value) { m_generationTimestampHasBeenSet = true; m_generationTimestamp = std::move(value); }
190 inline void SetGenerationTimestamp(const char* value) { m_generationTimestampHasBeenSet = true; m_generationTimestamp.assign(value); }
192 inline RecommendationDetailData& WithGenerationTimestamp(Aws::String&& value) { SetGenerationTimestamp(std::move(value)); return *this;}
193 inline RecommendationDetailData& WithGenerationTimestamp(const char* value) { SetGenerationTimestamp(value); return *this;}
195
197
198 inline const Aws::String& GetLatestUsageTimestamp() const{ return m_latestUsageTimestamp; }
199 inline bool LatestUsageTimestampHasBeenSet() const { return m_latestUsageTimestampHasBeenSet; }
200 inline void SetLatestUsageTimestamp(const Aws::String& value) { m_latestUsageTimestampHasBeenSet = true; m_latestUsageTimestamp = value; }
201 inline void SetLatestUsageTimestamp(Aws::String&& value) { m_latestUsageTimestampHasBeenSet = true; m_latestUsageTimestamp = std::move(value); }
202 inline void SetLatestUsageTimestamp(const char* value) { m_latestUsageTimestampHasBeenSet = true; m_latestUsageTimestamp.assign(value); }
205 inline RecommendationDetailData& WithLatestUsageTimestamp(const char* value) { SetLatestUsageTimestamp(value); return *this;}
207
209
213 inline const Aws::String& GetCurrentAverageHourlyOnDemandSpend() const{ return m_currentAverageHourlyOnDemandSpend; }
214 inline bool CurrentAverageHourlyOnDemandSpendHasBeenSet() const { return m_currentAverageHourlyOnDemandSpendHasBeenSet; }
215 inline void SetCurrentAverageHourlyOnDemandSpend(const Aws::String& value) { m_currentAverageHourlyOnDemandSpendHasBeenSet = true; m_currentAverageHourlyOnDemandSpend = value; }
216 inline void SetCurrentAverageHourlyOnDemandSpend(Aws::String&& value) { m_currentAverageHourlyOnDemandSpendHasBeenSet = true; m_currentAverageHourlyOnDemandSpend = std::move(value); }
217 inline void SetCurrentAverageHourlyOnDemandSpend(const char* value) { m_currentAverageHourlyOnDemandSpendHasBeenSet = true; m_currentAverageHourlyOnDemandSpend.assign(value); }
222
224
228 inline const Aws::String& GetCurrentMaximumHourlyOnDemandSpend() const{ return m_currentMaximumHourlyOnDemandSpend; }
229 inline bool CurrentMaximumHourlyOnDemandSpendHasBeenSet() const { return m_currentMaximumHourlyOnDemandSpendHasBeenSet; }
230 inline void SetCurrentMaximumHourlyOnDemandSpend(const Aws::String& value) { m_currentMaximumHourlyOnDemandSpendHasBeenSet = true; m_currentMaximumHourlyOnDemandSpend = value; }
231 inline void SetCurrentMaximumHourlyOnDemandSpend(Aws::String&& value) { m_currentMaximumHourlyOnDemandSpendHasBeenSet = true; m_currentMaximumHourlyOnDemandSpend = std::move(value); }
232 inline void SetCurrentMaximumHourlyOnDemandSpend(const char* value) { m_currentMaximumHourlyOnDemandSpendHasBeenSet = true; m_currentMaximumHourlyOnDemandSpend.assign(value); }
237
239
243 inline const Aws::String& GetCurrentMinimumHourlyOnDemandSpend() const{ return m_currentMinimumHourlyOnDemandSpend; }
244 inline bool CurrentMinimumHourlyOnDemandSpendHasBeenSet() const { return m_currentMinimumHourlyOnDemandSpendHasBeenSet; }
245 inline void SetCurrentMinimumHourlyOnDemandSpend(const Aws::String& value) { m_currentMinimumHourlyOnDemandSpendHasBeenSet = true; m_currentMinimumHourlyOnDemandSpend = value; }
246 inline void SetCurrentMinimumHourlyOnDemandSpend(Aws::String&& value) { m_currentMinimumHourlyOnDemandSpendHasBeenSet = true; m_currentMinimumHourlyOnDemandSpend = std::move(value); }
247 inline void SetCurrentMinimumHourlyOnDemandSpend(const char* value) { m_currentMinimumHourlyOnDemandSpendHasBeenSet = true; m_currentMinimumHourlyOnDemandSpend.assign(value); }
252
254
257 inline const Aws::String& GetEstimatedAverageUtilization() const{ return m_estimatedAverageUtilization; }
258 inline bool EstimatedAverageUtilizationHasBeenSet() const { return m_estimatedAverageUtilizationHasBeenSet; }
259 inline void SetEstimatedAverageUtilization(const Aws::String& value) { m_estimatedAverageUtilizationHasBeenSet = true; m_estimatedAverageUtilization = value; }
260 inline void SetEstimatedAverageUtilization(Aws::String&& value) { m_estimatedAverageUtilizationHasBeenSet = true; m_estimatedAverageUtilization = std::move(value); }
261 inline void SetEstimatedAverageUtilization(const char* value) { m_estimatedAverageUtilizationHasBeenSet = true; m_estimatedAverageUtilization.assign(value); }
266
268
272 inline const Aws::String& GetEstimatedMonthlySavingsAmount() const{ return m_estimatedMonthlySavingsAmount; }
273 inline bool EstimatedMonthlySavingsAmountHasBeenSet() const { return m_estimatedMonthlySavingsAmountHasBeenSet; }
274 inline void SetEstimatedMonthlySavingsAmount(const Aws::String& value) { m_estimatedMonthlySavingsAmountHasBeenSet = true; m_estimatedMonthlySavingsAmount = value; }
275 inline void SetEstimatedMonthlySavingsAmount(Aws::String&& value) { m_estimatedMonthlySavingsAmountHasBeenSet = true; m_estimatedMonthlySavingsAmount = std::move(value); }
276 inline void SetEstimatedMonthlySavingsAmount(const char* value) { m_estimatedMonthlySavingsAmountHasBeenSet = true; m_estimatedMonthlySavingsAmount.assign(value); }
281
283
287 inline const Aws::String& GetEstimatedOnDemandCost() const{ return m_estimatedOnDemandCost; }
288 inline bool EstimatedOnDemandCostHasBeenSet() const { return m_estimatedOnDemandCostHasBeenSet; }
289 inline void SetEstimatedOnDemandCost(const Aws::String& value) { m_estimatedOnDemandCostHasBeenSet = true; m_estimatedOnDemandCost = value; }
290 inline void SetEstimatedOnDemandCost(Aws::String&& value) { m_estimatedOnDemandCostHasBeenSet = true; m_estimatedOnDemandCost = std::move(value); }
291 inline void SetEstimatedOnDemandCost(const char* value) { m_estimatedOnDemandCostHasBeenSet = true; m_estimatedOnDemandCost.assign(value); }
294 inline RecommendationDetailData& WithEstimatedOnDemandCost(const char* value) { SetEstimatedOnDemandCost(value); return *this;}
296
298
302 inline const Aws::String& GetEstimatedOnDemandCostWithCurrentCommitment() const{ return m_estimatedOnDemandCostWithCurrentCommitment; }
303 inline bool EstimatedOnDemandCostWithCurrentCommitmentHasBeenSet() const { return m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet; }
304 inline void SetEstimatedOnDemandCostWithCurrentCommitment(const Aws::String& value) { m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet = true; m_estimatedOnDemandCostWithCurrentCommitment = value; }
305 inline void SetEstimatedOnDemandCostWithCurrentCommitment(Aws::String&& value) { m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet = true; m_estimatedOnDemandCostWithCurrentCommitment = std::move(value); }
306 inline void SetEstimatedOnDemandCostWithCurrentCommitment(const char* value) { m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet = true; m_estimatedOnDemandCostWithCurrentCommitment.assign(value); }
311
313
318 inline const Aws::String& GetEstimatedROI() const{ return m_estimatedROI; }
319 inline bool EstimatedROIHasBeenSet() const { return m_estimatedROIHasBeenSet; }
320 inline void SetEstimatedROI(const Aws::String& value) { m_estimatedROIHasBeenSet = true; m_estimatedROI = value; }
321 inline void SetEstimatedROI(Aws::String&& value) { m_estimatedROIHasBeenSet = true; m_estimatedROI = std::move(value); }
322 inline void SetEstimatedROI(const char* value) { m_estimatedROIHasBeenSet = true; m_estimatedROI.assign(value); }
323 inline RecommendationDetailData& WithEstimatedROI(const Aws::String& value) { SetEstimatedROI(value); return *this;}
324 inline RecommendationDetailData& WithEstimatedROI(Aws::String&& value) { SetEstimatedROI(std::move(value)); return *this;}
325 inline RecommendationDetailData& WithEstimatedROI(const char* value) { SetEstimatedROI(value); return *this;}
327
329
333 inline const Aws::String& GetEstimatedSPCost() const{ return m_estimatedSPCost; }
334 inline bool EstimatedSPCostHasBeenSet() const { return m_estimatedSPCostHasBeenSet; }
335 inline void SetEstimatedSPCost(const Aws::String& value) { m_estimatedSPCostHasBeenSet = true; m_estimatedSPCost = value; }
336 inline void SetEstimatedSPCost(Aws::String&& value) { m_estimatedSPCostHasBeenSet = true; m_estimatedSPCost = std::move(value); }
337 inline void SetEstimatedSPCost(const char* value) { m_estimatedSPCostHasBeenSet = true; m_estimatedSPCost.assign(value); }
338 inline RecommendationDetailData& WithEstimatedSPCost(const Aws::String& value) { SetEstimatedSPCost(value); return *this;}
339 inline RecommendationDetailData& WithEstimatedSPCost(Aws::String&& value) { SetEstimatedSPCost(std::move(value)); return *this;}
340 inline RecommendationDetailData& WithEstimatedSPCost(const char* value) { SetEstimatedSPCost(value); return *this;}
342
344
348 inline const Aws::String& GetEstimatedSavingsAmount() const{ return m_estimatedSavingsAmount; }
349 inline bool EstimatedSavingsAmountHasBeenSet() const { return m_estimatedSavingsAmountHasBeenSet; }
350 inline void SetEstimatedSavingsAmount(const Aws::String& value) { m_estimatedSavingsAmountHasBeenSet = true; m_estimatedSavingsAmount = value; }
351 inline void SetEstimatedSavingsAmount(Aws::String&& value) { m_estimatedSavingsAmountHasBeenSet = true; m_estimatedSavingsAmount = std::move(value); }
352 inline void SetEstimatedSavingsAmount(const char* value) { m_estimatedSavingsAmountHasBeenSet = true; m_estimatedSavingsAmount.assign(value); }
355 inline RecommendationDetailData& WithEstimatedSavingsAmount(const char* value) { SetEstimatedSavingsAmount(value); return *this;}
357
359
363 inline const Aws::String& GetEstimatedSavingsPercentage() const{ return m_estimatedSavingsPercentage; }
364 inline bool EstimatedSavingsPercentageHasBeenSet() const { return m_estimatedSavingsPercentageHasBeenSet; }
365 inline void SetEstimatedSavingsPercentage(const Aws::String& value) { m_estimatedSavingsPercentageHasBeenSet = true; m_estimatedSavingsPercentage = value; }
366 inline void SetEstimatedSavingsPercentage(Aws::String&& value) { m_estimatedSavingsPercentageHasBeenSet = true; m_estimatedSavingsPercentage = std::move(value); }
367 inline void SetEstimatedSavingsPercentage(const char* value) { m_estimatedSavingsPercentageHasBeenSet = true; m_estimatedSavingsPercentage.assign(value); }
372
374
377 inline const Aws::String& GetExistingHourlyCommitment() const{ return m_existingHourlyCommitment; }
378 inline bool ExistingHourlyCommitmentHasBeenSet() const { return m_existingHourlyCommitmentHasBeenSet; }
379 inline void SetExistingHourlyCommitment(const Aws::String& value) { m_existingHourlyCommitmentHasBeenSet = true; m_existingHourlyCommitment = value; }
380 inline void SetExistingHourlyCommitment(Aws::String&& value) { m_existingHourlyCommitmentHasBeenSet = true; m_existingHourlyCommitment = std::move(value); }
381 inline void SetExistingHourlyCommitment(const char* value) { m_existingHourlyCommitmentHasBeenSet = true; m_existingHourlyCommitment.assign(value); }
386
388
392 inline const Aws::String& GetHourlyCommitmentToPurchase() const{ return m_hourlyCommitmentToPurchase; }
393 inline bool HourlyCommitmentToPurchaseHasBeenSet() const { return m_hourlyCommitmentToPurchaseHasBeenSet; }
394 inline void SetHourlyCommitmentToPurchase(const Aws::String& value) { m_hourlyCommitmentToPurchaseHasBeenSet = true; m_hourlyCommitmentToPurchase = value; }
395 inline void SetHourlyCommitmentToPurchase(Aws::String&& value) { m_hourlyCommitmentToPurchaseHasBeenSet = true; m_hourlyCommitmentToPurchase = std::move(value); }
396 inline void SetHourlyCommitmentToPurchase(const char* value) { m_hourlyCommitmentToPurchaseHasBeenSet = true; m_hourlyCommitmentToPurchase.assign(value); }
401
403
407 inline const Aws::String& GetUpfrontCost() const{ return m_upfrontCost; }
408 inline bool UpfrontCostHasBeenSet() const { return m_upfrontCostHasBeenSet; }
409 inline void SetUpfrontCost(const Aws::String& value) { m_upfrontCostHasBeenSet = true; m_upfrontCost = value; }
410 inline void SetUpfrontCost(Aws::String&& value) { m_upfrontCostHasBeenSet = true; m_upfrontCost = std::move(value); }
411 inline void SetUpfrontCost(const char* value) { m_upfrontCostHasBeenSet = true; m_upfrontCost.assign(value); }
412 inline RecommendationDetailData& WithUpfrontCost(const Aws::String& value) { SetUpfrontCost(value); return *this;}
413 inline RecommendationDetailData& WithUpfrontCost(Aws::String&& value) { SetUpfrontCost(std::move(value)); return *this;}
414 inline RecommendationDetailData& WithUpfrontCost(const char* value) { SetUpfrontCost(value); return *this;}
416
418
421 inline const Aws::String& GetCurrentAverageCoverage() const{ return m_currentAverageCoverage; }
422 inline bool CurrentAverageCoverageHasBeenSet() const { return m_currentAverageCoverageHasBeenSet; }
423 inline void SetCurrentAverageCoverage(const Aws::String& value) { m_currentAverageCoverageHasBeenSet = true; m_currentAverageCoverage = value; }
424 inline void SetCurrentAverageCoverage(Aws::String&& value) { m_currentAverageCoverageHasBeenSet = true; m_currentAverageCoverage = std::move(value); }
425 inline void SetCurrentAverageCoverage(const char* value) { m_currentAverageCoverageHasBeenSet = true; m_currentAverageCoverage.assign(value); }
428 inline RecommendationDetailData& WithCurrentAverageCoverage(const char* value) { SetCurrentAverageCoverage(value); return *this;}
430
432
435 inline const Aws::String& GetEstimatedAverageCoverage() const{ return m_estimatedAverageCoverage; }
436 inline bool EstimatedAverageCoverageHasBeenSet() const { return m_estimatedAverageCoverageHasBeenSet; }
437 inline void SetEstimatedAverageCoverage(const Aws::String& value) { m_estimatedAverageCoverageHasBeenSet = true; m_estimatedAverageCoverage = value; }
438 inline void SetEstimatedAverageCoverage(Aws::String&& value) { m_estimatedAverageCoverageHasBeenSet = true; m_estimatedAverageCoverage = std::move(value); }
439 inline void SetEstimatedAverageCoverage(const char* value) { m_estimatedAverageCoverageHasBeenSet = true; m_estimatedAverageCoverage.assign(value); }
444
446
450 inline const Aws::Vector<RecommendationDetailHourlyMetrics>& GetMetricsOverLookbackPeriod() const{ return m_metricsOverLookbackPeriod; }
451 inline bool MetricsOverLookbackPeriodHasBeenSet() const { return m_metricsOverLookbackPeriodHasBeenSet; }
452 inline void SetMetricsOverLookbackPeriod(const Aws::Vector<RecommendationDetailHourlyMetrics>& value) { m_metricsOverLookbackPeriodHasBeenSet = true; m_metricsOverLookbackPeriod = value; }
453 inline void SetMetricsOverLookbackPeriod(Aws::Vector<RecommendationDetailHourlyMetrics>&& value) { m_metricsOverLookbackPeriodHasBeenSet = true; m_metricsOverLookbackPeriod = std::move(value); }
456 inline RecommendationDetailData& AddMetricsOverLookbackPeriod(const RecommendationDetailHourlyMetrics& value) { m_metricsOverLookbackPeriodHasBeenSet = true; m_metricsOverLookbackPeriod.push_back(value); return *this; }
457 inline RecommendationDetailData& AddMetricsOverLookbackPeriod(RecommendationDetailHourlyMetrics&& value) { m_metricsOverLookbackPeriodHasBeenSet = true; m_metricsOverLookbackPeriod.push_back(std::move(value)); return *this; }
459 private:
460
461 AccountScope m_accountScope;
462 bool m_accountScopeHasBeenSet = false;
463
464 LookbackPeriodInDays m_lookbackPeriodInDays;
465 bool m_lookbackPeriodInDaysHasBeenSet = false;
466
467 SupportedSavingsPlansType m_savingsPlansType;
468 bool m_savingsPlansTypeHasBeenSet = false;
469
470 TermInYears m_termInYears;
471 bool m_termInYearsHasBeenSet = false;
472
473 PaymentOption m_paymentOption;
474 bool m_paymentOptionHasBeenSet = false;
475
476 Aws::String m_accountId;
477 bool m_accountIdHasBeenSet = false;
478
479 Aws::String m_currencyCode;
480 bool m_currencyCodeHasBeenSet = false;
481
482 Aws::String m_instanceFamily;
483 bool m_instanceFamilyHasBeenSet = false;
484
485 Aws::String m_region;
486 bool m_regionHasBeenSet = false;
487
488 Aws::String m_offeringId;
489 bool m_offeringIdHasBeenSet = false;
490
491 Aws::String m_generationTimestamp;
492 bool m_generationTimestampHasBeenSet = false;
493
494 Aws::String m_latestUsageTimestamp;
495 bool m_latestUsageTimestampHasBeenSet = false;
496
497 Aws::String m_currentAverageHourlyOnDemandSpend;
498 bool m_currentAverageHourlyOnDemandSpendHasBeenSet = false;
499
500 Aws::String m_currentMaximumHourlyOnDemandSpend;
501 bool m_currentMaximumHourlyOnDemandSpendHasBeenSet = false;
502
503 Aws::String m_currentMinimumHourlyOnDemandSpend;
504 bool m_currentMinimumHourlyOnDemandSpendHasBeenSet = false;
505
506 Aws::String m_estimatedAverageUtilization;
507 bool m_estimatedAverageUtilizationHasBeenSet = false;
508
509 Aws::String m_estimatedMonthlySavingsAmount;
510 bool m_estimatedMonthlySavingsAmountHasBeenSet = false;
511
512 Aws::String m_estimatedOnDemandCost;
513 bool m_estimatedOnDemandCostHasBeenSet = false;
514
515 Aws::String m_estimatedOnDemandCostWithCurrentCommitment;
516 bool m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet = false;
517
518 Aws::String m_estimatedROI;
519 bool m_estimatedROIHasBeenSet = false;
520
521 Aws::String m_estimatedSPCost;
522 bool m_estimatedSPCostHasBeenSet = false;
523
524 Aws::String m_estimatedSavingsAmount;
525 bool m_estimatedSavingsAmountHasBeenSet = false;
526
527 Aws::String m_estimatedSavingsPercentage;
528 bool m_estimatedSavingsPercentageHasBeenSet = false;
529
530 Aws::String m_existingHourlyCommitment;
531 bool m_existingHourlyCommitmentHasBeenSet = false;
532
533 Aws::String m_hourlyCommitmentToPurchase;
534 bool m_hourlyCommitmentToPurchaseHasBeenSet = false;
535
536 Aws::String m_upfrontCost;
537 bool m_upfrontCostHasBeenSet = false;
538
539 Aws::String m_currentAverageCoverage;
540 bool m_currentAverageCoverageHasBeenSet = false;
541
542 Aws::String m_estimatedAverageCoverage;
543 bool m_estimatedAverageCoverageHasBeenSet = false;
544
545 Aws::Vector<RecommendationDetailHourlyMetrics> m_metricsOverLookbackPeriod;
546 bool m_metricsOverLookbackPeriodHasBeenSet = false;
547 };
548
549} // namespace Model
550} // namespace CostExplorer
551} // namespace Aws
RecommendationDetailData & WithGenerationTimestamp(const Aws::String &value)
RecommendationDetailData & WithEstimatedOnDemandCost(const Aws::String &value)
RecommendationDetailData & WithExistingHourlyCommitment(Aws::String &&value)
RecommendationDetailData & WithEstimatedAverageUtilization(Aws::String &&value)
AWS_COSTEXPLORER_API RecommendationDetailData(Aws::Utils::Json::JsonView jsonValue)
RecommendationDetailData & WithEstimatedAverageUtilization(const char *value)
RecommendationDetailData & WithSavingsPlansType(const SupportedSavingsPlansType &value)
RecommendationDetailData & WithUpfrontCost(Aws::String &&value)
RecommendationDetailData & WithEstimatedSavingsAmount(Aws::String &&value)
RecommendationDetailData & WithSavingsPlansType(SupportedSavingsPlansType &&value)
RecommendationDetailData & WithTermInYears(TermInYears &&value)
RecommendationDetailData & WithRegion(Aws::String &&value)
RecommendationDetailData & WithLookbackPeriodInDays(const LookbackPeriodInDays &value)
RecommendationDetailData & WithCurrencyCode(const Aws::String &value)
RecommendationDetailData & WithEstimatedMonthlySavingsAmount(const Aws::String &value)
RecommendationDetailData & WithEstimatedSavingsPercentage(const char *value)
RecommendationDetailData & WithLatestUsageTimestamp(const Aws::String &value)
void SetEstimatedOnDemandCostWithCurrentCommitment(const Aws::String &value)
RecommendationDetailData & WithCurrentAverageCoverage(Aws::String &&value)
RecommendationDetailData & WithEstimatedOnDemandCostWithCurrentCommitment(Aws::String &&value)
RecommendationDetailData & WithEstimatedAverageCoverage(Aws::String &&value)
void SetSavingsPlansType(SupportedSavingsPlansType &&value)
RecommendationDetailData & WithHourlyCommitmentToPurchase(Aws::String &&value)
RecommendationDetailData & WithCurrencyCode(const char *value)
RecommendationDetailData & WithEstimatedAverageCoverage(const Aws::String &value)
RecommendationDetailData & WithEstimatedOnDemandCostWithCurrentCommitment(const char *value)
RecommendationDetailData & WithEstimatedSavingsAmount(const Aws::String &value)
RecommendationDetailData & WithLatestUsageTimestamp(Aws::String &&value)
RecommendationDetailData & WithOfferingId(const Aws::String &value)
RecommendationDetailData & WithCurrentAverageHourlyOnDemandSpend(const char *value)
RecommendationDetailData & WithGenerationTimestamp(const char *value)
RecommendationDetailData & WithOfferingId(const char *value)
RecommendationDetailData & WithInstanceFamily(Aws::String &&value)
RecommendationDetailData & WithGenerationTimestamp(Aws::String &&value)
RecommendationDetailData & WithCurrentMinimumHourlyOnDemandSpend(const char *value)
RecommendationDetailData & WithExistingHourlyCommitment(const Aws::String &value)
RecommendationDetailData & WithAccountId(Aws::String &&value)
RecommendationDetailData & WithCurrentAverageCoverage(const char *value)
RecommendationDetailData & WithEstimatedSPCost(Aws::String &&value)
RecommendationDetailData & WithPaymentOption(const PaymentOption &value)
RecommendationDetailData & WithCurrentMinimumHourlyOnDemandSpend(Aws::String &&value)
RecommendationDetailData & WithRegion(const Aws::String &value)
RecommendationDetailData & WithMetricsOverLookbackPeriod(Aws::Vector< RecommendationDetailHourlyMetrics > &&value)
RecommendationDetailData & WithEstimatedROI(const char *value)
RecommendationDetailData & WithOfferingId(Aws::String &&value)
RecommendationDetailData & WithCurrencyCode(Aws::String &&value)
const Aws::Vector< RecommendationDetailHourlyMetrics > & GetMetricsOverLookbackPeriod() const
RecommendationDetailData & WithEstimatedOnDemandCost(const char *value)
RecommendationDetailData & WithEstimatedMonthlySavingsAmount(const char *value)
RecommendationDetailData & WithEstimatedAverageCoverage(const char *value)
RecommendationDetailData & WithEstimatedOnDemandCost(Aws::String &&value)
RecommendationDetailData & WithCurrentMaximumHourlyOnDemandSpend(const Aws::String &value)
RecommendationDetailData & WithEstimatedSPCost(const char *value)
RecommendationDetailData & WithCurrentAverageCoverage(const Aws::String &value)
RecommendationDetailData & WithExistingHourlyCommitment(const char *value)
RecommendationDetailData & WithEstimatedSavingsPercentage(Aws::String &&value)
RecommendationDetailData & WithRegion(const char *value)
RecommendationDetailData & WithLookbackPeriodInDays(LookbackPeriodInDays &&value)
RecommendationDetailData & WithUpfrontCost(const Aws::String &value)
RecommendationDetailData & WithCurrentMaximumHourlyOnDemandSpend(Aws::String &&value)
RecommendationDetailData & WithAccountScope(const AccountScope &value)
RecommendationDetailData & WithCurrentMaximumHourlyOnDemandSpend(const char *value)
RecommendationDetailData & WithCurrentAverageHourlyOnDemandSpend(Aws::String &&value)
RecommendationDetailData & WithEstimatedAverageUtilization(const Aws::String &value)
RecommendationDetailData & WithHourlyCommitmentToPurchase(const char *value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
RecommendationDetailData & AddMetricsOverLookbackPeriod(const RecommendationDetailHourlyMetrics &value)
RecommendationDetailData & WithLatestUsageTimestamp(const char *value)
RecommendationDetailData & WithPaymentOption(PaymentOption &&value)
void SetMetricsOverLookbackPeriod(const Aws::Vector< RecommendationDetailHourlyMetrics > &value)
RecommendationDetailData & WithTermInYears(const TermInYears &value)
void SetLookbackPeriodInDays(const LookbackPeriodInDays &value)
RecommendationDetailData & WithEstimatedROI(Aws::String &&value)
RecommendationDetailData & WithAccountId(const char *value)
RecommendationDetailData & WithMetricsOverLookbackPeriod(const Aws::Vector< RecommendationDetailHourlyMetrics > &value)
void SetSavingsPlansType(const SupportedSavingsPlansType &value)
AWS_COSTEXPLORER_API RecommendationDetailData & operator=(Aws::Utils::Json::JsonView jsonValue)
const LookbackPeriodInDays & GetLookbackPeriodInDays() const
void SetMetricsOverLookbackPeriod(Aws::Vector< RecommendationDetailHourlyMetrics > &&value)
RecommendationDetailData & WithHourlyCommitmentToPurchase(const Aws::String &value)
RecommendationDetailData & WithEstimatedSavingsPercentage(const Aws::String &value)
RecommendationDetailData & WithAccountId(const Aws::String &value)
RecommendationDetailData & WithEstimatedSavingsAmount(const char *value)
RecommendationDetailData & WithInstanceFamily(const char *value)
RecommendationDetailData & WithEstimatedROI(const Aws::String &value)
RecommendationDetailData & WithEstimatedSPCost(const Aws::String &value)
RecommendationDetailData & WithCurrentMinimumHourlyOnDemandSpend(const Aws::String &value)
RecommendationDetailData & WithCurrentAverageHourlyOnDemandSpend(const Aws::String &value)
RecommendationDetailData & WithAccountScope(AccountScope &&value)
const SupportedSavingsPlansType & GetSavingsPlansType() const
RecommendationDetailData & WithUpfrontCost(const char *value)
RecommendationDetailData & WithEstimatedMonthlySavingsAmount(Aws::String &&value)
RecommendationDetailData & WithInstanceFamily(const Aws::String &value)
RecommendationDetailData & WithEstimatedOnDemandCostWithCurrentCommitment(const Aws::String &value)
RecommendationDetailData & AddMetricsOverLookbackPeriod(RecommendationDetailHourlyMetrics &&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