7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace AppMonetization {
41 template <
typename MessageT = Aws::String>
43 m_messageHasBeenSet =
true;
44 m_message = std::forward<MessageT>(value);
46 template <
typename MessageT = Aws::String>
60 m_retryAfterSecondsHasBeenSet =
true;
61 m_retryAfterSeconds = value;
71 int m_retryAfterSeconds{0};
72 bool m_messageHasBeenSet =
false;
73 bool m_retryAfterSecondsHasBeenSet =
false;
bool RetryAfterSecondsHasBeenSet() const
void SetRetryAfterSeconds(int value)
bool MessageHasBeenSet() const
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMessage() const
int GetRetryAfterSeconds() const
ServiceUnavailableException & WithRetryAfterSeconds(int value)
AWS_APPMONETIZATION_API ServiceUnavailableException()=default
AWS_APPMONETIZATION_API ServiceUnavailableException(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMONETIZATION_API ServiceUnavailableException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(MessageT &&value)
ServiceUnavailableException & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue