AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
RootCauseImpact.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace CostExplorer {
17namespace Model {
18
25 public:
26 AWS_COSTEXPLORER_API RootCauseImpact() = default;
27 AWS_COSTEXPLORER_API RootCauseImpact(Aws::Utils::Json::JsonView jsonValue);
28 AWS_COSTEXPLORER_API RootCauseImpact& operator=(Aws::Utils::Json::JsonView jsonValue);
29 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
36 inline double GetContribution() const { return m_contribution; }
37 inline bool ContributionHasBeenSet() const { return m_contributionHasBeenSet; }
38 inline void SetContribution(double value) {
39 m_contributionHasBeenSet = true;
40 m_contribution = value;
41 }
42 inline RootCauseImpact& WithContribution(double value) {
43 SetContribution(value);
44 return *this;
45 }
47 private:
48 double m_contribution{0.0};
49 bool m_contributionHasBeenSet = false;
50};
51
52} // namespace Model
53} // namespace CostExplorer
54} // namespace Aws
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COSTEXPLORER_API RootCauseImpact(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_API RootCauseImpact & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_API RootCauseImpact()=default
RootCauseImpact & WithContribution(double value)
Aws::Utils::Json::JsonValue JsonValue