AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetEstimatedROI(const Aws::String& value) { m_estimatedROIHasBeenSet = true; m_estimatedROI = value; }
49 inline void SetEstimatedROI(Aws::String&& value) { m_estimatedROIHasBeenSet = true; m_estimatedROI = std::move(value); }
50 inline void SetEstimatedROI(const char* value) { m_estimatedROIHasBeenSet = true; m_estimatedROI.assign(value); }
53 inline SavingsPlansPurchaseRecommendationSummary& WithEstimatedROI(const char* value) { SetEstimatedROI(value); return *this;}
55
57
61 inline const Aws::String& GetCurrencyCode() const{ return m_currencyCode; }
62 inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
63 inline void SetCurrencyCode(const Aws::String& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = value; }
64 inline void SetCurrencyCode(Aws::String&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::move(value); }
65 inline void SetCurrencyCode(const char* value) { m_currencyCodeHasBeenSet = true; m_currencyCode.assign(value); }
68 inline SavingsPlansPurchaseRecommendationSummary& WithCurrencyCode(const char* value) { SetCurrencyCode(value); return *this;}
70
72
77 inline const Aws::String& GetEstimatedTotalCost() const{ return m_estimatedTotalCost; }
78 inline bool EstimatedTotalCostHasBeenSet() const { return m_estimatedTotalCostHasBeenSet; }
79 inline void SetEstimatedTotalCost(const Aws::String& value) { m_estimatedTotalCostHasBeenSet = true; m_estimatedTotalCost = value; }
80 inline void SetEstimatedTotalCost(Aws::String&& value) { m_estimatedTotalCostHasBeenSet = true; m_estimatedTotalCost = std::move(value); }
81 inline void SetEstimatedTotalCost(const char* value) { m_estimatedTotalCostHasBeenSet = true; m_estimatedTotalCost.assign(value); }
86
88
92 inline const Aws::String& GetCurrentOnDemandSpend() const{ return m_currentOnDemandSpend; }
93 inline bool CurrentOnDemandSpendHasBeenSet() const { return m_currentOnDemandSpendHasBeenSet; }
94 inline void SetCurrentOnDemandSpend(const Aws::String& value) { m_currentOnDemandSpendHasBeenSet = true; m_currentOnDemandSpend = value; }
95 inline void SetCurrentOnDemandSpend(Aws::String&& value) { m_currentOnDemandSpendHasBeenSet = true; m_currentOnDemandSpend = std::move(value); }
96 inline void SetCurrentOnDemandSpend(const char* value) { m_currentOnDemandSpendHasBeenSet = true; m_currentOnDemandSpend.assign(value); }
101
103
107 inline const Aws::String& GetEstimatedSavingsAmount() const{ return m_estimatedSavingsAmount; }
108 inline bool EstimatedSavingsAmountHasBeenSet() const { return m_estimatedSavingsAmountHasBeenSet; }
109 inline void SetEstimatedSavingsAmount(const Aws::String& value) { m_estimatedSavingsAmountHasBeenSet = true; m_estimatedSavingsAmount = value; }
110 inline void SetEstimatedSavingsAmount(Aws::String&& value) { m_estimatedSavingsAmountHasBeenSet = true; m_estimatedSavingsAmount = std::move(value); }
111 inline void SetEstimatedSavingsAmount(const char* value) { m_estimatedSavingsAmountHasBeenSet = true; m_estimatedSavingsAmount.assign(value); }
116
118
122 inline const Aws::String& GetTotalRecommendationCount() const{ return m_totalRecommendationCount; }
123 inline bool TotalRecommendationCountHasBeenSet() const { return m_totalRecommendationCountHasBeenSet; }
124 inline void SetTotalRecommendationCount(const Aws::String& value) { m_totalRecommendationCountHasBeenSet = true; m_totalRecommendationCount = value; }
125 inline void SetTotalRecommendationCount(Aws::String&& value) { m_totalRecommendationCountHasBeenSet = true; m_totalRecommendationCount = std::move(value); }
126 inline void SetTotalRecommendationCount(const char* value) { m_totalRecommendationCountHasBeenSet = true; m_totalRecommendationCount.assign(value); }
131
133
136 inline const Aws::String& GetDailyCommitmentToPurchase() const{ return m_dailyCommitmentToPurchase; }
137 inline bool DailyCommitmentToPurchaseHasBeenSet() const { return m_dailyCommitmentToPurchaseHasBeenSet; }
138 inline void SetDailyCommitmentToPurchase(const Aws::String& value) { m_dailyCommitmentToPurchaseHasBeenSet = true; m_dailyCommitmentToPurchase = value; }
139 inline void SetDailyCommitmentToPurchase(Aws::String&& value) { m_dailyCommitmentToPurchaseHasBeenSet = true; m_dailyCommitmentToPurchase = std::move(value); }
140 inline void SetDailyCommitmentToPurchase(const char* value) { m_dailyCommitmentToPurchaseHasBeenSet = true; m_dailyCommitmentToPurchase.assign(value); }
145
147
151 inline const Aws::String& GetHourlyCommitmentToPurchase() const{ return m_hourlyCommitmentToPurchase; }
152 inline bool HourlyCommitmentToPurchaseHasBeenSet() const { return m_hourlyCommitmentToPurchaseHasBeenSet; }
153 inline void SetHourlyCommitmentToPurchase(const Aws::String& value) { m_hourlyCommitmentToPurchaseHasBeenSet = true; m_hourlyCommitmentToPurchase = value; }
154 inline void SetHourlyCommitmentToPurchase(Aws::String&& value) { m_hourlyCommitmentToPurchaseHasBeenSet = true; m_hourlyCommitmentToPurchase = std::move(value); }
155 inline void SetHourlyCommitmentToPurchase(const char* value) { m_hourlyCommitmentToPurchaseHasBeenSet = true; m_hourlyCommitmentToPurchase.assign(value); }
160
162
167 inline const Aws::String& GetEstimatedSavingsPercentage() const{ return m_estimatedSavingsPercentage; }
168 inline bool EstimatedSavingsPercentageHasBeenSet() const { return m_estimatedSavingsPercentageHasBeenSet; }
169 inline void SetEstimatedSavingsPercentage(const Aws::String& value) { m_estimatedSavingsPercentageHasBeenSet = true; m_estimatedSavingsPercentage = value; }
170 inline void SetEstimatedSavingsPercentage(Aws::String&& value) { m_estimatedSavingsPercentageHasBeenSet = true; m_estimatedSavingsPercentage = std::move(value); }
171 inline void SetEstimatedSavingsPercentage(const char* value) { m_estimatedSavingsPercentageHasBeenSet = true; m_estimatedSavingsPercentage.assign(value); }
176
178
182 inline const Aws::String& GetEstimatedMonthlySavingsAmount() const{ return m_estimatedMonthlySavingsAmount; }
183 inline bool EstimatedMonthlySavingsAmountHasBeenSet() const { return m_estimatedMonthlySavingsAmountHasBeenSet; }
184 inline void SetEstimatedMonthlySavingsAmount(const Aws::String& value) { m_estimatedMonthlySavingsAmountHasBeenSet = true; m_estimatedMonthlySavingsAmount = value; }
185 inline void SetEstimatedMonthlySavingsAmount(Aws::String&& value) { m_estimatedMonthlySavingsAmountHasBeenSet = true; m_estimatedMonthlySavingsAmount = std::move(value); }
186 inline void SetEstimatedMonthlySavingsAmount(const char* value) { m_estimatedMonthlySavingsAmountHasBeenSet = true; m_estimatedMonthlySavingsAmount.assign(value); }
191
193
198 inline const Aws::String& GetEstimatedOnDemandCostWithCurrentCommitment() const{ return m_estimatedOnDemandCostWithCurrentCommitment; }
199 inline bool EstimatedOnDemandCostWithCurrentCommitmentHasBeenSet() const { return m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet; }
200 inline void SetEstimatedOnDemandCostWithCurrentCommitment(const Aws::String& value) { m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet = true; m_estimatedOnDemandCostWithCurrentCommitment = value; }
201 inline void SetEstimatedOnDemandCostWithCurrentCommitment(Aws::String&& value) { m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet = true; m_estimatedOnDemandCostWithCurrentCommitment = std::move(value); }
202 inline void SetEstimatedOnDemandCostWithCurrentCommitment(const char* value) { m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet = true; m_estimatedOnDemandCostWithCurrentCommitment.assign(value); }
207 private:
208
209 Aws::String m_estimatedROI;
210 bool m_estimatedROIHasBeenSet = false;
211
212 Aws::String m_currencyCode;
213 bool m_currencyCodeHasBeenSet = false;
214
215 Aws::String m_estimatedTotalCost;
216 bool m_estimatedTotalCostHasBeenSet = false;
217
218 Aws::String m_currentOnDemandSpend;
219 bool m_currentOnDemandSpendHasBeenSet = false;
220
221 Aws::String m_estimatedSavingsAmount;
222 bool m_estimatedSavingsAmountHasBeenSet = false;
223
224 Aws::String m_totalRecommendationCount;
225 bool m_totalRecommendationCountHasBeenSet = false;
226
227 Aws::String m_dailyCommitmentToPurchase;
228 bool m_dailyCommitmentToPurchaseHasBeenSet = false;
229
230 Aws::String m_hourlyCommitmentToPurchase;
231 bool m_hourlyCommitmentToPurchaseHasBeenSet = false;
232
233 Aws::String m_estimatedSavingsPercentage;
234 bool m_estimatedSavingsPercentageHasBeenSet = false;
235
236 Aws::String m_estimatedMonthlySavingsAmount;
237 bool m_estimatedMonthlySavingsAmountHasBeenSet = false;
238
239 Aws::String m_estimatedOnDemandCostWithCurrentCommitment;
240 bool m_estimatedOnDemandCostWithCurrentCommitmentHasBeenSet = false;
241 };
242
243} // namespace Model
244} // namespace CostExplorer
245} // namespace Aws
SavingsPlansPurchaseRecommendationSummary & WithEstimatedOnDemandCostWithCurrentCommitment(const char *value)
SavingsPlansPurchaseRecommendationSummary & WithEstimatedROI(Aws::String &&value)
SavingsPlansPurchaseRecommendationSummary & WithEstimatedMonthlySavingsAmount(Aws::String &&value)
SavingsPlansPurchaseRecommendationSummary & WithEstimatedSavingsAmount(Aws::String &&value)
SavingsPlansPurchaseRecommendationSummary & WithDailyCommitmentToPurchase(const char *value)
SavingsPlansPurchaseRecommendationSummary & WithTotalRecommendationCount(const Aws::String &value)
SavingsPlansPurchaseRecommendationSummary & WithCurrencyCode(const char *value)
SavingsPlansPurchaseRecommendationSummary & WithEstimatedTotalCost(const char *value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
SavingsPlansPurchaseRecommendationSummary & WithEstimatedOnDemandCostWithCurrentCommitment(const Aws::String &value)
SavingsPlansPurchaseRecommendationSummary & WithEstimatedSavingsAmount(const char *value)
SavingsPlansPurchaseRecommendationSummary & WithCurrentOnDemandSpend(Aws::String &&value)
SavingsPlansPurchaseRecommendationSummary & WithEstimatedMonthlySavingsAmount(const char *value)
SavingsPlansPurchaseRecommendationSummary & WithCurrencyCode(Aws::String &&value)
AWS_COSTEXPLORER_API SavingsPlansPurchaseRecommendationSummary(Aws::Utils::Json::JsonView jsonValue)
SavingsPlansPurchaseRecommendationSummary & WithHourlyCommitmentToPurchase(Aws::String &&value)
SavingsPlansPurchaseRecommendationSummary & WithEstimatedSavingsPercentage(Aws::String &&value)
SavingsPlansPurchaseRecommendationSummary & WithEstimatedSavingsAmount(const Aws::String &value)
AWS_COSTEXPLORER_API SavingsPlansPurchaseRecommendationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SavingsPlansPurchaseRecommendationSummary & WithCurrentOnDemandSpend(const Aws::String &value)
SavingsPlansPurchaseRecommendationSummary & WithHourlyCommitmentToPurchase(const Aws::String &value)
SavingsPlansPurchaseRecommendationSummary & WithCurrentOnDemandSpend(const char *value)
SavingsPlansPurchaseRecommendationSummary & WithEstimatedSavingsPercentage(const char *value)
SavingsPlansPurchaseRecommendationSummary & WithDailyCommitmentToPurchase(Aws::String &&value)
SavingsPlansPurchaseRecommendationSummary & WithEstimatedTotalCost(const Aws::String &value)
SavingsPlansPurchaseRecommendationSummary & WithEstimatedSavingsPercentage(const Aws::String &value)
SavingsPlansPurchaseRecommendationSummary & WithCurrencyCode(const Aws::String &value)
SavingsPlansPurchaseRecommendationSummary & WithTotalRecommendationCount(const char *value)
SavingsPlansPurchaseRecommendationSummary & WithTotalRecommendationCount(Aws::String &&value)
SavingsPlansPurchaseRecommendationSummary & WithEstimatedMonthlySavingsAmount(const Aws::String &value)
SavingsPlansPurchaseRecommendationSummary & WithEstimatedROI(const Aws::String &value)
SavingsPlansPurchaseRecommendationSummary & WithHourlyCommitmentToPurchase(const char *value)
SavingsPlansPurchaseRecommendationSummary & WithDailyCommitmentToPurchase(const Aws::String &value)
SavingsPlansPurchaseRecommendationSummary & WithEstimatedTotalCost(Aws::String &&value)
SavingsPlansPurchaseRecommendationSummary & WithEstimatedROI(const char *value)
SavingsPlansPurchaseRecommendationSummary & WithEstimatedOnDemandCostWithCurrentCommitment(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue