7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/bedrock/model/GuardrailTopicType.h>
11#include <aws/bedrock/model/GuardrailTopicAction.h>
50 template<
typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
52 template<
typename NameT = Aws::String>
62 template<
typename DefinitionT = Aws::String>
63 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet =
true; m_definition = std::forward<DefinitionT>(value); }
64 template<
typename DefinitionT = Aws::String>
75 template<
typename ExamplesT = Aws::Vector<Aws::String>>
76 void SetExamples(ExamplesT&& value) { m_examplesHasBeenSet =
true; m_examples = std::forward<ExamplesT>(value); }
77 template<
typename ExamplesT = Aws::Vector<Aws::String>>
79 template<
typename ExamplesT = Aws::String>
129 inline void SetInputEnabled(
bool value) { m_inputEnabledHasBeenSet =
true; m_inputEnabled = value; }
141 inline void SetOutputEnabled(
bool value) { m_outputEnabledHasBeenSet =
true; m_outputEnabled = value; }
147 bool m_nameHasBeenSet =
false;
150 bool m_definitionHasBeenSet =
false;
153 bool m_examplesHasBeenSet =
false;
156 bool m_typeHasBeenSet =
false;
159 bool m_inputActionHasBeenSet =
false;
162 bool m_outputActionHasBeenSet =
false;
164 bool m_inputEnabled{
false};
165 bool m_inputEnabledHasBeenSet =
false;
167 bool m_outputEnabled{
false};
168 bool m_outputEnabledHasBeenSet =
false;
AWS_BEDROCK_API GuardrailTopicConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetOutputEnabled() const
bool InputActionHasBeenSet() const
const Aws::Vector< Aws::String > & GetExamples() const
bool NameHasBeenSet() const
GuardrailTopicType GetType() const
GuardrailTopicConfig & WithName(NameT &&value)
bool TypeHasBeenSet() const
bool OutputActionHasBeenSet() const
void SetDefinition(DefinitionT &&value)
GuardrailTopicConfig & WithType(GuardrailTopicType value)
GuardrailTopicConfig & WithInputAction(GuardrailTopicAction value)
void SetName(NameT &&value)
GuardrailTopicConfig & WithInputEnabled(bool value)
bool DefinitionHasBeenSet() const
bool GetInputEnabled() const
GuardrailTopicConfig & WithExamples(ExamplesT &&value)
AWS_BEDROCK_API GuardrailTopicConfig(Aws::Utils::Json::JsonView jsonValue)
GuardrailTopicConfig & WithOutputAction(GuardrailTopicAction value)
GuardrailTopicAction GetOutputAction() const
bool ExamplesHasBeenSet() const
bool InputEnabledHasBeenSet() const
const Aws::String & GetDefinition() const
void SetOutputEnabled(bool value)
GuardrailTopicConfig & WithDefinition(DefinitionT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInputEnabled(bool value)
const Aws::String & GetName() const
void SetOutputAction(GuardrailTopicAction value)
GuardrailTopicAction GetInputAction() const
GuardrailTopicConfig & WithOutputEnabled(bool value)
void SetExamples(ExamplesT &&value)
void SetInputAction(GuardrailTopicAction value)
void SetType(GuardrailTopicType value)
bool OutputEnabledHasBeenSet() const
GuardrailTopicConfig & AddExamples(ExamplesT &&value)
AWS_BEDROCK_API GuardrailTopicConfig()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue