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