AWS SDK for C++  1.9.159
AWS SDK for C++
ListResolversByFunctionRequest.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 AppSync
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 "ListResolversByFunction"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetApiId() const{ return m_apiId; }
45 
49  inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
50 
54  inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
55 
59  inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
60 
64  inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
65 
69  inline ListResolversByFunctionRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
70 
74  inline ListResolversByFunctionRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
75 
79  inline ListResolversByFunctionRequest& WithApiId(const char* value) { SetApiId(value); return *this;}
80 
81 
85  inline const Aws::String& GetFunctionId() const{ return m_functionId; }
86 
90  inline bool FunctionIdHasBeenSet() const { return m_functionIdHasBeenSet; }
91 
95  inline void SetFunctionId(const Aws::String& value) { m_functionIdHasBeenSet = true; m_functionId = value; }
96 
100  inline void SetFunctionId(Aws::String&& value) { m_functionIdHasBeenSet = true; m_functionId = std::move(value); }
101 
105  inline void SetFunctionId(const char* value) { m_functionIdHasBeenSet = true; m_functionId.assign(value); }
106 
110  inline ListResolversByFunctionRequest& WithFunctionId(const Aws::String& value) { SetFunctionId(value); return *this;}
111 
115  inline ListResolversByFunctionRequest& WithFunctionId(Aws::String&& value) { SetFunctionId(std::move(value)); return *this;}
116 
120  inline ListResolversByFunctionRequest& WithFunctionId(const char* value) { SetFunctionId(value); return *this;}
121 
122 
127  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
128 
133  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
134 
139  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
140 
145  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
146 
151  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
152 
157  inline ListResolversByFunctionRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
158 
163  inline ListResolversByFunctionRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
164 
169  inline ListResolversByFunctionRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
170 
171 
175  inline int GetMaxResults() const{ return m_maxResults; }
176 
180  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
181 
185  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
186 
190  inline ListResolversByFunctionRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
191 
192  private:
193 
194  Aws::String m_apiId;
195  bool m_apiIdHasBeenSet;
196 
197  Aws::String m_functionId;
198  bool m_functionIdHasBeenSet;
199 
200  Aws::String m_nextToken;
201  bool m_nextTokenHasBeenSet;
202 
203  int m_maxResults;
204  bool m_maxResultsHasBeenSet;
205  };
206 
207 } // namespace Model
208 } // namespace AppSync
209 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::AppSync::AppSyncRequest
Definition: AppSyncRequest.h:17
Aws::AppSync::Model::ListResolversByFunctionRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListResolversByFunctionRequest.h:151
Aws::AppSync::Model::ListResolversByFunctionRequest::SetFunctionId
void SetFunctionId(Aws::String &&value)
Definition: ListResolversByFunctionRequest.h:100
Aws::AppSync::Model::ListResolversByFunctionRequest::FunctionIdHasBeenSet
bool FunctionIdHasBeenSet() const
Definition: ListResolversByFunctionRequest.h:90
Aws::AppSync::Model::ListResolversByFunctionRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListResolversByFunctionRequest.h:145
Aws::AppSync::Model::ListResolversByFunctionRequest::WithApiId
ListResolversByFunctionRequest & WithApiId(const char *value)
Definition: ListResolversByFunctionRequest.h:79
Aws::AppSync::Model::ListResolversByFunctionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListResolversByFunctionRequest.h:34
Aws::AppSync::Model::ListResolversByFunctionRequest::WithNextToken
ListResolversByFunctionRequest & WithNextToken(const Aws::String &value)
Definition: ListResolversByFunctionRequest.h:157
AppSync_EXPORTS.h
Aws::AppSync::Model::ListResolversByFunctionRequest::ApiIdHasBeenSet
bool ApiIdHasBeenSet() const
Definition: ListResolversByFunctionRequest.h:49
Aws::AppSync::Model::ListResolversByFunctionRequest::GetApiId
const Aws::String & GetApiId() const
Definition: ListResolversByFunctionRequest.h:44
Aws::AppSync::Model::ListResolversByFunctionRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListResolversByFunctionRequest.h:185
Aws::AppSync::Model::ListResolversByFunctionRequest::WithApiId
ListResolversByFunctionRequest & WithApiId(const Aws::String &value)
Definition: ListResolversByFunctionRequest.h:69
Aws::AppSync::Model::ListResolversByFunctionRequest::ListResolversByFunctionRequest
ListResolversByFunctionRequest()
Aws::AppSync::Model::ListResolversByFunctionRequest::SetFunctionId
void SetFunctionId(const char *value)
Definition: ListResolversByFunctionRequest.h:105
Aws::AppSync::Model::ListResolversByFunctionRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListResolversByFunctionRequest.h:139
Aws::AppSync::Model::ListResolversByFunctionRequest::SetApiId
void SetApiId(const Aws::String &value)
Definition: ListResolversByFunctionRequest.h:54
Aws::AppSync::Model::ListResolversByFunctionRequest::WithFunctionId
ListResolversByFunctionRequest & WithFunctionId(const Aws::String &value)
Definition: ListResolversByFunctionRequest.h:110
AWSString.h
Aws::AppSync::Model::ListResolversByFunctionRequest::WithNextToken
ListResolversByFunctionRequest & WithNextToken(Aws::String &&value)
Definition: ListResolversByFunctionRequest.h:163
Aws::AppSync::Model::ListResolversByFunctionRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListResolversByFunctionRequest.h:127
Aws::AppSync::Model::ListResolversByFunctionRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::AppSync::Model::ListResolversByFunctionRequest::SetApiId
void SetApiId(const char *value)
Definition: ListResolversByFunctionRequest.h:64
Aws::AppSync::Model::ListResolversByFunctionRequest::WithFunctionId
ListResolversByFunctionRequest & WithFunctionId(const char *value)
Definition: ListResolversByFunctionRequest.h:120
Aws::AppSync::Model::ListResolversByFunctionRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListResolversByFunctionRequest.h:180
Aws::AppSync::Model::ListResolversByFunctionRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListResolversByFunctionRequest.h:133
AppSyncRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::AppSync::Model::ListResolversByFunctionRequest
Definition: ListResolversByFunctionRequest.h:26
Aws::AppSync::Model::ListResolversByFunctionRequest::WithNextToken
ListResolversByFunctionRequest & WithNextToken(const char *value)
Definition: ListResolversByFunctionRequest.h:169
Aws::AppSync::Model::ListResolversByFunctionRequest::SetApiId
void SetApiId(Aws::String &&value)
Definition: ListResolversByFunctionRequest.h:59
AWS_APPSYNC_API
#define AWS_APPSYNC_API
Definition: AppSync_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppSync::Model::ListResolversByFunctionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppSync::Model::ListResolversByFunctionRequest::WithFunctionId
ListResolversByFunctionRequest & WithFunctionId(Aws::String &&value)
Definition: ListResolversByFunctionRequest.h:115
Aws::AppSync::Model::ListResolversByFunctionRequest::SetFunctionId
void SetFunctionId(const Aws::String &value)
Definition: ListResolversByFunctionRequest.h:95
Aws::AppSync::Model::ListResolversByFunctionRequest::WithMaxResults
ListResolversByFunctionRequest & WithMaxResults(int value)
Definition: ListResolversByFunctionRequest.h:190
Aws::AppSync::Model::ListResolversByFunctionRequest::WithApiId
ListResolversByFunctionRequest & WithApiId(Aws::String &&value)
Definition: ListResolversByFunctionRequest.h:74
Aws::AppSync::Model::ListResolversByFunctionRequest::GetFunctionId
const Aws::String & GetFunctionId() const
Definition: ListResolversByFunctionRequest.h:85
Aws::AppSync::Model::ListResolversByFunctionRequest::GetMaxResults
int GetMaxResults() const
Definition: ListResolversByFunctionRequest.h:175