AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RightsizingRecommendationSummary.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
32 {
33 public:
34 AWS_COSTEXPLORER_API RightsizingRecommendationSummary();
37 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetTotalRecommendationCount() const{ return m_totalRecommendationCount; }
45 inline bool TotalRecommendationCountHasBeenSet() const { return m_totalRecommendationCountHasBeenSet; }
46 inline void SetTotalRecommendationCount(const Aws::String& value) { m_totalRecommendationCountHasBeenSet = true; m_totalRecommendationCount = value; }
47 inline void SetTotalRecommendationCount(Aws::String&& value) { m_totalRecommendationCountHasBeenSet = true; m_totalRecommendationCount = std::move(value); }
48 inline void SetTotalRecommendationCount(const char* value) { m_totalRecommendationCountHasBeenSet = true; m_totalRecommendationCount.assign(value); }
53
55
59 inline const Aws::String& GetEstimatedTotalMonthlySavingsAmount() const{ return m_estimatedTotalMonthlySavingsAmount; }
60 inline bool EstimatedTotalMonthlySavingsAmountHasBeenSet() const { return m_estimatedTotalMonthlySavingsAmountHasBeenSet; }
61 inline void SetEstimatedTotalMonthlySavingsAmount(const Aws::String& value) { m_estimatedTotalMonthlySavingsAmountHasBeenSet = true; m_estimatedTotalMonthlySavingsAmount = value; }
62 inline void SetEstimatedTotalMonthlySavingsAmount(Aws::String&& value) { m_estimatedTotalMonthlySavingsAmountHasBeenSet = true; m_estimatedTotalMonthlySavingsAmount = std::move(value); }
63 inline void SetEstimatedTotalMonthlySavingsAmount(const char* value) { m_estimatedTotalMonthlySavingsAmountHasBeenSet = true; m_estimatedTotalMonthlySavingsAmount.assign(value); }
68
70
73 inline const Aws::String& GetSavingsCurrencyCode() const{ return m_savingsCurrencyCode; }
74 inline bool SavingsCurrencyCodeHasBeenSet() const { return m_savingsCurrencyCodeHasBeenSet; }
75 inline void SetSavingsCurrencyCode(const Aws::String& value) { m_savingsCurrencyCodeHasBeenSet = true; m_savingsCurrencyCode = value; }
76 inline void SetSavingsCurrencyCode(Aws::String&& value) { m_savingsCurrencyCodeHasBeenSet = true; m_savingsCurrencyCode = std::move(value); }
77 inline void SetSavingsCurrencyCode(const char* value) { m_savingsCurrencyCodeHasBeenSet = true; m_savingsCurrencyCode.assign(value); }
80 inline RightsizingRecommendationSummary& WithSavingsCurrencyCode(const char* value) { SetSavingsCurrencyCode(value); return *this;}
82
84
88 inline const Aws::String& GetSavingsPercentage() const{ return m_savingsPercentage; }
89 inline bool SavingsPercentageHasBeenSet() const { return m_savingsPercentageHasBeenSet; }
90 inline void SetSavingsPercentage(const Aws::String& value) { m_savingsPercentageHasBeenSet = true; m_savingsPercentage = value; }
91 inline void SetSavingsPercentage(Aws::String&& value) { m_savingsPercentageHasBeenSet = true; m_savingsPercentage = std::move(value); }
92 inline void SetSavingsPercentage(const char* value) { m_savingsPercentageHasBeenSet = true; m_savingsPercentage.assign(value); }
95 inline RightsizingRecommendationSummary& WithSavingsPercentage(const char* value) { SetSavingsPercentage(value); return *this;}
97 private:
98
99 Aws::String m_totalRecommendationCount;
100 bool m_totalRecommendationCountHasBeenSet = false;
101
102 Aws::String m_estimatedTotalMonthlySavingsAmount;
103 bool m_estimatedTotalMonthlySavingsAmountHasBeenSet = false;
104
105 Aws::String m_savingsCurrencyCode;
106 bool m_savingsCurrencyCodeHasBeenSet = false;
107
108 Aws::String m_savingsPercentage;
109 bool m_savingsPercentageHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace CostExplorer
114} // namespace Aws
RightsizingRecommendationSummary & WithEstimatedTotalMonthlySavingsAmount(Aws::String &&value)
RightsizingRecommendationSummary & WithTotalRecommendationCount(const char *value)
RightsizingRecommendationSummary & WithSavingsCurrencyCode(const char *value)
RightsizingRecommendationSummary & WithSavingsPercentage(const Aws::String &value)
RightsizingRecommendationSummary & WithEstimatedTotalMonthlySavingsAmount(const Aws::String &value)
RightsizingRecommendationSummary & WithSavingsPercentage(const char *value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COSTEXPLORER_API RightsizingRecommendationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RightsizingRecommendationSummary & WithTotalRecommendationCount(const Aws::String &value)
RightsizingRecommendationSummary & WithSavingsPercentage(Aws::String &&value)
AWS_COSTEXPLORER_API RightsizingRecommendationSummary(Aws::Utils::Json::JsonView jsonValue)
RightsizingRecommendationSummary & WithSavingsCurrencyCode(Aws::String &&value)
RightsizingRecommendationSummary & WithEstimatedTotalMonthlySavingsAmount(const char *value)
RightsizingRecommendationSummary & WithSavingsCurrencyCode(const Aws::String &value)
RightsizingRecommendationSummary & WithTotalRecommendationCount(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue