ECS SDK Auto Released By ansen.as,Version:1.35.9

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
haowei.yao
2019-04-09 17:30:45 +08:00
parent 6ca39abbdc
commit a4b515be6c
16 changed files with 108 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
2019-04-09 Version: 1.35.9
1, support service account management networkInterface function.
2019-04-09 Version: 1.35.8 2019-04-09 Version: 1.35.8
1, Add Apis for offline VerifySDK. 1, Add Apis for offline VerifySDK.

View File

@@ -1 +1 @@
1.35.8 1.35.9

View File

@@ -49,6 +49,8 @@ namespace AlibabaCloud
void setCallerType(const std::string& callerType); void setCallerType(const std::string& callerType);
std::string getAccessKeyId()const; std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId); void setAccessKeyId(const std::string& accessKeyId);
std::string getSourceRegionId()const;
void setSourceRegionId(const std::string& sourceRegionId);
std::string getResourceGroupId()const; std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId); void setResourceGroupId(const std::string& resourceGroupId);
std::string getSecurityToken()const; std::string getSecurityToken()const;
@@ -98,6 +100,7 @@ namespace AlibabaCloud
std::string ownerIdLoginEmail_; std::string ownerIdLoginEmail_;
std::string callerType_; std::string callerType_;
std::string accessKeyId_; std::string accessKeyId_;
std::string sourceRegionId_;
std::string resourceGroupId_; std::string resourceGroupId_;
std::string securityToken_; std::string securityToken_;
std::string regionId_; std::string regionId_;

View File

@@ -51,6 +51,8 @@ namespace AlibabaCloud
void setCallerType(const std::string& callerType); void setCallerType(const std::string& callerType);
std::string getAccessKeyId()const; std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId); void setAccessKeyId(const std::string& accessKeyId);
std::string getSourceRegionId()const;
void setSourceRegionId(const std::string& sourceRegionId);
std::string getSecurityToken()const; std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken); void setSecurityToken(const std::string& securityToken);
std::string getRegionId()const; std::string getRegionId()const;
@@ -97,6 +99,7 @@ namespace AlibabaCloud
std::string ownerIdLoginEmail_; std::string ownerIdLoginEmail_;
std::string callerType_; std::string callerType_;
std::string accessKeyId_; std::string accessKeyId_;
std::string sourceRegionId_;
std::string securityToken_; std::string securityToken_;
std::string regionId_; std::string regionId_;
bool enable_; bool enable_;

View File

@@ -60,6 +60,8 @@ namespace AlibabaCloud
void setCallerType(const std::string& callerType); void setCallerType(const std::string& callerType);
std::string getAccessKeyId()const; std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId); void setAccessKeyId(const std::string& accessKeyId);
std::string getBusinessType()const;
void setBusinessType(const std::string& businessType);
std::string getSourceRegionId()const; std::string getSourceRegionId()const;
void setSourceRegionId(const std::string& sourceRegionId); void setSourceRegionId(const std::string& sourceRegionId);
std::string getResourceGroupId()const; std::string getResourceGroupId()const;
@@ -84,6 +86,8 @@ namespace AlibabaCloud
void setCallerUid(long callerUid); void setCallerUid(long callerUid);
std::string getApp_ip()const; std::string getApp_ip()const;
void setApp_ip(const std::string& app_ip); void setApp_ip(const std::string& app_ip);
bool getVisible()const;
void setVisible(bool visible);
std::string getResourceOwnerAccount()const; std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const; std::string getOwnerAccount()const;
@@ -116,6 +120,7 @@ namespace AlibabaCloud
std::string ownerIdLoginEmail_; std::string ownerIdLoginEmail_;
std::string callerType_; std::string callerType_;
std::string accessKeyId_; std::string accessKeyId_;
std::string businessType_;
std::string sourceRegionId_; std::string sourceRegionId_;
std::string resourceGroupId_; std::string resourceGroupId_;
std::string securityToken_; std::string securityToken_;
@@ -128,6 +133,7 @@ namespace AlibabaCloud
std::string networkInterfaceName_; std::string networkInterfaceName_;
long callerUid_; long callerUid_;
std::string app_ip_; std::string app_ip_;
bool visible_;
std::string resourceOwnerAccount_; std::string resourceOwnerAccount_;
std::string ownerAccount_; std::string ownerAccount_;
std::string callerBid_; std::string callerBid_;

View File

