AWS SDK for C++  1.9.104
AWS SDK for C++
ListManagedPoliciesInPermissionSetRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SSOAdmin
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListManagedPoliciesInPermissionSet"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
44  inline const Aws::String& GetInstanceArn() const{ return m_instanceArn; }
45 
53  inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
54 
62  inline void SetInstanceArn(const Aws::String& value) { m_instanceArnHasBeenSet = true; m_instanceArn = value; }
63 
71  inline void SetInstanceArn(Aws::String&& value) { m_instanceArnHasBeenSet = true; m_instanceArn = std::move(value); }
72 
80  inline void SetInstanceArn(const char* value) { m_instanceArnHasBeenSet = true; m_instanceArn.assign(value); }
81 
89  inline ListManagedPoliciesInPermissionSetRequest& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
90 
98  inline ListManagedPoliciesInPermissionSetRequest& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
99 
107  inline ListManagedPoliciesInPermissionSetRequest& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
108 
109 
114  inline const Aws::String& GetPermissionSetArn() const{ return m_permissionSetArn; }
115 
120  inline bool PermissionSetArnHasBeenSet() const { return m_permissionSetArnHasBeenSet; }
121 
126  inline void SetPermissionSetArn(const Aws::String& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = value; }
127 
132  inline void SetPermissionSetArn(Aws::String&& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = std::move(value); }
133 
138  inline void SetPermissionSetArn(const char* value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn.assign(value); }
139 
144  inline ListManagedPoliciesInPermissionSetRequest& WithPermissionSetArn(const Aws::String& value) { SetPermissionSetArn(value); return *this;}
145 
150  inline ListManagedPoliciesInPermissionSetRequest& WithPermissionSetArn(Aws::String&& value) { SetPermissionSetArn(std::move(value)); return *this;}
151 
156  inline ListManagedPoliciesInPermissionSetRequest& WithPermissionSetArn(const char* value) { SetPermissionSetArn(value); return *this;}
157 
158 
162  inline int GetMaxResults() const{ return m_maxResults; }
163 
167  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
168 
172  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
173 
177  inline ListManagedPoliciesInPermissionSetRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
178 
179 
184  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
185 
190  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
191 
196  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
197 
202  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
203 
208  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
209 
214  inline ListManagedPoliciesInPermissionSetRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
215 
220  inline ListManagedPoliciesInPermissionSetRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
221 
226  inline ListManagedPoliciesInPermissionSetRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
227 
228  private:
229 
230  Aws::String m_instanceArn;
231  bool m_instanceArnHasBeenSet;
232 
233  Aws::String m_permissionSetArn;
234  bool m_permissionSetArnHasBeenSet;
235 
236  int m_maxResults;
237  bool m_maxResultsHasBeenSet;
238 
239  Aws::String m_nextToken;
240  bool m_nextTokenHasBeenSet;
241  };
242 
243 } // namespace Model
244 } // namespace SSOAdmin
245 } // namespace Aws
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::WithMaxResults
ListManagedPoliciesInPermissionSetRequest & WithMaxResults(int value)
Definition: ListManagedPoliciesInPermissionSetRequest.h:177
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest
Definition: ListManagedPoliciesInPermissionSetRequest.h:22
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(const char *value)
Definition: ListManagedPoliciesInPermissionSetRequest.h:138
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::GetInstanceArn
const Aws::String & GetInstanceArn() const
Definition: ListManagedPoliciesInPermissionSetRequest.h:44
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListManagedPoliciesInPermissionSetRequest.h:190
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(Aws::String &&value)
Definition: ListManagedPoliciesInPermissionSetRequest.h:132
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListManagedPoliciesInPermissionSetRequest.h:196
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListManagedPoliciesInPermissionSetRequest.h:167
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListManagedPoliciesInPermissionSetRequest.h:184
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::WithInstanceArn
ListManagedPoliciesInPermissionSetRequest & WithInstanceArn(const char *value)
Definition: ListManagedPoliciesInPermissionSetRequest.h:107
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::SetInstanceArn
void SetInstanceArn(Aws::String &&value)
Definition: ListManagedPoliciesInPermissionSetRequest.h:71
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::WithInstanceArn
ListManagedPoliciesInPermissionSetRequest & WithInstanceArn(Aws::String &&value)
Definition: ListManagedPoliciesInPermissionSetRequest.h:98
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::WithNextToken
ListManagedPoliciesInPermissionSetRequest & WithNextToken(Aws::String &&value)
Definition: ListManagedPoliciesInPermissionSetRequest.h:220
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::WithPermissionSetArn
ListManagedPoliciesInPermissionSetRequest & WithPermissionSetArn(const char *value)
Definition: ListManagedPoliciesInPermissionSetRequest.h:156
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::PermissionSetArnHasBeenSet
bool PermissionSetArnHasBeenSet() const
Definition: ListManagedPoliciesInPermissionSetRequest.h:120
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListManagedPoliciesInPermissionSetRequest.h:208
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::WithPermissionSetArn
ListManagedPoliciesInPermissionSetRequest & WithPermissionSetArn(const Aws::String &value)
Definition: ListManagedPoliciesInPermissionSetRequest.h:144
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListManagedPoliciesInPermissionSetRequest.h:172
Aws::SSOAdmin::SSOAdminRequest
Definition: SSOAdminRequest.h:17
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::WithNextToken
ListManagedPoliciesInPermissionSetRequest & WithNextToken(const char *value)
Definition: ListManagedPoliciesInPermissionSetRequest.h:226
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::InstanceArnHasBeenSet
bool InstanceArnHasBeenSet() const
Definition: ListManagedPoliciesInPermissionSetRequest.h:53
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::WithInstanceArn
ListManagedPoliciesInPermissionSetRequest & WithInstanceArn(const Aws::String &value)
Definition: ListManagedPoliciesInPermissionSetRequest.h:89
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::SetInstanceArn
void SetInstanceArn(const char *value)
Definition: ListManagedPoliciesInPermissionSetRequest.h:80
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::ListManagedPoliciesInPermissionSetRequest
ListManagedPoliciesInPermissionSetRequest()
AWSString.h
SSOAdminRequest.h
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::WithPermissionSetArn
ListManagedPoliciesInPermissionSetRequest & WithPermissionSetArn(Aws::String &&value)
Definition: ListManagedPoliciesInPermissionSetRequest.h:150
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListManagedPoliciesInPermissionSetRequest.h:30
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListManagedPoliciesInPermissionSetRequest.h:202
Aws
Definition: AccessManagementClient.h:15
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::GetPermissionSetArn
const Aws::String & GetPermissionSetArn() const
Definition: ListManagedPoliciesInPermissionSetRequest.h:114
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(const Aws::String &value)
Definition: ListManagedPoliciesInPermissionSetRequest.h:126
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::SetInstanceArn
void SetInstanceArn(const Aws::String &value)
Definition: ListManagedPoliciesInPermissionSetRequest.h:62
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::GetMaxResults
int GetMaxResults() const
Definition: ListManagedPoliciesInPermissionSetRequest.h:162
Aws::SSOAdmin::Model::ListManagedPoliciesInPermissionSetRequest::WithNextToken
ListManagedPoliciesInPermissionSetRequest & WithNextToken(const Aws::String &value)
Definition: ListManagedPoliciesInPermissionSetRequest.h:214