AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRowSort(const Aws::Vector<FieldSortOptions>& value) { m_rowSortHasBeenSet = true; m_rowSort = value; }
50 inline void SetRowSort(Aws::Vector<FieldSortOptions>&& value) { m_rowSortHasBeenSet = true; m_rowSort = std::move(value); }
51 inline TableSortConfiguration& WithRowSort(const Aws::Vector<FieldSortOptions>& value) { SetRowSort(value); return *this;}
52 inline TableSortConfiguration& WithRowSort(Aws::Vector<FieldSortOptions>&& value) { SetRowSort(std::move(value)); return *this;}
53 inline TableSortConfiguration& AddRowSort(const FieldSortOptions& value) { m_rowSortHasBeenSet = true; m_rowSort.push_back(value); return *this; }
54 inline TableSortConfiguration& AddRowSort(FieldSortOptions&& value) { m_rowSortHasBeenSet = true; m_rowSort.push_back(std::move(value)); return *this; }
56
58
61 inline const PaginationConfiguration& GetPaginationConfiguration() const{ return m_paginationConfiguration; }
62 inline bool PaginationConfigurationHasBeenSet() const { return m_paginationConfigurationHasBeenSet; }
63 inline void SetPaginationConfiguration(const PaginationConfiguration& value) { m_paginationConfigurationHasBeenSet = true; m_paginationConfiguration = value; }
64 inline void SetPaginationConfiguration(PaginationConfiguration&& value) { m_paginationConfigurationHasBeenSet = true; m_paginationConfiguration = std::move(value); }
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
TableSortConfiguration & WithRowSort(const Aws::Vector< FieldSortOptions > &value)
void SetPaginationConfiguration(PaginationConfiguration &&value)
TableSortConfiguration & WithPaginationConfiguration(PaginationConfiguration &&value)
const Aws::Vector< FieldSortOptions > & GetRowSort() const
TableSortConfiguration & AddRowSort(FieldSortOptions &&value)
void SetRowSort(const Aws::Vector< FieldSortOptions > &value)
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
TableSortConfiguration & AddRowSort(const FieldSortOptions &value)
TableSortConfiguration & WithPaginationConfiguration(const PaginationConfiguration &value)
void SetPaginationConfiguration(const PaginationConfiguration &value)
TableSortConfiguration & WithRowSort(Aws::Vector< FieldSortOptions > &&value)
void SetRowSort(Aws::Vector< FieldSortOptions > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue