7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/CustomizableMetricHeadroom.h>
9#include <aws/compute-optimizer/model/CustomizableMetricThreshold.h>
10#include <aws/crt/cbor/Cbor.h>
20namespace ComputeOptimizer {
34 AWS_COMPUTEOPTIMIZER_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
44 m_thresholdHasBeenSet =
true;
64 m_headroomHasBeenSet =
true;
76 bool m_thresholdHasBeenSet =
false;
77 bool m_headroomHasBeenSet =
false;
CustomizableMetricThreshold GetThreshold() const
CustomizableMetricHeadroom GetHeadroom() const
AWS_COMPUTEOPTIMIZER_API CustomizableMetricParameters & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool ThresholdHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API CustomizableMetricParameters()=default
void SetHeadroom(CustomizableMetricHeadroom value)
bool HeadroomHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetThreshold(CustomizableMetricThreshold value)
CustomizableMetricParameters & WithThreshold(CustomizableMetricThreshold value)
CustomizableMetricParameters & WithHeadroom(CustomizableMetricHeadroom value)
AWS_COMPUTEOPTIMIZER_API CustomizableMetricParameters(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
CustomizableMetricHeadroom
CustomizableMetricThreshold