AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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/PaymentOption.h>
11#include <aws/ce/model/RecommendationDetailHourlyMetrics.h>
12#include <aws/ce/model/SupportedSavingsPlansType.h>
13#include <aws/ce/model/TermInYears.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace CostExplorer {
27namespace Model {
28
36 public:
37 AWS_COSTEXPLORER_API RecommendationDetailData() = default;
40 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
49 inline AccountScope GetAccountScope() const { return m_accountScope; }
50 inline bool AccountScopeHasBeenSet() const { return m_accountScopeHasBeenSet; }
51 inline void SetAccountScope(AccountScope value) {
52 m_accountScopeHasBeenSet = true;
53 m_accountScope = value;
54 }
56 SetAccountScope(value);
57 return *this;
58 }
60
62
66 inline LookbackPeriodInDays GetLookbackPeriodInDays() const { return m_lookbackPeriodInDays; }
67 inline bool LookbackPeriodInDaysHasBeenSet() const { return m_lookbackPeriodInDaysHasBeenSet; }
69 m_lookbackPeriodInDaysHasBeenSet = true;
70 m_lookbackPeriodInDays = value;
71 }
74 return *this;
75 }
77
79
82 inline SupportedSavingsPlansType GetSavingsPlansType() const { return m_savingsPlansType; }
83 inline bool SavingsPlansTypeHasBeenSet() const { return m_savingsPlansTypeHasBeenSet; }
85 m_savingsPlansTypeHasBeenSet = true;
86 m_savingsPlansType = value;
87 }
90 return *this;
91 }
93
95
98 inline TermInYears GetTermInYears() const { return m_termInYears; }
99 inline bool TermInYearsHasBeenSet() const { return m_termInYearsHasBeenSet; }
100 inline void SetTermInYears(TermInYears value) {
101 m_termInYearsHasBeenSet = true;
102 m_termInYears = value;
103 }
105 SetTermInYears(value);
106 return *this;
107 }
109
111
115 inline PaymentOption GetPaymentOption() const { return m_paymentOption; }
116 inline bool PaymentOptionHasBeenSet() const { return m_paymentOptionHasBeenSet; }
117 inline void SetPaymentOption(PaymentOption value) {
118 m_paymentOptionHasBeenSet = true;
119 m_paymentOption = value;
120 }
122 SetPaymentOption(value);
123 return *this;
124 }
126
128
131 inline const Aws::String& GetAccountId() const { return m_accountId; }
132 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
133 template <typename AccountIdT = Aws::String>
134 void SetAccountId(AccountIdT&& value) {
135 m_accountIdHasBeenSet = true;
136 m_accountId = std::forward<AccountIdT>(value);
137 }
138 template <typename AccountIdT = Aws::String>
140 SetAccountId(std::forward<AccountIdT>(value));
141 return *this;
142 }
144
146
150 inline const Aws::String& GetCurrencyCode() const { return m_currencyCode; }
151 inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
152 template <typename CurrencyCodeT = Aws::String>
153 void SetCurrencyCode(CurrencyCodeT&& value) {
154 m_currencyCodeHasBeenSet = true;
155 m_currencyCode = std::forward<CurrencyCodeT>(value);
156 }
157 template <typename CurrencyCodeT = Aws::String>
159 SetCurrencyCode(std::forward<CurrencyCodeT>(value));
160 return *this;
161 }
163
165
168 inline const Aws::String& GetInstanceFamily() const { return m_instanceFamily; }
169 inline bool InstanceFamilyHasBeenSet() const { return m_instanceFamilyHasBeenSet; }
170 template <typename InstanceFamilyT = Aws::String>
171 void SetInstanceFamily(InstanceFamilyT&& value) {
172 m_instanceFamilyHasBeenSet = true;
173 m_instanceFamily = std::forward<InstanceFamilyT>(value);
174 }
175 template <typename InstanceFamilyT = Aws::String>
177 SetInstanceFamily(std::forward<InstanceFamilyT>(value));
178 return *this;
179 }
181
183
186 inline const Aws::String& GetRegion() const { return m_region; }
187 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
188 template <typename RegionT = Aws::String>
189 void SetRegion(RegionT&& value) {
190 m_regionHasBeenSet = true;
191 m_region = std::forward<RegionT>(value);
192 }
193 template <typename RegionT = Aws::String>
195 SetRegion(std::forward<RegionT>(value));
196 return *this;
197 }
199
201
204 inline const Aws::String& GetOfferingId() const { return m_offeringId; }
205 inline bool OfferingIdHasBeenSet() const { return m_offeringIdHasBeenSet; }
206 template <typename OfferingIdT = Aws::String>
207 void SetOfferingId(OfferingIdT&& value) {
208 m_offeringIdHasBeenSet = true;
209 m_offeringId = std::forward<OfferingIdT>(value);
210 }
211 template <typename OfferingIdT = Aws::String>
213 SetOfferingId(std::forward<OfferingIdT>(value));
214 return *this;
215 }
217
219
220 inline const Aws::String& GetGenerationTimestamp() const { return m_generationTimestamp; }
221 inline bool GenerationTimestampHasBeenSet() const { return m_generationTimestampHasBeenSet; }
222 template <typename GenerationTimestampT = Aws::String>
223 void SetGenerationTimestamp(GenerationTimestampT&& value) {
224 m_generationTimestampHasBeenSet = true;
225 m_generationTimestamp = std::forward<GenerationTimestampT>(value);
226 }
227 template <typename GenerationTimestampT = Aws::String>
228 RecommendationDetailData& WithGenerationTimestamp(GenerationTimestampT&& value) {
229 SetGenerationTimestamp(std::forward<GenerationTimestampT>(value));
230 return *this;
231 }
233
235
236 inline const Aws::String& GetLatestUsageTimestamp() const { return m_latestUsageTimestamp; }
237 inline bool LatestUsageTimestampHasBeenSet() const { return m_latestUsageTimestampHasBeenSet; }
238 template <typename LatestUsageTimestampT = Aws::String>
239 void SetLatestUsageTimestamp(LatestUsageTimestampT&& value) {
240 m_latestUsageTimestampHasBeenSet = true;
241 m_latestUsageTimestamp = std::forward<LatestUsageTimestampT>(value);
242 }
243 template <typename LatestUsageTimestampT = Aws::String>
244 RecommendationDetailData& WithLatestUsageTimestamp(LatestUsageTimestampT&& value) {
245 SetLatestUsageTimestamp(std::forward<LatestUsageTimestampT>(value));
246 return *this;
247 }
249
251
255 inline const Aws::String& GetCurrentAverageHourlyOnDemandSpend() const { return m_currentAverageHourlyOnDemandSpend; }
256 inline bool CurrentAverageHourlyOnDemandSpendHasBeenSet() const { return m_currentAverageHourlyOnDemandSpendHasBeenSet; }
257 template <typename CurrentAverageHourlyOnDemandSpendT = Aws::String>
258 void SetCurrentAverageHourlyOnDemandSpend(CurrentAverageHourlyOnDemandSpendT&& value) {
259 m_currentAverageHourlyOnDemandSpendHasBeenSet = true;
260 m_currentAverageHourlyOnDemandSpend = std::forward<CurrentAverageHourlyOnDemandSpendT>(value);
261 }
262 template <typename CurrentAverageHourlyOnDemandSpendT = Aws::String>
263 RecommendationDetailData& WithCurrentAverageHourlyOnDemandSpend(CurrentAverageHourlyOnDemandSpendT&& value) {
264 SetCurrentAverageHourlyOnDemandSpend(std::forward<CurrentAverageHourlyOnDemandSpendT>(value));
265 return *this;
266 }
268
270
274 inline const Aws::String& GetCurrentMaximumHourlyOnDemandSpend() const { return m_currentMaximumHourlyOnDemandSpend; }
275 inline bool CurrentMaximumHourlyOnDemandSpendHasBeenSet() const { return m_currentMaximumHourlyOnDemandSpendHasBeenSet; }
276 template <typename CurrentMaximumHourlyOnDemandSpendT = Aws::String>
277 void SetCurrentMaximumHourlyOnDemandSpend(CurrentMaximumHourlyOnDemandSpendT&& value) {
278 m_currentMaximumHourlyOnDemandSpendHasBeenSet = true;
279 m_currentMaximumHourlyOnDemandSpend = std::forward<CurrentMaximumHourlyOnDemandSpendT>(value);
280 }
281 template <typename CurrentMaximumHourlyOnDemandSpendT = Aws::String>
282 RecommendationDetailData& WithCurrentMaximumHourlyOnDemandSpend(CurrentMaximumHourlyOnDemandSpendT&& value) {
283 SetCurrentMaximumHourlyOnDemandSpend(std::forward<CurrentMaximumHourlyOnDemandSpendT>(value));
284 return *this;
285 }
287
289
293 inline const Aws::String& GetCurrentMinimumHourlyOnDemandSpend() const { return m_currentMinimumHourlyOnDemandSpend; }
294 inline bool CurrentMinimumHourlyOnDemandSpendHasBeenSet() const { return m_currentMinimumHourlyOnDemandSpendHasBeenSet; }
295 template <typename CurrentMinimumHourlyOnDemandSpendT = Aws::String>
296 void SetCurrentMinimumHourlyOnDemandSpend(CurrentMinimumHourlyOnDemandSpendT&& value) {
297 m_currentMinimumHourlyOnDemandSpendHasBeenSet = true;
298 m_currentMinimumHourlyOnDemandSpend = std::forward<CurrentMinimumHourlyOnDemandSpendT>(value);
299 }
300 template <typename CurrentMinimumHourlyOnDemandSpendT = Aws::String>
301 RecommendationDetailData& WithCurrentMinimumHourlyOnDemandSpend(CurrentMinimumHourlyOnDemandSpendT&& value) {
302 SetCurrentMinimumHourlyOnDemandSpend(std::forward<CurrentMinimumHourlyOnDemandSpendT>(value));
303 return *this;
304 }
306
308
311 inline const Aws::String& GetEstimatedAverageUtilization() const { return m_estimatedAverageUtilization; }
312 inline bool EstimatedAverageUtilizationHasBeenSet() const { return m_estimatedAverageUtilizationHasBeenSet; }
313 template <typename EstimatedAverageUtilizationT = Aws::String>
314 void SetEstimatedAverageUtilization(EstimatedAverageUtilizationT&& value) {
315 m_estimatedAverageUtilizationHasBeenSet = true;
316 m_estimatedAverageUtilization = std::forward<EstimatedAverageUtilizationT>(value);
317 }
318 template <typename EstimatedAverageUtilizationT = Aws::String>
319 RecommendationDetailData& WithEstimatedAverageUtilization(EstimatedAverageUtilizationT&& value) {
320 SetEstimatedAverageUtilization(std::forward<EstimatedAverageUtilizationT>(value));
321 return *this;
322 }
324
326
330 inline const Aws::String& GetEstimatedMonthlySavingsAmount() const { return m_estimatedMonthlySavingsAmount; }
331 inline bool EstimatedMonthlySavingsAmountHasBeenSet() const { return m_estimatedMonthlySavingsAmountHasBeenSet; }
332 template <typename EstimatedMonthlySavingsAmountT = Aws::String>
333 void SetEstimatedMonthlySavingsAmount(EstimatedMonthlySavingsAmountT&& value) {
334 m_estimatedMonthlySavingsAmountHasBeenSet = true;
335 m_estimatedMonthlySavingsAmount = std::forward<EstimatedMonthlySavingsAmountT>(value);
336 }
337 template <typename EstimatedMonthlySavingsAmountT = Aws::String>
338 RecommendationDetailData& WithEstimatedMonthlySavingsAmount(EstimatedMonthlySavingsAmountT&& value) {
339 SetEstimatedMonthlySavingsAmount(std::forward<EstimatedMonthlySavingsAmountT>(value));
340 return *this;
341 }
343
345
349 inline const Aws::String& GetEstimatedOnDemandCost() const { return m_estimatedOnDemandCost; }
350 inline bool EstimatedOnDemandCostHasBeenSet() const { return m_estimatedOnDemandCostHasBeenSet; }
351 template <typename EstimatedOnDemandCostT = Aws::String>
352 void SetEstimatedOnDemandCost(EstimatedOnDemandCostT&& value) {
353 m_estimatedOnDemandCostHasBeenSet = true;
354 m_estimatedOnDemandCost = std::forward<EstimatedOnDemandCostT>(value);
355 }
356 template <typename EstimatedOnDemandCostT = Aws::String>
357 RecommendationDetailData& WithEstimatedOnDemandCost(EstimatedOnDemandCostT&& value) {
358 SetEstimatedOnDemandCost(std::forward<EstimatedOnDemandCostT>(value));
359 return *this;
360 }
362
364
368 inline const Aws::String& GetEstimatedOnDemandCostWithCurrentCommitment() const { return m_estimatedOnDemandCostWithCurrentCommitment; }
370 return m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet;
371 }
372 template <typename EstimatedOnDemandCostWithCurrentCommitmentT = Aws::String>
373 void SetEstimatedOnDemandCostWithCurrentCommitment(EstimatedOnDemandCostWithCurrentCommitmentT&& value) {
374 m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet = true;
375 m_estimatedOnDemandCostWithCurrentCommitment = std::forward<EstimatedOnDemandCostWithCurrentCommitmentT>(value);
376 }
377 template <typename EstimatedOnDemandCostWithCurrentCommitmentT = Aws::String>
378 RecommendationDetailData& WithEstimatedOnDemandCostWithCurrentCommitment(EstimatedOnDemandCostWithCurrentCommitmentT&& value) {
379 SetEstimatedOnDemandCostWithCurrentCommitment(std::forward<EstimatedOnDemandCostWithCurrentCommitmentT>(value));
380 return *this;
381 }
383
385
390 inline const Aws::String& GetEstimatedROI() const { return m_estimatedROI; }
391 inline bool EstimatedROIHasBeenSet() const { return m_estimatedROIHasBeenSet; }
392 template <typename EstimatedROIT = Aws::String>
393 void SetEstimatedROI(EstimatedROIT&& value) {
394 m_estimatedROIHasBeenSet = true;
395 m_estimatedROI = std::forward<EstimatedROIT>(value);
396 }
397 template <typename EstimatedROIT = Aws::String>
399 SetEstimatedROI(std::forward<EstimatedROIT>(value));
400 return *this;
401 }
403
405
409 inline const Aws::String& GetEstimatedSPCost() const { return m_estimatedSPCost; }
410 inline bool EstimatedSPCostHasBeenSet() const { return m_estimatedSPCostHasBeenSet; }
411 template <typename EstimatedSPCostT = Aws::String>
412 void SetEstimatedSPCost(EstimatedSPCostT&& value) {
413 m_estimatedSPCostHasBeenSet = true;
414 m_estimatedSPCost = std::forward<EstimatedSPCostT>(value);
415 }
416 template <typename EstimatedSPCostT = Aws::String>
418 SetEstimatedSPCost(std::forward<EstimatedSPCostT>(value));
419 return *this;
420 }
422
424
428 inline const Aws::String& GetEstimatedSavingsAmount() const { return m_estimatedSavingsAmount; }
429 inline bool EstimatedSavingsAmountHasBeenSet() const { return m_estimatedSavingsAmountHasBeenSet; }
430 template <typename EstimatedSavingsAmountT = Aws::String>
431 void SetEstimatedSavingsAmount(EstimatedSavingsAmountT&& value) {
432 m_estimatedSavingsAmountHasBeenSet = true;
433 m_estimatedSavingsAmount = std::forward<EstimatedSavingsAmountT>(value);
434 }
435 template <typename EstimatedSavingsAmountT = Aws::String>
436 RecommendationDetailData& WithEstimatedSavingsAmount(EstimatedSavingsAmountT&& value) {
437 SetEstimatedSavingsAmount(std::forward<EstimatedSavingsAmountT>(value));
438 return *this;
439 }
441
443
447 inline const Aws::String& GetEstimatedSavingsPercentage() const { return m_estimatedSavingsPercentage; }
448 inline bool EstimatedSavingsPercentageHasBeenSet() const { return m_estimatedSavingsPercentageHasBeenSet; }
449 template <typename EstimatedSavingsPercentageT = Aws::String>
450 void SetEstimatedSavingsPercentage(EstimatedSavingsPercentageT&& value) {
451 m_estimatedSavingsPercentageHasBeenSet = true;
452 m_estimatedSavingsPercentage = std::forward<EstimatedSavingsPercentageT>(value);
453 }
454 template <typename EstimatedSavingsPercentageT = Aws::String>
455 RecommendationDetailData& WithEstimatedSavingsPercentage(EstimatedSavingsPercentageT&& value) {
456 SetEstimatedSavingsPercentage(std::forward<EstimatedSavingsPercentageT>(value));
457 return *this;
458 }
460
462
465 inline const Aws::String& GetExistingHourlyCommitment() const { return m_existingHourlyCommitment; }
466 inline bool ExistingHourlyCommitmentHasBeenSet() const { return m_existingHourlyCommitmentHasBeenSet; }
467 template <typename ExistingHourlyCommitmentT = Aws::String>
468 void SetExistingHourlyCommitment(ExistingHourlyCommitmentT&& value) {
469 m_existingHourlyCommitmentHasBeenSet = true;
470 m_existingHourlyCommitment = std::forward<ExistingHourlyCommitmentT>(value);
471 }
472 template <typename ExistingHourlyCommitmentT = Aws::String>
473 RecommendationDetailData& WithExistingHourlyCommitment(ExistingHourlyCommitmentT&& value) {
474 SetExistingHourlyCommitment(std::forward<ExistingHourlyCommitmentT>(value));
475 return *this;
476 }
478
480
484 inline const Aws::String& GetHourlyCommitmentToPurchase() const { return m_hourlyCommitmentToPurchase; }
485 inline bool HourlyCommitmentToPurchaseHasBeenSet() const { return m_hourlyCommitmentToPurchaseHasBeenSet; }
486 template <typename HourlyCommitmentToPurchaseT = Aws::String>
487 void SetHourlyCommitmentToPurchase(HourlyCommitmentToPurchaseT&& value) {
488 m_hourlyCommitmentToPurchaseHasBeenSet = true;
489 m_hourlyCommitmentToPurchase = std::forward<HourlyCommitmentToPurchaseT>(value);
490 }
491 template <typename HourlyCommitmentToPurchaseT = Aws::String>
492 RecommendationDetailData& WithHourlyCommitmentToPurchase(HourlyCommitmentToPurchaseT&& value) {
493 SetHourlyCommitmentToPurchase(std::forward<HourlyCommitmentToPurchaseT>(value));
494 return *this;
495 }
497
499
503 inline const Aws::String& GetUpfrontCost() const { return m_upfrontCost; }
504 inline bool UpfrontCostHasBeenSet() const { return m_upfrontCostHasBeenSet; }
505 template <typename UpfrontCostT = Aws::String>
506 void SetUpfrontCost(UpfrontCostT&& value) {
507 m_upfrontCostHasBeenSet = true;
508 m_upfrontCost = std::forward<UpfrontCostT>(value);
509 }
510 template <typename UpfrontCostT = Aws::String>
512 SetUpfrontCost(std::forward<UpfrontCostT>(value));
513 return *this;
514 }
516
518
521 inline const Aws::String& GetCurrentAverageCoverage() const { return m_currentAverageCoverage; }
522 inline bool CurrentAverageCoverageHasBeenSet() const { return m_currentAverageCoverageHasBeenSet; }
523 template <typename CurrentAverageCoverageT = Aws::String>
524 void SetCurrentAverageCoverage(CurrentAverageCoverageT&& value) {
525 m_currentAverageCoverageHasBeenSet = true;
526 m_currentAverageCoverage = std::forward<CurrentAverageCoverageT>(value);
527 }
528 template <typename CurrentAverageCoverageT = Aws::String>
529 RecommendationDetailData& WithCurrentAverageCoverage(CurrentAverageCoverageT&& value) {
530 SetCurrentAverageCoverage(std::forward<CurrentAverageCoverageT>(value));
531 return *this;
532 }
534
536
539 inline const Aws::String& GetEstimatedAverageCoverage() const { return m_estimatedAverageCoverage; }
540 inline bool EstimatedAverageCoverageHasBeenSet() const { return m_estimatedAverageCoverageHasBeenSet; }
541 template <typename EstimatedAverageCoverageT = Aws::String>
542 void SetEstimatedAverageCoverage(EstimatedAverageCoverageT&& value) {
543 m_estimatedAverageCoverageHasBeenSet = true;
544 m_estimatedAverageCoverage = std::forward<EstimatedAverageCoverageT>(value);
545 }
546 template <typename EstimatedAverageCoverageT = Aws::String>
547 RecommendationDetailData& WithEstimatedAverageCoverage(EstimatedAverageCoverageT&& value) {
548 SetEstimatedAverageCoverage(std::forward<EstimatedAverageCoverageT>(value));
549 return *this;
550 }
552
554
558 inline const Aws::Vector<RecommendationDetailHourlyMetrics>& GetMetricsOverLookbackPeriod() const { return m_metricsOverLookbackPeriod; }
559 inline bool MetricsOverLookbackPeriodHasBeenSet() const { return m_metricsOverLookbackPeriodHasBeenSet; }
560 template <typename MetricsOverLookbackPeriodT = Aws::Vector<RecommendationDetailHourlyMetrics>>
561 void SetMetricsOverLookbackPeriod(MetricsOverLookbackPeriodT&& value) {
562 m_metricsOverLookbackPeriodHasBeenSet = true;
563 m_metricsOverLookbackPeriod = std::forward<MetricsOverLookbackPeriodT>(value);
564 }
565 template <typename MetricsOverLookbackPeriodT = Aws::Vector<RecommendationDetailHourlyMetrics>>
566 RecommendationDetailData& WithMetricsOverLookbackPeriod(MetricsOverLookbackPeriodT&& value) {
567 SetMetricsOverLookbackPeriod(std::forward<MetricsOverLookbackPeriodT>(value));
568 return *this;
569 }
570 template <typename MetricsOverLookbackPeriodT = RecommendationDetailHourlyMetrics>
571 RecommendationDetailData& AddMetricsOverLookbackPeriod(MetricsOverLookbackPeriodT&& value) {
572 m_metricsOverLookbackPeriodHasBeenSet = true;
573 m_metricsOverLookbackPeriod.emplace_back(std::forward<MetricsOverLookbackPeriodT>(value));
574 return *this;
575 }
577 private:
578 AccountScope m_accountScope{AccountScope::NOT_SET};
579
581
583
584 TermInYears m_termInYears{TermInYears::NOT_SET};
585
586 PaymentOption m_paymentOption{PaymentOption::NOT_SET};
587
588 Aws::String m_accountId;
589
590 Aws::String m_currencyCode;
591
592 Aws::String m_instanceFamily;
593
594 Aws::String m_region;
595
596 Aws::String m_offeringId;
597
598 Aws::String m_generationTimestamp;
599
600 Aws::String m_latestUsageTimestamp;
601
602 Aws::String m_currentAverageHourlyOnDemandSpend;
603
604 Aws::String m_currentMaximumHourlyOnDemandSpend;
605
606 Aws::String m_currentMinimumHourlyOnDemandSpend;
607
608 Aws::String m_estimatedAverageUtilization;
609
610 Aws::String m_estimatedMonthlySavingsAmount;
611
612 Aws::String m_estimatedOnDemandCost;
613
614 Aws::String m_estimatedOnDemandCostWithCurrentCommitment;
615
616 Aws::String m_estimatedROI;
617
618 Aws::String m_estimatedSPCost;
619
620 Aws::String m_estimatedSavingsAmount;
621
622 Aws::String m_estimatedSavingsPercentage;
623
624 Aws::String m_existingHourlyCommitment;
625
626 Aws::String m_hourlyCommitmentToPurchase;
627
628 Aws::String m_upfrontCost;
629
630 Aws::String m_currentAverageCoverage;
631
632 Aws::String m_estimatedAverageCoverage;
633
634 Aws::Vector<RecommendationDetailHourlyMetrics> m_metricsOverLookbackPeriod;
635 bool m_accountScopeHasBeenSet = false;
636 bool m_lookbackPeriodInDaysHasBeenSet = false;
637 bool m_savingsPlansTypeHasBeenSet = false;
638 bool m_termInYearsHasBeenSet = false;
639 bool m_paymentOptionHasBeenSet = false;
640 bool m_accountIdHasBeenSet = false;
641 bool m_currencyCodeHasBeenSet = false;
642 bool m_instanceFamilyHasBeenSet = false;
643 bool m_regionHasBeenSet = false;
644 bool m_offeringIdHasBeenSet = false;
645 bool m_generationTimestampHasBeenSet = false;
646 bool m_latestUsageTimestampHasBeenSet = false;
647 bool m_currentAverageHourlyOnDemandSpendHasBeenSet = false;
648 bool m_currentMaximumHourlyOnDemandSpendHasBeenSet = false;
649 bool m_currentMinimumHourlyOnDemandSpendHasBeenSet = false;
650 bool m_estimatedAverageUtilizationHasBeenSet = false;
651 bool m_estimatedMonthlySavingsAmountHasBeenSet = false;
652 bool m_estimatedOnDemandCostHasBeenSet = false;
653 bool m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet = false;
654 bool m_estimatedROIHasBeenSet = false;
655 bool m_estimatedSPCostHasBeenSet = false;
656 bool m_estimatedSavingsAmountHasBeenSet = false;
657 bool m_estimatedSavingsPercentageHasBeenSet = false;
658 bool m_existingHourlyCommitmentHasBeenSet = false;
659 bool m_hourlyCommitmentToPurchaseHasBeenSet = false;
660 bool m_upfrontCostHasBeenSet = false;
661 bool m_currentAverageCoverageHasBeenSet = false;
662 bool m_estimatedAverageCoverageHasBeenSet = false;
663 bool m_metricsOverLookbackPeriodHasBeenSet = false;
664};
665
666} // namespace Model
667} // namespace CostExplorer
668} // namespace Aws
void SetSavingsPlansType(SupportedSavingsPlansType value)
void SetEstimatedOnDemandCostWithCurrentCommitment(EstimatedOnDemandCostWithCurrentCommitmentT &&value)
AWS_COSTEXPLORER_API RecommendationDetailData(Aws::Utils::Json::JsonView jsonValue)
void SetLatestUsageTimestamp(LatestUsageTimestampT &&value)
void SetHourlyCommitmentToPurchase(HourlyCommitmentToPurchaseT &&value)
AWS_COSTEXPLORER_API RecommendationDetailData()=default
RecommendationDetailData & WithEstimatedSPCost(EstimatedSPCostT &&value)
RecommendationDetailData & WithCurrentMinimumHourlyOnDemandSpend(CurrentMinimumHourlyOnDemandSpendT &&value)
RecommendationDetailData & WithGenerationTimestamp(GenerationTimestampT &&value)
void SetEstimatedMonthlySavingsAmount(EstimatedMonthlySavingsAmountT &&value)
RecommendationDetailData & WithCurrentMaximumHourlyOnDemandSpend(CurrentMaximumHourlyOnDemandSpendT &&value)
RecommendationDetailData & WithUpfrontCost(UpfrontCostT &&value)
RecommendationDetailData & WithEstimatedSavingsPercentage(EstimatedSavingsPercentageT &&value)
RecommendationDetailData & WithEstimatedAverageUtilization(EstimatedAverageUtilizationT &&value)
void SetEstimatedAverageUtilization(EstimatedAverageUtilizationT &&value)
RecommendationDetailData & WithPaymentOption(PaymentOption value)
RecommendationDetailData & WithEstimatedSavingsAmount(EstimatedSavingsAmountT &&value)
RecommendationDetailData & WithInstanceFamily(InstanceFamilyT &&value)
RecommendationDetailData & WithEstimatedOnDemandCostWithCurrentCommitment(EstimatedOnDemandCostWithCurrentCommitmentT &&value)
RecommendationDetailData & AddMetricsOverLookbackPeriod(MetricsOverLookbackPeriodT &&value)
RecommendationDetailData & WithRegion(RegionT &&value)
const Aws::Vector< RecommendationDetailHourlyMetrics > & GetMetricsOverLookbackPeriod() const
RecommendationDetailData & WithAccountId(AccountIdT &&value)
void SetEstimatedSavingsPercentage(EstimatedSavingsPercentageT &&value)
RecommendationDetailData & WithEstimatedMonthlySavingsAmount(EstimatedMonthlySavingsAmountT &&value)
RecommendationDetailData & WithLatestUsageTimestamp(LatestUsageTimestampT &&value)
void SetMetricsOverLookbackPeriod(MetricsOverLookbackPeriodT &&value)
void SetEstimatedOnDemandCost(EstimatedOnDemandCostT &&value)
void SetCurrentMaximumHourlyOnDemandSpend(CurrentMaximumHourlyOnDemandSpendT &&value)
RecommendationDetailData & WithTermInYears(TermInYears value)
RecommendationDetailData & WithCurrentAverageHourlyOnDemandSpend(CurrentAverageHourlyOnDemandSpendT &&value)
void SetEstimatedAverageCoverage(EstimatedAverageCoverageT &&value)
void SetEstimatedSavingsAmount(EstimatedSavingsAmountT &&value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
RecommendationDetailData & WithCurrencyCode(CurrencyCodeT &&value)
RecommendationDetailData & WithHourlyCommitmentToPurchase(HourlyCommitmentToPurchaseT &&value)
void SetCurrentAverageHourlyOnDemandSpend(CurrentAverageHourlyOnDemandSpendT &&value)
RecommendationDetailData & WithExistingHourlyCommitment(ExistingHourlyCommitmentT &&value)
RecommendationDetailData & WithOfferingId(OfferingIdT &&value)
void SetCurrentMinimumHourlyOnDemandSpend(CurrentMinimumHourlyOnDemandSpendT &&value)
RecommendationDetailData & WithLookbackPeriodInDays(LookbackPeriodInDays value)
void SetCurrentAverageCoverage(CurrentAverageCoverageT &&value)
AWS_COSTEXPLORER_API RecommendationDetailData & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommendationDetailData & WithAccountScope(AccountScope value)
RecommendationDetailData & WithEstimatedROI(EstimatedROIT &&value)
RecommendationDetailData & WithSavingsPlansType(SupportedSavingsPlansType value)
void SetExistingHourlyCommitment(ExistingHourlyCommitmentT &&value)
RecommendationDetailData & WithEstimatedAverageCoverage(EstimatedAverageCoverageT &&value)
RecommendationDetailData & WithEstimatedOnDemandCost(EstimatedOnDemandCostT &&value)
RecommendationDetailData & WithCurrentAverageCoverage(CurrentAverageCoverageT &&value)
RecommendationDetailData & WithMetricsOverLookbackPeriod(MetricsOverLookbackPeriodT &&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