7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/model/JobErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace AccessAnalyzer
63 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
71 bool m_codeHasBeenSet =
false;
74 bool m_messageHasBeenSet =
false;
const JobErrorCode & GetCode() const
AWS_ACCESSANALYZER_API JobError(Aws::Utils::Json::JsonView jsonValue)
JobError & WithMessage(const char *value)
void SetMessage(Aws::String &&value)
JobError & WithMessage(const Aws::String &value)
JobError & WithMessage(Aws::String &&value)
bool CodeHasBeenSet() const
JobError & WithCode(const JobErrorCode &value)
bool MessageHasBeenSet() const
void SetMessage(const char *value)
void SetCode(const JobErrorCode &value)
const Aws::String & GetMessage() const
void SetMessage(const Aws::String &value)
JobError & WithCode(JobErrorCode &&value)
AWS_ACCESSANALYZER_API JobError & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCode(JobErrorCode &&value)
AWS_ACCESSANALYZER_API JobError()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue