AWS SDK for C++  1.9.104
AWS SDK for C++
ListPermissionSetsProvisionedToAccountRequest.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 "ListPermissionSetsProvisionedToAccount"; }
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 ListPermissionSetsProvisionedToAccountRequest& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
91 
99  inline ListPermissionSetsProvisionedToAccountRequest& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
100 
108  inline ListPermissionSetsProvisionedToAccountRequest& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
109 
110 
115  inline const Aws::String& GetAccountId() const{ return m_accountId; }
116 
121  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
122 
127  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
128 
133  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
134 
139  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
140 
145  inline ListPermissionSetsProvisionedToAccountRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
146 
151  inline ListPermissionSetsProvisionedToAccountRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
152 
157  inline ListPermissionSetsProvisionedToAccountRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
158 
159 
163  inline const ProvisioningStatus& GetProvisioningStatus() const{ return m_provisioningStatus; }
164 
168  inline bool ProvisioningStatusHasBeenSet() const { return m_provisioningStatusHasBeenSet; }
169 
173  inline void SetProvisioningStatus(const ProvisioningStatus& value) { m_provisioningStatusHasBeenSet = true; m_provisioningStatus = value; }
174 
178  inline void SetProvisioningStatus(ProvisioningStatus&& value) { m_provisioningStatusHasBeenSet = true; m_provisioningStatus = std::move(value); }
179 
183  inline ListPermissionSetsProvisionedToAccountRequest& WithProvisioningStatus(const ProvisioningStatus& value) { SetProvisioningStatus(value); return *this;}
184 
188  inline ListPermissionSetsProvisionedToAccountRequest& WithProvisioningStatus(ProvisioningStatus&& value) { SetProvisioningStatus(std::move(value)); return *this;}
189 
190 
194  inline int GetMaxResults() const{ return m_maxResults; }
195 
199  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
200 
204  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
205 
209  inline ListPermissionSetsProvisionedToAccountRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
210 
211 
216  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
217 
222  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
223 
228  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
229 
234  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
235 
240  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
241 
246  inline ListPermissionSetsProvisionedToAccountRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
247 
252  inline ListPermissionSetsProvisionedToAccountRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
253 
258  inline ListPermissionSetsProvisionedToAccountRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
259 
260  private:
261 
262  Aws::String m_instanceArn;
263  bool m_instanceArnHasBeenSet;
264 
265  Aws::String m_accountId;
266  bool m_accountIdHasBeenSet;
267 
268  ProvisioningStatus m_provisioningStatus;
269  bool m_provisioningStatusHasBeenSet;
270 
271  int m_maxResults;
272  bool m_maxResultsHasBeenSet;
273 
274  Aws::String m_nextToken;
275  bool m_nextTokenHasBeenSet;
276  };
277 
278 } // namespace Model
279 } // namespace SSOAdmin
280 } // namespace Aws
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::GetProvisioningStatus
const ProvisioningStatus & GetProvisioningStatus() const
Definition: ListPermissionSetsProvisionedToAccountRequest.h:163
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListPermissionSetsProvisionedToAccountRequest.h:204
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::WithAccountId
ListPermissionSetsProvisionedToAccountRequest & WithAccountId(const Aws::String &value)
Definition: ListPermissionSetsProvisionedToAccountRequest.h:145
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
ProvisioningStatus.h
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::WithInstanceArn
ListPermissionSetsProvisionedToAccountRequest & WithInstanceArn(const Aws::String &value)
Definition: ListPermissionSetsProvisionedToAccountRequest.h:90
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::SetInstanceArn
void SetInstanceArn(const char *value)
Definition: ListPermissionSetsProvisionedToAccountRequest.h:81
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::InstanceArnHasBeenSet
bool InstanceArnHasBeenSet() const
Definition: ListPermissionSetsProvisionedToAccountRequest.h:54
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::WithInstanceArn
ListPermissionSetsProvisionedToAccountRequest & WithInstanceArn(const char *value)
Definition: ListPermissionSetsProvisionedToAccountRequest.h:108
Aws::SSOAdmin::Model::ProvisioningStatus
ProvisioningStatus
Definition: ProvisioningStatus.h:17
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListPermissionSetsProvisionedToAccountRequest.h:228
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::ListPermissionSetsProvisionedToAccountRequest
ListPermissionSetsProvisionedToAccountRequest()
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: ListPermissionSetsProvisionedToAccountRequest.h:115
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListPermissionSetsProvisionedToAccountRequest.h:199
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: ListPermissionSetsProvisionedToAccountRequest.h:127
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::ProvisioningStatusHasBeenSet
bool ProvisioningStatusHasBeenSet() const
Definition: ListPermissionSetsProvisionedToAccountRequest.h:168
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::GetMaxResults
int GetMaxResults() const
Definition: ListPermissionSetsProvisionedToAccountRequest.h:194
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListPermissionSetsProvisionedToAccountRequest.h:216
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest
Definition: ListPermissionSetsProvisionedToAccountRequest.h:23
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListPermissionSetsProvisionedToAccountRequest.h:31
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::SetInstanceArn
void SetInstanceArn(Aws::String &&value)
Definition: ListPermissionSetsProvisionedToAccountRequest.h:72
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::SetProvisioningStatus
void SetProvisioningStatus(const ProvisioningStatus &value)
Definition: ListPermissionSetsProvisionedToAccountRequest.h:173
Aws::SSOAdmin::SSOAdminRequest
Definition: SSOAdminRequest.h:17
AWSString.h
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListPermissionSetsProvisionedToAccountRequest.h:222
SSOAdminRequest.h
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::SetProvisioningStatus
void SetProvisioningStatus(ProvisioningStatus &&value)
Definition: ListPermissionSetsProvisionedToAccountRequest.h:178
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::SetInstanceArn
void SetInstanceArn(const Aws::String &value)
Definition: ListPermissionSetsProvisionedToAccountRequest.h:63
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::SetAccountId
void SetAccountId(const char *value)
Definition: ListPermissionSetsProvisionedToAccountRequest.h:139
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: ListPermissionSetsProvisionedToAccountRequest.h:121
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::GetInstanceArn
const Aws::String & GetInstanceArn() const
Definition: ListPermissionSetsProvisionedToAccountRequest.h:45
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListPermissionSetsProvisionedToAccountRequest.h:234
Aws
Definition: AccessManagementClient.h:15
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::WithAccountId
ListPermissionSetsProvisionedToAccountRequest & WithAccountId(const char *value)
Definition: ListPermissionSetsProvisionedToAccountRequest.h:157
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: ListPermissionSetsProvisionedToAccountRequest.h:133
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::WithInstanceArn
ListPermissionSetsProvisionedToAccountRequest & WithInstanceArn(Aws::String &&value)
Definition: ListPermissionSetsProvisionedToAccountRequest.h:99
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::WithNextToken
ListPermissionSetsProvisionedToAccountRequest & WithNextToken(const char *value)
Definition: ListPermissionSetsProvisionedToAccountRequest.h:258
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::WithNextToken
ListPermissionSetsProvisionedToAccountRequest & WithNextToken(Aws::String &&value)
Definition: ListPermissionSetsProvisionedToAccountRequest.h:252
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::WithAccountId
ListPermissionSetsProvisionedToAccountRequest & WithAccountId(Aws::String &&value)
Definition: ListPermissionSetsProvisionedToAccountRequest.h:151
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListPermissionSetsProvisionedToAccountRequest.h:240
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::WithNextToken
ListPermissionSetsProvisionedToAccountRequest & WithNextToken(const Aws::String &value)
Definition: ListPermissionSetsProvisionedToAccountRequest.h:246
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::WithProvisioningStatus
ListPermissionSetsProvisionedToAccountRequest & WithProvisioningStatus(const ProvisioningStatus &value)
Definition: ListPermissionSetsProvisionedToAccountRequest.h:183
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::WithProvisioningStatus
ListPermissionSetsProvisionedToAccountRequest & WithProvisioningStatus(ProvisioningStatus &&value)
Definition: ListPermissionSetsProvisionedToAccountRequest.h:188
Aws::SSOAdmin::Model::ListPermissionSetsProvisionedToAccountRequest::WithMaxResults
ListPermissionSetsProvisionedToAccountRequest & WithMaxResults(int value)
Definition: ListPermissionSetsProvisionedToAccountRequest.h:209