AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
BoxPlotAggregatedFieldWells.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 BoxPlotAggregatedFieldWells() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::Vector<DimensionField>& GetGroupBy() const { return m_groupBy; }
42 inline bool GroupByHasBeenSet() const { return m_groupByHasBeenSet; }
43 template <typename GroupByT = Aws::Vector<DimensionField>>
44 void SetGroupBy(GroupByT&& value) {
45 m_groupByHasBeenSet = true;
46 m_groupBy = std::forward<GroupByT>(value);
47 }
48 template <typename GroupByT = Aws::Vector<DimensionField>>
50 SetGroupBy(std::forward<GroupByT>(value));
51 return *this;
52 }
53 template <typename GroupByT = DimensionField>
55 m_groupByHasBeenSet = true;
56 m_groupBy.emplace_back(std::forward<GroupByT>(value));
57 return *this;
58 }
60
62
66 inline const Aws::Vector<MeasureField>& GetValues() const { return m_values; }
67 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
68 template <typename ValuesT = Aws::Vector<MeasureField>>
69 void SetValues(ValuesT&& value) {
70 m_valuesHasBeenSet = true;
71 m_values = std::forward<ValuesT>(value);
72 }
73 template <typename ValuesT = Aws::Vector<MeasureField>>
75 SetValues(std::forward<ValuesT>(value));
76 return *this;
77 }
78 template <typename ValuesT = MeasureField>
80 m_valuesHasBeenSet = true;
81 m_values.emplace_back(std::forward<ValuesT>(value));
82 return *this;
83 }
85 private:
87
89 bool m_groupByHasBeenSet = false;
90 bool m_valuesHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace QuickSight
95} // namespace Aws
AWS_QUICKSIGHT_API BoxPlotAggregatedFieldWells()=default
AWS_QUICKSIGHT_API BoxPlotAggregatedFieldWells & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< MeasureField > & GetValues() const
BoxPlotAggregatedFieldWells & WithValues(ValuesT &&value)
BoxPlotAggregatedFieldWells & AddValues(ValuesT &&value)
AWS_QUICKSIGHT_API BoxPlotAggregatedFieldWells(Aws::Utils::Json::JsonView jsonValue)
BoxPlotAggregatedFieldWells & WithGroupBy(GroupByT &&value)
BoxPlotAggregatedFieldWells & AddGroupBy(GroupByT &&value)
const Aws::Vector< DimensionField > & GetGroupBy() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue