7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
19namespace GreengrassV2 {
39 template <
typename MessageT = Aws::String>
41 m_messageHasBeenSet =
true;
42 m_message = std::forward<MessageT>(value);
44 template <
typename MessageT = Aws::String>
58 m_retryAfterSecondsHasBeenSet =
true;
59 m_retryAfterSeconds = value;
69 int m_retryAfterSeconds{0};
70 bool m_messageHasBeenSet =
false;
71 bool m_retryAfterSecondsHasBeenSet =
false;
InternalServerException & WithRetryAfterSeconds(int value)
void SetMessage(MessageT &&value)
AWS_GREENGRASSV2_API InternalServerException & operator=(Aws::Utils::Json::JsonView jsonValue)
InternalServerException & WithMessage(MessageT &&value)
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
int GetRetryAfterSeconds() const
AWS_GREENGRASSV2_API InternalServerException(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
bool MessageHasBeenSet() const
AWS_GREENGRASSV2_API InternalServerException()=default
void SetRetryAfterSeconds(int value)
bool RetryAfterSecondsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue