AWS SDK for C++  1.9.40
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 
45  inline const Aws::String& GetInstanceArn() const{ return m_instanceArn; }
46 
53  inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
54 
61  inline void SetInstanceArn(const Aws::String& value) { m_instanceArnHasBeenSet = true; m_instanceArn = value; }
62 
69  inline void SetInstanceArn(Aws::String&& value) { m_instanceArnHasBeenSet = true; m_instanceArn = std::move(value); }
70 
77  inline void SetInstanceArn(const char* value) { m_instanceArnHasBeenSet = true; m_instanceArn.assign(value); }
78 
85  inline DeleteAccountAssignmentRequest& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
86 
93  inline DeleteAccountAssignmentRequest& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
94 
101  inline DeleteAccountAssignmentRequest& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
102 
103 
108  inline const Aws::String& GetTargetId() const{ return m_targetId; }
109 
114  inline bool TargetIdHasBeenSet() const { return m_targetIdHasBeenSet; }
115 
120  inline void SetTargetId(const Aws::String& value) { m_targetIdHasBeenSet = true; m_targetId = value; }
121 
126  inline void SetTargetId(Aws::String&& value) { m_targetIdHasBeenSet = true; m_targetId = std::move(value); }
127 
132  inline void SetTargetId(const char* value) { m_targetIdHasBeenSet = true; m_targetId.assign(value); }
133 
138  inline DeleteAccountAssignmentRequest& WithTargetId(const Aws::String& value) { SetTargetId(value); return *this;}
139 
144  inline DeleteAccountAssignmentRequest& WithTargetId(Aws::String&& value) { SetTargetId(std::move(value)); return *this;}
145 
150  inline DeleteAccountAssignmentRequest& WithTargetId(const char* value) { SetTargetId(value); return *this;}
151 
152 
156  inline const TargetType& GetTargetType() const{ return m_targetType; }
157 
161  inline bool TargetTypeHasBeenSet() const { return m_targetTypeHasBeenSet; }
162 
166  inline void SetTargetType(const TargetType& value) { m_targetTypeHasBeenSet = true; m_targetType = value; }
167 
171  inline void SetTargetType(TargetType&& value) { m_targetTypeHasBeenSet = true; m_targetType = std::move(value); }
172 
176  inline DeleteAccountAssignmentRequest& WithTargetType(const TargetType& value) { SetTargetType(value); return *this;}
177 
181  inline DeleteAccountAssignmentRequest& WithTargetType(TargetType&& value) { SetTargetType(std::move(value)); return *this;}
182 
183 
187  inline const Aws::String& GetPermissionSetArn() const{ return m_permissionSetArn; }
188 
192  inline bool PermissionSetArnHasBeenSet() const { return m_permissionSetArnHasBeenSet; }
193 
197  inline void SetPermissionSetArn(const Aws::String& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = value; }
198 
202  inline void SetPermissionSetArn(Aws::String&& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = std::move(value); }
203 
207  inline void SetPermissionSetArn(const char* value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn.assign(value); }
208 
212  inline DeleteAccountAssignmentRequest& WithPermissionSetArn(const Aws::String& value) { SetPermissionSetArn(value); return *this;}
213 
217  inline DeleteAccountAssignmentRequest& WithPermissionSetArn(Aws::String&& value) { SetPermissionSetArn(std::move(value)); return *this;}
218 
222  inline DeleteAccountAssignmentRequest& WithPermissionSetArn(const char* value) { SetPermissionSetArn(value); return *this;}
223 
224 
228  inline const PrincipalType& GetPrincipalType() const{ return m_principalType; }
229 
233  inline bool PrincipalTypeHasBeenSet() const { return m_principalTypeHasBeenSet; }
234 
238  inline void SetPrincipalType(const PrincipalType& value) { m_principalTypeHasBeenSet = true; m_principalType = value; }
239 
243  inline void SetPrincipalType(PrincipalType&& value) { m_principalTypeHasBeenSet = true; m_principalType = std::move(value); }
244 
248  inline DeleteAccountAssignmentRequest& WithPrincipalType(const PrincipalType& value) { SetPrincipalType(value); return *this;}
249 
253  inline DeleteAccountAssignmentRequest& WithPrincipalType(PrincipalType&& value) { SetPrincipalType(std::move(value)); return *this;}
254 
255 
263  inline const Aws::String& GetPrincipalId() const{ return m_principalId; }
264 
272  inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; }
273 
281  inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; }
282 
290  inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); }
291 
299  inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); }
300 
308  inline DeleteAccountAssignmentRequest& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;}
309 
317  inline DeleteAccountAssignmentRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;}
318 
326  inline DeleteAccountAssignmentRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;}
327 
328  private:
329 
330  Aws::String m_instanceArn;
331  bool m_instanceArnHasBeenSet;
332 
333  Aws::String m_targetId;
334  bool m_targetIdHasBeenSet;
335 
336  TargetType m_targetType;
337  bool m_targetTypeHasBeenSet;
338 
339  Aws::String m_permissionSetArn;
340  bool m_permissionSetArnHasBeenSet;
341 
342  PrincipalType m_principalType;
343  bool m_principalTypeHasBeenSet;
344 
345  Aws::String m_principalId;
346  bool m_principalIdHasBeenSet;
347  };
348 
349 } // namespace Model
350 } // namespace SSOAdmin
351 } // namespace Aws
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithPrincipalType
DeleteAccountAssignmentRequest & WithPrincipalType(PrincipalType &&value)
Definition: DeleteAccountAssignmentRequest.h:253
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::DeleteAccountAssignmentRequest
DeleteAccountAssignmentRequest()
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::PrincipalTypeHasBeenSet
bool PrincipalTypeHasBeenSet() const
Definition: DeleteAccountAssignmentRequest.h:233
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::GetPrincipalType
const PrincipalType & GetPrincipalType() const
Definition: DeleteAccountAssignmentRequest.h:228
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::TargetIdHasBeenSet
bool TargetIdHasBeenSet() const
Definition: DeleteAccountAssignmentRequest.h:114
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:85
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithTargetType
DeleteAccountAssignmentRequest & WithTargetType(const TargetType &value)
Definition: DeleteAccountAssignmentRequest.h:176
PrincipalType.h
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetPermissionSetArn
void SetPermissionSetArn(const Aws::String &value)
Definition: DeleteAccountAssignmentRequest.h:197
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetTargetId
void SetTargetId(Aws::String &&value)
Definition: DeleteAccountAssignmentRequest.h:126
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithTargetId
DeleteAccountAssignmentRequest & WithTargetId(const Aws::String &value)
Definition: DeleteAccountAssignmentRequest.h:138
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::GetTargetId
const Aws::String & GetTargetId() const
Definition: DeleteAccountAssignmentRequest.h:108
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithPrincipalId
DeleteAccountAssignmentRequest & WithPrincipalId(const Aws::String &value)
Definition: DeleteAccountAssignmentRequest.h:308
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:217
TargetType.h
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetPrincipalType
void SetPrincipalType(const PrincipalType &value)
Definition: DeleteAccountAssignmentRequest.h:238
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetPrincipalId
void SetPrincipalId(const char *value)
Definition: DeleteAccountAssignmentRequest.h:299
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithPermissionSetArn
DeleteAccountAssignmentRequest & WithPermissionSetArn(const Aws::String &value)
Definition: DeleteAccountAssignmentRequest.h:212
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetTargetType
void SetTargetType(const TargetType &value)
Definition: DeleteAccountAssignmentRequest.h:166
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetInstanceArn
void SetInstanceArn(const Aws::String &value)
Definition: DeleteAccountAssignmentRequest.h:61
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithTargetId
DeleteAccountAssignmentRequest & WithTargetId(const char *value)
Definition: DeleteAccountAssignmentRequest.h:150
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithInstanceArn
DeleteAccountAssignmentRequest & WithInstanceArn(const char *value)
Definition: DeleteAccountAssignmentRequest.h:101
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::PrincipalIdHasBeenSet
bool PrincipalIdHasBeenSet() const
Definition: DeleteAccountAssignmentRequest.h:272
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:144
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithPrincipalId
DeleteAccountAssignmentRequest & WithPrincipalId(Aws::String &&value)
Definition: DeleteAccountAssignmentRequest.h:317
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithPermissionSetArn
DeleteAccountAssignmentRequest & WithPermissionSetArn(const char *value)
Definition: DeleteAccountAssignmentRequest.h:222
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetPermissionSetArn
void SetPermissionSetArn(const char *value)
Definition: DeleteAccountAssignmentRequest.h:207
Aws::SSOAdmin::Model::TargetType
TargetType
Definition: TargetType.h:17
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetTargetId
void SetTargetId(const Aws::String &value)
Definition: DeleteAccountAssignmentRequest.h:120
AWSString.h
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::GetPrincipalId
const Aws::String & GetPrincipalId() const
Definition: DeleteAccountAssignmentRequest.h:263
SSOAdminRequest.h
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::TargetTypeHasBeenSet
bool TargetTypeHasBeenSet() const
Definition: DeleteAccountAssignmentRequest.h:161
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithPrincipalType
DeleteAccountAssignmentRequest & WithPrincipalType(const PrincipalType &value)
Definition: DeleteAccountAssignmentRequest.h:248
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:93
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetInstanceArn
void SetInstanceArn(const char *value)
Definition: DeleteAccountAssignmentRequest.h:77
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::InstanceArnHasBeenSet
bool InstanceArnHasBeenSet() const
Definition: DeleteAccountAssignmentRequest.h:53
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::GetPermissionSetArn
const Aws::String & GetPermissionSetArn() const
Definition: DeleteAccountAssignmentRequest.h:187
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithPrincipalId
DeleteAccountAssignmentRequest & WithPrincipalId(const char *value)
Definition: DeleteAccountAssignmentRequest.h:326
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::WithTargetType
DeleteAccountAssignmentRequest & WithTargetType(TargetType &&value)
Definition: DeleteAccountAssignmentRequest.h:181
Aws
Definition: AccessManagementClient.h:15
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetTargetType
void SetTargetType(TargetType &&value)
Definition: DeleteAccountAssignmentRequest.h:171
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetPermissionSetArn
void SetPermissionSetArn(Aws::String &&value)
Definition: DeleteAccountAssignmentRequest.h:202
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::GetInstanceArn
const Aws::String & GetInstanceArn() const
Definition: DeleteAccountAssignmentRequest.h:45
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:192
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::GetTargetType
const TargetType & GetTargetType() const
Definition: DeleteAccountAssignmentRequest.h:156
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetPrincipalId
void SetPrincipalId(const Aws::String &value)
Definition: DeleteAccountAssignmentRequest.h:281
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetPrincipalType
void SetPrincipalType(PrincipalType &&value)
Definition: DeleteAccountAssignmentRequest.h:243
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetInstanceArn
void SetInstanceArn(Aws::String &&value)
Definition: DeleteAccountAssignmentRequest.h:69
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetTargetId
void SetTargetId(const char *value)
Definition: DeleteAccountAssignmentRequest.h:132
Aws::SSOAdmin::Model::DeleteAccountAssignmentRequest::SetPrincipalId
void SetPrincipalId(Aws::String &&value)
Definition: DeleteAccountAssignmentRequest.h:290