AWS SDK for C++  1.9.40
AWS SDK for C++
ListUsersInGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CognitoIdentityProvider
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListUsersInGroup"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetUserPoolId() const{ return m_userPoolId; }
41 
45  inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
46 
50  inline void SetUserPoolId(const Aws::String& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = value; }
51 
55  inline void SetUserPoolId(Aws::String&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::move(value); }
56 
60  inline void SetUserPoolId(const char* value) { m_userPoolIdHasBeenSet = true; m_userPoolId.assign(value); }
61 
65  inline ListUsersInGroupRequest& WithUserPoolId(const Aws::String& value) { SetUserPoolId(value); return *this;}
66 
70  inline ListUsersInGroupRequest& WithUserPoolId(Aws::String&& value) { SetUserPoolId(std::move(value)); return *this;}
71 
75  inline ListUsersInGroupRequest& WithUserPoolId(const char* value) { SetUserPoolId(value); return *this;}
76 
77 
81  inline const Aws::String& GetGroupName() const{ return m_groupName; }
82 
86  inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
87 
91  inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
92 
96  inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
97 
101  inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
102 
106  inline ListUsersInGroupRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
107 
111  inline ListUsersInGroupRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
112 
116  inline ListUsersInGroupRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;}
117 
118 
122  inline int GetLimit() const{ return m_limit; }
123 
127  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
128 
132  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
133 
137  inline ListUsersInGroupRequest& WithLimit(int value) { SetLimit(value); return *this;}
138 
139 
144  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
145 
150  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
151 
156  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
157 
162  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
163 
168  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
169 
174  inline ListUsersInGroupRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
175 
180  inline ListUsersInGroupRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
181 
186  inline ListUsersInGroupRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
187 
188  private:
189 
190  Aws::String m_userPoolId;
191  bool m_userPoolIdHasBeenSet;
192 
193  Aws::String m_groupName;
194  bool m_groupNameHasBeenSet;
195 
196  int m_limit;
197  bool m_limitHasBeenSet;
198 
199  Aws::String m_nextToken;
200  bool m_nextTokenHasBeenSet;
201  };
202 
203 } // namespace Model
204 } // namespace CognitoIdentityProvider
205 } // namespace Aws
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::WithNextToken
ListUsersInGroupRequest & WithNextToken(Aws::String &&value)
Definition: ListUsersInGroupRequest.h:180
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::WithUserPoolId
ListUsersInGroupRequest & WithUserPoolId(const char *value)
Definition: ListUsersInGroupRequest.h:75
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListUsersInGroupRequest.h:156
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest
Definition: ListUsersInGroupRequest.h:22
CognitoIdentityProvider_EXPORTS.h
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::SetUserPoolId
void SetUserPoolId(const Aws::String &value)
Definition: ListUsersInGroupRequest.h:50
Aws::CognitoIdentityProvider::CognitoIdentityProviderRequest
Definition: CognitoIdentityProviderRequest.h:17
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::GetLimit
int GetLimit() const
Definition: ListUsersInGroupRequest.h:122
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::GroupNameHasBeenSet
bool GroupNameHasBeenSet() const
Definition: ListUsersInGroupRequest.h:86
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListUsersInGroupRequest.h:127
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::WithGroupName
ListUsersInGroupRequest & WithGroupName(const Aws::String &value)
Definition: ListUsersInGroupRequest.h:106
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::SetLimit
void SetLimit(int value)
Definition: ListUsersInGroupRequest.h:132
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::WithUserPoolId
ListUsersInGroupRequest & WithUserPoolId(const Aws::String &value)
Definition: ListUsersInGroupRequest.h:65
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::GetUserPoolId
const Aws::String & GetUserPoolId() const
Definition: ListUsersInGroupRequest.h:40
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::WithNextToken
ListUsersInGroupRequest & WithNextToken(const char *value)
Definition: ListUsersInGroupRequest.h:186
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListUsersInGroupRequest.h:144
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListUsersInGroupRequest.h:30
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::GetGroupName
const Aws::String & GetGroupName() const
Definition: ListUsersInGroupRequest.h:81
AWS_COGNITOIDENTITYPROVIDER_API
#define AWS_COGNITOIDENTITYPROVIDER_API
Definition: CognitoIdentityProvider_EXPORTS.h:28
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::SetUserPoolId
void SetUserPoolId(const char *value)
Definition: ListUsersInGroupRequest.h:60
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::WithGroupName
ListUsersInGroupRequest & WithGroupName(Aws::String &&value)
Definition: ListUsersInGroupRequest.h:111
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::UserPoolIdHasBeenSet
bool UserPoolIdHasBeenSet() const
Definition: ListUsersInGroupRequest.h:45
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::WithNextToken
ListUsersInGroupRequest & WithNextToken(const Aws::String &value)
Definition: ListUsersInGroupRequest.h:174
AWSString.h
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::SetGroupName
void SetGroupName(const Aws::String &value)
Definition: ListUsersInGroupRequest.h:91
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::SetGroupName
void SetGroupName(const char *value)
Definition: ListUsersInGroupRequest.h:101
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListUsersInGroupRequest.h:150
Aws
Definition: AccessManagementClient.h:15
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::WithUserPoolId
ListUsersInGroupRequest & WithUserPoolId(Aws::String &&value)
Definition: ListUsersInGroupRequest.h:70
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::SetUserPoolId
void SetUserPoolId(Aws::String &&value)
Definition: ListUsersInGroupRequest.h:55
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListUsersInGroupRequest.h:168
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::WithGroupName
ListUsersInGroupRequest & WithGroupName(const char *value)
Definition: ListUsersInGroupRequest.h:116
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CognitoIdentityProviderRequest.h
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::WithLimit
ListUsersInGroupRequest & WithLimit(int value)
Definition: ListUsersInGroupRequest.h:137
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::ListUsersInGroupRequest
ListUsersInGroupRequest()
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListUsersInGroupRequest.h:162
Aws::CognitoIdentityProvider::Model::ListUsersInGroupRequest::SetGroupName
void SetGroupName(Aws::String &&value)
Definition: ListUsersInGroupRequest.h:96