AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SavingsPlansPurchaseRecommendationDetail.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/SavingsPlansDetails.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CostExplorer
23{
24namespace Model
25{
26
33 {
34 public:
38 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const SavingsPlansDetails& GetSavingsPlansDetails() const{ return m_savingsPlansDetails; }
46 inline bool SavingsPlansDetailsHasBeenSet() const { return m_savingsPlansDetailsHasBeenSet; }
47 inline void SetSavingsPlansDetails(const SavingsPlansDetails& value) { m_savingsPlansDetailsHasBeenSet = true; m_savingsPlansDetails = value; }
48 inline void SetSavingsPlansDetails(SavingsPlansDetails&& value) { m_savingsPlansDetailsHasBeenSet = true; m_savingsPlansDetails = std::move(value); }
52
54
57 inline const Aws::String& GetAccountId() const{ return m_accountId; }
58 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
59 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
60 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
61 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
63 inline SavingsPlansPurchaseRecommendationDetail& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
64 inline SavingsPlansPurchaseRecommendationDetail& WithAccountId(const char* value) { SetAccountId(value); return *this;}
66
68
72 inline const Aws::String& GetUpfrontCost() const{ return m_upfrontCost; }
73 inline bool UpfrontCostHasBeenSet() const { return m_upfrontCostHasBeenSet; }
74 inline void SetUpfrontCost(const Aws::String& value) { m_upfrontCostHasBeenSet = true; m_upfrontCost = value; }
75 inline void SetUpfrontCost(Aws::String&& value) { m_upfrontCostHasBeenSet = true; m_upfrontCost = std::move(value); }
76 inline void SetUpfrontCost(const char* value) { m_upfrontCostHasBeenSet = true; m_upfrontCost.assign(value); }
78 inline SavingsPlansPurchaseRecommendationDetail& WithUpfrontCost(Aws::String&& value) { SetUpfrontCost(std::move(value)); return *this;}
79 inline SavingsPlansPurchaseRecommendationDetail& WithUpfrontCost(const char* value) { SetUpfrontCost(value); return *this;}
81
83
88 inline const Aws::String& GetEstimatedROI() const{ return m_estimatedROI; }
89 inline bool EstimatedROIHasBeenSet() const { return m_estimatedROIHasBeenSet; }
90 inline void SetEstimatedROI(const Aws::String& value) { m_estimatedROIHasBeenSet = true; m_estimatedROI = value; }
91 inline void SetEstimatedROI(Aws::String&& value) { m_estimatedROIHasBeenSet = true; m_estimatedROI = std::move(value); }
92 inline void SetEstimatedROI(const char* value) { m_estimatedROIHasBeenSet = true; m_estimatedROI.assign(value); }
94 inline SavingsPlansPurchaseRecommendationDetail& WithEstimatedROI(Aws::String&& value) { SetEstimatedROI(std::move(value)); return *this;}
95 inline SavingsPlansPurchaseRecommendationDetail& WithEstimatedROI(const char* value) { SetEstimatedROI(value); return *this;}
97
99
103 inline const Aws::String& GetCurrencyCode() const{ return m_currencyCode; }
104 inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
105 inline void SetCurrencyCode(const Aws::String& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = value; }
106 inline void SetCurrencyCode(Aws::String&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::move(value); }
107 inline void SetCurrencyCode(const char* value) { m_currencyCodeHasBeenSet = true; m_currencyCode.assign(value); }
110 inline SavingsPlansPurchaseRecommendationDetail& WithCurrencyCode(const char* value) { SetCurrencyCode(value); return *this;}
112
114
118 inline const Aws::String& GetEstimatedSPCost() const{ return m_estimatedSPCost; }
119 inline bool EstimatedSPCostHasBeenSet() const { return m_estimatedSPCostHasBeenSet; }
120 inline void SetEstimatedSPCost(const Aws::String& value) { m_estimatedSPCostHasBeenSet = true; m_estimatedSPCost = value; }
121 inline void SetEstimatedSPCost(Aws::String&& value) { m_estimatedSPCostHasBeenSet = true; m_estimatedSPCost = std::move(value); }
122 inline void SetEstimatedSPCost(const char* value) { m_estimatedSPCostHasBeenSet = true; m_estimatedSPCost.assign(value); }
125 inline SavingsPlansPurchaseRecommendationDetail& WithEstimatedSPCost(const char* value) { SetEstimatedSPCost(value); return *this;}
127
129
133 inline const Aws::String& GetEstimatedOnDemandCost() const{ return m_estimatedOnDemandCost; }
134 inline bool EstimatedOnDemandCostHasBeenSet() const { return m_estimatedOnDemandCostHasBeenSet; }
135 inline void SetEstimatedOnDemandCost(const Aws::String& value) { m_estimatedOnDemandCostHasBeenSet = true; m_estimatedOnDemandCost = value; }
136 inline void SetEstimatedOnDemandCost(Aws::String&& value) { m_estimatedOnDemandCostHasBeenSet = true; m_estimatedOnDemandCost = std::move(value); }
137 inline void SetEstimatedOnDemandCost(const char* value) { m_estimatedOnDemandCostHasBeenSet = true; m_estimatedOnDemandCost.assign(value); }
142
144
149 inline const Aws::String& GetEstimatedOnDemandCostWithCurrentCommitment() const{ return m_estimatedOnDemandCostWithCurrentCommitment; }
150 inline bool EstimatedOnDemandCostWithCurrentCommitmentHasBeenSet() const { return m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet; }
151 inline void SetEstimatedOnDemandCostWithCurrentCommitment(const Aws::String& value) { m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet = true; m_estimatedOnDemandCostWithCurrentCommitment = value; }
152 inline void SetEstimatedOnDemandCostWithCurrentCommitment(Aws::String&& value) { m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet = true; m_estimatedOnDemandCostWithCurrentCommitment = std::move(value); }
153 inline void SetEstimatedOnDemandCostWithCurrentCommitment(const char* value) { m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet = true; m_estimatedOnDemandCostWithCurrentCommitment.assign(value); }
158
160
164 inline const Aws::String& GetEstimatedSavingsAmount() const{ return m_estimatedSavingsAmount; }
165 inline bool EstimatedSavingsAmountHasBeenSet() const { return m_estimatedSavingsAmountHasBeenSet; }
166 inline void SetEstimatedSavingsAmount(const Aws::String& value) { m_estimatedSavingsAmountHasBeenSet = true; m_estimatedSavingsAmount = value; }
167 inline void SetEstimatedSavingsAmount(Aws::String&& value) { m_estimatedSavingsAmountHasBeenSet = true; m_estimatedSavingsAmount = std::move(value); }
168 inline void SetEstimatedSavingsAmount(const char* value) { m_estimatedSavingsAmountHasBeenSet = true; m_estimatedSavingsAmount.assign(value); }
173
175
179 inline const Aws::String& GetEstimatedSavingsPercentage() const{ return m_estimatedSavingsPercentage; }
180 inline bool EstimatedSavingsPercentageHasBeenSet() const { return m_estimatedSavingsPercentageHasBeenSet; }
181 inline void SetEstimatedSavingsPercentage(const Aws::String& value) { m_estimatedSavingsPercentageHasBeenSet = true; m_estimatedSavingsPercentage = value; }
182 inline void SetEstimatedSavingsPercentage(Aws::String&& value) { m_estimatedSavingsPercentageHasBeenSet = true; m_estimatedSavingsPercentage = std::move(value); }
183 inline void SetEstimatedSavingsPercentage(const char* value) { m_estimatedSavingsPercentageHasBeenSet = true; m_estimatedSavingsPercentage.assign(value); }
188
190
194 inline const Aws::String& GetHourlyCommitmentToPurchase() const{ return m_hourlyCommitmentToPurchase; }
195 inline bool HourlyCommitmentToPurchaseHasBeenSet() const { return m_hourlyCommitmentToPurchaseHasBeenSet; }
196 inline void SetHourlyCommitmentToPurchase(const Aws::String& value) { m_hourlyCommitmentToPurchaseHasBeenSet = true; m_hourlyCommitmentToPurchase = value; }
197 inline void SetHourlyCommitmentToPurchase(Aws::String&& value) { m_hourlyCommitmentToPurchaseHasBeenSet = true; m_hourlyCommitmentToPurchase = std::move(value); }
198 inline void SetHourlyCommitmentToPurchase(const char* value) { m_hourlyCommitmentToPurchaseHasBeenSet = true; m_hourlyCommitmentToPurchase.assign(value); }
203
205
208 inline const Aws::String& GetEstimatedAverageUtilization() const{ return m_estimatedAverageUtilization; }
209 inline bool EstimatedAverageUtilizationHasBeenSet() const { return m_estimatedAverageUtilizationHasBeenSet; }
210 inline void SetEstimatedAverageUtilization(const Aws::String& value) { m_estimatedAverageUtilizationHasBeenSet = true; m_estimatedAverageUtilization = value; }
211 inline void SetEstimatedAverageUtilization(Aws::String&& value) { m_estimatedAverageUtilizationHasBeenSet = true; m_estimatedAverageUtilization = std::move(value); }
212 inline void SetEstimatedAverageUtilization(const char* value) { m_estimatedAverageUtilizationHasBeenSet = true; m_estimatedAverageUtilization.assign(value); }
217
219
223 inline const Aws::String& GetEstimatedMonthlySavingsAmount() const{ return m_estimatedMonthlySavingsAmount; }
224 inline bool EstimatedMonthlySavingsAmountHasBeenSet() const { return m_estimatedMonthlySavingsAmountHasBeenSet; }
225 inline void SetEstimatedMonthlySavingsAmount(const Aws::String& value) { m_estimatedMonthlySavingsAmountHasBeenSet = true; m_estimatedMonthlySavingsAmount = value; }
226 inline void SetEstimatedMonthlySavingsAmount(Aws::String&& value) { m_estimatedMonthlySavingsAmountHasBeenSet = true; m_estimatedMonthlySavingsAmount = std::move(value); }
227 inline void SetEstimatedMonthlySavingsAmount(const char* value) { m_estimatedMonthlySavingsAmountHasBeenSet = true; m_estimatedMonthlySavingsAmount.assign(value); }
232
234
238 inline const Aws::String& GetCurrentMinimumHourlyOnDemandSpend() const{ return m_currentMinimumHourlyOnDemandSpend; }
239 inline bool CurrentMinimumHourlyOnDemandSpendHasBeenSet() const { return m_currentMinimumHourlyOnDemandSpendHasBeenSet; }
240 inline void SetCurrentMinimumHourlyOnDemandSpend(const Aws::String& value) { m_currentMinimumHourlyOnDemandSpendHasBeenSet = true; m_currentMinimumHourlyOnDemandSpend = value; }
241 inline void SetCurrentMinimumHourlyOnDemandSpend(Aws::String&& value) { m_currentMinimumHourlyOnDemandSpendHasBeenSet = true; m_currentMinimumHourlyOnDemandSpend = std::move(value); }
242 inline void SetCurrentMinimumHourlyOnDemandSpend(const char* value) { m_currentMinimumHourlyOnDemandSpendHasBeenSet = true; m_currentMinimumHourlyOnDemandSpend.assign(value); }
247
249
253 inline const Aws::String& GetCurrentMaximumHourlyOnDemandSpend() const{ return m_currentMaximumHourlyOnDemandSpend; }
254 inline bool CurrentMaximumHourlyOnDemandSpendHasBeenSet() const { return m_currentMaximumHourlyOnDemandSpendHasBeenSet; }
255 inline void SetCurrentMaximumHourlyOnDemandSpend(const Aws::String& value) { m_currentMaximumHourlyOnDemandSpendHasBeenSet = true; m_currentMaximumHourlyOnDemandSpend = value; }
256 inline void SetCurrentMaximumHourlyOnDemandSpend(Aws::String&& value) { m_currentMaximumHourlyOnDemandSpendHasBeenSet = true; m_currentMaximumHourlyOnDemandSpend = std::move(value); }
257 inline void SetCurrentMaximumHourlyOnDemandSpend(const char* value) { m_currentMaximumHourlyOnDemandSpendHasBeenSet = true; m_currentMaximumHourlyOnDemandSpend.assign(value); }
262
264
268 inline const Aws::String& GetCurrentAverageHourlyOnDemandSpend() const{ return m_currentAverageHourlyOnDemandSpend; }
269 inline bool CurrentAverageHourlyOnDemandSpendHasBeenSet() const { return m_currentAverageHourlyOnDemandSpendHasBeenSet; }
270 inline void SetCurrentAverageHourlyOnDemandSpend(const Aws::String& value) { m_currentAverageHourlyOnDemandSpendHasBeenSet = true; m_currentAverageHourlyOnDemandSpend = value; }
271 inline void SetCurrentAverageHourlyOnDemandSpend(Aws::String&& value) { m_currentAverageHourlyOnDemandSpendHasBeenSet = true; m_currentAverageHourlyOnDemandSpend = std::move(value); }
272 inline void SetCurrentAverageHourlyOnDemandSpend(const char* value) { m_currentAverageHourlyOnDemandSpendHasBeenSet = true; m_currentAverageHourlyOnDemandSpend.assign(value); }
277
279
283 inline const Aws::String& GetRecommendationDetailId() const{ return m_recommendationDetailId; }
284 inline bool RecommendationDetailIdHasBeenSet() const { return m_recommendationDetailIdHasBeenSet; }
285 inline void SetRecommendationDetailId(const Aws::String& value) { m_recommendationDetailIdHasBeenSet = true; m_recommendationDetailId = value; }
286 inline void SetRecommendationDetailId(Aws::String&& value) { m_recommendationDetailIdHasBeenSet = true; m_recommendationDetailId = std::move(value); }
287 inline void SetRecommendationDetailId(const char* value) { m_recommendationDetailIdHasBeenSet = true; m_recommendationDetailId.assign(value); }
292 private:
293
294 SavingsPlansDetails m_savingsPlansDetails;
295 bool m_savingsPlansDetailsHasBeenSet = false;
296
297 Aws::String m_accountId;
298 bool m_accountIdHasBeenSet = false;
299
300 Aws::String m_upfrontCost;
301 bool m_upfrontCostHasBeenSet = false;
302
303 Aws::String m_estimatedROI;
304 bool m_estimatedROIHasBeenSet = false;
305
306 Aws::String m_currencyCode;
307 bool m_currencyCodeHasBeenSet = false;
308
309 Aws::String m_estimatedSPCost;
310 bool m_estimatedSPCostHasBeenSet = false;
311
312 Aws::String m_estimatedOnDemandCost;
313 bool m_estimatedOnDemandCostHasBeenSet = false;
314
315 Aws::String m_estimatedOnDemandCostWithCurrentCommitment;
316 bool m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet = false;
317
318 Aws::String m_estimatedSavingsAmount;
319 bool m_estimatedSavingsAmountHasBeenSet = false;
320
321 Aws::String m_estimatedSavingsPercentage;
322 bool m_estimatedSavingsPercentageHasBeenSet = false;
323
324 Aws::String m_hourlyCommitmentToPurchase;
325 bool m_hourlyCommitmentToPurchaseHasBeenSet = false;
326
327 Aws::String m_estimatedAverageUtilization;
328 bool m_estimatedAverageUtilizationHasBeenSet = false;
329
330 Aws::String m_estimatedMonthlySavingsAmount;
331 bool m_estimatedMonthlySavingsAmountHasBeenSet = false;
332
333 Aws::String m_currentMinimumHourlyOnDemandSpend;
334 bool m_currentMinimumHourlyOnDemandSpendHasBeenSet = false;
335
336 Aws::String m_currentMaximumHourlyOnDemandSpend;
337 bool m_currentMaximumHourlyOnDemandSpendHasBeenSet = false;
338
339 Aws::String m_currentAverageHourlyOnDemandSpend;
340 bool m_currentAverageHourlyOnDemandSpendHasBeenSet = false;
341
342 Aws::String m_recommendationDetailId;
343 bool m_recommendationDetailIdHasBeenSet = false;
344 };
345
346} // namespace Model
347} // namespace CostExplorer
348} // namespace Aws
SavingsPlansPurchaseRecommendationDetail & WithCurrentAverageHourlyOnDemandSpend(const Aws::String &value)
SavingsPlansPurchaseRecommendationDetail & WithCurrentAverageHourlyOnDemandSpend(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedOnDemandCost(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedOnDemandCostWithCurrentCommitment(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithUpfrontCost(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedSavingsAmount(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithCurrencyCode(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithRecommendationDetailId(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedOnDemandCost(const Aws::String &value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedSavingsPercentage(const Aws::String &value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedAverageUtilization(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithHourlyCommitmentToPurchase(const Aws::String &value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedSPCost(const Aws::String &value)
AWS_COSTEXPLORER_API SavingsPlansPurchaseRecommendationDetail(Aws::Utils::Json::JsonView jsonValue)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedROI(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithCurrentMaximumHourlyOnDemandSpend(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithCurrencyCode(const Aws::String &value)
AWS_COSTEXPLORER_API SavingsPlansPurchaseRecommendationDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedOnDemandCostWithCurrentCommitment(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedOnDemandCostWithCurrentCommitment(const Aws::String &value)
SavingsPlansPurchaseRecommendationDetail & WithCurrentAverageHourlyOnDemandSpend(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedSavingsAmount(const Aws::String &value)
SavingsPlansPurchaseRecommendationDetail & WithCurrentMaximumHourlyOnDemandSpend(const Aws::String &value)
SavingsPlansPurchaseRecommendationDetail & WithUpfrontCost(const Aws::String &value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedSPCost(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithRecommendationDetailId(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithUpfrontCost(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedROI(const Aws::String &value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedOnDemandCost(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedMonthlySavingsAmount(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithCurrentMinimumHourlyOnDemandSpend(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedSavingsAmount(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedSavingsPercentage(const char *value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
SavingsPlansPurchaseRecommendationDetail & WithCurrentMinimumHourlyOnDemandSpend(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithRecommendationDetailId(const Aws::String &value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedAverageUtilization(const Aws::String &value)
SavingsPlansPurchaseRecommendationDetail & WithAccountId(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedMonthlySavingsAmount(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithHourlyCommitmentToPurchase(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithSavingsPlansDetails(SavingsPlansDetails &&value)
SavingsPlansPurchaseRecommendationDetail & WithCurrentMinimumHourlyOnDemandSpend(const Aws::String &value)
SavingsPlansPurchaseRecommendationDetail & WithAccountId(const Aws::String &value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedROI(const char *value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedSPCost(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithHourlyCommitmentToPurchase(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedMonthlySavingsAmount(const Aws::String &value)
SavingsPlansPurchaseRecommendationDetail & WithCurrencyCode(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedSavingsPercentage(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithSavingsPlansDetails(const SavingsPlansDetails &value)
SavingsPlansPurchaseRecommendationDetail & WithEstimatedAverageUtilization(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithAccountId(Aws::String &&value)
SavingsPlansPurchaseRecommendationDetail & WithCurrentMaximumHourlyOnDemandSpend(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue