7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/DocumentCharLocation.h>
9#include <aws/bedrock-runtime/model/DocumentPageLocation.h>
10#include <aws/bedrock-runtime/model/DocumentChunkLocation.h>
23namespace BedrockRuntime
52 template<
typename DocumentCharT = DocumentCharLocation>
53 void SetDocumentChar(DocumentCharT&& value) { m_documentCharHasBeenSet =
true; m_documentChar = std::forward<DocumentCharT>(value); }
54 template<
typename DocumentCharT = DocumentCharLocation>
65 template<
typename DocumentPageT = DocumentPageLocation>
66 void SetDocumentPage(DocumentPageT&& value) { m_documentPageHasBeenSet =
true; m_documentPage = std::forward<DocumentPageT>(value); }
67 template<
typename DocumentPageT = DocumentPageLocation>
79 template<
typename DocumentChunkT = DocumentChunkLocation>
80 void SetDocumentChunk(DocumentChunkT&& value) { m_documentChunkHasBeenSet =
true; m_documentChunk = std::forward<DocumentChunkT>(value); }
81 template<
typename DocumentChunkT = DocumentChunkLocation>
87 bool m_documentCharHasBeenSet =
false;
90 bool m_documentPageHasBeenSet =
false;
93 bool m_documentChunkHasBeenSet =
false;
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
CitationLocation & WithDocumentChar(DocumentCharT &&value)
CitationLocation & WithDocumentPage(DocumentPageT &&value)
bool DocumentPageHasBeenSet() const
CitationLocation & WithDocumentChunk(DocumentChunkT &&value)
void SetDocumentPage(DocumentPageT &&value)
AWS_BEDROCKRUNTIME_API CitationLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DocumentCharHasBeenSet() const
void SetDocumentChar(DocumentCharT &&value)
const DocumentChunkLocation & GetDocumentChunk() const
const DocumentPageLocation & GetDocumentPage() const
AWS_BEDROCKRUNTIME_API CitationLocation(Aws::Utils::Json::JsonView jsonValue)
const DocumentCharLocation & GetDocumentChar() const
bool DocumentChunkHasBeenSet() const
void SetDocumentChunk(DocumentChunkT &&value)
AWS_BEDROCKRUNTIME_API CitationLocation()=default
Aws::Utils::Json::JsonValue JsonValue