AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
Search.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace kendra
20{
21namespace Model
22{
23
30 class Search
31 {
32 public:
33 AWS_KENDRA_API Search() = default;
34 AWS_KENDRA_API Search(Aws::Utils::Json::JsonView jsonValue);
35 AWS_KENDRA_API Search& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline bool GetFacetable() const { return m_facetable; }
45 inline bool FacetableHasBeenSet() const { return m_facetableHasBeenSet; }
46 inline void SetFacetable(bool value) { m_facetableHasBeenSet = true; m_facetable = value; }
47 inline Search& WithFacetable(bool value) { SetFacetable(value); return *this;}
49
51
58 inline bool GetSearchable() const { return m_searchable; }
59 inline bool SearchableHasBeenSet() const { return m_searchableHasBeenSet; }
60 inline void SetSearchable(bool value) { m_searchableHasBeenSet = true; m_searchable = value; }
61 inline Search& WithSearchable(bool value) { SetSearchable(value); return *this;}
63
65
69 inline bool GetDisplayable() const { return m_displayable; }
70 inline bool DisplayableHasBeenSet() const { return m_displayableHasBeenSet; }
71 inline void SetDisplayable(bool value) { m_displayableHasBeenSet = true; m_displayable = value; }
72 inline Search& WithDisplayable(bool value) { SetDisplayable(value); return *this;}
74
76
82 inline bool GetSortable() const { return m_sortable; }
83 inline bool SortableHasBeenSet() const { return m_sortableHasBeenSet; }
84 inline void SetSortable(bool value) { m_sortableHasBeenSet = true; m_sortable = value; }
85 inline Search& WithSortable(bool value) { SetSortable(value); return *this;}
87 private:
88
89 bool m_facetable{false};
90 bool m_facetableHasBeenSet = false;
91
92 bool m_searchable{false};
93 bool m_searchableHasBeenSet = false;
94
95 bool m_displayable{false};
96 bool m_displayableHasBeenSet = false;
97
98 bool m_sortable{false};
99 bool m_sortableHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace kendra
104} // namespace Aws
void SetSearchable(bool value)
Definition Search.h:60
Search & WithDisplayable(bool value)
Definition Search.h:72
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
bool DisplayableHasBeenSet() const
Definition Search.h:70
AWS_KENDRA_API Search(Aws::Utils::Json::JsonView jsonValue)
bool FacetableHasBeenSet() const
Definition Search.h:45
bool GetFacetable() const
Definition Search.h:44
bool SearchableHasBeenSet() const
Definition Search.h:59
void SetDisplayable(bool value)
Definition Search.h:71
Search & WithSearchable(bool value)
Definition Search.h:61
Search & WithFacetable(bool value)
Definition Search.h:47
bool GetSearchable() const
Definition Search.h:58
bool SortableHasBeenSet() const
Definition Search.h:83
void SetFacetable(bool value)
Definition Search.h:46
AWS_KENDRA_API Search & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRA_API Search()=default
Search & WithSortable(bool value)
Definition Search.h:85
void SetSortable(bool value)
Definition Search.h:84
bool GetSortable() const
Definition Search.h:82
bool GetDisplayable() const
Definition Search.h:69
Aws::Utils::Json::JsonValue JsonValue