AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
FieldSortOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/FieldSort.h>
9#include <aws/quicksight/model/ColumnSort.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
34 {
35 public:
36 AWS_QUICKSIGHT_API FieldSortOptions() = default;
37 AWS_QUICKSIGHT_API FieldSortOptions(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const FieldSort& GetFieldSort() const { return m_fieldSort; }
47 inline bool FieldSortHasBeenSet() const { return m_fieldSortHasBeenSet; }
48 template<typename FieldSortT = FieldSort>
49 void SetFieldSort(FieldSortT&& value) { m_fieldSortHasBeenSet = true; m_fieldSort = std::forward<FieldSortT>(value); }
50 template<typename FieldSortT = FieldSort>
51 FieldSortOptions& WithFieldSort(FieldSortT&& value) { SetFieldSort(std::forward<FieldSortT>(value)); return *this;}
53
55
58 inline const ColumnSort& GetColumnSort() const { return m_columnSort; }
59 inline bool ColumnSortHasBeenSet() const { return m_columnSortHasBeenSet; }
60 template<typename ColumnSortT = ColumnSort>
61 void SetColumnSort(ColumnSortT&& value) { m_columnSortHasBeenSet = true; m_columnSort = std::forward<ColumnSortT>(value); }
62 template<typename ColumnSortT = ColumnSort>
63 FieldSortOptions& WithColumnSort(ColumnSortT&& value) { SetColumnSort(std::forward<ColumnSortT>(value)); return *this;}
65 private:
66
67 FieldSort m_fieldSort;
68 bool m_fieldSortHasBeenSet = false;
69
70 ColumnSort m_columnSort;
71 bool m_columnSortHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace QuickSight
76} // namespace Aws
const ColumnSort & GetColumnSort() const
AWS_QUICKSIGHT_API FieldSortOptions()=default
AWS_QUICKSIGHT_API FieldSortOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API FieldSortOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
FieldSortOptions & WithFieldSort(FieldSortT &&value)
FieldSortOptions & WithColumnSort(ColumnSortT &&value)
Aws::Utils::Json::JsonValue JsonValue