AWS SDK for C++  1.8.153
AWS SDK for C++
Member.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace GuardDuty
22 {
23 namespace Model
24 {
25 
32  {
33  public:
34  Member();
38 
39 
43  inline const Aws::String& GetAccountId() const{ return m_accountId; }
44 
48  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
49 
53  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
54 
58  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
59 
63  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
64 
68  inline Member& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
69 
73  inline Member& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
74 
78  inline Member& WithAccountId(const char* value) { SetAccountId(value); return *this;}
79 
80 
84  inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
85 
89  inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
90 
94  inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
95 
99  inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
100 
104  inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
105 
109  inline Member& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
110 
114  inline Member& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
115 
119  inline Member& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
120 
121 
125  inline const Aws::String& GetMasterId() const{ return m_masterId; }
126 
130  inline bool MasterIdHasBeenSet() const { return m_masterIdHasBeenSet; }
131 
135  inline void SetMasterId(const Aws::String& value) { m_masterIdHasBeenSet = true; m_masterId = value; }
136 
140  inline void SetMasterId(Aws::String&& value) { m_masterIdHasBeenSet = true; m_masterId = std::move(value); }
141 
145  inline void SetMasterId(const char* value) { m_masterIdHasBeenSet = true; m_masterId.assign(value); }
146 
150  inline Member& WithMasterId(const Aws::String& value) { SetMasterId(value); return *this;}
151 
155  inline Member& WithMasterId(Aws::String&& value) { SetMasterId(std::move(value)); return *this;}
156 
160  inline Member& WithMasterId(const char* value) { SetMasterId(value); return *this;}
161 
162 
166  inline const Aws::String& GetEmail() const{ return m_email; }
167 
171  inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
172 
176  inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; }
177 
181  inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); }
182 
186  inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); }
187 
191  inline Member& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
192 
196  inline Member& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
197 
201  inline Member& WithEmail(const char* value) { SetEmail(value); return *this;}
202 
203 
207  inline const Aws::String& GetRelationshipStatus() const{ return m_relationshipStatus; }
208 
212  inline bool RelationshipStatusHasBeenSet() const { return m_relationshipStatusHasBeenSet; }
213 
217  inline void SetRelationshipStatus(const Aws::String& value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = value; }
218 
222  inline void SetRelationshipStatus(Aws::String&& value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = std::move(value); }
223 
227  inline void SetRelationshipStatus(const char* value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus.assign(value); }
228 
232  inline Member& WithRelationshipStatus(const Aws::String& value) { SetRelationshipStatus(value); return *this;}
233 
237  inline Member& WithRelationshipStatus(Aws::String&& value) { SetRelationshipStatus(std::move(value)); return *this;}
238 
242  inline Member& WithRelationshipStatus(const char* value) { SetRelationshipStatus(value); return *this;}
243 
244 
248  inline const Aws::String& GetInvitedAt() const{ return m_invitedAt; }
249 
253  inline bool InvitedAtHasBeenSet() const { return m_invitedAtHasBeenSet; }
254 
258  inline void SetInvitedAt(const Aws::String& value) { m_invitedAtHasBeenSet = true; m_invitedAt = value; }
259 
263  inline void SetInvitedAt(Aws::String&& value) { m_invitedAtHasBeenSet = true; m_invitedAt = std::move(value); }
264 
268  inline void SetInvitedAt(const char* value) { m_invitedAtHasBeenSet = true; m_invitedAt.assign(value); }
269 
273  inline Member& WithInvitedAt(const Aws::String& value) { SetInvitedAt(value); return *this;}
274 
278  inline Member& WithInvitedAt(Aws::String&& value) { SetInvitedAt(std::move(value)); return *this;}
279 
283  inline Member& WithInvitedAt(const char* value) { SetInvitedAt(value); return *this;}
284 
285 
289  inline const Aws::String& GetUpdatedAt() const{ return m_updatedAt; }
290 
294  inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
295 
299  inline void SetUpdatedAt(const Aws::String& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
300 
304  inline void SetUpdatedAt(Aws::String&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
305 
309  inline void SetUpdatedAt(const char* value) { m_updatedAtHasBeenSet = true; m_updatedAt.assign(value); }
310 
314  inline Member& WithUpdatedAt(const Aws::String& value) { SetUpdatedAt(value); return *this;}
315 
319  inline Member& WithUpdatedAt(Aws::String&& value) { SetUpdatedAt(std::move(value)); return *this;}
320 
324  inline Member& WithUpdatedAt(const char* value) { SetUpdatedAt(value); return *this;}
325 
326  private:
327 
328  Aws::String m_accountId;
329  bool m_accountIdHasBeenSet;
330 
331  Aws::String m_detectorId;
332  bool m_detectorIdHasBeenSet;
333 
334  Aws::String m_masterId;
335  bool m_masterIdHasBeenSet;
336 
337  Aws::String m_email;
338  bool m_emailHasBeenSet;
339 
340  Aws::String m_relationshipStatus;
341  bool m_relationshipStatusHasBeenSet;
342 
343  Aws::String m_invitedAt;
344  bool m_invitedAtHasBeenSet;
345 
346  Aws::String m_updatedAt;
347  bool m_updatedAtHasBeenSet;
348  };
349 
350 } // namespace Model
351 } // namespace GuardDuty
352 } // namespace Aws
Aws::GuardDuty::Model::Member::SetMasterId
void SetMasterId(const Aws::String &value)
Definition: Member.h:135
Aws::GuardDuty::Model::Member::operator=
Member & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::Member::WithEmail
Member & WithEmail(Aws::String &&value)
Definition: Member.h:196
Aws::GuardDuty::Model::Member::WithAccountId
Member & WithAccountId(const char *value)
Definition: Member.h:78
Aws::GuardDuty::Model::Member::DetectorIdHasBeenSet
bool DetectorIdHasBeenSet() const
Definition: Member.h:89
Aws::GuardDuty::Model::Member::GetAccountId
const Aws::String & GetAccountId() const
Definition: Member.h:43
Aws::GuardDuty::Model::Member::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GuardDuty::Model::Member::WithDetectorId
Member & WithDetectorId(const char *value)
Definition: Member.h:119
Aws::GuardDuty::Model::Member::SetEmail
void SetEmail(const Aws::String &value)
Definition: Member.h:176
Aws::GuardDuty::Model::Member::WithAccountId
Member & WithAccountId(Aws::String &&value)
Definition: Member.h:73
Aws::GuardDuty::Model::Member::WithMasterId
Member & WithMasterId(const char *value)
Definition: Member.h:160
Aws::GuardDuty::Model::Member::WithInvitedAt
Member & WithInvitedAt(const char *value)
Definition: Member.h:283
Aws::GuardDuty::Model::Member::SetRelationshipStatus
void SetRelationshipStatus(const char *value)
Definition: Member.h:227
Aws::GuardDuty::Model::Member::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: Member.h:48
Aws::GuardDuty::Model::Member::SetUpdatedAt
void SetUpdatedAt(Aws::String &&value)
Definition: Member.h:304
Aws::GuardDuty::Model::Member::SetInvitedAt
void SetInvitedAt(const Aws::String &value)
Definition: Member.h:258
Aws::GuardDuty::Model::Member::WithMasterId
Member & WithMasterId(const Aws::String &value)
Definition: Member.h:150
Aws::GuardDuty::Model::Member::SetInvitedAt
void SetInvitedAt(Aws::String &&value)
Definition: Member.h:263
Aws::GuardDuty::Model::Member::WithUpdatedAt
Member & WithUpdatedAt(const char *value)
Definition: Member.h:324
Aws::GuardDuty::Model::Member::WithInvitedAt
Member & WithInvitedAt(const Aws::String &value)
Definition: Member.h:273
Aws::GuardDuty::Model::Member::SetDetectorId
void SetDetectorId(const char *value)
Definition: Member.h:104
Aws::GuardDuty::Model::Member::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: Member.h:58
Aws::GuardDuty::Model::Member::WithRelationshipStatus
Member & WithRelationshipStatus(Aws::String &&value)
Definition: Member.h:237
Aws::GuardDuty::Model::Member::MasterIdHasBeenSet
bool MasterIdHasBeenSet() const
Definition: Member.h:130
Aws::GuardDuty::Model::Member::SetMasterId
void SetMasterId(const char *value)
Definition: Member.h:145
Aws::GuardDuty::Model::Member::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: Member.h:53
Aws::GuardDuty::Model::Member::WithRelationshipStatus
Member & WithRelationshipStatus(const char *value)
Definition: Member.h:242
Aws::GuardDuty::Model::Member::EmailHasBeenSet
bool EmailHasBeenSet() const
Definition: Member.h:171
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::Member::GetMasterId
const Aws::String & GetMasterId() const
Definition: Member.h:125
Aws::GuardDuty::Model::Member::SetEmail
void SetEmail(Aws::String &&value)
Definition: Member.h:181
Aws::GuardDuty::Model::Member::Member
Member()
Aws::GuardDuty::Model::Member::WithMasterId
Member & WithMasterId(Aws::String &&value)
Definition: Member.h:155
Aws::GuardDuty::Model::Member::SetRelationshipStatus
void SetRelationshipStatus(const Aws::String &value)
Definition: Member.h:217
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::Member::WithDetectorId
Member & WithDetectorId(const Aws::String &value)
Definition: Member.h:109
Aws::GuardDuty::Model::Member::WithAccountId
Member & WithAccountId(const Aws::String &value)
Definition: Member.h:68
Aws::GuardDuty::Model::Member::Member
Member(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::Member
Definition: Member.h:32
Aws::GuardDuty::Model::Member::SetMasterId
void SetMasterId(Aws::String &&value)
Definition: Member.h:140
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GuardDuty::Model::Member::GetRelationshipStatus
const Aws::String & GetRelationshipStatus() const
Definition: Member.h:207
Aws::GuardDuty::Model::Member::InvitedAtHasBeenSet
bool InvitedAtHasBeenSet() const
Definition: Member.h:253
Aws::GuardDuty::Model::Member::GetEmail
const Aws::String & GetEmail() const
Definition: Member.h:166
Aws::GuardDuty::Model::Member::WithUpdatedAt
Member & WithUpdatedAt(const Aws::String &value)
Definition: Member.h:314
Aws::GuardDuty::Model::Member::WithInvitedAt
Member & WithInvitedAt(Aws::String &&value)
Definition: Member.h:278
Aws::GuardDuty::Model::Member::SetAccountId
void SetAccountId(const char *value)
Definition: Member.h:63
Aws::GuardDuty::Model::Member::WithDetectorId
Member & WithDetectorId(Aws::String &&value)
Definition: Member.h:114
Aws::GuardDuty::Model::Member::SetUpdatedAt
void SetUpdatedAt(const char *value)
Definition: Member.h:309
Aws::GuardDuty::Model::Member::UpdatedAtHasBeenSet
bool UpdatedAtHasBeenSet() const
Definition: Member.h:294
Aws::GuardDuty::Model::Member::SetEmail
void SetEmail(const char *value)
Definition: Member.h:186
Aws::GuardDuty::Model::Member::GetInvitedAt
const Aws::String & GetInvitedAt() const
Definition: Member.h:248
Aws::GuardDuty::Model::Member::WithEmail
Member & WithEmail(const Aws::String &value)
Definition: Member.h:191
Aws::GuardDuty::Model::Member::RelationshipStatusHasBeenSet
bool RelationshipStatusHasBeenSet() const
Definition: Member.h:212
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::Member::WithUpdatedAt
Member & WithUpdatedAt(Aws::String &&value)
Definition: Member.h:319
Aws::GuardDuty::Model::Member::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition: Member.h:94
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::Member::SetRelationshipStatus
void SetRelationshipStatus(Aws::String &&value)
Definition: Member.h:222
Aws::GuardDuty::Model::Member::SetInvitedAt
void SetInvitedAt(const char *value)
Definition: Member.h:268
Aws::GuardDuty::Model::Member::GetDetectorId
const Aws::String & GetDetectorId() const
Definition: Member.h:84
Aws::GuardDuty::Model::Member::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition: Member.h:99
Aws::GuardDuty::Model::Member::WithEmail
Member & WithEmail(const char *value)
Definition: Member.h:201
Aws::GuardDuty::Model::Member::WithRelationshipStatus
Member & WithRelationshipStatus(const Aws::String &value)
Definition: Member.h:232
Aws::GuardDuty::Model::Member::GetUpdatedAt
const Aws::String & GetUpdatedAt() const
Definition: Member.h:289
Aws::GuardDuty::Model::Member::SetUpdatedAt
void SetUpdatedAt(const Aws::String &value)
Definition: Member.h:299