AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BoxPlotAggregatedFieldWells.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 BoxPlotAggregatedFieldWells() = default;
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<DimensionField>& GetGroupBy() const { return m_groupBy; }
48 inline bool GroupByHasBeenSet() const { return m_groupByHasBeenSet; }
49 template<typename GroupByT = Aws::Vector<DimensionField>>
50 void SetGroupBy(GroupByT&& value) { m_groupByHasBeenSet = true; m_groupBy = std::forward<GroupByT>(value); }
51 template<typename GroupByT = Aws::Vector<DimensionField>>
52 BoxPlotAggregatedFieldWells& WithGroupBy(GroupByT&& value) { SetGroupBy(std::forward<GroupByT>(value)); return *this;}
53 template<typename GroupByT = DimensionField>
54 BoxPlotAggregatedFieldWells& AddGroupBy(GroupByT&& value) { m_groupByHasBeenSet = true; m_groupBy.emplace_back(std::forward<GroupByT>(value)); return *this; }
56
58
62 inline const Aws::Vector<MeasureField>& GetValues() const { return m_values; }
63 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
64 template<typename ValuesT = Aws::Vector<MeasureField>>
65 void SetValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values = std::forward<ValuesT>(value); }
66 template<typename ValuesT = Aws::Vector<MeasureField>>
67 BoxPlotAggregatedFieldWells& WithValues(ValuesT&& value) { SetValues(std::forward<ValuesT>(value)); return *this;}
68 template<typename ValuesT = MeasureField>
69 BoxPlotAggregatedFieldWells& AddValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values.emplace_back(std::forward<ValuesT>(value)); return *this; }
71 private:
72
74 bool m_groupByHasBeenSet = false;
75
77 bool m_valuesHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace QuickSight
82} // 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