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