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/GuardrailContentQualifier.h>
23namespace BedrockRuntime
51 inline void SetText(
const char* value) { m_textHasBeenSet =
true; m_text.assign(value); }
73 bool m_textHasBeenSet =
false;
76 bool m_qualifiersHasBeenSet =
false;
GuardrailTextBlock & WithQualifiers(Aws::Vector< GuardrailContentQualifier > &&value)
AWS_BEDROCKRUNTIME_API GuardrailTextBlock()
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API GuardrailTextBlock(Aws::Utils::Json::JsonView jsonValue)
void SetQualifiers(Aws::Vector< GuardrailContentQualifier > &&value)
const Aws::Vector< GuardrailContentQualifier > & GetQualifiers() const
GuardrailTextBlock & AddQualifiers(GuardrailContentQualifier &&value)
AWS_BEDROCKRUNTIME_API GuardrailTextBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
GuardrailTextBlock & WithText(const Aws::String &value)
const Aws::String & GetText() const
bool TextHasBeenSet() const
bool QualifiersHasBeenSet() const
void SetText(const Aws::String &value)
void SetQualifiers(const Aws::Vector< GuardrailContentQualifier > &value)
void SetText(const char *value)
void SetText(Aws::String &&value)
GuardrailTextBlock & WithText(Aws::String &&value)
GuardrailTextBlock & AddQualifiers(const GuardrailContentQualifier &value)
GuardrailTextBlock & WithQualifiers(const Aws::Vector< GuardrailContentQualifier > &value)
GuardrailTextBlock & WithText(const char *value)
GuardrailContentQualifier
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue