AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SavingsPlansPricing.h
1
6#pragma once
7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CostOptimizationHub
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_COSTOPTIMIZATIONHUB_API SavingsPlansPricing();
33 AWS_COSTOPTIMIZATIONHUB_API SavingsPlansPricing(Aws::Utils::Json::JsonView jsonValue);
34 AWS_COSTOPTIMIZATIONHUB_API SavingsPlansPricing& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline double GetMonthlySavingsPlansEligibleCost() const{ return m_monthlySavingsPlansEligibleCost; }
43 inline bool MonthlySavingsPlansEligibleCostHasBeenSet() const { return m_monthlySavingsPlansEligibleCostHasBeenSet; }
44 inline void SetMonthlySavingsPlansEligibleCost(double value) { m_monthlySavingsPlansEligibleCostHasBeenSet = true; m_monthlySavingsPlansEligibleCost = value; }
47
49
52 inline double GetEstimatedMonthlyCommitment() const{ return m_estimatedMonthlyCommitment; }
53 inline bool EstimatedMonthlyCommitmentHasBeenSet() const { return m_estimatedMonthlyCommitmentHasBeenSet; }
54 inline void SetEstimatedMonthlyCommitment(double value) { m_estimatedMonthlyCommitmentHasBeenSet = true; m_estimatedMonthlyCommitment = value; }
57
59
63 inline double GetSavingsPercentage() const{ return m_savingsPercentage; }
64 inline bool SavingsPercentageHasBeenSet() const { return m_savingsPercentageHasBeenSet; }
65 inline void SetSavingsPercentage(double value) { m_savingsPercentageHasBeenSet = true; m_savingsPercentage = value; }
66 inline SavingsPlansPricing& WithSavingsPercentage(double value) { SetSavingsPercentage(value); return *this;}
68
70
73 inline double GetEstimatedOnDemandCost() const{ return m_estimatedOnDemandCost; }
74 inline bool EstimatedOnDemandCostHasBeenSet() const { return m_estimatedOnDemandCostHasBeenSet; }
75 inline void SetEstimatedOnDemandCost(double value) { m_estimatedOnDemandCostHasBeenSet = true; m_estimatedOnDemandCost = value; }
76 inline SavingsPlansPricing& WithEstimatedOnDemandCost(double value) { SetEstimatedOnDemandCost(value); return *this;}
78 private:
79
80 double m_monthlySavingsPlansEligibleCost;
81 bool m_monthlySavingsPlansEligibleCostHasBeenSet = false;
82
83 double m_estimatedMonthlyCommitment;
84 bool m_estimatedMonthlyCommitmentHasBeenSet = false;
85
86 double m_savingsPercentage;
87 bool m_savingsPercentageHasBeenSet = false;
88
89 double m_estimatedOnDemandCost;
90 bool m_estimatedOnDemandCostHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace CostOptimizationHub
95} // namespace Aws
AWS_COSTOPTIMIZATIONHUB_API SavingsPlansPricing()
SavingsPlansPricing & WithEstimatedOnDemandCost(double value)
SavingsPlansPricing & WithEstimatedMonthlyCommitment(double value)
SavingsPlansPricing & WithMonthlySavingsPlansEligibleCost(double value)
SavingsPlansPricing & WithSavingsPercentage(double value)
AWS_COSTOPTIMIZATIONHUB_API SavingsPlansPricing & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTOPTIMIZATIONHUB_API SavingsPlansPricing(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue