AWS SDK for C++  1.9.46
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 
45  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
46 
50  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
51 
55  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
56 
60  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
61 
65  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
66 
70  inline ListIAMPolicyAssignmentsRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
71 
75  inline ListIAMPolicyAssignmentsRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
76 
80  inline ListIAMPolicyAssignmentsRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
81 
82 
86  inline const AssignmentStatus& GetAssignmentStatus() const{ return m_assignmentStatus; }
87 
91  inline bool AssignmentStatusHasBeenSet() const { return m_assignmentStatusHasBeenSet; }
92 
96  inline void SetAssignmentStatus(const AssignmentStatus& value) { m_assignmentStatusHasBeenSet = true; m_assignmentStatus = value; }
97 
101  inline void SetAssignmentStatus(AssignmentStatus&& value) { m_assignmentStatusHasBeenSet = true; m_assignmentStatus = std::move(value); }
102 
106  inline ListIAMPolicyAssignmentsRequest& WithAssignmentStatus(const AssignmentStatus& value) { SetAssignmentStatus(value); return *this;}
107 
111  inline ListIAMPolicyAssignmentsRequest& WithAssignmentStatus(AssignmentStatus&& value) { SetAssignmentStatus(std::move(value)); return *this;}
112 
113 
117  inline const Aws::String& GetNamespace() const{ return m_namespace; }
118 
122  inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
123 
127  inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
128 
132  inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
133 
137  inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
138 
142  inline ListIAMPolicyAssignmentsRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
143 
147  inline ListIAMPolicyAssignmentsRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
148 
152  inline ListIAMPolicyAssignmentsRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
153 
154 
159  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
160 
165  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
166 
171  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
172 
177  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
178 
183  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
184 
189  inline ListIAMPolicyAssignmentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
190 
195  inline ListIAMPolicyAssignmentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
196 
201  inline ListIAMPolicyAssignmentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
202 
203 
207  inline int GetMaxResults() const{ return m_maxResults; }
208 
212  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
213 
217  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
218 
222  inline ListIAMPolicyAssignmentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
223 
224  private:
225 
226  Aws::String m_awsAccountId;
227  bool m_awsAccountIdHasBeenSet;
228 
229  AssignmentStatus m_assignmentStatus;
230  bool m_assignmentStatusHasBeenSet;
231 
232  Aws::String m_namespace;
233  bool m_namespaceHasBeenSet;
234 
235  Aws::String m_nextToken;
236  bool m_nextTokenHasBeenSet;
237 
238  int m_maxResults;
239  bool m_maxResultsHasBeenSet;
240  };
241 
242 } // namespace Model
243 } // namespace QuickSight
244 } // namespace Aws
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::WithNextToken
ListIAMPolicyAssignmentsRequest & WithNextToken(const char *value)
Definition: ListIAMPolicyAssignmentsRequest.h:201
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListIAMPolicyAssignmentsRequest.h:159
Aws::Http::URI
Definition: URI.h:32
QuickSight_EXPORTS.h
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListIAMPolicyAssignmentsRequest.h:217
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::NamespaceHasBeenSet
bool NamespaceHasBeenSet() const
Definition: ListIAMPolicyAssignmentsRequest.h:122
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListIAMPolicyAssignmentsRequest.h:171
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: ListIAMPolicyAssignmentsRequest.h:65
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::SetNamespace
void SetNamespace(Aws::String &&value)
Definition: ListIAMPolicyAssignmentsRequest.h:132
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListIAMPolicyAssignmentsRequest.h:207
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::AssignmentStatusHasBeenSet
bool AssignmentStatusHasBeenSet() const
Definition: ListIAMPolicyAssignmentsRequest.h:91
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:222
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::WithAwsAccountId
ListIAMPolicyAssignmentsRequest & WithAwsAccountId(const char *value)
Definition: ListIAMPolicyAssignmentsRequest.h:80
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::WithNamespace
ListIAMPolicyAssignmentsRequest & WithNamespace(Aws::String &&value)
Definition: ListIAMPolicyAssignmentsRequest.h:147
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListIAMPolicyAssignmentsRequest.h:165
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:142
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::GetNamespace
const Aws::String & GetNamespace() const
Definition: ListIAMPolicyAssignmentsRequest.h:117
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::ListIAMPolicyAssignmentsRequest
ListIAMPolicyAssignmentsRequest()
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::WithNextToken
ListIAMPolicyAssignmentsRequest & WithNextToken(const Aws::String &value)
Definition: ListIAMPolicyAssignmentsRequest.h:189
AWSString.h
AssignmentStatus.h
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListIAMPolicyAssignmentsRequest.h:177
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:106
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::WithNamespace
ListIAMPolicyAssignmentsRequest & WithNamespace(const char *value)
Definition: ListIAMPolicyAssignmentsRequest.h:152
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:86
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: ListIAMPolicyAssignmentsRequest.h:60
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::SetNamespace
void SetNamespace(const char *value)
Definition: ListIAMPolicyAssignmentsRequest.h:137
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::SetNamespace
void SetNamespace(const Aws::String &value)
Definition: ListIAMPolicyAssignmentsRequest.h:127
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: ListIAMPolicyAssignmentsRequest.h:45
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:183
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::SetAssignmentStatus
void SetAssignmentStatus(AssignmentStatus &&value)
Definition: ListIAMPolicyAssignmentsRequest.h:101
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: ListIAMPolicyAssignmentsRequest.h:55
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::SetAssignmentStatus
void SetAssignmentStatus(const AssignmentStatus &value)
Definition: ListIAMPolicyAssignmentsRequest.h:96
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::WithAwsAccountId
ListIAMPolicyAssignmentsRequest & WithAwsAccountId(const Aws::String &value)
Definition: ListIAMPolicyAssignmentsRequest.h:70
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::WithAssignmentStatus
ListIAMPolicyAssignmentsRequest & WithAssignmentStatus(AssignmentStatus &&value)
Definition: ListIAMPolicyAssignmentsRequest.h:111
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::WithAwsAccountId
ListIAMPolicyAssignmentsRequest & WithAwsAccountId(Aws::String &&value)
Definition: ListIAMPolicyAssignmentsRequest.h:75
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: ListIAMPolicyAssignmentsRequest.h:50
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListIAMPolicyAssignmentsRequest.h:212
Aws::QuickSight::Model::ListIAMPolicyAssignmentsRequest::WithNextToken
ListIAMPolicyAssignmentsRequest & WithNextToken(Aws::String &&value)
Definition: ListIAMPolicyAssignmentsRequest.h:195