AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LambdaSavingsOpportunityAfterDiscounts.h
1
6#pragma once
7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/LambdaEstimatedMonthlySavings.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 ComputeOptimizer
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_COMPUTEOPTIMIZER_API LambdaSavingsOpportunityAfterDiscounts();
41 AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline double GetSavingsOpportunityPercentage() const{ return m_savingsOpportunityPercentage; }
51 inline bool SavingsOpportunityPercentageHasBeenSet() const { return m_savingsOpportunityPercentageHasBeenSet; }
52 inline void SetSavingsOpportunityPercentage(double value) { m_savingsOpportunityPercentageHasBeenSet = true; m_savingsOpportunityPercentage = value; }
55
57
62 inline const LambdaEstimatedMonthlySavings& GetEstimatedMonthlySavings() const{ return m_estimatedMonthlySavings; }
63 inline bool EstimatedMonthlySavingsHasBeenSet() const { return m_estimatedMonthlySavingsHasBeenSet; }
64 inline void SetEstimatedMonthlySavings(const LambdaEstimatedMonthlySavings& value) { m_estimatedMonthlySavingsHasBeenSet = true; m_estimatedMonthlySavings = value; }
65 inline void SetEstimatedMonthlySavings(LambdaEstimatedMonthlySavings&& value) { m_estimatedMonthlySavingsHasBeenSet = true; m_estimatedMonthlySavings = std::move(value); }
69 private:
70
71 double m_savingsOpportunityPercentage;
72 bool m_savingsOpportunityPercentageHasBeenSet = false;
73
74 LambdaEstimatedMonthlySavings m_estimatedMonthlySavings;
75 bool m_estimatedMonthlySavingsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace ComputeOptimizer
80} // namespace Aws
AWS_COMPUTEOPTIMIZER_API LambdaSavingsOpportunityAfterDiscounts & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
LambdaSavingsOpportunityAfterDiscounts & WithEstimatedMonthlySavings(const LambdaEstimatedMonthlySavings &value)
AWS_COMPUTEOPTIMIZER_API LambdaSavingsOpportunityAfterDiscounts(Aws::Utils::Json::JsonView jsonValue)
LambdaSavingsOpportunityAfterDiscounts & WithSavingsOpportunityPercentage(double value)
LambdaSavingsOpportunityAfterDiscounts & WithEstimatedMonthlySavings(LambdaEstimatedMonthlySavings &&value)
Aws::Utils::Json::JsonValue JsonValue