7#include <aws/timestream-write/TimestreamWrite_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/timestream-write/model/DataSourceConfiguration.h>
10#include <aws/timestream-write/model/BatchLoadProgressReport.h>
11#include <aws/timestream-write/model/ReportConfiguration.h>
12#include <aws/timestream-write/model/DataModelConfiguration.h>
13#include <aws/timestream-write/model/BatchLoadStatus.h>
14#include <aws/core/utils/DateTime.h>
27namespace TimestreamWrite
54 inline void SetTaskId(
const char* value) { m_taskIdHasBeenSet =
true; m_taskId.assign(value); }
68 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
132 inline void SetTargetDatabaseName(
const char* value) { m_targetDatabaseNameHasBeenSet =
true; m_targetDatabaseName.assign(value); }
146 inline void SetTargetTableName(
const char* value) { m_targetTableNameHasBeenSet =
true; m_targetTableName.assign(value); }
170 inline void SetRecordVersion(
long long value) { m_recordVersionHasBeenSet =
true; m_recordVersion = value; }
212 bool m_taskIdHasBeenSet =
false;
215 bool m_errorMessageHasBeenSet =
false;
218 bool m_dataSourceConfigurationHasBeenSet =
false;
221 bool m_progressReportHasBeenSet =
false;
224 bool m_reportConfigurationHasBeenSet =
false;
227 bool m_dataModelConfigurationHasBeenSet =
false;
230 bool m_targetDatabaseNameHasBeenSet =
false;
233 bool m_targetTableNameHasBeenSet =
false;
236 bool m_taskStatusHasBeenSet =
false;
238 long long m_recordVersion;
239 bool m_recordVersionHasBeenSet =
false;
242 bool m_creationTimeHasBeenSet =
false;
245 bool m_lastUpdatedTimeHasBeenSet =
false;
248 bool m_resumableUntilHasBeenSet =
false;
bool ErrorMessageHasBeenSet() const
void SetResumableUntil(Aws::Utils::DateTime &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetErrorMessage(const Aws::String &value)
void SetDataModelConfiguration(const DataModelConfiguration &value)
void SetTaskStatus(const BatchLoadStatus &value)
void SetTaskStatus(BatchLoadStatus &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetDataSourceConfiguration(DataSourceConfiguration &&value)
void SetTaskId(const char *value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
BatchLoadTaskDescription & WithTaskId(const char *value)
BatchLoadTaskDescription & WithTargetDatabaseName(Aws::String &&value)
const Aws::String & GetErrorMessage() const
bool TaskIdHasBeenSet() const
bool TargetDatabaseNameHasBeenSet() const
void SetReportConfiguration(const ReportConfiguration &value)
BatchLoadTaskDescription & WithDataSourceConfiguration(DataSourceConfiguration &&value)
void SetProgressReport(BatchLoadProgressReport &&value)
BatchLoadTaskDescription & WithReportConfiguration(ReportConfiguration &&value)
BatchLoadTaskDescription & WithTaskId(Aws::String &&value)
BatchLoadTaskDescription & WithTargetTableName(const Aws::String &value)
const DataSourceConfiguration & GetDataSourceConfiguration() const
bool TaskStatusHasBeenSet() const
BatchLoadTaskDescription & WithTargetDatabaseName(const char *value)
void SetTargetTableName(Aws::String &&value)
bool RecordVersionHasBeenSet() const
AWS_TIMESTREAMWRITE_API BatchLoadTaskDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorMessage(Aws::String &&value)
BatchLoadTaskDescription & WithRecordVersion(long long value)
BatchLoadTaskDescription & WithProgressReport(const BatchLoadProgressReport &value)
void SetTargetDatabaseName(Aws::String &&value)
BatchLoadTaskDescription & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
BatchLoadTaskDescription & WithCreationTime(Aws::Utils::DateTime &&value)
BatchLoadTaskDescription & WithTaskStatus(BatchLoadStatus &&value)
BatchLoadTaskDescription & WithErrorMessage(const char *value)
BatchLoadTaskDescription & WithDataModelConfiguration(DataModelConfiguration &&value)
void SetDataSourceConfiguration(const DataSourceConfiguration &value)
void SetTargetDatabaseName(const char *value)
BatchLoadTaskDescription & WithErrorMessage(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTime() const
BatchLoadTaskDescription & WithTaskStatus(const BatchLoadStatus &value)
BatchLoadTaskDescription & WithResumableUntil(const Aws::Utils::DateTime &value)
BatchLoadTaskDescription & WithTaskId(const Aws::String &value)
BatchLoadTaskDescription & WithReportConfiguration(const ReportConfiguration &value)
long long GetRecordVersion() const
AWS_TIMESTREAMWRITE_API BatchLoadTaskDescription(Aws::Utils::Json::JsonView jsonValue)
void SetErrorMessage(const char *value)
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetTargetTableName(const Aws::String &value)
bool DataSourceConfigurationHasBeenSet() const
BatchLoadTaskDescription & WithProgressReport(BatchLoadProgressReport &&value)
AWS_TIMESTREAMWRITE_API BatchLoadTaskDescription()
BatchLoadTaskDescription & WithTargetTableName(Aws::String &&value)
void SetTargetDatabaseName(const Aws::String &value)
bool ResumableUntilHasBeenSet() const
void SetReportConfiguration(ReportConfiguration &&value)
void SetProgressReport(const BatchLoadProgressReport &value)
const Aws::Utils::DateTime & GetResumableUntil() const
void SetDataModelConfiguration(DataModelConfiguration &&value)
BatchLoadTaskDescription & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
bool CreationTimeHasBeenSet() const
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetTargetTableName(const char *value)
const DataModelConfiguration & GetDataModelConfiguration() const
void SetTaskId(const Aws::String &value)
const Aws::String & GetTaskId() const
void SetRecordVersion(long long value)
bool ReportConfigurationHasBeenSet() const
BatchLoadTaskDescription & WithCreationTime(const Aws::Utils::DateTime &value)
BatchLoadTaskDescription & WithTargetTableName(const char *value)
bool ProgressReportHasBeenSet() const
BatchLoadTaskDescription & WithTargetDatabaseName(const Aws::String &value)
BatchLoadTaskDescription & WithErrorMessage(const Aws::String &value)
void SetTaskId(Aws::String &&value)
BatchLoadTaskDescription & WithDataModelConfiguration(const DataModelConfiguration &value)
const BatchLoadProgressReport & GetProgressReport() const
BatchLoadTaskDescription & WithResumableUntil(Aws::Utils::DateTime &&value)
bool TargetTableNameHasBeenSet() const
const Aws::String & GetTargetTableName() const
bool DataModelConfigurationHasBeenSet() const
bool LastUpdatedTimeHasBeenSet() const
const Aws::String & GetTargetDatabaseName() const
const ReportConfiguration & GetReportConfiguration() const
const BatchLoadStatus & GetTaskStatus() const
void SetResumableUntil(const Aws::Utils::DateTime &value)
BatchLoadTaskDescription & WithDataSourceConfiguration(const DataSourceConfiguration &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue