AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CostExplorer {
20namespace Model {
21
29 public:
30 AWS_COSTEXPLORER_API SavingsPlansPurchaseRecommendationSummary() = default;
33 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetEstimatedROI() const { return m_estimatedROI; }
41 inline bool EstimatedROIHasBeenSet() const { return m_estimatedROIHasBeenSet; }
42 template <typename EstimatedROIT = Aws::String>
43 void SetEstimatedROI(EstimatedROIT&& value) {
44 m_estimatedROIHasBeenSet = true;
45 m_estimatedROI = std::forward<EstimatedROIT>(value);
46 }
47 template <typename EstimatedROIT = Aws::String>
49 SetEstimatedROI(std::forward<EstimatedROIT>(value));
50 return *this;
51 }
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) {
63 m_currencyCodeHasBeenSet = true;
64 m_currencyCode = std::forward<CurrencyCodeT>(value);
65 }
66 template <typename CurrencyCodeT = Aws::String>
68 SetCurrencyCode(std::forward<CurrencyCodeT>(value));
69 return *this;
70 }
72
74
79 inline const Aws::String& GetEstimatedTotalCost() const { return m_estimatedTotalCost; }
80 inline bool EstimatedTotalCostHasBeenSet() const { return m_estimatedTotalCostHasBeenSet; }
81 template <typename EstimatedTotalCostT = Aws::String>
82 void SetEstimatedTotalCost(EstimatedTotalCostT&& value) {
83 m_estimatedTotalCostHasBeenSet = true;
84 m_estimatedTotalCost = std::forward<EstimatedTotalCostT>(value);
85 }
86 template <typename EstimatedTotalCostT = Aws::String>
88 SetEstimatedTotalCost(std::forward<EstimatedTotalCostT>(value));
89 return *this;
90 }
92
94
98 inline const Aws::String& GetCurrentOnDemandSpend() const { return m_currentOnDemandSpend; }
99 inline bool CurrentOnDemandSpendHasBeenSet() const { return m_currentOnDemandSpendHasBeenSet; }
100 template <typename CurrentOnDemandSpendT = Aws::String>
101 void SetCurrentOnDemandSpend(CurrentOnDemandSpendT&& value) {
102 m_currentOnDemandSpendHasBeenSet = true;
103 m_currentOnDemandSpend = std::forward<CurrentOnDemandSpendT>(value);
104 }
105 template <typename CurrentOnDemandSpendT = Aws::String>
107 SetCurrentOnDemandSpend(std::forward<CurrentOnDemandSpendT>(value));
108 return *this;
109 }
111
113
117 inline const Aws::String& GetEstimatedSavingsAmount() const { return m_estimatedSavingsAmount; }
118 inline bool EstimatedSavingsAmountHasBeenSet() const { return m_estimatedSavingsAmountHasBeenSet; }
119 template <typename EstimatedSavingsAmountT = Aws::String>
120 void SetEstimatedSavingsAmount(EstimatedSavingsAmountT&& value) {
121 m_estimatedSavingsAmountHasBeenSet = true;
122 m_estimatedSavingsAmount = std::forward<EstimatedSavingsAmountT>(value);
123 }
124 template <typename EstimatedSavingsAmountT = Aws::String>
126 SetEstimatedSavingsAmount(std::forward<EstimatedSavingsAmountT>(value));
127 return *this;
128 }
130
132
136 inline const Aws::String& GetTotalRecommendationCount() const { return m_totalRecommendationCount; }
137 inline bool TotalRecommendationCountHasBeenSet() const { return m_totalRecommendationCountHasBeenSet; }
138 template <typename TotalRecommendationCountT = Aws::String>
139 void SetTotalRecommendationCount(TotalRecommendationCountT&& value) {
140 m_totalRecommendationCountHasBeenSet = true;
141 m_totalRecommendationCount = std::forward<TotalRecommendationCountT>(value);
142 }
143 template <typename TotalRecommendationCountT = Aws::String>
145 SetTotalRecommendationCount(std::forward<TotalRecommendationCountT>(value));
146 return *this;
147 }
149
151
154 inline const Aws::String& GetDailyCommitmentToPurchase() const { return m_dailyCommitmentToPurchase; }
155 inline bool DailyCommitmentToPurchaseHasBeenSet() const { return m_dailyCommitmentToPurchaseHasBeenSet; }
156 template <typename DailyCommitmentToPurchaseT = Aws::String>
157 void SetDailyCommitmentToPurchase(DailyCommitmentToPurchaseT&& value) {
158 m_dailyCommitmentToPurchaseHasBeenSet = true;
159 m_dailyCommitmentToPurchase = std::forward<DailyCommitmentToPurchaseT>(value);
160 }
161 template <typename DailyCommitmentToPurchaseT = Aws::String>
163 SetDailyCommitmentToPurchase(std::forward<DailyCommitmentToPurchaseT>(value));
164 return *this;
165 }
167
169
173 inline const Aws::String& GetHourlyCommitmentToPurchase() const { return m_hourlyCommitmentToPurchase; }
174 inline bool HourlyCommitmentToPurchaseHasBeenSet() const { return m_hourlyCommitmentToPurchaseHasBeenSet; }
175 template <typename HourlyCommitmentToPurchaseT = Aws::String>
176 void SetHourlyCommitmentToPurchase(HourlyCommitmentToPurchaseT&& value) {
177 m_hourlyCommitmentToPurchaseHasBeenSet = true;
178 m_hourlyCommitmentToPurchase = std::forward<HourlyCommitmentToPurchaseT>(value);
179 }
180 template <typename HourlyCommitmentToPurchaseT = Aws::String>
182 SetHourlyCommitmentToPurchase(std::forward<HourlyCommitmentToPurchaseT>(value));
183 return *this;
184 }
186
188
193 inline const Aws::String& GetEstimatedSavingsPercentage() const { return m_estimatedSavingsPercentage; }
194 inline bool EstimatedSavingsPercentageHasBeenSet() const { return m_estimatedSavingsPercentageHasBeenSet; }
195 template <typename EstimatedSavingsPercentageT = Aws::String>
196 void SetEstimatedSavingsPercentage(EstimatedSavingsPercentageT&& value) {
197 m_estimatedSavingsPercentageHasBeenSet = true;
198 m_estimatedSavingsPercentage = std::forward<EstimatedSavingsPercentageT>(value);
199 }
200 template <typename EstimatedSavingsPercentageT = Aws::String>
202 SetEstimatedSavingsPercentage(std::forward<EstimatedSavingsPercentageT>(value));
203 return *this;
204 }
206
208
212 inline const Aws::String& GetEstimatedMonthlySavingsAmount() const { return m_estimatedMonthlySavingsAmount; }
213 inline bool EstimatedMonthlySavingsAmountHasBeenSet() const { return m_estimatedMonthlySavingsAmountHasBeenSet; }
214 template <typename EstimatedMonthlySavingsAmountT = Aws::String>
215 void SetEstimatedMonthlySavingsAmount(EstimatedMonthlySavingsAmountT&& value) {
216 m_estimatedMonthlySavingsAmountHasBeenSet = true;
217 m_estimatedMonthlySavingsAmount = std::forward<EstimatedMonthlySavingsAmountT>(value);
218 }
219 template <typename EstimatedMonthlySavingsAmountT = Aws::String>
221 SetEstimatedMonthlySavingsAmount(std::forward<EstimatedMonthlySavingsAmountT>(value));
222 return *this;
223 }
225
227
232 inline const Aws::String& GetEstimatedOnDemandCostWithCurrentCommitment() const { return m_estimatedOnDemandCostWithCurrentCommitment; }
234 return m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet;
235 }
236 template <typename EstimatedOnDemandCostWithCurrentCommitmentT = Aws::String>
237 void SetEstimatedOnDemandCostWithCurrentCommitment(EstimatedOnDemandCostWithCurrentCommitmentT&& value) {
238 m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet = true;
239 m_estimatedOnDemandCostWithCurrentCommitment = std::forward<EstimatedOnDemandCostWithCurrentCommitmentT>(value);
240 }
241 template <typename EstimatedOnDemandCostWithCurrentCommitmentT = Aws::String>
243 EstimatedOnDemandCostWithCurrentCommitmentT&& value) {
244 SetEstimatedOnDemandCostWithCurrentCommitment(std::forward<EstimatedOnDemandCostWithCurrentCommitmentT>(value));
245 return *this;
246 }
248 private:
249 Aws::String m_estimatedROI;
250
251 Aws::String m_currencyCode;
252
253 Aws::String m_estimatedTotalCost;
254
255 Aws::String m_currentOnDemandSpend;
256
257 Aws::String m_estimatedSavingsAmount;
258
259 Aws::String m_totalRecommendationCount;
260
261 Aws::String m_dailyCommitmentToPurchase;
262
263 Aws::String m_hourlyCommitmentToPurchase;
264
265 Aws::String m_estimatedSavingsPercentage;
266
267 Aws::String m_estimatedMonthlySavingsAmount;
268
269 Aws::String m_estimatedOnDemandCostWithCurrentCommitment;
270 bool m_estimatedROIHasBeenSet = false;
271 bool m_currencyCodeHasBeenSet = false;
272 bool m_estimatedTotalCostHasBeenSet = false;
273 bool m_currentOnDemandSpendHasBeenSet = false;
274 bool m_estimatedSavingsAmountHasBeenSet = false;
275 bool m_totalRecommendationCountHasBeenSet = false;
276 bool m_dailyCommitmentToPurchaseHasBeenSet = false;
277 bool m_hourlyCommitmentToPurchaseHasBeenSet = false;
278 bool m_estimatedSavingsPercentageHasBeenSet = false;
279 bool m_estimatedMonthlySavingsAmountHasBeenSet = false;
280 bool m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet = false;
281};
282
283} // namespace Model
284} // namespace CostExplorer
285} // 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