AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GenerationSortBy.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/GenerationSortByAttribute.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 GenerationSortBy() = default;
37 AWS_LEXMODELSV2_API GenerationSortBy(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LEXMODELSV2_API GenerationSortBy& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
50 inline GenerationSortByAttribute GetAttribute() const { return m_attribute; }
51 inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
52 inline void SetAttribute(GenerationSortByAttribute value) { m_attributeHasBeenSet = true; m_attribute = value; }
55
57
60 inline SortOrder GetOrder() const { return m_order; }
61 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
62 inline void SetOrder(SortOrder value) { m_orderHasBeenSet = true; m_order = value; }
63 inline GenerationSortBy& WithOrder(SortOrder value) { SetOrder(value); return *this;}
65 private:
66
68 bool m_attributeHasBeenSet = false;
69
71 bool m_orderHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace LexModelsV2
76} // namespace Aws
AWS_LEXMODELSV2_API GenerationSortBy(Aws::Utils::Json::JsonView jsonValue)
GenerationSortBy & WithAttribute(GenerationSortByAttribute value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAttribute(GenerationSortByAttribute value)
GenerationSortByAttribute GetAttribute() const
GenerationSortBy & WithOrder(SortOrder value)
AWS_LEXMODELSV2_API GenerationSortBy()=default
AWS_LEXMODELSV2_API GenerationSortBy & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue