7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/core/utils/Document.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock-runtime/model/ImageBlock.h>
11#include <aws/bedrock-runtime/model/DocumentBlock.h>
24namespace BedrockRuntime
63 inline void SetText(
const char* value) { m_textHasBeenSet =
true; m_text.assign(value); }
77 inline void SetImage(
ImageBlock&& value) { m_imageHasBeenSet =
true; m_image = std::move(value); }
96 bool m_jsonHasBeenSet =
false;
99 bool m_textHasBeenSet =
false;
102 bool m_imageHasBeenSet =
false;
105 bool m_documentHasBeenSet =
false;
ToolResultContentBlock & WithImage(ImageBlock &&value)
void SetJson(Aws::Utils::Document &&value)
void SetImage(const ImageBlock &value)
ToolResultContentBlock & WithText(Aws::String &&value)
bool DocumentHasBeenSet() const
bool JsonHasBeenSet() const
ToolResultContentBlock & WithDocument(DocumentBlock &&value)
const ImageBlock & GetImage() const
const DocumentBlock & GetDocument() const
bool TextHasBeenSet() const
void SetText(const char *value)
AWS_BEDROCKRUNTIME_API ToolResultContentBlock()
ToolResultContentBlock & WithDocument(const DocumentBlock &value)
ToolResultContentBlock & WithText(const Aws::String &value)
void SetImage(ImageBlock &&value)
void SetText(const Aws::String &value)
void SetDocument(DocumentBlock &&value)
ToolResultContentBlock & WithJson(Aws::Utils::Document &&value)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API ToolResultContentBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API ToolResultContentBlock(Aws::Utils::Json::JsonView jsonValue)
ToolResultContentBlock & WithJson(const Aws::Utils::Document &value)
bool ImageHasBeenSet() const
Aws::Utils::DocumentView GetJson() const
const Aws::String & GetText() const
ToolResultContentBlock & WithText(const char *value)
ToolResultContentBlock & WithImage(const ImageBlock &value)
void SetText(Aws::String &&value)
void SetDocument(const DocumentBlock &value)
void SetJson(const Aws::Utils::Document &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue