AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateBatchLoadTaskRequest.h
1
6#pragma once
7#include <aws/timestream-write/TimestreamWrite_EXPORTS.h>
8#include <aws/timestream-write/TimestreamWriteRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/timestream-write/model/DataModelConfiguration.h>
11#include <aws/timestream-write/model/DataSourceConfiguration.h>
12#include <aws/timestream-write/model/ReportConfiguration.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace TimestreamWrite
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_TIMESTREAMWRITE_API CreateBatchLoadTaskRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateBatchLoadTask"; }
35
36 AWS_TIMESTREAMWRITE_API Aws::String SerializePayload() const override;
37
38 AWS_TIMESTREAMWRITE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
45 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
46 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
47 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
48 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
49 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
50 inline CreateBatchLoadTaskRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
51 inline CreateBatchLoadTaskRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
52 inline CreateBatchLoadTaskRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
54
56
57 inline const DataModelConfiguration& GetDataModelConfiguration() const{ return m_dataModelConfiguration; }
58 inline bool DataModelConfigurationHasBeenSet() const { return m_dataModelConfigurationHasBeenSet; }
59 inline void SetDataModelConfiguration(const DataModelConfiguration& value) { m_dataModelConfigurationHasBeenSet = true; m_dataModelConfiguration = value; }
60 inline void SetDataModelConfiguration(DataModelConfiguration&& value) { m_dataModelConfigurationHasBeenSet = true; m_dataModelConfiguration = std::move(value); }
64
66
70 inline const DataSourceConfiguration& GetDataSourceConfiguration() const{ return m_dataSourceConfiguration; }
71 inline bool DataSourceConfigurationHasBeenSet() const { return m_dataSourceConfigurationHasBeenSet; }
72 inline void SetDataSourceConfiguration(const DataSourceConfiguration& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = value; }
73 inline void SetDataSourceConfiguration(DataSourceConfiguration&& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = std::move(value); }
77
79
80 inline const ReportConfiguration& GetReportConfiguration() const{ return m_reportConfiguration; }
81 inline bool ReportConfigurationHasBeenSet() const { return m_reportConfigurationHasBeenSet; }
82 inline void SetReportConfiguration(const ReportConfiguration& value) { m_reportConfigurationHasBeenSet = true; m_reportConfiguration = value; }
83 inline void SetReportConfiguration(ReportConfiguration&& value) { m_reportConfigurationHasBeenSet = true; m_reportConfiguration = std::move(value); }
87
89
92 inline const Aws::String& GetTargetDatabaseName() const{ return m_targetDatabaseName; }
93 inline bool TargetDatabaseNameHasBeenSet() const { return m_targetDatabaseNameHasBeenSet; }
94 inline void SetTargetDatabaseName(const Aws::String& value) { m_targetDatabaseNameHasBeenSet = true; m_targetDatabaseName = value; }
95 inline void SetTargetDatabaseName(Aws::String&& value) { m_targetDatabaseNameHasBeenSet = true; m_targetDatabaseName = std::move(value); }
96 inline void SetTargetDatabaseName(const char* value) { m_targetDatabaseNameHasBeenSet = true; m_targetDatabaseName.assign(value); }
98 inline CreateBatchLoadTaskRequest& WithTargetDatabaseName(Aws::String&& value) { SetTargetDatabaseName(std::move(value)); return *this;}
99 inline CreateBatchLoadTaskRequest& WithTargetDatabaseName(const char* value) { SetTargetDatabaseName(value); return *this;}
101
103
106 inline const Aws::String& GetTargetTableName() const{ return m_targetTableName; }
107 inline bool TargetTableNameHasBeenSet() const { return m_targetTableNameHasBeenSet; }
108 inline void SetTargetTableName(const Aws::String& value) { m_targetTableNameHasBeenSet = true; m_targetTableName = value; }
109 inline void SetTargetTableName(Aws::String&& value) { m_targetTableNameHasBeenSet = true; m_targetTableName = std::move(value); }
110 inline void SetTargetTableName(const char* value) { m_targetTableNameHasBeenSet = true; m_targetTableName.assign(value); }
112 inline CreateBatchLoadTaskRequest& WithTargetTableName(Aws::String&& value) { SetTargetTableName(std::move(value)); return *this;}
113 inline CreateBatchLoadTaskRequest& WithTargetTableName(const char* value) { SetTargetTableName(value); return *this;}
115
117
120 inline long long GetRecordVersion() const{ return m_recordVersion; }
121 inline bool RecordVersionHasBeenSet() const { return m_recordVersionHasBeenSet; }
122 inline void SetRecordVersion(long long value) { m_recordVersionHasBeenSet = true; m_recordVersion = value; }
123 inline CreateBatchLoadTaskRequest& WithRecordVersion(long long value) { SetRecordVersion(value); return *this;}
125 private:
126
127 Aws::String m_clientToken;
128 bool m_clientTokenHasBeenSet = false;
129
130 DataModelConfiguration m_dataModelConfiguration;
131 bool m_dataModelConfigurationHasBeenSet = false;
132
133 DataSourceConfiguration m_dataSourceConfiguration;
134 bool m_dataSourceConfigurationHasBeenSet = false;
135
136 ReportConfiguration m_reportConfiguration;
137 bool m_reportConfigurationHasBeenSet = false;
138
139 Aws::String m_targetDatabaseName;
140 bool m_targetDatabaseNameHasBeenSet = false;
141
142 Aws::String m_targetTableName;
143 bool m_targetTableNameHasBeenSet = false;
144
145 long long m_recordVersion;
146 bool m_recordVersionHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace TimestreamWrite
151} // namespace Aws
CreateBatchLoadTaskRequest & WithClientToken(Aws::String &&value)
CreateBatchLoadTaskRequest & WithTargetDatabaseName(const char *value)
CreateBatchLoadTaskRequest & WithTargetTableName(Aws::String &&value)
void SetDataSourceConfiguration(const DataSourceConfiguration &value)
CreateBatchLoadTaskRequest & WithDataSourceConfiguration(DataSourceConfiguration &&value)
CreateBatchLoadTaskRequest & WithTargetTableName(const Aws::String &value)
CreateBatchLoadTaskRequest & WithDataModelConfiguration(DataModelConfiguration &&value)
CreateBatchLoadTaskRequest & WithTargetDatabaseName(Aws::String &&value)
CreateBatchLoadTaskRequest & WithTargetDatabaseName(const Aws::String &value)
CreateBatchLoadTaskRequest & WithReportConfiguration(const ReportConfiguration &value)
const DataSourceConfiguration & GetDataSourceConfiguration() const
CreateBatchLoadTaskRequest & WithDataSourceConfiguration(const DataSourceConfiguration &value)
void SetDataModelConfiguration(const DataModelConfiguration &value)
CreateBatchLoadTaskRequest & WithTargetTableName(const char *value)
AWS_TIMESTREAMWRITE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateBatchLoadTaskRequest & WithClientToken(const Aws::String &value)
CreateBatchLoadTaskRequest & WithClientToken(const char *value)
CreateBatchLoadTaskRequest & WithRecordVersion(long long value)
CreateBatchLoadTaskRequest & WithDataModelConfiguration(const DataModelConfiguration &value)
AWS_TIMESTREAMWRITE_API Aws::String SerializePayload() const override
CreateBatchLoadTaskRequest & WithReportConfiguration(ReportConfiguration &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String