/** * 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 QuickSight { namespace Model { /** *

The percent range in the visible range.

See Also:

AWS * API Reference

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

The lower bound of the range.

*/ inline double GetFrom() const{ return m_from; } /** *

The lower bound of the range.

*/ inline bool FromHasBeenSet() const { return m_fromHasBeenSet; } /** *

The lower bound of the range.

*/ inline void SetFrom(double value) { m_fromHasBeenSet = true; m_from = value; } /** *

The lower bound of the range.

*/ inline PercentVisibleRange& WithFrom(double value) { SetFrom(value); return *this;} /** *

The top bound of the range.

*/ inline double GetTo() const{ return m_to; } /** *

The top bound of the range.

*/ inline bool ToHasBeenSet() const { return m_toHasBeenSet; } /** *

The top bound of the range.

*/ inline void SetTo(double value) { m_toHasBeenSet = true; m_to = value; } /** *

The top bound of the range.

*/ inline PercentVisibleRange& WithTo(double value) { SetTo(value); return *this;} private: double m_from; bool m_fromHasBeenSet = false; double m_to; bool m_toHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws