AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
AttributeAggregationFunction.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/SimpleAttributeAggregationFunction.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
29 public:
30 AWS_QUICKSIGHT_API AttributeAggregationFunction() = default;
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline SimpleAttributeAggregationFunction GetSimpleAttributeAggregation() const { return m_simpleAttributeAggregation; }
42 inline bool SimpleAttributeAggregationHasBeenSet() const { return m_simpleAttributeAggregationHasBeenSet; }
44 m_simpleAttributeAggregationHasBeenSet = true;
45 m_simpleAttributeAggregation = value;
46 }
49 return *this;
50 }
52
54
59 inline const Aws::String& GetValueForMultipleValues() const { return m_valueForMultipleValues; }
60 inline bool ValueForMultipleValuesHasBeenSet() const { return m_valueForMultipleValuesHasBeenSet; }
61 template <typename ValueForMultipleValuesT = Aws::String>
62 void SetValueForMultipleValues(ValueForMultipleValuesT&& value) {
63 m_valueForMultipleValuesHasBeenSet = true;
64 m_valueForMultipleValues = std::forward<ValueForMultipleValuesT>(value);
65 }
66 template <typename ValueForMultipleValuesT = Aws::String>
67 AttributeAggregationFunction& WithValueForMultipleValues(ValueForMultipleValuesT&& value) {
68 SetValueForMultipleValues(std::forward<ValueForMultipleValuesT>(value));
69 return *this;
70 }
72 private:
74
75 Aws::String m_valueForMultipleValues;
76 bool m_simpleAttributeAggregationHasBeenSet = false;
77 bool m_valueForMultipleValuesHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace QuickSight
82} // namespace Aws
AttributeAggregationFunction & WithSimpleAttributeAggregation(SimpleAttributeAggregationFunction value)
AWS_QUICKSIGHT_API AttributeAggregationFunction(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API AttributeAggregationFunction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API AttributeAggregationFunction()=default
SimpleAttributeAggregationFunction GetSimpleAttributeAggregation() const
AttributeAggregationFunction & WithValueForMultipleValues(ValueForMultipleValuesT &&value)
void SetSimpleAttributeAggregation(SimpleAttributeAggregationFunction value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue