7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/RerankDocumentType.h>
9#include <aws/bedrock-agent-runtime/model/RerankTextDocument.h>
10#include <aws/core/utils/Document.h>
21namespace BedrockAgentRuntime {
44 template <
typename JsonDocumentT = Aws::Utils::Document>
46 m_jsonDocumentHasBeenSet =
true;
47 m_jsonDocument = std::forward<JsonDocumentT>(value);
49 template <
typename JsonDocumentT = Aws::Utils::Document>
62 template <
typename TextDocumentT = RerankTextDocument>
64 m_textDocumentHasBeenSet =
true;
65 m_textDocument = std::forward<TextDocumentT>(value);
67 template <
typename TextDocumentT = RerankTextDocument>
81 m_typeHasBeenSet =
true;
95 bool m_jsonDocumentHasBeenSet =
false;
96 bool m_textDocumentHasBeenSet =
false;
97 bool m_typeHasBeenSet =
false;
void SetJsonDocument(JsonDocumentT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
RerankDocument & WithType(RerankDocumentType value)
RerankDocument & WithTextDocument(TextDocumentT &&value)
bool JsonDocumentHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API RerankDocument & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::DocumentView GetJsonDocument() const
void SetTextDocument(TextDocumentT &&value)
AWS_BEDROCKAGENTRUNTIME_API RerankDocument()=default
RerankDocumentType GetType() const
bool TypeHasBeenSet() const
bool TextDocumentHasBeenSet() const
RerankDocument & WithJsonDocument(JsonDocumentT &&value)
void SetType(RerankDocumentType value)
AWS_BEDROCKAGENTRUNTIME_API RerankDocument(Aws::Utils::Json::JsonView jsonValue)
const RerankTextDocument & GetTextDocument() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue