7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace AmplifyBackend
47 template<
typename LimitTypeT = Aws::String>
48 void SetLimitType(LimitTypeT&& value) { m_limitTypeHasBeenSet =
true; m_limitType = std::forward<LimitTypeT>(value); }
49 template<
typename LimitTypeT = Aws::String>
59 template<
typename MessageT = Aws::String>
60 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
61 template<
typename MessageT = Aws::String>
67 bool m_limitTypeHasBeenSet =
false;
70 bool m_messageHasBeenSet =
false;
bool MessageHasBeenSet() const
AWS_AMPLIFYBACKEND_API TooManyRequestsException()=default
const Aws::String & GetLimitType() const
void SetLimitType(LimitTypeT &&value)
const Aws::String & GetMessage() const
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
bool LimitTypeHasBeenSet() const
void SetMessage(MessageT &&value)
AWS_AMPLIFYBACKEND_API TooManyRequestsException & operator=(Aws::Utils::Json::JsonView jsonValue)
TooManyRequestsException & WithLimitType(LimitTypeT &&value)
TooManyRequestsException & WithMessage(MessageT &&value)
AWS_AMPLIFYBACKEND_API TooManyRequestsException(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue