AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BodySectionDynamicNumericDimensionConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ColumnIdentifier.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/ColumnSort.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:
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline const ColumnIdentifier& GetColumn() const{ return m_column; }
46 inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; }
47 inline void SetColumn(const ColumnIdentifier& value) { m_columnHasBeenSet = true; m_column = value; }
48 inline void SetColumn(ColumnIdentifier&& value) { m_columnHasBeenSet = true; m_column = std::move(value); }
50 inline BodySectionDynamicNumericDimensionConfiguration& WithColumn(ColumnIdentifier&& value) { SetColumn(std::move(value)); return *this;}
52
54
57 inline int GetLimit() const{ return m_limit; }
58 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
59 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
60 inline BodySectionDynamicNumericDimensionConfiguration& WithLimit(int value) { SetLimit(value); return *this;}
62
64
67 inline const Aws::Vector<ColumnSort>& GetSortByMetrics() const{ return m_sortByMetrics; }
68 inline bool SortByMetricsHasBeenSet() const { return m_sortByMetricsHasBeenSet; }
69 inline void SetSortByMetrics(const Aws::Vector<ColumnSort>& value) { m_sortByMetricsHasBeenSet = true; m_sortByMetrics = value; }
70 inline void SetSortByMetrics(Aws::Vector<ColumnSort>&& value) { m_sortByMetricsHasBeenSet = true; m_sortByMetrics = std::move(value); }
73 inline BodySectionDynamicNumericDimensionConfiguration& AddSortByMetrics(const ColumnSort& value) { m_sortByMetricsHasBeenSet = true; m_sortByMetrics.push_back(value); return *this; }
74 inline BodySectionDynamicNumericDimensionConfiguration& AddSortByMetrics(ColumnSort&& value) { m_sortByMetricsHasBeenSet = true; m_sortByMetrics.push_back(std::move(value)); return *this; }
76 private:
77
78 ColumnIdentifier m_column;
79 bool m_columnHasBeenSet = false;
80
81 int m_limit;
82 bool m_limitHasBeenSet = false;
83
84 Aws::Vector<ColumnSort> m_sortByMetrics;
85 bool m_sortByMetricsHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace QuickSight
90} // namespace Aws
BodySectionDynamicNumericDimensionConfiguration & AddSortByMetrics(const ColumnSort &value)
BodySectionDynamicNumericDimensionConfiguration & WithSortByMetrics(Aws::Vector< ColumnSort > &&value)
BodySectionDynamicNumericDimensionConfiguration & WithColumn(ColumnIdentifier &&value)
BodySectionDynamicNumericDimensionConfiguration & WithColumn(const ColumnIdentifier &value)
AWS_QUICKSIGHT_API BodySectionDynamicNumericDimensionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
BodySectionDynamicNumericDimensionConfiguration & WithSortByMetrics(const Aws::Vector< ColumnSort > &value)
AWS_QUICKSIGHT_API BodySectionDynamicNumericDimensionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
BodySectionDynamicNumericDimensionConfiguration & AddSortByMetrics(ColumnSort &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue