AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DimensionField.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/NumericalDimensionField.h>
9#include <aws/quicksight/model/CategoricalDimensionField.h>
10#include <aws/quicksight/model/DateDimensionField.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
34 {
35 public:
36 AWS_QUICKSIGHT_API DimensionField();
37 AWS_QUICKSIGHT_API DimensionField(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API DimensionField& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const NumericalDimensionField& GetNumericalDimensionField() const{ return m_numericalDimensionField; }
47 inline bool NumericalDimensionFieldHasBeenSet() const { return m_numericalDimensionFieldHasBeenSet; }
48 inline void SetNumericalDimensionField(const NumericalDimensionField& value) { m_numericalDimensionFieldHasBeenSet = true; m_numericalDimensionField = value; }
49 inline void SetNumericalDimensionField(NumericalDimensionField&& value) { m_numericalDimensionFieldHasBeenSet = true; m_numericalDimensionField = std::move(value); }
53
55
58 inline const CategoricalDimensionField& GetCategoricalDimensionField() const{ return m_categoricalDimensionField; }
59 inline bool CategoricalDimensionFieldHasBeenSet() const { return m_categoricalDimensionFieldHasBeenSet; }
60 inline void SetCategoricalDimensionField(const CategoricalDimensionField& value) { m_categoricalDimensionFieldHasBeenSet = true; m_categoricalDimensionField = value; }
61 inline void SetCategoricalDimensionField(CategoricalDimensionField&& value) { m_categoricalDimensionFieldHasBeenSet = true; m_categoricalDimensionField = std::move(value); }
65
67
70 inline const DateDimensionField& GetDateDimensionField() const{ return m_dateDimensionField; }
71 inline bool DateDimensionFieldHasBeenSet() const { return m_dateDimensionFieldHasBeenSet; }
72 inline void SetDateDimensionField(const DateDimensionField& value) { m_dateDimensionFieldHasBeenSet = true; m_dateDimensionField = value; }
73 inline void SetDateDimensionField(DateDimensionField&& value) { m_dateDimensionFieldHasBeenSet = true; m_dateDimensionField = std::move(value); }
75 inline DimensionField& WithDateDimensionField(DateDimensionField&& value) { SetDateDimensionField(std::move(value)); return *this;}
77 private:
78
79 NumericalDimensionField m_numericalDimensionField;
80 bool m_numericalDimensionFieldHasBeenSet = false;
81
82 CategoricalDimensionField m_categoricalDimensionField;
83 bool m_categoricalDimensionFieldHasBeenSet = false;
84
85 DateDimensionField m_dateDimensionField;
86 bool m_dateDimensionFieldHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace QuickSight
91} // namespace Aws
AWS_QUICKSIGHT_API DimensionField(Aws::Utils::Json::JsonView jsonValue)
DimensionField & WithCategoricalDimensionField(const CategoricalDimensionField &value)
DimensionField & WithDateDimensionField(DateDimensionField &&value)
void SetCategoricalDimensionField(const CategoricalDimensionField &value)
void SetDateDimensionField(DateDimensionField &&value)
const CategoricalDimensionField & GetCategoricalDimensionField() const
void SetCategoricalDimensionField(CategoricalDimensionField &&value)
void SetNumericalDimensionField(const NumericalDimensionField &value)
void SetNumericalDimensionField(NumericalDimensionField &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDateDimensionField(const DateDimensionField &value)
const NumericalDimensionField & GetNumericalDimensionField() const
DimensionField & WithCategoricalDimensionField(CategoricalDimensionField &&value)
DimensionField & WithNumericalDimensionField(NumericalDimensionField &&value)
DimensionField & WithNumericalDimensionField(const NumericalDimensionField &value)
const DateDimensionField & GetDateDimensionField() const
DimensionField & WithDateDimensionField(const DateDimensionField &value)
AWS_QUICKSIGHT_API DimensionField & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue