AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CustomizableMetricParameters.h
1
6#pragma once
7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/CustomizableMetricThreshold.h>
9#include <aws/compute-optimizer/model/CustomizableMetricHeadroom.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 ComputeOptimizer
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_COMPUTEOPTIMIZER_API CustomizableMetricParameters() = default;
37 AWS_COMPUTEOPTIMIZER_API CustomizableMetricParameters(Aws::Utils::Json::JsonView jsonValue);
39 AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline CustomizableMetricThreshold GetThreshold() const { return m_threshold; }
48 inline bool ThresholdHasBeenSet() const { return m_thresholdHasBeenSet; }
49 inline void SetThreshold(CustomizableMetricThreshold value) { m_thresholdHasBeenSet = true; m_threshold = value; }
52
54
61 inline CustomizableMetricHeadroom GetHeadroom() const { return m_headroom; }
62 inline bool HeadroomHasBeenSet() const { return m_headroomHasBeenSet; }
63 inline void SetHeadroom(CustomizableMetricHeadroom value) { m_headroomHasBeenSet = true; m_headroom = value; }
66 private:
67
69 bool m_thresholdHasBeenSet = false;
70
72 bool m_headroomHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace ComputeOptimizer
77} // namespace Aws
AWS_COMPUTEOPTIMIZER_API CustomizableMetricParameters(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPUTEOPTIMIZER_API CustomizableMetricParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPUTEOPTIMIZER_API CustomizableMetricParameters()=default
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
CustomizableMetricParameters & WithThreshold(CustomizableMetricThreshold value)
CustomizableMetricParameters & WithHeadroom(CustomizableMetricHeadroom value)
Aws::Utils::Json::JsonValue JsonValue