7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/GuardrailTopicPolicyAction.h>
9#include <aws/bedrock-agent-runtime/model/GuardrailTopicType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace BedrockAgentRuntime {
44 m_actionHasBeenSet =
true;
59 template <
typename NameT = Aws::String>
61 m_nameHasBeenSet =
true;
62 m_name = std::forward<NameT>(value);
64 template <
typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
78 m_typeHasBeenSet =
true;
92 bool m_actionHasBeenSet =
false;
93 bool m_nameHasBeenSet =
false;
94 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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue