7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace BedrockAgentRuntime
45 template<
typename MessageT = Aws::String>
46 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
47 template<
typename MessageT = Aws::String>
59 template<
typename ReasonT = Aws::String>
60 void SetReason(ReasonT&& value) { m_reasonHasBeenSet =
true; m_reason = std::forward<ReasonT>(value); }
61 template<
typename ReasonT = Aws::String>
67 bool m_messageHasBeenSet =
false;
70 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue