7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/ServiceLevelIndicatorMetricConfig.h>
9#include <aws/application-signals/model/ServiceLevelIndicatorComparisonOperator.h>
22namespace ApplicationSignals
49 template<
typename SliMetricConfigT = ServiceLevelIndicatorMetricConfig>
50 void SetSliMetricConfig(SliMetricConfigT&& value) { m_sliMetricConfigHasBeenSet =
true; m_sliMetricConfig = std::forward<SliMetricConfigT>(value); }
51 template<
typename SliMetricConfigT = ServiceLevelIndicatorMetricConfig>
63 inline void SetMetricThreshold(
double value) { m_metricThresholdHasBeenSet =
true; m_metricThreshold = value; }
80 bool m_sliMetricConfigHasBeenSet =
false;
82 double m_metricThreshold{0.0};
83 bool m_metricThresholdHasBeenSet =
false;
86 bool m_comparisonOperatorHasBeenSet =
false;
AWS_APPLICATIONSIGNALS_API ServiceLevelIndicatorConfig(Aws::Utils::Json::JsonView jsonValue)
ServiceLevelIndicatorConfig & WithSliMetricConfig(SliMetricConfigT &&value)
const ServiceLevelIndicatorMetricConfig & GetSliMetricConfig() const
ServiceLevelIndicatorComparisonOperator GetComparisonOperator() const
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMetricThreshold(double value)
bool MetricThresholdHasBeenSet() const
AWS_APPLICATIONSIGNALS_API ServiceLevelIndicatorConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetComparisonOperator(ServiceLevelIndicatorComparisonOperator value)
bool ComparisonOperatorHasBeenSet() const
void SetSliMetricConfig(SliMetricConfigT &&value)
double GetMetricThreshold() const
ServiceLevelIndicatorConfig & WithMetricThreshold(double value)
bool SliMetricConfigHasBeenSet() const
ServiceLevelIndicatorConfig & WithComparisonOperator(ServiceLevelIndicatorComparisonOperator value)
AWS_APPLICATIONSIGNALS_API ServiceLevelIndicatorConfig()=default
ServiceLevelIndicatorComparisonOperator
Aws::Utils::Json::JsonValue JsonValue