7#include <aws/inspector-scan/Inspectorscan_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector-scan/model/InternalServerExceptionReason.h>
22namespace inspectorscan
48 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
72 inline void SetRetryAfterSeconds(
int value) { m_retryAfterSecondsHasBeenSet =
true; m_retryAfterSeconds = value; }
78 bool m_messageHasBeenSet =
false;
81 bool m_reasonHasBeenSet =
false;
83 int m_retryAfterSeconds;
84 bool m_retryAfterSecondsHasBeenSet =
false;
void SetReason(const InternalServerExceptionReason &value)
void SetMessage(const char *value)
void SetReason(InternalServerExceptionReason &&value)
InternalServerException & WithMessage(Aws::String &&value)
InternalServerException & WithRetryAfterSeconds(int value)
InternalServerException & WithReason(InternalServerExceptionReason &&value)
AWS_INSPECTORSCAN_API Aws::Utils::Json::JsonValue Jsonize() const
InternalServerException & WithMessage(const char *value)
InternalServerException & WithReason(const InternalServerExceptionReason &value)
bool MessageHasBeenSet() const
bool ReasonHasBeenSet() const
InternalServerException & WithMessage(const Aws::String &value)
int GetRetryAfterSeconds() const
AWS_INSPECTORSCAN_API InternalServerException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTORSCAN_API InternalServerException(Aws::Utils::Json::JsonView jsonValue)
bool RetryAfterSecondsHasBeenSet() const
void SetRetryAfterSeconds(int value)
void SetMessage(const Aws::String &value)
AWS_INSPECTORSCAN_API InternalServerException()
const Aws::String & GetMessage() const
void SetMessage(Aws::String &&value)
const InternalServerExceptionReason & GetReason() const
InternalServerExceptionReason
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue