AWS SDK for C++  1.9.40
AWS SDK for C++
BatchUpdateTableRowsRequest.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 "BatchUpdateTableRows"; }
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 BatchUpdateTableRowsRequest& WithWorkbookId(const Aws::String& value) { SetWorkbookId(value); return *this;}
78 
84  inline BatchUpdateTableRowsRequest& WithWorkbookId(Aws::String&& value) { SetWorkbookId(std::move(value)); return *this;}
85 
91  inline BatchUpdateTableRowsRequest& 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 BatchUpdateTableRowsRequest& WithTableId(const Aws::String& value) { SetTableId(value); return *this;}
135 
141  inline BatchUpdateTableRowsRequest& WithTableId(Aws::String&& value) { SetTableId(std::move(value)); return *this;}
142 
148  inline BatchUpdateTableRowsRequest& WithTableId(const char* value) { SetTableId(value); return *this;}
149 
150 
160  inline const Aws::Vector<UpdateRowData>& GetRowsToUpdate() const{ return m_rowsToUpdate; }
161 
171  inline bool RowsToUpdateHasBeenSet() const { return m_rowsToUpdateHasBeenSet; }
172 
182  inline void SetRowsToUpdate(const Aws::Vector<UpdateRowData>& value) { m_rowsToUpdateHasBeenSet = true; m_rowsToUpdate = value; }
183 
193  inline void SetRowsToUpdate(Aws::Vector<UpdateRowData>&& value) { m_rowsToUpdateHasBeenSet = true; m_rowsToUpdate = std::move(value); }
194 
204  inline BatchUpdateTableRowsRequest& WithRowsToUpdate(const Aws::Vector<UpdateRowData>& value) { SetRowsToUpdate(value); return *this;}
205 
215  inline BatchUpdateTableRowsRequest& WithRowsToUpdate(Aws::Vector<UpdateRowData>&& value) { SetRowsToUpdate(std::move(value)); return *this;}
216 
226  inline BatchUpdateTableRowsRequest& AddRowsToUpdate(const UpdateRowData& value) { m_rowsToUpdateHasBeenSet = true; m_rowsToUpdate.push_back(value); return *this; }
227 
237  inline BatchUpdateTableRowsRequest& AddRowsToUpdate(UpdateRowData&& value) { m_rowsToUpdateHasBeenSet = true; m_rowsToUpdate.push_back(std::move(value)); return *this; }
238 
239 
249  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
250 
260  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
261 
271  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
272 
282  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
283 
293  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
294 
304  inline BatchUpdateTableRowsRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
305 
315  inline BatchUpdateTableRowsRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
316 
326  inline BatchUpdateTableRowsRequest& 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<UpdateRowData> m_rowsToUpdate;
337  bool m_rowsToUpdateHasBeenSet;
338 
339  Aws::String m_clientRequestToken;
340  bool m_clientRequestTokenHasBeenSet;
341  };
342 
343 } // namespace Model
344 } // namespace Honeycode
345 } // namespace Aws
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::SetTableId
void SetTableId(const char *value)
Definition: BatchUpdateTableRowsRequest.h:127
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::RowsToUpdateHasBeenSet
bool RowsToUpdateHasBeenSet() const
Definition: BatchUpdateTableRowsRequest.h:171
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::WithTableId
BatchUpdateTableRowsRequest & WithTableId(Aws::String &&value)
Definition: BatchUpdateTableRowsRequest.h:141
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: BatchUpdateTableRowsRequest.h:271
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::WithWorkbookId
BatchUpdateTableRowsRequest & WithWorkbookId(Aws::String &&value)
Definition: BatchUpdateTableRowsRequest.h:84
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::WithClientRequestToken
BatchUpdateTableRowsRequest & WithClientRequestToken(Aws::String &&value)
Definition: BatchUpdateTableRowsRequest.h:315
HoneycodeRequest.h
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::AddRowsToUpdate
BatchUpdateTableRowsRequest & AddRowsToUpdate(UpdateRowData &&value)
Definition: BatchUpdateTableRowsRequest.h:237
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::GetRowsToUpdate
const Aws::Vector< UpdateRowData > & GetRowsToUpdate() const
Definition: BatchUpdateTableRowsRequest.h:160
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::SetRowsToUpdate
void SetRowsToUpdate(Aws::Vector< UpdateRowData > &&value)
Definition: BatchUpdateTableRowsRequest.h:193
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::WithRowsToUpdate
BatchUpdateTableRowsRequest & WithRowsToUpdate(Aws::Vector< UpdateRowData > &&value)
Definition: BatchUpdateTableRowsRequest.h:215
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::SetTableId
void SetTableId(Aws::String &&value)
Definition: BatchUpdateTableRowsRequest.h:120
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
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::BatchUpdateTableRowsRequest
BatchUpdateTableRowsRequest()
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::AddRowsToUpdate
BatchUpdateTableRowsRequest & AddRowsToUpdate(const UpdateRowData &value)
Definition: BatchUpdateTableRowsRequest.h:226
AWSVector.h
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::WithTableId
BatchUpdateTableRowsRequest & WithTableId(const char *value)
Definition: BatchUpdateTableRowsRequest.h:148
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: BatchUpdateTableRowsRequest.h:260
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchUpdateTableRowsRequest.h:32
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::SetTableId
void SetTableId(const Aws::String &value)
Definition: BatchUpdateTableRowsRequest.h:113
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::TableIdHasBeenSet
bool TableIdHasBeenSet() const
Definition: BatchUpdateTableRowsRequest.h:106
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: BatchUpdateTableRowsRequest.h:249
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::GetTableId
const Aws::String & GetTableId() const
Definition: BatchUpdateTableRowsRequest.h:99
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: BatchUpdateTableRowsRequest.h:282
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::SetWorkbookId
void SetWorkbookId(Aws::String &&value)
Definition: BatchUpdateTableRowsRequest.h:63
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::GetWorkbookId
const Aws::String & GetWorkbookId() const
Definition: BatchUpdateTableRowsRequest.h:42
Aws::Honeycode::Model::BatchUpdateTableRowsRequest
Definition: BatchUpdateTableRowsRequest.h:24
AWSString.h
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::WithTableId
BatchUpdateTableRowsRequest & WithTableId(const Aws::String &value)
Definition: BatchUpdateTableRowsRequest.h:134
Honeycode_EXPORTS.h
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::WithRowsToUpdate
BatchUpdateTableRowsRequest & WithRowsToUpdate(const Aws::Vector< UpdateRowData > &value)
Definition: BatchUpdateTableRowsRequest.h:204
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::WithWorkbookId
BatchUpdateTableRowsRequest & WithWorkbookId(const char *value)
Definition: BatchUpdateTableRowsRequest.h:91
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::SetWorkbookId
void SetWorkbookId(const char *value)
Definition: BatchUpdateTableRowsRequest.h:70
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::SetRowsToUpdate
void SetRowsToUpdate(const Aws::Vector< UpdateRowData > &value)
Definition: BatchUpdateTableRowsRequest.h:182
Aws
Definition: AccessManagementClient.h:15
Aws::Honeycode::Model::UpdateRowData
Definition: UpdateRowData.h:35
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::WithWorkbookId
BatchUpdateTableRowsRequest & WithWorkbookId(const Aws::String &value)
Definition: BatchUpdateTableRowsRequest.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: BatchUpdateTableRowsRequest.h:293
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::WorkbookIdHasBeenSet
bool WorkbookIdHasBeenSet() const
Definition: BatchUpdateTableRowsRequest.h:49
Aws::Honeycode::HoneycodeRequest
Definition: HoneycodeRequest.h:17
UpdateRowData.h
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::WithClientRequestToken
BatchUpdateTableRowsRequest & WithClientRequestToken(const Aws::String &value)
Definition: BatchUpdateTableRowsRequest.h:304
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::SetWorkbookId
void SetWorkbookId(const Aws::String &value)
Definition: BatchUpdateTableRowsRequest.h:56
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Honeycode::Model::BatchUpdateTableRowsRequest::WithClientRequestToken
BatchUpdateTableRowsRequest & WithClientRequestToken(const char *value)
Definition: BatchUpdateTableRowsRequest.h:326