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>
53 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
67 inline void SetDefinition(
const char* value) { m_definitionHasBeenSet =
true; m_definition.assign(value); }
103 bool m_nameHasBeenSet =
false;
106 bool m_definitionHasBeenSet =
false;
109 bool m_examplesHasBeenSet =
false;
112 bool m_typeHasBeenSet =
false;
const Aws::String & GetDefinition() const
GuardrailTopic & WithName(const char *value)
GuardrailTopic & WithName(const Aws::String &value)
bool TypeHasBeenSet() const
GuardrailTopic & AddExamples(Aws::String &&value)
void SetDefinition(const char *value)
GuardrailTopic & AddExamples(const char *value)
void SetType(const GuardrailTopicType &value)
void SetName(Aws::String &&value)
GuardrailTopic & WithName(Aws::String &&value)
const Aws::String & GetName() const
void SetType(GuardrailTopicType &&value)
const GuardrailTopicType & GetType() const
AWS_BEDROCK_API GuardrailTopic & operator=(Aws::Utils::Json::JsonView jsonValue)
GuardrailTopic & WithType(const GuardrailTopicType &value)
GuardrailTopic & WithType(GuardrailTopicType &&value)
void SetName(const char *value)
GuardrailTopic & WithDefinition(const char *value)
AWS_BEDROCK_API GuardrailTopic(Aws::Utils::Json::JsonView jsonValue)
void SetExamples(Aws::Vector< Aws::String > &&value)
void SetDefinition(const Aws::String &value)
void SetExamples(const Aws::Vector< Aws::String > &value)
void SetDefinition(Aws::String &&value)
GuardrailTopic & WithDefinition(Aws::String &&value)
bool ExamplesHasBeenSet() const
GuardrailTopic & WithExamples(Aws::Vector< Aws::String > &&value)
GuardrailTopic & WithDefinition(const Aws::String &value)
AWS_BEDROCK_API GuardrailTopic()
const Aws::Vector< Aws::String > & GetExamples() const
bool NameHasBeenSet() const
GuardrailTopic & WithExamples(const Aws::Vector< Aws::String > &value)
void SetName(const Aws::String &value)
bool DefinitionHasBeenSet() const
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
GuardrailTopic & AddExamples(const Aws::String &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