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>
46 template <
typename NameT = Aws::String>
48 m_nameHasBeenSet =
true;
49 m_name = std::forward<NameT>(value);
51 template <
typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
64 template <
typename DefinitionT = Aws::String>
66 m_definitionHasBeenSet =
true;
67 m_definition = std::forward<DefinitionT>(value);
69 template <
typename DefinitionT = Aws::String>
83 template <
typename ExamplesT = Aws::Vector<Aws::String>>
85 m_examplesHasBeenSet =
true;
86 m_examples = std::forward<ExamplesT>(value);
88 template <
typename ExamplesT = Aws::Vector<Aws::String>>
93 template <
typename ExamplesT = Aws::String>
95 m_examplesHasBeenSet =
true;
96 m_examples.emplace_back(std::forward<ExamplesT>(value));
108 m_typeHasBeenSet =
true;
128 m_inputActionHasBeenSet =
true;
129 m_inputAction = value;
148 m_outputActionHasBeenSet =
true;
149 m_outputAction = value;
166 m_inputEnabledHasBeenSet =
true;
167 m_inputEnabled = value;
184 m_outputEnabledHasBeenSet =
true;
185 m_outputEnabled = value;
194 bool m_nameHasBeenSet =
false;
197 bool m_definitionHasBeenSet =
false;
200 bool m_examplesHasBeenSet =
false;
203 bool m_typeHasBeenSet =
false;
206 bool m_inputActionHasBeenSet =
false;
209 bool m_outputActionHasBeenSet =
false;
211 bool m_inputEnabled{
false};
212 bool m_inputEnabledHasBeenSet =
false;
214 bool m_outputEnabled{
false};
215 bool m_outputEnabledHasBeenSet =
false;
const Aws::String & GetDefinition() const
GuardrailTopicType GetType() const
bool TypeHasBeenSet() const
void SetDefinition(DefinitionT &&value)
void SetName(NameT &&value)
void SetOutputEnabled(bool value)
GuardrailTopic & WithType(GuardrailTopicType value)
GuardrailTopic & WithExamples(ExamplesT &&value)
void SetInputEnabled(bool value)
GuardrailTopic & WithName(NameT &&value)
const Aws::String & GetName() const
void SetInputAction(GuardrailTopicAction value)
AWS_BEDROCK_API GuardrailTopic & operator=(Aws::Utils::Json::JsonView jsonValue)
bool InputActionHasBeenSet() const
bool GetInputEnabled() const
bool OutputEnabledHasBeenSet() const
void SetType(GuardrailTopicType value)
AWS_BEDROCK_API GuardrailTopic(Aws::Utils::Json::JsonView jsonValue)
bool OutputActionHasBeenSet() const
bool GetOutputEnabled() const
bool ExamplesHasBeenSet() const
GuardrailTopic & WithInputAction(GuardrailTopicAction value)
GuardrailTopicAction GetOutputAction() const
GuardrailTopic & WithInputEnabled(bool value)
GuardrailTopic & WithDefinition(DefinitionT &&value)
void SetOutputAction(GuardrailTopicAction value)
GuardrailTopic & WithOutputAction(GuardrailTopicAction value)
GuardrailTopic & WithOutputEnabled(bool value)
const Aws::Vector< Aws::String > & GetExamples() const
bool NameHasBeenSet() const
bool DefinitionHasBeenSet() const
void SetExamples(ExamplesT &&value)
bool InputEnabledHasBeenSet() const
GuardrailTopicAction GetInputAction() const
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API GuardrailTopic()=default
GuardrailTopic & AddExamples(ExamplesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue