AWS SDK for C++

AWS SDK for C++ Version 1.11.791

Loading...
Searching...
No Matches
DataPrepSimpleAggregationFunction.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/DataPrepSimpleAggregationFunctionType.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
30 public:
31 AWS_QUICKSIGHT_API DataPrepSimpleAggregationFunction() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetInputColumnName() const { return m_inputColumnName; }
41 inline bool InputColumnNameHasBeenSet() const { return m_inputColumnNameHasBeenSet; }
42 template <typename InputColumnNameT = Aws::String>
43 void SetInputColumnName(InputColumnNameT&& value) {
44 m_inputColumnNameHasBeenSet = true;
45 m_inputColumnName = std::forward<InputColumnNameT>(value);
46 }
47 template <typename InputColumnNameT = Aws::String>
49 SetInputColumnName(std::forward<InputColumnNameT>(value));
50 return *this;
51 }
53
55
61 inline DataPrepSimpleAggregationFunctionType GetFunctionType() const { return m_functionType; }
62 inline bool FunctionTypeHasBeenSet() const { return m_functionTypeHasBeenSet; }
64 m_functionTypeHasBeenSet = true;
65 m_functionType = value;
66 }
68 SetFunctionType(value);
69 return *this;
70 }
72 private:
73 Aws::String m_inputColumnName;
74
76 bool m_inputColumnNameHasBeenSet = false;
77 bool m_functionTypeHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace QuickSight
82} // namespace Aws
DataPrepSimpleAggregationFunction & WithInputColumnName(InputColumnNameT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API DataPrepSimpleAggregationFunction(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API DataPrepSimpleAggregationFunction()=default
AWS_QUICKSIGHT_API DataPrepSimpleAggregationFunction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFunctionType(DataPrepSimpleAggregationFunctionType value)
DataPrepSimpleAggregationFunction & WithFunctionType(DataPrepSimpleAggregationFunctionType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue