AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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#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
34 {
35 public:
36 AWS_COSTEXPLORER_API ReservationPurchaseRecommendationSummary() = default;
39 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetTotalEstimatedMonthlySavingsAmount() const { return m_totalEstimatedMonthlySavingsAmount; }
48 inline bool TotalEstimatedMonthlySavingsAmountHasBeenSet() const { return m_totalEstimatedMonthlySavingsAmountHasBeenSet; }
49 template<typename TotalEstimatedMonthlySavingsAmountT = Aws::String>
50 void SetTotalEstimatedMonthlySavingsAmount(TotalEstimatedMonthlySavingsAmountT&& value) { m_totalEstimatedMonthlySavingsAmountHasBeenSet = true; m_totalEstimatedMonthlySavingsAmount = std::forward<TotalEstimatedMonthlySavingsAmountT>(value); }
51 template<typename TotalEstimatedMonthlySavingsAmountT = Aws::String>
52 ReservationPurchaseRecommendationSummary& WithTotalEstimatedMonthlySavingsAmount(TotalEstimatedMonthlySavingsAmountT&& value) { SetTotalEstimatedMonthlySavingsAmount(std::forward<TotalEstimatedMonthlySavingsAmountT>(value)); return *this;}
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) { m_totalEstimatedMonthlySavingsPercentageHasBeenSet = true; m_totalEstimatedMonthlySavingsPercentage = std::forward<TotalEstimatedMonthlySavingsPercentageT>(value); }
64 template<typename TotalEstimatedMonthlySavingsPercentageT = Aws::String>
65 ReservationPurchaseRecommendationSummary& WithTotalEstimatedMonthlySavingsPercentage(TotalEstimatedMonthlySavingsPercentageT&& value) { SetTotalEstimatedMonthlySavingsPercentage(std::forward<TotalEstimatedMonthlySavingsPercentageT>(value)); return *this;}
67
69
72 inline const Aws::String& GetCurrencyCode() const { return m_currencyCode; }
73 inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
74 template<typename CurrencyCodeT = Aws::String>
75 void SetCurrencyCode(CurrencyCodeT&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::forward<CurrencyCodeT>(value); }
76 template<typename CurrencyCodeT = Aws::String>
77 ReservationPurchaseRecommendationSummary& WithCurrencyCode(CurrencyCodeT&& value) { SetCurrencyCode(std::forward<CurrencyCodeT>(value)); return *this;}
79 private:
80
81 Aws::String m_totalEstimatedMonthlySavingsAmount;
82 bool m_totalEstimatedMonthlySavingsAmountHasBeenSet = false;
83
84 Aws::String m_totalEstimatedMonthlySavingsPercentage;
85 bool m_totalEstimatedMonthlySavingsPercentageHasBeenSet = false;
86
87 Aws::String m_currencyCode;
88 bool m_currencyCodeHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace CostExplorer
93} // 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