7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/model/BudgetActionType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
57 inline void SetThresholdPercentage(
double value) { m_thresholdPercentageHasBeenSet =
true; m_thresholdPercentage = value; }
70 template<
typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
72 template<
typename DescriptionT = Aws::String>
78 bool m_typeHasBeenSet =
false;
80 double m_thresholdPercentage{0.0};
81 bool m_thresholdPercentageHasBeenSet =
false;
84 bool m_descriptionHasBeenSet =
false;
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetThresholdPercentage(double value)
double GetThresholdPercentage() const
AWS_DEADLINE_API BudgetActionToAdd(Aws::Utils::Json::JsonView jsonValue)
void SetType(BudgetActionType value)
AWS_DEADLINE_API BudgetActionToAdd()=default
bool ThresholdPercentageHasBeenSet() const
bool TypeHasBeenSet() const
BudgetActionType GetType() const
BudgetActionToAdd & WithThresholdPercentage(double value)
AWS_DEADLINE_API BudgetActionToAdd & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
BudgetActionToAdd & WithDescription(DescriptionT &&value)
BudgetActionToAdd & WithType(BudgetActionType value)
bool DescriptionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue