AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#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 Budgets
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_BUDGETS_API ActionThreshold() = default;
35 AWS_BUDGETS_API ActionThreshold(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
42 inline double GetActionThresholdValue() const { return m_actionThresholdValue; }
43 inline bool ActionThresholdValueHasBeenSet() const { return m_actionThresholdValueHasBeenSet; }
44 inline void SetActionThresholdValue(double value) { m_actionThresholdValueHasBeenSet = true; m_actionThresholdValue = value; }
45 inline ActionThreshold& WithActionThresholdValue(double value) { SetActionThresholdValue(value); return *this;}
47
49
50 inline ThresholdType GetActionThresholdType() const { return m_actionThresholdType; }
51 inline bool ActionThresholdTypeHasBeenSet() const { return m_actionThresholdTypeHasBeenSet; }
52 inline void SetActionThresholdType(ThresholdType value) { m_actionThresholdTypeHasBeenSet = true; m_actionThresholdType = value; }
55 private:
56
57 double m_actionThresholdValue{0.0};
58 bool m_actionThresholdValueHasBeenSet = false;
59
60 ThresholdType m_actionThresholdType{ThresholdType::NOT_SET};
61 bool m_actionThresholdTypeHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace Budgets
66} // 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