AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EBSEstimatedMonthlySavings.h
1
6#pragma once
7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/Currency.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
34 {
35 public:
36 AWS_COMPUTEOPTIMIZER_API EBSEstimatedMonthlySavings();
37 AWS_COMPUTEOPTIMIZER_API EBSEstimatedMonthlySavings(Aws::Utils::Json::JsonView jsonValue);
39 AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Currency& GetCurrency() const{ return m_currency; }
47 inline bool CurrencyHasBeenSet() const { return m_currencyHasBeenSet; }
48 inline void SetCurrency(const Currency& value) { m_currencyHasBeenSet = true; m_currency = value; }
49 inline void SetCurrency(Currency&& value) { m_currencyHasBeenSet = true; m_currency = std::move(value); }
50 inline EBSEstimatedMonthlySavings& WithCurrency(const Currency& value) { SetCurrency(value); return *this;}
51 inline EBSEstimatedMonthlySavings& WithCurrency(Currency&& value) { SetCurrency(std::move(value)); return *this;}
53
55
58 inline double GetValue() const{ return m_value; }
59 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
60 inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; }
61 inline EBSEstimatedMonthlySavings& WithValue(double value) { SetValue(value); return *this;}
63 private:
64
65 Currency m_currency;
66 bool m_currencyHasBeenSet = false;
67
68 double m_value;
69 bool m_valueHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace ComputeOptimizer
74} // namespace Aws
AWS_COMPUTEOPTIMIZER_API EBSEstimatedMonthlySavings & operator=(Aws::Utils::Json::JsonView jsonValue)
EBSEstimatedMonthlySavings & WithCurrency(Currency &&value)
EBSEstimatedMonthlySavings & WithCurrency(const Currency &value)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPUTEOPTIMIZER_API EBSEstimatedMonthlySavings(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue