AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TopicSortClause.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/Identifier.h>
9#include <aws/quicksight/model/TopicSortDirection.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 TopicSortClause() = default;
37 AWS_QUICKSIGHT_API TopicSortClause(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Identifier& GetOperand() const { return m_operand; }
47 inline bool OperandHasBeenSet() const { return m_operandHasBeenSet; }
48 template<typename OperandT = Identifier>
49 void SetOperand(OperandT&& value) { m_operandHasBeenSet = true; m_operand = std::forward<OperandT>(value); }
50 template<typename OperandT = Identifier>
51 TopicSortClause& WithOperand(OperandT&& value) { SetOperand(std::forward<OperandT>(value)); return *this;}
53
55
58 inline TopicSortDirection GetSortDirection() const { return m_sortDirection; }
59 inline bool SortDirectionHasBeenSet() const { return m_sortDirectionHasBeenSet; }
60 inline void SetSortDirection(TopicSortDirection value) { m_sortDirectionHasBeenSet = true; m_sortDirection = value; }
63 private:
64
65 Identifier m_operand;
66 bool m_operandHasBeenSet = false;
67
69 bool m_sortDirectionHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace QuickSight
74} // namespace Aws
const Identifier & GetOperand() const
TopicSortClause & WithSortDirection(TopicSortDirection value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API TopicSortClause & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API TopicSortClause(Aws::Utils::Json::JsonView jsonValue)
TopicSortDirection GetSortDirection() const
TopicSortClause & WithOperand(OperandT &&value)
AWS_QUICKSIGHT_API TopicSortClause()=default
void SetSortDirection(TopicSortDirection value)
Aws::Utils::Json::JsonValue JsonValue