AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename GroupsT = Aws::Vector<DimensionField>>
50 void SetGroups(GroupsT&& value) { m_groupsHasBeenSet = true; m_groups = std::forward<GroupsT>(value); }
51 template<typename GroupsT = Aws::Vector<DimensionField>>
52 TreeMapAggregatedFieldWells& WithGroups(GroupsT&& value) { SetGroups(std::forward<GroupsT>(value)); return *this;}
53 template<typename GroupsT = DimensionField>
54 TreeMapAggregatedFieldWells& AddGroups(GroupsT&& value) { m_groupsHasBeenSet = true; m_groups.emplace_back(std::forward<GroupsT>(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 template<typename SizesT = Aws::Vector<MeasureField>>
65 void SetSizes(SizesT&& value) { m_sizesHasBeenSet = true; m_sizes = std::forward<SizesT>(value); }
66 template<typename SizesT = Aws::Vector<MeasureField>>
67 TreeMapAggregatedFieldWells& WithSizes(SizesT&& value) { SetSizes(std::forward<SizesT>(value)); return *this;}
68 template<typename SizesT = MeasureField>
69 TreeMapAggregatedFieldWells& AddSizes(SizesT&& value) { m_sizesHasBeenSet = true; m_sizes.emplace_back(std::forward<SizesT>(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 template<typename ColorsT = Aws::Vector<MeasureField>>
80 void SetColors(ColorsT&& value) { m_colorsHasBeenSet = true; m_colors = std::forward<ColorsT>(value); }
81 template<typename ColorsT = Aws::Vector<MeasureField>>
82 TreeMapAggregatedFieldWells& WithColors(ColorsT&& value) { SetColors(std::forward<ColorsT>(value)); return *this;}
83 template<typename ColorsT = MeasureField>
84 TreeMapAggregatedFieldWells& AddColors(ColorsT&& value) { m_colorsHasBeenSet = true; m_colors.emplace_back(std::forward<ColorsT>(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
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