AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
PercentVisibleRange.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
25 public:
26 AWS_QUICKSIGHT_API PercentVisibleRange() = default;
27 AWS_QUICKSIGHT_API PercentVisibleRange(Aws::Utils::Json::JsonView jsonValue);
29 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline double GetFrom() const { return m_from; }
36 inline bool FromHasBeenSet() const { return m_fromHasBeenSet; }
37 inline void SetFrom(double value) {
38 m_fromHasBeenSet = true;
39 m_from = value;
40 }
41 inline PercentVisibleRange& WithFrom(double value) {
42 SetFrom(value);
43 return *this;
44 }
46
48
51 inline double GetTo() const { return m_to; }
52 inline bool ToHasBeenSet() const { return m_toHasBeenSet; }
53 inline void SetTo(double value) {
54 m_toHasBeenSet = true;
55 m_to = value;
56 }
57 inline PercentVisibleRange& WithTo(double value) {
58 SetTo(value);
59 return *this;
60 }
62 private:
63 double m_from{0.0};
64
65 double m_to{0.0};
66 bool m_fromHasBeenSet = false;
67 bool m_toHasBeenSet = false;
68};
69
70} // namespace Model
71} // namespace QuickSight
72} // namespace Aws
PercentVisibleRange & WithFrom(double value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API PercentVisibleRange & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API PercentVisibleRange()=default
AWS_QUICKSIGHT_API PercentVisibleRange(Aws::Utils::Json::JsonView jsonValue)
PercentVisibleRange & WithTo(double value)
Aws::Utils::Json::JsonValue JsonValue