AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
TreeMapAggregatedFieldWells.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/DimensionField.h>
10#include <aws/quicksight/model/MeasureField.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
30 public:
31 AWS_QUICKSIGHT_API TreeMapAggregatedFieldWells() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::Vector<DimensionField>& GetGroups() const { return m_groups; }
42 inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; }
43 template <typename GroupsT = Aws::Vector<DimensionField>>
44 void SetGroups(GroupsT&& value) {
45 m_groupsHasBeenSet = true;
46 m_groups = std::forward<GroupsT>(value);
47 }
48 template <typename GroupsT = Aws::Vector<DimensionField>>
50 SetGroups(std::forward<GroupsT>(value));
51 return *this;
52 }
53 template <typename GroupsT = DimensionField>
55 m_groupsHasBeenSet = true;
56 m_groups.emplace_back(std::forward<GroupsT>(value));
57 return *this;
58 }
60
62
66 inline const Aws::Vector<MeasureField>& GetSizes() const { return m_sizes; }
67 inline bool SizesHasBeenSet() const { return m_sizesHasBeenSet; }
68 template <typename SizesT = Aws::Vector<MeasureField>>
69 void SetSizes(SizesT&& value) {
70 m_sizesHasBeenSet = true;
71 m_sizes = std::forward<SizesT>(value);
72 }
73 template <typename SizesT = Aws::Vector<MeasureField>>
75 SetSizes(std::forward<SizesT>(value));
76 return *this;
77 }
78 template <typename SizesT = MeasureField>
80 m_sizesHasBeenSet = true;
81 m_sizes.emplace_back(std::forward<SizesT>(value));
82 return *this;
83 }
85
87
91 inline const Aws::Vector<MeasureField>& GetColors() const { return m_colors; }
92 inline bool ColorsHasBeenSet() const { return m_colorsHasBeenSet; }
93 template <typename ColorsT = Aws::Vector<MeasureField>>
94 void SetColors(ColorsT&& value) {
95 m_colorsHasBeenSet = true;
96 m_colors = std::forward<ColorsT>(value);
97 }
98 template <typename ColorsT = Aws::Vector<MeasureField>>
100 SetColors(std::forward<ColorsT>(value));
101 return *this;
102 }
103 template <typename ColorsT = MeasureField>
105 m_colorsHasBeenSet = true;
106 m_colors.emplace_back(std::forward<ColorsT>(value));
107 return *this;
108 }
110 private:
112
114
116 bool m_groupsHasBeenSet = false;
117 bool m_sizesHasBeenSet = false;
118 bool m_colorsHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace QuickSight
123} // namespace Aws
AWS_QUICKSIGHT_API TreeMapAggregatedFieldWells()=default
AWS_QUICKSIGHT_API TreeMapAggregatedFieldWells & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< DimensionField > & GetGroups() const
TreeMapAggregatedFieldWells & AddColors(ColorsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TreeMapAggregatedFieldWells & WithGroups(GroupsT &&value)
const Aws::Vector< MeasureField > & GetColors() const
TreeMapAggregatedFieldWells & WithColors(ColorsT &&value)
AWS_QUICKSIGHT_API TreeMapAggregatedFieldWells(Aws::Utils::Json::JsonView jsonValue)
TreeMapAggregatedFieldWells & WithSizes(SizesT &&value)
const Aws::Vector< MeasureField > & GetSizes() const
TreeMapAggregatedFieldWells & AddSizes(SizesT &&value)
TreeMapAggregatedFieldWells & AddGroups(GroupsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue