7#include <aws/apiportal/APIPortal_EXPORTS.h>
8#include <aws/apiportal/model/PortalStatusExceptionType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
41 m_exceptionHasBeenSet =
true;
56 template <
typename MessageT = Aws::String>
58 m_messageHasBeenSet =
true;
59 m_message = std::forward<MessageT>(value);
61 template <
typename MessageT = Aws::String>
71 bool m_exceptionHasBeenSet =
false;
72 bool m_messageHasBeenSet =
false;
PortalStatusException & WithException(PortalStatusExceptionType value)
bool MessageHasBeenSet() const
void SetMessage(MessageT &&value)
AWS_APIPORTAL_API Aws::Utils::Json::JsonValue Jsonize() const
bool ExceptionHasBeenSet() const
const Aws::String & GetMessage() const
AWS_APIPORTAL_API PortalStatusException()=default
PortalStatusExceptionType GetException() const
AWS_APIPORTAL_API PortalStatusException & operator=(Aws::Utils::Json::JsonView jsonValue)
PortalStatusException & WithMessage(MessageT &&value)
void SetException(PortalStatusExceptionType value)
AWS_APIPORTAL_API PortalStatusException(Aws::Utils::Json::JsonView jsonValue)
PortalStatusExceptionType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue