AWS SDK for C++

AWS SDK for C++ Version 1.11.684

Loading...
Searching...
No Matches
RetrieverConfiguration.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/KendraIndexConfiguration.h>
9#include <aws/qbusiness/model/NativeIndexConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QBusiness {
21namespace Model {
22
30 public:
31 AWS_QBUSINESS_API RetrieverConfiguration() = default;
34 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const NativeIndexConfiguration& GetNativeIndexConfiguration() const { return m_nativeIndexConfiguration; }
42 inline bool NativeIndexConfigurationHasBeenSet() const { return m_nativeIndexConfigurationHasBeenSet; }
43 template <typename NativeIndexConfigurationT = NativeIndexConfiguration>
45 m_nativeIndexConfigurationHasBeenSet = true;
46 m_nativeIndexConfiguration = std::forward<NativeIndexConfigurationT>(value);
47 }
48 template <typename NativeIndexConfigurationT = NativeIndexConfiguration>
50 SetNativeIndexConfiguration(std::forward<NativeIndexConfigurationT>(value));
51 return *this;
52 }
54
56
60 inline const KendraIndexConfiguration& GetKendraIndexConfiguration() const { return m_kendraIndexConfiguration; }
61 inline bool KendraIndexConfigurationHasBeenSet() const { return m_kendraIndexConfigurationHasBeenSet; }
62 template <typename KendraIndexConfigurationT = KendraIndexConfiguration>
64 m_kendraIndexConfigurationHasBeenSet = true;
65 m_kendraIndexConfiguration = std::forward<KendraIndexConfigurationT>(value);
66 }
67 template <typename KendraIndexConfigurationT = KendraIndexConfiguration>
69 SetKendraIndexConfiguration(std::forward<KendraIndexConfigurationT>(value));
70 return *this;
71 }
73 private:
74 NativeIndexConfiguration m_nativeIndexConfiguration;
75 bool m_nativeIndexConfigurationHasBeenSet = false;
76
77 KendraIndexConfiguration m_kendraIndexConfiguration;
78 bool m_kendraIndexConfigurationHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace QBusiness
83} // 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