AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetOperand(const Identifier& value) { m_operandHasBeenSet = true; m_operand = value; }
49 inline void SetOperand(Identifier&& value) { m_operandHasBeenSet = true; m_operand = std::move(value); }
50 inline TopicSortClause& WithOperand(const Identifier& value) { SetOperand(value); return *this;}
51 inline TopicSortClause& WithOperand(Identifier&& value) { SetOperand(std::move(value)); return *this;}
53
55
58 inline const TopicSortDirection& GetSortDirection() const{ return m_sortDirection; }
59 inline bool SortDirectionHasBeenSet() const { return m_sortDirectionHasBeenSet; }
60 inline void SetSortDirection(const TopicSortDirection& value) { m_sortDirectionHasBeenSet = true; m_sortDirection = value; }
61 inline void SetSortDirection(TopicSortDirection&& value) { m_sortDirectionHasBeenSet = true; m_sortDirection = std::move(value); }
62 inline TopicSortClause& WithSortDirection(const TopicSortDirection& value) { SetSortDirection(value); return *this;}
63 inline TopicSortClause& WithSortDirection(TopicSortDirection&& value) { SetSortDirection(std::move(value)); return *this;}
65 private:
66
67 Identifier m_operand;
68 bool m_operandHasBeenSet = false;
69
70 TopicSortDirection m_sortDirection;
71 bool m_sortDirectionHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace QuickSight
76} // namespace Aws
void SetSortDirection(const TopicSortDirection &value)
TopicSortClause & WithSortDirection(TopicSortDirection &&value)
TopicSortClause & WithSortDirection(const TopicSortDirection &value)
const Identifier & GetOperand() const
const TopicSortDirection & GetSortDirection() const
TopicSortClause & WithOperand(const Identifier &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSortDirection(TopicSortDirection &&value)
AWS_QUICKSIGHT_API TopicSortClause & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API TopicSortClause(Aws::Utils::Json::JsonView jsonValue)
void SetOperand(const Identifier &value)
TopicSortClause & WithOperand(Identifier &&value)
Aws::Utils::Json::JsonValue JsonValue