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