7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/Interval.h>
21namespace ApplicationSignals
36 AWS_APPLICATIONSIGNALS_API
Goal();
51 inline void SetInterval(
Interval&& value) { m_intervalHasBeenSet =
true; m_interval = std::move(value); }
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;
89 bool m_attainmentGoalHasBeenSet =
false;
91 double m_warningThreshold;
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 & WithInterval(Interval &&value)
void SetInterval(Interval &&value)
Goal & WithWarningThreshold(double value)
AWS_APPLICATIONSIGNALS_API Goal(Aws::Utils::Json::JsonView jsonValue)
Goal & WithAttainmentGoal(double value)
bool IntervalHasBeenSet() const
double GetAttainmentGoal() const
const Interval & GetInterval() const
void SetInterval(const Interval &value)
AWS_APPLICATIONSIGNALS_API Goal & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONSIGNALS_API Goal()
bool AttainmentGoalHasBeenSet() const
Goal & WithInterval(const Interval &value)
Aws::Utils::Json::JsonValue JsonValue