AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TreeMapAggregatedFieldWells.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/model/DimensionField.h>
10#include <aws/quicksight/model/MeasureField.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 TreeMapAggregatedFieldWells();
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<DimensionField>& GetGroups() const{ return m_groups; }
48 inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; }
49 inline void SetGroups(const Aws::Vector<DimensionField>& value) { m_groupsHasBeenSet = true; m_groups = value; }
50 inline void SetGroups(Aws::Vector<DimensionField>&& value) { m_groupsHasBeenSet = true; m_groups = std::move(value); }
51 inline TreeMapAggregatedFieldWells& WithGroups(const Aws::Vector<DimensionField>& value) { SetGroups(value); return *this;}
52 inline TreeMapAggregatedFieldWells& WithGroups(Aws::Vector<DimensionField>&& value) { SetGroups(std::move(value)); return *this;}
53 inline TreeMapAggregatedFieldWells& AddGroups(const DimensionField& value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; }
54 inline TreeMapAggregatedFieldWells& AddGroups(DimensionField&& value) { m_groupsHasBeenSet = true; m_groups.push_back(std::move(value)); return *this; }
56
58
62 inline const Aws::Vector<MeasureField>& GetSizes() const{ return m_sizes; }
63 inline bool SizesHasBeenSet() const { return m_sizesHasBeenSet; }
64 inline void SetSizes(const Aws::Vector<MeasureField>& value) { m_sizesHasBeenSet = true; m_sizes = value; }
65 inline void SetSizes(Aws::Vector<MeasureField>&& value) { m_sizesHasBeenSet = true; m_sizes = std::move(value); }
66 inline TreeMapAggregatedFieldWells& WithSizes(const Aws::Vector<MeasureField>& value) { SetSizes(value); return *this;}
67 inline TreeMapAggregatedFieldWells& WithSizes(Aws::Vector<MeasureField>&& value) { SetSizes(std::move(value)); return *this;}
68 inline TreeMapAggregatedFieldWells& AddSizes(const MeasureField& value) { m_sizesHasBeenSet = true; m_sizes.push_back(value); return *this; }
69 inline TreeMapAggregatedFieldWells& AddSizes(MeasureField&& value) { m_sizesHasBeenSet = true; m_sizes.push_back(std::move(value)); return *this; }
71
73
77 inline const Aws::Vector<MeasureField>& GetColors() const{ return m_colors; }
78 inline bool ColorsHasBeenSet() const { return m_colorsHasBeenSet; }
79 inline void SetColors(const Aws::Vector<MeasureField>& value) { m_colorsHasBeenSet = true; m_colors = value; }
80 inline void SetColors(Aws::Vector<MeasureField>&& value) { m_colorsHasBeenSet = true; m_colors = std::move(value); }
81 inline TreeMapAggregatedFieldWells& WithColors(const Aws::Vector<MeasureField>& value) { SetColors(value); return *this;}
82 inline TreeMapAggregatedFieldWells& WithColors(Aws::Vector<MeasureField>&& value) { SetColors(std::move(value)); return *this;}
83 inline TreeMapAggregatedFieldWells& AddColors(const MeasureField& value) { m_colorsHasBeenSet = true; m_colors.push_back(value); return *this; }
84 inline TreeMapAggregatedFieldWells& AddColors(MeasureField&& value) { m_colorsHasBeenSet = true; m_colors.push_back(std::move(value)); return *this; }
86 private:
87
89 bool m_groupsHasBeenSet = false;
90
92 bool m_sizesHasBeenSet = false;
93
95 bool m_colorsHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace QuickSight
100} // namespace Aws
void SetColors(const Aws::Vector< MeasureField > &value)
AWS_QUICKSIGHT_API TreeMapAggregatedFieldWells & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< DimensionField > & GetGroups() const
TreeMapAggregatedFieldWells & AddColors(MeasureField &&value)
TreeMapAggregatedFieldWells & AddGroups(const DimensionField &value)
TreeMapAggregatedFieldWells & AddSizes(const MeasureField &value)
TreeMapAggregatedFieldWells & WithGroups(Aws::Vector< DimensionField > &&value)
TreeMapAggregatedFieldWells & WithSizes(const Aws::Vector< MeasureField > &value)
TreeMapAggregatedFieldWells & AddSizes(MeasureField &&value)
TreeMapAggregatedFieldWells & WithColors(const Aws::Vector< MeasureField > &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGroups(Aws::Vector< DimensionField > &&value)
void SetGroups(const Aws::Vector< DimensionField > &value)
TreeMapAggregatedFieldWells & WithSizes(Aws::Vector< MeasureField > &&value)
const Aws::Vector< MeasureField > & GetColors() const
TreeMapAggregatedFieldWells & WithColors(Aws::Vector< MeasureField > &&value)
TreeMapAggregatedFieldWells & AddGroups(DimensionField &&value)
AWS_QUICKSIGHT_API TreeMapAggregatedFieldWells(Aws::Utils::Json::JsonView jsonValue)
void SetSizes(const Aws::Vector< MeasureField > &value)
TreeMapAggregatedFieldWells & AddColors(const MeasureField &value)
TreeMapAggregatedFieldWells & WithGroups(const Aws::Vector< DimensionField > &value)
const Aws::Vector< MeasureField > & GetSizes() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue