AWS SDK for C++  1.9.46
AWS SDK for C++
ListGroupMembershipsRequest.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 "ListGroupMemberships"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetGroupName() const{ return m_groupName; }
45 
49  inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
50 
54  inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
55 
59  inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
60 
64  inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
65 
69  inline ListGroupMembershipsRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
70 
74  inline ListGroupMembershipsRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
75 
79  inline ListGroupMembershipsRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;}
80 
81 
85  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
86 
90  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
91 
95  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
96 
100  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
101 
105  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
106 
110  inline ListGroupMembershipsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
111 
115  inline ListGroupMembershipsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
116 
120  inline ListGroupMembershipsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122 
126  inline int GetMaxResults() const{ return m_maxResults; }
127 
131  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
132 
136  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
137 
141  inline ListGroupMembershipsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
142 
143 
148  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
149 
154  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
155 
160  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
161 
166  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
167 
172  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
173 
178  inline ListGroupMembershipsRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
179 
184  inline ListGroupMembershipsRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
185 
190  inline ListGroupMembershipsRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
191 
192 
196  inline const Aws::String& GetNamespace() const{ return m_namespace; }
197 
201  inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
202 
206  inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
207 
211  inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
212 
216  inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
217 
221  inline ListGroupMembershipsRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
222 
226  inline ListGroupMembershipsRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
227 
231  inline ListGroupMembershipsRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
232 
233  private:
234 
235  Aws::String m_groupName;
236  bool m_groupNameHasBeenSet;
237 
238  Aws::String m_nextToken;
239  bool m_nextTokenHasBeenSet;
240 
241  int m_maxResults;
242  bool m_maxResultsHasBeenSet;
243 
244  Aws::String m_awsAccountId;
245  bool m_awsAccountIdHasBeenSet;
246 
247  Aws::String m_namespace;
248  bool m_namespaceHasBeenSet;
249  };
250 
251 } // namespace Model
252 } // namespace QuickSight
253 } // namespace Aws
Aws::QuickSight::Model::ListGroupMembershipsRequest::SetNamespace
void SetNamespace(const char *value)
Definition: ListGroupMembershipsRequest.h:216
Aws::QuickSight::Model::ListGroupMembershipsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListGroupMembershipsRequest.h:126
Aws::QuickSight::Model::ListGroupMembershipsRequest::ListGroupMembershipsRequest
ListGroupMembershipsRequest()
Aws::Http::URI
Definition: URI.h:32
Aws::QuickSight::Model::ListGroupMembershipsRequest
Definition: ListGroupMembershipsRequest.h:26
QuickSight_EXPORTS.h
Aws::QuickSight::Model::ListGroupMembershipsRequest::SetGroupName
void SetGroupName(Aws::String &&value)
Definition: ListGroupMembershipsRequest.h:59
Aws::QuickSight::Model::ListGroupMembershipsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListGroupMembershipsRequest.h:131
Aws::QuickSight::Model::ListGroupMembershipsRequest::SetNamespace
void SetNamespace(Aws::String &&value)
Definition: ListGroupMembershipsRequest.h:211
Aws::QuickSight::Model::ListGroupMembershipsRequest::GetNamespace
const Aws::String & GetNamespace() const
Definition: ListGroupMembershipsRequest.h:196
Aws::QuickSight::Model::ListGroupMembershipsRequest::GetGroupName
const Aws::String & GetGroupName() const
Definition: ListGroupMembershipsRequest.h:44
Aws::QuickSight::Model::ListGroupMembershipsRequest::WithNamespace
ListGroupMembershipsRequest & WithNamespace(const char *value)
Definition: ListGroupMembershipsRequest.h:231
Aws::QuickSight::Model::ListGroupMembershipsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListGroupMembershipsRequest.h:34
Aws::QuickSight::Model::ListGroupMembershipsRequest::WithNextToken
ListGroupMembershipsRequest & WithNextToken(Aws::String &&value)
Definition: ListGroupMembershipsRequest.h:115
Aws::QuickSight::Model::ListGroupMembershipsRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: ListGroupMembershipsRequest.h:154
Aws::QuickSight::Model::ListGroupMembershipsRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: ListGroupMembershipsRequest.h:172
Aws::QuickSight::Model::ListGroupMembershipsRequest::WithGroupName
ListGroupMembershipsRequest & WithGroupName(const char *value)
Definition: ListGroupMembershipsRequest.h:79
Aws::QuickSight::Model::ListGroupMembershipsRequest::WithNextToken
ListGroupMembershipsRequest & WithNextToken(const Aws::String &value)
Definition: ListGroupMembershipsRequest.h:110
Aws::QuickSight::Model::ListGroupMembershipsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::QuickSight::Model::ListGroupMembershipsRequest::WithAwsAccountId
ListGroupMembershipsRequest & WithAwsAccountId(const char *value)
Definition: ListGroupMembershipsRequest.h:190
Aws::QuickSight::Model::ListGroupMembershipsRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: ListGroupMembershipsRequest.h:160
QuickSightRequest.h
Aws::QuickSight::Model::ListGroupMembershipsRequest::WithNamespace
ListGroupMembershipsRequest & WithNamespace(const Aws::String &value)
Definition: ListGroupMembershipsRequest.h:221
Aws::QuickSight::Model::ListGroupMembershipsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListGroupMembershipsRequest.h:136
Aws::QuickSight::Model::ListGroupMembershipsRequest::GroupNameHasBeenSet
bool GroupNameHasBeenSet() const
Definition: ListGroupMembershipsRequest.h:49
Aws::QuickSight::Model::ListGroupMembershipsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListGroupMembershipsRequest.h:95
AWSString.h
Aws::QuickSight::Model::ListGroupMembershipsRequest::SetGroupName
void SetGroupName(const char *value)
Definition: ListGroupMembershipsRequest.h:64
Aws::QuickSight::Model::ListGroupMembershipsRequest::NamespaceHasBeenSet
bool NamespaceHasBeenSet() const
Definition: ListGroupMembershipsRequest.h:201
Aws::QuickSight::Model::ListGroupMembershipsRequest::WithNextToken
ListGroupMembershipsRequest & WithNextToken(const char *value)
Definition: ListGroupMembershipsRequest.h:120
Aws::QuickSight::Model::ListGroupMembershipsRequest::WithAwsAccountId
ListGroupMembershipsRequest & WithAwsAccountId(const Aws::String &value)
Definition: ListGroupMembershipsRequest.h:178
Aws::QuickSight::Model::ListGroupMembershipsRequest::SetNamespace
void SetNamespace(const Aws::String &value)
Definition: ListGroupMembershipsRequest.h:206
Aws::QuickSight::Model::ListGroupMembershipsRequest::WithGroupName
ListGroupMembershipsRequest & WithGroupName(const Aws::String &value)
Definition: ListGroupMembershipsRequest.h:69
Aws::QuickSight::Model::ListGroupMembershipsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListGroupMembershipsRequest.h:85
Aws::QuickSight::Model::ListGroupMembershipsRequest::WithGroupName
ListGroupMembershipsRequest & WithGroupName(Aws::String &&value)
Definition: ListGroupMembershipsRequest.h:74
Aws::QuickSight::Model::ListGroupMembershipsRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: ListGroupMembershipsRequest.h:148
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::ListGroupMembershipsRequest::WithMaxResults
ListGroupMembershipsRequest & WithMaxResults(int value)
Definition: ListGroupMembershipsRequest.h:141
Aws::QuickSight::Model::ListGroupMembershipsRequest::WithAwsAccountId
ListGroupMembershipsRequest & WithAwsAccountId(Aws::String &&value)
Definition: ListGroupMembershipsRequest.h:184
Aws::QuickSight::Model::ListGroupMembershipsRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: ListGroupMembershipsRequest.h:166
Aws::QuickSight::Model::ListGroupMembershipsRequest::WithNamespace
ListGroupMembershipsRequest & WithNamespace(Aws::String &&value)
Definition: ListGroupMembershipsRequest.h:226
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::ListGroupMembershipsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListGroupMembershipsRequest.h:90
Aws::QuickSight::Model::ListGroupMembershipsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListGroupMembershipsRequest.h:105
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::ListGroupMembershipsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListGroupMembershipsRequest.h:100
Aws::QuickSight::Model::ListGroupMembershipsRequest::SetGroupName
void SetGroupName(const Aws::String &value)
Definition: ListGroupMembershipsRequest.h:54
Aws::QuickSight::Model::ListGroupMembershipsRequest::SerializePayload
Aws::String SerializePayload() const override