7#include <aws/docdb-elastic/DocDBElastic_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
45 template<
typename MessageT = Aws::String>
46 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
47 template<
typename MessageT = Aws::String>
57 inline void SetRetryAfterSeconds(
int value) { m_retryAfterSecondsHasBeenSet =
true; m_retryAfterSeconds = value; }
63 bool m_messageHasBeenSet =
false;
65 int m_retryAfterSeconds{0};
66 bool m_retryAfterSecondsHasBeenSet =
false;
const Aws::String & GetMessage() const
ThrottlingException & WithRetryAfterSeconds(int value)
bool RetryAfterSecondsHasBeenSet() const
AWS_DOCDBELASTIC_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetRetryAfterSeconds() const
AWS_DOCDBELASTIC_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
AWS_DOCDBELASTIC_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DOCDBELASTIC_API ThrottlingException()=default
void SetMessage(MessageT &&value)
ThrottlingException & WithMessage(MessageT &&value)
bool MessageHasBeenSet() const
void SetRetryAfterSeconds(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue