7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lambda/model/ThrottleReason.h>
49 template<
typename RetryAfterSecondsT = Aws::String>
50 void SetRetryAfterSeconds(RetryAfterSecondsT&& value) { m_retryAfterSecondsHasBeenSet =
true; m_retryAfterSeconds = std::forward<RetryAfterSecondsT>(value); }
51 template<
typename RetryAfterSecondsT = Aws::String>
59 template<
typename TypeT = Aws::String>
60 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
61 template<
typename TypeT = Aws::String>
69 template<
typename MessageT = Aws::String>
70 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
71 template<
typename MessageT = Aws::String>
85 bool m_retryAfterSecondsHasBeenSet =
false;
88 bool m_typeHasBeenSet =
false;
91 bool m_messageHasBeenSet =
false;
94 bool m_reasonHasBeenSet =
false;
void SetReason(ThrottleReason value)
void SetMessage(MessageT &&value)
bool ReasonHasBeenSet() const
void SetType(TypeT &&value)
bool TypeHasBeenSet() const
AWS_LAMBDA_API TooManyRequestsException()=default
TooManyRequestsException & WithType(TypeT &&value)
const Aws::String & GetRetryAfterSeconds() const
const Aws::String & GetMessage() const
AWS_LAMBDA_API TooManyRequestsException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetType() const
bool MessageHasBeenSet() const
TooManyRequestsException & WithMessage(MessageT &&value)
void SetRetryAfterSeconds(RetryAfterSecondsT &&value)
ThrottleReason GetReason() const
AWS_LAMBDA_API TooManyRequestsException(Aws::Utils::Json::JsonView jsonValue)
bool RetryAfterSecondsHasBeenSet() const
TooManyRequestsException & WithRetryAfterSeconds(RetryAfterSecondsT &&value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
TooManyRequestsException & WithReason(ThrottleReason value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue