AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AggregationSortConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ColumnIdentifier.h>
9#include <aws/quicksight/model/SortDirection.h>
10#include <aws/quicksight/model/AggregationFunction.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QUICKSIGHT_API AggregationSortConfiguration();
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const ColumnIdentifier& GetColumn() const{ return m_column; }
48 inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; }
49 inline void SetColumn(const ColumnIdentifier& value) { m_columnHasBeenSet = true; m_column = value; }
50 inline void SetColumn(ColumnIdentifier&& value) { m_columnHasBeenSet = true; m_column = std::move(value); }
51 inline AggregationSortConfiguration& WithColumn(const ColumnIdentifier& value) { SetColumn(value); return *this;}
52 inline AggregationSortConfiguration& WithColumn(ColumnIdentifier&& value) { SetColumn(std::move(value)); return *this;}
54
56
61 inline const SortDirection& GetSortDirection() const{ return m_sortDirection; }
62 inline bool SortDirectionHasBeenSet() const { return m_sortDirectionHasBeenSet; }
63 inline void SetSortDirection(const SortDirection& value) { m_sortDirectionHasBeenSet = true; m_sortDirection = value; }
64 inline void SetSortDirection(SortDirection&& value) { m_sortDirectionHasBeenSet = true; m_sortDirection = std::move(value); }
66 inline AggregationSortConfiguration& WithSortDirection(SortDirection&& value) { SetSortDirection(std::move(value)); return *this;}
68
70
73 inline const AggregationFunction& GetAggregationFunction() const{ return m_aggregationFunction; }
74 inline bool AggregationFunctionHasBeenSet() const { return m_aggregationFunctionHasBeenSet; }
75 inline void SetAggregationFunction(const AggregationFunction& value) { m_aggregationFunctionHasBeenSet = true; m_aggregationFunction = value; }
76 inline void SetAggregationFunction(AggregationFunction&& value) { m_aggregationFunctionHasBeenSet = true; m_aggregationFunction = std::move(value); }
80 private:
81
82 ColumnIdentifier m_column;
83 bool m_columnHasBeenSet = false;
84
85 SortDirection m_sortDirection;
86 bool m_sortDirectionHasBeenSet = false;
87
88 AggregationFunction m_aggregationFunction;
89 bool m_aggregationFunctionHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace QuickSight
94} // namespace Aws
AggregationSortConfiguration & WithSortDirection(const SortDirection &value)
AggregationSortConfiguration & WithColumn(ColumnIdentifier &&value)
AggregationSortConfiguration & WithAggregationFunction(AggregationFunction &&value)
AggregationSortConfiguration & WithAggregationFunction(const AggregationFunction &value)
AWS_QUICKSIGHT_API AggregationSortConfiguration(Aws::Utils::Json::JsonView jsonValue)
AggregationSortConfiguration & WithColumn(const ColumnIdentifier &value)
AWS_QUICKSIGHT_API AggregationSortConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AggregationSortConfiguration & WithSortDirection(SortDirection &&value)
Aws::Utils::Json::JsonValue JsonValue