7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/ServiceLevelIndicatorComparisonOperator.h>
9#include <aws/application-signals/model/ServiceLevelIndicatorMetric.h>
20namespace ApplicationSignals {
43 template <
typename SliMetricT = ServiceLevelIndicatorMetric>
45 m_sliMetricHasBeenSet =
true;
46 m_sliMetric = std::forward<SliMetricT>(value);
48 template <
typename SliMetricT = ServiceLevelIndicatorMetric>
62 m_metricThresholdHasBeenSet =
true;
63 m_metricThreshold = value;
79 m_comparisonOperatorHasBeenSet =
true;
80 m_comparisonOperator = value;
90 double m_metricThreshold{0.0};
93 bool m_sliMetricHasBeenSet =
false;
94 bool m_metricThresholdHasBeenSet =
false;
95 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