7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace ApiGatewayV2 {
40 template <
typename ExceptionT = Aws::String>
42 m_exceptionHasBeenSet =
true;
43 m_exception = std::forward<ExceptionT>(value);
45 template <
typename ExceptionT = Aws::String>
58 template <
typename MessageT = Aws::String>
60 m_messageHasBeenSet =
true;
61 m_message = std::forward<MessageT>(value);
63 template <
typename MessageT = Aws::String>
73 bool m_exceptionHasBeenSet =
false;
74 bool m_messageHasBeenSet =
false;
void SetMessage(MessageT &&value)
AWS_APIGATEWAYV2_API StatusException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APIGATEWAYV2_API StatusException()=default
void SetException(ExceptionT &&value)
AWS_APIGATEWAYV2_API StatusException(Aws::Utils::Json::JsonView jsonValue)
bool ExceptionHasBeenSet() const
StatusException & WithException(ExceptionT &&value)
const Aws::String & GetMessage() const
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
StatusException & WithMessage(MessageT &&value)
bool MessageHasBeenSet() const
const Aws::String & GetException() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue