AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
ActionThreshold.h
1
6#pragma once
7#include <aws/budgets/Budgets_EXPORTS.h>
8#include <aws/budgets/model/ThresholdType.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Budgets {
20namespace Model {
21
28 public:
29 AWS_BUDGETS_API ActionThreshold() = default;
30 AWS_BUDGETS_API ActionThreshold(Aws::Utils::Json::JsonView jsonValue);
32 AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
36 inline double GetActionThresholdValue() const { return m_actionThresholdValue; }
37 inline bool ActionThresholdValueHasBeenSet() const { return m_actionThresholdValueHasBeenSet; }
38 inline void SetActionThresholdValue(double value) {
39 m_actionThresholdValueHasBeenSet = true;
40 m_actionThresholdValue = value;
41 }
44 return *this;
45 }
47
49
50 inline ThresholdType GetActionThresholdType() const { return m_actionThresholdType; }
51 inline bool ActionThresholdTypeHasBeenSet() const { return m_actionThresholdTypeHasBeenSet; }
53 m_actionThresholdTypeHasBeenSet = true;
54 m_actionThresholdType = value;
55 }
58 return *this;
59 }
61 private:
62 double m_actionThresholdValue{0.0};
63
64 ThresholdType m_actionThresholdType{ThresholdType::NOT_SET};
65 bool m_actionThresholdValueHasBeenSet = false;
66 bool m_actionThresholdTypeHasBeenSet = false;
67};
68
69} // namespace Model
70} // namespace Budgets
71} // namespace Aws
AWS_BUDGETS_API ActionThreshold(Aws::Utils::Json::JsonView jsonValue)
AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BUDGETS_API ActionThreshold()=default
AWS_BUDGETS_API ActionThreshold & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetActionThresholdType(ThresholdType value)
ThresholdType GetActionThresholdType() const
ActionThreshold & WithActionThresholdType(ThresholdType value)
ActionThreshold & WithActionThresholdValue(double value)
Aws::Utils::Json::JsonValue JsonValue