AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RetrieverConfiguration.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/NativeIndexConfiguration.h>
9#include <aws/qbusiness/model/KendraIndexConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QBusiness
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QBUSINESS_API RetrieverConfiguration() = default;
39 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const NativeIndexConfiguration& GetNativeIndexConfiguration() const { return m_nativeIndexConfiguration; }
48 inline bool NativeIndexConfigurationHasBeenSet() const { return m_nativeIndexConfigurationHasBeenSet; }
49 template<typename NativeIndexConfigurationT = NativeIndexConfiguration>
50 void SetNativeIndexConfiguration(NativeIndexConfigurationT&& value) { m_nativeIndexConfigurationHasBeenSet = true; m_nativeIndexConfiguration = std::forward<NativeIndexConfigurationT>(value); }
51 template<typename NativeIndexConfigurationT = NativeIndexConfiguration>
52 RetrieverConfiguration& WithNativeIndexConfiguration(NativeIndexConfigurationT&& value) { SetNativeIndexConfiguration(std::forward<NativeIndexConfigurationT>(value)); return *this;}
54
56
60 inline const KendraIndexConfiguration& GetKendraIndexConfiguration() const { return m_kendraIndexConfiguration; }
61 inline bool KendraIndexConfigurationHasBeenSet() const { return m_kendraIndexConfigurationHasBeenSet; }
62 template<typename KendraIndexConfigurationT = KendraIndexConfiguration>
63 void SetKendraIndexConfiguration(KendraIndexConfigurationT&& value) { m_kendraIndexConfigurationHasBeenSet = true; m_kendraIndexConfiguration = std::forward<KendraIndexConfigurationT>(value); }
64 template<typename KendraIndexConfigurationT = KendraIndexConfiguration>
65 RetrieverConfiguration& WithKendraIndexConfiguration(KendraIndexConfigurationT&& value) { SetKendraIndexConfiguration(std::forward<KendraIndexConfigurationT>(value)); return *this;}
67 private:
68
69 NativeIndexConfiguration m_nativeIndexConfiguration;
70 bool m_nativeIndexConfigurationHasBeenSet = false;
71
72 KendraIndexConfiguration m_kendraIndexConfiguration;
73 bool m_kendraIndexConfigurationHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace QBusiness
78} // namespace Aws
const KendraIndexConfiguration & GetKendraIndexConfiguration() const
AWS_QBUSINESS_API RetrieverConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKendraIndexConfiguration(KendraIndexConfigurationT &&value)
RetrieverConfiguration & WithNativeIndexConfiguration(NativeIndexConfigurationT &&value)
const NativeIndexConfiguration & GetNativeIndexConfiguration() const
AWS_QBUSINESS_API RetrieverConfiguration()=default
void SetNativeIndexConfiguration(NativeIndexConfigurationT &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
RetrieverConfiguration & WithKendraIndexConfiguration(KendraIndexConfigurationT &&value)
AWS_QBUSINESS_API RetrieverConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue