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
49 template<
typename TextT = Aws::String>
50 void SetText(TextT&& value) { m_textHasBeenSet =
true; m_text = std::forward<TextT>(value); }
51 template<
typename TextT = Aws::String>
61 template<
typename QualifiersT = Aws::Vector<GuardrailContentQualifier>>
62 void SetQualifiers(QualifiersT&& value) { m_qualifiersHasBeenSet =
true; m_qualifiers = std::forward<QualifiersT>(value); }
63 template<
typename QualifiersT = Aws::Vector<GuardrailContentQualifier>>
70 bool m_textHasBeenSet =
false;
73 bool m_qualifiersHasBeenSet =
false;
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetQualifiers(QualifiersT &&value)
AWS_BEDROCKRUNTIME_API GuardrailTextBlock(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< GuardrailContentQualifier > & GetQualifiers() const
GuardrailTextBlock & AddQualifiers(GuardrailContentQualifier value)
AWS_BEDROCKRUNTIME_API GuardrailTextBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetText() const
AWS_BEDROCKRUNTIME_API GuardrailTextBlock()=default
bool TextHasBeenSet() const
bool QualifiersHasBeenSet() const
GuardrailTextBlock & WithQualifiers(QualifiersT &&value)
GuardrailTextBlock & WithText(TextT &&value)
void SetText(TextT &&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