7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace PrometheusService
49 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
61 inline void SetRetryAfterSeconds(
int value) { m_retryAfterSecondsHasBeenSet =
true; m_retryAfterSeconds = value; }
67 bool m_messageHasBeenSet =
false;
69 int m_retryAfterSeconds;
70 bool m_retryAfterSecondsHasBeenSet =
false;
void SetMessage(const Aws::String &value)
AWS_PROMETHEUSSERVICE_API InternalServerException(Aws::Utils::Json::JsonView jsonValue)
int GetRetryAfterSeconds() const
void SetMessage(const char *value)
const Aws::String & GetMessage() const
void SetMessage(Aws::String &&value)
bool MessageHasBeenSet() const
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
InternalServerException & WithRetryAfterSeconds(int value)
void SetRetryAfterSeconds(int value)
AWS_PROMETHEUSSERVICE_API InternalServerException & operator=(Aws::Utils::Json::JsonView jsonValue)
InternalServerException & WithMessage(const char *value)
AWS_PROMETHEUSSERVICE_API InternalServerException()
InternalServerException & WithMessage(const Aws::String &value)
InternalServerException & WithMessage(Aws::String &&value)
bool RetryAfterSecondsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue