AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
BinWidthOptions.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
26 public:
27 AWS_QUICKSIGHT_API BinWidthOptions() = default;
28 AWS_QUICKSIGHT_API BinWidthOptions(Aws::Utils::Json::JsonView jsonValue);
30 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline double GetValue() const { return m_value; }
37 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
38 inline void SetValue(double value) {
39 m_valueHasBeenSet = true;
40 m_value = value;
41 }
42 inline BinWidthOptions& WithValue(double value) {
43 SetValue(value);
44 return *this;
45 }
47
49
52 inline long long GetBinCountLimit() const { return m_binCountLimit; }
53 inline bool BinCountLimitHasBeenSet() const { return m_binCountLimitHasBeenSet; }
54 inline void SetBinCountLimit(long long value) {
55 m_binCountLimitHasBeenSet = true;
56 m_binCountLimit = value;
57 }
58 inline BinWidthOptions& WithBinCountLimit(long long value) {
59 SetBinCountLimit(value);
60 return *this;
61 }
63 private:
64 double m_value{0.0};
65
66 long long m_binCountLimit{0};
67 bool m_valueHasBeenSet = false;
68 bool m_binCountLimitHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace QuickSight
73} // namespace Aws
AWS_QUICKSIGHT_API BinWidthOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
BinWidthOptions & WithValue(double value)
AWS_QUICKSIGHT_API BinWidthOptions(Aws::Utils::Json::JsonView jsonValue)
BinWidthOptions & WithBinCountLimit(long long value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API BinWidthOptions()=default
Aws::Utils::Json::JsonValue JsonValue