AWS SDK for C++  1.9.109
AWS SDK for C++
ListResolversRequest.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 "ListResolvers"; }
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 ListResolversRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
70 
74  inline ListResolversRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
75 
79  inline ListResolversRequest& WithApiId(const char* value) { SetApiId(value); return *this;}
80 
81 
85  inline const Aws::String& GetTypeName() const{ return m_typeName; }
86 
90  inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
91 
95  inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; }
96 
100  inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); }
101 
105  inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); }
106 
110  inline ListResolversRequest& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;}
111 
115  inline ListResolversRequest& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;}
116 
120  inline ListResolversRequest& WithTypeName(const char* value) { SetTypeName(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 ListResolversRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
158 
163  inline ListResolversRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
164 
169  inline ListResolversRequest& 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 ListResolversRequest& 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_typeName;
198  bool m_typeNameHasBeenSet;
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::AppSync::Model::ListResolversRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListResolversRequest.h:34
Aws::Http::URI
Definition: URI.h:32
Aws::AppSync::AppSyncRequest
Definition: AppSyncRequest.h:17
Aws::AppSync::Model::ListResolversRequest::WithTypeName
ListResolversRequest & WithTypeName(Aws::String &&value)
Definition: ListResolversRequest.h:115
Aws::AppSync::Model::ListResolversRequest::SetTypeName
void SetTypeName(const char *value)
Definition: ListResolversRequest.h:105
Aws::AppSync::Model::ListResolversRequest::GetApiId
const Aws::String & GetApiId() const
Definition: ListResolversRequest.h:44
Aws::AppSync::Model::ListResolversRequest::WithTypeName
ListResolversRequest & WithTypeName(const Aws::String &value)
Definition: ListResolversRequest.h:110
Aws::AppSync::Model::ListResolversRequest::SetApiId
void SetApiId(const Aws::String &value)
Definition: ListResolversRequest.h:54
Aws::AppSync::Model::ListResolversRequest::ApiIdHasBeenSet
bool ApiIdHasBeenSet() const
Definition: ListResolversRequest.h:49
Aws::AppSync::Model::ListResolversRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
AppSync_EXPORTS.h
Aws::AppSync::Model::ListResolversRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListResolversRequest.h:151
Aws::AppSync::Model::ListResolversRequest::WithNextToken
ListResolversRequest & WithNextToken(Aws::String &&value)
Definition: ListResolversRequest.h:163
Aws::AppSync::Model::ListResolversRequest::GetTypeName
const Aws::String & GetTypeName() const
Definition: ListResolversRequest.h:85
Aws::AppSync::Model::ListResolversRequest
Definition: ListResolversRequest.h:26
Aws::AppSync::Model::ListResolversRequest::WithMaxResults
ListResolversRequest & WithMaxResults(int value)
Definition: ListResolversRequest.h:190
Aws::AppSync::Model::ListResolversRequest::WithNextToken
ListResolversRequest & WithNextToken(const char *value)
Definition: ListResolversRequest.h:169
Aws::AppSync::Model::ListResolversRequest::SetTypeName
void SetTypeName(Aws::String &&value)
Definition: ListResolversRequest.h:100
Aws::AppSync::Model::ListResolversRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListResolversRequest.h:133
AWSString.h
Aws::AppSync::Model::ListResolversRequest::SetApiId
void SetApiId(Aws::String &&value)
Definition: ListResolversRequest.h:59
Aws::AppSync::Model::ListResolversRequest::GetMaxResults
int GetMaxResults() const
Definition: ListResolversRequest.h:175
Aws::AppSync::Model::ListResolversRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListResolversRequest.h:127
Aws::AppSync::Model::ListResolversRequest::WithApiId
ListResolversRequest & WithApiId(Aws::String &&value)
Definition: ListResolversRequest.h:74
Aws::AppSync::Model::ListResolversRequest::WithApiId
ListResolversRequest & WithApiId(const char *value)
Definition: ListResolversRequest.h:79
Aws::AppSync::Model::ListResolversRequest::SetTypeName
void SetTypeName(const Aws::String &value)
Definition: ListResolversRequest.h:95
Aws::AppSync::Model::ListResolversRequest::WithTypeName
ListResolversRequest & WithTypeName(const char *value)
Definition: ListResolversRequest.h:120
Aws::AppSync::Model::ListResolversRequest::SetApiId
void SetApiId(const char *value)
Definition: ListResolversRequest.h:64
AppSyncRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::AppSync::Model::ListResolversRequest::ListResolversRequest
ListResolversRequest()
Aws::AppSync::Model::ListResolversRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListResolversRequest.h:180
Aws::AppSync::Model::ListResolversRequest::WithNextToken
ListResolversRequest & WithNextToken(const Aws::String &value)
Definition: ListResolversRequest.h:157
AWS_APPSYNC_API
#define AWS_APPSYNC_API
Definition: AppSync_EXPORTS.h:28
Aws::AppSync::Model::ListResolversRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListResolversRequest.h:145
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppSync::Model::ListResolversRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppSync::Model::ListResolversRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListResolversRequest.h:139
Aws::AppSync::Model::ListResolversRequest::WithApiId
ListResolversRequest & WithApiId(const Aws::String &value)
Definition: ListResolversRequest.h:69
Aws::AppSync::Model::ListResolversRequest::TypeNameHasBeenSet
bool TypeNameHasBeenSet() const
Definition: ListResolversRequest.h:90
Aws::AppSync::Model::ListResolversRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListResolversRequest.h:185