7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace BedrockAgentRuntime {
39 template <
typename MessageT = Aws::String>
41 m_messageHasBeenSet =
true;
42 m_message = std::forward<MessageT>(value);
44 template <
typename MessageT = Aws::String>
59 template <
typename ReasonT = Aws::String>
61 m_reasonHasBeenSet =
true;
62 m_reason = std::forward<ReasonT>(value);
64 template <
typename ReasonT = Aws::String>
74 bool m_messageHasBeenSet =
false;
75 bool m_reasonHasBeenSet =
false;
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
bool MessageHasBeenSet() const
const Aws::String & GetReason() const
bool ReasonHasBeenSet() const
const Aws::String & GetMessage() const
InternalServerException & WithMessage(MessageT &&value)
InternalServerException & WithReason(ReasonT &&value)
AWS_BEDROCKAGENTRUNTIME_API InternalServerException()=default
void SetReason(ReasonT &&value)
AWS_BEDROCKAGENTRUNTIME_API InternalServerException(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API InternalServerException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(MessageT &&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