AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const ThresholdType& GetActionThresholdType() const{ return m_actionThresholdType; }
51 inline bool ActionThresholdTypeHasBeenSet() const { return m_actionThresholdTypeHasBeenSet; }
52 inline void SetActionThresholdType(const ThresholdType& value) { m_actionThresholdTypeHasBeenSet = true; m_actionThresholdType = value; }
53 inline void SetActionThresholdType(ThresholdType&& value) { m_actionThresholdTypeHasBeenSet = true; m_actionThresholdType = std::move(value); }
54 inline ActionThreshold& WithActionThresholdType(const ThresholdType& value) { SetActionThresholdType(value); return *this;}
55 inline ActionThreshold& WithActionThresholdType(ThresholdType&& value) { SetActionThresholdType(std::move(value)); return *this;}
57 private:
58
59 double m_actionThresholdValue;
60 bool m_actionThresholdValueHasBeenSet = false;
61
62 ThresholdType m_actionThresholdType;
63 bool m_actionThresholdTypeHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace Budgets
68} // namespace Aws
AWS_BUDGETS_API ActionThreshold(Aws::Utils::Json::JsonView jsonValue)
AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const
ActionThreshold & WithActionThresholdType(ThresholdType &&value)
AWS_BUDGETS_API ActionThreshold & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionThreshold & WithActionThresholdType(const ThresholdType &value)
void SetActionThresholdType(const ThresholdType &value)
const ThresholdType & GetActionThresholdType() const
void SetActionThresholdType(ThresholdType &&value)
ActionThreshold & WithActionThresholdValue(double value)
Aws::Utils::Json::JsonValue JsonValue