7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lambda/Lambda_EXPORTS.h>
9#include <aws/lambda/model/ThrottleReason.h>
43 template <
typename RetryAfterSecondsT = Aws::String>
45 m_retryAfterSecondsHasBeenSet =
true;
46 m_retryAfterSeconds = std::forward<RetryAfterSecondsT>(value);
48 template <
typename RetryAfterSecondsT = Aws::String>
59 template <
typename TypeT = Aws::String>
61 m_typeHasBeenSet =
true;
62 m_type = std::forward<TypeT>(value);
64 template <
typename TypeT = Aws::String>
66 SetType(std::forward<TypeT>(value));
75 template <
typename MessageT = Aws::String>
77 m_messageHasBeenSet =
true;
78 m_message = std::forward<MessageT>(value);
80 template <
typename MessageT = Aws::String>
92 m_reasonHasBeenSet =
true;
108 bool m_retryAfterSecondsHasBeenSet =
false;
109 bool m_typeHasBeenSet =
false;
110 bool m_messageHasBeenSet =
false;
111 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