AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetTotalEstimatedMonthlySavingsAmount(const Aws::String& value) { m_totalEstimatedMonthlySavingsAmountHasBeenSet = true; m_totalEstimatedMonthlySavingsAmount = value; }
50 inline void SetTotalEstimatedMonthlySavingsAmount(Aws::String&& value) { m_totalEstimatedMonthlySavingsAmountHasBeenSet = true; m_totalEstimatedMonthlySavingsAmount = std::move(value); }
51 inline void SetTotalEstimatedMonthlySavingsAmount(const char* value) { m_totalEstimatedMonthlySavingsAmountHasBeenSet = true; m_totalEstimatedMonthlySavingsAmount.assign(value); }
56
58
62 inline const Aws::String& GetTotalEstimatedMonthlySavingsPercentage() const{ return m_totalEstimatedMonthlySavingsPercentage; }
63 inline bool TotalEstimatedMonthlySavingsPercentageHasBeenSet() const { return m_totalEstimatedMonthlySavingsPercentageHasBeenSet; }
64 inline void SetTotalEstimatedMonthlySavingsPercentage(const Aws::String& value) { m_totalEstimatedMonthlySavingsPercentageHasBeenSet = true; m_totalEstimatedMonthlySavingsPercentage = value; }
65 inline void SetTotalEstimatedMonthlySavingsPercentage(Aws::String&& value) { m_totalEstimatedMonthlySavingsPercentageHasBeenSet = true; m_totalEstimatedMonthlySavingsPercentage = std::move(value); }
66 inline void SetTotalEstimatedMonthlySavingsPercentage(const char* value) { m_totalEstimatedMonthlySavingsPercentageHasBeenSet = true; m_totalEstimatedMonthlySavingsPercentage.assign(value); }
71
73
76 inline const Aws::String& GetCurrencyCode() const{ return m_currencyCode; }
77 inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
78 inline void SetCurrencyCode(const Aws::String& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = value; }
79 inline void SetCurrencyCode(Aws::String&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::move(value); }
80 inline void SetCurrencyCode(const char* value) { m_currencyCodeHasBeenSet = true; m_currencyCode.assign(value); }
82 inline ReservationPurchaseRecommendationSummary& WithCurrencyCode(Aws::String&& value) { SetCurrencyCode(std::move(value)); return *this;}
83 inline ReservationPurchaseRecommendationSummary& WithCurrencyCode(const char* value) { SetCurrencyCode(value); return *this;}
85 private:
86
87 Aws::String m_totalEstimatedMonthlySavingsAmount;
88 bool m_totalEstimatedMonthlySavingsAmountHasBeenSet = false;
89
90 Aws::String m_totalEstimatedMonthlySavingsPercentage;
91 bool m_totalEstimatedMonthlySavingsPercentageHasBeenSet = false;
92
93 Aws::String m_currencyCode;
94 bool m_currencyCodeHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace CostExplorer
99} // namespace Aws
ReservationPurchaseRecommendationSummary & WithTotalEstimatedMonthlySavingsPercentage(const Aws::String &value)
ReservationPurchaseRecommendationSummary & WithTotalEstimatedMonthlySavingsAmount(Aws::String &&value)
AWS_COSTEXPLORER_API ReservationPurchaseRecommendationSummary(Aws::Utils::Json::JsonView jsonValue)
ReservationPurchaseRecommendationSummary & WithTotalEstimatedMonthlySavingsPercentage(Aws::String &&value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
ReservationPurchaseRecommendationSummary & WithCurrencyCode(const Aws::String &value)
ReservationPurchaseRecommendationSummary & WithTotalEstimatedMonthlySavingsAmount(const Aws::String &value)
ReservationPurchaseRecommendationSummary & WithCurrencyCode(const char *value)
ReservationPurchaseRecommendationSummary & WithTotalEstimatedMonthlySavingsAmount(const char *value)
ReservationPurchaseRecommendationSummary & WithCurrencyCode(Aws::String &&value)
ReservationPurchaseRecommendationSummary & WithTotalEstimatedMonthlySavingsPercentage(const char *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