AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
RetrieveConfig.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/KnowledgeBaseRetrievalConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Bedrock {
21namespace Model {
22
30 public:
31 AWS_BEDROCK_API RetrieveConfig() = default;
34 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetKnowledgeBaseId() const { return m_knowledgeBaseId; }
41 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
42 template <typename KnowledgeBaseIdT = Aws::String>
44 m_knowledgeBaseIdHasBeenSet = true;
45 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
46 }
47 template <typename KnowledgeBaseIdT = Aws::String>
49 SetKnowledgeBaseId(std::forward<KnowledgeBaseIdT>(value));
50 return *this;
51 }
53
55
59 return m_knowledgeBaseRetrievalConfiguration;
60 }
61 inline bool KnowledgeBaseRetrievalConfigurationHasBeenSet() const { return m_knowledgeBaseRetrievalConfigurationHasBeenSet; }
62 template <typename KnowledgeBaseRetrievalConfigurationT = KnowledgeBaseRetrievalConfiguration>
64 m_knowledgeBaseRetrievalConfigurationHasBeenSet = true;
65 m_knowledgeBaseRetrievalConfiguration = std::forward<KnowledgeBaseRetrievalConfigurationT>(value);
66 }
67 template <typename KnowledgeBaseRetrievalConfigurationT = KnowledgeBaseRetrievalConfiguration>
69 SetKnowledgeBaseRetrievalConfiguration(std::forward<KnowledgeBaseRetrievalConfigurationT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_knowledgeBaseId;
75
76 KnowledgeBaseRetrievalConfiguration m_knowledgeBaseRetrievalConfiguration;
77 bool m_knowledgeBaseIdHasBeenSet = false;
78 bool m_knowledgeBaseRetrievalConfigurationHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace Bedrock
83} // namespace Aws
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
bool KnowledgeBaseRetrievalConfigurationHasBeenSet() const
const Aws::String & GetKnowledgeBaseId() const
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
RetrieveConfig & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
void SetKnowledgeBaseRetrievalConfiguration(KnowledgeBaseRetrievalConfigurationT &&value)
AWS_BEDROCK_API RetrieveConfig()=default
AWS_BEDROCK_API RetrieveConfig(Aws::Utils::Json::JsonView jsonValue)
const KnowledgeBaseRetrievalConfiguration & GetKnowledgeBaseRetrievalConfiguration() const
AWS_BEDROCK_API RetrieveConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
RetrieveConfig & WithKnowledgeBaseRetrievalConfiguration(KnowledgeBaseRetrievalConfigurationT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue