7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/datasync/model/PhaseStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
61 template<
typename ErrorCodeT = Aws::String>
62 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet =
true; m_errorCode = std::forward<ErrorCodeT>(value); }
63 template<
typename ErrorCodeT = Aws::String>
73 template<
typename ErrorDetailT = Aws::String>
74 void SetErrorDetail(ErrorDetailT&& value) { m_errorDetailHasBeenSet =
true; m_errorDetail = std::forward<ErrorDetailT>(value); }
75 template<
typename ErrorDetailT = Aws::String>
81 bool m_statusHasBeenSet =
false;
84 bool m_errorCodeHasBeenSet =
false;
87 bool m_errorDetailHasBeenSet =
false;
AWS_DATASYNC_API ReportResult(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
const Aws::String & GetErrorCode() const
void SetStatus(PhaseStatus value)
ReportResult & WithErrorDetail(ErrorDetailT &&value)
bool ErrorCodeHasBeenSet() const
AWS_DATASYNC_API ReportResult & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorDetail(ErrorDetailT &&value)
bool ErrorDetailHasBeenSet() const
ReportResult & WithErrorCode(ErrorCodeT &&value)
AWS_DATASYNC_API ReportResult()=default
const Aws::String & GetErrorDetail() const
ReportResult & WithStatus(PhaseStatus value)
void SetErrorCode(ErrorCodeT &&value)
PhaseStatus GetStatus() const
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue