AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
SavingsPlansPurchaseRecommendationSummary.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CostExplorer
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_COSTEXPLORER_API SavingsPlansPurchaseRecommendationSummary() = default;
38 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetEstimatedROI() const { return m_estimatedROI; }
47 inline bool EstimatedROIHasBeenSet() const { return m_estimatedROIHasBeenSet; }
48 template<typename EstimatedROIT = Aws::String>
49 void SetEstimatedROI(EstimatedROIT&& value) { m_estimatedROIHasBeenSet = true; m_estimatedROI = std::forward<EstimatedROIT>(value); }
50 template<typename EstimatedROIT = Aws::String>
51 SavingsPlansPurchaseRecommendationSummary& WithEstimatedROI(EstimatedROIT&& value) { SetEstimatedROI(std::forward<EstimatedROIT>(value)); return *this;}
53
55
59 inline const Aws::String& GetCurrencyCode() const { return m_currencyCode; }
60 inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
61 template<typename CurrencyCodeT = Aws::String>
62 void SetCurrencyCode(CurrencyCodeT&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::forward<CurrencyCodeT>(value); }
63 template<typename CurrencyCodeT = Aws::String>
64 SavingsPlansPurchaseRecommendationSummary& WithCurrencyCode(CurrencyCodeT&& value) { SetCurrencyCode(std::forward<CurrencyCodeT>(value)); return *this;}
66
68
73 inline const Aws::String& GetEstimatedTotalCost() const { return m_estimatedTotalCost; }
74 inline bool EstimatedTotalCostHasBeenSet() const { return m_estimatedTotalCostHasBeenSet; }
75 template<typename EstimatedTotalCostT = Aws::String>
76 void SetEstimatedTotalCost(EstimatedTotalCostT&& value) { m_estimatedTotalCostHasBeenSet = true; m_estimatedTotalCost = std::forward<EstimatedTotalCostT>(value); }
77 template<typename EstimatedTotalCostT = Aws::String>
78 SavingsPlansPurchaseRecommendationSummary& WithEstimatedTotalCost(EstimatedTotalCostT&& value) { SetEstimatedTotalCost(std::forward<EstimatedTotalCostT>(value)); return *this;}
80
82
86 inline const Aws::String& GetCurrentOnDemandSpend() const { return m_currentOnDemandSpend; }
87 inline bool CurrentOnDemandSpendHasBeenSet() const { return m_currentOnDemandSpendHasBeenSet; }
88 template<typename CurrentOnDemandSpendT = Aws::String>
89 void SetCurrentOnDemandSpend(CurrentOnDemandSpendT&& value) { m_currentOnDemandSpendHasBeenSet = true; m_currentOnDemandSpend = std::forward<CurrentOnDemandSpendT>(value); }
90 template<typename CurrentOnDemandSpendT = Aws::String>
91 SavingsPlansPurchaseRecommendationSummary& WithCurrentOnDemandSpend(CurrentOnDemandSpendT&& value) { SetCurrentOnDemandSpend(std::forward<CurrentOnDemandSpendT>(value)); return *this;}
93
95
99 inline const Aws::String& GetEstimatedSavingsAmount() const { return m_estimatedSavingsAmount; }
100 inline bool EstimatedSavingsAmountHasBeenSet() const { return m_estimatedSavingsAmountHasBeenSet; }
101 template<typename EstimatedSavingsAmountT = Aws::String>
102 void SetEstimatedSavingsAmount(EstimatedSavingsAmountT&& value) { m_estimatedSavingsAmountHasBeenSet = true; m_estimatedSavingsAmount = std::forward<EstimatedSavingsAmountT>(value); }
103 template<typename EstimatedSavingsAmountT = Aws::String>
104 SavingsPlansPurchaseRecommendationSummary& WithEstimatedSavingsAmount(EstimatedSavingsAmountT&& value) { SetEstimatedSavingsAmount(std::forward<EstimatedSavingsAmountT>(value)); return *this;}
106
108
112 inline const Aws::String& GetTotalRecommendationCount() const { return m_totalRecommendationCount; }
113 inline bool TotalRecommendationCountHasBeenSet() const { return m_totalRecommendationCountHasBeenSet; }
114 template<typename TotalRecommendationCountT = Aws::String>
115 void SetTotalRecommendationCount(TotalRecommendationCountT&& value) { m_totalRecommendationCountHasBeenSet = true; m_totalRecommendationCount = std::forward<TotalRecommendationCountT>(value); }
116 template<typename TotalRecommendationCountT = Aws::String>
117 SavingsPlansPurchaseRecommendationSummary& WithTotalRecommendationCount(TotalRecommendationCountT&& value) { SetTotalRecommendationCount(std::forward<TotalRecommendationCountT>(value)); return *this;}
119
121
124 inline const Aws::String& GetDailyCommitmentToPurchase() const { return m_dailyCommitmentToPurchase; }
125 inline bool DailyCommitmentToPurchaseHasBeenSet() const { return m_dailyCommitmentToPurchaseHasBeenSet; }
126 template<typename DailyCommitmentToPurchaseT = Aws::String>
127 void SetDailyCommitmentToPurchase(DailyCommitmentToPurchaseT&& value) { m_dailyCommitmentToPurchaseHasBeenSet = true; m_dailyCommitmentToPurchase = std::forward<DailyCommitmentToPurchaseT>(value); }
128 template<typename DailyCommitmentToPurchaseT = Aws::String>
129 SavingsPlansPurchaseRecommendationSummary& WithDailyCommitmentToPurchase(DailyCommitmentToPurchaseT&& value) { SetDailyCommitmentToPurchase(std::forward<DailyCommitmentToPurchaseT>(value)); return *this;}
131
133
137 inline const Aws::String& GetHourlyCommitmentToPurchase() const { return m_hourlyCommitmentToPurchase; }
138 inline bool HourlyCommitmentToPurchaseHasBeenSet() const { return m_hourlyCommitmentToPurchaseHasBeenSet; }
139 template<typename HourlyCommitmentToPurchaseT = Aws::String>
140 void SetHourlyCommitmentToPurchase(HourlyCommitmentToPurchaseT&& value) { m_hourlyCommitmentToPurchaseHasBeenSet = true; m_hourlyCommitmentToPurchase = std::forward<HourlyCommitmentToPurchaseT>(value); }
141 template<typename HourlyCommitmentToPurchaseT = Aws::String>
142 SavingsPlansPurchaseRecommendationSummary& WithHourlyCommitmentToPurchase(HourlyCommitmentToPurchaseT&& value) { SetHourlyCommitmentToPurchase(std::forward<HourlyCommitmentToPurchaseT>(value)); return *this;}
144
146
151 inline const Aws::String& GetEstimatedSavingsPercentage() const { return m_estimatedSavingsPercentage; }
152 inline bool EstimatedSavingsPercentageHasBeenSet() const { return m_estimatedSavingsPercentageHasBeenSet; }
153 template<typename EstimatedSavingsPercentageT = Aws::String>
154 void SetEstimatedSavingsPercentage(EstimatedSavingsPercentageT&& value) { m_estimatedSavingsPercentageHasBeenSet = true; m_estimatedSavingsPercentage = std::forward<EstimatedSavingsPercentageT>(value); }
155 template<typename EstimatedSavingsPercentageT = Aws::String>
156 SavingsPlansPurchaseRecommendationSummary& WithEstimatedSavingsPercentage(EstimatedSavingsPercentageT&& value) { SetEstimatedSavingsPercentage(std::forward<EstimatedSavingsPercentageT>(value)); return *this;}
158
160
164 inline const Aws::String& GetEstimatedMonthlySavingsAmount() const { return m_estimatedMonthlySavingsAmount; }
165 inline bool EstimatedMonthlySavingsAmountHasBeenSet() const { return m_estimatedMonthlySavingsAmountHasBeenSet; }
166 template<typename EstimatedMonthlySavingsAmountT = Aws::String>
167 void SetEstimatedMonthlySavingsAmount(EstimatedMonthlySavingsAmountT&& value) { m_estimatedMonthlySavingsAmountHasBeenSet = true; m_estimatedMonthlySavingsAmount = std::forward<EstimatedMonthlySavingsAmountT>(value); }
168 template<typename EstimatedMonthlySavingsAmountT = Aws::String>
169 SavingsPlansPurchaseRecommendationSummary& WithEstimatedMonthlySavingsAmount(EstimatedMonthlySavingsAmountT&& value) { SetEstimatedMonthlySavingsAmount(std::forward<EstimatedMonthlySavingsAmountT>(value)); return *this;}
171
173
178 inline const Aws::String& GetEstimatedOnDemandCostWithCurrentCommitment() const { return m_estimatedOnDemandCostWithCurrentCommitment; }
179 inline bool EstimatedOnDemandCostWithCurrentCommitmentHasBeenSet() const { return m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet; }
180 template<typename EstimatedOnDemandCostWithCurrentCommitmentT = Aws::String>
181 void SetEstimatedOnDemandCostWithCurrentCommitment(EstimatedOnDemandCostWithCurrentCommitmentT&& value) { m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet = true; m_estimatedOnDemandCostWithCurrentCommitment = std::forward<EstimatedOnDemandCostWithCurrentCommitmentT>(value); }
182 template<typename EstimatedOnDemandCostWithCurrentCommitmentT = Aws::String>
183 SavingsPlansPurchaseRecommendationSummary& WithEstimatedOnDemandCostWithCurrentCommitment(EstimatedOnDemandCostWithCurrentCommitmentT&& value) { SetEstimatedOnDemandCostWithCurrentCommitment(std::forward<EstimatedOnDemandCostWithCurrentCommitmentT>(value)); return *this;}
185 private:
186
187 Aws::String m_estimatedROI;
188 bool m_estimatedROIHasBeenSet = false;
189
190 Aws::String m_currencyCode;
191 bool m_currencyCodeHasBeenSet = false;
192
193 Aws::String m_estimatedTotalCost;
194 bool m_estimatedTotalCostHasBeenSet = false;
195
196 Aws::String m_currentOnDemandSpend;
197 bool m_currentOnDemandSpendHasBeenSet = false;
198
199 Aws::String m_estimatedSavingsAmount;
200 bool m_estimatedSavingsAmountHasBeenSet = false;
201
202 Aws::String m_totalRecommendationCount;
203 bool m_totalRecommendationCountHasBeenSet = false;
204
205 Aws::String m_dailyCommitmentToPurchase;
206 bool m_dailyCommitmentToPurchaseHasBeenSet = false;
207
208 Aws::String m_hourlyCommitmentToPurchase;
209 bool m_hourlyCommitmentToPurchaseHasBeenSet = false;
210
211 Aws::String m_estimatedSavingsPercentage;
212 bool m_estimatedSavingsPercentageHasBeenSet = false;
213
214 Aws::String m_estimatedMonthlySavingsAmount;
215 bool m_estimatedMonthlySavingsAmountHasBeenSet = false;
216
217 Aws::String m_estimatedOnDemandCostWithCurrentCommitment;
218 bool m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet = false;
219 };
220
221} // namespace Model
222} // namespace CostExplorer
223} // namespace Aws
SavingsPlansPurchaseRecommendationSummary & WithEstimatedMonthlySavingsAmount(EstimatedMonthlySavingsAmountT &&value)
SavingsPlansPurchaseRecommendationSummary & WithCurrentOnDemandSpend(CurrentOnDemandSpendT &&value)
SavingsPlansPurchaseRecommendationSummary & WithEstimatedSavingsPercentage(EstimatedSavingsPercentageT &&value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
SavingsPlansPurchaseRecommendationSummary & WithTotalRecommendationCount(TotalRecommendationCountT &&value)
SavingsPlansPurchaseRecommendationSummary & WithCurrencyCode(CurrencyCodeT &&value)
SavingsPlansPurchaseRecommendationSummary & WithEstimatedSavingsAmount(EstimatedSavingsAmountT &&value)
AWS_COSTEXPLORER_API SavingsPlansPurchaseRecommendationSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_API SavingsPlansPurchaseRecommendationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SavingsPlansPurchaseRecommendationSummary & WithEstimatedTotalCost(EstimatedTotalCostT &&value)
SavingsPlansPurchaseRecommendationSummary & WithEstimatedOnDemandCostWithCurrentCommitment(EstimatedOnDemandCostWithCurrentCommitmentT &&value)
SavingsPlansPurchaseRecommendationSummary & WithHourlyCommitmentToPurchase(HourlyCommitmentToPurchaseT &&value)
SavingsPlansPurchaseRecommendationSummary & WithDailyCommitmentToPurchase(DailyCommitmentToPurchaseT &&value)
void SetEstimatedOnDemandCostWithCurrentCommitment(EstimatedOnDemandCostWithCurrentCommitmentT &&value)
SavingsPlansPurchaseRecommendationSummary & WithEstimatedROI(EstimatedROIT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue