AWS SDK for C++  1.9.129
AWS SDK for C++
BatchCreateTableRowsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Honeycode
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "BatchCreateTableRows"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
42  inline const Aws::String& GetWorkbookId() const{ return m_workbookId; }
43 
49  inline bool WorkbookIdHasBeenSet() const { return m_workbookIdHasBeenSet; }
50 
56  inline void SetWorkbookId(const Aws::String& value) { m_workbookIdHasBeenSet = true; m_workbookId = value; }
57 
63  inline void SetWorkbookId(Aws::String&& value) { m_workbookIdHasBeenSet = true; m_workbookId = std::move(value); }
64 
70  inline void SetWorkbookId(const char* value) { m_workbookIdHasBeenSet = true; m_workbookId.assign(value); }
71 
77  inline BatchCreateTableRowsRequest& WithWorkbookId(const Aws::String& value) { SetWorkbookId(value); return *this;}
78 
84  inline BatchCreateTableRowsRequest& WithWorkbookId(Aws::String&& value) { SetWorkbookId(std::move(value)); return *this;}
85 
91  inline BatchCreateTableRowsRequest& WithWorkbookId(const char* value) { SetWorkbookId(value); return *this;}
92 
93 
99  inline const Aws::String& GetTableId() const{ return m_tableId; }
100 
106  inline bool TableIdHasBeenSet() const { return m_tableIdHasBeenSet; }
107 
113  inline void SetTableId(const Aws::String& value) { m_tableIdHasBeenSet = true; m_tableId = value; }
114 
120  inline void SetTableId(Aws::String&& value) { m_tableIdHasBeenSet = true; m_tableId = std::move(value); }
121 
127  inline void SetTableId(const char* value) { m_tableIdHasBeenSet = true; m_tableId.assign(value); }
128 
134  inline BatchCreateTableRowsRequest& WithTableId(const Aws::String& value) { SetTableId(value); return *this;}
135 
141  inline BatchCreateTableRowsRequest& WithTableId(Aws::String&& value) { SetTableId(std::move(value)); return *this;}
142 
148  inline BatchCreateTableRowsRequest& WithTableId(const char* value) { SetTableId(value); return *this;}
149 
150 
159  inline const Aws::Vector<CreateRowData>& GetRowsToCreate() const{ return m_rowsToCreate; }
160 
169  inline bool RowsToCreateHasBeenSet() const { return m_rowsToCreateHasBeenSet; }
170 
179  inline void SetRowsToCreate(const Aws::Vector<CreateRowData>& value) { m_rowsToCreateHasBeenSet = true; m_rowsToCreate = value; }
180 
189  inline void SetRowsToCreate(Aws::Vector<CreateRowData>&& value) { m_rowsToCreateHasBeenSet = true; m_rowsToCreate = std::move(value); }
190 
199  inline BatchCreateTableRowsRequest& WithRowsToCreate(const Aws::Vector<CreateRowData>& value) { SetRowsToCreate(value); return *this;}
200 
209  inline BatchCreateTableRowsRequest& WithRowsToCreate(Aws::Vector<CreateRowData>&& value) { SetRowsToCreate(std::move(value)); return *this;}
210 
219  inline BatchCreateTableRowsRequest& AddRowsToCreate(const CreateRowData& value) { m_rowsToCreateHasBeenSet = true; m_rowsToCreate.push_back(value); return *this; }
220 
229  inline BatchCreateTableRowsRequest& AddRowsToCreate(CreateRowData&& value) { m_rowsToCreateHasBeenSet = true; m_rowsToCreate.push_back(std::move(value)); return *this; }
230 
231 
242  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
243 
254  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
255 
266  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
267 
278  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
279 
290  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
291 
302  inline BatchCreateTableRowsRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
303 
314  inline BatchCreateTableRowsRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
315 
326  inline BatchCreateTableRowsRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
327 
328  private:
329 
330  Aws::String m_workbookId;
331  bool m_workbookIdHasBeenSet;
332 
333  Aws::String m_tableId;
334  bool m_tableIdHasBeenSet;
335 
336  Aws::Vector<CreateRowData> m_rowsToCreate;
337  bool m_rowsToCreateHasBeenSet;
338 
339  Aws::String m_clientRequestToken;
340  bool m_clientRequestTokenHasBeenSet;
341  };
342 
343 } // namespace Model
344 } // namespace Honeycode
345 } // namespace Aws
Aws::Honeycode::Model::BatchCreateTableRowsRequest::SetRowsToCreate
void SetRowsToCreate(Aws::Vector< CreateRowData > &&value)
Definition: BatchCreateTableRowsRequest.h:189
Aws::Honeycode::Model::BatchCreateTableRowsRequest::AddRowsToCreate
BatchCreateTableRowsRequest & AddRowsToCreate(CreateRowData &&value)
Definition: BatchCreateTableRowsRequest.h:229
Aws::Honeycode::Model::BatchCreateTableRowsRequest::WithClientRequestToken
BatchCreateTableRowsRequest & WithClientRequestToken(const char *value)
Definition: BatchCreateTableRowsRequest.h:326
Aws::Honeycode::Model::BatchCreateTableRowsRequest::WorkbookIdHasBeenSet
bool WorkbookIdHasBeenSet() const
Definition: BatchCreateTableRowsRequest.h:49
Aws::Honeycode::Model::BatchCreateTableRowsRequest::WithRowsToCreate
BatchCreateTableRowsRequest & WithRowsToCreate(Aws::Vector< CreateRowData > &&value)
Definition: BatchCreateTableRowsRequest.h:209
Aws::Honeycode::Model::BatchCreateTableRowsRequest::WithTableId
BatchCreateTableRowsRequest & WithTableId(const char *value)
Definition: BatchCreateTableRowsRequest.h:148
Aws::Honeycode::Model::BatchCreateTableRowsRequest::WithWorkbookId
BatchCreateTableRowsRequest & WithWorkbookId(const char *value)
Definition: BatchCreateTableRowsRequest.h:91
Aws::Honeycode::Model::BatchCreateTableRowsRequest::AddRowsToCreate
BatchCreateTableRowsRequest & AddRowsToCreate(const CreateRowData &value)
Definition: BatchCreateTableRowsRequest.h:219
Aws::Honeycode::Model::BatchCreateTableRowsRequest::WithClientRequestToken
BatchCreateTableRowsRequest & WithClientRequestToken(Aws::String &&value)
Definition: BatchCreateTableRowsRequest.h:314
Aws::Honeycode::Model::BatchCreateTableRowsRequest
Definition: BatchCreateTableRowsRequest.h:24
Aws::Honeycode::Model::BatchCreateTableRowsRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: BatchCreateTableRowsRequest.h:290
HoneycodeRequest.h
AWS_HONEYCODE_API
#define AWS_HONEYCODE_API
Definition: Honeycode_EXPORTS.h:28
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Honeycode::Model::BatchCreateTableRowsRequest::WithWorkbookId
BatchCreateTableRowsRequest & WithWorkbookId(const Aws::String &value)
Definition: BatchCreateTableRowsRequest.h:77
Aws::Honeycode::Model::BatchCreateTableRowsRequest::TableIdHasBeenSet
bool TableIdHasBeenSet() const
Definition: BatchCreateTableRowsRequest.h:106
Aws::Honeycode::Model::BatchCreateTableRowsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Honeycode::Model::BatchCreateTableRowsRequest::SetTableId
void SetTableId(const Aws::String &value)
Definition: BatchCreateTableRowsRequest.h:113
CreateRowData.h
Aws::Honeycode::Model::BatchCreateTableRowsRequest::GetTableId
const Aws::String & GetTableId() const
Definition: BatchCreateTableRowsRequest.h:99
Aws::Honeycode::Model::BatchCreateTableRowsRequest::SetTableId
void SetTableId(const char *value)
Definition: BatchCreateTableRowsRequest.h:127
Aws::Honeycode::Model::BatchCreateTableRowsRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: BatchCreateTableRowsRequest.h:266
Aws::Honeycode::Model::BatchCreateTableRowsRequest::WithWorkbookId
BatchCreateTableRowsRequest & WithWorkbookId(Aws::String &&value)
Definition: BatchCreateTableRowsRequest.h:84
Aws::Honeycode::Model::BatchCreateTableRowsRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: BatchCreateTableRowsRequest.h:278
AWSString.h
Aws::Honeycode::Model::BatchCreateTableRowsRequest::GetRowsToCreate
const Aws::Vector< CreateRowData > & GetRowsToCreate() const
Definition: BatchCreateTableRowsRequest.h:159
Aws::Honeycode::Model::BatchCreateTableRowsRequest::WithTableId
BatchCreateTableRowsRequest & WithTableId(const Aws::String &value)
Definition: BatchCreateTableRowsRequest.h:134
Aws::Honeycode::Model::BatchCreateTableRowsRequest::SetRowsToCreate
void SetRowsToCreate(const Aws::Vector< CreateRowData > &value)
Definition: BatchCreateTableRowsRequest.h:179
Honeycode_EXPORTS.h
Aws::Honeycode::Model::BatchCreateTableRowsRequest::SetWorkbookId
void SetWorkbookId(const Aws::String &value)
Definition: BatchCreateTableRowsRequest.h:56
Aws::Honeycode::Model::BatchCreateTableRowsRequest::WithClientRequestToken
BatchCreateTableRowsRequest & WithClientRequestToken(const Aws::String &value)
Definition: BatchCreateTableRowsRequest.h:302
Aws
Definition: AccessManagementClient.h:15
Aws::Honeycode::Model::BatchCreateTableRowsRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: BatchCreateTableRowsRequest.h:242
Aws::Honeycode::Model::BatchCreateTableRowsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchCreateTableRowsRequest.h:32
Aws::Honeycode::Model::BatchCreateTableRowsRequest::GetWorkbookId
const Aws::String & GetWorkbookId() const
Definition: BatchCreateTableRowsRequest.h:42
Aws::Honeycode::Model::CreateRowData
Definition: CreateRowData.h:35
Aws::Honeycode::Model::BatchCreateTableRowsRequest::SetWorkbookId
void SetWorkbookId(const char *value)
Definition: BatchCreateTableRowsRequest.h:70
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Honeycode::Model::BatchCreateTableRowsRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: BatchCreateTableRowsRequest.h:254
Aws::Honeycode::Model::BatchCreateTableRowsRequest::BatchCreateTableRowsRequest
BatchCreateTableRowsRequest()
Aws::Honeycode::Model::BatchCreateTableRowsRequest::WithRowsToCreate
BatchCreateTableRowsRequest & WithRowsToCreate(const Aws::Vector< CreateRowData > &value)
Definition: BatchCreateTableRowsRequest.h:199
Aws::Honeycode::HoneycodeRequest
Definition: HoneycodeRequest.h:17
Aws::Honeycode::Model::BatchCreateTableRowsRequest::WithTableId
BatchCreateTableRowsRequest & WithTableId(Aws::String &&value)
Definition: BatchCreateTableRowsRequest.h:141
Aws::Honeycode::Model::BatchCreateTableRowsRequest::SetTableId
void SetTableId(Aws::String &&value)
Definition: BatchCreateTableRowsRequest.h:120
Aws::Honeycode::Model::BatchCreateTableRowsRequest::RowsToCreateHasBeenSet
bool RowsToCreateHasBeenSet() const
Definition: BatchCreateTableRowsRequest.h:169
Aws::Honeycode::Model::BatchCreateTableRowsRequest::SetWorkbookId
void SetWorkbookId(Aws::String &&value)
Definition: BatchCreateTableRowsRequest.h:63