7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace BedrockAgentRuntime {
41 template <
typename ByteContentT = Aws::Utils::ByteBuffer>
43 m_byteContentHasBeenSet =
true;
44 m_byteContent = std::forward<ByteContentT>(value);
46 template <
typename ByteContentT = Aws::Utils::ByteBuffer>
59 template <
typename MimeTypeT = Aws::String>
61 m_mimeTypeHasBeenSet =
true;
62 m_mimeType = std::forward<MimeTypeT>(value);
64 template <
typename MimeTypeT = Aws::String>
77 template <
typename TextT = Aws::String>
79 m_textHasBeenSet =
true;
80 m_text = std::forward<TextT>(value);
82 template <
typename TextT = Aws::String>
84 SetText(std::forward<TextT>(value));
94 bool m_byteContentHasBeenSet =
false;
95 bool m_mimeTypeHasBeenSet =
false;
96 bool m_textHasBeenSet =
false;
bool TextHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API RetrievalContent(Aws::Utils::Json::JsonView jsonValue)
void SetByteContent(ByteContentT &&value)
AWS_BEDROCKAGENTRUNTIME_API RetrievalContent & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetText() const
RetrievalContent & WithText(TextT &&value)
void SetText(TextT &&value)
bool ByteContentHasBeenSet() const
RetrievalContent & WithByteContent(ByteContentT &&value)
RetrievalContent & WithMimeType(MimeTypeT &&value)
AWS_BEDROCKAGENTRUNTIME_API RetrievalContent()=default
bool MimeTypeHasBeenSet() const
const Aws::String & GetMimeType() const
const Aws::Utils::ByteBuffer & GetByteContent() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMimeType(MimeTypeT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue