7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/GuardrailAction.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace BedrockAgentRuntime {
43 m_actionHasBeenSet =
true;
58 template <
typename IdT = Aws::String>
60 m_idHasBeenSet =
true;
61 m_id = std::forward<IdT>(value);
63 template <
typename IdT = Aws::String>
65 SetId(std::forward<IdT>(value));
76 template <
typename MessageT = Aws::String>
78 m_messageHasBeenSet =
true;
79 m_message = std::forward<MessageT>(value);
81 template <
typename MessageT = Aws::String>
94 template <
typename VersionT = Aws::String>
96 m_versionHasBeenSet =
true;
97 m_version = std::forward<VersionT>(value);
99 template <
typename VersionT = Aws::String>
113 bool m_actionHasBeenSet =
false;
114 bool m_idHasBeenSet =
false;
115 bool m_messageHasBeenSet =
false;
116 bool m_versionHasBeenSet =
false;
AgenticRetrieveGuardrailWarning & WithVersion(VersionT &&value)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveGuardrailWarning()=default
AgenticRetrieveGuardrailWarning & WithId(IdT &&value)
void SetVersion(VersionT &&value)
bool IdHasBeenSet() const
AgenticRetrieveGuardrailWarning & WithMessage(MessageT &&value)
bool VersionHasBeenSet() const
bool MessageHasBeenSet() const
const Aws::String & GetId() const
void SetMessage(MessageT &&value)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveGuardrailWarning(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveGuardrailWarning & operator=(Aws::Utils::Json::JsonView jsonValue)
GuardrailAction GetAction() const
void SetAction(GuardrailAction value)
bool ActionHasBeenSet() const
const Aws::String & GetVersion() const
AgenticRetrieveGuardrailWarning & WithAction(GuardrailAction value)
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