AWS SDK for C++  1.9.126
AWS SDK for C++
StartTableDataImportJobRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Honeycode
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "StartTableDataImportJob"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
43  inline const Aws::String& GetWorkbookId() const{ return m_workbookId; }
44 
50  inline bool WorkbookIdHasBeenSet() const { return m_workbookIdHasBeenSet; }
51 
57  inline void SetWorkbookId(const Aws::String& value) { m_workbookIdHasBeenSet = true; m_workbookId = value; }
58 
64  inline void SetWorkbookId(Aws::String&& value) { m_workbookIdHasBeenSet = true; m_workbookId = std::move(value); }
65 
71  inline void SetWorkbookId(const char* value) { m_workbookIdHasBeenSet = true; m_workbookId.assign(value); }
72 
78  inline StartTableDataImportJobRequest& WithWorkbookId(const Aws::String& value) { SetWorkbookId(value); return *this;}
79 
85  inline StartTableDataImportJobRequest& WithWorkbookId(Aws::String&& value) { SetWorkbookId(std::move(value)); return *this;}
86 
92  inline StartTableDataImportJobRequest& WithWorkbookId(const char* value) { SetWorkbookId(value); return *this;}
93 
94 
100  inline const ImportDataSource& GetDataSource() const{ return m_dataSource; }
101 
107  inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
108 
114  inline void SetDataSource(const ImportDataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
115 
121  inline void SetDataSource(ImportDataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
122 
128  inline StartTableDataImportJobRequest& WithDataSource(const ImportDataSource& value) { SetDataSource(value); return *this;}
129 
135  inline StartTableDataImportJobRequest& WithDataSource(ImportDataSource&& value) { SetDataSource(std::move(value)); return *this;}
136 
137 
142  inline const ImportSourceDataFormat& GetDataFormat() const{ return m_dataFormat; }
143 
148  inline bool DataFormatHasBeenSet() const { return m_dataFormatHasBeenSet; }
149 
154  inline void SetDataFormat(const ImportSourceDataFormat& value) { m_dataFormatHasBeenSet = true; m_dataFormat = value; }
155 
160  inline void SetDataFormat(ImportSourceDataFormat&& value) { m_dataFormatHasBeenSet = true; m_dataFormat = std::move(value); }
161 
166  inline StartTableDataImportJobRequest& WithDataFormat(const ImportSourceDataFormat& value) { SetDataFormat(value); return *this;}
167 
172  inline StartTableDataImportJobRequest& WithDataFormat(ImportSourceDataFormat&& value) { SetDataFormat(std::move(value)); return *this;}
173 
174 
180  inline const Aws::String& GetDestinationTableId() const{ return m_destinationTableId; }
181 
187  inline bool DestinationTableIdHasBeenSet() const { return m_destinationTableIdHasBeenSet; }
188 
194  inline void SetDestinationTableId(const Aws::String& value) { m_destinationTableIdHasBeenSet = true; m_destinationTableId = value; }
195 
201  inline void SetDestinationTableId(Aws::String&& value) { m_destinationTableIdHasBeenSet = true; m_destinationTableId = std::move(value); }
202 
208  inline void SetDestinationTableId(const char* value) { m_destinationTableIdHasBeenSet = true; m_destinationTableId.assign(value); }
209 
215  inline StartTableDataImportJobRequest& WithDestinationTableId(const Aws::String& value) { SetDestinationTableId(value); return *this;}
216 
222  inline StartTableDataImportJobRequest& WithDestinationTableId(Aws::String&& value) { SetDestinationTableId(std::move(value)); return *this;}
223 
229  inline StartTableDataImportJobRequest& WithDestinationTableId(const char* value) { SetDestinationTableId(value); return *this;}
230 
231 
235  inline const ImportOptions& GetImportOptions() const{ return m_importOptions; }
236 
240  inline bool ImportOptionsHasBeenSet() const { return m_importOptionsHasBeenSet; }
241 
245  inline void SetImportOptions(const ImportOptions& value) { m_importOptionsHasBeenSet = true; m_importOptions = value; }
246 
250  inline void SetImportOptions(ImportOptions&& value) { m_importOptionsHasBeenSet = true; m_importOptions = std::move(value); }
251 
255  inline StartTableDataImportJobRequest& WithImportOptions(const ImportOptions& value) { SetImportOptions(value); return *this;}
256 
260  inline StartTableDataImportJobRequest& WithImportOptions(ImportOptions&& value) { SetImportOptions(std::move(value)); return *this;}
261 
262 
272  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
273 
283  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
284 
294  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
295 
305  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
306 
316  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
317 
327  inline StartTableDataImportJobRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
328 
338  inline StartTableDataImportJobRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
339 
349  inline StartTableDataImportJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
350 
351  private:
352 
353  Aws::String m_workbookId;
354  bool m_workbookIdHasBeenSet;
355 
356  ImportDataSource m_dataSource;
357  bool m_dataSourceHasBeenSet;
358 
359  ImportSourceDataFormat m_dataFormat;
360  bool m_dataFormatHasBeenSet;
361 
362  Aws::String m_destinationTableId;
363  bool m_destinationTableIdHasBeenSet;
364 
365  ImportOptions m_importOptions;
366  bool m_importOptionsHasBeenSet;
367 
368  Aws::String m_clientRequestToken;
369  bool m_clientRequestTokenHasBeenSet;
370  };
371 
372 } // namespace Model
373 } // namespace Honeycode
374 } // namespace Aws
ImportOptions.h
Aws::Honeycode::Model::StartTableDataImportJobRequest::GetDataSource
const ImportDataSource & GetDataSource() const
Definition: StartTableDataImportJobRequest.h:100
Aws::Honeycode::Model::StartTableDataImportJobRequest::WithDataFormat
StartTableDataImportJobRequest & WithDataFormat(const ImportSourceDataFormat &value)
Definition: StartTableDataImportJobRequest.h:166
Aws::Honeycode::Model::StartTableDataImportJobRequest::SetDestinationTableId
void SetDestinationTableId(const Aws::String &value)
Definition: StartTableDataImportJobRequest.h:194
Aws::Honeycode::Model::StartTableDataImportJobRequest::SetDestinationTableId
void SetDestinationTableId(Aws::String &&value)
Definition: StartTableDataImportJobRequest.h:201
Aws::Honeycode::Model::StartTableDataImportJobRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartTableDataImportJobRequest.h:33
Aws::Honeycode::Model::StartTableDataImportJobRequest::WithDestinationTableId
StartTableDataImportJobRequest & WithDestinationTableId(const Aws::String &value)
Definition: StartTableDataImportJobRequest.h:215
Aws::Honeycode::Model::StartTableDataImportJobRequest::SetDataSource
void SetDataSource(const ImportDataSource &value)
Definition: StartTableDataImportJobRequest.h:114
Aws::Honeycode::Model::StartTableDataImportJobRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: StartTableDataImportJobRequest.h:305
Aws::Honeycode::Model::StartTableDataImportJobRequest
Definition: StartTableDataImportJobRequest.h:25
Aws::Honeycode::Model::StartTableDataImportJobRequest::SetImportOptions
void SetImportOptions(const ImportOptions &value)
Definition: StartTableDataImportJobRequest.h:245
Aws::Honeycode::Model::StartTableDataImportJobRequest::WithDataSource
StartTableDataImportJobRequest & WithDataSource(const ImportDataSource &value)
Definition: StartTableDataImportJobRequest.h:128
Aws::Honeycode::Model::StartTableDataImportJobRequest::ImportOptionsHasBeenSet
bool ImportOptionsHasBeenSet() const
Definition: StartTableDataImportJobRequest.h:240
Aws::Honeycode::Model::StartTableDataImportJobRequest::WithClientRequestToken
StartTableDataImportJobRequest & WithClientRequestToken(const Aws::String &value)
Definition: StartTableDataImportJobRequest.h:327
Aws::Honeycode::Model::StartTableDataImportJobRequest::StartTableDataImportJobRequest
StartTableDataImportJobRequest()
Aws::Honeycode::Model::StartTableDataImportJobRequest::WithClientRequestToken
StartTableDataImportJobRequest & WithClientRequestToken(const char *value)
Definition: StartTableDataImportJobRequest.h:349
HoneycodeRequest.h
Aws::Honeycode::Model::StartTableDataImportJobRequest::WorkbookIdHasBeenSet
bool WorkbookIdHasBeenSet() const
Definition: StartTableDataImportJobRequest.h:50
Aws::Honeycode::Model::StartTableDataImportJobRequest::SetWorkbookId
void SetWorkbookId(Aws::String &&value)
Definition: StartTableDataImportJobRequest.h:64
Aws::Honeycode::Model::StartTableDataImportJobRequest::WithDestinationTableId
StartTableDataImportJobRequest & WithDestinationTableId(const char *value)
Definition: StartTableDataImportJobRequest.h:229
AWS_HONEYCODE_API
#define AWS_HONEYCODE_API
Definition: Honeycode_EXPORTS.h:28
Aws::Honeycode::Model::StartTableDataImportJobRequest::DataSourceHasBeenSet
bool DataSourceHasBeenSet() const
Definition: StartTableDataImportJobRequest.h:107
Aws::Honeycode::Model::StartTableDataImportJobRequest::SetWorkbookId
void SetWorkbookId(const char *value)
Definition: StartTableDataImportJobRequest.h:71
Aws::Honeycode::Model::StartTableDataImportJobRequest::WithDestinationTableId
StartTableDataImportJobRequest & WithDestinationTableId(Aws::String &&value)
Definition: StartTableDataImportJobRequest.h:222
Aws::Honeycode::Model::StartTableDataImportJobRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: StartTableDataImportJobRequest.h:272
Aws::Honeycode::Model::StartTableDataImportJobRequest::WithWorkbookId
StartTableDataImportJobRequest & WithWorkbookId(const Aws::String &value)
Definition: StartTableDataImportJobRequest.h:78
Aws::Honeycode::Model::StartTableDataImportJobRequest::SetDataSource
void SetDataSource(ImportDataSource &&value)
Definition: StartTableDataImportJobRequest.h:121
Aws::Honeycode::Model::StartTableDataImportJobRequest::GetDestinationTableId
const Aws::String & GetDestinationTableId() const
Definition: StartTableDataImportJobRequest.h:180
Aws::Honeycode::Model::StartTableDataImportJobRequest::DataFormatHasBeenSet
bool DataFormatHasBeenSet() const
Definition: StartTableDataImportJobRequest.h:148
Aws::Honeycode::Model::StartTableDataImportJobRequest::WithWorkbookId
StartTableDataImportJobRequest & WithWorkbookId(const char *value)
Definition: StartTableDataImportJobRequest.h:92
Aws::Honeycode::Model::StartTableDataImportJobRequest::WithDataFormat
StartTableDataImportJobRequest & WithDataFormat(ImportSourceDataFormat &&value)
Definition: StartTableDataImportJobRequest.h:172
Aws::Honeycode::Model::StartTableDataImportJobRequest::WithWorkbookId
StartTableDataImportJobRequest & WithWorkbookId(Aws::String &&value)
Definition: StartTableDataImportJobRequest.h:85
AWSString.h
Aws::Honeycode::Model::StartTableDataImportJobRequest::SetDestinationTableId
void SetDestinationTableId(const char *value)
Definition: StartTableDataImportJobRequest.h:208
ImportDataSource.h
Honeycode_EXPORTS.h
Aws::Honeycode::Model::StartTableDataImportJobRequest::WithClientRequestToken
StartTableDataImportJobRequest & WithClientRequestToken(Aws::String &&value)
Definition: StartTableDataImportJobRequest.h:338
Aws::Honeycode::Model::StartTableDataImportJobRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: StartTableDataImportJobRequest.h:283
Aws::Honeycode::Model::StartTableDataImportJobRequest::GetDataFormat
const ImportSourceDataFormat & GetDataFormat() const
Definition: StartTableDataImportJobRequest.h:142
Aws::Honeycode::Model::ImportDataSource
Definition: ImportDataSource.h:33
Aws::Honeycode::Model::StartTableDataImportJobRequest::GetImportOptions
const ImportOptions & GetImportOptions() const
Definition: StartTableDataImportJobRequest.h:235
Aws::Honeycode::Model::ImportOptions
Definition: ImportOptions.h:34
Aws::Honeycode::Model::StartTableDataImportJobRequest::SetDataFormat
void SetDataFormat(const ImportSourceDataFormat &value)
Definition: StartTableDataImportJobRequest.h:154
Aws::Honeycode::Model::StartTableDataImportJobRequest::WithImportOptions
StartTableDataImportJobRequest & WithImportOptions(ImportOptions &&value)
Definition: StartTableDataImportJobRequest.h:260
Aws::Honeycode::Model::StartTableDataImportJobRequest::WithDataSource
StartTableDataImportJobRequest & WithDataSource(ImportDataSource &&value)
Definition: StartTableDataImportJobRequest.h:135
Aws::Honeycode::Model::StartTableDataImportJobRequest::SetWorkbookId
void SetWorkbookId(const Aws::String &value)
Definition: StartTableDataImportJobRequest.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::Honeycode::Model::StartTableDataImportJobRequest::GetWorkbookId
const Aws::String & GetWorkbookId() const
Definition: StartTableDataImportJobRequest.h:43
Aws::Honeycode::Model::StartTableDataImportJobRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Honeycode::Model::ImportSourceDataFormat
ImportSourceDataFormat
Definition: ImportSourceDataFormat.h:17
Aws::Honeycode::Model::StartTableDataImportJobRequest::SetImportOptions
void SetImportOptions(ImportOptions &&value)
Definition: StartTableDataImportJobRequest.h:250
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Honeycode::Model::StartTableDataImportJobRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: StartTableDataImportJobRequest.h:294
Aws::Honeycode::HoneycodeRequest
Definition: HoneycodeRequest.h:17
ImportSourceDataFormat.h
Aws::Honeycode::Model::StartTableDataImportJobRequest::DestinationTableIdHasBeenSet
bool DestinationTableIdHasBeenSet() const
Definition: StartTableDataImportJobRequest.h:187
Aws::Honeycode::Model::StartTableDataImportJobRequest::SetDataFormat
void SetDataFormat(ImportSourceDataFormat &&value)
Definition: StartTableDataImportJobRequest.h:160
Aws::Honeycode::Model::StartTableDataImportJobRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: StartTableDataImportJobRequest.h:316
Aws::Honeycode::Model::StartTableDataImportJobRequest::WithImportOptions
StartTableDataImportJobRequest & WithImportOptions(const ImportOptions &value)
Definition: StartTableDataImportJobRequest.h:255