AWS SDK for C++  1.9.104
AWS SDK for C++
ListPermissionSetsRequest.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 "ListPermissionSets"; }
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 ListPermissionSetsRequest& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
90 
98  inline ListPermissionSetsRequest& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
99 
107  inline ListPermissionSetsRequest& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
108 
109 
114  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
115 
120  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
121 
126  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
127 
132  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
133 
138  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
139 
144  inline ListPermissionSetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
145 
150  inline ListPermissionSetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
151 
156  inline ListPermissionSetsRequest& WithNextToken(const char* value) { SetNextToken(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 ListPermissionSetsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
178 
179  private:
180 
181  Aws::String m_instanceArn;
182  bool m_instanceArnHasBeenSet;
183 
184  Aws::String m_nextToken;
185  bool m_nextTokenHasBeenSet;
186 
187  int m_maxResults;
188  bool m_maxResultsHasBeenSet;
189  };
190 
191 } // namespace Model
192 } // namespace SSOAdmin
193 } // namespace Aws
Aws::SSOAdmin::Model::ListPermissionSetsRequest::WithNextToken
ListPermissionSetsRequest & WithNextToken(Aws::String &&value)
Definition: ListPermissionSetsRequest.h:150
Aws::SSOAdmin::Model::ListPermissionSetsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSOAdmin::Model::ListPermissionSetsRequest::WithInstanceArn
ListPermissionSetsRequest & WithInstanceArn(const Aws::String &value)
Definition: ListPermissionSetsRequest.h:89
Aws::SSOAdmin::Model::ListPermissionSetsRequest::ListPermissionSetsRequest
ListPermissionSetsRequest()
Aws::SSOAdmin::Model::ListPermissionSetsRequest::WithInstanceArn
ListPermissionSetsRequest & WithInstanceArn(const char *value)
Definition: ListPermissionSetsRequest.h:107
Aws::SSOAdmin::Model::ListPermissionSetsRequest::WithInstanceArn
ListPermissionSetsRequest & WithInstanceArn(Aws::String &&value)
Definition: ListPermissionSetsRequest.h:98
Aws::SSOAdmin::Model::ListPermissionSetsRequest::WithNextToken
ListPermissionSetsRequest & WithNextToken(const char *value)
Definition: ListPermissionSetsRequest.h:156
Aws::SSOAdmin::Model::ListPermissionSetsRequest::WithNextToken
ListPermissionSetsRequest & WithNextToken(const Aws::String &value)
Definition: ListPermissionSetsRequest.h:144
Aws::SSOAdmin::Model::ListPermissionSetsRequest
Definition: ListPermissionSetsRequest.h:22
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
Aws::SSOAdmin::Model::ListPermissionSetsRequest::SetInstanceArn
void SetInstanceArn(Aws::String &&value)
Definition: ListPermissionSetsRequest.h:71
Aws::SSOAdmin::Model::ListPermissionSetsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListPermissionSetsRequest.h:162
Aws::SSOAdmin::Model::ListPermissionSetsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListPermissionSetsRequest.h:172
Aws::SSOAdmin::Model::ListPermissionSetsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListPermissionSetsRequest.h:30
Aws::SSOAdmin::Model::ListPermissionSetsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListPermissionSetsRequest.h:120
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::ListPermissionSetsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListPermissionSetsRequest.h:126
Aws::SSOAdmin::SSOAdminRequest
Definition: SSOAdminRequest.h:17
Aws::SSOAdmin::Model::ListPermissionSetsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListPermissionSetsRequest.h:132
AWSString.h
SSOAdminRequest.h
Aws::SSOAdmin::Model::ListPermissionSetsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListPermissionSetsRequest.h:114
Aws::SSOAdmin::Model::ListPermissionSetsRequest::InstanceArnHasBeenSet
bool InstanceArnHasBeenSet() const
Definition: ListPermissionSetsRequest.h:53
Aws::SSOAdmin::Model::ListPermissionSetsRequest::SetInstanceArn
void SetInstanceArn(const Aws::String &value)
Definition: ListPermissionSetsRequest.h:62
Aws
Definition: AccessManagementClient.h:15
Aws::SSOAdmin::Model::ListPermissionSetsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListPermissionSetsRequest.h:167
Aws::SSOAdmin::Model::ListPermissionSetsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSOAdmin::Model::ListPermissionSetsRequest::WithMaxResults
ListPermissionSetsRequest & WithMaxResults(int value)
Definition: ListPermissionSetsRequest.h:177
Aws::SSOAdmin::Model::ListPermissionSetsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListPermissionSetsRequest.h:138
Aws::SSOAdmin::Model::ListPermissionSetsRequest::GetInstanceArn
const Aws::String & GetInstanceArn() const
Definition: ListPermissionSetsRequest.h:44
Aws::SSOAdmin::Model::ListPermissionSetsRequest::SetInstanceArn
void SetInstanceArn(const char *value)
Definition: ListPermissionSetsRequest.h:80