@@ -42,6 +42,8 @@ namespace AlibabaCloud
long getResourceOwnerId()const; long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId); void setResourceOwnerId(long resourceOwnerId);
bool getServiceManaged()const;
void setServiceManaged(bool serviceManaged);
long getCallerParentId()const; long getCallerParentId()const;
void setCallerParentId(long callerParentId); void setCallerParentId(long callerParentId);
std::string getSecurityGroupId()const; std::string getSecurityGroupId()const;
@@ -115,6 +117,7 @@ namespace AlibabaCloud
private: private:
long resourceOwnerId_; long resourceOwnerId_;
bool serviceManaged_;
long callerParentId_; long callerParentId_;
std::string securityGroupId_; std::string securityGroupId_;
bool proxy_original_security_transport_; bool proxy_original_security_transport_;

View File

@@ -64,12 +64,14 @@ namespace AlibabaCloud
std::string description; std::string description;
std::string zoneId; std::string zoneId;
std::string resourceGroupId; std::string resourceGroupId;
bool serviceManaged;
std::string instanceId; std::string instanceId;
std::string vSwitchId; std::string vSwitchId;
std::string networkInterfaceName; std::string networkInterfaceName;
std::string networkInterfaceId; std::string networkInterfaceId;
std::string macAddress; std::string macAddress;
std::vector<std::string> securityGroupIds; std::vector<std::string> securityGroupIds;
long serviceID;
std::string type; std::string type;
std::vector<NetworkInterfaceSet::Ipv6Set> ipv6Sets; std::vector<NetworkInterfaceSet::Ipv6Set> ipv6Sets;
std::string vpcId; std::string vpcId;

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
JoinResourceGroupRequest(); JoinResourceGroupRequest();
~JoinResourceGroupRequest(); ~JoinResourceGroupRequest();
std::string getSourceRegionId()const;
void setSourceRegionId(const std::string& sourceRegionId);
std::string getResourceGroupId()const; std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId); void setResourceGroupId(const std::string& resourceGroupId);
long getResourceOwnerId()const; long getResourceOwnerId()const;
@@ -53,6 +55,7 @@ namespace AlibabaCloud
void setResourceType(const std::string& resourceType); void setResourceType(const std::string& resourceType);
private: private:
std::string sourceRegionId_;
std::string resourceGroupId_; std::string resourceGroupId_;
long resourceOwnerId_; long resourceOwnerId_;
std::string resourceId_; std::string resourceId_;

View File

@@ -53,6 +53,8 @@ namespace AlibabaCloud
void setCallerType(const std::string& callerType); void setCallerType(const std::string& callerType);
std::string getAccessKeyId()const; std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId); void setAccessKeyId(const std::string& accessKeyId);
std::string getSourceRegionId()const;
void setSourceRegionId(const std::string& sourceRegionId);
std::string getSecurityToken()const; std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken); void setSecurityToken(const std::string& securityToken);
std::string getRegionId()const; std::string getRegionId()const;
@@ -100,6 +102,7 @@ namespace AlibabaCloud
std::string ownerIdLoginEmail_; std::string ownerIdLoginEmail_;
std::string callerType_; std::string callerType_;
std::string accessKeyId_; std::string accessKeyId_;
std::string sourceRegionId_;
std::string securityToken_; std::string securityToken_;
std::string regionId_; std::string regionId_;
bool enable_; bool enable_;

View File

