由鸿逸发起的HSM SDK自动发布, 版本号:1.7.1

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
haowei.yao
2018-04-27 19:48:27 +08:00
parent 6ecfd8332a
commit 339cf28edd
39 changed files with 2557 additions and 2 deletions

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/hsm/model/ConfigNetworkRequest.h>
using AlibabaCloud::Hsm::Model::ConfigNetworkRequest;
ConfigNetworkRequest::ConfigNetworkRequest() :
RpcServiceRequest("hsm", "2018-01-11", "ConfigNetwork")
{}
ConfigNetworkRequest::~ConfigNetworkRequest()
{}
std::string ConfigNetworkRequest::getVSwitchId()const
{
return vSwitchId_;
}
void ConfigNetworkRequest::setVSwitchId(const std::string& vSwitchId)
{
vSwitchId_ = vSwitchId;
setParameter("VSwitchId", vSwitchId);
}
long ConfigNetworkRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void ConfigNetworkRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string ConfigNetworkRequest::getInstanceId()const
{
return instanceId_;
}
void ConfigNetworkRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
}
std::string ConfigNetworkRequest::getSourceIp()const
{
return sourceIp_;
}
void ConfigNetworkRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string ConfigNetworkRequest::getVpcId()const
{
return vpcId_;
}
void ConfigNetworkRequest::setVpcId(const std::string& vpcId)
{
vpcId_ = vpcId;
setParameter("VpcId", vpcId);
}
std::string ConfigNetworkRequest::getIp()const
{
return ip_;
}
void ConfigNetworkRequest::setIp(const std::string& ip)
{
ip_ = ip;
setParameter("Ip", ip);
}