AWS SDK for C++  1.9.104
AWS SDK for C++
ListAccountsForProvisionedPermissionSetRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SSOAdmin
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "ListAccountsForProvisionedPermissionSet"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
45  inline const Aws::String& GetInstanceArn() const{ return m_instanceArn; }
46 
54  inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
55 
63  inline void SetInstanceArn(const Aws::String& value) { m_instanceArnHasBeenSet = true; m_instanceArn = value; }
64 
72  inline void SetInstanceArn(Aws::String&& value) { m_instanceArnHasBeenSet = true; m_instanceArn = std::move(value); }
73 
81  inline void SetInstanceArn(const char* value) { m_instanceArnHasBeenSet = true; m_instanceArn.assign(value); }
82 
90  inline ListAccountsForProvisionedPermissionSetRequest& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
91 
99  inline ListAccountsForProvisionedPermissionSetRequest& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
100 
108  inline ListAccountsForProvisionedPermissionSetRequest& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
109 
110 
115  inline const Aws::String& GetPermissionSetArn() const{ return m_permissionSetArn; }
116 
121  inline bool PermissionSetArnHasBeenSet() const { return m_permissionSetArnHasBeenSet; }
122 
127  inline void SetPermissionSetArn(const Aws::String& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = value; }
128 
133  inline void SetPermissionSetArn(Aws::String&& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = std::move(value); }
134 
139  inline void SetPermissionSetArn(const char* value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn.assign(value); }
140 
145  inline ListAccountsForProvisionedPermissionSetRequest& WithPermissionSetArn(const Aws::String& value) { SetPermissionSetArn(value); return *this;}
146 
151  inline ListAccountsForProvisionedPermissionSetRequest& WithPermissionSetArn(Aws::String&& value) { SetPermissionSetArn(std::move(value)); return *this;}
152 
157  inline ListAccountsForProvisionedPermissionSetRequest& WithPermissionSetArn(const char* value) { SetPermissionSetArn(value); return *this;}
158 
159 
164  inline const ProvisioningStatus& GetProvisioningStatus() const{ return m_provisioningStatus; }
165 
170  inline bool ProvisioningStatusHasBeenSet() const { return m_provisioningStatusHasBeenSet; }
171 
176  inline void SetProvisioningStatus(const ProvisioningStatus& value) { m_provisioningStatusHasBeenSet = true; m_provisioningStatus = value; }
177 
182  inline void SetProvisioningStatus(ProvisioningStatus&& value) { m_provisioningStatusHasBeenSet = true; m_provisioningStatus = std::move(value); }
183 
188  inline ListAccountsForProvisionedPermissionSetRequest& WithProvisioningStatus(const ProvisioningStatus& value) { SetProvisioningStatus(value); return *this;}
189 
194  inline ListAccountsForProvisionedPermissionSetRequest& WithProvisioningStatus(ProvisioningStatus&& value) { SetProvisioningStatus(std::move(value)); return *this;}
195 
196 
200  inline int GetMaxResults() const{ return m_maxResults; }
201 
205  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
206 
210  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
211 
215  inline ListAccountsForProvisionedPermissionSetRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
216 
217 
222  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
223 
228  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
229 
234  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
235 
240  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
241 
246  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
247 
252  inline ListAccountsForProvisionedPermissionSetRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
253 
258  inline ListAccountsForProvisionedPermissionSetRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
259 
264  inline ListAccountsForProvisionedPermissionSetRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
265 
266  private:
267 
268  Aws::String m_instanceArn;
269  bool m_instanceArnHasBeenSet;
270 
271  Aws::String m_permissionSetArn;
272  bool m_permissionSetArnHasBeenSet;
273 
274  ProvisioningStatus m_provisioningStatus;
275  bool m_provisioningStatusHasBeenSet;
276 
277  int m_maxResults;
278  bool m_maxResultsHasBeenSet;
279 
280  Aws::String m_nextToken;
281  bool m_nextTokenHasBeenSet;
282  };
283 
284 } // namespace Model
285 } // namespace SSOAdmin
286 } // namespace Aws
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::WithPermissionSetArn
ListAccountsForProvisionedPermissionSetRequest & WithPermissionSetArn(Aws::String &&value)
Definition: ListAccountsForProvisionedPermissionSetRequest.h:151
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAccountsForProvisionedPermissionSetRequest.h:222
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::WithPermissionSetArn
ListAccountsForProvisionedPermissionSetRequest & WithPermissionSetArn(const Aws::String &value)
Definition: ListAccountsForProvisionedPermissionSetRequest.h:145
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::GetProvisioningStatus
const ProvisioningStatus & GetProvisioningStatus() const
Definition: ListAccountsForProvisionedPermissionSetRequest.h:164
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::WithMaxResults
ListAccountsForProvisionedPermissionSetRequest & WithMaxResults(int value)
Definition: ListAccountsForProvisionedPermissionSetRequest.h:215
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest
Definition: ListAccountsForProvisionedPermissionSetRequest.h:23
ProvisioningStatus.h
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::WithInstanceArn
ListAccountsForProvisionedPermissionSetRequest & WithInstanceArn(const char *value)
Definition: ListAccountsForProvisionedPermissionSetRequest.h:108
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::InstanceArnHasBeenSet
bool InstanceArnHasBeenSet() const
Definition: ListAccountsForProvisionedPermissionSetRequest.h:54
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::WithPermissionSetArn
ListAccountsForProvisionedPermissionSetRequest & WithPermissionSetArn(const char *value)
Definition: ListAccountsForProvisionedPermissionSetRequest.h:157
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::WithNextToken
ListAccountsForProvisionedPermissionSetRequest & WithNextToken(const char *value)
Definition: ListAccountsForProvisionedPermissionSetRequest.h:264
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::SetProvisioningStatus
void SetProvisioningStatus(ProvisioningStatus &&value)
Definition: ListAccountsForProvisionedPermissionSetRequest.h:182
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::WithNextToken
ListAccountsForProvisionedPermissionSetRequest & WithNextToken(const Aws::String &value)
Definition: ListAccountsForProvisionedPermissionSetRequest.h:252
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::SetProvisioningStatus
void SetProvisioningStatus(const ProvisioningStatus &value)
Definition: ListAccountsForProvisionedPermissionSetRequest.h:176
Aws::SSOAdmin::Model::ProvisioningStatus
ProvisioningStatus
Definition: ProvisioningStatus.h:17
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAccountsForProvisionedPermissionSetRequest.h:240
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::WithInstanceArn
ListAccountsForProvisionedPermissionSetRequest & WithInstanceArn(const Aws::String &value)
Definition: ListAccountsForProvisionedPermissionSetRequest.h:90
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::WithProvisioningStatus
ListAccountsForProvisionedPermissionSetRequest & WithProvisioningStatus(const ProvisioningStatus &value)
Definition: ListAccountsForProvisionedPermissionSetRequest.h:188
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListAccountsForProvisionedPermissionSetRequest.h:246
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::GetMaxResults
int GetMaxResults() const
Definition: ListAccountsForProvisionedPermissionSetRequest.h:200
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::ProvisioningStatusHasBeenSet
bool ProvisioningStatusHasBeenSet() const
Definition: ListAccountsForProvisionedPermissionSetRequest.h:170
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::SetInstanceArn
void SetInstanceArn(const char *value)
Definition: ListAccountsForProvisionedPermissionSetRequest.h:81
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::WithNextToken
ListAccountsForProvisionedPermissionSetRequest & WithNextToken(Aws::String &&value)
Definition: ListAccountsForProvisionedPermissionSetRequest.h:258
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListAccountsForProvisionedPermissionSetRequest.h:31
Aws::SSOAdmin::SSOAdminRequest
Definition: SSOAdminRequest.h:17
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::GetPermissionSetArn
const Aws::String & GetPermissionSetArn() const
Definition: ListAccountsForProvisionedPermissionSetRequest.h:115
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAccountsForProvisionedPermissionSetRequest.h:234
AWSString.h
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::SetInstanceArn
void SetInstanceArn(const Aws::String &value)
Definition: ListAccountsForProvisionedPermissionSetRequest.h:63
SSOAdminRequest.h
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::ListAccountsForProvisionedPermissionSetRequest
ListAccountsForProvisionedPermissionSetRequest()
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::WithProvisioningStatus
ListAccountsForProvisionedPermissionSetRequest & WithProvisioningStatus(ProvisioningStatus &&value)
Definition: ListAccountsForProvisionedPermissionSetRequest.h:194
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(const Aws::String &value)
Definition: ListAccountsForProvisionedPermissionSetRequest.h:127
Aws
Definition: AccessManagementClient.h:15
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(const char *value)
Definition: ListAccountsForProvisionedPermissionSetRequest.h:139
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::PermissionSetArnHasBeenSet
bool PermissionSetArnHasBeenSet() const
Definition: ListAccountsForProvisionedPermissionSetRequest.h:121
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(Aws::String &&value)
Definition: ListAccountsForProvisionedPermissionSetRequest.h:133
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListAccountsForProvisionedPermissionSetRequest.h:205
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::GetInstanceArn
const Aws::String & GetInstanceArn() const
Definition: ListAccountsForProvisionedPermissionSetRequest.h:45
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::SetInstanceArn
void SetInstanceArn(Aws::String &&value)
Definition: ListAccountsForProvisionedPermissionSetRequest.h:72
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::WithInstanceArn
ListAccountsForProvisionedPermissionSetRequest & WithInstanceArn(Aws::String &&value)
Definition: ListAccountsForProvisionedPermissionSetRequest.h:99
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListAccountsForProvisionedPermissionSetRequest.h:228
Aws::SSOAdmin::Model::ListAccountsForProvisionedPermissionSetRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListAccountsForProvisionedPermissionSetRequest.h:210