AWS SDK for C++

AWS SDK for C++ Version 1.11.687

Loading...
Searching...
No Matches
BudgetActionToRemove.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/model/BudgetActionType.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace deadline {
20namespace Model {
21
28 public:
29 AWS_DEADLINE_API BudgetActionToRemove() = default;
32 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline BudgetActionType GetType() const { return m_type; }
39 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
40 inline void SetType(BudgetActionType value) {
41 m_typeHasBeenSet = true;
42 m_type = value;
43 }
45 SetType(value);
46 return *this;
47 }
49
51
54 inline double GetThresholdPercentage() const { return m_thresholdPercentage; }
55 inline bool ThresholdPercentageHasBeenSet() const { return m_thresholdPercentageHasBeenSet; }
56 inline void SetThresholdPercentage(double value) {
57 m_thresholdPercentageHasBeenSet = true;
58 m_thresholdPercentage = value;
59 }
62 return *this;
63 }
65 private:
67 bool m_typeHasBeenSet = false;
68
69 double m_thresholdPercentage{0.0};
70 bool m_thresholdPercentageHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace deadline
75} // namespace Aws
BudgetActionToRemove & WithType(BudgetActionType value)
BudgetActionToRemove & WithThresholdPercentage(double value)
AWS_DEADLINE_API BudgetActionToRemove & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEADLINE_API BudgetActionToRemove(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API BudgetActionToRemove()=default
Aws::Utils::Json::JsonValue JsonValue