AWS SDK for C++  1.9.125
AWS SDK for C++
ListTableRowsRequest.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 "ListTableRows"; }
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 ListTableRowsRequest& WithWorkbookId(const Aws::String& value) { SetWorkbookId(value); return *this;}
77 
83  inline ListTableRowsRequest& WithWorkbookId(Aws::String&& value) { SetWorkbookId(std::move(value)); return *this;}
84 
90  inline ListTableRowsRequest& 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 ListTableRowsRequest& WithTableId(const Aws::String& value) { SetTableId(value); return *this;}
134 
140  inline ListTableRowsRequest& WithTableId(Aws::String&& value) { SetTableId(std::move(value)); return *this;}
141 
147  inline ListTableRowsRequest& WithTableId(const char* value) { SetTableId(value); return *this;}
148 
149 
155  inline const Aws::Vector<Aws::String>& GetRowIds() const{ return m_rowIds; }
156 
162  inline bool RowIdsHasBeenSet() const { return m_rowIdsHasBeenSet; }
163 
169  inline void SetRowIds(const Aws::Vector<Aws::String>& value) { m_rowIdsHasBeenSet = true; m_rowIds = value; }
170 
176  inline void SetRowIds(Aws::Vector<Aws::String>&& value) { m_rowIdsHasBeenSet = true; m_rowIds = std::move(value); }
177 
183  inline ListTableRowsRequest& WithRowIds(const Aws::Vector<Aws::String>& value) { SetRowIds(value); return *this;}
184 
190  inline ListTableRowsRequest& WithRowIds(Aws::Vector<Aws::String>&& value) { SetRowIds(std::move(value)); return *this;}
191 
197  inline ListTableRowsRequest& AddRowIds(const Aws::String& value) { m_rowIdsHasBeenSet = true; m_rowIds.push_back(value); return *this; }
198 
204  inline ListTableRowsRequest& AddRowIds(Aws::String&& value) { m_rowIdsHasBeenSet = true; m_rowIds.push_back(std::move(value)); return *this; }
205 
211  inline ListTableRowsRequest& AddRowIds(const char* value) { m_rowIdsHasBeenSet = true; m_rowIds.push_back(value); return *this; }
212 
213 
217  inline int GetMaxResults() const{ return m_maxResults; }
218 
222  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
223 
227  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
228 
232  inline ListTableRowsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
233 
234 
241  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
242 
249  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
250 
257  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
258 
265  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
266 
273  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
274 
281  inline ListTableRowsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
282 
289  inline ListTableRowsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
290 
297  inline ListTableRowsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
298 
299  private:
300 
301  Aws::String m_workbookId;
302  bool m_workbookIdHasBeenSet;
303 
304  Aws::String m_tableId;
305  bool m_tableIdHasBeenSet;
306 
307  Aws::Vector<Aws::String> m_rowIds;
308  bool m_rowIdsHasBeenSet;
309 
310  int m_maxResults;
311  bool m_maxResultsHasBeenSet;
312 
313  Aws::String m_nextToken;
314  bool m_nextTokenHasBeenSet;
315  };
316 
317 } // namespace Model
318 } // namespace Honeycode
319 } // namespace Aws
Aws::Honeycode::Model::ListTableRowsRequest::WithWorkbookId
ListTableRowsRequest & WithWorkbookId(Aws::String &&value)
Definition: ListTableRowsRequest.h:83
Aws::Honeycode::Model::ListTableRowsRequest::AddRowIds
ListTableRowsRequest & AddRowIds(const char *value)
Definition: ListTableRowsRequest.h:211
Aws::Honeycode::Model::ListTableRowsRequest::WithMaxResults
ListTableRowsRequest & WithMaxResults(int value)
Definition: ListTableRowsRequest.h:232
Aws::Honeycode::Model::ListTableRowsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListTableRowsRequest.h:249
Aws::Honeycode::Model::ListTableRowsRequest::SetWorkbookId
void SetWorkbookId(const Aws::String &value)
Definition: ListTableRowsRequest.h:55
Aws::Honeycode::Model::ListTableRowsRequest::WorkbookIdHasBeenSet
bool WorkbookIdHasBeenSet() const
Definition: ListTableRowsRequest.h:48
HoneycodeRequest.h
Aws::Honeycode::Model::ListTableRowsRequest::SetRowIds
void SetRowIds(Aws::Vector< Aws::String > &&value)
Definition: ListTableRowsRequest.h:176
AWS_HONEYCODE_API
#define AWS_HONEYCODE_API
Definition: Honeycode_EXPORTS.h:28
Aws::Honeycode::Model::ListTableRowsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListTableRowsRequest.h:241
Aws::Honeycode::Model::ListTableRowsRequest::GetWorkbookId
const Aws::String & GetWorkbookId() const
Definition: ListTableRowsRequest.h:41
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Honeycode::Model::ListTableRowsRequest::SetRowIds
void SetRowIds(const Aws::Vector< Aws::String > &value)
Definition: ListTableRowsRequest.h:169
AWSVector.h
Aws::Honeycode::Model::ListTableRowsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListTableRowsRequest.h:31
Aws::Honeycode::Model::ListTableRowsRequest::AddRowIds
ListTableRowsRequest & AddRowIds(const Aws::String &value)
Definition: ListTableRowsRequest.h:197
Aws::Honeycode::Model::ListTableRowsRequest::AddRowIds
ListTableRowsRequest & AddRowIds(Aws::String &&value)
Definition: ListTableRowsRequest.h:204
Aws::Honeycode::Model::ListTableRowsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListTableRowsRequest.h:273
Aws::Honeycode::Model::ListTableRowsRequest::GetTableId
const Aws::String & GetTableId() const
Definition: ListTableRowsRequest.h:98
Aws::Honeycode::Model::ListTableRowsRequest::WithWorkbookId
ListTableRowsRequest & WithWorkbookId(const Aws::String &value)
Definition: ListTableRowsRequest.h:76
Aws::Honeycode::Model::ListTableRowsRequest::WithNextToken
ListTableRowsRequest & WithNextToken(const Aws::String &value)
Definition: ListTableRowsRequest.h:281
Aws::Honeycode::Model::ListTableRowsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListTableRowsRequest.h:227
Aws::Honeycode::Model::ListTableRowsRequest::SetTableId
void SetTableId(Aws::String &&value)
Definition: ListTableRowsRequest.h:119
Aws::Honeycode::Model::ListTableRowsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListTableRowsRequest.h:257
Aws::Honeycode::Model::ListTableRowsRequest::ListTableRowsRequest
ListTableRowsRequest()
AWSString.h
Aws::Honeycode::Model::ListTableRowsRequest::GetRowIds
const Aws::Vector< Aws::String > & GetRowIds() const
Definition: ListTableRowsRequest.h:155
Aws::Honeycode::Model::ListTableRowsRequest::WithRowIds
ListTableRowsRequest & WithRowIds(const Aws::Vector< Aws::String > &value)
Definition: ListTableRowsRequest.h:183
Aws::Honeycode::Model::ListTableRowsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListTableRowsRequest.h:222
Aws::Honeycode::Model::ListTableRowsRequest::WithTableId
ListTableRowsRequest & WithTableId(Aws::String &&value)
Definition: ListTableRowsRequest.h:140
Honeycode_EXPORTS.h
Aws::Honeycode::Model::ListTableRowsRequest::WithTableId
ListTableRowsRequest & WithTableId(const Aws::String &value)
Definition: ListTableRowsRequest.h:133
Aws::Honeycode::Model::ListTableRowsRequest::SetTableId
void SetTableId(const char *value)
Definition: ListTableRowsRequest.h:126
Aws::Honeycode::Model::ListTableRowsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Honeycode::Model::ListTableRowsRequest::SetTableId
void SetTableId(const Aws::String &value)
Definition: ListTableRowsRequest.h:112
Aws::Honeycode::Model::ListTableRowsRequest::SetWorkbookId
void SetWorkbookId(const char *value)
Definition: ListTableRowsRequest.h:69
Aws
Definition: AccessManagementClient.h:15
Aws::Honeycode::Model::ListTableRowsRequest::WithNextToken
ListTableRowsRequest & WithNextToken(Aws::String &&value)
Definition: ListTableRowsRequest.h:289
Aws::Honeycode::Model::ListTableRowsRequest::SetWorkbookId
void SetWorkbookId(Aws::String &&value)
Definition: ListTableRowsRequest.h:62
Aws::Honeycode::Model::ListTableRowsRequest::RowIdsHasBeenSet
bool RowIdsHasBeenSet() const
Definition: ListTableRowsRequest.h:162
Aws::Honeycode::Model::ListTableRowsRequest::WithTableId
ListTableRowsRequest & WithTableId(const char *value)
Definition: ListTableRowsRequest.h:147
Aws::Honeycode::Model::ListTableRowsRequest::WithRowIds
ListTableRowsRequest & WithRowIds(Aws::Vector< Aws::String > &&value)
Definition: ListTableRowsRequest.h:190
Aws::Honeycode::Model::ListTableRowsRequest::TableIdHasBeenSet
bool TableIdHasBeenSet() const
Definition: ListTableRowsRequest.h:105
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Honeycode::Model::ListTableRowsRequest
Definition: ListTableRowsRequest.h:23
Aws::Honeycode::HoneycodeRequest
Definition: HoneycodeRequest.h:17
Aws::Honeycode::Model::ListTableRowsRequest::WithWorkbookId
ListTableRowsRequest & WithWorkbookId(const char *value)
Definition: ListTableRowsRequest.h:90
Aws::Honeycode::Model::ListTableRowsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListTableRowsRequest.h:265
Aws::Honeycode::Model::ListTableRowsRequest::WithNextToken
ListTableRowsRequest & WithNextToken(const char *value)
Definition: ListTableRowsRequest.h:297
Aws::Honeycode::Model::ListTableRowsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListTableRowsRequest.h:217