AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Impact.h
1
6#pragma once
7#include <aws/ce/CostExplorer_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 CostExplorer
20{
21namespace Model
22{
23
29 class Impact
30 {
31 public:
32 AWS_COSTEXPLORER_API Impact();
33 AWS_COSTEXPLORER_API Impact(Aws::Utils::Json::JsonView jsonValue);
34 AWS_COSTEXPLORER_API Impact& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline double GetMaxImpact() const{ return m_maxImpact; }
43 inline bool MaxImpactHasBeenSet() const { return m_maxImpactHasBeenSet; }
44 inline void SetMaxImpact(double value) { m_maxImpactHasBeenSet = true; m_maxImpact = value; }
45 inline Impact& WithMaxImpact(double value) { SetMaxImpact(value); return *this;}
47
49
54 inline double GetTotalImpact() const{ return m_totalImpact; }
55 inline bool TotalImpactHasBeenSet() const { return m_totalImpactHasBeenSet; }
56 inline void SetTotalImpact(double value) { m_totalImpactHasBeenSet = true; m_totalImpact = value; }
57 inline Impact& WithTotalImpact(double value) { SetTotalImpact(value); return *this;}
59
61
64 inline double GetTotalActualSpend() const{ return m_totalActualSpend; }
65 inline bool TotalActualSpendHasBeenSet() const { return m_totalActualSpendHasBeenSet; }
66 inline void SetTotalActualSpend(double value) { m_totalActualSpendHasBeenSet = true; m_totalActualSpend = value; }
67 inline Impact& WithTotalActualSpend(double value) { SetTotalActualSpend(value); return *this;}
69
71
76 inline double GetTotalExpectedSpend() const{ return m_totalExpectedSpend; }
77 inline bool TotalExpectedSpendHasBeenSet() const { return m_totalExpectedSpendHasBeenSet; }
78 inline void SetTotalExpectedSpend(double value) { m_totalExpectedSpendHasBeenSet = true; m_totalExpectedSpend = value; }
79 inline Impact& WithTotalExpectedSpend(double value) { SetTotalExpectedSpend(value); return *this;}
81
83
90 inline double GetTotalImpactPercentage() const{ return m_totalImpactPercentage; }
91 inline bool TotalImpactPercentageHasBeenSet() const { return m_totalImpactPercentageHasBeenSet; }
92 inline void SetTotalImpactPercentage(double value) { m_totalImpactPercentageHasBeenSet = true; m_totalImpactPercentage = value; }
93 inline Impact& WithTotalImpactPercentage(double value) { SetTotalImpactPercentage(value); return *this;}
95 private:
96
97 double m_maxImpact;
98 bool m_maxImpactHasBeenSet = false;
99
100 double m_totalImpact;
101 bool m_totalImpactHasBeenSet = false;
102
103 double m_totalActualSpend;
104 bool m_totalActualSpendHasBeenSet = false;
105
106 double m_totalExpectedSpend;
107 bool m_totalExpectedSpendHasBeenSet = false;
108
109 double m_totalImpactPercentage;
110 bool m_totalImpactPercentageHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace CostExplorer
115} // namespace Aws
void SetTotalActualSpend(double value)
Definition Impact.h:66
double GetTotalActualSpend() const
Definition Impact.h:64
void SetTotalImpactPercentage(double value)
Definition Impact.h:92
Impact & WithTotalActualSpend(double value)
Definition Impact.h:67
double GetMaxImpact() const
Definition Impact.h:42
Impact & WithTotalImpact(double value)
Definition Impact.h:57
Impact & WithMaxImpact(double value)
Definition Impact.h:45
Impact & WithTotalExpectedSpend(double value)
Definition Impact.h:79
double GetTotalImpactPercentage() const
Definition Impact.h:90
double GetTotalExpectedSpend() const
Definition Impact.h:76
bool TotalImpactPercentageHasBeenSet() const
Definition Impact.h:91
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COSTEXPLORER_API Impact & operator=(Aws::Utils::Json::JsonView jsonValue)
Impact & WithTotalImpactPercentage(double value)
Definition Impact.h:93
void SetMaxImpact(double value)
Definition Impact.h:44
double GetTotalImpact() const
Definition Impact.h:54
void SetTotalImpact(double value)
Definition Impact.h:56
void SetTotalExpectedSpend(double value)
Definition Impact.h:78
bool TotalImpactHasBeenSet() const
Definition Impact.h:55
bool TotalActualSpendHasBeenSet() const
Definition Impact.h:65
bool TotalExpectedSpendHasBeenSet() const
Definition Impact.h:77
bool MaxImpactHasBeenSet() const
Definition Impact.h:43
AWS_COSTEXPLORER_API Impact(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_API Impact()
Aws::Utils::Json::JsonValue JsonValue