7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/Interval.h>
19namespace ApplicationSignals {
31 AWS_APPLICATIONSIGNALS_API
Goal() =
default;
44 template <
typename IntervalT = Interval>
46 m_intervalHasBeenSet =
true;
47 m_interval = std::forward<IntervalT>(value);
49 template <
typename IntervalT = Interval>
70 m_attainmentGoalHasBeenSet =
true;
71 m_attainmentGoal = value;
87 m_warningThresholdHasBeenSet =
true;
88 m_warningThreshold = value;
97 bool m_intervalHasBeenSet =
false;
99 double m_attainmentGoal{0.0};
100 bool m_attainmentGoalHasBeenSet =
false;
102 double m_warningThreshold{0.0};
103 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