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/lex-models/LexModelBuildingService_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 LexModelBuildingService
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_LEXMODELBUILDINGSERVICE_API KendraConfiguration();
40 AWS_LEXMODELBUILDINGSERVICE_API KendraConfiguration(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LEXMODELBUILDINGSERVICE_API KendraConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
53 inline const Aws::String& GetKendraIndex() const{ return m_kendraIndex; }
54 inline bool KendraIndexHasBeenSet() const { return m_kendraIndexHasBeenSet; }
55 inline void SetKendraIndex(const Aws::String& value) { m_kendraIndexHasBeenSet = true; m_kendraIndex = value; }
56 inline void SetKendraIndex(Aws::String&& value) { m_kendraIndexHasBeenSet = true; m_kendraIndex = std::move(value); }
57 inline void SetKendraIndex(const char* value) { m_kendraIndexHasBeenSet = true; m_kendraIndex.assign(value); }
58 inline KendraConfiguration& WithKendraIndex(const Aws::String& value) { SetKendraIndex(value); return *this;}
59 inline KendraConfiguration& WithKendraIndex(Aws::String&& value) { SetKendraIndex(std::move(value)); return *this;}
60 inline KendraConfiguration& WithKendraIndex(const char* value) { SetKendraIndex(value); return *this;}
62
64
72 inline const Aws::String& GetQueryFilterString() const{ return m_queryFilterString; }
73 inline bool QueryFilterStringHasBeenSet() const { return m_queryFilterStringHasBeenSet; }
74 inline void SetQueryFilterString(const Aws::String& value) { m_queryFilterStringHasBeenSet = true; m_queryFilterString = value; }
75 inline void SetQueryFilterString(Aws::String&& value) { m_queryFilterStringHasBeenSet = true; m_queryFilterString = std::move(value); }
76 inline void SetQueryFilterString(const char* value) { m_queryFilterStringHasBeenSet = true; m_queryFilterString.assign(value); }
77 inline KendraConfiguration& WithQueryFilterString(const Aws::String& value) { SetQueryFilterString(value); return *this;}
78 inline KendraConfiguration& WithQueryFilterString(Aws::String&& value) { SetQueryFilterString(std::move(value)); return *this;}
79 inline KendraConfiguration& WithQueryFilterString(const char* value) { SetQueryFilterString(value); return *this;}
81
83
89 inline const Aws::String& GetRole() const{ return m_role; }
90 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
91 inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
92 inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
93 inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
94 inline KendraConfiguration& WithRole(const Aws::String& value) { SetRole(value); return *this;}
95 inline KendraConfiguration& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
96 inline KendraConfiguration& WithRole(const char* value) { SetRole(value); return *this;}
98 private:
99
100 Aws::String m_kendraIndex;
101 bool m_kendraIndexHasBeenSet = false;
102
103 Aws::String m_queryFilterString;
104 bool m_queryFilterStringHasBeenSet = false;
105
106 Aws::String m_role;
107 bool m_roleHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace LexModelBuildingService
112} // namespace Aws
KendraConfiguration & WithRole(const char *value)
KendraConfiguration & WithKendraIndex(const char *value)
AWS_LEXMODELBUILDINGSERVICE_API KendraConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
KendraConfiguration & WithQueryFilterString(const char *value)
KendraConfiguration & WithRole(const Aws::String &value)
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELBUILDINGSERVICE_API KendraConfiguration()
KendraConfiguration & WithKendraIndex(Aws::String &&value)
AWS_LEXMODELBUILDINGSERVICE_API KendraConfiguration(Aws::Utils::Json::JsonView jsonValue)
KendraConfiguration & WithKendraIndex(const Aws::String &value)
KendraConfiguration & WithQueryFilterString(Aws::String &&value)
KendraConfiguration & WithRole(Aws::String &&value)
KendraConfiguration & WithQueryFilterString(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue