7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/datasync/model/PhaseStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
54 inline void SetPrepareDuration(
long long value) { m_prepareDurationHasBeenSet =
true; m_prepareDuration = value; }
79 inline void SetTotalDuration(
long long value) { m_totalDurationHasBeenSet =
true; m_totalDuration = value; }
95 inline void SetTransferDuration(
long long value) { m_transferDurationHasBeenSet =
true; m_transferDuration = value; }
126 inline void SetVerifyDuration(
long long value) { m_verifyDurationHasBeenSet =
true; m_verifyDuration = value; }
156 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
173 inline void SetErrorDetail(
const char* value) { m_errorDetailHasBeenSet =
true; m_errorDetail.assign(value); }
180 long long m_prepareDuration;
181 bool m_prepareDurationHasBeenSet =
false;
184 bool m_prepareStatusHasBeenSet =
false;
186 long long m_totalDuration;
187 bool m_totalDurationHasBeenSet =
false;
189 long long m_transferDuration;
190 bool m_transferDurationHasBeenSet =
false;
193 bool m_transferStatusHasBeenSet =
false;
195 long long m_verifyDuration;
196 bool m_verifyDurationHasBeenSet =
false;
199 bool m_verifyStatusHasBeenSet =
false;
202 bool m_errorCodeHasBeenSet =
false;
205 bool m_errorDetailHasBeenSet =
false;
void SetPrepareDuration(long long value)
bool PrepareStatusHasBeenSet() const
AWS_DATASYNC_API TaskExecutionResultDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
TaskExecutionResultDetail & WithErrorCode(Aws::String &&value)
AWS_DATASYNC_API TaskExecutionResultDetail()
bool VerifyDurationHasBeenSet() const
const PhaseStatus & GetVerifyStatus() const
TaskExecutionResultDetail & WithPrepareStatus(const PhaseStatus &value)
TaskExecutionResultDetail & WithVerifyStatus(PhaseStatus &&value)
TaskExecutionResultDetail & WithTransferStatus(PhaseStatus &&value)
bool TransferDurationHasBeenSet() const
TaskExecutionResultDetail & WithVerifyDuration(long long value)
TaskExecutionResultDetail & WithPrepareDuration(long long value)
void SetTransferStatus(const PhaseStatus &value)
TaskExecutionResultDetail & WithTotalDuration(long long value)
TaskExecutionResultDetail & WithErrorDetail(const char *value)
void SetErrorCode(const Aws::String &value)
void SetErrorCode(const char *value)
void SetPrepareStatus(const PhaseStatus &value)
bool ErrorCodeHasBeenSet() const
void SetVerifyStatus(PhaseStatus &&value)
void SetErrorDetail(const Aws::String &value)
void SetTransferStatus(PhaseStatus &&value)
void SetVerifyDuration(long long value)
TaskExecutionResultDetail & WithPrepareStatus(PhaseStatus &&value)
AWS_DATASYNC_API TaskExecutionResultDetail(Aws::Utils::Json::JsonView jsonValue)
TaskExecutionResultDetail & WithErrorDetail(Aws::String &&value)
long long GetTotalDuration() const
bool ErrorDetailHasBeenSet() const
long long GetTransferDuration() const
void SetErrorCode(Aws::String &&value)
const Aws::String & GetErrorCode() const
void SetTotalDuration(long long value)
long long GetPrepareDuration() const
TaskExecutionResultDetail & WithErrorDetail(const Aws::String &value)
TaskExecutionResultDetail & WithErrorCode(const Aws::String &value)
TaskExecutionResultDetail & WithVerifyStatus(const PhaseStatus &value)
void SetVerifyStatus(const PhaseStatus &value)
void SetPrepareStatus(PhaseStatus &&value)
bool TransferStatusHasBeenSet() const
const PhaseStatus & GetTransferStatus() const
void SetErrorDetail(Aws::String &&value)
void SetErrorDetail(const char *value)
bool VerifyStatusHasBeenSet() const
TaskExecutionResultDetail & WithErrorCode(const char *value)
void SetTransferDuration(long long value)
TaskExecutionResultDetail & WithTransferDuration(long long value)
bool TotalDurationHasBeenSet() const
TaskExecutionResultDetail & WithTransferStatus(const PhaseStatus &value)
const Aws::String & GetErrorDetail() const
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
const PhaseStatus & GetPrepareStatus() const
bool PrepareDurationHasBeenSet() const
long long GetVerifyDuration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue