7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/AgenticRetrieveSourceRetriever.h>
9#include <aws/bedrock-agent-runtime/model/RetrievalContent.h>
10#include <aws/core/utils/Document.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
23namespace BedrockAgentRuntime {
44 template <
typename ContentT = RetrievalContent>
46 m_contentHasBeenSet =
true;
47 m_content = std::forward<ContentT>(value);
49 template <
typename ContentT = RetrievalContent>
62 template <
typename MetadataT = Aws::Map<Aws::String, Aws::Utils::Document>>
64 m_metadataHasBeenSet =
true;
65 m_metadata = std::forward<MetadataT>(value);
67 template <
typename MetadataT = Aws::Map<Aws::String, Aws::Utils::Document>>
72 template <
typename MetadataKeyT = Aws::String,
typename MetadataValueT = Aws::Utils::Document>
74 m_metadataHasBeenSet =
true;
75 m_metadata.emplace(std::forward<MetadataKeyT>(
key), std::forward<MetadataValueT>(value));
86 template <
typename SourceRetrieverT = AgenticRetrieveSourceRetriever>
88 m_sourceRetrieverHasBeenSet =
true;
89 m_sourceRetriever = std::forward<SourceRetrieverT>(value);
91 template <
typename SourceRetrieverT = AgenticRetrieveSourceRetriever>
103 bool m_contentHasBeenSet =
false;
104 bool m_metadataHasBeenSet =
false;
105 bool m_sourceRetrieverHasBeenSet =
false;
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveTraceResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const RetrievalContent & GetContent() const
AgenticRetrieveTraceResultItem & WithMetadata(MetadataT &&value)
AgenticRetrieveTraceResultItem & WithSourceRetriever(SourceRetrieverT &&value)
bool SourceRetrieverHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AgenticRetrieveTraceResultItem & WithContent(ContentT &&value)
void SetMetadata(MetadataT &&value)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveTraceResultItem()=default
void SetContent(ContentT &&value)
const Aws::Map< Aws::String, Aws::Utils::Document > & GetMetadata() const
bool MetadataHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveTraceResultItem(Aws::Utils::Json::JsonView jsonValue)
bool ContentHasBeenSet() const
AgenticRetrieveTraceResultItem & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
void SetSourceRetriever(SourceRetrieverT &&value)
const AgenticRetrieveSourceRetriever & GetSourceRetriever() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue