AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
AxisLinearScale.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace QuickSight {
17namespace Model {
18
27 public:
28 AWS_QUICKSIGHT_API AxisLinearScale() = default;
29 AWS_QUICKSIGHT_API AxisLinearScale(Aws::Utils::Json::JsonView jsonValue);
31 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
32
34
37 inline int GetStepCount() const { return m_stepCount; }
38 inline bool StepCountHasBeenSet() const { return m_stepCountHasBeenSet; }
39 inline void SetStepCount(int value) {
40 m_stepCountHasBeenSet = true;
41 m_stepCount = value;
42 }
43 inline AxisLinearScale& WithStepCount(int value) {
44 SetStepCount(value);
45 return *this;
46 }
48
50
53 inline double GetStepSize() const { return m_stepSize; }
54 inline bool StepSizeHasBeenSet() const { return m_stepSizeHasBeenSet; }
55 inline void SetStepSize(double value) {
56 m_stepSizeHasBeenSet = true;
57 m_stepSize = value;
58 }
59 inline AxisLinearScale& WithStepSize(double value) {
60 SetStepSize(value);
61 return *this;
62 }
64 private:
65 int m_stepCount{0};
66
67 double m_stepSize{0.0};
68 bool m_stepCountHasBeenSet = false;
69 bool m_stepSizeHasBeenSet = false;
70};
71
72} // namespace Model
73} // namespace QuickSight
74} // namespace Aws
AWS_QUICKSIGHT_API AxisLinearScale & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API AxisLinearScale(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API AxisLinearScale()=default
AxisLinearScale & WithStepCount(int value)
AxisLinearScale & WithStepSize(double value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue