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;
AWS_IOT1CLICKPROJECTS_API InternalFailureException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCode() const
const Aws::String & GetMessage() const
AWS_IOT1CLICKPROJECTS_API InternalFailureException(Aws::Utils::Json::JsonView jsonValue)
InternalFailureException & WithMessage(MessageT &&value)
bool CodeHasBeenSet() const
bool MessageHasBeenSet() const
void SetCode(CodeT &&value)
InternalFailureException & WithCode(CodeT &&value)
AWS_IOT1CLICKPROJECTS_API InternalFailureException()=default
void SetMessage(MessageT &&value)
AWS_IOT1CLICKPROJECTS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue