AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceLevelIndicatorConfig.h
1
6#pragma once
7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/ServiceLevelIndicatorMetricConfig.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
35 {
36 public:
37 AWS_APPLICATIONSIGNALS_API ServiceLevelIndicatorConfig();
38 AWS_APPLICATIONSIGNALS_API ServiceLevelIndicatorConfig(Aws::Utils::Json::JsonView jsonValue);
40 AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const ServiceLevelIndicatorMetricConfig& GetSliMetricConfig() const{ return m_sliMetricConfig; }
48 inline bool SliMetricConfigHasBeenSet() const { return m_sliMetricConfigHasBeenSet; }
49 inline void SetSliMetricConfig(const ServiceLevelIndicatorMetricConfig& value) { m_sliMetricConfigHasBeenSet = true; m_sliMetricConfig = value; }
50 inline void SetSliMetricConfig(ServiceLevelIndicatorMetricConfig&& value) { m_sliMetricConfigHasBeenSet = true; m_sliMetricConfig = std::move(value); }
54
56
61 inline double GetMetricThreshold() const{ return m_metricThreshold; }
62 inline bool MetricThresholdHasBeenSet() const { return m_metricThresholdHasBeenSet; }
63 inline void SetMetricThreshold(double value) { m_metricThresholdHasBeenSet = true; m_metricThreshold = value; }
64 inline ServiceLevelIndicatorConfig& WithMetricThreshold(double value) { SetMetricThreshold(value); return *this;}
66
68
72 inline const ServiceLevelIndicatorComparisonOperator& GetComparisonOperator() const{ return m_comparisonOperator; }
73 inline bool ComparisonOperatorHasBeenSet() const { return m_comparisonOperatorHasBeenSet; }
74 inline void SetComparisonOperator(const ServiceLevelIndicatorComparisonOperator& value) { m_comparisonOperatorHasBeenSet = true; m_comparisonOperator = value; }
75 inline void SetComparisonOperator(ServiceLevelIndicatorComparisonOperator&& value) { m_comparisonOperatorHasBeenSet = true; m_comparisonOperator = std::move(value); }
79 private:
80
81 ServiceLevelIndicatorMetricConfig m_sliMetricConfig;
82 bool m_sliMetricConfigHasBeenSet = false;
83
84 double m_metricThreshold;
85 bool m_metricThresholdHasBeenSet = false;
86
87 ServiceLevelIndicatorComparisonOperator m_comparisonOperator;
88 bool m_comparisonOperatorHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace ApplicationSignals
93} // namespace Aws
AWS_APPLICATIONSIGNALS_API ServiceLevelIndicatorConfig(Aws::Utils::Json::JsonView jsonValue)
void SetComparisonOperator(const ServiceLevelIndicatorComparisonOperator &value)
void SetComparisonOperator(ServiceLevelIndicatorComparisonOperator &&value)
void SetSliMetricConfig(const ServiceLevelIndicatorMetricConfig &value)
const ServiceLevelIndicatorMetricConfig & GetSliMetricConfig() const
ServiceLevelIndicatorConfig & WithComparisonOperator(ServiceLevelIndicatorComparisonOperator &&value)
ServiceLevelIndicatorConfig & WithSliMetricConfig(ServiceLevelIndicatorMetricConfig &&value)
ServiceLevelIndicatorConfig & WithSliMetricConfig(const ServiceLevelIndicatorMetricConfig &value)
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
const ServiceLevelIndicatorComparisonOperator & GetComparisonOperator() const
void SetSliMetricConfig(ServiceLevelIndicatorMetricConfig &&value)
AWS_APPLICATIONSIGNALS_API ServiceLevelIndicatorConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceLevelIndicatorConfig & WithComparisonOperator(const ServiceLevelIndicatorComparisonOperator &value)
Aws::Utils::Json::JsonValue JsonValue