AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFieldSort(const FieldSort& value) { m_fieldSortHasBeenSet = true; m_fieldSort = value; }
49 inline void SetFieldSort(FieldSort&& value) { m_fieldSortHasBeenSet = true; m_fieldSort = std::move(value); }
50 inline FieldSortOptions& WithFieldSort(const FieldSort& value) { SetFieldSort(value); return *this;}
51 inline FieldSortOptions& WithFieldSort(FieldSort&& value) { SetFieldSort(std::move(value)); return *this;}
53
55
58 inline const ColumnSort& GetColumnSort() const{ return m_columnSort; }
59 inline bool ColumnSortHasBeenSet() const { return m_columnSortHasBeenSet; }
60 inline void SetColumnSort(const ColumnSort& value) { m_columnSortHasBeenSet = true; m_columnSort = value; }
61 inline void SetColumnSort(ColumnSort&& value) { m_columnSortHasBeenSet = true; m_columnSort = std::move(value); }
62 inline FieldSortOptions& WithColumnSort(const ColumnSort& value) { SetColumnSort(value); return *this;}
63 inline FieldSortOptions& WithColumnSort(ColumnSort&& value) { SetColumnSort(std::move(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
void SetFieldSort(const FieldSort &value)
FieldSortOptions & WithFieldSort(FieldSort &&value)
FieldSortOptions & WithColumnSort(ColumnSort &&value)
const ColumnSort & GetColumnSort() const
void SetColumnSort(const ColumnSort &value)
FieldSortOptions & WithFieldSort(const FieldSort &value)
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 & WithColumnSort(const ColumnSort &value)
Aws::Utils::Json::JsonValue JsonValue