7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/ServiceLevelIndicatorMetric.h>
9#include <aws/application-signals/model/ServiceLevelIndicatorComparisonOperator.h>
22namespace ApplicationSignals
49 template<
typename SliMetricT = ServiceLevelIndicatorMetric>
50 void SetSliMetric(SliMetricT&& value) { m_sliMetricHasBeenSet =
true; m_sliMetric = std::forward<SliMetricT>(value); }
51 template<
typename SliMetricT = ServiceLevelIndicatorMetric>
61 inline void SetMetricThreshold(
double value) { m_metricThresholdHasBeenSet =
true; m_metricThreshold = value; }
78 bool m_sliMetricHasBeenSet =
false;
80 double m_metricThreshold{0.0};
81 bool m_metricThresholdHasBeenSet =
false;
84 bool m_comparisonOperatorHasBeenSet =
false;
const ServiceLevelIndicatorMetric & GetSliMetric() const
bool MetricThresholdHasBeenSet() const
ServiceLevelIndicator & WithSliMetric(SliMetricT &&value)
AWS_APPLICATIONSIGNALS_API ServiceLevelIndicator(Aws::Utils::Json::JsonView jsonValue)
bool ComparisonOperatorHasBeenSet() const
AWS_APPLICATIONSIGNALS_API ServiceLevelIndicator & operator=(Aws::Utils::Json::JsonView jsonValue)
double GetMetricThreshold() const
void SetMetricThreshold(double value)
ServiceLevelIndicator & WithComparisonOperator(ServiceLevelIndicatorComparisonOperator value)
void SetComparisonOperator(ServiceLevelIndicatorComparisonOperator value)
void SetSliMetric(SliMetricT &&value)
bool SliMetricHasBeenSet() const
ServiceLevelIndicator & WithMetricThreshold(double value)
AWS_APPLICATIONSIGNALS_API ServiceLevelIndicator()=default
ServiceLevelIndicatorComparisonOperator GetComparisonOperator() const
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceLevelIndicatorComparisonOperator
Aws::Utils::Json::JsonValue JsonValue