/** * 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 { /** *

The range options for the data zoom scroll bar.

See Also:

AWS * API Reference

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

The percent range in the visible range.

*/ inline const PercentVisibleRange& GetPercentRange() const{ return m_percentRange; } /** *

The percent range in the visible range.

*/ inline bool PercentRangeHasBeenSet() const { return m_percentRangeHasBeenSet; } /** *

The percent range in the visible range.

*/ inline void SetPercentRange(const PercentVisibleRange& value) { m_percentRangeHasBeenSet = true; m_percentRange = value; } /** *

The percent range in the visible range.

*/ inline void SetPercentRange(PercentVisibleRange&& value) { m_percentRangeHasBeenSet = true; m_percentRange = std::move(value); } /** *

The percent range in the visible range.

*/ inline VisibleRangeOptions& WithPercentRange(const PercentVisibleRange& value) { SetPercentRange(value); return *this;} /** *

The percent range in the visible range.

*/ inline VisibleRangeOptions& WithPercentRange(PercentVisibleRange&& value) { SetPercentRange(std::move(value)); return *this;} private: PercentVisibleRange m_percentRange; bool m_percentRangeHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws