AWS SDK for C++  1.9.161
AWS SDK for C++
ListIAMPolicyAssignmentsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace QuickSight
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "ListIAMPolicyAssignments"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
46  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
47 
52  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
53 
58  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
59 
64  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
65 
70  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
71 
76  inline ListIAMPolicyAssignmentsRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
77 
82  inline ListIAMPolicyAssignmentsRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
83 
88  inline ListIAMPolicyAssignmentsRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
89 
90 
94  inline const AssignmentStatus& GetAssignmentStatus() const{ return m_assignmentStatus; }
95 
99  inline bool AssignmentStatusHasBeenSet() const { return m_assignmentStatusHasBeenSet; }
100 
104  inline void SetAssignmentStatus(const AssignmentStatus& value) { m_assignmentStatusHasBeenSet = true; m_assignmentStatus = value; }
105 
109  inline void SetAssignmentStatus(AssignmentStatus&& value) { m_assignmentStatusHasBeenSet = true; m_assignmentStatus = std::move(value); }
110 
114  inline ListIAMPolicyAssignmentsRequest& WithAssignmentStatus(const AssignmentStatus& value) { SetAssignmentStatus(value); return *this;}
115 
119  inline ListIAMPolicyAssignmentsRequest& WithAssignmentStatus(AssignmentStatus&& value) { SetAssignmentStatus(std::move(value)); return *this;}
120 
121 
125  inline const Aws::String& GetNamespace() const{ return m_namespace; }
126 
130  inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
131 
135  inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
136 
140  inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
141 
145  inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
146 
150  inline ListIAMPolicyAssignmentsRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
151 
155  inline ListIAMPolicyAssignmentsRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
156 
160  inline ListIAMPolicyAssignmentsRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
161 
162 
167  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
168 
173  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
174 
179  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
180 
185  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
186 
191  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
192 
197  inline ListIAMPolicyAssignmentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
198 
203  inline ListIAMPolicyAssignmentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
204 
209  inline ListIAMPolicyAssignmentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
210 
211 
215  inline int GetMaxResults() const{ return m_maxResults; }
216 
220  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
221 
225  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
226 
230  inline ListIAMPolicyAssignmentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
231 
232  private:
233 
234  Aws::String m_awsAccountId;
235  bool m_awsAccountIdHasBeenSet;
236 
237  AssignmentStatus m_assignmentStatus;
238  bool m_assignmentStatusHasBeenSet;
239 
240  Aws::String m_namespace;
241  bool m_namespaceHasBeenSet;
242 
243  Aws::String m_nextToken;
244  bool m_nextTokenHasBeenSet;
245 
246  int m_maxResults;
247  bool m_maxResultsHasBeenSet;
248  };
249 
250 } // namespace Model
251 } // namespace QuickSight
252 } // namespace Aws
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::WithNextToken
ListIAMPolicyAssignmentsRequest & WithNextToken(const char *value)
Definition: ListIAMPolicyAssignmentsRequest.h:209
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListIAMPolicyAssignmentsRequest.h:167
Aws::Http::URI
Definition: URI.h:32
QuickSight_EXPORTS.h
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListIAMPolicyAssignmentsRequest.h:225
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::NamespaceHasBeenSet
bool NamespaceHasBeenSet() const
Definition: ListIAMPolicyAssignmentsRequest.h:130
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListIAMPolicyAssignmentsRequest.h:179
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: ListIAMPolicyAssignmentsRequest.h:70
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::SetNamespace
void SetNamespace(Aws::String &&value)
Definition: ListIAMPolicyAssignmentsRequest.h:140
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListIAMPolicyAssignmentsRequest.h:215
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::AssignmentStatusHasBeenSet
bool AssignmentStatusHasBeenSet() const
Definition: ListIAMPolicyAssignmentsRequest.h:99
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::WithMaxResults
ListIAMPolicyAssignmentsRequest & WithMaxResults(int value)
Definition: ListIAMPolicyAssignmentsRequest.h:230
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::WithAwsAccountId
ListIAMPolicyAssignmentsRequest & WithAwsAccountId(const char *value)
Definition: ListIAMPolicyAssignmentsRequest.h:88
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::WithNamespace
ListIAMPolicyAssignmentsRequest & WithNamespace(Aws::String &&value)
Definition: ListIAMPolicyAssignmentsRequest.h:155
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListIAMPolicyAssignmentsRequest.h:173
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListIAMPolicyAssignmentsRequest.h:35
QuickSightRequest.h
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::WithNamespace
ListIAMPolicyAssignmentsRequest & WithNamespace(const Aws::String &value)
Definition: ListIAMPolicyAssignmentsRequest.h:150
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::GetNamespace
const Aws::String & GetNamespace() const
Definition: ListIAMPolicyAssignmentsRequest.h:125
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::ListIAMPolicyAssignmentsRequest
ListIAMPolicyAssignmentsRequest()
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::WithNextToken
ListIAMPolicyAssignmentsRequest & WithNextToken(const Aws::String &value)
Definition: ListIAMPolicyAssignmentsRequest.h:197
AWSString.h
AssignmentStatus.h
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListIAMPolicyAssignmentsRequest.h:185
Aws::QuickSight::Model::AssignmentStatus
AssignmentStatus
Definition: AssignmentStatus.h:17
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest
Definition: ListIAMPolicyAssignmentsRequest.h:27
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::WithAssignmentStatus
ListIAMPolicyAssignmentsRequest & WithAssignmentStatus(const AssignmentStatus &value)
Definition: ListIAMPolicyAssignmentsRequest.h:114
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::WithNamespace
ListIAMPolicyAssignmentsRequest & WithNamespace(const char *value)
Definition: ListIAMPolicyAssignmentsRequest.h:160
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::GetAssignmentStatus
const AssignmentStatus & GetAssignmentStatus() const
Definition: ListIAMPolicyAssignmentsRequest.h:94
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: ListIAMPolicyAssignmentsRequest.h:64
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::SetNamespace
void SetNamespace(const char *value)
Definition: ListIAMPolicyAssignmentsRequest.h:145
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::SetNamespace
void SetNamespace(const Aws::String &value)
Definition: ListIAMPolicyAssignmentsRequest.h:135
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: ListIAMPolicyAssignmentsRequest.h:46
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListIAMPolicyAssignmentsRequest.h:191
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::SetAssignmentStatus
void SetAssignmentStatus(AssignmentStatus &&value)
Definition: ListIAMPolicyAssignmentsRequest.h:109
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: ListIAMPolicyAssignmentsRequest.h:58
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::SetAssignmentStatus
void SetAssignmentStatus(const AssignmentStatus &value)
Definition: ListIAMPolicyAssignmentsRequest.h:104
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::WithAwsAccountId
ListIAMPolicyAssignmentsRequest & WithAwsAccountId(const Aws::String &value)
Definition: ListIAMPolicyAssignmentsRequest.h:76
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::WithAssignmentStatus
ListIAMPolicyAssignmentsRequest & WithAssignmentStatus(AssignmentStatus &&value)
Definition: ListIAMPolicyAssignmentsRequest.h:119
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::WithAwsAccountId
ListIAMPolicyAssignmentsRequest & WithAwsAccountId(Aws::String &&value)
Definition: ListIAMPolicyAssignmentsRequest.h:82
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: ListIAMPolicyAssignmentsRequest.h:52
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListIAMPolicyAssignmentsRequest.h:220
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::WithNextToken
ListIAMPolicyAssignmentsRequest & WithNextToken(Aws::String &&value)
Definition: ListIAMPolicyAssignmentsRequest.h:203