7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/ImageBlockStart.h>
9#include <aws/bedrock-runtime/model/ToolResultBlockStart.h>
10#include <aws/bedrock-runtime/model/ToolUseBlockStart.h>
21namespace BedrockRuntime {
42 template <
typename ToolUseT = ToolUseBlockStart>
44 m_toolUseHasBeenSet =
true;
45 m_toolUse = std::forward<ToolUseT>(value);
47 template <
typename ToolUseT = ToolUseBlockStart>
60 template <
typename ToolResultT = ToolResultBlockStart>
62 m_toolResultHasBeenSet =
true;
63 m_toolResult = std::forward<ToolResultT>(value);
65 template <
typename ToolResultT = ToolResultBlockStart>
78 template <
typename ImageT = ImageBlockStart>
80 m_imageHasBeenSet =
true;
81 m_image = std::forward<ImageT>(value);
83 template <
typename ImageT = ImageBlockStart>
85 SetImage(std::forward<ImageT>(value));
95 bool m_toolUseHasBeenSet =
false;
96 bool m_toolResultHasBeenSet =
false;
97 bool m_imageHasBeenSet =
false;
const ImageBlockStart & GetImage() const
void SetImage(ImageT &&value)
AWS_BEDROCKRUNTIME_API ContentBlockStart(Aws::Utils::Json::JsonView jsonValue)
const ToolResultBlockStart & GetToolResult() const
ContentBlockStart & WithImage(ImageT &&value)
AWS_BEDROCKRUNTIME_API ContentBlockStart & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ImageHasBeenSet() const
AWS_BEDROCKRUNTIME_API ContentBlockStart()=default
bool ToolUseHasBeenSet() const
ContentBlockStart & WithToolUse(ToolUseT &&value)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
const ToolUseBlockStart & GetToolUse() const
bool ToolResultHasBeenSet() const
void SetToolUse(ToolUseT &&value)
void SetToolResult(ToolResultT &&value)
ContentBlockStart & WithToolResult(ToolResultT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue