由丰鲁成发起的VPC SDK自动发布, BUILD_ID=344, 版本号:升级小版本
发布日志: 1, First release vpc for c++
This commit is contained in:
259
vpc/src/model/CreateRouterInterfaceRequest.cc
Normal file
259
vpc/src/model/CreateRouterInterfaceRequest.cc
Normal file
@@ -0,0 +1,259 @@
|
||||
/*
|
||||
* 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/vpc/model/CreateRouterInterfaceRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
|
||||
CreateRouterInterfaceRequest::CreateRouterInterfaceRequest() :
|
||||
VpcRequest("CreateRouterInterface")
|
||||
{}
|
||||
|
||||
CreateRouterInterfaceRequest::~CreateRouterInterfaceRequest()
|
||||
{}
|
||||
|
||||
std::string CreateRouterInterfaceRequest::getAccessPointId()const
|
||||
{
|
||||
return accessPointId_;
|
||||
}
|
||||
|
||||
void CreateRouterInterfaceRequest::setAccessPointId(const std::string& accessPointId)
|
||||
{
|
||||
accessPointId_ = accessPointId;
|
||||
setParameter("AccessPointId", accessPointId);
|
||||
}
|
||||
|
||||
std::string CreateRouterInterfaceRequest::getOppositeRouterId()const
|
||||
{
|
||||
return oppositeRouterId_;
|
||||
}
|
||||
|
||||
void CreateRouterInterfaceRequest::setOppositeRouterId(const std::string& oppositeRouterId)
|
||||
{
|
||||
oppositeRouterId_ = oppositeRouterId;
|
||||
setParameter("OppositeRouterId", oppositeRouterId);
|
||||
}
|
||||
|
||||
std::string CreateRouterInterfaceRequest::getOppositeAccessPointId()const
|
||||
{
|
||||
return oppositeAccessPointId_;
|
||||
}
|
||||
|
||||
void CreateRouterInterfaceRequest::setOppositeAccessPointId(const std::string& oppositeAccessPointId)
|
||||
{
|
||||
oppositeAccessPointId_ = oppositeAccessPointId;
|
||||
setParameter("OppositeAccessPointId", oppositeAccessPointId);
|
||||
}
|
||||
|
||||
long CreateRouterInterfaceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateRouterInterfaceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateRouterInterfaceRequest::getRole()const
|
||||
{
|
||||
return role_;
|
||||
}
|
||||
|
||||
void CreateRouterInterfaceRequest::setRole(const std::string& role)
|
||||
{
|
||||
role_ = role;
|
||||
setParameter("Role", role);
|
||||
}
|
||||
|
||||
std::string CreateRouterInterfaceRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateRouterInterfaceRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateRouterInterfaceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateRouterInterfaceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateRouterInterfaceRequest::getOppositeRegionId()const
|
||||
{
|
||||
return oppositeRegionId_;
|
||||
}
|
||||
|
||||
void CreateRouterInterfaceRequest::setOppositeRegionId(const std::string& oppositeRegionId)
|
||||
{
|
||||
oppositeRegionId_ = oppositeRegionId;
|
||||
setParameter("OppositeRegionId", oppositeRegionId);
|
||||
}
|
||||
|
||||
std::string CreateRouterInterfaceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateRouterInterfaceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateRouterInterfaceRequest::getHealthCheckTargetIp()const
|
||||
{
|
||||
return healthCheckTargetIp_;
|
||||
}
|
||||
|
||||
void CreateRouterInterfaceRequest::setHealthCheckTargetIp(const std::string& healthCheckTargetIp)
|
||||
{
|
||||
healthCheckTargetIp_ = healthCheckTargetIp;
|
||||
setParameter("HealthCheckTargetIp", healthCheckTargetIp);
|
||||
}
|
||||
|
||||
std::string CreateRouterInterfaceRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateRouterInterfaceRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
long CreateRouterInterfaceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateRouterInterfaceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateRouterInterfaceRequest::getSpec()const
|
||||
{
|
||||
return spec_;
|
||||
}
|
||||
|
||||
void CreateRouterInterfaceRequest::setSpec(const std::string& spec)
|
||||
{
|
||||
spec_ = spec;
|
||||
setParameter("Spec", spec);
|
||||
}
|
||||
|
||||
std::string CreateRouterInterfaceRequest::getOppositeInterfaceOwnerId()const
|
||||
{
|
||||
return oppositeInterfaceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateRouterInterfaceRequest::setOppositeInterfaceOwnerId(const std::string& oppositeInterfaceOwnerId)
|
||||
{
|
||||
oppositeInterfaceOwnerId_ = oppositeInterfaceOwnerId;
|
||||
setParameter("OppositeInterfaceOwnerId", oppositeInterfaceOwnerId);
|
||||
}
|
||||
|
||||
std::string CreateRouterInterfaceRequest::getRouterType()const
|
||||
{
|
||||
return routerType_;
|
||||
}
|
||||
|
||||
void CreateRouterInterfaceRequest::setRouterType(const std::string& routerType)
|
||||
{
|
||||
routerType_ = routerType;
|
||||
setParameter("RouterType", routerType);
|
||||
}
|
||||
|
||||
std::string CreateRouterInterfaceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateRouterInterfaceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateRouterInterfaceRequest::getHealthCheckSourceIp()const
|
||||
{
|
||||
return healthCheckSourceIp_;
|
||||
}
|
||||
|
||||
void CreateRouterInterfaceRequest::setHealthCheckSourceIp(const std::string& healthCheckSourceIp)
|
||||
{
|
||||
healthCheckSourceIp_ = healthCheckSourceIp;
|
||||
setParameter("HealthCheckSourceIp", healthCheckSourceIp);
|
||||
}
|
||||
|
||||
std::string CreateRouterInterfaceRequest::getRouterId()const
|
||||
{
|
||||
return routerId_;
|
||||
}
|
||||
|
||||
void CreateRouterInterfaceRequest::setRouterId(const std::string& routerId)
|
||||
{
|
||||
routerId_ = routerId;
|
||||
setParameter("RouterId", routerId);
|
||||
}
|
||||
|
||||
std::string CreateRouterInterfaceRequest::getOppositeRouterType()const
|
||||
{
|
||||
return oppositeRouterType_;
|
||||
}
|
||||
|
||||
void CreateRouterInterfaceRequest::setOppositeRouterType(const std::string& oppositeRouterType)
|
||||
{
|
||||
oppositeRouterType_ = oppositeRouterType;
|
||||
setParameter("OppositeRouterType", oppositeRouterType);
|
||||
}
|
||||
|
||||
std::string CreateRouterInterfaceRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateRouterInterfaceRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string CreateRouterInterfaceRequest::getOppositeInterfaceId()const
|
||||
{
|
||||
return oppositeInterfaceId_;
|
||||
}
|
||||
|
||||
void CreateRouterInterfaceRequest::setOppositeInterfaceId(const std::string& oppositeInterfaceId)
|
||||
{
|
||||
oppositeInterfaceId_ = oppositeInterfaceId;
|
||||
setParameter("OppositeInterfaceId", oppositeInterfaceId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user