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
59 template<
typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
61 template<
typename NameT = Aws::String>
77 bool m_actionHasBeenSet =
false;
80 bool m_nameHasBeenSet =
false;
83 bool m_typeHasBeenSet =
false;
GuardrailTopicPolicyAction GetAction() const
AWS_BEDROCKAGENTRUNTIME_API GuardrailTopic(Aws::Utils::Json::JsonView jsonValue)
GuardrailTopicType GetType() const
GuardrailTopic & WithName(NameT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
bool ActionHasBeenSet() const
GuardrailTopic & WithAction(GuardrailTopicPolicyAction value)
bool TypeHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API GuardrailTopic()=default
bool NameHasBeenSet() const
GuardrailTopic & WithType(GuardrailTopicType value)
AWS_BEDROCKAGENTRUNTIME_API GuardrailTopic & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
void SetType(GuardrailTopicType value)
void SetAction(GuardrailTopicPolicyAction value)
const Aws::String & GetName() const
GuardrailTopicPolicyAction
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue