7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/datasync/model/PhaseStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
65 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
79 inline void SetErrorDetail(
const char* value) { m_errorDetailHasBeenSet =
true; m_errorDetail.assign(value); }
87 bool m_statusHasBeenSet =
false;
90 bool m_errorCodeHasBeenSet =
false;
93 bool m_errorDetailHasBeenSet =
false;
ReportResult & WithStatus(const PhaseStatus &value)
ReportResult & WithErrorDetail(const Aws::String &value)
void SetStatus(PhaseStatus &&value)
ReportResult & WithStatus(PhaseStatus &&value)
AWS_DATASYNC_API ReportResult(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
ReportResult & WithErrorCode(Aws::String &&value)
const Aws::String & GetErrorCode() const
ReportResult & WithErrorDetail(const char *value)
AWS_DATASYNC_API ReportResult()
const PhaseStatus & GetStatus() const
bool ErrorCodeHasBeenSet() const
AWS_DATASYNC_API ReportResult & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorCode(Aws::String &&value)
void SetErrorDetail(const char *value)
void SetErrorCode(const Aws::String &value)
bool ErrorDetailHasBeenSet() const
ReportResult & WithErrorDetail(Aws::String &&value)
ReportResult & WithErrorCode(const char *value)
void SetErrorDetail(const Aws::String &value)
const Aws::String & GetErrorDetail() const
void SetErrorDetail(Aws::String &&value)
ReportResult & WithErrorCode(const Aws::String &value)
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(const PhaseStatus &value)
void SetErrorCode(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue