/** * 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 liner axis scale setup.

This is a union type structure. For this * structure to be valid, only one of the attributes can be defined.

See * Also:

AWS * API Reference

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

The step count setup of a linear axis.

*/ inline int GetStepCount() const{ return m_stepCount; } /** *

The step count setup of a linear axis.

*/ inline bool StepCountHasBeenSet() const { return m_stepCountHasBeenSet; } /** *

The step count setup of a linear axis.

*/ inline void SetStepCount(int value) { m_stepCountHasBeenSet = true; m_stepCount = value; } /** *

The step count setup of a linear axis.

*/ inline AxisLinearScale& WithStepCount(int value) { SetStepCount(value); return *this;} /** *

The step size setup of a linear axis.

*/ inline double GetStepSize() const{ return m_stepSize; } /** *

The step size setup of a linear axis.

*/ inline bool StepSizeHasBeenSet() const { return m_stepSizeHasBeenSet; } /** *

The step size setup of a linear axis.

*/ inline void SetStepSize(double value) { m_stepSizeHasBeenSet = true; m_stepSize = value; } /** *

The step size setup of a linear axis.

*/ inline AxisLinearScale& WithStepSize(double value) { SetStepSize(value); return *this;} private: int m_stepCount; bool m_stepCountHasBeenSet = false; double m_stepSize; bool m_stepSizeHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws