7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/GuardrailTopicPolicyAction.h>
9#include <aws/bedrock-runtime/model/GuardrailTopicType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace BedrockRuntime {
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
62 m_typeHasBeenSet =
true;
78 m_actionHasBeenSet =
true;
95 m_detectedHasBeenSet =
true;
110 bool m_detected{
false};
111 bool m_nameHasBeenSet =
false;
112 bool m_typeHasBeenSet =
false;
113 bool m_actionHasBeenSet =
false;
114 bool m_detectedHasBeenSet =
false;
AWS_BEDROCKRUNTIME_API GuardrailTopic()=default
GuardrailTopicPolicyAction GetAction() const
bool DetectedHasBeenSet() const
void SetName(NameT &&value)
const Aws::String & GetName() const
AWS_BEDROCKRUNTIME_API GuardrailTopic(Aws::Utils::Json::JsonView jsonValue)
GuardrailTopic & WithAction(GuardrailTopicPolicyAction value)
GuardrailTopicType GetType() const
AWS_BEDROCKRUNTIME_API GuardrailTopic & operator=(Aws::Utils::Json::JsonView jsonValue)
GuardrailTopic & WithName(NameT &&value)
void SetType(GuardrailTopicType value)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
bool ActionHasBeenSet() const
GuardrailTopic & WithDetected(bool value)
void SetDetected(bool value)
bool NameHasBeenSet() const
GuardrailTopic & WithType(GuardrailTopicType value)
void SetAction(GuardrailTopicPolicyAction value)
bool TypeHasBeenSet() 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