AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchLoadTaskDescription.h
1
6#pragma once
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>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace TimestreamWrite
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_TIMESTREAMWRITE_API BatchLoadTaskDescription();
41 AWS_TIMESTREAMWRITE_API BatchLoadTaskDescription(Aws::Utils::Json::JsonView jsonValue);
43 AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetTaskId() const{ return m_taskId; }
51 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
52 inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; }
53 inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); }
54 inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); }
55 inline BatchLoadTaskDescription& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
56 inline BatchLoadTaskDescription& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
57 inline BatchLoadTaskDescription& WithTaskId(const char* value) { SetTaskId(value); return *this;}
59
61
64 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
65 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
66 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
67 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
68 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
69 inline BatchLoadTaskDescription& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
70 inline BatchLoadTaskDescription& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
71 inline BatchLoadTaskDescription& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
73
75
78 inline const DataSourceConfiguration& GetDataSourceConfiguration() const{ return m_dataSourceConfiguration; }
79 inline bool DataSourceConfigurationHasBeenSet() const { return m_dataSourceConfigurationHasBeenSet; }
80 inline void SetDataSourceConfiguration(const DataSourceConfiguration& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = value; }
81 inline void SetDataSourceConfiguration(DataSourceConfiguration&& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = std::move(value); }
85
87
90 inline const BatchLoadProgressReport& GetProgressReport() const{ return m_progressReport; }
91 inline bool ProgressReportHasBeenSet() const { return m_progressReportHasBeenSet; }
92 inline void SetProgressReport(const BatchLoadProgressReport& value) { m_progressReportHasBeenSet = true; m_progressReport = value; }
93 inline void SetProgressReport(BatchLoadProgressReport&& value) { m_progressReportHasBeenSet = true; m_progressReport = std::move(value); }
95 inline BatchLoadTaskDescription& WithProgressReport(BatchLoadProgressReport&& value) { SetProgressReport(std::move(value)); return *this;}
97
99
103 inline const ReportConfiguration& GetReportConfiguration() const{ return m_reportConfiguration; }
104 inline bool ReportConfigurationHasBeenSet() const { return m_reportConfigurationHasBeenSet; }
105 inline void SetReportConfiguration(const ReportConfiguration& value) { m_reportConfigurationHasBeenSet = true; m_reportConfiguration = value; }
106 inline void SetReportConfiguration(ReportConfiguration&& value) { m_reportConfigurationHasBeenSet = true; m_reportConfiguration = std::move(value); }
110
112
116 inline const DataModelConfiguration& GetDataModelConfiguration() const{ return m_dataModelConfiguration; }
117 inline bool DataModelConfigurationHasBeenSet() const { return m_dataModelConfigurationHasBeenSet; }
118 inline void SetDataModelConfiguration(const DataModelConfiguration& value) { m_dataModelConfigurationHasBeenSet = true; m_dataModelConfiguration = value; }
119 inline void SetDataModelConfiguration(DataModelConfiguration&& value) { m_dataModelConfigurationHasBeenSet = true; m_dataModelConfiguration = std::move(value); }
123
125
128 inline const Aws::String& GetTargetDatabaseName() const{ return m_targetDatabaseName; }
129 inline bool TargetDatabaseNameHasBeenSet() const { return m_targetDatabaseNameHasBeenSet; }
130 inline void SetTargetDatabaseName(const Aws::String& value) { m_targetDatabaseNameHasBeenSet = true; m_targetDatabaseName = value; }
131 inline void SetTargetDatabaseName(Aws::String&& value) { m_targetDatabaseNameHasBeenSet = true; m_targetDatabaseName = std::move(value); }
132 inline void SetTargetDatabaseName(const char* value) { m_targetDatabaseNameHasBeenSet = true; m_targetDatabaseName.assign(value); }
134 inline BatchLoadTaskDescription& WithTargetDatabaseName(Aws::String&& value) { SetTargetDatabaseName(std::move(value)); return *this;}
135 inline BatchLoadTaskDescription& WithTargetDatabaseName(const char* value) { SetTargetDatabaseName(value); return *this;}
137
139
142 inline const Aws::String& GetTargetTableName() const{ return m_targetTableName; }
143 inline bool TargetTableNameHasBeenSet() const { return m_targetTableNameHasBeenSet; }
144 inline void SetTargetTableName(const Aws::String& value) { m_targetTableNameHasBeenSet = true; m_targetTableName = value; }
145 inline void SetTargetTableName(Aws::String&& value) { m_targetTableNameHasBeenSet = true; m_targetTableName = std::move(value); }
146 inline void SetTargetTableName(const char* value) { m_targetTableNameHasBeenSet = true; m_targetTableName.assign(value); }
147 inline BatchLoadTaskDescription& WithTargetTableName(const Aws::String& value) { SetTargetTableName(value); return *this;}
148 inline BatchLoadTaskDescription& WithTargetTableName(Aws::String&& value) { SetTargetTableName(std::move(value)); return *this;}
149 inline BatchLoadTaskDescription& WithTargetTableName(const char* value) { SetTargetTableName(value); return *this;}
151
153
156 inline const BatchLoadStatus& GetTaskStatus() const{ return m_taskStatus; }
157 inline bool TaskStatusHasBeenSet() const { return m_taskStatusHasBeenSet; }
158 inline void SetTaskStatus(const BatchLoadStatus& value) { m_taskStatusHasBeenSet = true; m_taskStatus = value; }
159 inline void SetTaskStatus(BatchLoadStatus&& value) { m_taskStatusHasBeenSet = true; m_taskStatus = std::move(value); }
160 inline BatchLoadTaskDescription& WithTaskStatus(const BatchLoadStatus& value) { SetTaskStatus(value); return *this;}
161 inline BatchLoadTaskDescription& WithTaskStatus(BatchLoadStatus&& value) { SetTaskStatus(std::move(value)); return *this;}
163
165
168 inline long long GetRecordVersion() const{ return m_recordVersion; }
169 inline bool RecordVersionHasBeenSet() const { return m_recordVersionHasBeenSet; }
170 inline void SetRecordVersion(long long value) { m_recordVersionHasBeenSet = true; m_recordVersion = value; }
171 inline BatchLoadTaskDescription& WithRecordVersion(long long value) { SetRecordVersion(value); return *this;}
173
175
178 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
179 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
180 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
181 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
183 inline BatchLoadTaskDescription& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
185
187
190 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
191 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
192 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
193 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
195 inline BatchLoadTaskDescription& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
197
199
202 inline const Aws::Utils::DateTime& GetResumableUntil() const{ return m_resumableUntil; }
203 inline bool ResumableUntilHasBeenSet() const { return m_resumableUntilHasBeenSet; }
204 inline void SetResumableUntil(const Aws::Utils::DateTime& value) { m_resumableUntilHasBeenSet = true; m_resumableUntil = value; }
205 inline void SetResumableUntil(Aws::Utils::DateTime&& value) { m_resumableUntilHasBeenSet = true; m_resumableUntil = std::move(value); }
207 inline BatchLoadTaskDescription& WithResumableUntil(Aws::Utils::DateTime&& value) { SetResumableUntil(std::move(value)); return *this;}
209 private:
210
211 Aws::String m_taskId;
212 bool m_taskIdHasBeenSet = false;
213
214 Aws::String m_errorMessage;
215 bool m_errorMessageHasBeenSet = false;
216
217 DataSourceConfiguration m_dataSourceConfiguration;
218 bool m_dataSourceConfigurationHasBeenSet = false;
219
220 BatchLoadProgressReport m_progressReport;
221 bool m_progressReportHasBeenSet = false;
222
223 ReportConfiguration m_reportConfiguration;
224 bool m_reportConfigurationHasBeenSet = false;
225
226 DataModelConfiguration m_dataModelConfiguration;
227 bool m_dataModelConfigurationHasBeenSet = false;
228
229 Aws::String m_targetDatabaseName;
230 bool m_targetDatabaseNameHasBeenSet = false;
231
232 Aws::String m_targetTableName;
233 bool m_targetTableNameHasBeenSet = false;
234
235 BatchLoadStatus m_taskStatus;
236 bool m_taskStatusHasBeenSet = false;
237
238 long long m_recordVersion;
239 bool m_recordVersionHasBeenSet = false;
240
241 Aws::Utils::DateTime m_creationTime;
242 bool m_creationTimeHasBeenSet = false;
243
244 Aws::Utils::DateTime m_lastUpdatedTime;
245 bool m_lastUpdatedTimeHasBeenSet = false;
246
247 Aws::Utils::DateTime m_resumableUntil;
248 bool m_resumableUntilHasBeenSet = false;
249 };
250
251} // namespace Model
252} // namespace TimestreamWrite
253} // namespace Aws
void SetDataModelConfiguration(const DataModelConfiguration &value)
void SetDataSourceConfiguration(DataSourceConfiguration &&value)
BatchLoadTaskDescription & WithTaskId(const char *value)
BatchLoadTaskDescription & WithTargetDatabaseName(Aws::String &&value)
void SetReportConfiguration(const ReportConfiguration &value)
BatchLoadTaskDescription & WithDataSourceConfiguration(DataSourceConfiguration &&value)
BatchLoadTaskDescription & WithReportConfiguration(ReportConfiguration &&value)
BatchLoadTaskDescription & WithTaskId(Aws::String &&value)
BatchLoadTaskDescription & WithTargetTableName(const Aws::String &value)
const DataSourceConfiguration & GetDataSourceConfiguration() const
BatchLoadTaskDescription & WithTargetDatabaseName(const char *value)
AWS_TIMESTREAMWRITE_API BatchLoadTaskDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchLoadTaskDescription & WithRecordVersion(long long value)
BatchLoadTaskDescription & WithProgressReport(const BatchLoadProgressReport &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)
BatchLoadTaskDescription & WithErrorMessage(Aws::String &&value)
BatchLoadTaskDescription & WithTaskStatus(const BatchLoadStatus &value)
BatchLoadTaskDescription & WithResumableUntil(const Aws::Utils::DateTime &value)
BatchLoadTaskDescription & WithTaskId(const Aws::String &value)
BatchLoadTaskDescription & WithReportConfiguration(const ReportConfiguration &value)
AWS_TIMESTREAMWRITE_API BatchLoadTaskDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const
BatchLoadTaskDescription & WithProgressReport(BatchLoadProgressReport &&value)
BatchLoadTaskDescription & WithTargetTableName(Aws::String &&value)
void SetProgressReport(const BatchLoadProgressReport &value)
BatchLoadTaskDescription & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
const DataModelConfiguration & GetDataModelConfiguration() const
BatchLoadTaskDescription & WithCreationTime(const Aws::Utils::DateTime &value)
BatchLoadTaskDescription & WithTargetTableName(const char *value)
BatchLoadTaskDescription & WithTargetDatabaseName(const Aws::String &value)
BatchLoadTaskDescription & WithErrorMessage(const Aws::String &value)
BatchLoadTaskDescription & WithDataModelConfiguration(const DataModelConfiguration &value)
const BatchLoadProgressReport & GetProgressReport() const
BatchLoadTaskDescription & WithResumableUntil(Aws::Utils::DateTime &&value)
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