7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/AgenticRetrieveGuardrailWarning.h>
9#include <aws/bedrock-agent-runtime/model/AgenticRetrieveWarningMessage.h>
20namespace BedrockAgentRuntime {
41 template <
typename GuardrailT = AgenticRetrieveGuardrailWarning>
43 m_guardrailHasBeenSet =
true;
44 m_guardrail = std::forward<GuardrailT>(value);
46 template <
typename GuardrailT = AgenticRetrieveGuardrailWarning>
59 template <
typename MessageT = AgenticRetrieveWarningMessage>
61 m_messageHasBeenSet =
true;
62 m_message = std::forward<MessageT>(value);
64 template <
typename MessageT = AgenticRetrieveWarningMessage>
74 bool m_guardrailHasBeenSet =
false;
75 bool m_messageHasBeenSet =
false;
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(MessageT &&value)
const AgenticRetrieveWarningMessage & GetMessage() const
const AgenticRetrieveGuardrailWarning & GetGuardrail() const
bool GuardrailHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveWarning & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
AgenticRetrieveWarning & WithGuardrail(GuardrailT &&value)
AgenticRetrieveWarning & WithMessage(MessageT &&value)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveWarning(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveWarning()=default
void SetGuardrail(GuardrailT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue