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

The options for an axis with a numeric field.

See Also:

AWS * API Reference

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

The scale setup of a numeric axis.

*/ inline const AxisScale& GetScale() const{ return m_scale; } /** *

The scale setup of a numeric axis.

*/ inline bool ScaleHasBeenSet() const { return m_scaleHasBeenSet; } /** *

The scale setup of a numeric axis.

*/ inline void SetScale(const AxisScale& value) { m_scaleHasBeenSet = true; m_scale = value; } /** *

The scale setup of a numeric axis.

*/ inline void SetScale(AxisScale&& value) { m_scaleHasBeenSet = true; m_scale = std::move(value); } /** *

The scale setup of a numeric axis.

*/ inline NumericAxisOptions& WithScale(const AxisScale& value) { SetScale(value); return *this;} /** *

The scale setup of a numeric axis.

*/ inline NumericAxisOptions& WithScale(AxisScale&& value) { SetScale(std::move(value)); return *this;} /** *

The range setup of a numeric axis.

*/ inline const AxisDisplayRange& GetRange() const{ return m_range; } /** *

The range setup of a numeric axis.

*/ inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; } /** *

The range setup of a numeric axis.

*/ inline void SetRange(const AxisDisplayRange& value) { m_rangeHasBeenSet = true; m_range = value; } /** *

The range setup of a numeric axis.

*/ inline void SetRange(AxisDisplayRange&& value) { m_rangeHasBeenSet = true; m_range = std::move(value); } /** *

The range setup of a numeric axis.

*/ inline NumericAxisOptions& WithRange(const AxisDisplayRange& value) { SetRange(value); return *this;} /** *

The range setup of a numeric axis.

*/ inline NumericAxisOptions& WithRange(AxisDisplayRange&& value) { SetRange(std::move(value)); return *this;} private: AxisScale m_scale; bool m_scaleHasBeenSet = false; AxisDisplayRange m_range; bool m_rangeHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws