7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/RequestBasedServiceLevelIndicatorMetric.h>
9#include <aws/application-signals/model/ServiceLevelIndicatorComparisonOperator.h>
22namespace ApplicationSignals
62 inline void SetMetricThreshold(
double value) { m_metricThresholdHasBeenSet =
true; m_metricThreshold = value; }
81 bool m_requestBasedSliMetricHasBeenSet =
false;
83 double m_metricThreshold;
84 bool m_metricThresholdHasBeenSet =
false;
87 bool m_comparisonOperatorHasBeenSet =
false;
RequestBasedServiceLevelIndicator & WithMetricThreshold(double value)
double GetMetricThreshold() const
void SetMetricThreshold(double value)
bool ComparisonOperatorHasBeenSet() const
RequestBasedServiceLevelIndicator & WithComparisonOperator(ServiceLevelIndicatorComparisonOperator &&value)
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
RequestBasedServiceLevelIndicator & WithRequestBasedSliMetric(RequestBasedServiceLevelIndicatorMetric &&value)
AWS_APPLICATIONSIGNALS_API RequestBasedServiceLevelIndicator & operator=(Aws::Utils::Json::JsonView jsonValue)
RequestBasedServiceLevelIndicator & WithRequestBasedSliMetric(const RequestBasedServiceLevelIndicatorMetric &value)
bool MetricThresholdHasBeenSet() const
AWS_APPLICATIONSIGNALS_API RequestBasedServiceLevelIndicator(Aws::Utils::Json::JsonView jsonValue)
const RequestBasedServiceLevelIndicatorMetric & GetRequestBasedSliMetric() const
void SetRequestBasedSliMetric(RequestBasedServiceLevelIndicatorMetric &&value)
RequestBasedServiceLevelIndicator & WithComparisonOperator(const ServiceLevelIndicatorComparisonOperator &value)
AWS_APPLICATIONSIGNALS_API RequestBasedServiceLevelIndicator()
void SetComparisonOperator(const ServiceLevelIndicatorComparisonOperator &value)
bool RequestBasedSliMetricHasBeenSet() const
const ServiceLevelIndicatorComparisonOperator & GetComparisonOperator() const
void SetRequestBasedSliMetric(const RequestBasedServiceLevelIndicatorMetric &value)
void SetComparisonOperator(ServiceLevelIndicatorComparisonOperator &&value)
ServiceLevelIndicatorComparisonOperator
Aws::Utils::Json::JsonValue JsonValue