Generate SDK by new Generator
This commit is contained in:
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user