AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MemberDetail.h
1
6#pragma once
7#include <aws/detective/Detective_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/detective/model/MemberStatus.h>
10#include <aws/detective/model/MemberDisabledReason.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/detective/model/InvitationType.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/detective/model/DatasourcePackage.h>
15#include <aws/detective/model/DatasourcePackageUsageInfo.h>
16#include <aws/detective/model/DatasourcePackageIngestState.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace Detective
30{
31namespace Model
32{
33
41 {
42 public:
43 AWS_DETECTIVE_API MemberDetail();
44 AWS_DETECTIVE_API MemberDetail(Aws::Utils::Json::JsonView jsonValue);
45 AWS_DETECTIVE_API MemberDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const Aws::String& GetAccountId() const{ return m_accountId; }
54 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
55 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
56 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
57 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
58 inline MemberDetail& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
59 inline MemberDetail& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
60 inline MemberDetail& WithAccountId(const char* value) { SetAccountId(value); return *this;}
62
64
68 inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; }
69 inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
70 inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; }
71 inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); }
72 inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); }
73 inline MemberDetail& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;}
74 inline MemberDetail& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;}
75 inline MemberDetail& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;}
77
79
82 inline const Aws::String& GetGraphArn() const{ return m_graphArn; }
83 inline bool GraphArnHasBeenSet() const { return m_graphArnHasBeenSet; }
84 inline void SetGraphArn(const Aws::String& value) { m_graphArnHasBeenSet = true; m_graphArn = value; }
85 inline void SetGraphArn(Aws::String&& value) { m_graphArnHasBeenSet = true; m_graphArn = std::move(value); }
86 inline void SetGraphArn(const char* value) { m_graphArnHasBeenSet = true; m_graphArn.assign(value); }
87 inline MemberDetail& WithGraphArn(const Aws::String& value) { SetGraphArn(value); return *this;}
88 inline MemberDetail& WithGraphArn(Aws::String&& value) { SetGraphArn(std::move(value)); return *this;}
89 inline MemberDetail& WithGraphArn(const char* value) { SetGraphArn(value); return *this;}
91
93
97 inline const Aws::String& GetAdministratorId() const{ return m_administratorId; }
98 inline bool AdministratorIdHasBeenSet() const { return m_administratorIdHasBeenSet; }
99 inline void SetAdministratorId(const Aws::String& value) { m_administratorIdHasBeenSet = true; m_administratorId = value; }
100 inline void SetAdministratorId(Aws::String&& value) { m_administratorIdHasBeenSet = true; m_administratorId = std::move(value); }
101 inline void SetAdministratorId(const char* value) { m_administratorIdHasBeenSet = true; m_administratorId.assign(value); }
102 inline MemberDetail& WithAdministratorId(const Aws::String& value) { SetAdministratorId(value); return *this;}
103 inline MemberDetail& WithAdministratorId(Aws::String&& value) { SetAdministratorId(std::move(value)); return *this;}
104 inline MemberDetail& WithAdministratorId(const char* value) { SetAdministratorId(value); return *this;}
106
108
136 inline const MemberStatus& GetStatus() const{ return m_status; }
137 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
138 inline void SetStatus(const MemberStatus& value) { m_statusHasBeenSet = true; m_status = value; }
139 inline void SetStatus(MemberStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
140 inline MemberDetail& WithStatus(const MemberStatus& value) { SetStatus(value); return *this;}
141 inline MemberDetail& WithStatus(MemberStatus&& value) { SetStatus(std::move(value)); return *this;}
143
145
155 inline const MemberDisabledReason& GetDisabledReason() const{ return m_disabledReason; }
156 inline bool DisabledReasonHasBeenSet() const { return m_disabledReasonHasBeenSet; }
157 inline void SetDisabledReason(const MemberDisabledReason& value) { m_disabledReasonHasBeenSet = true; m_disabledReason = value; }
158 inline void SetDisabledReason(MemberDisabledReason&& value) { m_disabledReasonHasBeenSet = true; m_disabledReason = std::move(value); }
159 inline MemberDetail& WithDisabledReason(const MemberDisabledReason& value) { SetDisabledReason(value); return *this;}
160 inline MemberDetail& WithDisabledReason(MemberDisabledReason&& value) { SetDisabledReason(std::move(value)); return *this;}
162
164
169 inline const Aws::Utils::DateTime& GetInvitedTime() const{ return m_invitedTime; }
170 inline bool InvitedTimeHasBeenSet() const { return m_invitedTimeHasBeenSet; }
171 inline void SetInvitedTime(const Aws::Utils::DateTime& value) { m_invitedTimeHasBeenSet = true; m_invitedTime = value; }
172 inline void SetInvitedTime(Aws::Utils::DateTime&& value) { m_invitedTimeHasBeenSet = true; m_invitedTime = std::move(value); }
173 inline MemberDetail& WithInvitedTime(const Aws::Utils::DateTime& value) { SetInvitedTime(value); return *this;}
174 inline MemberDetail& WithInvitedTime(Aws::Utils::DateTime&& value) { SetInvitedTime(std::move(value)); return *this;}
176
178
183 inline const Aws::Utils::DateTime& GetUpdatedTime() const{ return m_updatedTime; }
184 inline bool UpdatedTimeHasBeenSet() const { return m_updatedTimeHasBeenSet; }
185 inline void SetUpdatedTime(const Aws::Utils::DateTime& value) { m_updatedTimeHasBeenSet = true; m_updatedTime = value; }
186 inline void SetUpdatedTime(Aws::Utils::DateTime&& value) { m_updatedTimeHasBeenSet = true; m_updatedTime = std::move(value); }
187 inline MemberDetail& WithUpdatedTime(const Aws::Utils::DateTime& value) { SetUpdatedTime(value); return *this;}
188 inline MemberDetail& WithUpdatedTime(Aws::Utils::DateTime&& value) { SetUpdatedTime(std::move(value)); return *this;}
190
192
198 inline const InvitationType& GetInvitationType() const{ return m_invitationType; }
199 inline bool InvitationTypeHasBeenSet() const { return m_invitationTypeHasBeenSet; }
200 inline void SetInvitationType(const InvitationType& value) { m_invitationTypeHasBeenSet = true; m_invitationType = value; }
201 inline void SetInvitationType(InvitationType&& value) { m_invitationTypeHasBeenSet = true; m_invitationType = std::move(value); }
202 inline MemberDetail& WithInvitationType(const InvitationType& value) { SetInvitationType(value); return *this;}
203 inline MemberDetail& WithInvitationType(InvitationType&& value) { SetInvitationType(std::move(value)); return *this;}
205
207
211 inline const Aws::Map<DatasourcePackage, DatasourcePackageUsageInfo>& GetVolumeUsageByDatasourcePackage() const{ return m_volumeUsageByDatasourcePackage; }
212 inline bool VolumeUsageByDatasourcePackageHasBeenSet() const { return m_volumeUsageByDatasourcePackageHasBeenSet; }
213 inline void SetVolumeUsageByDatasourcePackage(const Aws::Map<DatasourcePackage, DatasourcePackageUsageInfo>& value) { m_volumeUsageByDatasourcePackageHasBeenSet = true; m_volumeUsageByDatasourcePackage = value; }
214 inline void SetVolumeUsageByDatasourcePackage(Aws::Map<DatasourcePackage, DatasourcePackageUsageInfo>&& value) { m_volumeUsageByDatasourcePackageHasBeenSet = true; m_volumeUsageByDatasourcePackage = std::move(value); }
217 inline MemberDetail& AddVolumeUsageByDatasourcePackage(const DatasourcePackage& key, const DatasourcePackageUsageInfo& value) { m_volumeUsageByDatasourcePackageHasBeenSet = true; m_volumeUsageByDatasourcePackage.emplace(key, value); return *this; }
218 inline MemberDetail& AddVolumeUsageByDatasourcePackage(DatasourcePackage&& key, const DatasourcePackageUsageInfo& value) { m_volumeUsageByDatasourcePackageHasBeenSet = true; m_volumeUsageByDatasourcePackage.emplace(std::move(key), value); return *this; }
219 inline MemberDetail& AddVolumeUsageByDatasourcePackage(const DatasourcePackage& key, DatasourcePackageUsageInfo&& value) { m_volumeUsageByDatasourcePackageHasBeenSet = true; m_volumeUsageByDatasourcePackage.emplace(key, std::move(value)); return *this; }
220 inline MemberDetail& AddVolumeUsageByDatasourcePackage(DatasourcePackage&& key, DatasourcePackageUsageInfo&& value) { m_volumeUsageByDatasourcePackageHasBeenSet = true; m_volumeUsageByDatasourcePackage.emplace(std::move(key), std::move(value)); return *this; }
222
224
227 inline const Aws::Map<DatasourcePackage, DatasourcePackageIngestState>& GetDatasourcePackageIngestStates() const{ return m_datasourcePackageIngestStates; }
228 inline bool DatasourcePackageIngestStatesHasBeenSet() const { return m_datasourcePackageIngestStatesHasBeenSet; }
229 inline void SetDatasourcePackageIngestStates(const Aws::Map<DatasourcePackage, DatasourcePackageIngestState>& value) { m_datasourcePackageIngestStatesHasBeenSet = true; m_datasourcePackageIngestStates = value; }
230 inline void SetDatasourcePackageIngestStates(Aws::Map<DatasourcePackage, DatasourcePackageIngestState>&& value) { m_datasourcePackageIngestStatesHasBeenSet = true; m_datasourcePackageIngestStates = std::move(value); }
233 inline MemberDetail& AddDatasourcePackageIngestStates(const DatasourcePackage& key, const DatasourcePackageIngestState& value) { m_datasourcePackageIngestStatesHasBeenSet = true; m_datasourcePackageIngestStates.emplace(key, value); return *this; }
234 inline MemberDetail& AddDatasourcePackageIngestStates(DatasourcePackage&& key, const DatasourcePackageIngestState& value) { m_datasourcePackageIngestStatesHasBeenSet = true; m_datasourcePackageIngestStates.emplace(std::move(key), value); return *this; }
235 inline MemberDetail& AddDatasourcePackageIngestStates(const DatasourcePackage& key, DatasourcePackageIngestState&& value) { m_datasourcePackageIngestStatesHasBeenSet = true; m_datasourcePackageIngestStates.emplace(key, std::move(value)); return *this; }
236 inline MemberDetail& AddDatasourcePackageIngestStates(DatasourcePackage&& key, DatasourcePackageIngestState&& value) { m_datasourcePackageIngestStatesHasBeenSet = true; m_datasourcePackageIngestStates.emplace(std::move(key), std::move(value)); return *this; }
238 private:
239
240 Aws::String m_accountId;
241 bool m_accountIdHasBeenSet = false;
242
243 Aws::String m_emailAddress;
244 bool m_emailAddressHasBeenSet = false;
245
246 Aws::String m_graphArn;
247 bool m_graphArnHasBeenSet = false;
248
249 Aws::String m_administratorId;
250 bool m_administratorIdHasBeenSet = false;
251
252 MemberStatus m_status;
253 bool m_statusHasBeenSet = false;
254
255 MemberDisabledReason m_disabledReason;
256 bool m_disabledReasonHasBeenSet = false;
257
258 Aws::Utils::DateTime m_invitedTime;
259 bool m_invitedTimeHasBeenSet = false;
260
261 Aws::Utils::DateTime m_updatedTime;
262 bool m_updatedTimeHasBeenSet = false;
263
264 InvitationType m_invitationType;
265 bool m_invitationTypeHasBeenSet = false;
266
267 Aws::Map<DatasourcePackage, DatasourcePackageUsageInfo> m_volumeUsageByDatasourcePackage;
268 bool m_volumeUsageByDatasourcePackageHasBeenSet = false;
269
270 Aws::Map<DatasourcePackage, DatasourcePackageIngestState> m_datasourcePackageIngestStates;
271 bool m_datasourcePackageIngestStatesHasBeenSet = false;
272 };
273
274} // namespace Model
275} // namespace Detective
276} // namespace Aws
void SetVolumeUsageByDatasourcePackage(const Aws::Map< DatasourcePackage, DatasourcePackageUsageInfo > &value)
bool VolumeUsageByDatasourcePackageHasBeenSet() const
const Aws::Utils::DateTime & GetInvitedTime() const
void SetInvitedTime(const Aws::Utils::DateTime &value)
MemberDetail & AddVolumeUsageByDatasourcePackage(const DatasourcePackage &key, const DatasourcePackageUsageInfo &value)
void SetEmailAddress(Aws::String &&value)
AWS_DETECTIVE_API MemberDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
MemberDetail & WithGraphArn(Aws::String &&value)
const MemberStatus & GetStatus() const
MemberDetail & AddVolumeUsageByDatasourcePackage(DatasourcePackage &&key, DatasourcePackageUsageInfo &&value)
const Aws::String & GetAccountId() const
const Aws::String & GetGraphArn() const
MemberDetail & WithDatasourcePackageIngestStates(const Aws::Map< DatasourcePackage, DatasourcePackageIngestState > &value)
MemberDetail & WithVolumeUsageByDatasourcePackage(Aws::Map< DatasourcePackage, DatasourcePackageUsageInfo > &&value)
void SetUpdatedTime(const Aws::Utils::DateTime &value)
MemberDetail & AddDatasourcePackageIngestStates(DatasourcePackage &&key, DatasourcePackageIngestState &&value)
void SetInvitationType(InvitationType &&value)
void SetInvitedTime(Aws::Utils::DateTime &&value)
MemberDetail & AddVolumeUsageByDatasourcePackage(DatasourcePackage &&key, const DatasourcePackageUsageInfo &value)
MemberDetail & AddVolumeUsageByDatasourcePackage(const DatasourcePackage &key, DatasourcePackageUsageInfo &&value)
void SetInvitationType(const InvitationType &value)
MemberDetail & WithDisabledReason(MemberDisabledReason &&value)
MemberDetail & WithAccountId(const Aws::String &value)
MemberDetail & WithAdministratorId(const Aws::String &value)
const InvitationType & GetInvitationType() const
MemberDetail & WithDisabledReason(const MemberDisabledReason &value)
void SetVolumeUsageByDatasourcePackage(Aws::Map< DatasourcePackage, DatasourcePackageUsageInfo > &&value)
const Aws::Utils::DateTime & GetUpdatedTime() const
MemberDetail & WithUpdatedTime(const Aws::Utils::DateTime &value)
MemberDetail & WithAccountId(const char *value)
void SetStatus(MemberStatus &&value)
const Aws::Map< DatasourcePackage, DatasourcePackageIngestState > & GetDatasourcePackageIngestStates() const
MemberDetail & WithAdministratorId(const char *value)
MemberDetail & WithStatus(MemberStatus &&value)
void SetAdministratorId(const char *value)
void SetDisabledReason(const MemberDisabledReason &value)
MemberDetail & WithInvitationType(InvitationType &&value)
MemberDetail & WithEmailAddress(Aws::String &&value)
MemberDetail & WithAdministratorId(Aws::String &&value)
const Aws::String & GetEmailAddress() const
MemberDetail & WithVolumeUsageByDatasourcePackage(const Aws::Map< DatasourcePackage, DatasourcePackageUsageInfo > &value)
MemberDetail & WithDatasourcePackageIngestStates(Aws::Map< DatasourcePackage, DatasourcePackageIngestState > &&value)
const Aws::String & GetAdministratorId() const
void SetGraphArn(const char *value)
void SetEmailAddress(const Aws::String &value)
void SetAdministratorId(Aws::String &&value)
void SetDatasourcePackageIngestStates(Aws::Map< DatasourcePackage, DatasourcePackageIngestState > &&value)
MemberDetail & WithGraphArn(const Aws::String &value)
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAdministratorId(const Aws::String &value)
MemberDetail & AddDatasourcePackageIngestStates(const DatasourcePackage &key, DatasourcePackageIngestState &&value)
void SetUpdatedTime(Aws::Utils::DateTime &&value)
void SetAccountId(const Aws::String &value)
MemberDetail & WithEmailAddress(const char *value)
const MemberDisabledReason & GetDisabledReason() const
MemberDetail & WithInvitationType(const InvitationType &value)
MemberDetail & WithGraphArn(const char *value)
void SetDatasourcePackageIngestStates(const Aws::Map< DatasourcePackage, DatasourcePackageIngestState > &value)
void SetEmailAddress(const char *value)
MemberDetail & AddDatasourcePackageIngestStates(const DatasourcePackage &key, const DatasourcePackageIngestState &value)
bool DatasourcePackageIngestStatesHasBeenSet() const
void SetStatus(const MemberStatus &value)
MemberDetail & WithAccountId(Aws::String &&value)
MemberDetail & WithInvitedTime(Aws::Utils::DateTime &&value)
void SetGraphArn(const Aws::String &value)
MemberDetail & WithStatus(const MemberStatus &value)
const Aws::Map< DatasourcePackage, DatasourcePackageUsageInfo > & GetVolumeUsageByDatasourcePackage() const
void SetGraphArn(Aws::String &&value)
void SetAccountId(Aws::String &&value)
void SetAccountId(const char *value)
MemberDetail & WithUpdatedTime(Aws::Utils::DateTime &&value)
MemberDetail & WithEmailAddress(const Aws::String &value)
MemberDetail & AddDatasourcePackageIngestStates(DatasourcePackage &&key, const DatasourcePackageIngestState &value)
void SetDisabledReason(MemberDisabledReason &&value)
AWS_DETECTIVE_API MemberDetail(Aws::Utils::Json::JsonView jsonValue)
MemberDetail & WithInvitedTime(const Aws::Utils::DateTime &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue