AWS SDK for C++  1.9.108
AWS SDK for C++
DeleteAccountAssignmentRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace SSOAdmin
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "DeleteAccountAssignment"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
46  inline const Aws::String& GetInstanceArn() const{ return m_instanceArn; }
47 
55  inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
56 
64  inline void SetInstanceArn(const Aws::String& value) { m_instanceArnHasBeenSet = true; m_instanceArn = value; }
65 
73  inline void SetInstanceArn(Aws::String&& value) { m_instanceArnHasBeenSet = true; m_instanceArn = std::move(value); }
74 
82  inline void SetInstanceArn(const char* value) { m_instanceArnHasBeenSet = true; m_instanceArn.assign(value); }
83 
91  inline DeleteAccountAssignmentRequest& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
92 
100  inline DeleteAccountAssignmentRequest& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
101 
109  inline DeleteAccountAssignmentRequest& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
110 
111 
116  inline const Aws::String& GetTargetId() const{ return m_targetId; }
117 
122  inline bool TargetIdHasBeenSet() const { return m_targetIdHasBeenSet; }
123 
128  inline void SetTargetId(const Aws::String& value) { m_targetIdHasBeenSet = true; m_targetId = value; }
129 
134  inline void SetTargetId(Aws::String&& value) { m_targetIdHasBeenSet = true; m_targetId = std::move(value); }
135 
140  inline void SetTargetId(const char* value) { m_targetIdHasBeenSet = true; m_targetId.assign(value); }
141 
146  inline DeleteAccountAssignmentRequest& WithTargetId(const Aws::String& value) { SetTargetId(value); return *this;}
147 
152  inline DeleteAccountAssignmentRequest& WithTargetId(Aws::String&& value) { SetTargetId(std::move(value)); return *this;}
153 
158  inline DeleteAccountAssignmentRequest& WithTargetId(const char* value) { SetTargetId(value); return *this;}
159 
160 
164  inline const TargetType& GetTargetType() const{ return m_targetType; }
165 
169  inline bool TargetTypeHasBeenSet() const { return m_targetTypeHasBeenSet; }
170 
174  inline void SetTargetType(const TargetType& value) { m_targetTypeHasBeenSet = true; m_targetType = value; }
175 
179  inline void SetTargetType(TargetType&& value) { m_targetTypeHasBeenSet = true; m_targetType = std::move(value); }
180 
184  inline DeleteAccountAssignmentRequest& WithTargetType(const TargetType& value) { SetTargetType(value); return *this;}
185 
189  inline DeleteAccountAssignmentRequest& WithTargetType(TargetType&& value) { SetTargetType(std::move(value)); return *this;}
190 
191 
195  inline const Aws::String& GetPermissionSetArn() const{ return m_permissionSetArn; }
196 
200  inline bool PermissionSetArnHasBeenSet() const { return m_permissionSetArnHasBeenSet; }
201 
205  inline void SetPermissionSetArn(const Aws::String& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = value; }
206 
210  inline void SetPermissionSetArn(Aws::String&& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = std::move(value); }
211 
215  inline void SetPermissionSetArn(const char* value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn.assign(value); }
216 
220  inline DeleteAccountAssignmentRequest& WithPermissionSetArn(const Aws::String& value) { SetPermissionSetArn(value); return *this;}
221 
225  inline DeleteAccountAssignmentRequest& WithPermissionSetArn(Aws::String&& value) { SetPermissionSetArn(std::move(value)); return *this;}
226 
230  inline DeleteAccountAssignmentRequest& WithPermissionSetArn(const char* value) { SetPermissionSetArn(value); return *this;}
231 
232 
236  inline const PrincipalType& GetPrincipalType() const{ return m_principalType; }
237 
241  inline bool PrincipalTypeHasBeenSet() const { return m_principalTypeHasBeenSet; }
242 
246  inline void SetPrincipalType(const PrincipalType& value) { m_principalTypeHasBeenSet = true; m_principalType = value; }
247 
251  inline void SetPrincipalType(PrincipalType&& value) { m_principalTypeHasBeenSet = true; m_principalType = std::move(value); }
252 
256  inline DeleteAccountAssignmentRequest& WithPrincipalType(const PrincipalType& value) { SetPrincipalType(value); return *this;}
257 
261  inline DeleteAccountAssignmentRequest& WithPrincipalType(PrincipalType&& value) { SetPrincipalType(std::move(value)); return *this;}
262 
263 
272  inline const Aws::String& GetPrincipalId() const{ return m_principalId; }
273 
282  inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; }
283 
292  inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; }
293 
302  inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); }
303 
312  inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); }
313 
322  inline DeleteAccountAssignmentRequest& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;}
323 
332  inline DeleteAccountAssignmentRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;}
333 
342  inline DeleteAccountAssignmentRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;}
343 
344  private:
345 
346  Aws::String m_instanceArn;
347  bool m_instanceArnHasBeenSet;
348 
349  Aws::String m_targetId;
350  bool m_targetIdHasBeenSet;
351 
352  TargetType m_targetType;
353  bool m_targetTypeHasBeenSet;
354 
355  Aws::String m_permissionSetArn;
356  bool m_permissionSetArnHasBeenSet;
357 
358  PrincipalType m_principalType;
359  bool m_principalTypeHasBeenSet;
360 
361  Aws::String m_principalId;
362  bool m_principalIdHasBeenSet;
363  };
364 
365 } // namespace Model
366 } // namespace SSOAdmin
367 } // namespace Aws
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithPrincipalType
DeleteAccountAssignmentRequest & WithPrincipalType(PrincipalType &&value)
Definition: DeleteAccountAssignmentRequest.h:261
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::DeleteAccountAssignmentRequest
DeleteAccountAssignmentRequest()
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::PrincipalTypeHasBeenSet
bool PrincipalTypeHasBeenSet() const
Definition: DeleteAccountAssignmentRequest.h:241
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::GetPrincipalType
const PrincipalType & GetPrincipalType() const
Definition: DeleteAccountAssignmentRequest.h:236
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::TargetIdHasBeenSet
bool TargetIdHasBeenSet() const
Definition: DeleteAccountAssignmentRequest.h:122
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithInstanceArn
DeleteAccountAssignmentRequest & WithInstanceArn(const Aws::String &value)
Definition: DeleteAccountAssignmentRequest.h:91
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithTargetType
DeleteAccountAssignmentRequest & WithTargetType(const TargetType &value)
Definition: DeleteAccountAssignmentRequest.h:184
PrincipalType.h
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetPermissionSetArn
void SetPermissionSetArn(const Aws::String &value)
Definition: DeleteAccountAssignmentRequest.h:205
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetTargetId
void SetTargetId(Aws::String &&value)
Definition: DeleteAccountAssignmentRequest.h:134
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithTargetId
DeleteAccountAssignmentRequest & WithTargetId(const Aws::String &value)
Definition: DeleteAccountAssignmentRequest.h:146
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::GetTargetId
const Aws::String & GetTargetId() const
Definition: DeleteAccountAssignmentRequest.h:116
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithPrincipalId
DeleteAccountAssignmentRequest & WithPrincipalId(const Aws::String &value)
Definition: DeleteAccountAssignmentRequest.h:322
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithPermissionSetArn
DeleteAccountAssignmentRequest & WithPermissionSetArn(Aws::String &&value)
Definition: DeleteAccountAssignmentRequest.h:225
TargetType.h
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetPrincipalType
void SetPrincipalType(const PrincipalType &value)
Definition: DeleteAccountAssignmentRequest.h:246
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetPrincipalId
void SetPrincipalId(const char *value)
Definition: DeleteAccountAssignmentRequest.h:312
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithPermissionSetArn
DeleteAccountAssignmentRequest & WithPermissionSetArn(const Aws::String &value)
Definition: DeleteAccountAssignmentRequest.h:220
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetTargetType
void SetTargetType(const TargetType &value)
Definition: DeleteAccountAssignmentRequest.h:174
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetInstanceArn
void SetInstanceArn(const Aws::String &value)
Definition: DeleteAccountAssignmentRequest.h:64
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithTargetId
DeleteAccountAssignmentRequest & WithTargetId(const char *value)
Definition: DeleteAccountAssignmentRequest.h:158
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithInstanceArn
DeleteAccountAssignmentRequest & WithInstanceArn(const char *value)
Definition: DeleteAccountAssignmentRequest.h:109
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::PrincipalIdHasBeenSet
bool PrincipalIdHasBeenSet() const
Definition: DeleteAccountAssignmentRequest.h:282
Aws::SSOAdmin::Model::PrincipalType
PrincipalType
Definition: PrincipalType.h:17
Aws::SSOAdmin::SSOAdminRequest
Definition: SSOAdminRequest.h:17
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithTargetId
DeleteAccountAssignmentRequest & WithTargetId(Aws::String &&value)
Definition: DeleteAccountAssignmentRequest.h:152
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithPrincipalId
DeleteAccountAssignmentRequest & WithPrincipalId(Aws::String &&value)
Definition: DeleteAccountAssignmentRequest.h:332
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithPermissionSetArn
DeleteAccountAssignmentRequest & WithPermissionSetArn(const char *value)
Definition: DeleteAccountAssignmentRequest.h:230
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetPermissionSetArn
void SetPermissionSetArn(const char *value)
Definition: DeleteAccountAssignmentRequest.h:215
Aws::SSOAdmin::Model::TargetType
TargetType
Definition: TargetType.h:17
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetTargetId
void SetTargetId(const Aws::String &value)
Definition: DeleteAccountAssignmentRequest.h:128
AWSString.h
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::GetPrincipalId
const Aws::String & GetPrincipalId() const
Definition: DeleteAccountAssignmentRequest.h:272
SSOAdminRequest.h
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::TargetTypeHasBeenSet
bool TargetTypeHasBeenSet() const
Definition: DeleteAccountAssignmentRequest.h:169
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithPrincipalType
DeleteAccountAssignmentRequest & WithPrincipalType(const PrincipalType &value)
Definition: DeleteAccountAssignmentRequest.h:256
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteAccountAssignmentRequest.h:32
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithInstanceArn
DeleteAccountAssignmentRequest & WithInstanceArn(Aws::String &&value)
Definition: DeleteAccountAssignmentRequest.h:100
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetInstanceArn
void SetInstanceArn(const char *value)
Definition: DeleteAccountAssignmentRequest.h:82
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::InstanceArnHasBeenSet
bool InstanceArnHasBeenSet() const
Definition: DeleteAccountAssignmentRequest.h:55
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::GetPermissionSetArn
const Aws::String & GetPermissionSetArn() const
Definition: DeleteAccountAssignmentRequest.h:195
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithPrincipalId
DeleteAccountAssignmentRequest & WithPrincipalId(const char *value)
Definition: DeleteAccountAssignmentRequest.h:342
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithTargetType
DeleteAccountAssignmentRequest & WithTargetType(TargetType &&value)
Definition: DeleteAccountAssignmentRequest.h:189
Aws
Definition: AccessManagementClient.h:15
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetTargetType
void SetTargetType(TargetType &&value)
Definition: DeleteAccountAssignmentRequest.h:179
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetPermissionSetArn
void SetPermissionSetArn(Aws::String &&value)
Definition: DeleteAccountAssignmentRequest.h:210
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::GetInstanceArn
const Aws::String & GetInstanceArn() const
Definition: DeleteAccountAssignmentRequest.h:46
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest
Definition: DeleteAccountAssignmentRequest.h:24
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::PermissionSetArnHasBeenSet
bool PermissionSetArnHasBeenSet() const
Definition: DeleteAccountAssignmentRequest.h:200
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::GetTargetType
const TargetType & GetTargetType() const
Definition: DeleteAccountAssignmentRequest.h:164
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetPrincipalId
void SetPrincipalId(const Aws::String &value)
Definition: DeleteAccountAssignmentRequest.h:292
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetPrincipalType
void SetPrincipalType(PrincipalType &&value)
Definition: DeleteAccountAssignmentRequest.h:251
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetInstanceArn
void SetInstanceArn(Aws::String &&value)
Definition: DeleteAccountAssignmentRequest.h:73
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetTargetId
void SetTargetId(const char *value)
Definition: DeleteAccountAssignmentRequest.h:140
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetPrincipalId
void SetPrincipalId(Aws::String &&value)
Definition: DeleteAccountAssignmentRequest.h:302