7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/DocumentCharLocation.h>
9#include <aws/bedrock-runtime/model/DocumentChunkLocation.h>
10#include <aws/bedrock-runtime/model/DocumentPageLocation.h>
11#include <aws/bedrock-runtime/model/SearchResultLocation.h>
12#include <aws/bedrock-runtime/model/WebLocation.h>
23namespace BedrockRuntime {
47 template <
typename WebT = WebLocation>
49 m_webHasBeenSet =
true;
50 m_web = std::forward<WebT>(value);
52 template <
typename WebT = WebLocation>
54 SetWeb(std::forward<WebT>(value));
66 template <
typename DocumentCharT = DocumentCharLocation>
68 m_documentCharHasBeenSet =
true;
69 m_documentChar = std::forward<DocumentCharT>(value);
71 template <
typename DocumentCharT = DocumentCharLocation>
85 template <
typename DocumentPageT = DocumentPageLocation>
87 m_documentPageHasBeenSet =
true;
88 m_documentPage = std::forward<DocumentPageT>(value);
90 template <
typename DocumentPageT = DocumentPageLocation>
105 template <
typename DocumentChunkT = DocumentChunkLocation>
107 m_documentChunkHasBeenSet =
true;
108 m_documentChunk = std::forward<DocumentChunkT>(value);
110 template <
typename DocumentChunkT = DocumentChunkLocation>
124 template <
typename SearchResultLocationT = SearchResultLocation>
126 m_searchResultLocationHasBeenSet =
true;
127 m_searchResultLocation = std::forward<SearchResultLocationT>(value);
129 template <
typename SearchResultLocationT = SearchResultLocation>
145 bool m_webHasBeenSet =
false;
146 bool m_documentCharHasBeenSet =
false;
147 bool m_documentPageHasBeenSet =
false;
148 bool m_documentChunkHasBeenSet =
false;
149 bool m_searchResultLocationHasBeenSet =
false;
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
CitationLocation & WithWeb(WebT &&value)
CitationLocation & WithDocumentChar(DocumentCharT &&value)
CitationLocation & WithDocumentPage(DocumentPageT &&value)
bool DocumentPageHasBeenSet() const
CitationLocation & WithDocumentChunk(DocumentChunkT &&value)
bool SearchResultLocationHasBeenSet() const
bool WebHasBeenSet() const
void SetDocumentPage(DocumentPageT &&value)
AWS_BEDROCKRUNTIME_API CitationLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DocumentCharHasBeenSet() const
void SetWeb(WebT &&value)
void SetDocumentChar(DocumentCharT &&value)
const DocumentChunkLocation & GetDocumentChunk() const
const DocumentPageLocation & GetDocumentPage() const
AWS_BEDROCKRUNTIME_API CitationLocation(Aws::Utils::Json::JsonView jsonValue)
const WebLocation & GetWeb() const
const DocumentCharLocation & GetDocumentChar() const
bool DocumentChunkHasBeenSet() const
const SearchResultLocation & GetSearchResultLocation() const
void SetSearchResultLocation(SearchResultLocationT &&value)
void SetDocumentChunk(DocumentChunkT &&value)
CitationLocation & WithSearchResultLocation(SearchResultLocationT &&value)
AWS_BEDROCKRUNTIME_API CitationLocation()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue