AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KnowledgeBaseLookupOutput.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/bedrock-agent-runtime/model/RetrievedReference.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 BedrockAgentRuntime
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseLookupOutput();
37 AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseLookupOutput(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseLookupOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<RetrievedReference>& GetRetrievedReferences() const{ return m_retrievedReferences; }
47 inline bool RetrievedReferencesHasBeenSet() const { return m_retrievedReferencesHasBeenSet; }
48 inline void SetRetrievedReferences(const Aws::Vector<RetrievedReference>& value) { m_retrievedReferencesHasBeenSet = true; m_retrievedReferences = value; }
49 inline void SetRetrievedReferences(Aws::Vector<RetrievedReference>&& value) { m_retrievedReferencesHasBeenSet = true; m_retrievedReferences = std::move(value); }
52 inline KnowledgeBaseLookupOutput& AddRetrievedReferences(const RetrievedReference& value) { m_retrievedReferencesHasBeenSet = true; m_retrievedReferences.push_back(value); return *this; }
53 inline KnowledgeBaseLookupOutput& AddRetrievedReferences(RetrievedReference&& value) { m_retrievedReferencesHasBeenSet = true; m_retrievedReferences.push_back(std::move(value)); return *this; }
55 private:
56
57 Aws::Vector<RetrievedReference> m_retrievedReferences;
58 bool m_retrievedReferencesHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace BedrockAgentRuntime
63} // namespace Aws
KnowledgeBaseLookupOutput & WithRetrievedReferences(const Aws::Vector< RetrievedReference > &value)
KnowledgeBaseLookupOutput & WithRetrievedReferences(Aws::Vector< RetrievedReference > &&value)
void SetRetrievedReferences(Aws::Vector< RetrievedReference > &&value)
void SetRetrievedReferences(const Aws::Vector< RetrievedReference > &value)
KnowledgeBaseLookupOutput & AddRetrievedReferences(const RetrievedReference &value)
KnowledgeBaseLookupOutput & AddRetrievedReferences(RetrievedReference &&value)
AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseLookupOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< RetrievedReference > & GetRetrievedReferences() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseLookupOutput(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue