Generate SDK by new Generator

This commit is contained in:
wb-hx510875
2019-09-18 11:18:56 +08:00
parent be86048a76
commit f3eaf1d292
9054 changed files with 325898 additions and 381375 deletions

View File

@@ -25,29 +25,6 @@ SetInstancesProtectionRequest::SetInstancesProtectionRequest() :
SetInstancesProtectionRequest::~SetInstancesProtectionRequest()
{}
std::vector<std::string> SetInstancesProtectionRequest::getInstanceId()const
{
return instanceId_;
}
void SetInstancesProtectionRequest::setInstanceId(const std::vector<std::string>& instanceId)
{
instanceId_ = instanceId;
for(int i = 0; i!= instanceId.size(); i++)
setCoreParameter("InstanceId."+ std::to_string(i), instanceId.at(i));
}
std::string SetInstancesProtectionRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void SetInstancesProtectionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string SetInstancesProtectionRequest::getScalingGroupId()const
{
return scalingGroupId_;
@@ -59,17 +36,6 @@ void SetInstancesProtectionRequest::setScalingGroupId(const std::string& scaling
setCoreParameter("ScalingGroupId", scalingGroupId);
}
long SetInstancesProtectionRequest::getOwnerId()const
{
return ownerId_;
}
void SetInstancesProtectionRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string SetInstancesProtectionRequest::getAccessKeyId()const
{
return accessKeyId_;
@@ -81,6 +47,40 @@ void SetInstancesProtectionRequest::setAccessKeyId(const std::string& accessKeyI
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string SetInstancesProtectionRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void SetInstancesProtectionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
long SetInstancesProtectionRequest::getOwnerId()const
{
return ownerId_;
}
void SetInstancesProtectionRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::vector<std::string> SetInstancesProtectionRequest::getInstanceId()const
{
return instanceId_;
}
void SetInstancesProtectionRequest::setInstanceId(const std::vector<std::string>& instanceId)
{
instanceId_ = instanceId;
for(int i = 0; i!= instanceId.size(); i++)
setCoreParameter("InstanceId."+ std::to_string(i), instanceId.at(i));
}
bool SetInstancesProtectionRequest::getProtectedFromScaleIn()const
{
return protectedFromScaleIn_;