AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Member.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GuardDuty
22{
23namespace Model
24{
25
31 class Member
32 {
33 public:
34 AWS_GUARDDUTY_API Member();
35 AWS_GUARDDUTY_API Member(Aws::Utils::Json::JsonView jsonValue);
36 AWS_GUARDDUTY_API Member& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetAccountId() const{ return m_accountId; }
45 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
46 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
47 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
48 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
49 inline Member& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
50 inline Member& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
51 inline Member& WithAccountId(const char* value) { SetAccountId(value); return *this;}
53
55
58 inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
59 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
60 inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
61 inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
62 inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
63 inline Member& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
64 inline Member& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
65 inline Member& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
67
69
72 inline const Aws::String& GetMasterId() const{ return m_masterId; }
73 inline bool MasterIdHasBeenSet() const { return m_masterIdHasBeenSet; }
74 inline void SetMasterId(const Aws::String& value) { m_masterIdHasBeenSet = true; m_masterId = value; }
75 inline void SetMasterId(Aws::String&& value) { m_masterIdHasBeenSet = true; m_masterId = std::move(value); }
76 inline void SetMasterId(const char* value) { m_masterIdHasBeenSet = true; m_masterId.assign(value); }
77 inline Member& WithMasterId(const Aws::String& value) { SetMasterId(value); return *this;}
78 inline Member& WithMasterId(Aws::String&& value) { SetMasterId(std::move(value)); return *this;}
79 inline Member& WithMasterId(const char* value) { SetMasterId(value); return *this;}
81
83
86 inline const Aws::String& GetEmail() const{ return m_email; }
87 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
88 inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; }
89 inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); }
90 inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); }
91 inline Member& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
92 inline Member& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
93 inline Member& WithEmail(const char* value) { SetEmail(value); return *this;}
95
97
100 inline const Aws::String& GetRelationshipStatus() const{ return m_relationshipStatus; }
101 inline bool RelationshipStatusHasBeenSet() const { return m_relationshipStatusHasBeenSet; }
102 inline void SetRelationshipStatus(const Aws::String& value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = value; }
103 inline void SetRelationshipStatus(Aws::String&& value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = std::move(value); }
104 inline void SetRelationshipStatus(const char* value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus.assign(value); }
105 inline Member& WithRelationshipStatus(const Aws::String& value) { SetRelationshipStatus(value); return *this;}
106 inline Member& WithRelationshipStatus(Aws::String&& value) { SetRelationshipStatus(std::move(value)); return *this;}
107 inline Member& WithRelationshipStatus(const char* value) { SetRelationshipStatus(value); return *this;}
109
111
114 inline const Aws::String& GetInvitedAt() const{ return m_invitedAt; }
115 inline bool InvitedAtHasBeenSet() const { return m_invitedAtHasBeenSet; }
116 inline void SetInvitedAt(const Aws::String& value) { m_invitedAtHasBeenSet = true; m_invitedAt = value; }
117 inline void SetInvitedAt(Aws::String&& value) { m_invitedAtHasBeenSet = true; m_invitedAt = std::move(value); }
118 inline void SetInvitedAt(const char* value) { m_invitedAtHasBeenSet = true; m_invitedAt.assign(value); }
119 inline Member& WithInvitedAt(const Aws::String& value) { SetInvitedAt(value); return *this;}
120 inline Member& WithInvitedAt(Aws::String&& value) { SetInvitedAt(std::move(value)); return *this;}
121 inline Member& WithInvitedAt(const char* value) { SetInvitedAt(value); return *this;}
123
125
128 inline const Aws::String& GetUpdatedAt() const{ return m_updatedAt; }
129 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
130 inline void SetUpdatedAt(const Aws::String& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
131 inline void SetUpdatedAt(Aws::String&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
132 inline void SetUpdatedAt(const char* value) { m_updatedAtHasBeenSet = true; m_updatedAt.assign(value); }
133 inline Member& WithUpdatedAt(const Aws::String& value) { SetUpdatedAt(value); return *this;}
134 inline Member& WithUpdatedAt(Aws::String&& value) { SetUpdatedAt(std::move(value)); return *this;}
135 inline Member& WithUpdatedAt(const char* value) { SetUpdatedAt(value); return *this;}
137
139
142 inline const Aws::String& GetAdministratorId() const{ return m_administratorId; }
143 inline bool AdministratorIdHasBeenSet() const { return m_administratorIdHasBeenSet; }
144 inline void SetAdministratorId(const Aws::String& value) { m_administratorIdHasBeenSet = true; m_administratorId = value; }
145 inline void SetAdministratorId(Aws::String&& value) { m_administratorIdHasBeenSet = true; m_administratorId = std::move(value); }
146 inline void SetAdministratorId(const char* value) { m_administratorIdHasBeenSet = true; m_administratorId.assign(value); }
147 inline Member& WithAdministratorId(const Aws::String& value) { SetAdministratorId(value); return *this;}
148 inline Member& WithAdministratorId(Aws::String&& value) { SetAdministratorId(std::move(value)); return *this;}
149 inline Member& WithAdministratorId(const char* value) { SetAdministratorId(value); return *this;}
151 private:
152
153 Aws::String m_accountId;
154 bool m_accountIdHasBeenSet = false;
155
156 Aws::String m_detectorId;
157 bool m_detectorIdHasBeenSet = false;
158
159 Aws::String m_masterId;
160 bool m_masterIdHasBeenSet = false;
161
162 Aws::String m_email;
163 bool m_emailHasBeenSet = false;
164
165 Aws::String m_relationshipStatus;
166 bool m_relationshipStatusHasBeenSet = false;
167
168 Aws::String m_invitedAt;
169 bool m_invitedAtHasBeenSet = false;
170
171 Aws::String m_updatedAt;
172 bool m_updatedAtHasBeenSet = false;
173
174 Aws::String m_administratorId;
175 bool m_administratorIdHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace GuardDuty
180} // namespace Aws
Member & WithEmail(Aws::String &&value)
Definition Member.h:92
void SetAdministratorId(const char *value)
Definition Member.h:146
void SetDetectorId(const Aws::String &value)
Definition Member.h:60
void SetUpdatedAt(const Aws::String &value)
Definition Member.h:130
AWS_GUARDDUTY_API Member()
void SetAccountId(Aws::String &&value)
Definition Member.h:47
Member & WithEmail(const Aws::String &value)
Definition Member.h:91
void SetInvitedAt(const char *value)
Definition Member.h:118
const Aws::String & GetEmail() const
Definition Member.h:86
const Aws::String & GetRelationshipStatus() const
Definition Member.h:100
void SetDetectorId(Aws::String &&value)
Definition Member.h:61
const Aws::String & GetAccountId() const
Definition Member.h:44
Member & WithMasterId(const char *value)
Definition Member.h:79
Member & WithUpdatedAt(Aws::String &&value)
Definition Member.h:134
void SetAdministratorId(Aws::String &&value)
Definition Member.h:145
void SetEmail(Aws::String &&value)
Definition Member.h:89
void SetMasterId(const Aws::String &value)
Definition Member.h:74
Member & WithAccountId(const Aws::String &value)
Definition Member.h:49
bool AdministratorIdHasBeenSet() const
Definition Member.h:143
Member & WithDetectorId(const Aws::String &value)
Definition Member.h:63
void SetUpdatedAt(const char *value)
Definition Member.h:132
void SetRelationshipStatus(const char *value)
Definition Member.h:104
Member & WithMasterId(const Aws::String &value)
Definition Member.h:77
void SetDetectorId(const char *value)
Definition Member.h:62
void SetMasterId(Aws::String &&value)
Definition Member.h:75
void SetAdministratorId(const Aws::String &value)
Definition Member.h:144
bool UpdatedAtHasBeenSet() const
Definition Member.h:129
void SetInvitedAt(Aws::String &&value)
Definition Member.h:117
Member & WithRelationshipStatus(const Aws::String &value)
Definition Member.h:105
Member & WithRelationshipStatus(const char *value)
Definition Member.h:107
void SetEmail(const Aws::String &value)
Definition Member.h:88
Member & WithUpdatedAt(const char *value)
Definition Member.h:135
Member & WithAdministratorId(const char *value)
Definition Member.h:149
bool RelationshipStatusHasBeenSet() const
Definition Member.h:101
AWS_GUARDDUTY_API Member & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAccountId(const char *value)
Definition Member.h:48
Member & WithAdministratorId(Aws::String &&value)
Definition Member.h:148
Member & WithAdministratorId(const Aws::String &value)
Definition Member.h:147
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
Member & WithAccountId(Aws::String &&value)
Definition Member.h:50
Member & WithInvitedAt(const char *value)
Definition Member.h:121
Member & WithDetectorId(Aws::String &&value)
Definition Member.h:64
void SetAccountId(const Aws::String &value)
Definition Member.h:46
const Aws::String & GetMasterId() const
Definition Member.h:72
void SetUpdatedAt(Aws::String &&value)
Definition Member.h:131
bool InvitedAtHasBeenSet() const
Definition Member.h:115
void SetInvitedAt(const Aws::String &value)
Definition Member.h:116
const Aws::String & GetUpdatedAt() const
Definition Member.h:128
Member & WithMasterId(Aws::String &&value)
Definition Member.h:78
Member & WithInvitedAt(Aws::String &&value)
Definition Member.h:120
Member & WithAccountId(const char *value)
Definition Member.h:51
void SetRelationshipStatus(const Aws::String &value)
Definition Member.h:102
AWS_GUARDDUTY_API Member(Aws::Utils::Json::JsonView jsonValue)
void SetRelationshipStatus(Aws::String &&value)
Definition Member.h:103
void SetEmail(const char *value)
Definition Member.h:90
bool EmailHasBeenSet() const
Definition Member.h:87
const Aws::String & GetDetectorId() const
Definition Member.h:58
Member & WithDetectorId(const char *value)
Definition Member.h:65
bool MasterIdHasBeenSet() const
Definition Member.h:73
const Aws::String & GetInvitedAt() const
Definition Member.h:114
void SetMasterId(const char *value)
Definition Member.h:76
Member & WithRelationshipStatus(Aws::String &&value)
Definition Member.h:106
bool AccountIdHasBeenSet() const
Definition Member.h:45
Member & WithUpdatedAt(const Aws::String &value)
Definition Member.h:133
const Aws::String & GetAdministratorId() const
Definition Member.h:142
Member & WithInvitedAt(const Aws::String &value)
Definition Member.h:119
bool DetectorIdHasBeenSet() const
Definition Member.h:59
Member & WithEmail(const char *value)
Definition Member.h:93
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue