AWS SDK for C++  1.9.40
AWS SDK for C++
ListTablesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace Honeycode
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListTables"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
46  inline const Aws::String& GetWorkbookId() const{ return m_workbookId; }
47 
53  inline bool WorkbookIdHasBeenSet() const { return m_workbookIdHasBeenSet; }
54 
60  inline void SetWorkbookId(const Aws::String& value) { m_workbookIdHasBeenSet = true; m_workbookId = value; }
61 
67  inline void SetWorkbookId(Aws::String&& value) { m_workbookIdHasBeenSet = true; m_workbookId = std::move(value); }
68 
74  inline void SetWorkbookId(const char* value) { m_workbookIdHasBeenSet = true; m_workbookId.assign(value); }
75 
81  inline ListTablesRequest& WithWorkbookId(const Aws::String& value) { SetWorkbookId(value); return *this;}
82 
88  inline ListTablesRequest& WithWorkbookId(Aws::String&& value) { SetWorkbookId(std::move(value)); return *this;}
89 
95  inline ListTablesRequest& WithWorkbookId(const char* value) { SetWorkbookId(value); return *this;}
96 
97 
101  inline int GetMaxResults() const{ return m_maxResults; }
102 
106  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
107 
111  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
112 
116  inline ListTablesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
117 
118 
125  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
126 
133  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
134 
141  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
142 
149  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
150 
157  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
158 
165  inline ListTablesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
166 
173  inline ListTablesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
174 
181  inline ListTablesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
182 
183  private:
184 
185  Aws::String m_workbookId;
186  bool m_workbookIdHasBeenSet;
187 
188  int m_maxResults;
189  bool m_maxResultsHasBeenSet;
190 
191  Aws::String m_nextToken;
192  bool m_nextTokenHasBeenSet;
193  };
194 
195 } // namespace Model
196 } // namespace Honeycode
197 } // namespace Aws
Aws::Honeycode::Model::ListTablesRequest::WithWorkbookId
ListTablesRequest & WithWorkbookId(const Aws::String &value)
Definition: ListTablesRequest.h:81
Aws::Http::URI
Definition: URI.h:32
Aws::Honeycode::Model::ListTablesRequest::ListTablesRequest
ListTablesRequest()
Aws::Honeycode::Model::ListTablesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListTablesRequest.h:133
Aws::Honeycode::Model::ListTablesRequest::WorkbookIdHasBeenSet
bool WorkbookIdHasBeenSet() const
Definition: ListTablesRequest.h:53
Aws::Honeycode::Model::ListTablesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListTablesRequest.h:149
Aws::Honeycode::Model::ListTablesRequest::WithNextToken
ListTablesRequest & WithNextToken(const char *value)
Definition: ListTablesRequest.h:181
Aws::Honeycode::Model::ListTablesRequest::WithNextToken
ListTablesRequest & WithNextToken(const Aws::String &value)
Definition: ListTablesRequest.h:165
Aws::Honeycode::Model::ListTablesRequest::SetWorkbookId
void SetWorkbookId(const char *value)
Definition: ListTablesRequest.h:74
Aws::Honeycode::Model::ListTablesRequest::GetWorkbookId
const Aws::String & GetWorkbookId() const
Definition: ListTablesRequest.h:46
Aws::Honeycode::Model::ListTablesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListTablesRequest.h:101
Aws::Honeycode::Model::ListTablesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
HoneycodeRequest.h
AWS_HONEYCODE_API
#define AWS_HONEYCODE_API
Definition: Honeycode_EXPORTS.h:28
Aws::Honeycode::Model::ListTablesRequest
Definition: ListTablesRequest.h:26
Aws::Honeycode::Model::ListTablesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListTablesRequest.h:34
Aws::Honeycode::Model::ListTablesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListTablesRequest.h:141
Aws::Honeycode::Model::ListTablesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Honeycode::Model::ListTablesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListTablesRequest.h:125
Aws::Honeycode::Model::ListTablesRequest::WithWorkbookId
ListTablesRequest & WithWorkbookId(Aws::String &&value)
Definition: ListTablesRequest.h:88
AWSString.h
Aws::Honeycode::Model::ListTablesRequest::WithNextToken
ListTablesRequest & WithNextToken(Aws::String &&value)
Definition: ListTablesRequest.h:173
Honeycode_EXPORTS.h
Aws::Honeycode::Model::ListTablesRequest::SetWorkbookId
void SetWorkbookId(const Aws::String &value)
Definition: ListTablesRequest.h:60
Aws::Honeycode::Model::ListTablesRequest::SetWorkbookId
void SetWorkbookId(Aws::String &&value)
Definition: ListTablesRequest.h:67
Aws::Honeycode::Model::ListTablesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListTablesRequest.h:111
Aws::Honeycode::Model::ListTablesRequest::WithWorkbookId
ListTablesRequest & WithWorkbookId(const char *value)
Definition: ListTablesRequest.h:95
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Honeycode::Model::ListTablesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListTablesRequest.h:106
Aws::Honeycode::HoneycodeRequest
Definition: HoneycodeRequest.h:17
Aws::Honeycode::Model::ListTablesRequest::WithMaxResults
ListTablesRequest & WithMaxResults(int value)
Definition: ListTablesRequest.h:116
Aws::Honeycode::Model::ListTablesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListTablesRequest.h:157