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

A structure that represents a range constant.

See Also:

AWS * API Reference

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

The minimum value for a range constant.

*/ inline const Aws::String& GetMinimum() const{ return m_minimum; } /** *

The minimum value for a range constant.

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

The minimum value for a range constant.

*/ inline void SetMinimum(const Aws::String& value) { m_minimumHasBeenSet = true; m_minimum = value; } /** *

The minimum value for a range constant.

*/ inline void SetMinimum(Aws::String&& value) { m_minimumHasBeenSet = true; m_minimum = std::move(value); } /** *

The minimum value for a range constant.

*/ inline void SetMinimum(const char* value) { m_minimumHasBeenSet = true; m_minimum.assign(value); } /** *

The minimum value for a range constant.

*/ inline RangeConstant& WithMinimum(const Aws::String& value) { SetMinimum(value); return *this;} /** *

The minimum value for a range constant.

*/ inline RangeConstant& WithMinimum(Aws::String&& value) { SetMinimum(std::move(value)); return *this;} /** *

The minimum value for a range constant.

*/ inline RangeConstant& WithMinimum(const char* value) { SetMinimum(value); return *this;} /** *

The maximum value for a range constant.

*/ inline const Aws::String& GetMaximum() const{ return m_maximum; } /** *

The maximum value for a range constant.

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

The maximum value for a range constant.

*/ inline void SetMaximum(const Aws::String& value) { m_maximumHasBeenSet = true; m_maximum = value; } /** *

The maximum value for a range constant.

*/ inline void SetMaximum(Aws::String&& value) { m_maximumHasBeenSet = true; m_maximum = std::move(value); } /** *

The maximum value for a range constant.

*/ inline void SetMaximum(const char* value) { m_maximumHasBeenSet = true; m_maximum.assign(value); } /** *

The maximum value for a range constant.

*/ inline RangeConstant& WithMaximum(const Aws::String& value) { SetMaximum(value); return *this;} /** *

The maximum value for a range constant.

*/ inline RangeConstant& WithMaximum(Aws::String&& value) { SetMaximum(std::move(value)); return *this;} /** *

The maximum value for a range constant.

*/ inline RangeConstant& WithMaximum(const char* value) { SetMaximum(value); return *this;} private: Aws::String m_minimum; bool m_minimumHasBeenSet = false; Aws::String m_maximum; bool m_maximumHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws