in appstream-center-20210220/include/alibabacloud/appstream_center_20210220.hpp [686:800]
void fromMap(map<string, boost::any> m) override {
if (m.find("AuthenticationCode") != m.end() && !m["AuthenticationCode"].empty()) {
authenticationCode = make_shared<string>(boost::any_cast<string>(m["AuthenticationCode"]));
}
if (m.find("AvailableFeatures") != m.end() && !m["AvailableFeatures"].empty()) {
map<string, string> map1 = boost::any_cast<map<string, string>>(m["AvailableFeatures"]);
map<string, string> toMap1;
for (auto item:map1) {
toMap1[item.first] = item.second;
}
availableFeatures = make_shared<map<string, string>>(toMap1);
}
if (m.find("ClientId") != m.end() && !m["ClientId"].empty()) {
clientId = make_shared<string>(boost::any_cast<string>(m["ClientId"]));
}
if (m.find("ClientName") != m.end() && !m["ClientName"].empty()) {
clientName = make_shared<string>(boost::any_cast<string>(m["ClientName"]));
}
if (m.find("ClientOS") != m.end() && !m["ClientOS"].empty()) {
clientOS = make_shared<string>(boost::any_cast<string>(m["ClientOS"]));
}
if (m.find("ClientType") != m.end() && !m["ClientType"].empty()) {
clientType = make_shared<string>(boost::any_cast<string>(m["ClientType"]));
}
if (m.find("ClientVersion") != m.end() && !m["ClientVersion"].empty()) {
clientVersion = make_shared<string>(boost::any_cast<string>(m["ClientVersion"]));
}
if (m.find("CurrentStage") != m.end() && !m["CurrentStage"].empty()) {
currentStage = make_shared<string>(boost::any_cast<string>(m["CurrentStage"]));
}
if (m.find("DirectoryId") != m.end() && !m["DirectoryId"].empty()) {
directoryId = make_shared<string>(boost::any_cast<string>(m["DirectoryId"]));
}
if (m.find("EncryptedFingerPrintData") != m.end() && !m["EncryptedFingerPrintData"].empty()) {
encryptedFingerPrintData = make_shared<string>(boost::any_cast<string>(m["EncryptedFingerPrintData"]));
}
if (m.find("EncryptedKey") != m.end() && !m["EncryptedKey"].empty()) {
encryptedKey = make_shared<string>(boost::any_cast<string>(m["EncryptedKey"]));
}
if (m.find("EncryptedPassword") != m.end() && !m["EncryptedPassword"].empty()) {
encryptedPassword = make_shared<string>(boost::any_cast<string>(m["EncryptedPassword"]));
}
if (m.find("EndUserId") != m.end() && !m["EndUserId"].empty()) {
endUserId = make_shared<string>(boost::any_cast<string>(m["EndUserId"]));
}
if (m.find("FingerPrintData") != m.end() && !m["FingerPrintData"].empty()) {
fingerPrintData = make_shared<string>(boost::any_cast<string>(m["FingerPrintData"]));
}
if (m.find("IdpId") != m.end() && !m["IdpId"].empty()) {
idpId = make_shared<string>(boost::any_cast<string>(m["IdpId"]));
}
if (m.find("ImageUrl") != m.end() && !m["ImageUrl"].empty()) {
imageUrl = make_shared<string>(boost::any_cast<string>(m["ImageUrl"]));
}
if (m.find("KeepAlive") != m.end() && !m["KeepAlive"].empty()) {
keepAlive = make_shared<bool>(boost::any_cast<bool>(m["KeepAlive"]));
}
if (m.find("KeepAliveToken") != m.end() && !m["KeepAliveToken"].empty()) {
keepAliveToken = make_shared<string>(boost::any_cast<string>(m["KeepAliveToken"]));
}
if (m.find("LoginIdentifier") != m.end() && !m["LoginIdentifier"].empty()) {
loginIdentifier = make_shared<string>(boost::any_cast<string>(m["LoginIdentifier"]));
}
if (m.find("LoginName") != m.end() && !m["LoginName"].empty()) {
loginName = make_shared<string>(boost::any_cast<string>(m["LoginName"]));
}
if (m.find("MfaType") != m.end() && !m["MfaType"].empty()) {
mfaType = make_shared<string>(boost::any_cast<string>(m["MfaType"]));
}
if (m.find("NetworkType") != m.end() && !m["NetworkType"].empty()) {
networkType = make_shared<string>(boost::any_cast<string>(m["NetworkType"]));
}
if (m.find("NewPassword") != m.end() && !m["NewPassword"].empty()) {
newPassword = make_shared<string>(boost::any_cast<string>(m["NewPassword"]));
}
if (m.find("OfficeSiteId") != m.end() && !m["OfficeSiteId"].empty()) {
officeSiteId = make_shared<string>(boost::any_cast<string>(m["OfficeSiteId"]));
}
if (m.find("OldPassword") != m.end() && !m["OldPassword"].empty()) {
oldPassword = make_shared<string>(boost::any_cast<string>(m["OldPassword"]));
}
if (m.find("Password") != m.end() && !m["Password"].empty()) {
password = make_shared<string>(boost::any_cast<string>(m["Password"]));
}
if (m.find("Phone") != m.end() && !m["Phone"].empty()) {
phone = make_shared<string>(boost::any_cast<string>(m["Phone"]));
}
if (m.find("PhoneVerifyCode") != m.end() && !m["PhoneVerifyCode"].empty()) {
phoneVerifyCode = make_shared<string>(boost::any_cast<string>(m["PhoneVerifyCode"]));
}
if (m.find("ProfileRegion") != m.end() && !m["ProfileRegion"].empty()) {
profileRegion = make_shared<string>(boost::any_cast<string>(m["ProfileRegion"]));
}
if (m.find("RegionId") != m.end() && !m["RegionId"].empty()) {
regionId = make_shared<string>(boost::any_cast<string>(m["RegionId"]));
}
if (m.find("SessionId") != m.end() && !m["SessionId"].empty()) {
sessionId = make_shared<string>(boost::any_cast<string>(m["SessionId"]));
}
if (m.find("SsoExtendsCookies") != m.end() && !m["SsoExtendsCookies"].empty()) {
ssoExtendsCookies = make_shared<string>(boost::any_cast<string>(m["SsoExtendsCookies"]));
}
if (m.find("SsoSessionToken") != m.end() && !m["SsoSessionToken"].empty()) {
ssoSessionToken = make_shared<string>(boost::any_cast<string>(m["SsoSessionToken"]));
}
if (m.find("TokenCode") != m.end() && !m["TokenCode"].empty()) {
tokenCode = make_shared<string>(boost::any_cast<string>(m["TokenCode"]));
}
if (m.find("UmidToken") != m.end() && !m["UmidToken"].empty()) {
umidToken = make_shared<string>(boost::any_cast<string>(m["UmidToken"]));
}
if (m.find("Uuid") != m.end() && !m["Uuid"].empty()) {
uuid = make_shared<string>(boost::any_cast<string>(m["Uuid"]));
}
}