AWS SDK for C++  1.9.108
AWS SDK for C++
AccountAssignmentOperationStatus.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace SSOAdmin
26 {
27 namespace Model
28 {
29 
37  {
38  public:
43 
44 
48  inline const StatusValues& GetStatus() const{ return m_status; }
49 
53  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
54 
58  inline void SetStatus(const StatusValues& value) { m_statusHasBeenSet = true; m_status = value; }
59 
63  inline void SetStatus(StatusValues&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
64 
68  inline AccountAssignmentOperationStatus& WithStatus(const StatusValues& value) { SetStatus(value); return *this;}
69 
73  inline AccountAssignmentOperationStatus& WithStatus(StatusValues&& value) { SetStatus(std::move(value)); return *this;}
74 
75 
80  inline const Aws::String& GetRequestId() const{ return m_requestId; }
81 
86  inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
87 
92  inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
93 
98  inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
99 
104  inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
105 
110  inline AccountAssignmentOperationStatus& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
111 
116  inline AccountAssignmentOperationStatus& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
117 
122  inline AccountAssignmentOperationStatus& WithRequestId(const char* value) { SetRequestId(value); return *this;}
123 
124 
129  inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
130 
135  inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
136 
141  inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
142 
147  inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
148 
153  inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
154 
159  inline AccountAssignmentOperationStatus& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
160 
165  inline AccountAssignmentOperationStatus& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
166 
171  inline AccountAssignmentOperationStatus& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
172 
173 
178  inline const Aws::String& GetTargetId() const{ return m_targetId; }
179 
184  inline bool TargetIdHasBeenSet() const { return m_targetIdHasBeenSet; }
185 
190  inline void SetTargetId(const Aws::String& value) { m_targetIdHasBeenSet = true; m_targetId = value; }
191 
196  inline void SetTargetId(Aws::String&& value) { m_targetIdHasBeenSet = true; m_targetId = std::move(value); }
197 
202  inline void SetTargetId(const char* value) { m_targetIdHasBeenSet = true; m_targetId.assign(value); }
203 
208  inline AccountAssignmentOperationStatus& WithTargetId(const Aws::String& value) { SetTargetId(value); return *this;}
209 
214  inline AccountAssignmentOperationStatus& WithTargetId(Aws::String&& value) { SetTargetId(std::move(value)); return *this;}
215 
220  inline AccountAssignmentOperationStatus& WithTargetId(const char* value) { SetTargetId(value); return *this;}
221 
222 
226  inline const TargetType& GetTargetType() const{ return m_targetType; }
227 
231  inline bool TargetTypeHasBeenSet() const { return m_targetTypeHasBeenSet; }
232 
236  inline void SetTargetType(const TargetType& value) { m_targetTypeHasBeenSet = true; m_targetType = value; }
237 
241  inline void SetTargetType(TargetType&& value) { m_targetTypeHasBeenSet = true; m_targetType = std::move(value); }
242 
246  inline AccountAssignmentOperationStatus& WithTargetType(const TargetType& value) { SetTargetType(value); return *this;}
247 
251  inline AccountAssignmentOperationStatus& WithTargetType(TargetType&& value) { SetTargetType(std::move(value)); return *this;}
252 
253 
260  inline const Aws::String& GetPermissionSetArn() const{ return m_permissionSetArn; }
261 
268  inline bool PermissionSetArnHasBeenSet() const { return m_permissionSetArnHasBeenSet; }
269 
276  inline void SetPermissionSetArn(const Aws::String& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = value; }
277 
284  inline void SetPermissionSetArn(Aws::String&& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = std::move(value); }
285 
292  inline void SetPermissionSetArn(const char* value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn.assign(value); }
293 
300  inline AccountAssignmentOperationStatus& WithPermissionSetArn(const Aws::String& value) { SetPermissionSetArn(value); return *this;}
301 
308  inline AccountAssignmentOperationStatus& WithPermissionSetArn(Aws::String&& value) { SetPermissionSetArn(std::move(value)); return *this;}
309 
316  inline AccountAssignmentOperationStatus& WithPermissionSetArn(const char* value) { SetPermissionSetArn(value); return *this;}
317 
318 
322  inline const PrincipalType& GetPrincipalType() const{ return m_principalType; }
323 
327  inline bool PrincipalTypeHasBeenSet() const { return m_principalTypeHasBeenSet; }
328 
332  inline void SetPrincipalType(const PrincipalType& value) { m_principalTypeHasBeenSet = true; m_principalType = value; }
333 
337  inline void SetPrincipalType(PrincipalType&& value) { m_principalTypeHasBeenSet = true; m_principalType = std::move(value); }
338 
342  inline AccountAssignmentOperationStatus& WithPrincipalType(const PrincipalType& value) { SetPrincipalType(value); return *this;}
343 
347  inline AccountAssignmentOperationStatus& WithPrincipalType(PrincipalType&& value) { SetPrincipalType(std::move(value)); return *this;}
348 
349 
358  inline const Aws::String& GetPrincipalId() const{ return m_principalId; }
359 
368  inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; }
369 
378  inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; }
379 
388  inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); }
389 
398  inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); }
399 
408  inline AccountAssignmentOperationStatus& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;}
409 
418  inline AccountAssignmentOperationStatus& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;}
419 
428  inline AccountAssignmentOperationStatus& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;}
429 
430 
434  inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
435 
439  inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
440 
444  inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
445 
449  inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
450 
454  inline AccountAssignmentOperationStatus& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
455 
459  inline AccountAssignmentOperationStatus& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
460 
461  private:
462 
463  StatusValues m_status;
464  bool m_statusHasBeenSet;
465 
466  Aws::String m_requestId;
467  bool m_requestIdHasBeenSet;
468 
469  Aws::String m_failureReason;
470  bool m_failureReasonHasBeenSet;
471 
472  Aws::String m_targetId;
473  bool m_targetIdHasBeenSet;
474 
475  TargetType m_targetType;
476  bool m_targetTypeHasBeenSet;
477 
478  Aws::String m_permissionSetArn;
479  bool m_permissionSetArnHasBeenSet;
480 
481  PrincipalType m_principalType;
482  bool m_principalTypeHasBeenSet;
483 
484  Aws::String m_principalId;
485  bool m_principalIdHasBeenSet;
486 
487  Aws::Utils::DateTime m_createdDate;
488  bool m_createdDateHasBeenSet;
489  };
490 
491 } // namespace Model
492 } // namespace SSOAdmin
493 } // namespace Aws
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::SetPermissionSetArn
void SetPermissionSetArn(const Aws::String &value)
Definition: AccountAssignmentOperationStatus.h:276
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::operator=
AccountAssignmentOperationStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: AccountAssignmentOperationStatus.h:129
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::WithPrincipalId
AccountAssignmentOperationStatus & WithPrincipalId(const char *value)
Definition: AccountAssignmentOperationStatus.h:428
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::WithRequestId
AccountAssignmentOperationStatus & WithRequestId(Aws::String &&value)
Definition: AccountAssignmentOperationStatus.h:116
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::GetTargetType
const TargetType & GetTargetType() const
Definition: AccountAssignmentOperationStatus.h:226
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::WithStatus
AccountAssignmentOperationStatus & WithStatus(StatusValues &&value)
Definition: AccountAssignmentOperationStatus.h:73
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::SetPrincipalId
void SetPrincipalId(const char *value)
Definition: AccountAssignmentOperationStatus.h:398
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::WithPrincipalType
AccountAssignmentOperationStatus & WithPrincipalType(const PrincipalType &value)
Definition: AccountAssignmentOperationStatus.h:342
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::GetStatus
const StatusValues & GetStatus() const
Definition: AccountAssignmentOperationStatus.h:48
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::SetPrincipalType
void SetPrincipalType(const PrincipalType &value)
Definition: AccountAssignmentOperationStatus.h:332
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::CreatedDateHasBeenSet
bool CreatedDateHasBeenSet() const
Definition: AccountAssignmentOperationStatus.h:439
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::WithPrincipalId
AccountAssignmentOperationStatus & WithPrincipalId(const Aws::String &value)
Definition: AccountAssignmentOperationStatus.h:408
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus
Definition: AccountAssignmentOperationStatus.h:37
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::SetPermissionSetArn
void SetPermissionSetArn(Aws::String &&value)
Definition: AccountAssignmentOperationStatus.h:284
DateTime.h
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::TargetIdHasBeenSet
bool TargetIdHasBeenSet() const
Definition: AccountAssignmentOperationStatus.h:184
PrincipalType.h
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::GetCreatedDate
const Aws::Utils::DateTime & GetCreatedDate() const
Definition: AccountAssignmentOperationStatus.h:434
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::SetTargetType
void SetTargetType(const TargetType &value)
Definition: AccountAssignmentOperationStatus.h:236
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: AccountAssignmentOperationStatus.h:147
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::WithTargetType
AccountAssignmentOperationStatus & WithTargetType(const TargetType &value)
Definition: AccountAssignmentOperationStatus.h:246
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::SetTargetId
void SetTargetId(const char *value)
Definition: AccountAssignmentOperationStatus.h:202
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::WithFailureReason
AccountAssignmentOperationStatus & WithFailureReason(Aws::String &&value)
Definition: AccountAssignmentOperationStatus.h:165
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::SetRequestId
void SetRequestId(const char *value)
Definition: AccountAssignmentOperationStatus.h:104
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::SetStatus
void SetStatus(StatusValues &&value)
Definition: AccountAssignmentOperationStatus.h:63
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
TargetType.h
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::TargetTypeHasBeenSet
bool TargetTypeHasBeenSet() const
Definition: AccountAssignmentOperationStatus.h:231
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::WithTargetId
AccountAssignmentOperationStatus & WithTargetId(const char *value)
Definition: AccountAssignmentOperationStatus.h:220
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::WithTargetId
AccountAssignmentOperationStatus & WithTargetId(const Aws::String &value)
Definition: AccountAssignmentOperationStatus.h:208
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::SetTargetId
void SetTargetId(const Aws::String &value)
Definition: AccountAssignmentOperationStatus.h:190
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::SetCreatedDate
void SetCreatedDate(Aws::Utils::DateTime &&value)
Definition: AccountAssignmentOperationStatus.h:449
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::PermissionSetArnHasBeenSet
bool PermissionSetArnHasBeenSet() const
Definition: AccountAssignmentOperationStatus.h:268
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::GetTargetId
const Aws::String & GetTargetId() const
Definition: AccountAssignmentOperationStatus.h:178
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::WithCreatedDate
AccountAssignmentOperationStatus & WithCreatedDate(Aws::Utils::DateTime &&value)
Definition: AccountAssignmentOperationStatus.h:459
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::WithPermissionSetArn
AccountAssignmentOperationStatus & WithPermissionSetArn(Aws::String &&value)
Definition: AccountAssignmentOperationStatus.h:308
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::SetPermissionSetArn
void SetPermissionSetArn(const char *value)
Definition: AccountAssignmentOperationStatus.h:292
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::SetFailureReason
void SetFailureReason(const char *value)
Definition: AccountAssignmentOperationStatus.h:153
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::RequestIdHasBeenSet
bool RequestIdHasBeenSet() const
Definition: AccountAssignmentOperationStatus.h:86
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::GetRequestId
const Aws::String & GetRequestId() const
Definition: AccountAssignmentOperationStatus.h:80
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::WithPrincipalType
AccountAssignmentOperationStatus & WithPrincipalType(PrincipalType &&value)
Definition: AccountAssignmentOperationStatus.h:347
Aws::SSOAdmin::Model::StatusValues
StatusValues
Definition: StatusValues.h:17
Aws::SSOAdmin::Model::PrincipalType
PrincipalType
Definition: PrincipalType.h:17
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::GetPermissionSetArn
const Aws::String & GetPermissionSetArn() const
Definition: AccountAssignmentOperationStatus.h:260
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::WithStatus
AccountAssignmentOperationStatus & WithStatus(const StatusValues &value)
Definition: AccountAssignmentOperationStatus.h:68
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::SetTargetId
void SetTargetId(Aws::String &&value)
Definition: AccountAssignmentOperationStatus.h:196
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::GetPrincipalType
const PrincipalType & GetPrincipalType() const
Definition: AccountAssignmentOperationStatus.h:322
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::WithPermissionSetArn
AccountAssignmentOperationStatus & WithPermissionSetArn(const Aws::String &value)
Definition: AccountAssignmentOperationStatus.h:300
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: AccountAssignmentOperationStatus.h:92
Aws::SSOAdmin::Model::TargetType
TargetType
Definition: TargetType.h:17
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::AccountAssignmentOperationStatus
AccountAssignmentOperationStatus()
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::FailureReasonHasBeenSet
bool FailureReasonHasBeenSet() const
Definition: AccountAssignmentOperationStatus.h:135
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::SetPrincipalType
void SetPrincipalType(PrincipalType &&value)
Definition: AccountAssignmentOperationStatus.h:337
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::SetPrincipalId
void SetPrincipalId(Aws::String &&value)
Definition: AccountAssignmentOperationStatus.h:388
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::WithFailureReason
AccountAssignmentOperationStatus & WithFailureReason(const char *value)
Definition: AccountAssignmentOperationStatus.h:171
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::WithRequestId
AccountAssignmentOperationStatus & WithRequestId(const char *value)
Definition: AccountAssignmentOperationStatus.h:122
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::WithFailureReason
AccountAssignmentOperationStatus & WithFailureReason(const Aws::String &value)
Definition: AccountAssignmentOperationStatus.h:159
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::SetStatus
void SetStatus(const StatusValues &value)
Definition: AccountAssignmentOperationStatus.h:58
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::GetPrincipalId
const Aws::String & GetPrincipalId() const
Definition: AccountAssignmentOperationStatus.h:358
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::SetCreatedDate
void SetCreatedDate(const Aws::Utils::DateTime &value)
Definition: AccountAssignmentOperationStatus.h:444
Aws
Definition: AccessManagementClient.h:15
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::WithTargetType
AccountAssignmentOperationStatus & WithTargetType(TargetType &&value)
Definition: AccountAssignmentOperationStatus.h:251
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::WithTargetId
AccountAssignmentOperationStatus & WithTargetId(Aws::String &&value)
Definition: AccountAssignmentOperationStatus.h:214
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::PrincipalTypeHasBeenSet
bool PrincipalTypeHasBeenSet() const
Definition: AccountAssignmentOperationStatus.h:327
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::PrincipalIdHasBeenSet
bool PrincipalIdHasBeenSet() const
Definition: AccountAssignmentOperationStatus.h:368
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: AccountAssignmentOperationStatus.h:141
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::AccountAssignmentOperationStatus
AccountAssignmentOperationStatus(Aws::Utils::Json::JsonView jsonValue)
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: AccountAssignmentOperationStatus.h:53
StatusValues.h
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::WithCreatedDate
AccountAssignmentOperationStatus & WithCreatedDate(const Aws::Utils::DateTime &value)
Definition: AccountAssignmentOperationStatus.h:454
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::SetTargetType
void SetTargetType(TargetType &&value)
Definition: AccountAssignmentOperationStatus.h:241
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::SetPrincipalId
void SetPrincipalId(const Aws::String &value)
Definition: AccountAssignmentOperationStatus.h:378
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::WithRequestId
AccountAssignmentOperationStatus & WithRequestId(const Aws::String &value)
Definition: AccountAssignmentOperationStatus.h:110
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::WithPrincipalId
AccountAssignmentOperationStatus & WithPrincipalId(Aws::String &&value)
Definition: AccountAssignmentOperationStatus.h:418
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: AccountAssignmentOperationStatus.h:98
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SSOAdmin::Model::AccountAssignmentOperationStatus::WithPermissionSetArn
AccountAssignmentOperationStatus & WithPermissionSetArn(const char *value)
Definition: AccountAssignmentOperationStatus.h:316