7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/BedrockAgentRuntimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock-agent-runtime/model/KnowledgeBaseRetrievalConfiguration.h>
11#include <aws/bedrock-agent-runtime/model/KnowledgeBaseQuery.h>
16namespace BedrockAgentRuntime
45 inline void SetKnowledgeBaseId(
const char* value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId.assign(value); }
61 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
96 bool m_knowledgeBaseIdHasBeenSet =
false;
99 bool m_nextTokenHasBeenSet =
false;
102 bool m_retrievalConfigurationHasBeenSet =
false;
105 bool m_retrievalQueryHasBeenSet =
false;
const Aws::String & GetKnowledgeBaseId() const
AWS_BEDROCKAGENTRUNTIME_API RetrieveRequest()
void SetRetrievalConfiguration(const KnowledgeBaseRetrievalConfiguration &value)
void SetNextToken(const char *value)
void SetRetrievalConfiguration(KnowledgeBaseRetrievalConfiguration &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::String SerializePayload() const override
void SetRetrievalQuery(KnowledgeBaseQuery &&value)
void SetNextToken(Aws::String &&value)
RetrieveRequest & WithNextToken(const char *value)
void SetNextToken(const Aws::String &value)
void SetKnowledgeBaseId(const Aws::String &value)
bool NextTokenHasBeenSet() const
const Aws::String & GetNextToken() const
RetrieveRequest & WithRetrievalConfiguration(KnowledgeBaseRetrievalConfiguration &&value)
void SetRetrievalQuery(const KnowledgeBaseQuery &value)
RetrieveRequest & WithKnowledgeBaseId(const char *value)
RetrieveRequest & WithRetrievalConfiguration(const KnowledgeBaseRetrievalConfiguration &value)
RetrieveRequest & WithKnowledgeBaseId(const Aws::String &value)
RetrieveRequest & WithKnowledgeBaseId(Aws::String &&value)
bool RetrievalQueryHasBeenSet() const
const KnowledgeBaseRetrievalConfiguration & GetRetrievalConfiguration() const
bool KnowledgeBaseIdHasBeenSet() const
const KnowledgeBaseQuery & GetRetrievalQuery() const
virtual const char * GetServiceRequestName() const override
RetrieveRequest & WithRetrievalQuery(KnowledgeBaseQuery &&value)
void SetKnowledgeBaseId(const char *value)
bool RetrievalConfigurationHasBeenSet() const
void SetKnowledgeBaseId(Aws::String &&value)
RetrieveRequest & WithNextToken(const Aws::String &value)
RetrieveRequest & WithNextToken(Aws::String &&value)
RetrieveRequest & WithRetrievalQuery(const KnowledgeBaseQuery &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String