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
49 template<
typename RequestBasedSliMetricT = RequestBasedServiceLevelIndicatorMetric>
50 void SetRequestBasedSliMetric(RequestBasedSliMetricT&& value) { m_requestBasedSliMetricHasBeenSet =
true; m_requestBasedSliMetric = std::forward<RequestBasedSliMetricT>(value); }
51 template<
typename RequestBasedSliMetricT = RequestBasedServiceLevelIndicatorMetric>
62 inline void SetMetricThreshold(
double value) { m_metricThresholdHasBeenSet =
true; m_metricThreshold = value; }
79 bool m_requestBasedSliMetricHasBeenSet =
false;
81 double m_metricThreshold{0.0};
82 bool m_metricThresholdHasBeenSet =
false;
85 bool m_comparisonOperatorHasBeenSet =
false;
RequestBasedServiceLevelIndicator & WithMetricThreshold(double value)
double GetMetricThreshold() const
void SetMetricThreshold(double value)
void SetRequestBasedSliMetric(RequestBasedSliMetricT &&value)
ServiceLevelIndicatorComparisonOperator GetComparisonOperator() const
bool ComparisonOperatorHasBeenSet() const
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPLICATIONSIGNALS_API RequestBasedServiceLevelIndicator & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MetricThresholdHasBeenSet() const
RequestBasedServiceLevelIndicator & WithComparisonOperator(ServiceLevelIndicatorComparisonOperator value)
AWS_APPLICATIONSIGNALS_API RequestBasedServiceLevelIndicator()=default
AWS_APPLICATIONSIGNALS_API RequestBasedServiceLevelIndicator(Aws::Utils::Json::JsonView jsonValue)
const RequestBasedServiceLevelIndicatorMetric & GetRequestBasedSliMetric() const
bool RequestBasedSliMetricHasBeenSet() const
RequestBasedServiceLevelIndicator & WithRequestBasedSliMetric(RequestBasedSliMetricT &&value)
void SetComparisonOperator(ServiceLevelIndicatorComparisonOperator value)
ServiceLevelIndicatorComparisonOperator
Aws::Utils::Json::JsonValue JsonValue