AWS SDK for C++  1.9.160
AWS SDK for C++
UpdatePermissionSetRequest.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 "UpdatePermissionSet"; }
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 UpdatePermissionSetRequest& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
90 
98  inline UpdatePermissionSetRequest& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
99 
107  inline UpdatePermissionSetRequest& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
108 
109 
113  inline const Aws::String& GetPermissionSetArn() const{ return m_permissionSetArn; }
114 
118  inline bool PermissionSetArnHasBeenSet() const { return m_permissionSetArnHasBeenSet; }
119 
123  inline void SetPermissionSetArn(const Aws::String& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = value; }
124 
128  inline void SetPermissionSetArn(Aws::String&& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = std::move(value); }
129 
133  inline void SetPermissionSetArn(const char* value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn.assign(value); }
134 
138  inline UpdatePermissionSetRequest& WithPermissionSetArn(const Aws::String& value) { SetPermissionSetArn(value); return *this;}
139 
143  inline UpdatePermissionSetRequest& WithPermissionSetArn(Aws::String&& value) { SetPermissionSetArn(std::move(value)); return *this;}
144 
148  inline UpdatePermissionSetRequest& WithPermissionSetArn(const char* value) { SetPermissionSetArn(value); return *this;}
149 
150 
154  inline const Aws::String& GetDescription() const{ return m_description; }
155 
159  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
160 
164  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
165 
169  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
170 
174  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
175 
179  inline UpdatePermissionSetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
180 
184  inline UpdatePermissionSetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
185 
189  inline UpdatePermissionSetRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
190 
191 
196  inline const Aws::String& GetSessionDuration() const{ return m_sessionDuration; }
197 
202  inline bool SessionDurationHasBeenSet() const { return m_sessionDurationHasBeenSet; }
203 
208  inline void SetSessionDuration(const Aws::String& value) { m_sessionDurationHasBeenSet = true; m_sessionDuration = value; }
209 
214  inline void SetSessionDuration(Aws::String&& value) { m_sessionDurationHasBeenSet = true; m_sessionDuration = std::move(value); }
215 
220  inline void SetSessionDuration(const char* value) { m_sessionDurationHasBeenSet = true; m_sessionDuration.assign(value); }
221 
226  inline UpdatePermissionSetRequest& WithSessionDuration(const Aws::String& value) { SetSessionDuration(value); return *this;}
227 
232  inline UpdatePermissionSetRequest& WithSessionDuration(Aws::String&& value) { SetSessionDuration(std::move(value)); return *this;}
233 
238  inline UpdatePermissionSetRequest& WithSessionDuration(const char* value) { SetSessionDuration(value); return *this;}
239 
240 
245  inline const Aws::String& GetRelayState() const{ return m_relayState; }
246 
251  inline bool RelayStateHasBeenSet() const { return m_relayStateHasBeenSet; }
252 
257  inline void SetRelayState(const Aws::String& value) { m_relayStateHasBeenSet = true; m_relayState = value; }
258 
263  inline void SetRelayState(Aws::String&& value) { m_relayStateHasBeenSet = true; m_relayState = std::move(value); }
264 
269  inline void SetRelayState(const char* value) { m_relayStateHasBeenSet = true; m_relayState.assign(value); }
270 
275  inline UpdatePermissionSetRequest& WithRelayState(const Aws::String& value) { SetRelayState(value); return *this;}
276 
281  inline UpdatePermissionSetRequest& WithRelayState(Aws::String&& value) { SetRelayState(std::move(value)); return *this;}
282 
287  inline UpdatePermissionSetRequest& WithRelayState(const char* value) { SetRelayState(value); return *this;}
288 
289  private:
290 
291  Aws::String m_instanceArn;
292  bool m_instanceArnHasBeenSet;
293 
294  Aws::String m_permissionSetArn;
295  bool m_permissionSetArnHasBeenSet;
296 
297  Aws::String m_description;
298  bool m_descriptionHasBeenSet;
299 
300  Aws::String m_sessionDuration;
301  bool m_sessionDurationHasBeenSet;
302 
303  Aws::String m_relayState;
304  bool m_relayStateHasBeenSet;
305  };
306 
307 } // namespace Model
308 } // namespace SSOAdmin
309 } // namespace Aws
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::GetPermissionSetArn
const Aws::String & GetPermissionSetArn() const
Definition: UpdatePermissionSetRequest.h:113
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::SetRelayState
void SetRelayState(Aws::String &&value)
Definition: UpdatePermissionSetRequest.h:263
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::WithRelayState
UpdatePermissionSetRequest & WithRelayState(const Aws::String &value)
Definition: UpdatePermissionSetRequest.h:275
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::WithPermissionSetArn
UpdatePermissionSetRequest & WithPermissionSetArn(const char *value)
Definition: UpdatePermissionSetRequest.h:148
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(Aws::String &&value)
Definition: UpdatePermissionSetRequest.h:128
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::SetSessionDuration
void SetSessionDuration(Aws::String &&value)
Definition: UpdatePermissionSetRequest.h:214
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::GetSessionDuration
const Aws::String & GetSessionDuration() const
Definition: UpdatePermissionSetRequest.h:196
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::WithRelayState
UpdatePermissionSetRequest & WithRelayState(const char *value)
Definition: UpdatePermissionSetRequest.h:287
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::WithSessionDuration
UpdatePermissionSetRequest & WithSessionDuration(Aws::String &&value)
Definition: UpdatePermissionSetRequest.h:232
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::WithDescription
UpdatePermissionSetRequest & WithDescription(const char *value)
Definition: UpdatePermissionSetRequest.h:189
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::WithInstanceArn
UpdatePermissionSetRequest & WithInstanceArn(const Aws::String &value)
Definition: UpdatePermissionSetRequest.h:89
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::SetInstanceArn
void SetInstanceArn(const char *value)
Definition: UpdatePermissionSetRequest.h:80
Aws::SSOAdmin::Model::UpdatePermissionSetRequest
Definition: UpdatePermissionSetRequest.h:22
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::SetRelayState
void SetRelayState(const char *value)
Definition: UpdatePermissionSetRequest.h:269
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::SetInstanceArn
void SetInstanceArn(Aws::String &&value)
Definition: UpdatePermissionSetRequest.h:71
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::SetRelayState
void SetRelayState(const Aws::String &value)
Definition: UpdatePermissionSetRequest.h:257
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdatePermissionSetRequest.h:159
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::WithRelayState
UpdatePermissionSetRequest & WithRelayState(Aws::String &&value)
Definition: UpdatePermissionSetRequest.h:281
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::SetSessionDuration
void SetSessionDuration(const char *value)
Definition: UpdatePermissionSetRequest.h:220
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(const Aws::String &value)
Definition: UpdatePermissionSetRequest.h:123
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::GetInstanceArn
const Aws::String & GetInstanceArn() const
Definition: UpdatePermissionSetRequest.h:44
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdatePermissionSetRequest.h:164
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::SetSessionDuration
void SetSessionDuration(const Aws::String &value)
Definition: UpdatePermissionSetRequest.h:208
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::WithDescription
UpdatePermissionSetRequest & WithDescription(Aws::String &&value)
Definition: UpdatePermissionSetRequest.h:184
Aws::SSOAdmin::SSOAdminRequest
Definition: SSOAdminRequest.h:17
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::WithInstanceArn
UpdatePermissionSetRequest & WithInstanceArn(const char *value)
Definition: UpdatePermissionSetRequest.h:107
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::WithPermissionSetArn
UpdatePermissionSetRequest & WithPermissionSetArn(const Aws::String &value)
Definition: UpdatePermissionSetRequest.h:138
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::WithPermissionSetArn
UpdatePermissionSetRequest & WithPermissionSetArn(Aws::String &&value)
Definition: UpdatePermissionSetRequest.h:143
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::SessionDurationHasBeenSet
bool SessionDurationHasBeenSet() const
Definition: UpdatePermissionSetRequest.h:202
AWSString.h
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(const char *value)
Definition: UpdatePermissionSetRequest.h:133
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::GetRelayState
const Aws::String & GetRelayState() const
Definition: UpdatePermissionSetRequest.h:245
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdatePermissionSetRequest.h:169
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdatePermissionSetRequest.h:30
SSOAdminRequest.h
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdatePermissionSetRequest.h:154
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::RelayStateHasBeenSet
bool RelayStateHasBeenSet() const
Definition: UpdatePermissionSetRequest.h:251
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdatePermissionSetRequest.h:174
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::WithSessionDuration
UpdatePermissionSetRequest & WithSessionDuration(const Aws::String &value)
Definition: UpdatePermissionSetRequest.h:226
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::WithInstanceArn
UpdatePermissionSetRequest & WithInstanceArn(Aws::String &&value)
Definition: UpdatePermissionSetRequest.h:98
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::PermissionSetArnHasBeenSet
bool PermissionSetArnHasBeenSet() const
Definition: UpdatePermissionSetRequest.h:118
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::WithDescription
UpdatePermissionSetRequest & WithDescription(const Aws::String &value)
Definition: UpdatePermissionSetRequest.h:179
Aws
Definition: AccessManagementClient.h:15
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::InstanceArnHasBeenSet
bool InstanceArnHasBeenSet() const
Definition: UpdatePermissionSetRequest.h:53
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::SetInstanceArn
void SetInstanceArn(const Aws::String &value)
Definition: UpdatePermissionSetRequest.h:62
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::WithSessionDuration
UpdatePermissionSetRequest & WithSessionDuration(const char *value)
Definition: UpdatePermissionSetRequest.h:238
Aws::SSOAdmin::Model::UpdatePermissionSetRequest::UpdatePermissionSetRequest
UpdatePermissionSetRequest()