@@ -102,6 +102,17 @@ void AssignIpv6AddressesRequest::setAccessKeyId(const std::string& accessKeyId)
setCoreParameter("AccessKeyId", accessKeyId); setCoreParameter("AccessKeyId", accessKeyId);
} }
std::string AssignIpv6AddressesRequest::getSourceRegionId()const
{
return sourceRegionId_;
}
void AssignIpv6AddressesRequest::setSourceRegionId(const std::string& sourceRegionId)
{
sourceRegionId_ = sourceRegionId;
setCoreParameter("SourceRegionId", sourceRegionId);
}
std::string AssignIpv6AddressesRequest::getResourceGroupId()const std::string AssignIpv6AddressesRequest::getResourceGroupId()const
{ {
return resourceGroupId_; return resourceGroupId_;

View File

@@ -113,6 +113,17 @@ void AssignPrivateIpAddressesRequest::setAccessKeyId(const std::string& accessKe
setCoreParameter("AccessKeyId", accessKeyId); setCoreParameter("AccessKeyId", accessKeyId);
} }
std::string AssignPrivateIpAddressesRequest::getSourceRegionId()const
{
return sourceRegionId_;
}
void AssignPrivateIpAddressesRequest::setSourceRegionId(const std::string& sourceRegionId)
{
sourceRegionId_ = sourceRegionId;
setCoreParameter("SourceRegionId", sourceRegionId);
}
std::string AssignPrivateIpAddressesRequest::getSecurityToken()const std::string AssignPrivateIpAddressesRequest::getSecurityToken()const
{ {
return securityToken_; return securityToken_;

View File

@@ -135,6 +135,17 @@ void CreateNetworkInterfaceRequest::setAccessKeyId(const std::string& accessKeyI
setCoreParameter("AccessKeyId", accessKeyId); setCoreParameter("AccessKeyId", accessKeyId);
} }
std::string CreateNetworkInterfaceRequest::getBusinessType()const
{
return businessType_;
}
void CreateNetworkInterfaceRequest::setBusinessType(const std::string& businessType)
{
businessType_ = businessType;
setCoreParameter("BusinessType", businessType);
}
std::string CreateNetworkInterfaceRequest::getSourceRegionId()const std::string CreateNetworkInterfaceRequest::getSourceRegionId()const
{ {
return sourceRegionId_; return sourceRegionId_;
@@ -273,6 +284,17 @@ void CreateNetworkInterfaceRequest::setApp_ip(const std::string& app_ip)
setCoreParameter("App_ip", app_ip); setCoreParameter("App_ip", app_ip);
} }
bool CreateNetworkInterfaceRequest::getVisible()const
{
return visible_;
}
void CreateNetworkInterfaceRequest::setVisible(bool visible)
{
visible_ = visible;
setCoreParameter("Visible", visible ? "true" : "false");
}
std::string CreateNetworkInterfaceRequest::getResourceOwnerAccount()const std::string CreateNetworkInterfaceRequest::getResourceOwnerAccount()const
{ {
return resourceOwnerAccount_; return resourceOwnerAccount_;

View File

@@ -36,6 +36,17 @@ void DescribeNetworkInterfacesRequest::setResourceOwnerId(long resourceOwnerId)
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
} }
bool DescribeNetworkInterfacesRequest::getServiceManaged()const
{
return serviceManaged_;
}
void DescribeNetworkInterfacesRequest::setServiceManaged(bool serviceManaged)
{
serviceManaged_ = serviceManaged;
setCoreParameter("ServiceManaged", serviceManaged ? "true" : "false");
}
long DescribeNetworkInterfacesRequest::getCallerParentId()const long DescribeNetworkInterfacesRequest::getCallerParentId()const
{ {
return callerParentId_; return callerParentId_;

View File

@@ -70,6 +70,10 @@ void DescribeNetworkInterfacesResult::parse(const std::string &payload)
networkInterfaceSetsObject.creationTime = value["CreationTime"].asString(); networkInterfaceSetsObject.creationTime = value["CreationTime"].asString();
if(!value["ResourceGroupId"].isNull()) if(!value["ResourceGroupId"].isNull())
networkInterfaceSetsObject.resourceGroupId = value["ResourceGroupId"].asString(); networkInterfaceSetsObject.resourceGroupId = value["ResourceGroupId"].asString();
if(!value["ServiceID"].isNull())
networkInterfaceSetsObject.serviceID = std::stol(value["ServiceID"].asString());
if(!value["ServiceManaged"].isNull())
networkInterfaceSetsObject.serviceManaged = value["ServiceManaged"].asString() == "true";
auto allPrivateIpSets = value["PrivateIpSets"]["PrivateIpSet"]; auto allPrivateIpSets = value["PrivateIpSets"]["PrivateIpSet"];
for (auto value : allPrivateIpSets) for (auto value : allPrivateIpSets)
{ {

View File

@@ -25,6 +25,17 @@ JoinResourceGroupRequest::JoinResourceGroupRequest() :
JoinResourceGroupRequest::~JoinResourceGroupRequest() JoinResourceGroupRequest::~JoinResourceGroupRequest()
{} {}
std::string JoinResourceGroupRequest::getSourceRegionId()const
{
return sourceRegionId_;
}
void JoinResourceGroupRequest::setSourceRegionId(const std::string& sourceRegionId)
{
sourceRegionId_ = sourceRegionId;
setCoreParameter("SourceRegionId", sourceRegionId);
}
std::string JoinResourceGroupRequest::getResourceGroupId()const std::string JoinResourceGroupRequest::getResourceGroupId()const
{ {
return resourceGroupId_; return resourceGroupId_;

View File

@@ -125,6 +125,17 @@ void ModifyNetworkInterfaceAttributeRequest::setAccessKeyId(const std::string& a
setCoreParameter("AccessKeyId", accessKeyId); setCoreParameter("AccessKeyId", accessKeyId);
} }
std::string ModifyNetworkInterfaceAttributeRequest::getSourceRegionId()const
{
return sourceRegionId_;
}
void ModifyNetworkInterfaceAttributeRequest::setSourceRegionId(const std::string& sourceRegionId)
{
sourceRegionId_ = sourceRegionId;
setCoreParameter("SourceRegionId", sourceRegionId);
}
std::string ModifyNetworkInterfaceAttributeRequest::getSecurityToken()const std::string ModifyNetworkInterfaceAttributeRequest::getSecurityToken()const
{ {
return securityToken_; return securityToken_;