/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about a batch load task.See Also:
AWS
* API Reference
The ID of the batch load task.
*/ inline const Aws::String& GetTaskId() const{ return m_taskId; } /** *The ID of the batch load task.
*/ inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; } /** *The ID of the batch load task.
*/ inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; } /** *The ID of the batch load task.
*/ inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); } /** *The ID of the batch load task.
*/ inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); } /** *The ID of the batch load task.
*/ inline BatchLoadTaskDescription& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} /** *The ID of the batch load task.
*/ inline BatchLoadTaskDescription& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} /** *The ID of the batch load task.
*/ inline BatchLoadTaskDescription& WithTaskId(const char* value) { SetTaskId(value); return *this;} /** * */ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** * */ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** * */ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** * */ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** * */ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** * */ inline BatchLoadTaskDescription& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** * */ inline BatchLoadTaskDescription& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** * */ inline BatchLoadTaskDescription& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} /** *Configuration details about the data source for a batch load task.
*/ inline const DataSourceConfiguration& GetDataSourceConfiguration() const{ return m_dataSourceConfiguration; } /** *Configuration details about the data source for a batch load task.
*/ inline bool DataSourceConfigurationHasBeenSet() const { return m_dataSourceConfigurationHasBeenSet; } /** *Configuration details about the data source for a batch load task.
*/ inline void SetDataSourceConfiguration(const DataSourceConfiguration& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = value; } /** *Configuration details about the data source for a batch load task.
*/ inline void SetDataSourceConfiguration(DataSourceConfiguration&& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = std::move(value); } /** *Configuration details about the data source for a batch load task.
*/ inline BatchLoadTaskDescription& WithDataSourceConfiguration(const DataSourceConfiguration& value) { SetDataSourceConfiguration(value); return *this;} /** *Configuration details about the data source for a batch load task.
*/ inline BatchLoadTaskDescription& WithDataSourceConfiguration(DataSourceConfiguration&& value) { SetDataSourceConfiguration(std::move(value)); return *this;} /** * */ inline const BatchLoadProgressReport& GetProgressReport() const{ return m_progressReport; } /** * */ inline bool ProgressReportHasBeenSet() const { return m_progressReportHasBeenSet; } /** * */ inline void SetProgressReport(const BatchLoadProgressReport& value) { m_progressReportHasBeenSet = true; m_progressReport = value; } /** * */ inline void SetProgressReport(BatchLoadProgressReport&& value) { m_progressReportHasBeenSet = true; m_progressReport = std::move(value); } /** * */ inline BatchLoadTaskDescription& WithProgressReport(const BatchLoadProgressReport& value) { SetProgressReport(value); return *this;} /** * */ inline BatchLoadTaskDescription& WithProgressReport(BatchLoadProgressReport&& value) { SetProgressReport(std::move(value)); return *this;} /** *Report configuration for a batch load task. This contains details about where * error reports are stored.
*/ inline const ReportConfiguration& GetReportConfiguration() const{ return m_reportConfiguration; } /** *Report configuration for a batch load task. This contains details about where * error reports are stored.
*/ inline bool ReportConfigurationHasBeenSet() const { return m_reportConfigurationHasBeenSet; } /** *Report configuration for a batch load task. This contains details about where * error reports are stored.
*/ inline void SetReportConfiguration(const ReportConfiguration& value) { m_reportConfigurationHasBeenSet = true; m_reportConfiguration = value; } /** *Report configuration for a batch load task. This contains details about where * error reports are stored.
*/ inline void SetReportConfiguration(ReportConfiguration&& value) { m_reportConfigurationHasBeenSet = true; m_reportConfiguration = std::move(value); } /** *Report configuration for a batch load task. This contains details about where * error reports are stored.
*/ inline BatchLoadTaskDescription& WithReportConfiguration(const ReportConfiguration& value) { SetReportConfiguration(value); return *this;} /** *Report configuration for a batch load task. This contains details about where * error reports are stored.
*/ inline BatchLoadTaskDescription& WithReportConfiguration(ReportConfiguration&& value) { SetReportConfiguration(std::move(value)); return *this;} /** *Data model configuration for a batch load task. This contains details about * where a data model for a batch load task is stored.
*/ inline const DataModelConfiguration& GetDataModelConfiguration() const{ return m_dataModelConfiguration; } /** *Data model configuration for a batch load task. This contains details about * where a data model for a batch load task is stored.
*/ inline bool DataModelConfigurationHasBeenSet() const { return m_dataModelConfigurationHasBeenSet; } /** *Data model configuration for a batch load task. This contains details about * where a data model for a batch load task is stored.
*/ inline void SetDataModelConfiguration(const DataModelConfiguration& value) { m_dataModelConfigurationHasBeenSet = true; m_dataModelConfiguration = value; } /** *Data model configuration for a batch load task. This contains details about * where a data model for a batch load task is stored.
*/ inline void SetDataModelConfiguration(DataModelConfiguration&& value) { m_dataModelConfigurationHasBeenSet = true; m_dataModelConfiguration = std::move(value); } /** *Data model configuration for a batch load task. This contains details about * where a data model for a batch load task is stored.
*/ inline BatchLoadTaskDescription& WithDataModelConfiguration(const DataModelConfiguration& value) { SetDataModelConfiguration(value); return *this;} /** *Data model configuration for a batch load task. This contains details about * where a data model for a batch load task is stored.
*/ inline BatchLoadTaskDescription& WithDataModelConfiguration(DataModelConfiguration&& value) { SetDataModelConfiguration(std::move(value)); return *this;} /** * */ inline const Aws::String& GetTargetDatabaseName() const{ return m_targetDatabaseName; } /** * */ inline bool TargetDatabaseNameHasBeenSet() const { return m_targetDatabaseNameHasBeenSet; } /** * */ inline void SetTargetDatabaseName(const Aws::String& value) { m_targetDatabaseNameHasBeenSet = true; m_targetDatabaseName = value; } /** * */ inline void SetTargetDatabaseName(Aws::String&& value) { m_targetDatabaseNameHasBeenSet = true; m_targetDatabaseName = std::move(value); } /** * */ inline void SetTargetDatabaseName(const char* value) { m_targetDatabaseNameHasBeenSet = true; m_targetDatabaseName.assign(value); } /** * */ inline BatchLoadTaskDescription& WithTargetDatabaseName(const Aws::String& value) { SetTargetDatabaseName(value); return *this;} /** * */ inline BatchLoadTaskDescription& WithTargetDatabaseName(Aws::String&& value) { SetTargetDatabaseName(std::move(value)); return *this;} /** * */ inline BatchLoadTaskDescription& WithTargetDatabaseName(const char* value) { SetTargetDatabaseName(value); return *this;} /** * */ inline const Aws::String& GetTargetTableName() const{ return m_targetTableName; } /** * */ inline bool TargetTableNameHasBeenSet() const { return m_targetTableNameHasBeenSet; } /** * */ inline void SetTargetTableName(const Aws::String& value) { m_targetTableNameHasBeenSet = true; m_targetTableName = value; } /** * */ inline void SetTargetTableName(Aws::String&& value) { m_targetTableNameHasBeenSet = true; m_targetTableName = std::move(value); } /** * */ inline void SetTargetTableName(const char* value) { m_targetTableNameHasBeenSet = true; m_targetTableName.assign(value); } /** * */ inline BatchLoadTaskDescription& WithTargetTableName(const Aws::String& value) { SetTargetTableName(value); return *this;} /** * */ inline BatchLoadTaskDescription& WithTargetTableName(Aws::String&& value) { SetTargetTableName(std::move(value)); return *this;} /** * */ inline BatchLoadTaskDescription& WithTargetTableName(const char* value) { SetTargetTableName(value); return *this;} /** *Status of the batch load task.
*/ inline const BatchLoadStatus& GetTaskStatus() const{ return m_taskStatus; } /** *Status of the batch load task.
*/ inline bool TaskStatusHasBeenSet() const { return m_taskStatusHasBeenSet; } /** *Status of the batch load task.
*/ inline void SetTaskStatus(const BatchLoadStatus& value) { m_taskStatusHasBeenSet = true; m_taskStatus = value; } /** *Status of the batch load task.
*/ inline void SetTaskStatus(BatchLoadStatus&& value) { m_taskStatusHasBeenSet = true; m_taskStatus = std::move(value); } /** *Status of the batch load task.
*/ inline BatchLoadTaskDescription& WithTaskStatus(const BatchLoadStatus& value) { SetTaskStatus(value); return *this;} /** *Status of the batch load task.
*/ inline BatchLoadTaskDescription& WithTaskStatus(BatchLoadStatus&& value) { SetTaskStatus(std::move(value)); return *this;} /** * */ inline long long GetRecordVersion() const{ return m_recordVersion; } /** * */ inline bool RecordVersionHasBeenSet() const { return m_recordVersionHasBeenSet; } /** * */ inline void SetRecordVersion(long long value) { m_recordVersionHasBeenSet = true; m_recordVersion = value; } /** * */ inline BatchLoadTaskDescription& WithRecordVersion(long long value) { SetRecordVersion(value); return *this;} /** *The time when the Timestream batch load task was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The time when the Timestream batch load task was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The time when the Timestream batch load task was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The time when the Timestream batch load task was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The time when the Timestream batch load task was created.
*/ inline BatchLoadTaskDescription& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The time when the Timestream batch load task was created.
*/ inline BatchLoadTaskDescription& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The time when the Timestream batch load task was last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *The time when the Timestream batch load task was last updated.
*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *The time when the Timestream batch load task was last updated.
*/ inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *The time when the Timestream batch load task was last updated.
*/ inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *The time when the Timestream batch load task was last updated.
*/ inline BatchLoadTaskDescription& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *The time when the Timestream batch load task was last updated.
*/ inline BatchLoadTaskDescription& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** **/ inline const Aws::Utils::DateTime& GetResumableUntil() const{ return m_resumableUntil; } /** *
*/ inline bool ResumableUntilHasBeenSet() const { return m_resumableUntilHasBeenSet; } /** *
*/ inline void SetResumableUntil(const Aws::Utils::DateTime& value) { m_resumableUntilHasBeenSet = true; m_resumableUntil = value; } /** *
*/ inline void SetResumableUntil(Aws::Utils::DateTime&& value) { m_resumableUntilHasBeenSet = true; m_resumableUntil = std::move(value); } /** *
*/ inline BatchLoadTaskDescription& WithResumableUntil(const Aws::Utils::DateTime& value) { SetResumableUntil(value); return *this;} /** *
*/ inline BatchLoadTaskDescription& WithResumableUntil(Aws::Utils::DateTime&& value) { SetResumableUntil(std::move(value)); return *this;} private: Aws::String m_taskId; bool m_taskIdHasBeenSet = false; Aws::String m_errorMessage; bool m_errorMessageHasBeenSet = false; DataSourceConfiguration m_dataSourceConfiguration; bool m_dataSourceConfigurationHasBeenSet = false; BatchLoadProgressReport m_progressReport; bool m_progressReportHasBeenSet = false; ReportConfiguration m_reportConfiguration; bool m_reportConfigurationHasBeenSet = false; DataModelConfiguration m_dataModelConfiguration; bool m_dataModelConfigurationHasBeenSet = false; Aws::String m_targetDatabaseName; bool m_targetDatabaseNameHasBeenSet = false; Aws::String m_targetTableName; bool m_targetTableNameHasBeenSet = false; BatchLoadStatus m_taskStatus; bool m_taskStatusHasBeenSet = false; long long m_recordVersion; bool m_recordVersionHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedTime; bool m_lastUpdatedTimeHasBeenSet = false; Aws::Utils::DateTime m_resumableUntil; bool m_resumableUntilHasBeenSet = false; }; } // namespace Model } // namespace TimestreamWrite } // namespace Aws