AWS SDK for C++  1.9.129
AWS SDK for C++
BatchDeleteTableRowsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Honeycode
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "BatchDeleteTableRows"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
41  inline const Aws::String& GetWorkbookId() const{ return m_workbookId; }
42 
48  inline bool WorkbookIdHasBeenSet() const { return m_workbookIdHasBeenSet; }
49 
55  inline void SetWorkbookId(const Aws::String& value) { m_workbookIdHasBeenSet = true; m_workbookId = value; }
56 
62  inline void SetWorkbookId(Aws::String&& value) { m_workbookIdHasBeenSet = true; m_workbookId = std::move(value); }
63 
69  inline void SetWorkbookId(const char* value) { m_workbookIdHasBeenSet = true; m_workbookId.assign(value); }
70 
76  inline BatchDeleteTableRowsRequest& WithWorkbookId(const Aws::String& value) { SetWorkbookId(value); return *this;}
77 
83  inline BatchDeleteTableRowsRequest& WithWorkbookId(Aws::String&& value) { SetWorkbookId(std::move(value)); return *this;}
84 
90  inline BatchDeleteTableRowsRequest& WithWorkbookId(const char* value) { SetWorkbookId(value); return *this;}
91 
92 
98  inline const Aws::String& GetTableId() const{ return m_tableId; }
99 
105  inline bool TableIdHasBeenSet() const { return m_tableIdHasBeenSet; }
106 
112  inline void SetTableId(const Aws::String& value) { m_tableIdHasBeenSet = true; m_tableId = value; }
113 
119  inline void SetTableId(Aws::String&& value) { m_tableIdHasBeenSet = true; m_tableId = std::move(value); }
120 
126  inline void SetTableId(const char* value) { m_tableIdHasBeenSet = true; m_tableId.assign(value); }
127 
133  inline BatchDeleteTableRowsRequest& WithTableId(const Aws::String& value) { SetTableId(value); return *this;}
134 
140  inline BatchDeleteTableRowsRequest& WithTableId(Aws::String&& value) { SetTableId(std::move(value)); return *this;}
141 
147  inline BatchDeleteTableRowsRequest& WithTableId(const char* value) { SetTableId(value); return *this;}
148 
149 
156  inline const Aws::Vector<Aws::String>& GetRowIds() const{ return m_rowIds; }
157 
164  inline bool RowIdsHasBeenSet() const { return m_rowIdsHasBeenSet; }
165 
172  inline void SetRowIds(const Aws::Vector<Aws::String>& value) { m_rowIdsHasBeenSet = true; m_rowIds = value; }
173 
180  inline void SetRowIds(Aws::Vector<Aws::String>&& value) { m_rowIdsHasBeenSet = true; m_rowIds = std::move(value); }
181 
188  inline BatchDeleteTableRowsRequest& WithRowIds(const Aws::Vector<Aws::String>& value) { SetRowIds(value); return *this;}
189 
196  inline BatchDeleteTableRowsRequest& WithRowIds(Aws::Vector<Aws::String>&& value) { SetRowIds(std::move(value)); return *this;}
197 
204  inline BatchDeleteTableRowsRequest& AddRowIds(const Aws::String& value) { m_rowIdsHasBeenSet = true; m_rowIds.push_back(value); return *this; }
205 
212  inline BatchDeleteTableRowsRequest& AddRowIds(Aws::String&& value) { m_rowIdsHasBeenSet = true; m_rowIds.push_back(std::move(value)); return *this; }
213 
220  inline BatchDeleteTableRowsRequest& AddRowIds(const char* value) { m_rowIdsHasBeenSet = true; m_rowIds.push_back(value); return *this; }
221 
222 
232  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
233 
243  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
244 
254  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
255 
265  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
266 
276  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
277 
287  inline BatchDeleteTableRowsRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
288 
298  inline BatchDeleteTableRowsRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
299 
309  inline BatchDeleteTableRowsRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
310 
311  private:
312 
313  Aws::String m_workbookId;
314  bool m_workbookIdHasBeenSet;
315 
316  Aws::String m_tableId;
317  bool m_tableIdHasBeenSet;
318 
319  Aws::Vector<Aws::String> m_rowIds;
320  bool m_rowIdsHasBeenSet;
321 
322  Aws::String m_clientRequestToken;
323  bool m_clientRequestTokenHasBeenSet;
324  };
325 
326 } // namespace Model
327 } // namespace Honeycode
328 } // namespace Aws
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: BatchDeleteTableRowsRequest.h:243
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::TableIdHasBeenSet
bool TableIdHasBeenSet() const
Definition: BatchDeleteTableRowsRequest.h:105
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::SetWorkbookId
void SetWorkbookId(Aws::String &&value)
Definition: BatchDeleteTableRowsRequest.h:62
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::SetRowIds
void SetRowIds(Aws::Vector< Aws::String > &&value)
Definition: BatchDeleteTableRowsRequest.h:180
Aws::Honeycode::Model::BatchDeleteTableRowsRequest
Definition: BatchDeleteTableRowsRequest.h:23
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::SetWorkbookId
void SetWorkbookId(const Aws::String &value)
Definition: BatchDeleteTableRowsRequest.h:55
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::SetTableId
void SetTableId(const char *value)
Definition: BatchDeleteTableRowsRequest.h:126
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::AddRowIds
BatchDeleteTableRowsRequest & AddRowIds(const Aws::String &value)
Definition: BatchDeleteTableRowsRequest.h:204
HoneycodeRequest.h
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::WithClientRequestToken
BatchDeleteTableRowsRequest & WithClientRequestToken(const Aws::String &value)
Definition: BatchDeleteTableRowsRequest.h:287
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::WithTableId
BatchDeleteTableRowsRequest & WithTableId(const Aws::String &value)
Definition: BatchDeleteTableRowsRequest.h:133
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::SetTableId
void SetTableId(const Aws::String &value)
Definition: BatchDeleteTableRowsRequest.h:112
AWS_HONEYCODE_API
#define AWS_HONEYCODE_API
Definition: Honeycode_EXPORTS.h:28
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::WithTableId
BatchDeleteTableRowsRequest & WithTableId(const char *value)
Definition: BatchDeleteTableRowsRequest.h:147
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: BatchDeleteTableRowsRequest.h:254
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::BatchDeleteTableRowsRequest
BatchDeleteTableRowsRequest()
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::SetRowIds
void SetRowIds(const Aws::Vector< Aws::String > &value)
Definition: BatchDeleteTableRowsRequest.h:172
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::WithRowIds
BatchDeleteTableRowsRequest & WithRowIds(const Aws::Vector< Aws::String > &value)
Definition: BatchDeleteTableRowsRequest.h:188
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::WithClientRequestToken
BatchDeleteTableRowsRequest & WithClientRequestToken(Aws::String &&value)
Definition: BatchDeleteTableRowsRequest.h:298
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::AddRowIds
BatchDeleteTableRowsRequest & AddRowIds(Aws::String &&value)
Definition: BatchDeleteTableRowsRequest.h:212
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::GetTableId
const Aws::String & GetTableId() const
Definition: BatchDeleteTableRowsRequest.h:98
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: BatchDeleteTableRowsRequest.h:265
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: BatchDeleteTableRowsRequest.h:232
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::SetWorkbookId
void SetWorkbookId(const char *value)
Definition: BatchDeleteTableRowsRequest.h:69
AWSString.h
Honeycode_EXPORTS.h
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::WorkbookIdHasBeenSet
bool WorkbookIdHasBeenSet() const
Definition: BatchDeleteTableRowsRequest.h:48
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::WithTableId
BatchDeleteTableRowsRequest & WithTableId(Aws::String &&value)
Definition: BatchDeleteTableRowsRequest.h:140
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::WithClientRequestToken
BatchDeleteTableRowsRequest & WithClientRequestToken(const char *value)
Definition: BatchDeleteTableRowsRequest.h:309
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::WithWorkbookId
BatchDeleteTableRowsRequest & WithWorkbookId(Aws::String &&value)
Definition: BatchDeleteTableRowsRequest.h:83
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::GetWorkbookId
const Aws::String & GetWorkbookId() const
Definition: BatchDeleteTableRowsRequest.h:41
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::AddRowIds
BatchDeleteTableRowsRequest & AddRowIds(const char *value)
Definition: BatchDeleteTableRowsRequest.h:220
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::GetRowIds
const Aws::Vector< Aws::String > & GetRowIds() const
Definition: BatchDeleteTableRowsRequest.h:156
Aws
Definition: AccessManagementClient.h:15
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchDeleteTableRowsRequest.h:31
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::WithRowIds
BatchDeleteTableRowsRequest & WithRowIds(Aws::Vector< Aws::String > &&value)
Definition: BatchDeleteTableRowsRequest.h:196
Aws::Honeycode::HoneycodeRequest
Definition: HoneycodeRequest.h:17
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: BatchDeleteTableRowsRequest.h:276
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::SetTableId
void SetTableId(Aws::String &&value)
Definition: BatchDeleteTableRowsRequest.h:119
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::WithWorkbookId
BatchDeleteTableRowsRequest & WithWorkbookId(const char *value)
Definition: BatchDeleteTableRowsRequest.h:90
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::RowIdsHasBeenSet
bool RowIdsHasBeenSet() const
Definition: BatchDeleteTableRowsRequest.h:164
Aws::Honeycode::Model::BatchDeleteTableRowsRequest::WithWorkbookId
BatchDeleteTableRowsRequest & WithWorkbookId(const Aws::String &value)
Definition: BatchDeleteTableRowsRequest.h:76