/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Appflow { namespace Model { /** *

The range of values that the property supports.

See Also:

AWS API * Reference

*/ class Range { public: AWS_APPFLOW_API Range(); AWS_APPFLOW_API Range(Aws::Utils::Json::JsonView jsonValue); AWS_APPFLOW_API Range& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Maximum value supported by the field.

*/ inline double GetMaximum() const{ return m_maximum; } /** *

Maximum value supported by the field.

*/ inline bool MaximumHasBeenSet() const { return m_maximumHasBeenSet; } /** *

Maximum value supported by the field.

*/ inline void SetMaximum(double value) { m_maximumHasBeenSet = true; m_maximum = value; } /** *

Maximum value supported by the field.

*/ inline Range& WithMaximum(double value) { SetMaximum(value); return *this;} /** *

Minimum value supported by the field.

*/ inline double GetMinimum() const{ return m_minimum; } /** *

Minimum value supported by the field.

*/ inline bool MinimumHasBeenSet() const { return m_minimumHasBeenSet; } /** *

Minimum value supported by the field.

*/ inline void SetMinimum(double value) { m_minimumHasBeenSet = true; m_minimum = value; } /** *

Minimum value supported by the field.

*/ inline Range& WithMinimum(double value) { SetMinimum(value); return *this;} private: double m_maximum; bool m_maximumHasBeenSet = false; double m_minimum; bool m_minimumHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws