AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
KendraConfiguration.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LexModelsV2
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_LEXMODELSV2_API KendraConfiguration() = default;
38 AWS_LEXMODELSV2_API KendraConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::String& GetKendraIndex() const { return m_kendraIndex; }
50 inline bool KendraIndexHasBeenSet() const { return m_kendraIndexHasBeenSet; }
51 template<typename KendraIndexT = Aws::String>
52 void SetKendraIndex(KendraIndexT&& value) { m_kendraIndexHasBeenSet = true; m_kendraIndex = std::forward<KendraIndexT>(value); }
53 template<typename KendraIndexT = Aws::String>
54 KendraConfiguration& WithKendraIndex(KendraIndexT&& value) { SetKendraIndex(std::forward<KendraIndexT>(value)); return *this;}
56
58
62 inline bool GetQueryFilterStringEnabled() const { return m_queryFilterStringEnabled; }
63 inline bool QueryFilterStringEnabledHasBeenSet() const { return m_queryFilterStringEnabledHasBeenSet; }
64 inline void SetQueryFilterStringEnabled(bool value) { m_queryFilterStringEnabledHasBeenSet = true; m_queryFilterStringEnabled = value; }
67
69
76 inline const Aws::String& GetQueryFilterString() const { return m_queryFilterString; }
77 inline bool QueryFilterStringHasBeenSet() const { return m_queryFilterStringHasBeenSet; }
78 template<typename QueryFilterStringT = Aws::String>
79 void SetQueryFilterString(QueryFilterStringT&& value) { m_queryFilterStringHasBeenSet = true; m_queryFilterString = std::forward<QueryFilterStringT>(value); }
80 template<typename QueryFilterStringT = Aws::String>
81 KendraConfiguration& WithQueryFilterString(QueryFilterStringT&& value) { SetQueryFilterString(std::forward<QueryFilterStringT>(value)); return *this;}
83 private:
84
85 Aws::String m_kendraIndex;
86 bool m_kendraIndexHasBeenSet = false;
87
88 bool m_queryFilterStringEnabled{false};
89 bool m_queryFilterStringEnabledHasBeenSet = false;
90
91 Aws::String m_queryFilterString;
92 bool m_queryFilterStringHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace LexModelsV2
97} // namespace Aws
AWS_LEXMODELSV2_API KendraConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetQueryFilterString(QueryFilterStringT &&value)
KendraConfiguration & WithQueryFilterStringEnabled(bool value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API KendraConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
KendraConfiguration & WithKendraIndex(KendraIndexT &&value)
KendraConfiguration & WithQueryFilterString(QueryFilterStringT &&value)
AWS_LEXMODELSV2_API KendraConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue