AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BotSortBy.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/BotSortAttribute.h>
9#include <aws/lexv2-models/model/SortOrder.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 LexModelsV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LEXMODELSV2_API BotSortBy() = default;
37 AWS_LEXMODELSV2_API BotSortBy(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LEXMODELSV2_API BotSortBy& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline BotSortAttribute GetAttribute() const { return m_attribute; }
47 inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
48 inline void SetAttribute(BotSortAttribute value) { m_attributeHasBeenSet = true; m_attribute = value; }
49 inline BotSortBy& WithAttribute(BotSortAttribute value) { SetAttribute(value); return *this;}
51
53
56 inline SortOrder GetOrder() const { return m_order; }
57 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
58 inline void SetOrder(SortOrder value) { m_orderHasBeenSet = true; m_order = value; }
59 inline BotSortBy& WithOrder(SortOrder value) { SetOrder(value); return *this;}
61 private:
62
64 bool m_attributeHasBeenSet = false;
65
67 bool m_orderHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace LexModelsV2
72} // namespace Aws
BotSortBy & WithOrder(SortOrder value)
Definition BotSortBy.h:59
AWS_LEXMODELSV2_API BotSortBy(Aws::Utils::Json::JsonView jsonValue)
void SetAttribute(BotSortAttribute value)
Definition BotSortBy.h:48
AWS_LEXMODELSV2_API BotSortBy & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOrder(SortOrder value)
Definition BotSortBy.h:58
BotSortBy & WithAttribute(BotSortAttribute value)
Definition BotSortBy.h:49
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API BotSortBy()=default
BotSortAttribute GetAttribute() const
Definition BotSortBy.h:46
Aws::Utils::Json::JsonValue JsonValue