/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the threshold for service level
* metrics.See Also:
AWS
* API Reference
The type of comparison. Only "less than" (LT) comparisons are supported.
*/ inline const Comparison& GetComparison() const{ return m_comparison; } /** *The type of comparison. Only "less than" (LT) comparisons are supported.
*/ inline bool ComparisonHasBeenSet() const { return m_comparisonHasBeenSet; } /** *The type of comparison. Only "less than" (LT) comparisons are supported.
*/ inline void SetComparison(const Comparison& value) { m_comparisonHasBeenSet = true; m_comparison = value; } /** *The type of comparison. Only "less than" (LT) comparisons are supported.
*/ inline void SetComparison(Comparison&& value) { m_comparisonHasBeenSet = true; m_comparison = std::move(value); } /** *The type of comparison. Only "less than" (LT) comparisons are supported.
*/ inline Threshold& WithComparison(const Comparison& value) { SetComparison(value); return *this;} /** *The type of comparison. Only "less than" (LT) comparisons are supported.
*/ inline Threshold& WithComparison(Comparison&& value) { SetComparison(std::move(value)); return *this;} /** *The threshold value to compare.
*/ inline double GetThresholdValue() const{ return m_thresholdValue; } /** *The threshold value to compare.
*/ inline bool ThresholdValueHasBeenSet() const { return m_thresholdValueHasBeenSet; } /** *The threshold value to compare.
*/ inline void SetThresholdValue(double value) { m_thresholdValueHasBeenSet = true; m_thresholdValue = value; } /** *The threshold value to compare.
*/ inline Threshold& WithThresholdValue(double value) { SetThresholdValue(value); return *this;} private: Comparison m_comparison; bool m_comparisonHasBeenSet = false; double m_thresholdValue; bool m_thresholdValueHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws