AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
Member.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GuardDuty {
20namespace Model {
21
27class Member {
28 public:
29 AWS_GUARDDUTY_API Member() = default;
30 AWS_GUARDDUTY_API Member(Aws::Utils::Json::JsonView jsonValue);
31 AWS_GUARDDUTY_API Member& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetAccountId() const { return m_accountId; }
39 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
40 template <typename AccountIdT = Aws::String>
41 void SetAccountId(AccountIdT&& value) {
42 m_accountIdHasBeenSet = true;
43 m_accountId = std::forward<AccountIdT>(value);
44 }
45 template <typename AccountIdT = Aws::String>
46 Member& WithAccountId(AccountIdT&& value) {
47 SetAccountId(std::forward<AccountIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDetectorId() const { return m_detectorId; }
57 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
58 template <typename DetectorIdT = Aws::String>
59 void SetDetectorId(DetectorIdT&& value) {
60 m_detectorIdHasBeenSet = true;
61 m_detectorId = std::forward<DetectorIdT>(value);
62 }
63 template <typename DetectorIdT = Aws::String>
64 Member& WithDetectorId(DetectorIdT&& value) {
65 SetDetectorId(std::forward<DetectorIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetMasterId() const { return m_masterId; }
75 inline bool MasterIdHasBeenSet() const { return m_masterIdHasBeenSet; }
76 template <typename MasterIdT = Aws::String>
77 void SetMasterId(MasterIdT&& value) {
78 m_masterIdHasBeenSet = true;
79 m_masterId = std::forward<MasterIdT>(value);
80 }
81 template <typename MasterIdT = Aws::String>
82 Member& WithMasterId(MasterIdT&& value) {
83 SetMasterId(std::forward<MasterIdT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetEmail() const { return m_email; }
93 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
94 template <typename EmailT = Aws::String>
95 void SetEmail(EmailT&& value) {
96 m_emailHasBeenSet = true;
97 m_email = std::forward<EmailT>(value);
98 }
99 template <typename EmailT = Aws::String>
100 Member& WithEmail(EmailT&& value) {
101 SetEmail(std::forward<EmailT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetRelationshipStatus() const { return m_relationshipStatus; }
111 inline bool RelationshipStatusHasBeenSet() const { return m_relationshipStatusHasBeenSet; }
112 template <typename RelationshipStatusT = Aws::String>
113 void SetRelationshipStatus(RelationshipStatusT&& value) {
114 m_relationshipStatusHasBeenSet = true;
115 m_relationshipStatus = std::forward<RelationshipStatusT>(value);
116 }
117 template <typename RelationshipStatusT = Aws::String>
118 Member& WithRelationshipStatus(RelationshipStatusT&& value) {
119 SetRelationshipStatus(std::forward<RelationshipStatusT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::String& GetInvitedAt() const { return m_invitedAt; }
129 inline bool InvitedAtHasBeenSet() const { return m_invitedAtHasBeenSet; }
130 template <typename InvitedAtT = Aws::String>
131 void SetInvitedAt(InvitedAtT&& value) {
132 m_invitedAtHasBeenSet = true;
133 m_invitedAt = std::forward<InvitedAtT>(value);
134 }
135 template <typename InvitedAtT = Aws::String>
136 Member& WithInvitedAt(InvitedAtT&& value) {
137 SetInvitedAt(std::forward<InvitedAtT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetUpdatedAt() const { return m_updatedAt; }
147 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
148 template <typename UpdatedAtT = Aws::String>
149 void SetUpdatedAt(UpdatedAtT&& value) {
150 m_updatedAtHasBeenSet = true;
151 m_updatedAt = std::forward<UpdatedAtT>(value);
152 }
153 template <typename UpdatedAtT = Aws::String>
154 Member& WithUpdatedAt(UpdatedAtT&& value) {
155 SetUpdatedAt(std::forward<UpdatedAtT>(value));
156 return *this;
157 }
159
161
164 inline const Aws::String& GetAdministratorId() const { return m_administratorId; }
165 inline bool AdministratorIdHasBeenSet() const { return m_administratorIdHasBeenSet; }
166 template <typename AdministratorIdT = Aws::String>
167 void SetAdministratorId(AdministratorIdT&& value) {
168 m_administratorIdHasBeenSet = true;
169 m_administratorId = std::forward<AdministratorIdT>(value);
170 }
171 template <typename AdministratorIdT = Aws::String>
172 Member& WithAdministratorId(AdministratorIdT&& value) {
173 SetAdministratorId(std::forward<AdministratorIdT>(value));
174 return *this;
175 }
177 private:
178 Aws::String m_accountId;
179
180 Aws::String m_detectorId;
181
182 Aws::String m_masterId;
183
184 Aws::String m_email;
185
186 Aws::String m_relationshipStatus;
187
188 Aws::String m_invitedAt;
189
190 Aws::String m_updatedAt;
191
192 Aws::String m_administratorId;
193 bool m_accountIdHasBeenSet = false;
194 bool m_detectorIdHasBeenSet = false;
195 bool m_masterIdHasBeenSet = false;
196 bool m_emailHasBeenSet = false;
197 bool m_relationshipStatusHasBeenSet = false;
198 bool m_invitedAtHasBeenSet = false;
199 bool m_updatedAtHasBeenSet = false;
200 bool m_administratorIdHasBeenSet = false;
201};
202
203} // namespace Model
204} // namespace GuardDuty
205} // namespace Aws
void SetRelationshipStatus(RelationshipStatusT &&value)
Definition Member.h:113
void SetUpdatedAt(UpdatedAtT &&value)
Definition Member.h:149
void SetMasterId(MasterIdT &&value)
Definition Member.h:77
const Aws::String & GetEmail() const
Definition Member.h:92
const Aws::String & GetRelationshipStatus() const
Definition Member.h:110
const Aws::String & GetAccountId() const
Definition Member.h:38
bool AdministratorIdHasBeenSet() const
Definition Member.h:165
void SetEmail(EmailT &&value)
Definition Member.h:95
Member & WithUpdatedAt(UpdatedAtT &&value)
Definition Member.h:154
Member & WithRelationshipStatus(RelationshipStatusT &&value)
Definition Member.h:118
bool UpdatedAtHasBeenSet() const
Definition Member.h:147
bool RelationshipStatusHasBeenSet() const
Definition Member.h:111
AWS_GUARDDUTY_API Member & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAdministratorId(AdministratorIdT &&value)
Definition Member.h:167
const Aws::String & GetMasterId() const
Definition Member.h:74
Member & WithInvitedAt(InvitedAtT &&value)
Definition Member.h:136
bool InvitedAtHasBeenSet() const
Definition Member.h:129
Member & WithAdministratorId(AdministratorIdT &&value)
Definition Member.h:172
Member & WithDetectorId(DetectorIdT &&value)
Definition Member.h:64
void SetDetectorId(DetectorIdT &&value)
Definition Member.h:59
const Aws::String & GetUpdatedAt() const
Definition Member.h:146
Member & WithMasterId(MasterIdT &&value)
Definition Member.h:82
AWS_GUARDDUTY_API Member()=default
AWS_GUARDDUTY_API Member(Aws::Utils::Json::JsonView jsonValue)
bool EmailHasBeenSet() const
Definition Member.h:93
void SetInvitedAt(InvitedAtT &&value)
Definition Member.h:131
const Aws::String & GetDetectorId() const
Definition Member.h:56
void SetAccountId(AccountIdT &&value)
Definition Member.h:41
Member & WithAccountId(AccountIdT &&value)
Definition Member.h:46
bool MasterIdHasBeenSet() const
Definition Member.h:75
const Aws::String & GetInvitedAt() const
Definition Member.h:128
Member & WithEmail(EmailT &&value)
Definition Member.h:100
bool AccountIdHasBeenSet() const
Definition Member.h:39
const Aws::String & GetAdministratorId() const
Definition Member.h:164
bool DetectorIdHasBeenSet() const
Definition Member.h:57
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue