7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/timestream-write/TimestreamWrite_EXPORTS.h>
10#include <aws/timestream-write/model/BatchLoadProgressReport.h>
11#include <aws/timestream-write/model/BatchLoadStatus.h>
12#include <aws/timestream-write/model/DataModelConfiguration.h>
13#include <aws/timestream-write/model/DataSourceConfiguration.h>
14#include <aws/timestream-write/model/ReportConfiguration.h>
25namespace TimestreamWrite {
46 template <
typename TaskIdT = Aws::String>
48 m_taskIdHasBeenSet =
true;
49 m_taskId = std::forward<TaskIdT>(value);
51 template <
typename TaskIdT = Aws::String>
64 template <
typename ErrorMessageT = Aws::String>
66 m_errorMessageHasBeenSet =
true;
67 m_errorMessage = std::forward<ErrorMessageT>(value);
69 template <
typename ErrorMessageT = Aws::String>
82 template <
typename DataSourceConfigurationT = DataSourceConfiguration>
84 m_dataSourceConfigurationHasBeenSet =
true;
85 m_dataSourceConfiguration = std::forward<DataSourceConfigurationT>(value);
87 template <
typename DataSourceConfigurationT = DataSourceConfiguration>
100 template <
typename ProgressReportT = BatchLoadProgressReport>
102 m_progressReportHasBeenSet =
true;
103 m_progressReport = std::forward<ProgressReportT>(value);
105 template <
typename ProgressReportT = BatchLoadProgressReport>
119 template <
typename ReportConfigurationT = ReportConfiguration>
121 m_reportConfigurationHasBeenSet =
true;
122 m_reportConfiguration = std::forward<ReportConfigurationT>(value);
124 template <
typename ReportConfigurationT = ReportConfiguration>
138 template <
typename DataModelConfigurationT = DataModelConfiguration>
140 m_dataModelConfigurationHasBeenSet =
true;
141 m_dataModelConfiguration = std::forward<DataModelConfigurationT>(value);
143 template <
typename DataModelConfigurationT = DataModelConfiguration>
156 template <
typename TargetDatabaseNameT = Aws::String>
158 m_targetDatabaseNameHasBeenSet =
true;
159 m_targetDatabaseName = std::forward<TargetDatabaseNameT>(value);
161 template <
typename TargetDatabaseNameT = Aws::String>
174 template <
typename TargetTableNameT = Aws::String>
176 m_targetTableNameHasBeenSet =
true;
177 m_targetTableName = std::forward<TargetTableNameT>(value);
179 template <
typename TargetTableNameT = Aws::String>
193 m_taskStatusHasBeenSet =
true;
194 m_taskStatus = value;
209 m_recordVersionHasBeenSet =
true;
210 m_recordVersion = value;
224 template <
typename CreationTimeT = Aws::Utils::DateTime>
226 m_creationTimeHasBeenSet =
true;
227 m_creationTime = std::forward<CreationTimeT>(value);
229 template <
typename CreationTimeT = Aws::Utils::DateTime>
242 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
244 m_lastUpdatedTimeHasBeenSet =
true;
245 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
247 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
260 template <
typename ResumableUntilT = Aws::Utils::DateTime>
262 m_resumableUntilHasBeenSet =
true;
263 m_resumableUntil = std::forward<ResumableUntilT>(value);
265 template <
typename ResumableUntilT = Aws::Utils::DateTime>
290 long long m_recordVersion{0};
297 bool m_taskIdHasBeenSet =
false;
298 bool m_errorMessageHasBeenSet =
false;
299 bool m_dataSourceConfigurationHasBeenSet =
false;
300 bool m_progressReportHasBeenSet =
false;
301 bool m_reportConfigurationHasBeenSet =
false;
302 bool m_dataModelConfigurationHasBeenSet =
false;
303 bool m_targetDatabaseNameHasBeenSet =
false;
304 bool m_targetTableNameHasBeenSet =
false;
305 bool m_taskStatusHasBeenSet =
false;
306 bool m_recordVersionHasBeenSet =
false;
307 bool m_creationTimeHasBeenSet =
false;
308 bool m_lastUpdatedTimeHasBeenSet =
false;
309 bool m_resumableUntilHasBeenSet =
false;
bool ErrorMessageHasBeenSet() const
void SetTaskStatus(BatchLoadStatus value)
void SetDataModelConfiguration(DataModelConfigurationT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
const Aws::String & GetErrorMessage() const
bool TaskIdHasBeenSet() const
bool TargetDatabaseNameHasBeenSet() const
const DataSourceConfiguration & GetDataSourceConfiguration() const
BatchLoadTaskDescription & WithTargetDatabaseName(TargetDatabaseNameT &&value)
bool TaskStatusHasBeenSet() const
bool RecordVersionHasBeenSet() const
void SetResumableUntil(ResumableUntilT &&value)
AWS_TIMESTREAMWRITE_API BatchLoadTaskDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchLoadTaskDescription & WithRecordVersion(long long value)
BatchLoadTaskDescription & WithErrorMessage(ErrorMessageT &&value)
void SetTaskId(TaskIdT &&value)
BatchLoadTaskDescription & WithCreationTime(CreationTimeT &&value)
void SetDataSourceConfiguration(DataSourceConfigurationT &&value)
BatchLoadTaskDescription & WithDataModelConfiguration(DataModelConfigurationT &&value)
BatchLoadTaskDescription & WithReportConfiguration(ReportConfigurationT &&value)
BatchLoadTaskDescription & WithLastUpdatedTime(LastUpdatedTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
BatchLoadTaskDescription & WithTaskStatus(BatchLoadStatus value)
void SetTargetTableName(TargetTableNameT &&value)
long long GetRecordVersion() const
AWS_TIMESTREAMWRITE_API BatchLoadTaskDescription(Aws::Utils::Json::JsonView jsonValue)
void SetTargetDatabaseName(TargetDatabaseNameT &&value)
BatchLoadTaskDescription & WithTaskId(TaskIdT &&value)
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const
bool DataSourceConfigurationHasBeenSet() const
void SetProgressReport(ProgressReportT &&value)
void SetCreationTime(CreationTimeT &&value)
bool ResumableUntilHasBeenSet() const
void SetReportConfiguration(ReportConfigurationT &&value)
const Aws::Utils::DateTime & GetResumableUntil() const
BatchLoadTaskDescription & WithResumableUntil(ResumableUntilT &&value)
BatchLoadTaskDescription & WithDataSourceConfiguration(DataSourceConfigurationT &&value)
bool CreationTimeHasBeenSet() const
const DataModelConfiguration & GetDataModelConfiguration() const
const Aws::String & GetTaskId() const
void SetRecordVersion(long long value)
bool ReportConfigurationHasBeenSet() const
bool ProgressReportHasBeenSet() const
BatchLoadTaskDescription & WithTargetTableName(TargetTableNameT &&value)
const BatchLoadProgressReport & GetProgressReport() const
BatchLoadStatus GetTaskStatus() const
BatchLoadTaskDescription & WithProgressReport(ProgressReportT &&value)
bool TargetTableNameHasBeenSet() const
const Aws::String & GetTargetTableName() const
bool DataModelConfigurationHasBeenSet() const
bool LastUpdatedTimeHasBeenSet() const
const Aws::String & GetTargetDatabaseName() const
const ReportConfiguration & GetReportConfiguration() const
AWS_TIMESTREAMWRITE_API BatchLoadTaskDescription()=default
void SetErrorMessage(ErrorMessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue