7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename RetryAfterSecondsT = Aws::String>
47 void SetRetryAfterSeconds(RetryAfterSecondsT&& value) { m_retryAfterSecondsHasBeenSet =
true; m_retryAfterSeconds = std::forward<RetryAfterSecondsT>(value); }
48 template<
typename RetryAfterSecondsT = Aws::String>
56 template<
typename MessageT = Aws::String>
57 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
58 template<
typename MessageT = Aws::String>
64 bool m_retryAfterSecondsHasBeenSet =
false;
67 bool m_messageHasBeenSet =
false;
void SetMessage(MessageT &&value)
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
bool MessageHasBeenSet() const
ServiceUnavailableException & WithRetryAfterSeconds(RetryAfterSecondsT &&value)
const Aws::String & GetRetryAfterSeconds() const
const Aws::String & GetMessage() const
AWS_APIGATEWAY_API ServiceUnavailableException()=default
AWS_APIGATEWAY_API ServiceUnavailableException(Aws::Utils::Json::JsonView jsonValue)
void SetRetryAfterSeconds(RetryAfterSecondsT &&value)
AWS_APIGATEWAY_API ServiceUnavailableException & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RetryAfterSecondsHasBeenSet() const
ServiceUnavailableException & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue