7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-runtime/model/ToolUseBlockDelta.h>
22namespace BedrockRuntime
49 inline void SetText(
const char* value) { m_textHasBeenSet =
true; m_text.assign(value); }
69 bool m_textHasBeenSet =
false;
72 bool m_toolUseHasBeenSet =
false;
ContentBlockDelta & WithText(const char *value)
bool ToolUseHasBeenSet() const
ContentBlockDelta & WithText(Aws::String &&value)
void SetText(const char *value)
AWS_BEDROCKRUNTIME_API ContentBlockDelta & operator=(Aws::Utils::Json::JsonView jsonValue)
ContentBlockDelta & WithToolUse(ToolUseBlockDelta &&value)
void SetText(Aws::String &&value)
void SetToolUse(const ToolUseBlockDelta &value)
ContentBlockDelta & WithToolUse(const ToolUseBlockDelta &value)
bool TextHasBeenSet() const
ContentBlockDelta & WithText(const Aws::String &value)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API ContentBlockDelta()
void SetToolUse(ToolUseBlockDelta &&value)
void SetText(const Aws::String &value)
AWS_BEDROCKRUNTIME_API ContentBlockDelta(Aws::Utils::Json::JsonView jsonValue)
const ToolUseBlockDelta & GetToolUse() const
const Aws::String & GetText() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue