AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetKendraIndex(const Aws::String& value) { m_kendraIndexHasBeenSet = true; m_kendraIndex = value; }
52 inline void SetKendraIndex(Aws::String&& value) { m_kendraIndexHasBeenSet = true; m_kendraIndex = std::move(value); }
53 inline void SetKendraIndex(const char* value) { m_kendraIndexHasBeenSet = true; m_kendraIndex.assign(value); }
54 inline KendraConfiguration& WithKendraIndex(const Aws::String& value) { SetKendraIndex(value); return *this;}
55 inline KendraConfiguration& WithKendraIndex(Aws::String&& value) { SetKendraIndex(std::move(value)); return *this;}
56 inline KendraConfiguration& WithKendraIndex(const char* value) { SetKendraIndex(value); return *this;}
58
60
64 inline bool GetQueryFilterStringEnabled() const{ return m_queryFilterStringEnabled; }
65 inline bool QueryFilterStringEnabledHasBeenSet() const { return m_queryFilterStringEnabledHasBeenSet; }
66 inline void SetQueryFilterStringEnabled(bool value) { m_queryFilterStringEnabledHasBeenSet = true; m_queryFilterStringEnabled = value; }
69
71
78 inline const Aws::String& GetQueryFilterString() const{ return m_queryFilterString; }
79 inline bool QueryFilterStringHasBeenSet() const { return m_queryFilterStringHasBeenSet; }
80 inline void SetQueryFilterString(const Aws::String& value) { m_queryFilterStringHasBeenSet = true; m_queryFilterString = value; }
81 inline void SetQueryFilterString(Aws::String&& value) { m_queryFilterStringHasBeenSet = true; m_queryFilterString = std::move(value); }
82 inline void SetQueryFilterString(const char* value) { m_queryFilterStringHasBeenSet = true; m_queryFilterString.assign(value); }
83 inline KendraConfiguration& WithQueryFilterString(const Aws::String& value) { SetQueryFilterString(value); return *this;}
84 inline KendraConfiguration& WithQueryFilterString(Aws::String&& value) { SetQueryFilterString(std::move(value)); return *this;}
85 inline KendraConfiguration& WithQueryFilterString(const char* value) { SetQueryFilterString(value); return *this;}
87 private:
88
89 Aws::String m_kendraIndex;
90 bool m_kendraIndexHasBeenSet = false;
91
92 bool m_queryFilterStringEnabled;
93 bool m_queryFilterStringEnabledHasBeenSet = false;
94
95 Aws::String m_queryFilterString;
96 bool m_queryFilterStringHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace LexModelsV2
101} // namespace Aws
AWS_LEXMODELSV2_API KendraConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetKendraIndex(const Aws::String &value)
KendraConfiguration & WithQueryFilterString(const char *value)
KendraConfiguration & WithQueryFilterStringEnabled(bool value)
KendraConfiguration & WithQueryFilterString(const Aws::String &value)
KendraConfiguration & WithKendraIndex(const Aws::String &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
KendraConfiguration & WithKendraIndex(Aws::String &&value)
void SetQueryFilterString(const Aws::String &value)
KendraConfiguration & WithQueryFilterString(Aws::String &&value)
AWS_LEXMODELSV2_API KendraConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
KendraConfiguration & WithKendraIndex(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue