AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AttributeAggregationFunction.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/SimpleAttributeAggregationFunction.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QUICKSIGHT_API AttributeAggregationFunction() = default;
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline SimpleAttributeAggregationFunction GetSimpleAttributeAggregation() const { return m_simpleAttributeAggregation; }
48 inline bool SimpleAttributeAggregationHasBeenSet() const { return m_simpleAttributeAggregationHasBeenSet; }
49 inline void SetSimpleAttributeAggregation(SimpleAttributeAggregationFunction value) { m_simpleAttributeAggregationHasBeenSet = true; m_simpleAttributeAggregation = value; }
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) { m_valueForMultipleValuesHasBeenSet = true; m_valueForMultipleValues = std::forward<ValueForMultipleValuesT>(value); }
63 template<typename ValueForMultipleValuesT = Aws::String>
64 AttributeAggregationFunction& WithValueForMultipleValues(ValueForMultipleValuesT&& value) { SetValueForMultipleValues(std::forward<ValueForMultipleValuesT>(value)); return *this;}
66 private:
67
69 bool m_simpleAttributeAggregationHasBeenSet = false;
70
71 Aws::String m_valueForMultipleValues;
72 bool m_valueForMultipleValuesHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace QuickSight
77} // 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