7#include <aws/iot1click-projects/IoT1ClickProjects_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace IoT1ClickProjects
44 template<
typename CodeT = Aws::String>
45 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
46 template<
typename CodeT = Aws::String>
54 template<
typename MessageT = Aws::String>
55 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
56 template<
typename MessageT = Aws::String>
62 bool m_codeHasBeenSet =
false;
65 bool m_messageHasBeenSet =
false;
const Aws::String & GetCode() const
void SetCode(CodeT &&value)
TooManyRequestsException & WithCode(CodeT &&value)
TooManyRequestsException & WithMessage(MessageT &&value)
AWS_IOT1CLICKPROJECTS_API TooManyRequestsException()=default
bool CodeHasBeenSet() const
AWS_IOT1CLICKPROJECTS_API TooManyRequestsException(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
AWS_IOT1CLICKPROJECTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(MessageT &&value)
bool MessageHasBeenSet() const
AWS_IOT1CLICKPROJECTS_API TooManyRequestsException & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue