AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AxisScale.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/AxisLinearScale.h>
9#include <aws/quicksight/model/AxisLogarithmicScale.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_QUICKSIGHT_API AxisScale();
38 AWS_QUICKSIGHT_API AxisScale(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API AxisScale& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const AxisLinearScale& GetLinear() const{ return m_linear; }
48 inline bool LinearHasBeenSet() const { return m_linearHasBeenSet; }
49 inline void SetLinear(const AxisLinearScale& value) { m_linearHasBeenSet = true; m_linear = value; }
50 inline void SetLinear(AxisLinearScale&& value) { m_linearHasBeenSet = true; m_linear = std::move(value); }
51 inline AxisScale& WithLinear(const AxisLinearScale& value) { SetLinear(value); return *this;}
52 inline AxisScale& WithLinear(AxisLinearScale&& value) { SetLinear(std::move(value)); return *this;}
54
56
59 inline const AxisLogarithmicScale& GetLogarithmic() const{ return m_logarithmic; }
60 inline bool LogarithmicHasBeenSet() const { return m_logarithmicHasBeenSet; }
61 inline void SetLogarithmic(const AxisLogarithmicScale& value) { m_logarithmicHasBeenSet = true; m_logarithmic = value; }
62 inline void SetLogarithmic(AxisLogarithmicScale&& value) { m_logarithmicHasBeenSet = true; m_logarithmic = std::move(value); }
63 inline AxisScale& WithLogarithmic(const AxisLogarithmicScale& value) { SetLogarithmic(value); return *this;}
64 inline AxisScale& WithLogarithmic(AxisLogarithmicScale&& value) { SetLogarithmic(std::move(value)); return *this;}
66 private:
67
68 AxisLinearScale m_linear;
69 bool m_linearHasBeenSet = false;
70
71 AxisLogarithmicScale m_logarithmic;
72 bool m_logarithmicHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace QuickSight
77} // namespace Aws
AWS_QUICKSIGHT_API AxisScale & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API AxisScale(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AxisScale & WithLinear(const AxisLinearScale &value)
Definition AxisScale.h:51
void SetLinear(const AxisLinearScale &value)
Definition AxisScale.h:49
AxisScale & WithLinear(AxisLinearScale &&value)
Definition AxisScale.h:52
const AxisLinearScale & GetLinear() const
Definition AxisScale.h:47
void SetLogarithmic(const AxisLogarithmicScale &value)
Definition AxisScale.h:61
AxisScale & WithLogarithmic(AxisLogarithmicScale &&value)
Definition AxisScale.h:64
AxisScale & WithLogarithmic(const AxisLogarithmicScale &value)
Definition AxisScale.h:63
void SetLinear(AxisLinearScale &&value)
Definition AxisScale.h:50
void SetLogarithmic(AxisLogarithmicScale &&value)
Definition AxisScale.h:62
const AxisLogarithmicScale & GetLogarithmic() const
Definition AxisScale.h:59
AWS_QUICKSIGHT_API AxisScale()
Aws::Utils::Json::JsonValue JsonValue