AWS SDK for C++  1.9.102
AWS SDK for C++
Member.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace Macie2
25 {
26 namespace Model
27 {
28 
36  {
37  public:
38  Member();
42 
43 
47  inline const Aws::String& GetAccountId() const{ return m_accountId; }
48 
52  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
53 
57  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
58 
62  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
63 
67  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
68 
72  inline Member& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
73 
77  inline Member& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
78 
82  inline Member& WithAccountId(const char* value) { SetAccountId(value); return *this;}
83 
84 
88  inline const Aws::String& GetAdministratorAccountId() const{ return m_administratorAccountId; }
89 
93  inline bool AdministratorAccountIdHasBeenSet() const { return m_administratorAccountIdHasBeenSet; }
94 
98  inline void SetAdministratorAccountId(const Aws::String& value) { m_administratorAccountIdHasBeenSet = true; m_administratorAccountId = value; }
99 
103  inline void SetAdministratorAccountId(Aws::String&& value) { m_administratorAccountIdHasBeenSet = true; m_administratorAccountId = std::move(value); }
104 
108  inline void SetAdministratorAccountId(const char* value) { m_administratorAccountIdHasBeenSet = true; m_administratorAccountId.assign(value); }
109 
113  inline Member& WithAdministratorAccountId(const Aws::String& value) { SetAdministratorAccountId(value); return *this;}
114 
118  inline Member& WithAdministratorAccountId(Aws::String&& value) { SetAdministratorAccountId(std::move(value)); return *this;}
119 
123  inline Member& WithAdministratorAccountId(const char* value) { SetAdministratorAccountId(value); return *this;}
124 
125 
129  inline const Aws::String& GetArn() const{ return m_arn; }
130 
134  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
135 
139  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
140 
144  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
145 
149  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
150 
154  inline Member& WithArn(const Aws::String& value) { SetArn(value); return *this;}
155 
159  inline Member& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
160 
164  inline Member& WithArn(const char* value) { SetArn(value); return *this;}
165 
166 
170  inline const Aws::String& GetEmail() const{ return m_email; }
171 
175  inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
176 
180  inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; }
181 
185  inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); }
186 
190  inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); }
191 
195  inline Member& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
196 
200  inline Member& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
201 
205  inline Member& WithEmail(const char* value) { SetEmail(value); return *this;}
206 
207 
213  inline const Aws::Utils::DateTime& GetInvitedAt() const{ return m_invitedAt; }
214 
220  inline bool InvitedAtHasBeenSet() const { return m_invitedAtHasBeenSet; }
221 
227  inline void SetInvitedAt(const Aws::Utils::DateTime& value) { m_invitedAtHasBeenSet = true; m_invitedAt = value; }
228 
234  inline void SetInvitedAt(Aws::Utils::DateTime&& value) { m_invitedAtHasBeenSet = true; m_invitedAt = std::move(value); }
235 
241  inline Member& WithInvitedAt(const Aws::Utils::DateTime& value) { SetInvitedAt(value); return *this;}
242 
248  inline Member& WithInvitedAt(Aws::Utils::DateTime&& value) { SetInvitedAt(std::move(value)); return *this;}
249 
250 
256  inline const Aws::String& GetMasterAccountId() const{ return m_masterAccountId; }
257 
263  inline bool MasterAccountIdHasBeenSet() const { return m_masterAccountIdHasBeenSet; }
264 
270  inline void SetMasterAccountId(const Aws::String& value) { m_masterAccountIdHasBeenSet = true; m_masterAccountId = value; }
271 
277  inline void SetMasterAccountId(Aws::String&& value) { m_masterAccountIdHasBeenSet = true; m_masterAccountId = std::move(value); }
278 
284  inline void SetMasterAccountId(const char* value) { m_masterAccountIdHasBeenSet = true; m_masterAccountId.assign(value); }
285 
291  inline Member& WithMasterAccountId(const Aws::String& value) { SetMasterAccountId(value); return *this;}
292 
298  inline Member& WithMasterAccountId(Aws::String&& value) { SetMasterAccountId(std::move(value)); return *this;}
299 
305  inline Member& WithMasterAccountId(const char* value) { SetMasterAccountId(value); return *this;}
306 
307 
312  inline const RelationshipStatus& GetRelationshipStatus() const{ return m_relationshipStatus; }
313 
318  inline bool RelationshipStatusHasBeenSet() const { return m_relationshipStatusHasBeenSet; }
319 
324  inline void SetRelationshipStatus(const RelationshipStatus& value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = value; }
325 
330  inline void SetRelationshipStatus(RelationshipStatus&& value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = std::move(value); }
331 
336  inline Member& WithRelationshipStatus(const RelationshipStatus& value) { SetRelationshipStatus(value); return *this;}
337 
342  inline Member& WithRelationshipStatus(RelationshipStatus&& value) { SetRelationshipStatus(std::move(value)); return *this;}
343 
344 
349  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
350 
355  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
356 
361  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
362 
367  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
368 
373  inline Member& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
374 
379  inline Member& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
380 
385  inline Member& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
386 
391  inline Member& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
392 
397  inline Member& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
398 
403  inline Member& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
404 
409  inline Member& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
410 
415  inline Member& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
416 
421  inline Member& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
422 
423 
429  inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
430 
436  inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
437 
443  inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
444 
450  inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
451 
457  inline Member& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
458 
464  inline Member& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
465 
466  private:
467 
468  Aws::String m_accountId;
469  bool m_accountIdHasBeenSet;
470 
471  Aws::String m_administratorAccountId;
472  bool m_administratorAccountIdHasBeenSet;
473 
474  Aws::String m_arn;
475  bool m_arnHasBeenSet;
476 
477  Aws::String m_email;
478  bool m_emailHasBeenSet;
479 
480  Aws::Utils::DateTime m_invitedAt;
481  bool m_invitedAtHasBeenSet;
482 
483  Aws::String m_masterAccountId;
484  bool m_masterAccountIdHasBeenSet;
485 
486  RelationshipStatus m_relationshipStatus;
487  bool m_relationshipStatusHasBeenSet;
488 
490  bool m_tagsHasBeenSet;
491 
492  Aws::Utils::DateTime m_updatedAt;
493  bool m_updatedAtHasBeenSet;
494  };
495 
496 } // namespace Model
497 } // namespace Macie2
498 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Macie2::Model::Member::SetMasterAccountId
void SetMasterAccountId(const char *value)
Definition: Member.h:284
Aws::Macie2::Model::Member::AdministratorAccountIdHasBeenSet
bool AdministratorAccountIdHasBeenSet() const
Definition: Member.h:93
Aws::Macie2::Model::Member::GetUpdatedAt
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition: Member.h:429
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::Member::WithEmail
Member & WithEmail(const char *value)
Definition: Member.h:205
Aws::Macie2::Model::Member::UpdatedAtHasBeenSet
bool UpdatedAtHasBeenSet() const
Definition: Member.h:436
Aws::Macie2::Model::Member::WithArn
Member & WithArn(const Aws::String &value)
Definition: Member.h:154
Aws::Macie2::Model::Member::WithArn
Member & WithArn(Aws::String &&value)
Definition: Member.h:159
Aws::Macie2::Model::Member::SetAdministratorAccountId
void SetAdministratorAccountId(Aws::String &&value)
Definition: Member.h:103
Aws::Macie2::Model::Member::WithEmail
Member & WithEmail(Aws::String &&value)
Definition: Member.h:200
Aws::Macie2::Model::Member::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: Member.h:349
Aws::Macie2::Model::Member::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: Member.h:361
Aws::Macie2::Model::Member::GetEmail
const Aws::String & GetEmail() const
Definition: Member.h:170
Aws::Macie2::Model::Member::WithInvitedAt
Member & WithInvitedAt(Aws::Utils::DateTime &&value)
Definition: Member.h:248
Aws::Macie2::Model::Member::WithRelationshipStatus
Member & WithRelationshipStatus(RelationshipStatus &&value)
Definition: Member.h:342
Aws::Macie2::Model::Member::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: Member.h:134
Aws::Macie2::Model::Member::GetAccountId
const Aws::String & GetAccountId() const
Definition: Member.h:47
DateTime.h
Aws::Macie2::Model::Member::WithAccountId
Member & WithAccountId(const Aws::String &value)
Definition: Member.h:72
Aws::Macie2::Model::Member::GetRelationshipStatus
const RelationshipStatus & GetRelationshipStatus() const
Definition: Member.h:312
Aws::Macie2::Model::Member::SetMasterAccountId
void SetMasterAccountId(const Aws::String &value)
Definition: Member.h:270
Macie2_EXPORTS.h
Aws::Macie2::Model::Member::InvitedAtHasBeenSet
bool InvitedAtHasBeenSet() const
Definition: Member.h:220
Aws::Macie2::Model::Member::AddTags
Member & AddTags(Aws::String &&key, Aws::String &&value)
Definition: Member.h:403
Aws::Macie2::Model::Member::SetEmail
void SetEmail(const char *value)
Definition: Member.h:190
Aws::Macie2::Model::Member::SetUpdatedAt
void SetUpdatedAt(const Aws::Utils::DateTime &value)
Definition: Member.h:443
Aws::Macie2::Model::Member::EmailHasBeenSet
bool EmailHasBeenSet() const
Definition: Member.h:175
Aws::Macie2::Model::Member::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Macie2::Model::Member::MasterAccountIdHasBeenSet
bool MasterAccountIdHasBeenSet() const
Definition: Member.h:263
Aws::Macie2::Model::Member::WithAccountId
Member & WithAccountId(Aws::String &&value)
Definition: Member.h:77
Aws::Macie2::Model::Member::SetEmail
void SetEmail(const Aws::String &value)
Definition: Member.h:180
Aws::Macie2::Model::Member::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: Member.h:367
Aws::Macie2::Model::Member::AddTags
Member & AddTags(const Aws::String &key, Aws::String &&value)
Definition: Member.h:397
Aws::Macie2::Model::Member::RelationshipStatusHasBeenSet
bool RelationshipStatusHasBeenSet() const
Definition: Member.h:318
Aws::Macie2::Model::Member::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: Member.h:57
Aws::Macie2::Model::Member
Definition: Member.h:36
Aws::Macie2::Model::Member::SetMasterAccountId
void SetMasterAccountId(Aws::String &&value)
Definition: Member.h:277
Aws::Macie2::Model::Member::SetAccountId
void SetAccountId(const char *value)
Definition: Member.h:67
Aws::Macie2::Model::Member::WithAccountId
Member & WithAccountId(const char *value)
Definition: Member.h:82
Aws::Macie2::Model::Member::AddTags
Member & AddTags(const char *key, Aws::String &&value)
Definition: Member.h:409
Aws::Macie2::Model::Member::GetMasterAccountId
const Aws::String & GetMasterAccountId() const
Definition: Member.h:256
Aws::Macie2::Model::Member::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: Member.h:355
Aws::Macie2::Model::Member::SetArn
void SetArn(Aws::String &&value)
Definition: Member.h:144
Aws::Macie2::Model::Member::GetArn
const Aws::String & GetArn() const
Definition: Member.h:129
Aws::Macie2::Model::Member::SetInvitedAt
void SetInvitedAt(Aws::Utils::DateTime &&value)
Definition: Member.h:234
Aws::Macie2::Model::Member::WithMasterAccountId
Member & WithMasterAccountId(const char *value)
Definition: Member.h:305
Aws::Macie2::Model::Member::Member
Member(Aws::Utils::Json::JsonView jsonValue)
Aws::Macie2::Model::Member::SetArn
void SetArn(const char *value)
Definition: Member.h:149
Aws::Macie2::Model::Member::GetAdministratorAccountId
const Aws::String & GetAdministratorAccountId() const
Definition: Member.h:88
Aws::Macie2::Model::Member::SetArn
void SetArn(const Aws::String &value)
Definition: Member.h:139
Aws::Macie2::Model::RelationshipStatus
RelationshipStatus
Definition: RelationshipStatus.h:17
Aws::Macie2::Model::Member::SetAdministratorAccountId
void SetAdministratorAccountId(const char *value)
Definition: Member.h:108
Aws::Macie2::Model::Member::SetRelationshipStatus
void SetRelationshipStatus(RelationshipStatus &&value)
Definition: Member.h:330
Aws::Macie2::Model::Member::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: Member.h:62
Aws::Macie2::Model::Member::Member
Member()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Macie2::Model::Member::SetInvitedAt
void SetInvitedAt(const Aws::Utils::DateTime &value)
Definition: Member.h:227
Aws::Macie2::Model::Member::operator=
Member & operator=(Aws::Utils::Json::JsonView jsonValue)
AWSString.h
Aws::Macie2::Model::Member::WithTags
Member & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: Member.h:373
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Macie2::Model::Member::SetUpdatedAt
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Definition: Member.h:450
Aws::Macie2::Model::Member::WithAdministratorAccountId
Member & WithAdministratorAccountId(Aws::String &&value)
Definition: Member.h:118
Aws::Macie2::Model::Member::WithAdministratorAccountId
Member & WithAdministratorAccountId(const char *value)
Definition: Member.h:123
Aws::Macie2::Model::Member::AddTags
Member & AddTags(const char *key, const char *value)
Definition: Member.h:421
Aws::Macie2::Model::Member::AddTags
Member & AddTags(Aws::String &&key, const char *value)
Definition: Member.h:415
Aws::Macie2::Model::Member::SetEmail
void SetEmail(Aws::String &&value)
Definition: Member.h:185
Aws::Macie2::Model::Member::AddTags
Member & AddTags(const Aws::String &key, const Aws::String &value)
Definition: Member.h:385
Aws::Macie2::Model::Member::WithUpdatedAt
Member & WithUpdatedAt(Aws::Utils::DateTime &&value)
Definition: Member.h:464
Aws::Macie2::Model::Member::WithAdministratorAccountId
Member & WithAdministratorAccountId(const Aws::String &value)
Definition: Member.h:113
Aws::Macie2::Model::Member::WithUpdatedAt
Member & WithUpdatedAt(const Aws::Utils::DateTime &value)
Definition: Member.h:457
Aws::Macie2::Model::Member::WithArn
Member & WithArn(const char *value)
Definition: Member.h:164
RelationshipStatus.h
Aws::Macie2::Model::Member::WithRelationshipStatus
Member & WithRelationshipStatus(const RelationshipStatus &value)
Definition: Member.h:336
Aws::Macie2::Model::Member::SetAdministratorAccountId
void SetAdministratorAccountId(const Aws::String &value)
Definition: Member.h:98
Aws::Macie2::Model::Member::SetRelationshipStatus
void SetRelationshipStatus(const RelationshipStatus &value)
Definition: Member.h:324
Aws::Macie2::Model::Member::WithMasterAccountId
Member & WithMasterAccountId(const Aws::String &value)
Definition: Member.h:291
Aws
Definition: AccessManagementClient.h:15
Aws::Macie2::Model::Member::AddTags
Member & AddTags(Aws::String &&key, const Aws::String &value)
Definition: Member.h:391
Aws::Macie2::Model::Member::WithEmail
Member & WithEmail(const Aws::String &value)
Definition: Member.h:195
Aws::Macie2::Model::Member::GetInvitedAt
const Aws::Utils::DateTime & GetInvitedAt() const
Definition: Member.h:213
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Macie2::Model::Member::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: Member.h:52
AWSMap.h
Aws::Macie2::Model::Member::WithInvitedAt
Member & WithInvitedAt(const Aws::Utils::DateTime &value)
Definition: Member.h:241
Aws::Macie2::Model::Member::WithMasterAccountId
Member & WithMasterAccountId(Aws::String &&value)
Definition: Member.h:298
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::Macie2::Model::Member::WithTags
Member & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: Member.h:379