7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/ServiceLevelIndicatorComparisonOperator.h>
9#include <aws/application-signals/model/ServiceLevelIndicatorMetricConfig.h>
20namespace ApplicationSignals {
43 template <
typename SliMetricConfigT = ServiceLevelIndicatorMetricConfig>
45 m_sliMetricConfigHasBeenSet =
true;
46 m_sliMetricConfig = std::forward<SliMetricConfigT>(value);
48 template <
typename SliMetricConfigT = ServiceLevelIndicatorMetricConfig>
64 m_metricThresholdHasBeenSet =
true;
65 m_metricThreshold = value;
81 m_comparisonOperatorHasBeenSet =
true;
82 m_comparisonOperator = value;
92 double m_metricThreshold{0.0};
95 bool m_sliMetricConfigHasBeenSet =
false;
96 bool m_metricThresholdHasBeenSet =
false;
97 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