AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MeasureField.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/NumericalMeasureField.h>
9#include <aws/quicksight/model/CategoricalMeasureField.h>
10#include <aws/quicksight/model/DateMeasureField.h>
11#include <aws/quicksight/model/CalculatedMeasureField.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_QUICKSIGHT_API MeasureField();
38 AWS_QUICKSIGHT_API MeasureField(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API MeasureField& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const NumericalMeasureField& GetNumericalMeasureField() const{ return m_numericalMeasureField; }
48 inline bool NumericalMeasureFieldHasBeenSet() const { return m_numericalMeasureFieldHasBeenSet; }
49 inline void SetNumericalMeasureField(const NumericalMeasureField& value) { m_numericalMeasureFieldHasBeenSet = true; m_numericalMeasureField = value; }
50 inline void SetNumericalMeasureField(NumericalMeasureField&& value) { m_numericalMeasureFieldHasBeenSet = true; m_numericalMeasureField = std::move(value); }
52 inline MeasureField& WithNumericalMeasureField(NumericalMeasureField&& value) { SetNumericalMeasureField(std::move(value)); return *this;}
54
56
59 inline const CategoricalMeasureField& GetCategoricalMeasureField() const{ return m_categoricalMeasureField; }
60 inline bool CategoricalMeasureFieldHasBeenSet() const { return m_categoricalMeasureFieldHasBeenSet; }
61 inline void SetCategoricalMeasureField(const CategoricalMeasureField& value) { m_categoricalMeasureFieldHasBeenSet = true; m_categoricalMeasureField = value; }
62 inline void SetCategoricalMeasureField(CategoricalMeasureField&& value) { m_categoricalMeasureFieldHasBeenSet = true; m_categoricalMeasureField = std::move(value); }
66
68
71 inline const DateMeasureField& GetDateMeasureField() const{ return m_dateMeasureField; }
72 inline bool DateMeasureFieldHasBeenSet() const { return m_dateMeasureFieldHasBeenSet; }
73 inline void SetDateMeasureField(const DateMeasureField& value) { m_dateMeasureFieldHasBeenSet = true; m_dateMeasureField = value; }
74 inline void SetDateMeasureField(DateMeasureField&& value) { m_dateMeasureFieldHasBeenSet = true; m_dateMeasureField = std::move(value); }
75 inline MeasureField& WithDateMeasureField(const DateMeasureField& value) { SetDateMeasureField(value); return *this;}
76 inline MeasureField& WithDateMeasureField(DateMeasureField&& value) { SetDateMeasureField(std::move(value)); return *this;}
78
80
83 inline const CalculatedMeasureField& GetCalculatedMeasureField() const{ return m_calculatedMeasureField; }
84 inline bool CalculatedMeasureFieldHasBeenSet() const { return m_calculatedMeasureFieldHasBeenSet; }
85 inline void SetCalculatedMeasureField(const CalculatedMeasureField& value) { m_calculatedMeasureFieldHasBeenSet = true; m_calculatedMeasureField = value; }
86 inline void SetCalculatedMeasureField(CalculatedMeasureField&& value) { m_calculatedMeasureFieldHasBeenSet = true; m_calculatedMeasureField = std::move(value); }
90 private:
91
92 NumericalMeasureField m_numericalMeasureField;
93 bool m_numericalMeasureFieldHasBeenSet = false;
94
95 CategoricalMeasureField m_categoricalMeasureField;
96 bool m_categoricalMeasureFieldHasBeenSet = false;
97
98 DateMeasureField m_dateMeasureField;
99 bool m_dateMeasureFieldHasBeenSet = false;
100
101 CalculatedMeasureField m_calculatedMeasureField;
102 bool m_calculatedMeasureFieldHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace QuickSight
107} // namespace Aws
const CalculatedMeasureField & GetCalculatedMeasureField() const
AWS_QUICKSIGHT_API MeasureField(Aws::Utils::Json::JsonView jsonValue)
MeasureField & WithCategoricalMeasureField(const CategoricalMeasureField &value)
void SetDateMeasureField(DateMeasureField &&value)
MeasureField & WithDateMeasureField(const DateMeasureField &value)
void SetDateMeasureField(const DateMeasureField &value)
MeasureField & WithCalculatedMeasureField(CalculatedMeasureField &&value)
MeasureField & WithNumericalMeasureField(const NumericalMeasureField &value)
void SetNumericalMeasureField(NumericalMeasureField &&value)
void SetCalculatedMeasureField(const CalculatedMeasureField &value)
MeasureField & WithNumericalMeasureField(NumericalMeasureField &&value)
const DateMeasureField & GetDateMeasureField() const
const NumericalMeasureField & GetNumericalMeasureField() const
MeasureField & WithCalculatedMeasureField(const CalculatedMeasureField &value)
MeasureField & WithDateMeasureField(DateMeasureField &&value)
void SetCategoricalMeasureField(const CategoricalMeasureField &value)
void SetNumericalMeasureField(const NumericalMeasureField &value)
const CategoricalMeasureField & GetCategoricalMeasureField() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCategoricalMeasureField(CategoricalMeasureField &&value)
MeasureField & WithCategoricalMeasureField(CategoricalMeasureField &&value)
void SetCalculatedMeasureField(CalculatedMeasureField &&value)
AWS_QUICKSIGHT_API MeasureField & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue