7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datasync/DataSync_EXPORTS.h>
9#include <aws/datasync/model/PhaseStatus.h>
45 m_statusHasBeenSet =
true;
61 template <
typename ErrorCodeT = Aws::String>
63 m_errorCodeHasBeenSet =
true;
64 m_errorCode = std::forward<ErrorCodeT>(value);
66 template <
typename ErrorCodeT = Aws::String>
79 template <
typename ErrorDetailT = Aws::String>
81 m_errorDetailHasBeenSet =
true;
82 m_errorDetail = std::forward<ErrorDetailT>(value);
84 template <
typename ErrorDetailT = Aws::String>
96 bool m_statusHasBeenSet =
false;
97 bool m_errorCodeHasBeenSet =
false;
98 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