AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
ValueColumnConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/DataPrepAggregationFunction.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
29 public:
30 AWS_QUICKSIGHT_API ValueColumnConfiguration() = default;
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const DataPrepAggregationFunction& GetAggregationFunction() const { return m_aggregationFunction; }
41 inline bool AggregationFunctionHasBeenSet() const { return m_aggregationFunctionHasBeenSet; }
42 template <typename AggregationFunctionT = DataPrepAggregationFunction>
43 void SetAggregationFunction(AggregationFunctionT&& value) {
44 m_aggregationFunctionHasBeenSet = true;
45 m_aggregationFunction = std::forward<AggregationFunctionT>(value);
46 }
47 template <typename AggregationFunctionT = DataPrepAggregationFunction>
48 ValueColumnConfiguration& WithAggregationFunction(AggregationFunctionT&& value) {
49 SetAggregationFunction(std::forward<AggregationFunctionT>(value));
50 return *this;
51 }
53 private:
54 DataPrepAggregationFunction m_aggregationFunction;
55 bool m_aggregationFunctionHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace QuickSight
60} // namespace Aws
AWS_QUICKSIGHT_API ValueColumnConfiguration()=default
void SetAggregationFunction(AggregationFunctionT &&value)
AWS_QUICKSIGHT_API ValueColumnConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ValueColumnConfiguration & WithAggregationFunction(AggregationFunctionT &&value)
const DataPrepAggregationFunction & GetAggregationFunction() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API ValueColumnConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue