7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/bedrock-runtime/model/ToolResultStatus.h>
11#include <aws/bedrock-runtime/model/ToolResultContentBlock.h>
24namespace BedrockRuntime
50 template<
typename ToolUseIdT = Aws::String>
51 void SetToolUseId(ToolUseIdT&& value) { m_toolUseIdHasBeenSet =
true; m_toolUseId = std::forward<ToolUseIdT>(value); }
52 template<
typename ToolUseIdT = Aws::String>
62 template<
typename ContentT = Aws::Vector<ToolResultContentBlock>>
63 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
64 template<
typename ContentT = Aws::Vector<ToolResultContentBlock>>
66 template<
typename ContentT = ToolResultContentBlock>
67 ToolResultBlock&
AddContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content.emplace_back(std::forward<ContentT>(value));
return *
this; }
83 bool m_toolUseIdHasBeenSet =
false;
86 bool m_contentHasBeenSet =
false;
89 bool m_statusHasBeenSet =
false;
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue