diff --git a/CHANGELOG b/CHANGELOG index b97bee45c..463940ed1 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2018-08-23 Version: 1.23.1 +1, RunInstance add privateIpAddress. + 2018-08-22 Version: 1.23.0 1, Add api CreateSimulatedSystemEvents, support creating one or more simulated system events. 2, Add api CancelSimulatedSystemEvents, support cancelling one or more simulated system events. diff --git a/VERSION b/VERSION index bfbadb3a2..1b50fc31b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.23.0 \ No newline at end of file +1.23.1 \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/AssociateEipAddressRequest.h b/ecs/include/alibabacloud/ecs/model/AssociateEipAddressRequest.h index a82e1ee3d..d8d4186dc 100644 --- a/ecs/include/alibabacloud/ecs/model/AssociateEipAddressRequest.h +++ b/ecs/include/alibabacloud/ecs/model/AssociateEipAddressRequest.h @@ -41,6 +41,8 @@ namespace AlibabaCloud void setInstanceId(const std::string& instanceId); std::string getResourceOwnerAccount()const; void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getOwnerAccount()const; void setOwnerAccount(const std::string& ownerAccount); std::string getInstanceType()const; @@ -54,6 +56,7 @@ namespace AlibabaCloud long resourceOwnerId_; std::string instanceId_; std::string resourceOwnerAccount_; + std::string regionId_; std::string ownerAccount_; std::string instanceType_; std::string allocationId_; diff --git a/ecs/include/alibabacloud/ecs/model/CreateRouteEntryRequest.h b/ecs/include/alibabacloud/ecs/model/CreateRouteEntryRequest.h index 25684032d..30ed1299d 100644 --- a/ecs/include/alibabacloud/ecs/model/CreateRouteEntryRequest.h +++ b/ecs/include/alibabacloud/ecs/model/CreateRouteEntryRequest.h @@ -44,6 +44,8 @@ namespace AlibabaCloud void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getClientToken()const; void setClientToken(const std::string& clientToken); std::string getDestinationCidrBlock()const; @@ -64,6 +66,7 @@ namespace AlibabaCloud private: long resourceOwnerId_; std::string resourceOwnerAccount_; + std::string regionId_; std::string clientToken_; std::string destinationCidrBlock_; std::string ownerAccount_; diff --git a/ecs/include/alibabacloud/ecs/model/DeleteRouteEntryRequest.h b/ecs/include/alibabacloud/ecs/model/DeleteRouteEntryRequest.h index b0e37c542..37feaf4d5 100644 --- a/ecs/include/alibabacloud/ecs/model/DeleteRouteEntryRequest.h +++ b/ecs/include/alibabacloud/ecs/model/DeleteRouteEntryRequest.h @@ -44,6 +44,8 @@ namespace AlibabaCloud void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getDestinationCidrBlock()const; void setDestinationCidrBlock(const std::string& destinationCidrBlock); std::string getOwnerAccount()const; @@ -60,6 +62,7 @@ namespace AlibabaCloud private: long resourceOwnerId_; std::string resourceOwnerAccount_; + std::string regionId_; std::string destinationCidrBlock_; std::string ownerAccount_; std::string nextHopId_; diff --git a/ecs/include/alibabacloud/ecs/model/DescribeEipMonitorDataRequest.h b/ecs/include/alibabacloud/ecs/model/DescribeEipMonitorDataRequest.h index 4916f86d7..c497ccd16 100644 --- a/ecs/include/alibabacloud/ecs/model/DescribeEipMonitorDataRequest.h +++ b/ecs/include/alibabacloud/ecs/model/DescribeEipMonitorDataRequest.h @@ -41,6 +41,8 @@ namespace AlibabaCloud void setPeriod(int period); std::string getResourceOwnerAccount()const; void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getOwnerAccount()const; void setOwnerAccount(const std::string& ownerAccount); std::string getEndTime()const; @@ -56,6 +58,7 @@ namespace AlibabaCloud long resourceOwnerId_; int period_; std::string resourceOwnerAccount_; + std::string regionId_; std::string ownerAccount_; std::string endTime_; std::string allocationId_; diff --git a/ecs/include/alibabacloud/ecs/model/DescribeNewProjectEipMonitorDataRequest.h b/ecs/include/alibabacloud/ecs/model/DescribeNewProjectEipMonitorDataRequest.h index de12dc3b3..4cf2f7a5c 100644 --- a/ecs/include/alibabacloud/ecs/model/DescribeNewProjectEipMonitorDataRequest.h +++ b/ecs/include/alibabacloud/ecs/model/DescribeNewProjectEipMonitorDataRequest.h @@ -41,6 +41,8 @@ namespace AlibabaCloud void setPeriod(int period); std::string getResourceOwnerAccount()const; void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getOwnerAccount()const; void setOwnerAccount(const std::string& ownerAccount); std::string getEndTime()const; @@ -56,6 +58,7 @@ namespace AlibabaCloud long resourceOwnerId_; int period_; std::string resourceOwnerAccount_; + std::string regionId_; std::string ownerAccount_; std::string endTime_; std::string allocationId_; diff --git a/ecs/include/alibabacloud/ecs/model/DescribeRouteTablesRequest.h b/ecs/include/alibabacloud/ecs/model/DescribeRouteTablesRequest.h index eec730679..3454358cc 100644 --- a/ecs/include/alibabacloud/ecs/model/DescribeRouteTablesRequest.h +++ b/ecs/include/alibabacloud/ecs/model/DescribeRouteTablesRequest.h @@ -35,40 +35,43 @@ namespace AlibabaCloud DescribeRouteTablesRequest(); ~DescribeRouteTablesRequest(); - std::string getRouterType()const; - void setRouterType(const std::string& routerType); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); - std::string getRouteTableName()const; - void setRouteTableName(const std::string& routeTableName); std::string getVRouterId()const; void setVRouterId(const std::string& vRouterId); std::string getResourceOwnerAccount()const; void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getRouterId()const; - void setRouterId(const std::string& routerId); std::string getOwnerAccount()const; void setOwnerAccount(const std::string& ownerAccount); - int getPageSize()const; - void setPageSize(int pageSize); long getOwnerId()const; void setOwnerId(long ownerId); int getPageNumber()const; void setPageNumber(int pageNumber); + std::string getRouterType()const; + void setRouterType(const std::string& routerType); + std::string getRouteTableName()const; + void setRouteTableName(const std::string& routeTableName); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getRouterId()const; + void setRouterId(const std::string& routerId); + int getPageSize()const; + void setPageSize(int pageSize); std::string getRouteTableId()const; void setRouteTableId(const std::string& routeTableId); private: - std::string routerType_; long resourceOwnerId_; - std::string routeTableName_; std::string vRouterId_; std::string resourceOwnerAccount_; - std::string routerId_; std::string ownerAccount_; - int pageSize_; long ownerId_; int pageNumber_; + std::string routerType_; + std::string routeTableName_; + std::string regionId_; + std::string routerId_; + int pageSize_; std::string routeTableId_; }; diff --git a/ecs/include/alibabacloud/ecs/model/ModifyEipAddressAttributeRequest.h b/ecs/include/alibabacloud/ecs/model/ModifyEipAddressAttributeRequest.h index 381cbb036..8e6d84230 100644 --- a/ecs/include/alibabacloud/ecs/model/ModifyEipAddressAttributeRequest.h +++ b/ecs/include/alibabacloud/ecs/model/ModifyEipAddressAttributeRequest.h @@ -39,6 +39,8 @@ namespace AlibabaCloud void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getBandwidth()const; void setBandwidth(const std::string& bandwidth); std::string getOwnerAccount()const; @@ -51,6 +53,7 @@ namespace AlibabaCloud private: long resourceOwnerId_; std::string resourceOwnerAccount_; + std::string regionId_; std::string bandwidth_; std::string ownerAccount_; std::string allocationId_; diff --git a/ecs/include/alibabacloud/ecs/model/ModifyVRouterAttributeRequest.h b/ecs/include/alibabacloud/ecs/model/ModifyVRouterAttributeRequest.h index fc2e60b59..7a6fbdd49 100644 --- a/ecs/include/alibabacloud/ecs/model/ModifyVRouterAttributeRequest.h +++ b/ecs/include/alibabacloud/ecs/model/ModifyVRouterAttributeRequest.h @@ -43,6 +43,8 @@ namespace AlibabaCloud void setVRouterId(const std::string& vRouterId); std::string getResourceOwnerAccount()const; void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getOwnerAccount()const; void setOwnerAccount(const std::string& ownerAccount); std::string getDescription()const; @@ -55,6 +57,7 @@ namespace AlibabaCloud long resourceOwnerId_; std::string vRouterId_; std::string resourceOwnerAccount_; + std::string regionId_; std::string ownerAccount_; std::string description_; long ownerId_; diff --git a/ecs/include/alibabacloud/ecs/model/ReleaseEipAddressRequest.h b/ecs/include/alibabacloud/ecs/model/ReleaseEipAddressRequest.h index a4ccce828..395fbc905 100644 --- a/ecs/include/alibabacloud/ecs/model/ReleaseEipAddressRequest.h +++ b/ecs/include/alibabacloud/ecs/model/ReleaseEipAddressRequest.h @@ -39,6 +39,8 @@ namespace AlibabaCloud void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getOwnerAccount()const; void setOwnerAccount(const std::string& ownerAccount); std::string getAllocationId()const; @@ -49,6 +51,7 @@ namespace AlibabaCloud private: long resourceOwnerId_; std::string resourceOwnerAccount_; + std::string regionId_; std::string ownerAccount_; std::string allocationId_; long ownerId_; diff --git a/ecs/include/alibabacloud/ecs/model/RunInstancesRequest.h b/ecs/include/alibabacloud/ecs/model/RunInstancesRequest.h index ee1db3af1..00dc5ddde 100644 --- a/ecs/include/alibabacloud/ecs/model/RunInstancesRequest.h +++ b/ecs/include/alibabacloud/ecs/model/RunInstancesRequest.h @@ -115,6 +115,8 @@ namespace AlibabaCloud void setVSwitchId(const std::string& vSwitchId); std::string getSpotStrategy()const; void setSpotStrategy(const std::string& spotStrategy); + std::string getPrivateIpAddress()const; + void setPrivateIpAddress(const std::string& privateIpAddress); std::string getPeriodUnit()const; void setPeriodUnit(const std::string& periodUnit); std::string getInstanceName()const; @@ -225,6 +227,7 @@ namespace AlibabaCloud bool security_transport_; std::string vSwitchId_; std::string spotStrategy_; + std::string privateIpAddress_; std::string periodUnit_; std::string instanceName_; bool autoRenew_; diff --git a/ecs/include/alibabacloud/ecs/model/UnassociateEipAddressRequest.h b/ecs/include/alibabacloud/ecs/model/UnassociateEipAddressRequest.h index 7e688a9d3..5ee93ba12 100644 --- a/ecs/include/alibabacloud/ecs/model/UnassociateEipAddressRequest.h +++ b/ecs/include/alibabacloud/ecs/model/UnassociateEipAddressRequest.h @@ -41,6 +41,8 @@ namespace AlibabaCloud void setInstanceId(const std::string& instanceId); std::string getResourceOwnerAccount()const; void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); std::string getOwnerAccount()const; void setOwnerAccount(const std::string& ownerAccount); std::string getInstanceType()const; @@ -54,6 +56,7 @@ namespace AlibabaCloud long resourceOwnerId_; std::string instanceId_; std::string resourceOwnerAccount_; + std::string regionId_; std::string ownerAccount_; std::string instanceType_; std::string allocationId_; diff --git a/ecs/src/model/AssociateEipAddressRequest.cc b/ecs/src/model/AssociateEipAddressRequest.cc index 59ade0d42..964423fd6 100644 --- a/ecs/src/model/AssociateEipAddressRequest.cc +++ b/ecs/src/model/AssociateEipAddressRequest.cc @@ -58,6 +58,17 @@ void AssociateEipAddressRequest::setResourceOwnerAccount(const std::string& reso setParameter("ResourceOwnerAccount", resourceOwnerAccount); } +std::string AssociateEipAddressRequest::getRegionId()const +{ + return regionId_; +} + +void AssociateEipAddressRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + std::string AssociateEipAddressRequest::getOwnerAccount()const { return ownerAccount_; diff --git a/ecs/src/model/CreateRouteEntryRequest.cc b/ecs/src/model/CreateRouteEntryRequest.cc index 6ecc80b80..f295f9388 100644 --- a/ecs/src/model/CreateRouteEntryRequest.cc +++ b/ecs/src/model/CreateRouteEntryRequest.cc @@ -47,6 +47,17 @@ void CreateRouteEntryRequest::setResourceOwnerAccount(const std::string& resourc setParameter("ResourceOwnerAccount", resourceOwnerAccount); } +std::string CreateRouteEntryRequest::getRegionId()const +{ + return regionId_; +} + +void CreateRouteEntryRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + std::string CreateRouteEntryRequest::getClientToken()const { return clientToken_; diff --git a/ecs/src/model/DeleteRouteEntryRequest.cc b/ecs/src/model/DeleteRouteEntryRequest.cc index 06ede9416..943e6fca9 100644 --- a/ecs/src/model/DeleteRouteEntryRequest.cc +++ b/ecs/src/model/DeleteRouteEntryRequest.cc @@ -47,6 +47,17 @@ void DeleteRouteEntryRequest::setResourceOwnerAccount(const std::string& resourc setParameter("ResourceOwnerAccount", resourceOwnerAccount); } +std::string DeleteRouteEntryRequest::getRegionId()const +{ + return regionId_; +} + +void DeleteRouteEntryRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + std::string DeleteRouteEntryRequest::getDestinationCidrBlock()const { return destinationCidrBlock_; diff --git a/ecs/src/model/DescribeEipMonitorDataRequest.cc b/ecs/src/model/DescribeEipMonitorDataRequest.cc index 01a1df358..9d30b2983 100644 --- a/ecs/src/model/DescribeEipMonitorDataRequest.cc +++ b/ecs/src/model/DescribeEipMonitorDataRequest.cc @@ -58,6 +58,17 @@ void DescribeEipMonitorDataRequest::setResourceOwnerAccount(const std::string& r setParameter("ResourceOwnerAccount", resourceOwnerAccount); } +std::string DescribeEipMonitorDataRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeEipMonitorDataRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + std::string DescribeEipMonitorDataRequest::getOwnerAccount()const { return ownerAccount_; diff --git a/ecs/src/model/DescribeNewProjectEipMonitorDataRequest.cc b/ecs/src/model/DescribeNewProjectEipMonitorDataRequest.cc index 68f8ef10f..38cbb9af9 100644 --- a/ecs/src/model/DescribeNewProjectEipMonitorDataRequest.cc +++ b/ecs/src/model/DescribeNewProjectEipMonitorDataRequest.cc @@ -58,6 +58,17 @@ void DescribeNewProjectEipMonitorDataRequest::setResourceOwnerAccount(const std: setParameter("ResourceOwnerAccount", resourceOwnerAccount); } +std::string DescribeNewProjectEipMonitorDataRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeNewProjectEipMonitorDataRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + std::string DescribeNewProjectEipMonitorDataRequest::getOwnerAccount()const { return ownerAccount_; diff --git a/ecs/src/model/DescribeRouteTablesRequest.cc b/ecs/src/model/DescribeRouteTablesRequest.cc index bdc4d104a..a968f2010 100644 --- a/ecs/src/model/DescribeRouteTablesRequest.cc +++ b/ecs/src/model/DescribeRouteTablesRequest.cc @@ -25,17 +25,6 @@ DescribeRouteTablesRequest::DescribeRouteTablesRequest() : DescribeRouteTablesRequest::~DescribeRouteTablesRequest() {} -std::string DescribeRouteTablesRequest::getRouterType()const -{ - return routerType_; -} - -void DescribeRouteTablesRequest::setRouterType(const std::string& routerType) -{ - routerType_ = routerType; - setParameter("RouterType", routerType); -} - long DescribeRouteTablesRequest::getResourceOwnerId()const { return resourceOwnerId_; @@ -47,17 +36,6 @@ void DescribeRouteTablesRequest::setResourceOwnerId(long resourceOwnerId) setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); } -std::string DescribeRouteTablesRequest::getRouteTableName()const -{ - return routeTableName_; -} - -void DescribeRouteTablesRequest::setRouteTableName(const std::string& routeTableName) -{ - routeTableName_ = routeTableName; - setParameter("RouteTableName", routeTableName); -} - std::string DescribeRouteTablesRequest::getVRouterId()const { return vRouterId_; @@ -80,17 +58,6 @@ void DescribeRouteTablesRequest::setResourceOwnerAccount(const std::string& reso setParameter("ResourceOwnerAccount", resourceOwnerAccount); } -std::string DescribeRouteTablesRequest::getRouterId()const -{ - return routerId_; -} - -void DescribeRouteTablesRequest::setRouterId(const std::string& routerId) -{ - routerId_ = routerId; - setParameter("RouterId", routerId); -} - std::string DescribeRouteTablesRequest::getOwnerAccount()const { return ownerAccount_; @@ -102,17 +69,6 @@ void DescribeRouteTablesRequest::setOwnerAccount(const std::string& ownerAccount setParameter("OwnerAccount", ownerAccount); } -int DescribeRouteTablesRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeRouteTablesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - long DescribeRouteTablesRequest::getOwnerId()const { return ownerId_; @@ -135,6 +91,61 @@ void DescribeRouteTablesRequest::setPageNumber(int pageNumber) setParameter("PageNumber", std::to_string(pageNumber)); } +std::string DescribeRouteTablesRequest::getRouterType()const +{ + return routerType_; +} + +void DescribeRouteTablesRequest::setRouterType(const std::string& routerType) +{ + routerType_ = routerType; + setParameter("RouterType", routerType); +} + +std::string DescribeRouteTablesRequest::getRouteTableName()const +{ + return routeTableName_; +} + +void DescribeRouteTablesRequest::setRouteTableName(const std::string& routeTableName) +{ + routeTableName_ = routeTableName; + setParameter("RouteTableName", routeTableName); +} + +std::string DescribeRouteTablesRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeRouteTablesRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string DescribeRouteTablesRequest::getRouterId()const +{ + return routerId_; +} + +void DescribeRouteTablesRequest::setRouterId(const std::string& routerId) +{ + routerId_ = routerId; + setParameter("RouterId", routerId); +} + +int DescribeRouteTablesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeRouteTablesRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + std::string DescribeRouteTablesRequest::getRouteTableId()const { return routeTableId_; diff --git a/ecs/src/model/ModifyEipAddressAttributeRequest.cc b/ecs/src/model/ModifyEipAddressAttributeRequest.cc index 768db5452..8e52d5c34 100644 --- a/ecs/src/model/ModifyEipAddressAttributeRequest.cc +++ b/ecs/src/model/ModifyEipAddressAttributeRequest.cc @@ -47,6 +47,17 @@ void ModifyEipAddressAttributeRequest::setResourceOwnerAccount(const std::string setParameter("ResourceOwnerAccount", resourceOwnerAccount); } +std::string ModifyEipAddressAttributeRequest::getRegionId()const +{ + return regionId_; +} + +void ModifyEipAddressAttributeRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + std::string ModifyEipAddressAttributeRequest::getBandwidth()const { return bandwidth_; diff --git a/ecs/src/model/ModifyVRouterAttributeRequest.cc b/ecs/src/model/ModifyVRouterAttributeRequest.cc index 442e1e711..8336abcf5 100644 --- a/ecs/src/model/ModifyVRouterAttributeRequest.cc +++ b/ecs/src/model/ModifyVRouterAttributeRequest.cc @@ -69,6 +69,17 @@ void ModifyVRouterAttributeRequest::setResourceOwnerAccount(const std::string& r setParameter("ResourceOwnerAccount", resourceOwnerAccount); } +std::string ModifyVRouterAttributeRequest::getRegionId()const +{ + return regionId_; +} + +void ModifyVRouterAttributeRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + std::string ModifyVRouterAttributeRequest::getOwnerAccount()const { return ownerAccount_; diff --git a/ecs/src/model/ReleaseEipAddressRequest.cc b/ecs/src/model/ReleaseEipAddressRequest.cc index 29566393b..57215ef84 100644 --- a/ecs/src/model/ReleaseEipAddressRequest.cc +++ b/ecs/src/model/ReleaseEipAddressRequest.cc @@ -47,6 +47,17 @@ void ReleaseEipAddressRequest::setResourceOwnerAccount(const std::string& resour setParameter("ResourceOwnerAccount", resourceOwnerAccount); } +std::string ReleaseEipAddressRequest::getRegionId()const +{ + return regionId_; +} + +void ReleaseEipAddressRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + std::string ReleaseEipAddressRequest::getOwnerAccount()const { return ownerAccount_; diff --git a/ecs/src/model/RunInstancesRequest.cc b/ecs/src/model/RunInstancesRequest.cc index 11dbe1527..852e7c01c 100644 --- a/ecs/src/model/RunInstancesRequest.cc +++ b/ecs/src/model/RunInstancesRequest.cc @@ -339,6 +339,17 @@ void RunInstancesRequest::setSpotStrategy(const std::string& spotStrategy) setParameter("SpotStrategy", spotStrategy); } +std::string RunInstancesRequest::getPrivateIpAddress()const +{ + return privateIpAddress_; +} + +void RunInstancesRequest::setPrivateIpAddress(const std::string& privateIpAddress) +{ + privateIpAddress_ = privateIpAddress; + setParameter("PrivateIpAddress", privateIpAddress); +} + std::string RunInstancesRequest::getPeriodUnit()const { return periodUnit_; diff --git a/ecs/src/model/UnassociateEipAddressRequest.cc b/ecs/src/model/UnassociateEipAddressRequest.cc index 770a03e2e..f0b27c397 100644 --- a/ecs/src/model/UnassociateEipAddressRequest.cc +++ b/ecs/src/model/UnassociateEipAddressRequest.cc @@ -58,6 +58,17 @@ void UnassociateEipAddressRequest::setResourceOwnerAccount(const std::string& re setParameter("ResourceOwnerAccount", resourceOwnerAccount); } +std::string UnassociateEipAddressRequest::getRegionId()const +{ + return regionId_; +} + +void UnassociateEipAddressRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + std::string UnassociateEipAddressRequest::getOwnerAccount()const { return ownerAccount_;