7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/GuardrailWordAction.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
41 template <
typename TextT = Aws::String>
43 m_textHasBeenSet =
true;
44 m_text = std::forward<TextT>(value);
46 template <
typename TextT = Aws::String>
48 SetText(std::forward<TextT>(value));
64 m_inputActionHasBeenSet =
true;
65 m_inputAction = value;
84 m_outputActionHasBeenSet =
true;
85 m_outputAction = value;
102 m_inputEnabledHasBeenSet =
true;
103 m_inputEnabled = value;
120 m_outputEnabledHasBeenSet =
true;
121 m_outputEnabled = value;
135 bool m_inputEnabled{
false};
137 bool m_outputEnabled{
false};
138 bool m_textHasBeenSet =
false;
139 bool m_inputActionHasBeenSet =
false;
140 bool m_outputActionHasBeenSet =
false;
141 bool m_inputEnabledHasBeenSet =
false;
142 bool m_outputEnabledHasBeenSet =
false;
void SetInputEnabled(bool value)
GuardrailWord & WithInputEnabled(bool value)
bool GetOutputEnabled() const
void SetOutputEnabled(bool value)
GuardrailWord & WithOutputAction(GuardrailWordAction value)
bool InputActionHasBeenSet() const
GuardrailWordAction GetInputAction() const
bool OutputActionHasBeenSet() const
bool OutputEnabledHasBeenSet() const
bool TextHasBeenSet() const
AWS_BEDROCK_API GuardrailWord(Aws::Utils::Json::JsonView jsonValue)
void SetInputAction(GuardrailWordAction value)
bool GetInputEnabled() const
GuardrailWord & WithOutputEnabled(bool value)
void SetText(TextT &&value)
GuardrailWord & WithInputAction(GuardrailWordAction value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
bool InputEnabledHasBeenSet() const
GuardrailWordAction GetOutputAction() const
AWS_BEDROCK_API GuardrailWord & operator=(Aws::Utils::Json::JsonView jsonValue)
GuardrailWord & WithText(TextT &&value)
const Aws::String & GetText() const
AWS_BEDROCK_API GuardrailWord()=default
void SetOutputAction(GuardrailWordAction value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue