7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-runtime/model/GuardrailTopicType.h>
10#include <aws/bedrock-runtime/model/GuardrailTopicPolicyAction.h>
23namespace BedrockRuntime
50 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
83 bool m_nameHasBeenSet =
false;
86 bool m_typeHasBeenSet =
false;
89 bool m_actionHasBeenSet =
false;
GuardrailTopic & WithAction(GuardrailTopicPolicyAction &&value)
void SetAction(GuardrailTopicPolicyAction &&value)
const Aws::String & GetName() const
void SetType(GuardrailTopicType &&value)
AWS_BEDROCKRUNTIME_API GuardrailTopic(Aws::Utils::Json::JsonView jsonValue)
void SetName(const char *value)
void SetAction(const GuardrailTopicPolicyAction &value)
GuardrailTopic & WithName(const Aws::String &value)
GuardrailTopic & WithType(const GuardrailTopicType &value)
AWS_BEDROCKRUNTIME_API GuardrailTopic()
void SetName(const Aws::String &value)
const GuardrailTopicType & GetType() const
void SetType(const GuardrailTopicType &value)
GuardrailTopic & WithAction(const GuardrailTopicPolicyAction &value)
AWS_BEDROCKRUNTIME_API GuardrailTopic & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
bool ActionHasBeenSet() const
GuardrailTopic & WithName(const char *value)
GuardrailTopic & WithType(GuardrailTopicType &&value)
void SetName(Aws::String &&value)
GuardrailTopic & WithName(Aws::String &&value)
bool NameHasBeenSet() const
const GuardrailTopicPolicyAction & GetAction() const
bool TypeHasBeenSet() const
GuardrailTopicPolicyAction
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue