AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
37 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const BudgetActionType& GetType() const{ return m_type; }
45 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
46 inline void SetType(const BudgetActionType& value) { m_typeHasBeenSet = true; m_type = value; }
47 inline void SetType(BudgetActionType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
48 inline BudgetActionToRemove& WithType(const BudgetActionType& value) { SetType(value); return *this;}
49 inline BudgetActionToRemove& WithType(BudgetActionType&& value) { SetType(std::move(value)); return *this;}
51
53
56 inline double GetThresholdPercentage() const{ return m_thresholdPercentage; }
57 inline bool ThresholdPercentageHasBeenSet() const { return m_thresholdPercentageHasBeenSet; }
58 inline void SetThresholdPercentage(double value) { m_thresholdPercentageHasBeenSet = true; m_thresholdPercentage = value; }
59 inline BudgetActionToRemove& WithThresholdPercentage(double value) { SetThresholdPercentage(value); return *this;}
61 private:
62
63 BudgetActionType m_type;
64 bool m_typeHasBeenSet = false;
65
66 double m_thresholdPercentage;
67 bool m_thresholdPercentageHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace deadline
72} // namespace Aws
void SetType(const BudgetActionType &value)
const BudgetActionType & GetType() const
BudgetActionToRemove & WithType(const BudgetActionType &value)
BudgetActionToRemove & WithThresholdPercentage(double value)
BudgetActionToRemove & WithType(BudgetActionType &&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::Utils::Json::JsonValue JsonValue