AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
TableSortConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/model/PaginationConfiguration.h>
10#include <aws/quicksight/model/FieldSortOptions.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 TableSortConfiguration() = default;
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<FieldSortOptions>& GetRowSort() const { return m_rowSort; }
48 inline bool RowSortHasBeenSet() const { return m_rowSortHasBeenSet; }
49 template<typename RowSortT = Aws::Vector<FieldSortOptions>>
50 void SetRowSort(RowSortT&& value) { m_rowSortHasBeenSet = true; m_rowSort = std::forward<RowSortT>(value); }
51 template<typename RowSortT = Aws::Vector<FieldSortOptions>>
52 TableSortConfiguration& WithRowSort(RowSortT&& value) { SetRowSort(std::forward<RowSortT>(value)); return *this;}
53 template<typename RowSortT = FieldSortOptions>
54 TableSortConfiguration& AddRowSort(RowSortT&& value) { m_rowSortHasBeenSet = true; m_rowSort.emplace_back(std::forward<RowSortT>(value)); return *this; }
56
58
61 inline const PaginationConfiguration& GetPaginationConfiguration() const { return m_paginationConfiguration; }
62 inline bool PaginationConfigurationHasBeenSet() const { return m_paginationConfigurationHasBeenSet; }
63 template<typename PaginationConfigurationT = PaginationConfiguration>
64 void SetPaginationConfiguration(PaginationConfigurationT&& value) { m_paginationConfigurationHasBeenSet = true; m_paginationConfiguration = std::forward<PaginationConfigurationT>(value); }
65 template<typename PaginationConfigurationT = PaginationConfiguration>
66 TableSortConfiguration& WithPaginationConfiguration(PaginationConfigurationT&& value) { SetPaginationConfiguration(std::forward<PaginationConfigurationT>(value)); return *this;}
68 private:
69
71 bool m_rowSortHasBeenSet = false;
72
73 PaginationConfiguration m_paginationConfiguration;
74 bool m_paginationConfigurationHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace QuickSight
79} // namespace Aws
const PaginationConfiguration & GetPaginationConfiguration() const
const Aws::Vector< FieldSortOptions > & GetRowSort() const
AWS_QUICKSIGHT_API TableSortConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API TableSortConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API TableSortConfiguration()=default
void SetPaginationConfiguration(PaginationConfigurationT &&value)
TableSortConfiguration & WithPaginationConfiguration(PaginationConfigurationT &&value)
TableSortConfiguration & AddRowSort(RowSortT &&value)
TableSortConfiguration & WithRowSort(RowSortT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue