7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/GuardrailTopicAction.h>
9#include <aws/bedrock/model/GuardrailTopicType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
62 template <
typename DefinitionT = Aws::String>
64 m_definitionHasBeenSet =
true;
65 m_definition = std::forward<DefinitionT>(value);
67 template <
typename DefinitionT = Aws::String>
81 template <
typename ExamplesT = Aws::Vector<Aws::String>>
83 m_examplesHasBeenSet =
true;
84 m_examples = std::forward<ExamplesT>(value);
86 template <
typename ExamplesT = Aws::Vector<Aws::String>>
91 template <
typename ExamplesT = Aws::String>
93 m_examplesHasBeenSet =
true;
94 m_examples.emplace_back(std::forward<ExamplesT>(value));
106 m_typeHasBeenSet =
true;
126 m_inputActionHasBeenSet =
true;
127 m_inputAction = value;
146 m_outputActionHasBeenSet =
true;
147 m_outputAction = value;
164 m_inputEnabledHasBeenSet =
true;
165 m_inputEnabled = value;
182 m_outputEnabledHasBeenSet =
true;
183 m_outputEnabled = value;
192 bool m_nameHasBeenSet =
false;
195 bool m_definitionHasBeenSet =
false;
198 bool m_examplesHasBeenSet =
false;
201 bool m_typeHasBeenSet =
false;
204 bool m_inputActionHasBeenSet =
false;
207 bool m_outputActionHasBeenSet =
false;
209 bool m_inputEnabled{
false};
210 bool m_inputEnabledHasBeenSet =
false;
212 bool m_outputEnabled{
false};
213 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