AWS SDK for C++  1.9.44
AWS SDK for C++
ListUserGroupsRequest.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 QuickSight
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 "ListUserGroups"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
45  inline const Aws::String& GetUserName() const{ return m_userName; }
46 
51  inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
52 
57  inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
58 
63  inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
64 
69  inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
70 
75  inline ListUserGroupsRequest& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
76 
81  inline ListUserGroupsRequest& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
82 
87  inline ListUserGroupsRequest& WithUserName(const char* value) { SetUserName(value); return *this;}
88 
89 
94  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
95 
100  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
101 
106  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
107 
112  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
113 
118  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
119 
124  inline ListUserGroupsRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
125 
130  inline ListUserGroupsRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
131 
136  inline ListUserGroupsRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
137 
138 
142  inline const Aws::String& GetNamespace() const{ return m_namespace; }
143 
147  inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
148 
152  inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
153 
157  inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
158 
162  inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
163 
167  inline ListUserGroupsRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
168 
172  inline ListUserGroupsRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
173 
177  inline ListUserGroupsRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
178 
179 
183  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
184 
188  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
189 
193  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
194 
198  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
199 
203  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
204 
208  inline ListUserGroupsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
209 
213  inline ListUserGroupsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
214 
218  inline ListUserGroupsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
219 
220 
224  inline int GetMaxResults() const{ return m_maxResults; }
225 
229  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
230 
234  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
235 
239  inline ListUserGroupsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
240 
241  private:
242 
243  Aws::String m_userName;
244  bool m_userNameHasBeenSet;
245 
246  Aws::String m_awsAccountId;
247  bool m_awsAccountIdHasBeenSet;
248 
249  Aws::String m_namespace;
250  bool m_namespaceHasBeenSet;
251 
252  Aws::String m_nextToken;
253  bool m_nextTokenHasBeenSet;
254 
255  int m_maxResults;
256  bool m_maxResultsHasBeenSet;
257  };
258 
259 } // namespace Model
260 } // namespace QuickSight
261 } // namespace Aws
Aws::QuickSight::Model::ListUserGroupsRequest::ListUserGroupsRequest
ListUserGroupsRequest()
Aws::QuickSight::Model::ListUserGroupsRequest::WithNamespace
ListUserGroupsRequest & WithNamespace(const Aws::String &value)
Definition: ListUserGroupsRequest.h:167
Aws::QuickSight::Model::ListUserGroupsRequest::SetNamespace
void SetNamespace(const Aws::String &value)
Definition: ListUserGroupsRequest.h:152
Aws::QuickSight::Model::ListUserGroupsRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: ListUserGroupsRequest.h:100
Aws::QuickSight::Model::ListUserGroupsRequest::SetNamespace
void SetNamespace(Aws::String &&value)
Definition: ListUserGroupsRequest.h:157
Aws::Http::URI
Definition: URI.h:32
QuickSight_EXPORTS.h
Aws::QuickSight::Model::ListUserGroupsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListUserGroupsRequest.h:188
Aws::QuickSight::Model::ListUserGroupsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListUserGroupsRequest.h:229
Aws::QuickSight::Model::ListUserGroupsRequest::WithNextToken
ListUserGroupsRequest & WithNextToken(const Aws::String &value)
Definition: ListUserGroupsRequest.h:208
Aws::QuickSight::Model::ListUserGroupsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListUserGroupsRequest.h:34
Aws::QuickSight::Model::ListUserGroupsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListUserGroupsRequest.h:234
Aws::QuickSight::Model::ListUserGroupsRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: ListUserGroupsRequest.h:112
Aws::QuickSight::Model::ListUserGroupsRequest
Definition: ListUserGroupsRequest.h:26
Aws::QuickSight::Model::ListUserGroupsRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: ListUserGroupsRequest.h:118
Aws::QuickSight::Model::ListUserGroupsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::ListUserGroupsRequest::WithUserName
ListUserGroupsRequest & WithUserName(const char *value)
Definition: ListUserGroupsRequest.h:87
Aws::QuickSight::Model::ListUserGroupsRequest::GetNamespace
const Aws::String & GetNamespace() const
Definition: ListUserGroupsRequest.h:142
QuickSightRequest.h
Aws::QuickSight::Model::ListUserGroupsRequest::WithNamespace
ListUserGroupsRequest & WithNamespace(const char *value)
Definition: ListUserGroupsRequest.h:177
Aws::QuickSight::Model::ListUserGroupsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListUserGroupsRequest.h:198
Aws::QuickSight::Model::ListUserGroupsRequest::NamespaceHasBeenSet
bool NamespaceHasBeenSet() const
Definition: ListUserGroupsRequest.h:147
Aws::QuickSight::Model::ListUserGroupsRequest::GetUserName
const Aws::String & GetUserName() const
Definition: ListUserGroupsRequest.h:45
Aws::QuickSight::Model::ListUserGroupsRequest::WithUserName
ListUserGroupsRequest & WithUserName(const Aws::String &value)
Definition: ListUserGroupsRequest.h:75
Aws::QuickSight::Model::ListUserGroupsRequest::WithAwsAccountId
ListUserGroupsRequest & WithAwsAccountId(const Aws::String &value)
Definition: ListUserGroupsRequest.h:124
AWSString.h
Aws::QuickSight::Model::ListUserGroupsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListUserGroupsRequest.h:224
Aws::QuickSight::Model::ListUserGroupsRequest::SetUserName
void SetUserName(const char *value)
Definition: ListUserGroupsRequest.h:69
Aws::QuickSight::Model::ListUserGroupsRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: ListUserGroupsRequest.h:106
Aws::QuickSight::Model::ListUserGroupsRequest::WithAwsAccountId
ListUserGroupsRequest & WithAwsAccountId(Aws::String &&value)
Definition: ListUserGroupsRequest.h:130
Aws::QuickSight::Model::ListUserGroupsRequest::SetUserName
void SetUserName(const Aws::String &value)
Definition: ListUserGroupsRequest.h:57
Aws::QuickSight::Model::ListUserGroupsRequest::WithNextToken
ListUserGroupsRequest & WithNextToken(Aws::String &&value)
Definition: ListUserGroupsRequest.h:213
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::ListUserGroupsRequest::WithUserName
ListUserGroupsRequest & WithUserName(Aws::String &&value)
Definition: ListUserGroupsRequest.h:81
Aws::QuickSight::Model::ListUserGroupsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListUserGroupsRequest.h:193
Aws::QuickSight::Model::ListUserGroupsRequest::UserNameHasBeenSet
bool UserNameHasBeenSet() const
Definition: ListUserGroupsRequest.h:51
Aws::QuickSight::Model::ListUserGroupsRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: ListUserGroupsRequest.h:94
Aws::QuickSight::Model::ListUserGroupsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::QuickSight::Model::ListUserGroupsRequest::WithNamespace
ListUserGroupsRequest & WithNamespace(Aws::String &&value)
Definition: ListUserGroupsRequest.h:172
Aws::QuickSight::Model::ListUserGroupsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListUserGroupsRequest.h:183
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::ListUserGroupsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListUserGroupsRequest.h:203
Aws::QuickSight::Model::ListUserGroupsRequest::WithAwsAccountId
ListUserGroupsRequest & WithAwsAccountId(const char *value)
Definition: ListUserGroupsRequest.h:136
Aws::QuickSight::Model::ListUserGroupsRequest::SetUserName
void SetUserName(Aws::String &&value)
Definition: ListUserGroupsRequest.h:63
Aws::QuickSight::Model::ListUserGroupsRequest::WithMaxResults
ListUserGroupsRequest & WithMaxResults(int value)
Definition: ListUserGroupsRequest.h:239
Aws::QuickSight::Model::ListUserGroupsRequest::SetNamespace
void SetNamespace(const char *value)
Definition: ListUserGroupsRequest.h:162
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::ListUserGroupsRequest::WithNextToken
ListUserGroupsRequest & WithNextToken(const char *value)
Definition: ListUserGroupsRequest.h:218