AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
RecommendationCostOptimizingAggregates.h
1
6#pragma once
7#include <aws/trustedadvisor/TrustedAdvisor_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace TrustedAdvisor {
17namespace Model {
18
25 public:
26 AWS_TRUSTEDADVISOR_API RecommendationCostOptimizingAggregates() = default;
29 AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline double GetEstimatedMonthlySavings() const { return m_estimatedMonthlySavings; }
36 inline bool EstimatedMonthlySavingsHasBeenSet() const { return m_estimatedMonthlySavingsHasBeenSet; }
37 inline void SetEstimatedMonthlySavings(double value) {
38 m_estimatedMonthlySavingsHasBeenSet = true;
39 m_estimatedMonthlySavings = value;
40 }
46
48
51 inline double GetEstimatedPercentMonthlySavings() const { return m_estimatedPercentMonthlySavings; }
52 inline bool EstimatedPercentMonthlySavingsHasBeenSet() const { return m_estimatedPercentMonthlySavingsHasBeenSet; }
53 inline void SetEstimatedPercentMonthlySavings(double value) {
54 m_estimatedPercentMonthlySavingsHasBeenSet = true;
55 m_estimatedPercentMonthlySavings = value;
56 }
62 private:
63 double m_estimatedMonthlySavings{0.0};
64
65 double m_estimatedPercentMonthlySavings{0.0};
66 bool m_estimatedMonthlySavingsHasBeenSet = false;
67 bool m_estimatedPercentMonthlySavingsHasBeenSet = false;
68};
69
70} // namespace Model
71} // namespace TrustedAdvisor
72} // namespace Aws
AWS_TRUSTEDADVISOR_API RecommendationCostOptimizingAggregates & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const
RecommendationCostOptimizingAggregates & WithEstimatedMonthlySavings(double value)
AWS_TRUSTEDADVISOR_API RecommendationCostOptimizingAggregates()=default
AWS_TRUSTEDADVISOR_API RecommendationCostOptimizingAggregates(Aws::Utils::Json::JsonView jsonValue)
RecommendationCostOptimizingAggregates & WithEstimatedPercentMonthlySavings(double value)
Aws::Utils::Json::JsonValue JsonValue