AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
LambdaEstimatedMonthlySavings.h
1
6#pragma once
7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/Currency.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ComputeOptimizer {
20namespace Model {
21
30 public:
31 AWS_COMPUTEOPTIMIZER_API LambdaEstimatedMonthlySavings() = default;
32 AWS_COMPUTEOPTIMIZER_API LambdaEstimatedMonthlySavings(Aws::Utils::Json::JsonView jsonValue);
34 AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline Currency GetCurrency() const { return m_currency; }
41 inline bool CurrencyHasBeenSet() const { return m_currencyHasBeenSet; }
42 inline void SetCurrency(Currency value) {
43 m_currencyHasBeenSet = true;
44 m_currency = value;
45 }
47 SetCurrency(value);
48 return *this;
49 }
51
53
56 inline double GetValue() const { return m_value; }
57 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
58 inline void SetValue(double value) {
59 m_valueHasBeenSet = true;
60 m_value = value;
61 }
63 SetValue(value);
64 return *this;
65 }
67 private:
68 Currency m_currency{Currency::NOT_SET};
69
70 double m_value{0.0};
71 bool m_currencyHasBeenSet = false;
72 bool m_valueHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace ComputeOptimizer
77} // namespace Aws
AWS_COMPUTEOPTIMIZER_API LambdaEstimatedMonthlySavings(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPUTEOPTIMIZER_API LambdaEstimatedMonthlySavings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPUTEOPTIMIZER_API LambdaEstimatedMonthlySavings()=default
Aws::Utils::Json::JsonValue JsonValue