AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const SimpleAttributeAggregationFunction& GetSimpleAttributeAggregation() const{ return m_simpleAttributeAggregation; }
48 inline bool SimpleAttributeAggregationHasBeenSet() const { return m_simpleAttributeAggregationHasBeenSet; }
49 inline void SetSimpleAttributeAggregation(const SimpleAttributeAggregationFunction& value) { m_simpleAttributeAggregationHasBeenSet = true; m_simpleAttributeAggregation = value; }
50 inline void SetSimpleAttributeAggregation(SimpleAttributeAggregationFunction&& value) { m_simpleAttributeAggregationHasBeenSet = true; m_simpleAttributeAggregation = std::move(value); }
54
56
61 inline const Aws::String& GetValueForMultipleValues() const{ return m_valueForMultipleValues; }
62 inline bool ValueForMultipleValuesHasBeenSet() const { return m_valueForMultipleValuesHasBeenSet; }
63 inline void SetValueForMultipleValues(const Aws::String& value) { m_valueForMultipleValuesHasBeenSet = true; m_valueForMultipleValues = value; }
64 inline void SetValueForMultipleValues(Aws::String&& value) { m_valueForMultipleValuesHasBeenSet = true; m_valueForMultipleValues = std::move(value); }
65 inline void SetValueForMultipleValues(const char* value) { m_valueForMultipleValuesHasBeenSet = true; m_valueForMultipleValues.assign(value); }
68 inline AttributeAggregationFunction& WithValueForMultipleValues(const char* value) { SetValueForMultipleValues(value); return *this;}
70 private:
71
72 SimpleAttributeAggregationFunction m_simpleAttributeAggregation;
73 bool m_simpleAttributeAggregationHasBeenSet = false;
74
75 Aws::String m_valueForMultipleValues;
76 bool m_valueForMultipleValuesHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace QuickSight
81} // namespace Aws
AWS_QUICKSIGHT_API AttributeAggregationFunction(Aws::Utils::Json::JsonView jsonValue)
AttributeAggregationFunction & WithSimpleAttributeAggregation(const SimpleAttributeAggregationFunction &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API AttributeAggregationFunction & operator=(Aws::Utils::Json::JsonView jsonValue)
AttributeAggregationFunction & WithValueForMultipleValues(const Aws::String &value)
void SetSimpleAttributeAggregation(SimpleAttributeAggregationFunction &&value)
AttributeAggregationFunction & WithValueForMultipleValues(Aws::String &&value)
const SimpleAttributeAggregationFunction & GetSimpleAttributeAggregation() const
AttributeAggregationFunction & WithValueForMultipleValues(const char *value)
void SetSimpleAttributeAggregation(const SimpleAttributeAggregationFunction &value)
AttributeAggregationFunction & WithSimpleAttributeAggregation(SimpleAttributeAggregationFunction &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue