AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RequestBasedServiceLevelIndicator.h
1
6#pragma once
7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/RequestBasedServiceLevelIndicatorMetric.h>
9#include <aws/application-signals/model/ServiceLevelIndicatorComparisonOperator.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ApplicationSignals
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPLICATIONSIGNALS_API RequestBasedServiceLevelIndicator();
39 AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const RequestBasedServiceLevelIndicatorMetric& GetRequestBasedSliMetric() const{ return m_requestBasedSliMetric; }
48 inline bool RequestBasedSliMetricHasBeenSet() const { return m_requestBasedSliMetricHasBeenSet; }
49 inline void SetRequestBasedSliMetric(const RequestBasedServiceLevelIndicatorMetric& value) { m_requestBasedSliMetricHasBeenSet = true; m_requestBasedSliMetric = value; }
50 inline void SetRequestBasedSliMetric(RequestBasedServiceLevelIndicatorMetric&& value) { m_requestBasedSliMetricHasBeenSet = true; m_requestBasedSliMetric = std::move(value); }
54
56
60 inline double GetMetricThreshold() const{ return m_metricThreshold; }
61 inline bool MetricThresholdHasBeenSet() const { return m_metricThresholdHasBeenSet; }
62 inline void SetMetricThreshold(double value) { m_metricThresholdHasBeenSet = true; m_metricThreshold = value; }
63 inline RequestBasedServiceLevelIndicator& WithMetricThreshold(double value) { SetMetricThreshold(value); return *this;}
65
67
71 inline const ServiceLevelIndicatorComparisonOperator& GetComparisonOperator() const{ return m_comparisonOperator; }
72 inline bool ComparisonOperatorHasBeenSet() const { return m_comparisonOperatorHasBeenSet; }
73 inline void SetComparisonOperator(const ServiceLevelIndicatorComparisonOperator& value) { m_comparisonOperatorHasBeenSet = true; m_comparisonOperator = value; }
74 inline void SetComparisonOperator(ServiceLevelIndicatorComparisonOperator&& value) { m_comparisonOperatorHasBeenSet = true; m_comparisonOperator = std::move(value); }
78 private:
79
80 RequestBasedServiceLevelIndicatorMetric m_requestBasedSliMetric;
81 bool m_requestBasedSliMetricHasBeenSet = false;
82
83 double m_metricThreshold;
84 bool m_metricThresholdHasBeenSet = false;
85
86 ServiceLevelIndicatorComparisonOperator m_comparisonOperator;
87 bool m_comparisonOperatorHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace ApplicationSignals
92} // namespace Aws
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)
AWS_APPLICATIONSIGNALS_API RequestBasedServiceLevelIndicator(Aws::Utils::Json::JsonView jsonValue)
const RequestBasedServiceLevelIndicatorMetric & GetRequestBasedSliMetric() const
void SetRequestBasedSliMetric(RequestBasedServiceLevelIndicatorMetric &&value)
RequestBasedServiceLevelIndicator & WithComparisonOperator(const ServiceLevelIndicatorComparisonOperator &value)
void SetComparisonOperator(const ServiceLevelIndicatorComparisonOperator &value)
const ServiceLevelIndicatorComparisonOperator & GetComparisonOperator() const
void SetRequestBasedSliMetric(const RequestBasedServiceLevelIndicatorMetric &value)
void SetComparisonOperator(ServiceLevelIndicatorComparisonOperator &&value)
Aws::Utils::Json::JsonValue JsonValue