7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock/model/GuardrailWordAction.h>
47 template<
typename TextT = Aws::String>
48 void SetText(TextT&& value) { m_textHasBeenSet =
true; m_text = std::forward<TextT>(value); }
49 template<
typename TextT = Aws::String>
89 inline void SetInputEnabled(
bool value) { m_inputEnabledHasBeenSet =
true; m_inputEnabled = value; }
101 inline void SetOutputEnabled(
bool value) { m_outputEnabledHasBeenSet =
true; m_outputEnabled = value; }
107 bool m_textHasBeenSet =
false;
110 bool m_inputActionHasBeenSet =
false;
113 bool m_outputActionHasBeenSet =
false;
115 bool m_inputEnabled{
false};
116 bool m_inputEnabledHasBeenSet =
false;
118 bool m_outputEnabled{
false};
119 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue