7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/qbusiness/model/DataSourceSyncJobStatus.h>
11#include <aws/qbusiness/model/ErrorDetail.h>
12#include <aws/qbusiness/model/DataSourceSyncJobMetrics.h>
53 inline void SetExecutionId(
const char* value) { m_executionIdHasBeenSet =
true; m_executionId.assign(value); }
122 inline void SetDataSourceErrorCode(
const char* value) { m_dataSourceErrorCodeHasBeenSet =
true; m_dataSourceErrorCode.assign(value); }
144 bool m_executionIdHasBeenSet =
false;
147 bool m_startTimeHasBeenSet =
false;
150 bool m_endTimeHasBeenSet =
false;
153 bool m_statusHasBeenSet =
false;
156 bool m_errorHasBeenSet =
false;
159 bool m_dataSourceErrorCodeHasBeenSet =
false;
162 bool m_metricsHasBeenSet =
false;
DataSourceSyncJob & WithEndTime(const Aws::Utils::DateTime &value)
AWS_QBUSINESS_API DataSourceSyncJob(Aws::Utils::Json::JsonView jsonValue)
DataSourceSyncJob & WithMetrics(DataSourceSyncJobMetrics &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(DataSourceSyncJobStatus &&value)
void SetError(const ErrorDetail &value)
bool DataSourceErrorCodeHasBeenSet() const
DataSourceSyncJob & WithDataSourceErrorCode(const char *value)
bool StartTimeHasBeenSet() const
const Aws::String & GetExecutionId() const
DataSourceSyncJob & WithStatus(DataSourceSyncJobStatus &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
void SetStartTime(Aws::Utils::DateTime &&value)
AWS_QBUSINESS_API DataSourceSyncJob()
bool ErrorHasBeenSet() const
DataSourceSyncJob & WithStartTime(const Aws::Utils::DateTime &value)
DataSourceSyncJob & WithExecutionId(const char *value)
void SetMetrics(DataSourceSyncJobMetrics &&value)
bool ExecutionIdHasBeenSet() const
DataSourceSyncJob & WithEndTime(Aws::Utils::DateTime &&value)
const ErrorDetail & GetError() const
DataSourceSyncJob & WithExecutionId(const Aws::String &value)
void SetDataSourceErrorCode(const char *value)
AWS_QBUSINESS_API DataSourceSyncJob & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
bool MetricsHasBeenSet() const
void SetStartTime(const Aws::Utils::DateTime &value)
void SetError(ErrorDetail &&value)
DataSourceSyncJob & WithError(const ErrorDetail &value)
const DataSourceSyncJobMetrics & GetMetrics() const
DataSourceSyncJob & WithDataSourceErrorCode(Aws::String &&value)
void SetExecutionId(Aws::String &&value)
DataSourceSyncJob & WithDataSourceErrorCode(const Aws::String &value)
void SetMetrics(const DataSourceSyncJobMetrics &value)
const Aws::Utils::DateTime & GetEndTime() const
void SetStatus(const DataSourceSyncJobStatus &value)
const DataSourceSyncJobStatus & GetStatus() const
void SetDataSourceErrorCode(Aws::String &&value)
void SetEndTime(Aws::Utils::DateTime &&value)
DataSourceSyncJob & WithMetrics(const DataSourceSyncJobMetrics &value)
DataSourceSyncJob & WithStartTime(Aws::Utils::DateTime &&value)
void SetExecutionId(const char *value)
DataSourceSyncJob & WithError(ErrorDetail &&value)
void SetDataSourceErrorCode(const Aws::String &value)
DataSourceSyncJob & WithExecutionId(Aws::String &&value)
bool EndTimeHasBeenSet() const
const Aws::String & GetDataSourceErrorCode() const
DataSourceSyncJob & WithStatus(const DataSourceSyncJobStatus &value)
void SetExecutionId(const Aws::String &value)
const Aws::Utils::DateTime & GetStartTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue