AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename KendraIndexT = Aws::String>
56 void SetKendraIndex(KendraIndexT&& value) { m_kendraIndexHasBeenSet = true; m_kendraIndex = std::forward<KendraIndexT>(value); }
57 template<typename KendraIndexT = Aws::String>
58 KendraConfiguration& WithKendraIndex(KendraIndexT&& value) { SetKendraIndex(std::forward<KendraIndexT>(value)); return *this;}
60
62
70 inline const Aws::String& GetQueryFilterString() const { return m_queryFilterString; }
71 inline bool QueryFilterStringHasBeenSet() const { return m_queryFilterStringHasBeenSet; }
72 template<typename QueryFilterStringT = Aws::String>
73 void SetQueryFilterString(QueryFilterStringT&& value) { m_queryFilterStringHasBeenSet = true; m_queryFilterString = std::forward<QueryFilterStringT>(value); }
74 template<typename QueryFilterStringT = Aws::String>
75 KendraConfiguration& WithQueryFilterString(QueryFilterStringT&& value) { SetQueryFilterString(std::forward<QueryFilterStringT>(value)); return *this;}
77
79
85 inline const Aws::String& GetRole() const { return m_role; }
86 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
87 template<typename RoleT = Aws::String>
88 void SetRole(RoleT&& value) { m_roleHasBeenSet = true; m_role = std::forward<RoleT>(value); }
89 template<typename RoleT = Aws::String>
90 KendraConfiguration& WithRole(RoleT&& value) { SetRole(std::forward<RoleT>(value)); return *this;}
92 private:
93
94 Aws::String m_kendraIndex;
95 bool m_kendraIndexHasBeenSet = false;
96
97 Aws::String m_queryFilterString;
98 bool m_queryFilterStringHasBeenSet = false;
99
100 Aws::String m_role;
101 bool m_roleHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace LexModelBuildingService
106} // namespace Aws
AWS_LEXMODELBUILDINGSERVICE_API KendraConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
KendraConfiguration & WithKendraIndex(KendraIndexT &&value)
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELBUILDINGSERVICE_API KendraConfiguration()=default
KendraConfiguration & WithQueryFilterString(QueryFilterStringT &&value)
AWS_LEXMODELBUILDINGSERVICE_API KendraConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue