AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DataPrepAggregationFunction.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/DataPrepListAggregationFunction.h>
9#include <aws/quicksight/model/DataPrepSimpleAggregationFunction.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
31 public:
32 AWS_QUICKSIGHT_API DataPrepAggregationFunction() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const DataPrepSimpleAggregationFunction& GetSimpleAggregation() const { return m_simpleAggregation; }
44 inline bool SimpleAggregationHasBeenSet() const { return m_simpleAggregationHasBeenSet; }
45 template <typename SimpleAggregationT = DataPrepSimpleAggregationFunction>
46 void SetSimpleAggregation(SimpleAggregationT&& value) {
47 m_simpleAggregationHasBeenSet = true;
48 m_simpleAggregation = std::forward<SimpleAggregationT>(value);
49 }
50 template <typename SimpleAggregationT = DataPrepSimpleAggregationFunction>
52 SetSimpleAggregation(std::forward<SimpleAggregationT>(value));
53 return *this;
54 }
56
58
62 inline const DataPrepListAggregationFunction& GetListAggregation() const { return m_listAggregation; }
63 inline bool ListAggregationHasBeenSet() const { return m_listAggregationHasBeenSet; }
64 template <typename ListAggregationT = DataPrepListAggregationFunction>
65 void SetListAggregation(ListAggregationT&& value) {
66 m_listAggregationHasBeenSet = true;
67 m_listAggregation = std::forward<ListAggregationT>(value);
68 }
69 template <typename ListAggregationT = DataPrepListAggregationFunction>
71 SetListAggregation(std::forward<ListAggregationT>(value));
72 return *this;
73 }
75 private:
76 DataPrepSimpleAggregationFunction m_simpleAggregation;
77
78 DataPrepListAggregationFunction m_listAggregation;
79 bool m_simpleAggregationHasBeenSet = false;
80 bool m_listAggregationHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace QuickSight
85} // namespace Aws
DataPrepAggregationFunction & WithSimpleAggregation(SimpleAggregationT &&value)
AWS_QUICKSIGHT_API DataPrepAggregationFunction(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API DataPrepAggregationFunction()=default
DataPrepAggregationFunction & WithListAggregation(ListAggregationT &&value)
const DataPrepListAggregationFunction & GetListAggregation() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const DataPrepSimpleAggregationFunction & GetSimpleAggregation() const
AWS_QUICKSIGHT_API DataPrepAggregationFunction & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue