AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ReservationPurchaseRecommendationSummary.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
30 public:
31 AWS_COSTEXPLORER_API ReservationPurchaseRecommendationSummary() = default;
34 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetTotalEstimatedMonthlySavingsAmount() const { return m_totalEstimatedMonthlySavingsAmount; }
42 inline bool TotalEstimatedMonthlySavingsAmountHasBeenSet() const { return m_totalEstimatedMonthlySavingsAmountHasBeenSet; }
43 template <typename TotalEstimatedMonthlySavingsAmountT = Aws::String>
44 void SetTotalEstimatedMonthlySavingsAmount(TotalEstimatedMonthlySavingsAmountT&& value) {
45 m_totalEstimatedMonthlySavingsAmountHasBeenSet = true;
46 m_totalEstimatedMonthlySavingsAmount = std::forward<TotalEstimatedMonthlySavingsAmountT>(value);
47 }
48 template <typename TotalEstimatedMonthlySavingsAmountT = Aws::String>
50 SetTotalEstimatedMonthlySavingsAmount(std::forward<TotalEstimatedMonthlySavingsAmountT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetTotalEstimatedMonthlySavingsPercentage() const { return m_totalEstimatedMonthlySavingsPercentage; }
61 inline bool TotalEstimatedMonthlySavingsPercentageHasBeenSet() const { return m_totalEstimatedMonthlySavingsPercentageHasBeenSet; }
62 template <typename TotalEstimatedMonthlySavingsPercentageT = Aws::String>
63 void SetTotalEstimatedMonthlySavingsPercentage(TotalEstimatedMonthlySavingsPercentageT&& value) {
64 m_totalEstimatedMonthlySavingsPercentageHasBeenSet = true;
65 m_totalEstimatedMonthlySavingsPercentage = std::forward<TotalEstimatedMonthlySavingsPercentageT>(value);
66 }
67 template <typename TotalEstimatedMonthlySavingsPercentageT = Aws::String>
69 SetTotalEstimatedMonthlySavingsPercentage(std::forward<TotalEstimatedMonthlySavingsPercentageT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetCurrencyCode() const { return m_currencyCode; }
79 inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
80 template <typename CurrencyCodeT = Aws::String>
81 void SetCurrencyCode(CurrencyCodeT&& value) {
82 m_currencyCodeHasBeenSet = true;
83 m_currencyCode = std::forward<CurrencyCodeT>(value);
84 }
85 template <typename CurrencyCodeT = Aws::String>
87 SetCurrencyCode(std::forward<CurrencyCodeT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_totalEstimatedMonthlySavingsAmount;
93
94 Aws::String m_totalEstimatedMonthlySavingsPercentage;
95
96 Aws::String m_currencyCode;
97 bool m_totalEstimatedMonthlySavingsAmountHasBeenSet = false;
98 bool m_totalEstimatedMonthlySavingsPercentageHasBeenSet = false;
99 bool m_currencyCodeHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace CostExplorer
104} // namespace Aws
void SetTotalEstimatedMonthlySavingsPercentage(TotalEstimatedMonthlySavingsPercentageT &&value)
ReservationPurchaseRecommendationSummary & WithTotalEstimatedMonthlySavingsPercentage(TotalEstimatedMonthlySavingsPercentageT &&value)
AWS_COSTEXPLORER_API ReservationPurchaseRecommendationSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
ReservationPurchaseRecommendationSummary & WithTotalEstimatedMonthlySavingsAmount(TotalEstimatedMonthlySavingsAmountT &&value)
ReservationPurchaseRecommendationSummary & WithCurrencyCode(CurrencyCodeT &&value)
AWS_COSTEXPLORER_API ReservationPurchaseRecommendationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue