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
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
82 inline void SetDetected(
bool value) { m_detectedHasBeenSet =
true; m_detected = value; }
88 bool m_nameHasBeenSet =
false;
91 bool m_typeHasBeenSet =
false;
94 bool m_actionHasBeenSet =
false;
96 bool m_detected{
false};
97 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue