7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/Interval.h>
21namespace ApplicationSignals
36 AWS_APPLICATIONSIGNALS_API
Goal() =
default;
50 template<
typename IntervalT = Interval>
51 void SetInterval(IntervalT&& value) { m_intervalHasBeenSet =
true; m_interval = std::forward<IntervalT>(value); }
52 template<
typename IntervalT = Interval>
69 inline void SetAttainmentGoal(
double value) { m_attainmentGoalHasBeenSet =
true; m_attainmentGoal = value; }
80 inline void SetWarningThreshold(
double value) { m_warningThresholdHasBeenSet =
true; m_warningThreshold = value; }
86 bool m_intervalHasBeenSet =
false;
88 double m_attainmentGoal{0.0};
89 bool m_attainmentGoalHasBeenSet =
false;
91 double m_warningThreshold{0.0};
92 bool m_warningThresholdHasBeenSet =
false;
void SetWarningThreshold(double value)
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAttainmentGoal(double value)
double GetWarningThreshold() const
bool WarningThresholdHasBeenSet() const
Goal & WithWarningThreshold(double value)
AWS_APPLICATIONSIGNALS_API Goal(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONSIGNALS_API Goal()=default
Goal & WithAttainmentGoal(double value)
Goal & WithInterval(IntervalT &&value)
bool IntervalHasBeenSet() const
double GetAttainmentGoal() const
const Interval & GetInterval() const
void SetInterval(IntervalT &&value)
AWS_APPLICATIONSIGNALS_API Goal & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AttainmentGoalHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue