AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HistogramBinOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/HistogramBinType.h>
9#include <aws/quicksight/model/BinCountOptions.h>
10#include <aws/quicksight/model/BinWidthOptions.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QUICKSIGHT_API HistogramBinOptions();
38 AWS_QUICKSIGHT_API HistogramBinOptions(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const HistogramBinType& GetSelectedBinType() const{ return m_selectedBinType; }
48 inline bool SelectedBinTypeHasBeenSet() const { return m_selectedBinTypeHasBeenSet; }
49 inline void SetSelectedBinType(const HistogramBinType& value) { m_selectedBinTypeHasBeenSet = true; m_selectedBinType = value; }
50 inline void SetSelectedBinType(HistogramBinType&& value) { m_selectedBinTypeHasBeenSet = true; m_selectedBinType = std::move(value); }
51 inline HistogramBinOptions& WithSelectedBinType(const HistogramBinType& value) { SetSelectedBinType(value); return *this;}
52 inline HistogramBinOptions& WithSelectedBinType(HistogramBinType&& value) { SetSelectedBinType(std::move(value)); return *this;}
54
56
59 inline const BinCountOptions& GetBinCount() const{ return m_binCount; }
60 inline bool BinCountHasBeenSet() const { return m_binCountHasBeenSet; }
61 inline void SetBinCount(const BinCountOptions& value) { m_binCountHasBeenSet = true; m_binCount = value; }
62 inline void SetBinCount(BinCountOptions&& value) { m_binCountHasBeenSet = true; m_binCount = std::move(value); }
63 inline HistogramBinOptions& WithBinCount(const BinCountOptions& value) { SetBinCount(value); return *this;}
64 inline HistogramBinOptions& WithBinCount(BinCountOptions&& value) { SetBinCount(std::move(value)); return *this;}
66
68
71 inline const BinWidthOptions& GetBinWidth() const{ return m_binWidth; }
72 inline bool BinWidthHasBeenSet() const { return m_binWidthHasBeenSet; }
73 inline void SetBinWidth(const BinWidthOptions& value) { m_binWidthHasBeenSet = true; m_binWidth = value; }
74 inline void SetBinWidth(BinWidthOptions&& value) { m_binWidthHasBeenSet = true; m_binWidth = std::move(value); }
75 inline HistogramBinOptions& WithBinWidth(const BinWidthOptions& value) { SetBinWidth(value); return *this;}
76 inline HistogramBinOptions& WithBinWidth(BinWidthOptions&& value) { SetBinWidth(std::move(value)); return *this;}
78
80
83 inline double GetStartValue() const{ return m_startValue; }
84 inline bool StartValueHasBeenSet() const { return m_startValueHasBeenSet; }
85 inline void SetStartValue(double value) { m_startValueHasBeenSet = true; m_startValue = value; }
86 inline HistogramBinOptions& WithStartValue(double value) { SetStartValue(value); return *this;}
88 private:
89
90 HistogramBinType m_selectedBinType;
91 bool m_selectedBinTypeHasBeenSet = false;
92
93 BinCountOptions m_binCount;
94 bool m_binCountHasBeenSet = false;
95
96 BinWidthOptions m_binWidth;
97 bool m_binWidthHasBeenSet = false;
98
99 double m_startValue;
100 bool m_startValueHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace QuickSight
105} // namespace Aws
const HistogramBinType & GetSelectedBinType() const
void SetSelectedBinType(const HistogramBinType &value)
void SetSelectedBinType(HistogramBinType &&value)
void SetBinCount(const BinCountOptions &value)
HistogramBinOptions & WithStartValue(double value)
HistogramBinOptions & WithSelectedBinType(const HistogramBinType &value)
AWS_QUICKSIGHT_API HistogramBinOptions(Aws::Utils::Json::JsonView jsonValue)
void SetBinWidth(const BinWidthOptions &value)
const BinWidthOptions & GetBinWidth() const
AWS_QUICKSIGHT_API HistogramBinOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
HistogramBinOptions & WithBinCount(const BinCountOptions &value)
HistogramBinOptions & WithBinWidth(const BinWidthOptions &value)
HistogramBinOptions & WithBinCount(BinCountOptions &&value)
HistogramBinOptions & WithBinWidth(BinWidthOptions &&value)
HistogramBinOptions & WithSelectedBinType(HistogramBinType &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const BinCountOptions & GetBinCount() const
Aws::Utils::Json::JsonValue JsonValue