7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
39 template <
typename MessageT = Aws::String>
41 m_messageHasBeenSet =
true;
42 m_message = std::forward<MessageT>(value);
44 template <
typename MessageT = Aws::String>
55 template <
typename CodeT = Aws::String>
57 m_codeHasBeenSet =
true;
58 m_code = std::forward<CodeT>(value);
60 template <
typename CodeT = Aws::String>
62 SetCode(std::forward<CodeT>(value));
70 bool m_messageHasBeenSet =
false;
71 bool m_codeHasBeenSet =
false;
void SetMessage(MessageT &&value)
AWS_SECURITYHUB_API InternalServerException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCode() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMessage() const
bool CodeHasBeenSet() const
AWS_SECURITYHUB_API InternalServerException(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
void SetCode(CodeT &&value)
AWS_SECURITYHUB_API InternalServerException()=default
InternalServerException & WithCode(CodeT &&value)
InternalServerException & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue