void fromMap()

in cddc-20200320/include/alibabacloud/cddc_20200320.hpp [2476:2585]


  void fromMap(map<string, boost::any> m) override {
    if (m.find("AccountName") != m.end() && !m["AccountName"].empty()) {
      accountName = make_shared<string>(boost::any_cast<string>(m["AccountName"]));
    }
    if (m.find("AccountType") != m.end() && !m["AccountType"].empty()) {
      accountType = make_shared<string>(boost::any_cast<string>(m["AccountType"]));
    }
    if (m.find("AllocationStatus") != m.end() && !m["AllocationStatus"].empty()) {
      allocationStatus = make_shared<string>(boost::any_cast<string>(m["AllocationStatus"]));
    }
    if (m.find("AutoRenew") != m.end() && !m["AutoRenew"].empty()) {
      autoRenew = make_shared<string>(boost::any_cast<string>(m["AutoRenew"]));
    }
    if (m.find("CPUAllocationRatio") != m.end() && !m["CPUAllocationRatio"].empty()) {
      CPUAllocationRatio = make_shared<string>(boost::any_cast<string>(m["CPUAllocationRatio"]));
    }
    if (m.find("CpuUsed") != m.end() && !m["CpuUsed"].empty()) {
      cpuUsed = make_shared<string>(boost::any_cast<string>(m["CpuUsed"]));
    }
    if (m.find("CreatedTime") != m.end() && !m["CreatedTime"].empty()) {
      createdTime = make_shared<string>(boost::any_cast<string>(m["CreatedTime"]));
    }
    if (m.find("DedicatedHostGroupId") != m.end() && !m["DedicatedHostGroupId"].empty()) {
      dedicatedHostGroupId = make_shared<string>(boost::any_cast<string>(m["DedicatedHostGroupId"]));
    }
    if (m.find("DedicatedHostId") != m.end() && !m["DedicatedHostId"].empty()) {
      dedicatedHostId = make_shared<string>(boost::any_cast<string>(m["DedicatedHostId"]));
    }
    if (m.find("DiskAllocationRatio") != m.end() && !m["DiskAllocationRatio"].empty()) {
      diskAllocationRatio = make_shared<string>(boost::any_cast<string>(m["DiskAllocationRatio"]));
    }
    if (m.find("DistributionTag") != m.end() && !m["DistributionTag"].empty()) {
      distributionTag = make_shared<string>(boost::any_cast<string>(m["DistributionTag"]));
    }
    if (m.find("EcsClassCode") != m.end() && !m["EcsClassCode"].empty()) {
      ecsClassCode = make_shared<string>(boost::any_cast<string>(m["EcsClassCode"]));
    }
    if (m.find("ExpiredTime") != m.end() && !m["ExpiredTime"].empty()) {
      expiredTime = make_shared<string>(boost::any_cast<string>(m["ExpiredTime"]));
    }
    if (m.find("HostCPU") != m.end() && !m["HostCPU"].empty()) {
      hostCPU = make_shared<long>(boost::any_cast<long>(m["HostCPU"]));
    }
    if (m.find("HostClass") != m.end() && !m["HostClass"].empty()) {
      hostClass = make_shared<string>(boost::any_cast<string>(m["HostClass"]));
    }
    if (m.find("HostMem") != m.end() && !m["HostMem"].empty()) {
      hostMem = make_shared<long>(boost::any_cast<long>(m["HostMem"]));
    }
    if (m.find("HostName") != m.end() && !m["HostName"].empty()) {
      hostName = make_shared<string>(boost::any_cast<string>(m["HostName"]));
    }
    if (m.find("HostStatus") != m.end() && !m["HostStatus"].empty()) {
      hostStatus = make_shared<string>(boost::any_cast<string>(m["HostStatus"]));
    }
    if (m.find("HostStorage") != m.end() && !m["HostStorage"].empty()) {
      hostStorage = make_shared<long>(boost::any_cast<long>(m["HostStorage"]));
    }
    if (m.find("HostType") != m.end() && !m["HostType"].empty()) {
      hostType = make_shared<string>(boost::any_cast<string>(m["HostType"]));
    }
    if (m.find("IPAddress") != m.end() && !m["IPAddress"].empty()) {
      IPAddress = make_shared<string>(boost::any_cast<string>(m["IPAddress"]));
    }
    if (m.find("ImageCategory") != m.end() && !m["ImageCategory"].empty()) {
      imageCategory = make_shared<string>(boost::any_cast<string>(m["ImageCategory"]));
    }
    if (m.find("InstanceNumber") != m.end() && !m["InstanceNumber"].empty()) {
      instanceNumber = make_shared<long>(boost::any_cast<long>(m["InstanceNumber"]));
    }
    if (m.find("InstanceNumberMaster") != m.end() && !m["InstanceNumberMaster"].empty()) {
      instanceNumberMaster = make_shared<long>(boost::any_cast<long>(m["InstanceNumberMaster"]));
    }
    if (m.find("InstanceNumberROMaster") != m.end() && !m["InstanceNumberROMaster"].empty()) {
      instanceNumberROMaster = make_shared<long>(boost::any_cast<long>(m["InstanceNumberROMaster"]));
    }
    if (m.find("InstanceNumberROSlave") != m.end() && !m["InstanceNumberROSlave"].empty()) {
      instanceNumberROSlave = make_shared<long>(boost::any_cast<long>(m["InstanceNumberROSlave"]));
    }
    if (m.find("InstanceNumberSlave") != m.end() && !m["InstanceNumberSlave"].empty()) {
      instanceNumberSlave = make_shared<long>(boost::any_cast<long>(m["InstanceNumberSlave"]));
    }
    if (m.find("MemAllocationRatio") != m.end() && !m["MemAllocationRatio"].empty()) {
      memAllocationRatio = make_shared<string>(boost::any_cast<string>(m["MemAllocationRatio"]));
    }
    if (m.find("MemoryUsed") != m.end() && !m["MemoryUsed"].empty()) {
      memoryUsed = make_shared<string>(boost::any_cast<string>(m["MemoryUsed"]));
    }
    if (m.find("OpenPermission") != m.end() && !m["OpenPermission"].empty()) {
      openPermission = make_shared<string>(boost::any_cast<string>(m["OpenPermission"]));
    }
    if (m.find("RegionId") != m.end() && !m["RegionId"].empty()) {
      regionId = make_shared<string>(boost::any_cast<string>(m["RegionId"]));
    }
    if (m.find("RequestId") != m.end() && !m["RequestId"].empty()) {
      requestId = make_shared<string>(boost::any_cast<string>(m["RequestId"]));
    }
    if (m.find("StorageUsed") != m.end() && !m["StorageUsed"].empty()) {
      storageUsed = make_shared<string>(boost::any_cast<string>(m["StorageUsed"]));
    }
    if (m.find("VPCId") != m.end() && !m["VPCId"].empty()) {
      VPCId = make_shared<string>(boost::any_cast<string>(m["VPCId"]));
    }
    if (m.find("VSwitchId") != m.end() && !m["VSwitchId"].empty()) {
      vSwitchId = make_shared<string>(boost::any_cast<string>(m["VSwitchId"]));
    }
    if (m.find("ZoneId") != m.end() && !m["ZoneId"].empty()) {
      zoneId = make_shared<string>(boost::any_cast<string>(m["ZoneId"]));
    }
  }