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;
130 bool m_textHasBeenSet =
false;
133 bool m_inputActionHasBeenSet =
false;
136 bool m_outputActionHasBeenSet =
false;
138 bool m_inputEnabled{
false};
139 bool m_inputEnabledHasBeenSet =
false;
141 bool m_outputEnabled{
false};
142 bool m_outputEnabledHasBeenSet =
false;
void SetText(TextT &&value)
AWS_BEDROCK_API GuardrailWordConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
GuardrailWordConfig & WithInputEnabled(bool value)
bool GetInputEnabled() const
void SetOutputEnabled(bool value)
bool InputActionHasBeenSet() const
GuardrailWordConfig & WithOutputEnabled(bool value)
GuardrailWordAction GetInputAction() const
GuardrailWordConfig & WithOutputAction(GuardrailWordAction value)
AWS_BEDROCK_API GuardrailWordConfig(Aws::Utils::Json::JsonView jsonValue)
void SetInputEnabled(bool value)
void SetInputAction(GuardrailWordAction value)
void SetOutputAction(GuardrailWordAction value)
bool GetOutputEnabled() const
bool TextHasBeenSet() const
AWS_BEDROCK_API GuardrailWordConfig()=default
bool OutputActionHasBeenSet() const
bool InputEnabledHasBeenSet() const
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
GuardrailWordConfig & WithText(TextT &&value)
bool OutputEnabledHasBeenSet() const
const Aws::String & GetText() const
GuardrailWordConfig & WithInputAction(GuardrailWordAction value)
GuardrailWordAction GetOutputAction() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue