in dbs-20190306/include/alibabacloud/dbs_20190306.hpp [566:693]
void fromMap(map<string, boost::any> m) override {
if (m.find("BackupGatewayId") != m.end() && !m["BackupGatewayId"].empty()) {
backupGatewayId = make_shared<long>(boost::any_cast<long>(m["BackupGatewayId"]));
}
if (m.find("BackupLogIntervalSeconds") != m.end() && !m["BackupLogIntervalSeconds"].empty()) {
backupLogIntervalSeconds = make_shared<long>(boost::any_cast<long>(m["BackupLogIntervalSeconds"]));
}
if (m.find("BackupMethod") != m.end() && !m["BackupMethod"].empty()) {
backupMethod = make_shared<string>(boost::any_cast<string>(m["BackupMethod"]));
}
if (m.find("BackupObjects") != m.end() && !m["BackupObjects"].empty()) {
backupObjects = make_shared<string>(boost::any_cast<string>(m["BackupObjects"]));
}
if (m.find("BackupPeriod") != m.end() && !m["BackupPeriod"].empty()) {
backupPeriod = make_shared<string>(boost::any_cast<string>(m["BackupPeriod"]));
}
if (m.find("BackupPlanId") != m.end() && !m["BackupPlanId"].empty()) {
backupPlanId = make_shared<string>(boost::any_cast<string>(m["BackupPlanId"]));
}
if (m.find("BackupPlanName") != m.end() && !m["BackupPlanName"].empty()) {
backupPlanName = make_shared<string>(boost::any_cast<string>(m["BackupPlanName"]));
}
if (m.find("BackupRateLimit") != m.end() && !m["BackupRateLimit"].empty()) {
backupRateLimit = make_shared<long>(boost::any_cast<long>(m["BackupRateLimit"]));
}
if (m.find("BackupRetentionPeriod") != m.end() && !m["BackupRetentionPeriod"].empty()) {
backupRetentionPeriod = make_shared<long>(boost::any_cast<long>(m["BackupRetentionPeriod"]));
}
if (m.find("BackupSpeedLimit") != m.end() && !m["BackupSpeedLimit"].empty()) {
backupSpeedLimit = make_shared<long>(boost::any_cast<long>(m["BackupSpeedLimit"]));
}
if (m.find("BackupStartTime") != m.end() && !m["BackupStartTime"].empty()) {
backupStartTime = make_shared<string>(boost::any_cast<string>(m["BackupStartTime"]));
}
if (m.find("BackupStorageType") != m.end() && !m["BackupStorageType"].empty()) {
backupStorageType = make_shared<string>(boost::any_cast<string>(m["BackupStorageType"]));
}
if (m.find("BackupStrategyType") != m.end() && !m["BackupStrategyType"].empty()) {
backupStrategyType = make_shared<string>(boost::any_cast<string>(m["BackupStrategyType"]));
}
if (m.find("ClientToken") != m.end() && !m["ClientToken"].empty()) {
clientToken = make_shared<string>(boost::any_cast<string>(m["ClientToken"]));
}
if (m.find("CrossAliyunId") != m.end() && !m["CrossAliyunId"].empty()) {
crossAliyunId = make_shared<string>(boost::any_cast<string>(m["CrossAliyunId"]));
}
if (m.find("CrossRoleName") != m.end() && !m["CrossRoleName"].empty()) {
crossRoleName = make_shared<string>(boost::any_cast<string>(m["CrossRoleName"]));
}
if (m.find("DatabaseRegion") != m.end() && !m["DatabaseRegion"].empty()) {
databaseRegion = make_shared<string>(boost::any_cast<string>(m["DatabaseRegion"]));
}
if (m.find("DatabaseType") != m.end() && !m["DatabaseType"].empty()) {
databaseType = make_shared<string>(boost::any_cast<string>(m["DatabaseType"]));
}
if (m.find("DuplicationArchivePeriod") != m.end() && !m["DuplicationArchivePeriod"].empty()) {
duplicationArchivePeriod = make_shared<long>(boost::any_cast<long>(m["DuplicationArchivePeriod"]));
}
if (m.find("DuplicationInfrequentAccessPeriod") != m.end() && !m["DuplicationInfrequentAccessPeriod"].empty()) {
duplicationInfrequentAccessPeriod = make_shared<long>(boost::any_cast<long>(m["DuplicationInfrequentAccessPeriod"]));
}
if (m.find("EnableBackupLog") != m.end() && !m["EnableBackupLog"].empty()) {
enableBackupLog = make_shared<bool>(boost::any_cast<bool>(m["EnableBackupLog"]));
}
if (m.find("FromApp") != m.end() && !m["FromApp"].empty()) {
fromApp = make_shared<string>(boost::any_cast<string>(m["FromApp"]));
}
if (m.find("InstanceClass") != m.end() && !m["InstanceClass"].empty()) {
instanceClass = make_shared<string>(boost::any_cast<string>(m["InstanceClass"]));
}
if (m.find("InstanceType") != m.end() && !m["InstanceType"].empty()) {
instanceType = make_shared<string>(boost::any_cast<string>(m["InstanceType"]));
}
if (m.find("OSSBucketName") != m.end() && !m["OSSBucketName"].empty()) {
OSSBucketName = make_shared<string>(boost::any_cast<string>(m["OSSBucketName"]));
}
if (m.find("OwnerId") != m.end() && !m["OwnerId"].empty()) {
ownerId = make_shared<string>(boost::any_cast<string>(m["OwnerId"]));
}
if (m.find("PayType") != m.end() && !m["PayType"].empty()) {
payType = make_shared<string>(boost::any_cast<string>(m["PayType"]));
}
if (m.find("Period") != m.end() && !m["Period"].empty()) {
period = make_shared<string>(boost::any_cast<string>(m["Period"]));
}
if (m.find("Region") != m.end() && !m["Region"].empty()) {
region = make_shared<string>(boost::any_cast<string>(m["Region"]));
}
if (m.find("ResourceGroupId") != m.end() && !m["ResourceGroupId"].empty()) {
resourceGroupId = make_shared<string>(boost::any_cast<string>(m["ResourceGroupId"]));
}
if (m.find("SourceEndpointDatabaseName") != m.end() && !m["SourceEndpointDatabaseName"].empty()) {
sourceEndpointDatabaseName = make_shared<string>(boost::any_cast<string>(m["SourceEndpointDatabaseName"]));
}
if (m.find("SourceEndpointIP") != m.end() && !m["SourceEndpointIP"].empty()) {
sourceEndpointIP = make_shared<string>(boost::any_cast<string>(m["SourceEndpointIP"]));
}
if (m.find("SourceEndpointInstanceID") != m.end() && !m["SourceEndpointInstanceID"].empty()) {
sourceEndpointInstanceID = make_shared<string>(boost::any_cast<string>(m["SourceEndpointInstanceID"]));
}
if (m.find("SourceEndpointInstanceType") != m.end() && !m["SourceEndpointInstanceType"].empty()) {
sourceEndpointInstanceType = make_shared<string>(boost::any_cast<string>(m["SourceEndpointInstanceType"]));
}
if (m.find("SourceEndpointOracleSID") != m.end() && !m["SourceEndpointOracleSID"].empty()) {
sourceEndpointOracleSID = make_shared<string>(boost::any_cast<string>(m["SourceEndpointOracleSID"]));
}
if (m.find("SourceEndpointPassword") != m.end() && !m["SourceEndpointPassword"].empty()) {
sourceEndpointPassword = make_shared<string>(boost::any_cast<string>(m["SourceEndpointPassword"]));
}
if (m.find("SourceEndpointPort") != m.end() && !m["SourceEndpointPort"].empty()) {
sourceEndpointPort = make_shared<long>(boost::any_cast<long>(m["SourceEndpointPort"]));
}
if (m.find("SourceEndpointRegion") != m.end() && !m["SourceEndpointRegion"].empty()) {
sourceEndpointRegion = make_shared<string>(boost::any_cast<string>(m["SourceEndpointRegion"]));
}
if (m.find("SourceEndpointUserName") != m.end() && !m["SourceEndpointUserName"].empty()) {
sourceEndpointUserName = make_shared<string>(boost::any_cast<string>(m["SourceEndpointUserName"]));
}
if (m.find("StorageRegion") != m.end() && !m["StorageRegion"].empty()) {
storageRegion = make_shared<string>(boost::any_cast<string>(m["StorageRegion"]));
}
if (m.find("StorageType") != m.end() && !m["StorageType"].empty()) {
storageType = make_shared<string>(boost::any_cast<string>(m["StorageType"]));
}
if (m.find("UsedTime") != m.end() && !m["UsedTime"].empty()) {
usedTime = make_shared<long>(boost::any_cast<long>(m["UsedTime"]));
}
}