7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/Span.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace BedrockAgentRuntime
55 inline void SetSpan(
const Span& value) { m_spanHasBeenSet =
true; m_span = value; }
56 inline void SetSpan(
Span&& value) { m_spanHasBeenSet =
true; m_span = std::move(value); }
69 inline void SetText(
const char* value) { m_textHasBeenSet =
true; m_text.assign(value); }
77 bool m_spanHasBeenSet =
false;
80 bool m_textHasBeenSet =
false;
AWS_BEDROCKAGENTRUNTIME_API TextResponsePart()
AWS_BEDROCKAGENTRUNTIME_API TextResponsePart(Aws::Utils::Json::JsonView jsonValue)
const Span & GetSpan() const
AWS_BEDROCKAGENTRUNTIME_API TextResponsePart & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSpan(Span &&value)
void SetSpan(const Span &value)
bool SpanHasBeenSet() const
TextResponsePart & WithText(Aws::String &&value)
TextResponsePart & WithText(const char *value)
void SetText(const Aws::String &value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
TextResponsePart & WithText(const Aws::String &value)
TextResponsePart & WithSpan(const Span &value)
void SetText(const char *value)
const Aws::String & GetText() const
void SetText(Aws::String &&value)
bool TextHasBeenSet() const
TextResponsePart & WithSpan(Span &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue