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; }
69 template<
typename DescriptionT = Aws::String>
70 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
71 template<
typename DescriptionT = Aws::String>
77 bool m_typeHasBeenSet =
false;
79 double m_thresholdPercentage{0.0};
80 bool m_thresholdPercentageHasBeenSet =
false;
83 bool m_descriptionHasBeenSet =
false;
ResponseBudgetAction & WithType(BudgetActionType value)
const Aws::String & GetDescription() const
AWS_DEADLINE_API ResponseBudgetAction()=default
BudgetActionType GetType() const
bool TypeHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetThresholdPercentage(double value)
void SetType(BudgetActionType value)
AWS_DEADLINE_API ResponseBudgetAction(Aws::Utils::Json::JsonView jsonValue)
bool DescriptionHasBeenSet() const
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
ResponseBudgetAction & WithThresholdPercentage(double value)
ResponseBudgetAction & WithDescription(DescriptionT &&value)
bool ThresholdPercentageHasBeenSet() const
AWS_DEADLINE_API ResponseBudgetAction & operator=(Aws::Utils::Json::JsonView jsonValue)
double GetThresholdPercentage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue