AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#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 deadline
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_DEADLINE_API BudgetActionToRemove() = default;
37 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline BudgetActionType GetType() const { return m_type; }
45 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
46 inline void SetType(BudgetActionType value) { m_typeHasBeenSet = true; m_type = value; }
47 inline BudgetActionToRemove& WithType(BudgetActionType value) { SetType(value); return *this;}
49
51
54 inline double GetThresholdPercentage() const { return m_thresholdPercentage; }
55 inline bool ThresholdPercentageHasBeenSet() const { return m_thresholdPercentageHasBeenSet; }
56 inline void SetThresholdPercentage(double value) { m_thresholdPercentageHasBeenSet = true; m_thresholdPercentage = value; }
57 inline BudgetActionToRemove& WithThresholdPercentage(double value) { SetThresholdPercentage(value); return *this;}
59 private:
60
62 bool m_typeHasBeenSet = false;
63
64 double m_thresholdPercentage{0.0};
65 bool m_thresholdPercentageHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace deadline
70} // 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