regenerate code

This commit is contained in:
wb-hx510875
2020-03-26 17:27:13 +08:00
committed by Axios
parent cba94f2119
commit f0c2600a26
6249 changed files with 188711 additions and 43443 deletions

View File

@@ -339,6 +339,42 @@ VpcClient::AllocateEipAddressOutcomeCallable VpcClient::allocateEipAddressCallab
return task->get_future();
}
VpcClient::AllocateEipSegmentAddressOutcome VpcClient::allocateEipSegmentAddress(const AllocateEipSegmentAddressRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AllocateEipSegmentAddressOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return AllocateEipSegmentAddressOutcome(AllocateEipSegmentAddressResult(outcome.result()));
else
return AllocateEipSegmentAddressOutcome(outcome.error());
}
void VpcClient::allocateEipSegmentAddressAsync(const AllocateEipSegmentAddressRequest& request, const AllocateEipSegmentAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, allocateEipSegmentAddress(request), context);
};
asyncExecute(new Runnable(fn));
}
VpcClient::AllocateEipSegmentAddressOutcomeCallable VpcClient::allocateEipSegmentAddressCallable(const AllocateEipSegmentAddressRequest &request) const
{
auto task = std::make_shared<std::packaged_task<AllocateEipSegmentAddressOutcome()>>(
[this, request]()
{
return this->allocateEipSegmentAddress(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VpcClient::AllocateIpv6InternetBandwidthOutcome VpcClient::allocateIpv6InternetBandwidth(const AllocateIpv6InternetBandwidthRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -627,6 +663,42 @@ VpcClient::AssociateRouteTableOutcomeCallable VpcClient::associateRouteTableCall
return task->get_future();
}
VpcClient::AssociateVpcCidrBlockOutcome VpcClient::associateVpcCidrBlock(const AssociateVpcCidrBlockRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AssociateVpcCidrBlockOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return AssociateVpcCidrBlockOutcome(AssociateVpcCidrBlockResult(outcome.result()));
else
return AssociateVpcCidrBlockOutcome(outcome.error());
}
void VpcClient::associateVpcCidrBlockAsync(const AssociateVpcCidrBlockRequest& request, const AssociateVpcCidrBlockAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, associateVpcCidrBlock(request), context);
};
asyncExecute(new Runnable(fn));
}
VpcClient::AssociateVpcCidrBlockOutcomeCallable VpcClient::associateVpcCidrBlockCallable(const AssociateVpcCidrBlockRequest &request) const
{
auto task = std::make_shared<std::packaged_task<AssociateVpcCidrBlockOutcome()>>(
[this, request]()
{
return this->associateVpcCidrBlock(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VpcClient::CancelCommonBandwidthPackageIpBandwidthOutcome VpcClient::cancelCommonBandwidthPackageIpBandwidth(const CancelCommonBandwidthPackageIpBandwidthRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -663,6 +735,42 @@ VpcClient::CancelCommonBandwidthPackageIpBandwidthOutcomeCallable VpcClient::can
return task->get_future();
}
VpcClient::CancelExpressCloudConnectionOutcome VpcClient::cancelExpressCloudConnection(const CancelExpressCloudConnectionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CancelExpressCloudConnectionOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CancelExpressCloudConnectionOutcome(CancelExpressCloudConnectionResult(outcome.result()));
else
return CancelExpressCloudConnectionOutcome(outcome.error());
}
void VpcClient::cancelExpressCloudConnectionAsync(const CancelExpressCloudConnectionRequest& request, const CancelExpressCloudConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, cancelExpressCloudConnection(request), context);
};
asyncExecute(new Runnable(fn));
}
VpcClient::CancelExpressCloudConnectionOutcomeCallable VpcClient::cancelExpressCloudConnectionCallable(const CancelExpressCloudConnectionRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CancelExpressCloudConnectionOutcome()>>(
[this, request]()
{
return this->cancelExpressCloudConnection(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VpcClient::CancelPhysicalConnectionOutcome VpcClient::cancelPhysicalConnection(const CancelPhysicalConnectionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2319,6 +2427,42 @@ VpcClient::DeleteCustomerGatewayOutcomeCallable VpcClient::deleteCustomerGateway
return task->get_future();
}
VpcClient::DeleteExpressCloudConnectionOutcome VpcClient::deleteExpressCloudConnection(const DeleteExpressCloudConnectionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteExpressCloudConnectionOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteExpressCloudConnectionOutcome(DeleteExpressCloudConnectionResult(outcome.result()));
else
return DeleteExpressCloudConnectionOutcome(outcome.error());
}
void VpcClient::deleteExpressCloudConnectionAsync(const DeleteExpressCloudConnectionRequest& request, const DeleteExpressCloudConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteExpressCloudConnection(request), context);
};
asyncExecute(new Runnable(fn));
}
VpcClient::DeleteExpressCloudConnectionOutcomeCallable VpcClient::deleteExpressCloudConnectionCallable(const DeleteExpressCloudConnectionRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteExpressCloudConnectionOutcome()>>(
[this, request]()
{
return this->deleteExpressCloudConnection(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VpcClient::DeleteExpressConnectOutcome VpcClient::deleteExpressConnect(const DeleteExpressConnectRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -3723,6 +3867,42 @@ VpcClient::DescribeEipMonitorDataOutcomeCallable VpcClient::describeEipMonitorDa
return task->get_future();
}
VpcClient::DescribeEipSegmentOutcome VpcClient::describeEipSegment(const DescribeEipSegmentRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeEipSegmentOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeEipSegmentOutcome(DescribeEipSegmentResult(outcome.result()));
else
return DescribeEipSegmentOutcome(outcome.error());
}
void VpcClient::describeEipSegmentAsync(const DescribeEipSegmentRequest& request, const DescribeEipSegmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeEipSegment(request), context);
};
asyncExecute(new Runnable(fn));
}
VpcClient::DescribeEipSegmentOutcomeCallable VpcClient::describeEipSegmentCallable(const DescribeEipSegmentRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeEipSegmentOutcome()>>(
[this, request]()
{
return this->describeEipSegment(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VpcClient::DescribeExpressCloudConnectionsOutcome VpcClient::describeExpressCloudConnections(const DescribeExpressCloudConnectionsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -4371,6 +4551,42 @@ VpcClient::DescribeNetworkAclsOutcomeCallable VpcClient::describeNetworkAclsCall
return task->get_future();
}
VpcClient::DescribeNewProjectEipMonitorDataOutcome VpcClient::describeNewProjectEipMonitorData(const DescribeNewProjectEipMonitorDataRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeNewProjectEipMonitorDataOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeNewProjectEipMonitorDataOutcome(DescribeNewProjectEipMonitorDataResult(outcome.result()));
else
return DescribeNewProjectEipMonitorDataOutcome(outcome.error());
}
void VpcClient::describeNewProjectEipMonitorDataAsync(const DescribeNewProjectEipMonitorDataRequest& request, const DescribeNewProjectEipMonitorDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeNewProjectEipMonitorData(request), context);
};
asyncExecute(new Runnable(fn));
}
VpcClient::DescribeNewProjectEipMonitorDataOutcomeCallable VpcClient::describeNewProjectEipMonitorDataCallable(const DescribeNewProjectEipMonitorDataRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeNewProjectEipMonitorDataOutcome()>>(
[this, request]()
{
return this->describeNewProjectEipMonitorData(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VpcClient::DescribePhysicalConnectionLOAOutcome VpcClient::describePhysicalConnectionLOA(const DescribePhysicalConnectionLOARequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -4587,6 +4803,42 @@ VpcClient::DescribeRouteTablesOutcomeCallable VpcClient::describeRouteTablesCall
return task->get_future();
}
VpcClient::DescribeRouterInterfaceAttributeOutcome VpcClient::describeRouterInterfaceAttribute(const DescribeRouterInterfaceAttributeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeRouterInterfaceAttributeOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeRouterInterfaceAttributeOutcome(DescribeRouterInterfaceAttributeResult(outcome.result()));
else
return DescribeRouterInterfaceAttributeOutcome(outcome.error());
}
void VpcClient::describeRouterInterfaceAttributeAsync(const DescribeRouterInterfaceAttributeRequest& request, const DescribeRouterInterfaceAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeRouterInterfaceAttribute(request), context);
};
asyncExecute(new Runnable(fn));
}
VpcClient::DescribeRouterInterfaceAttributeOutcomeCallable VpcClient::describeRouterInterfaceAttributeCallable(const DescribeRouterInterfaceAttributeRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeRouterInterfaceAttributeOutcome()>>(
[this, request]()
{
return this->describeRouterInterfaceAttribute(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VpcClient::DescribeRouterInterfacesOutcome VpcClient::describeRouterInterfaces(const DescribeRouterInterfacesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -7323,6 +7575,42 @@ VpcClient::ReleaseEipAddressOutcomeCallable VpcClient::releaseEipAddressCallable
return task->get_future();
}
VpcClient::ReleaseEipSegmentAddressOutcome VpcClient::releaseEipSegmentAddress(const ReleaseEipSegmentAddressRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ReleaseEipSegmentAddressOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ReleaseEipSegmentAddressOutcome(ReleaseEipSegmentAddressResult(outcome.result()));
else
return ReleaseEipSegmentAddressOutcome(outcome.error());
}
void VpcClient::releaseEipSegmentAddressAsync(const ReleaseEipSegmentAddressRequest& request, const ReleaseEipSegmentAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, releaseEipSegmentAddress(request), context);
};
asyncExecute(new Runnable(fn));
}
VpcClient::ReleaseEipSegmentAddressOutcomeCallable VpcClient::releaseEipSegmentAddressCallable(const ReleaseEipSegmentAddressRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ReleaseEipSegmentAddressOutcome()>>(
[this, request]()
{
return this->releaseEipSegmentAddress(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VpcClient::RemoveBandwidthPackageIpsOutcome VpcClient::removeBandwidthPackageIps(const RemoveBandwidthPackageIpsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -7863,6 +8151,42 @@ VpcClient::UnassociateRouteTableOutcomeCallable VpcClient::unassociateRouteTable
return task->get_future();
}
VpcClient::UnassociateVpcCidrBlockOutcome VpcClient::unassociateVpcCidrBlock(const UnassociateVpcCidrBlockRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UnassociateVpcCidrBlockOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UnassociateVpcCidrBlockOutcome(UnassociateVpcCidrBlockResult(outcome.result()));
else
return UnassociateVpcCidrBlockOutcome(outcome.error());
}
void VpcClient::unassociateVpcCidrBlockAsync(const UnassociateVpcCidrBlockRequest& request, const UnassociateVpcCidrBlockAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, unassociateVpcCidrBlock(request), context);
};
asyncExecute(new Runnable(fn));
}
VpcClient::UnassociateVpcCidrBlockOutcomeCallable VpcClient::unassociateVpcCidrBlockCallable(const UnassociateVpcCidrBlockRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UnassociateVpcCidrBlockOutcome()>>(
[this, request]()
{
return this->unassociateVpcCidrBlock(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VpcClient::UpdateNetworkAclEntriesOutcome VpcClient::updateNetworkAclEntries(const UpdateNetworkAclEntriesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::ActivateRouterInterfaceRequest;
ActivateRouterInterfaceRequest::ActivateRouterInterfaceRequest() :
RpcServiceRequest("vpc", "2016-04-28", "ActivateRouterInterface")
{}
{
setMethod(HttpRequest::Method::Post);
}
ActivateRouterInterfaceRequest::~ActivateRouterInterfaceRequest()
{}
@@ -33,7 +35,7 @@ long ActivateRouterInterfaceRequest::getResourceOwnerId()const
void ActivateRouterInterfaceRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string ActivateRouterInterfaceRequest::getResourceOwnerAccount()const
@@ -44,7 +46,7 @@ std::string ActivateRouterInterfaceRequest::getResourceOwnerAccount()const
void ActivateRouterInterfaceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
long ActivateRouterInterfaceRequest::getOwnerId()const
@@ -55,7 +57,7 @@ long ActivateRouterInterfaceRequest::getOwnerId()const
void ActivateRouterInterfaceRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string ActivateRouterInterfaceRequest::getRouterInterfaceId()const
@@ -66,7 +68,7 @@ std::string ActivateRouterInterfaceRequest::getRouterInterfaceId()const
void ActivateRouterInterfaceRequest::setRouterInterfaceId(const std::string& routerInterfaceId)
{
routerInterfaceId_ = routerInterfaceId;
setCoreParameter("RouterInterfaceId", routerInterfaceId);
setParameter("RouterInterfaceId", routerInterfaceId);
}
std::string ActivateRouterInterfaceRequest::getRegionId()const
@@ -77,6 +79,6 @@ std::string ActivateRouterInterfaceRequest::getRegionId()const
void ActivateRouterInterfaceRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::ActiveFlowLogRequest;
ActiveFlowLogRequest::ActiveFlowLogRequest() :
RpcServiceRequest("vpc", "2016-04-28", "ActiveFlowLog")
{}
{
setMethod(HttpRequest::Method::Post);
}
ActiveFlowLogRequest::~ActiveFlowLogRequest()
{}
@@ -33,7 +35,7 @@ long ActiveFlowLogRequest::getResourceOwnerId()const
void ActiveFlowLogRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string ActiveFlowLogRequest::getRegionId()const
@@ -44,7 +46,7 @@ std::string ActiveFlowLogRequest::getRegionId()const
void ActiveFlowLogRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string ActiveFlowLogRequest::getResourceOwnerAccount()const
@@ -55,7 +57,7 @@ std::string ActiveFlowLogRequest::getResourceOwnerAccount()const
void ActiveFlowLogRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string ActiveFlowLogRequest::getOwnerAccount()const
@@ -66,7 +68,7 @@ std::string ActiveFlowLogRequest::getOwnerAccount()const
void ActiveFlowLogRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long ActiveFlowLogRequest::getOwnerId()const
@@ -77,7 +79,7 @@ long ActiveFlowLogRequest::getOwnerId()const
void ActiveFlowLogRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string ActiveFlowLogRequest::getFlowLogId()const
@@ -88,6 +90,6 @@ std::string ActiveFlowLogRequest::getFlowLogId()const
void ActiveFlowLogRequest::setFlowLogId(const std::string& flowLogId)
{
flowLogId_ = flowLogId;
setCoreParameter("FlowLogId", flowLogId);
setParameter("FlowLogId", flowLogId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::AddBandwidthPackageIpsRequest;
AddBandwidthPackageIpsRequest::AddBandwidthPackageIpsRequest() :
RpcServiceRequest("vpc", "2016-04-28", "AddBandwidthPackageIps")
{}
{
setMethod(HttpRequest::Method::Post);
}
AddBandwidthPackageIpsRequest::~AddBandwidthPackageIpsRequest()
{}
@@ -33,7 +35,7 @@ long AddBandwidthPackageIpsRequest::getResourceOwnerId()const
void AddBandwidthPackageIpsRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string AddBandwidthPackageIpsRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string AddBandwidthPackageIpsRequest::getClientToken()const
void AddBandwidthPackageIpsRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string AddBandwidthPackageIpsRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string AddBandwidthPackageIpsRequest::getRegionId()const
void AddBandwidthPackageIpsRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string AddBandwidthPackageIpsRequest::getBandwidthPackageId()const
@@ -66,7 +68,7 @@ std::string AddBandwidthPackageIpsRequest::getBandwidthPackageId()const
void AddBandwidthPackageIpsRequest::setBandwidthPackageId(const std::string& bandwidthPackageId)
{
bandwidthPackageId_ = bandwidthPackageId;
setCoreParameter("BandwidthPackageId", bandwidthPackageId);
setParameter("BandwidthPackageId", bandwidthPackageId);
}
std::string AddBandwidthPackageIpsRequest::getResourceOwnerAccount()const
@@ -77,7 +79,7 @@ std::string AddBandwidthPackageIpsRequest::getResourceOwnerAccount()const
void AddBandwidthPackageIpsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string AddBandwidthPackageIpsRequest::getOwnerAccount()const
@@ -88,7 +90,7 @@ std::string AddBandwidthPackageIpsRequest::getOwnerAccount()const
void AddBandwidthPackageIpsRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long AddBandwidthPackageIpsRequest::getOwnerId()const
@@ -99,7 +101,7 @@ long AddBandwidthPackageIpsRequest::getOwnerId()const
void AddBandwidthPackageIpsRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string AddBandwidthPackageIpsRequest::getIpCount()const
@@ -110,6 +112,6 @@ std::string AddBandwidthPackageIpsRequest::getIpCount()const
void AddBandwidthPackageIpsRequest::setIpCount(const std::string& ipCount)
{
ipCount_ = ipCount;
setCoreParameter("IpCount", ipCount);
setParameter("IpCount", ipCount);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::AddBgpNetworkRequest;
AddBgpNetworkRequest::AddBgpNetworkRequest() :
RpcServiceRequest("vpc", "2016-04-28", "AddBgpNetwork")
{}
{
setMethod(HttpRequest::Method::Post);
}
AddBgpNetworkRequest::~AddBgpNetworkRequest()
{}
@@ -33,7 +35,7 @@ long AddBgpNetworkRequest::getResourceOwnerId()const
void AddBgpNetworkRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string AddBgpNetworkRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string AddBgpNetworkRequest::getClientToken()const
void AddBgpNetworkRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string AddBgpNetworkRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string AddBgpNetworkRequest::getRegionId()const
void AddBgpNetworkRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string AddBgpNetworkRequest::getResourceOwnerAccount()const
@@ -66,7 +68,7 @@ std::string AddBgpNetworkRequest::getResourceOwnerAccount()const
void AddBgpNetworkRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string AddBgpNetworkRequest::getOwnerAccount()const
@@ -77,7 +79,7 @@ std::string AddBgpNetworkRequest::getOwnerAccount()const
void AddBgpNetworkRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long AddBgpNetworkRequest::getOwnerId()const
@@ -88,7 +90,7 @@ long AddBgpNetworkRequest::getOwnerId()const
void AddBgpNetworkRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string AddBgpNetworkRequest::getRouterId()const
@@ -99,7 +101,7 @@ std::string AddBgpNetworkRequest::getRouterId()const
void AddBgpNetworkRequest::setRouterId(const std::string& routerId)
{
routerId_ = routerId;
setCoreParameter("RouterId", routerId);
setParameter("RouterId", routerId);
}
std::string AddBgpNetworkRequest::getVpcId()const
@@ -110,7 +112,7 @@ std::string AddBgpNetworkRequest::getVpcId()const
void AddBgpNetworkRequest::setVpcId(const std::string& vpcId)
{
vpcId_ = vpcId;
setCoreParameter("VpcId", vpcId);
setParameter("VpcId", vpcId);
}
std::string AddBgpNetworkRequest::getDstCidrBlock()const
@@ -121,6 +123,6 @@ std::string AddBgpNetworkRequest::getDstCidrBlock()const
void AddBgpNetworkRequest::setDstCidrBlock(const std::string& dstCidrBlock)
{
dstCidrBlock_ = dstCidrBlock;
setCoreParameter("DstCidrBlock", dstCidrBlock);
setParameter("DstCidrBlock", dstCidrBlock);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::AddCommonBandwidthPackageIpRequest;
AddCommonBandwidthPackageIpRequest::AddCommonBandwidthPackageIpRequest() :
RpcServiceRequest("vpc", "2016-04-28", "AddCommonBandwidthPackageIp")
{}
{
setMethod(HttpRequest::Method::Post);
}
AddCommonBandwidthPackageIpRequest::~AddCommonBandwidthPackageIpRequest()
{}
@@ -33,7 +35,7 @@ long AddCommonBandwidthPackageIpRequest::getResourceOwnerId()const
void AddCommonBandwidthPackageIpRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string AddCommonBandwidthPackageIpRequest::getRegionId()const
@@ -44,7 +46,7 @@ std::string AddCommonBandwidthPackageIpRequest::getRegionId()const
void AddCommonBandwidthPackageIpRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string AddCommonBandwidthPackageIpRequest::getBandwidthPackageId()const
@@ -55,7 +57,7 @@ std::string AddCommonBandwidthPackageIpRequest::getBandwidthPackageId()const
void AddCommonBandwidthPackageIpRequest::setBandwidthPackageId(const std::string& bandwidthPackageId)
{
bandwidthPackageId_ = bandwidthPackageId;
setCoreParameter("BandwidthPackageId", bandwidthPackageId);
setParameter("BandwidthPackageId", bandwidthPackageId);
}
std::string AddCommonBandwidthPackageIpRequest::getResourceOwnerAccount()const
@@ -66,7 +68,7 @@ std::string AddCommonBandwidthPackageIpRequest::getResourceOwnerAccount()const
void AddCommonBandwidthPackageIpRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string AddCommonBandwidthPackageIpRequest::getOwnerAccount()const
@@ -77,7 +79,7 @@ std::string AddCommonBandwidthPackageIpRequest::getOwnerAccount()const
void AddCommonBandwidthPackageIpRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long AddCommonBandwidthPackageIpRequest::getOwnerId()const
@@ -88,7 +90,18 @@ long AddCommonBandwidthPackageIpRequest::getOwnerId()const
void AddCommonBandwidthPackageIpRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string AddCommonBandwidthPackageIpRequest::getIpType()const
{
return ipType_;
}
void AddCommonBandwidthPackageIpRequest::setIpType(const std::string& ipType)
{
ipType_ = ipType;
setParameter("IpType", ipType);
}
std::string AddCommonBandwidthPackageIpRequest::getIpInstanceId()const
@@ -99,6 +112,6 @@ std::string AddCommonBandwidthPackageIpRequest::getIpInstanceId()const
void AddCommonBandwidthPackageIpRequest::setIpInstanceId(const std::string& ipInstanceId)
{
ipInstanceId_ = ipInstanceId;
setCoreParameter("IpInstanceId", ipInstanceId);
setParameter("IpInstanceId", ipInstanceId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::AddGlobalAccelerationInstanceIpRequest;
AddGlobalAccelerationInstanceIpRequest::AddGlobalAccelerationInstanceIpRequest() :
RpcServiceRequest("vpc", "2016-04-28", "AddGlobalAccelerationInstanceIp")
{}
{
setMethod(HttpRequest::Method::Post);
}
AddGlobalAccelerationInstanceIpRequest::~AddGlobalAccelerationInstanceIpRequest()
{}
@@ -33,7 +35,7 @@ long AddGlobalAccelerationInstanceIpRequest::getResourceOwnerId()const
void AddGlobalAccelerationInstanceIpRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string AddGlobalAccelerationInstanceIpRequest::getGlobalAccelerationInstanceId()const
@@ -44,7 +46,7 @@ std::string AddGlobalAccelerationInstanceIpRequest::getGlobalAccelerationInstanc
void AddGlobalAccelerationInstanceIpRequest::setGlobalAccelerationInstanceId(const std::string& globalAccelerationInstanceId)
{
globalAccelerationInstanceId_ = globalAccelerationInstanceId;
setCoreParameter("GlobalAccelerationInstanceId", globalAccelerationInstanceId);
setParameter("GlobalAccelerationInstanceId", globalAccelerationInstanceId);
}
std::string AddGlobalAccelerationInstanceIpRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string AddGlobalAccelerationInstanceIpRequest::getRegionId()const
void AddGlobalAccelerationInstanceIpRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string AddGlobalAccelerationInstanceIpRequest::getResourceOwnerAccount()const
@@ -66,7 +68,7 @@ std::string AddGlobalAccelerationInstanceIpRequest::getResourceOwnerAccount()con
void AddGlobalAccelerationInstanceIpRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string AddGlobalAccelerationInstanceIpRequest::getOwnerAccount()const
@@ -77,7 +79,7 @@ std::string AddGlobalAccelerationInstanceIpRequest::getOwnerAccount()const
void AddGlobalAccelerationInstanceIpRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long AddGlobalAccelerationInstanceIpRequest::getOwnerId()const
@@ -88,7 +90,7 @@ long AddGlobalAccelerationInstanceIpRequest::getOwnerId()const
void AddGlobalAccelerationInstanceIpRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string AddGlobalAccelerationInstanceIpRequest::getIpInstanceId()const
@@ -99,6 +101,6 @@ std::string AddGlobalAccelerationInstanceIpRequest::getIpInstanceId()const
void AddGlobalAccelerationInstanceIpRequest::setIpInstanceId(const std::string& ipInstanceId)
{
ipInstanceId_ = ipInstanceId;
setCoreParameter("IpInstanceId", ipInstanceId);
setParameter("IpInstanceId", ipInstanceId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::AddIPv6TranslatorAclListEntryRequest;
AddIPv6TranslatorAclListEntryRequest::AddIPv6TranslatorAclListEntryRequest() :
RpcServiceRequest("vpc", "2016-04-28", "AddIPv6TranslatorAclListEntry")
{}
{
setMethod(HttpRequest::Method::Post);
}
AddIPv6TranslatorAclListEntryRequest::~AddIPv6TranslatorAclListEntryRequest()
{}
@@ -33,7 +35,7 @@ long AddIPv6TranslatorAclListEntryRequest::getResourceOwnerId()const
void AddIPv6TranslatorAclListEntryRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string AddIPv6TranslatorAclListEntryRequest::getRegionId()const
@@ -44,7 +46,7 @@ std::string AddIPv6TranslatorAclListEntryRequest::getRegionId()const
void AddIPv6TranslatorAclListEntryRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string AddIPv6TranslatorAclListEntryRequest::getAclId()const
@@ -55,7 +57,7 @@ std::string AddIPv6TranslatorAclListEntryRequest::getAclId()const
void AddIPv6TranslatorAclListEntryRequest::setAclId(const std::string& aclId)
{
aclId_ = aclId;
setCoreParameter("AclId", aclId);
setParameter("AclId", aclId);
}
std::string AddIPv6TranslatorAclListEntryRequest::getAclEntryIp()const
@@ -66,7 +68,7 @@ std::string AddIPv6TranslatorAclListEntryRequest::getAclEntryIp()const
void AddIPv6TranslatorAclListEntryRequest::setAclEntryIp(const std::string& aclEntryIp)
{
aclEntryIp_ = aclEntryIp;
setCoreParameter("AclEntryIp", aclEntryIp);
setParameter("AclEntryIp", aclEntryIp);
}
std::string AddIPv6TranslatorAclListEntryRequest::getResourceOwnerAccount()const
@@ -77,7 +79,7 @@ std::string AddIPv6TranslatorAclListEntryRequest::getResourceOwnerAccount()const
void AddIPv6TranslatorAclListEntryRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string AddIPv6TranslatorAclListEntryRequest::getOwnerAccount()const
@@ -88,7 +90,7 @@ std::string AddIPv6TranslatorAclListEntryRequest::getOwnerAccount()const
void AddIPv6TranslatorAclListEntryRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
std::string AddIPv6TranslatorAclListEntryRequest::getAclEntryComment()const
@@ -99,7 +101,7 @@ std::string AddIPv6TranslatorAclListEntryRequest::getAclEntryComment()const
void AddIPv6TranslatorAclListEntryRequest::setAclEntryComment(const std::string& aclEntryComment)
{
aclEntryComment_ = aclEntryComment;
setCoreParameter("AclEntryComment", aclEntryComment);
setParameter("AclEntryComment", aclEntryComment);
}
long AddIPv6TranslatorAclListEntryRequest::getOwnerId()const
@@ -110,6 +112,6 @@ long AddIPv6TranslatorAclListEntryRequest::getOwnerId()const
void AddIPv6TranslatorAclListEntryRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::AllocateEipAddressRequest;
AllocateEipAddressRequest::AllocateEipAddressRequest() :
RpcServiceRequest("vpc", "2016-04-28", "AllocateEipAddress")
{}
{
setMethod(HttpRequest::Method::Post);
}
AllocateEipAddressRequest::~AllocateEipAddressRequest()
{}
@@ -33,7 +35,7 @@ long AllocateEipAddressRequest::getResourceOwnerId()const
void AllocateEipAddressRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string AllocateEipAddressRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string AllocateEipAddressRequest::getClientToken()const
void AllocateEipAddressRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string AllocateEipAddressRequest::getISP()const
@@ -55,7 +57,7 @@ std::string AllocateEipAddressRequest::getISP()const
void AllocateEipAddressRequest::setISP(const std::string& iSP)
{
iSP_ = iSP;
setCoreParameter("ISP", iSP);
setParameter("ISP", iSP);
}
std::string AllocateEipAddressRequest::getResourceGroupId()const
@@ -66,7 +68,7 @@ std::string AllocateEipAddressRequest::getResourceGroupId()const
void AllocateEipAddressRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setCoreParameter("ResourceGroupId", resourceGroupId);
setParameter("ResourceGroupId", resourceGroupId);
}
std::string AllocateEipAddressRequest::getRegionId()const
@@ -77,7 +79,7 @@ std::string AllocateEipAddressRequest::getRegionId()const
void AllocateEipAddressRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string AllocateEipAddressRequest::getNetmode()const
@@ -88,7 +90,7 @@ std::string AllocateEipAddressRequest::getNetmode()const
void AllocateEipAddressRequest::setNetmode(const std::string& netmode)
{
netmode_ = netmode;
setCoreParameter("Netmode", netmode);
setParameter("Netmode", netmode);
}
std::string AllocateEipAddressRequest::getInstanceChargeType()const
@@ -99,7 +101,7 @@ std::string AllocateEipAddressRequest::getInstanceChargeType()const
void AllocateEipAddressRequest::setInstanceChargeType(const std::string& instanceChargeType)
{
instanceChargeType_ = instanceChargeType;
setCoreParameter("InstanceChargeType", instanceChargeType);
setParameter("InstanceChargeType", instanceChargeType);
}
int AllocateEipAddressRequest::getPeriod()const
@@ -110,7 +112,7 @@ int AllocateEipAddressRequest::getPeriod()const
void AllocateEipAddressRequest::setPeriod(int period)
{
period_ = period;
setCoreParameter("Period", std::to_string(period));
setParameter("Period", std::to_string(period));
}
bool AllocateEipAddressRequest::getAutoPay()const
@@ -121,7 +123,7 @@ bool AllocateEipAddressRequest::getAutoPay()const
void AllocateEipAddressRequest::setAutoPay(bool autoPay)
{
autoPay_ = autoPay;
setCoreParameter("AutoPay", autoPay ? "true" : "false");
setParameter("AutoPay", autoPay ? "true" : "false");
}
std::string AllocateEipAddressRequest::getResourceOwnerAccount()const
@@ -132,7 +134,7 @@ std::string AllocateEipAddressRequest::getResourceOwnerAccount()const
void AllocateEipAddressRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string AllocateEipAddressRequest::getBandwidth()const
@@ -143,7 +145,7 @@ std::string AllocateEipAddressRequest::getBandwidth()const
void AllocateEipAddressRequest::setBandwidth(const std::string& bandwidth)
{
bandwidth_ = bandwidth;
setCoreParameter("Bandwidth", bandwidth);
setParameter("Bandwidth", bandwidth);
}
std::string AllocateEipAddressRequest::getOwnerAccount()const
@@ -154,7 +156,7 @@ std::string AllocateEipAddressRequest::getOwnerAccount()const
void AllocateEipAddressRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long AllocateEipAddressRequest::getOwnerId()const
@@ -165,7 +167,7 @@ long AllocateEipAddressRequest::getOwnerId()const
void AllocateEipAddressRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
long AllocateEipAddressRequest::getActivityId()const
@@ -176,7 +178,7 @@ long AllocateEipAddressRequest::getActivityId()const
void AllocateEipAddressRequest::setActivityId(long activityId)
{
activityId_ = activityId;
setCoreParameter("ActivityId", std::to_string(activityId));
setParameter("ActivityId", std::to_string(activityId));
}
std::string AllocateEipAddressRequest::getInternetChargeType()const
@@ -187,7 +189,7 @@ std::string AllocateEipAddressRequest::getInternetChargeType()const
void AllocateEipAddressRequest::setInternetChargeType(const std::string& internetChargeType)
{
internetChargeType_ = internetChargeType;
setCoreParameter("InternetChargeType", internetChargeType);
setParameter("InternetChargeType", internetChargeType);
}
std::string AllocateEipAddressRequest::getPricingCycle()const
@@ -198,6 +200,6 @@ std::string AllocateEipAddressRequest::getPricingCycle()const
void AllocateEipAddressRequest::setPricingCycle(const std::string& pricingCycle)
{
pricingCycle_ = pricingCycle;
setCoreParameter("PricingCycle", pricingCycle);
setParameter("PricingCycle", pricingCycle);
}

View File

@@ -0,0 +1,150 @@
/*
* 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/AllocateEipSegmentAddressRequest.h>
using AlibabaCloud::Vpc::Model::AllocateEipSegmentAddressRequest;
AllocateEipSegmentAddressRequest::AllocateEipSegmentAddressRequest() :
RpcServiceRequest("vpc", "2016-04-28", "AllocateEipSegmentAddress")
{
setMethod(HttpRequest::Method::Post);
}
AllocateEipSegmentAddressRequest::~AllocateEipSegmentAddressRequest()
{}
long AllocateEipSegmentAddressRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void AllocateEipSegmentAddressRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string AllocateEipSegmentAddressRequest::getClientToken()const
{
return clientToken_;
}
void AllocateEipSegmentAddressRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
std::string AllocateEipSegmentAddressRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void AllocateEipSegmentAddressRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string AllocateEipSegmentAddressRequest::getRegionId()const
{
return regionId_;
}
void AllocateEipSegmentAddressRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string AllocateEipSegmentAddressRequest::getNetmode()const
{
return netmode_;
}
void AllocateEipSegmentAddressRequest::setNetmode(const std::string& netmode)
{
netmode_ = netmode;
setParameter("Netmode", netmode);
}
std::string AllocateEipSegmentAddressRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void AllocateEipSegmentAddressRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string AllocateEipSegmentAddressRequest::getBandwidth()const
{
return bandwidth_;
}
void AllocateEipSegmentAddressRequest::setBandwidth(const std::string& bandwidth)
{
bandwidth_ = bandwidth;
setParameter("Bandwidth", bandwidth);
}
std::string AllocateEipSegmentAddressRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void AllocateEipSegmentAddressRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
std::string AllocateEipSegmentAddressRequest::getEipMask()const
{
return eipMask_;
}
void AllocateEipSegmentAddressRequest::setEipMask(const std::string& eipMask)
{
eipMask_ = eipMask;
setParameter("EipMask", eipMask);
}
long AllocateEipSegmentAddressRequest::getOwnerId()const
{
return ownerId_;
}
void AllocateEipSegmentAddressRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string AllocateEipSegmentAddressRequest::getInternetChargeType()const
{
return internetChargeType_;
}
void AllocateEipSegmentAddressRequest::setInternetChargeType(const std::string& internetChargeType)
{
internetChargeType_ = internetChargeType;
setParameter("InternetChargeType", internetChargeType);
}

View File

@@ -0,0 +1,58 @@
/*
* 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/AllocateEipSegmentAddressResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Vpc;
using namespace AlibabaCloud::Vpc::Model;
AllocateEipSegmentAddressResult::AllocateEipSegmentAddressResult() :
ServiceResult()
{}
AllocateEipSegmentAddressResult::AllocateEipSegmentAddressResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AllocateEipSegmentAddressResult::~AllocateEipSegmentAddressResult()
{}
void AllocateEipSegmentAddressResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["EipSegmentInstanceId"].isNull())
eipSegmentInstanceId_ = value["EipSegmentInstanceId"].asString();
if(!value["OrderId"].isNull())
orderId_ = std::stol(value["OrderId"].asString());
}
std::string AllocateEipSegmentAddressResult::getEipSegmentInstanceId()const
{
return eipSegmentInstanceId_;
}
long AllocateEipSegmentAddressResult::getOrderId()const
{
return orderId_;
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::AllocateIpv6InternetBandwidthRequest;
AllocateIpv6InternetBandwidthRequest::AllocateIpv6InternetBandwidthRequest() :
RpcServiceRequest("vpc", "2016-04-28", "AllocateIpv6InternetBandwidth")
{}
{
setMethod(HttpRequest::Method::Post);
}
AllocateIpv6InternetBandwidthRequest::~AllocateIpv6InternetBandwidthRequest()
{}
@@ -33,7 +35,7 @@ long AllocateIpv6InternetBandwidthRequest::getResourceOwnerId()const
void AllocateIpv6InternetBandwidthRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string AllocateIpv6InternetBandwidthRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string AllocateIpv6InternetBandwidthRequest::getClientToken()const
void AllocateIpv6InternetBandwidthRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string AllocateIpv6InternetBandwidthRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string AllocateIpv6InternetBandwidthRequest::getRegionId()const
void AllocateIpv6InternetBandwidthRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
int AllocateIpv6InternetBandwidthRequest::getBandwidth()const
@@ -66,7 +68,7 @@ int AllocateIpv6InternetBandwidthRequest::getBandwidth()const
void AllocateIpv6InternetBandwidthRequest::setBandwidth(int bandwidth)
{
bandwidth_ = bandwidth;
setCoreParameter("Bandwidth", std::to_string(bandwidth));
setParameter("Bandwidth", std::to_string(bandwidth));
}
std::string AllocateIpv6InternetBandwidthRequest::getResourceOwnerAccount()const
@@ -77,7 +79,7 @@ std::string AllocateIpv6InternetBandwidthRequest::getResourceOwnerAccount()const
void AllocateIpv6InternetBandwidthRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string AllocateIpv6InternetBandwidthRequest::getOwnerAccount()const
@@ -88,7 +90,7 @@ std::string AllocateIpv6InternetBandwidthRequest::getOwnerAccount()const
void AllocateIpv6InternetBandwidthRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long AllocateIpv6InternetBandwidthRequest::getOwnerId()const
@@ -99,7 +101,7 @@ long AllocateIpv6InternetBandwidthRequest::getOwnerId()const
void AllocateIpv6InternetBandwidthRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string AllocateIpv6InternetBandwidthRequest::getIpv6AddressId()const
@@ -110,7 +112,7 @@ std::string AllocateIpv6InternetBandwidthRequest::getIpv6AddressId()const
void AllocateIpv6InternetBandwidthRequest::setIpv6AddressId(const std::string& ipv6AddressId)
{
ipv6AddressId_ = ipv6AddressId;
setCoreParameter("Ipv6AddressId", ipv6AddressId);
setParameter("Ipv6AddressId", ipv6AddressId);
}
std::string AllocateIpv6InternetBandwidthRequest::getInternetChargeType()const
@@ -121,7 +123,7 @@ std::string AllocateIpv6InternetBandwidthRequest::getInternetChargeType()const
void AllocateIpv6InternetBandwidthRequest::setInternetChargeType(const std::string& internetChargeType)
{
internetChargeType_ = internetChargeType;
setCoreParameter("InternetChargeType", internetChargeType);
setParameter("InternetChargeType", internetChargeType);
}
std::string AllocateIpv6InternetBandwidthRequest::getIpv6GatewayId()const
@@ -132,6 +134,6 @@ std::string AllocateIpv6InternetBandwidthRequest::getIpv6GatewayId()const
void AllocateIpv6InternetBandwidthRequest::setIpv6GatewayId(const std::string& ipv6GatewayId)
{
ipv6GatewayId_ = ipv6GatewayId;
setCoreParameter("Ipv6GatewayId", ipv6GatewayId);
setParameter("Ipv6GatewayId", ipv6GatewayId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::ApplyPhysicalConnectionLOARequest;
ApplyPhysicalConnectionLOARequest::ApplyPhysicalConnectionLOARequest() :
RpcServiceRequest("vpc", "2016-04-28", "ApplyPhysicalConnectionLOA")
{}
{
setMethod(HttpRequest::Method::Post);
}
ApplyPhysicalConnectionLOARequest::~ApplyPhysicalConnectionLOARequest()
{}
@@ -33,7 +35,7 @@ long ApplyPhysicalConnectionLOARequest::getResourceOwnerId()const
void ApplyPhysicalConnectionLOARequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string ApplyPhysicalConnectionLOARequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string ApplyPhysicalConnectionLOARequest::getClientToken()const
void ApplyPhysicalConnectionLOARequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string ApplyPhysicalConnectionLOARequest::getLineType()const
@@ -55,7 +57,7 @@ std::string ApplyPhysicalConnectionLOARequest::getLineType()const
void ApplyPhysicalConnectionLOARequest::setLineType(const std::string& lineType)
{
lineType_ = lineType;
setCoreParameter("LineType", lineType);
setParameter("LineType", lineType);
}
std::string ApplyPhysicalConnectionLOARequest::getRegionId()const
@@ -66,7 +68,7 @@ std::string ApplyPhysicalConnectionLOARequest::getRegionId()const
void ApplyPhysicalConnectionLOARequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string ApplyPhysicalConnectionLOARequest::getSi()const
@@ -77,7 +79,7 @@ std::string ApplyPhysicalConnectionLOARequest::getSi()const
void ApplyPhysicalConnectionLOARequest::setSi(const std::string& si)
{
si_ = si;
setCoreParameter("Si", si);
setParameter("Si", si);
}
std::string ApplyPhysicalConnectionLOARequest::getPeerLocation()const
@@ -88,7 +90,7 @@ std::string ApplyPhysicalConnectionLOARequest::getPeerLocation()const
void ApplyPhysicalConnectionLOARequest::setPeerLocation(const std::string& peerLocation)
{
peerLocation_ = peerLocation;
setCoreParameter("PeerLocation", peerLocation);
setParameter("PeerLocation", peerLocation);
}
std::string ApplyPhysicalConnectionLOARequest::getResourceOwnerAccount()const
@@ -99,7 +101,7 @@ std::string ApplyPhysicalConnectionLOARequest::getResourceOwnerAccount()const
void ApplyPhysicalConnectionLOARequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
int ApplyPhysicalConnectionLOARequest::getBandwidth()const
@@ -110,7 +112,7 @@ int ApplyPhysicalConnectionLOARequest::getBandwidth()const
void ApplyPhysicalConnectionLOARequest::setBandwidth(int bandwidth)
{
bandwidth_ = bandwidth;
setCoreParameter("Bandwidth", std::to_string(bandwidth));
setParameter("Bandwidth", std::to_string(bandwidth));
}
std::string ApplyPhysicalConnectionLOARequest::getOwnerAccount()const
@@ -121,7 +123,7 @@ std::string ApplyPhysicalConnectionLOARequest::getOwnerAccount()const
void ApplyPhysicalConnectionLOARequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
std::string ApplyPhysicalConnectionLOARequest::getConstructionTime()const
@@ -132,7 +134,7 @@ std::string ApplyPhysicalConnectionLOARequest::getConstructionTime()const
void ApplyPhysicalConnectionLOARequest::setConstructionTime(const std::string& constructionTime)
{
constructionTime_ = constructionTime;
setCoreParameter("ConstructionTime", constructionTime);
setParameter("ConstructionTime", constructionTime);
}
long ApplyPhysicalConnectionLOARequest::getOwnerId()const
@@ -143,7 +145,7 @@ long ApplyPhysicalConnectionLOARequest::getOwnerId()const
void ApplyPhysicalConnectionLOARequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string ApplyPhysicalConnectionLOARequest::getInstanceId()const
@@ -154,7 +156,7 @@ std::string ApplyPhysicalConnectionLOARequest::getInstanceId()const
void ApplyPhysicalConnectionLOARequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
setParameter("InstanceId", instanceId);
}
std::string ApplyPhysicalConnectionLOARequest::getCompanyName()const
@@ -165,7 +167,7 @@ std::string ApplyPhysicalConnectionLOARequest::getCompanyName()const
void ApplyPhysicalConnectionLOARequest::setCompanyName(const std::string& companyName)
{
companyName_ = companyName;
setCoreParameter("CompanyName", companyName);
setParameter("CompanyName", companyName);
}
std::vector<ApplyPhysicalConnectionLOARequest::PMInfo> ApplyPhysicalConnectionLOARequest::getPMInfo()const
@@ -176,15 +178,14 @@ std::vector<ApplyPhysicalConnectionLOARequest::PMInfo> ApplyPhysicalConnectionLO
void ApplyPhysicalConnectionLOARequest::setPMInfo(const std::vector<PMInfo>& pMInfo)
{
pMInfo_ = pMInfo;
int i = 0;
for(int i = 0; i!= pMInfo.size(); i++) {
auto obj = pMInfo.at(i);
std::string str ="PMInfo."+ std::to_string(i);
setCoreParameter(str + ".PMCertificateNo", obj.pMCertificateNo);
setCoreParameter(str + ".PMName", obj.pMName);
setCoreParameter(str + ".PMCertificateType", obj.pMCertificateType);
setCoreParameter(str + ".PMContactInfo", obj.pMContactInfo);
setCoreParameter(str + ".PMGender", obj.pMGender);
for(int dep1 = 0; dep1!= pMInfo.size(); dep1++) {
auto pMInfoObj = pMInfo.at(dep1);
std::string pMInfoObjStr = "PMInfo." + std::to_string(dep1 + 1);
setParameter(pMInfoObjStr + ".PMCertificateNo", pMInfoObj.pMCertificateNo);
setParameter(pMInfoObjStr + ".PMName", pMInfoObj.pMName);
setParameter(pMInfoObjStr + ".PMCertificateType", pMInfoObj.pMCertificateType);
setParameter(pMInfoObjStr + ".PMContactInfo", pMInfoObj.pMContactInfo);
setParameter(pMInfoObjStr + ".PMGender", pMInfoObj.pMGender);
}
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::AssociateEipAddressRequest;
AssociateEipAddressRequest::AssociateEipAddressRequest() :
RpcServiceRequest("vpc", "2016-04-28", "AssociateEipAddress")
{}
{
setMethod(HttpRequest::Method::Post);
}
AssociateEipAddressRequest::~AssociateEipAddressRequest()
{}
@@ -33,7 +35,18 @@ long AssociateEipAddressRequest::getResourceOwnerId()const
void AssociateEipAddressRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string AssociateEipAddressRequest::getClientToken()const
{
return clientToken_;
}
void AssociateEipAddressRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
std::string AssociateEipAddressRequest::getAllocationId()const
@@ -44,7 +57,7 @@ std::string AssociateEipAddressRequest::getAllocationId()const
void AssociateEipAddressRequest::setAllocationId(const std::string& allocationId)
{
allocationId_ = allocationId;
setCoreParameter("AllocationId", allocationId);
setParameter("AllocationId", allocationId);
}
std::string AssociateEipAddressRequest::getMode()const
@@ -55,7 +68,7 @@ std::string AssociateEipAddressRequest::getMode()const
void AssociateEipAddressRequest::setMode(const std::string& mode)
{
mode_ = mode;
setCoreParameter("Mode", mode);
setParameter("Mode", mode);
}
std::string AssociateEipAddressRequest::getRegionId()const
@@ -66,7 +79,7 @@ std::string AssociateEipAddressRequest::getRegionId()const
void AssociateEipAddressRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string AssociateEipAddressRequest::getInstanceRegionId()const
@@ -77,7 +90,7 @@ std::string AssociateEipAddressRequest::getInstanceRegionId()const
void AssociateEipAddressRequest::setInstanceRegionId(const std::string& instanceRegionId)
{
instanceRegionId_ = instanceRegionId;
setCoreParameter("InstanceRegionId", instanceRegionId);
setParameter("InstanceRegionId", instanceRegionId);
}
std::string AssociateEipAddressRequest::getInstanceType()const
@@ -88,7 +101,7 @@ std::string AssociateEipAddressRequest::getInstanceType()const
void AssociateEipAddressRequest::setInstanceType(const std::string& instanceType)
{
instanceType_ = instanceType;
setCoreParameter("InstanceType", instanceType);
setParameter("InstanceType", instanceType);
}
std::string AssociateEipAddressRequest::getResourceOwnerAccount()const
@@ -99,7 +112,7 @@ std::string AssociateEipAddressRequest::getResourceOwnerAccount()const
void AssociateEipAddressRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string AssociateEipAddressRequest::getOwnerAccount()const
@@ -110,7 +123,7 @@ std::string AssociateEipAddressRequest::getOwnerAccount()const
void AssociateEipAddressRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long AssociateEipAddressRequest::getOwnerId()const
@@ -121,7 +134,7 @@ long AssociateEipAddressRequest::getOwnerId()const
void AssociateEipAddressRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string AssociateEipAddressRequest::getPrivateIpAddress()const
@@ -132,7 +145,7 @@ std::string AssociateEipAddressRequest::getPrivateIpAddress()const
void AssociateEipAddressRequest::setPrivateIpAddress(const std::string& privateIpAddress)
{
privateIpAddress_ = privateIpAddress;
setCoreParameter("PrivateIpAddress", privateIpAddress);
setParameter("PrivateIpAddress", privateIpAddress);
}
std::string AssociateEipAddressRequest::getInstanceId()const
@@ -143,6 +156,6 @@ std::string AssociateEipAddressRequest::getInstanceId()const
void AssociateEipAddressRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
setParameter("InstanceId", instanceId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::AssociateGlobalAccelerationInstanceRequest;
AssociateGlobalAccelerationInstanceRequest::AssociateGlobalAccelerationInstanceRequest() :
RpcServiceRequest("vpc", "2016-04-28", "AssociateGlobalAccelerationInstance")
{}
{
setMethod(HttpRequest::Method::Post);
}
AssociateGlobalAccelerationInstanceRequest::~AssociateGlobalAccelerationInstanceRequest()
{}
@@ -33,7 +35,7 @@ long AssociateGlobalAccelerationInstanceRequest::getResourceOwnerId()const
void AssociateGlobalAccelerationInstanceRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string AssociateGlobalAccelerationInstanceRequest::getGlobalAccelerationInstanceId()const
@@ -44,7 +46,7 @@ std::string AssociateGlobalAccelerationInstanceRequest::getGlobalAccelerationIns
void AssociateGlobalAccelerationInstanceRequest::setGlobalAccelerationInstanceId(const std::string& globalAccelerationInstanceId)
{
globalAccelerationInstanceId_ = globalAccelerationInstanceId;
setCoreParameter("GlobalAccelerationInstanceId", globalAccelerationInstanceId);
setParameter("GlobalAccelerationInstanceId", globalAccelerationInstanceId);
}
std::string AssociateGlobalAccelerationInstanceRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string AssociateGlobalAccelerationInstanceRequest::getRegionId()const
void AssociateGlobalAccelerationInstanceRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string AssociateGlobalAccelerationInstanceRequest::getBackendServerId()const
@@ -66,7 +68,7 @@ std::string AssociateGlobalAccelerationInstanceRequest::getBackendServerId()cons
void AssociateGlobalAccelerationInstanceRequest::setBackendServerId(const std::string& backendServerId)
{
backendServerId_ = backendServerId;
setCoreParameter("BackendServerId", backendServerId);
setParameter("BackendServerId", backendServerId);
}
std::string AssociateGlobalAccelerationInstanceRequest::getResourceOwnerAccount()const
@@ -77,7 +79,7 @@ std::string AssociateGlobalAccelerationInstanceRequest::getResourceOwnerAccount(
void AssociateGlobalAccelerationInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string AssociateGlobalAccelerationInstanceRequest::getOwnerAccount()const
@@ -88,7 +90,7 @@ std::string AssociateGlobalAccelerationInstanceRequest::getOwnerAccount()const
void AssociateGlobalAccelerationInstanceRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long AssociateGlobalAccelerationInstanceRequest::getOwnerId()const
@@ -99,7 +101,7 @@ long AssociateGlobalAccelerationInstanceRequest::getOwnerId()const
void AssociateGlobalAccelerationInstanceRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string AssociateGlobalAccelerationInstanceRequest::getBackendServerRegionId()const
@@ -110,7 +112,7 @@ std::string AssociateGlobalAccelerationInstanceRequest::getBackendServerRegionId
void AssociateGlobalAccelerationInstanceRequest::setBackendServerRegionId(const std::string& backendServerRegionId)
{
backendServerRegionId_ = backendServerRegionId;
setCoreParameter("BackendServerRegionId", backendServerRegionId);
setParameter("BackendServerRegionId", backendServerRegionId);
}
std::string AssociateGlobalAccelerationInstanceRequest::getBackendServerType()const
@@ -121,6 +123,6 @@ std::string AssociateGlobalAccelerationInstanceRequest::getBackendServerType()co
void AssociateGlobalAccelerationInstanceRequest::setBackendServerType(const std::string& backendServerType)
{
backendServerType_ = backendServerType;
setCoreParameter("BackendServerType", backendServerType);
setParameter("BackendServerType", backendServerType);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::AssociateHaVipRequest;
AssociateHaVipRequest::AssociateHaVipRequest() :
RpcServiceRequest("vpc", "2016-04-28", "AssociateHaVip")
{}
{
setMethod(HttpRequest::Method::Post);
}
AssociateHaVipRequest::~AssociateHaVipRequest()
{}
@@ -33,7 +35,7 @@ long AssociateHaVipRequest::getResourceOwnerId()const
void AssociateHaVipRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string AssociateHaVipRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string AssociateHaVipRequest::getClientToken()const
void AssociateHaVipRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string AssociateHaVipRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string AssociateHaVipRequest::getRegionId()const
void AssociateHaVipRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string AssociateHaVipRequest::getHaVipId()const
@@ -66,7 +68,7 @@ std::string AssociateHaVipRequest::getHaVipId()const
void AssociateHaVipRequest::setHaVipId(const std::string& haVipId)
{
haVipId_ = haVipId;
setCoreParameter("HaVipId", haVipId);
setParameter("HaVipId", haVipId);
}
std::string AssociateHaVipRequest::getResourceOwnerAccount()const
@@ -77,7 +79,7 @@ std::string AssociateHaVipRequest::getResourceOwnerAccount()const
void AssociateHaVipRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string AssociateHaVipRequest::getOwnerAccount()const
@@ -88,7 +90,7 @@ std::string AssociateHaVipRequest::getOwnerAccount()const
void AssociateHaVipRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long AssociateHaVipRequest::getOwnerId()const
@@ -99,7 +101,7 @@ long AssociateHaVipRequest::getOwnerId()const
void AssociateHaVipRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string AssociateHaVipRequest::getInstanceId()const
@@ -110,6 +112,6 @@ std::string AssociateHaVipRequest::getInstanceId()const
void AssociateHaVipRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
setParameter("InstanceId", instanceId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::AssociateNetworkAclRequest;
AssociateNetworkAclRequest::AssociateNetworkAclRequest() :
RpcServiceRequest("vpc", "2016-04-28", "AssociateNetworkAcl")
{}
{
setMethod(HttpRequest::Method::Post);
}
AssociateNetworkAclRequest::~AssociateNetworkAclRequest()
{}
@@ -33,7 +35,7 @@ long AssociateNetworkAclRequest::getResourceOwnerId()const
void AssociateNetworkAclRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string AssociateNetworkAclRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string AssociateNetworkAclRequest::getClientToken()const
void AssociateNetworkAclRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string AssociateNetworkAclRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string AssociateNetworkAclRequest::getRegionId()const
void AssociateNetworkAclRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string AssociateNetworkAclRequest::getNetworkAclId()const
@@ -66,7 +68,7 @@ std::string AssociateNetworkAclRequest::getNetworkAclId()const
void AssociateNetworkAclRequest::setNetworkAclId(const std::string& networkAclId)
{
networkAclId_ = networkAclId;
setCoreParameter("NetworkAclId", networkAclId);
setParameter("NetworkAclId", networkAclId);
}
std::vector<AssociateNetworkAclRequest::Resource> AssociateNetworkAclRequest::getResource()const
@@ -77,12 +79,11 @@ std::vector<AssociateNetworkAclRequest::Resource> AssociateNetworkAclRequest::ge
void AssociateNetworkAclRequest::setResource(const std::vector<Resource>& resource)
{
resource_ = resource;
int i = 0;
for(int i = 0; i!= resource.size(); i++) {
auto obj = resource.at(i);
std::string str ="Resource."+ std::to_string(i);
setCoreParameter(str + ".ResourceType", obj.resourceType);
setCoreParameter(str + ".ResourceId", obj.resourceId);
for(int dep1 = 0; dep1!= resource.size(); dep1++) {
auto resourceObj = resource.at(dep1);
std::string resourceObjStr = "Resource." + std::to_string(dep1 + 1);
setParameter(resourceObjStr + ".ResourceType", resourceObj.resourceType);
setParameter(resourceObjStr + ".ResourceId", resourceObj.resourceId);
}
}
@@ -94,7 +95,7 @@ std::string AssociateNetworkAclRequest::getResourceOwnerAccount()const
void AssociateNetworkAclRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
long AssociateNetworkAclRequest::getOwnerId()const
@@ -105,6 +106,6 @@ long AssociateNetworkAclRequest::getOwnerId()const
void AssociateNetworkAclRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::AssociatePhysicalConnectionToVirtualBorderRouter
AssociatePhysicalConnectionToVirtualBorderRouterRequest::AssociatePhysicalConnectionToVirtualBorderRouterRequest() :
RpcServiceRequest("vpc", "2016-04-28", "AssociatePhysicalConnectionToVirtualBorderRouter")
{}
{
setMethod(HttpRequest::Method::Post);
}
AssociatePhysicalConnectionToVirtualBorderRouterRequest::~AssociatePhysicalConnectionToVirtualBorderRouterRequest()
{}
@@ -33,7 +35,7 @@ long AssociatePhysicalConnectionToVirtualBorderRouterRequest::getResourceOwnerId
void AssociatePhysicalConnectionToVirtualBorderRouterRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string AssociatePhysicalConnectionToVirtualBorderRouterRequest::getCircuitCode()const
@@ -44,7 +46,7 @@ std::string AssociatePhysicalConnectionToVirtualBorderRouterRequest::getCircuitC
void AssociatePhysicalConnectionToVirtualBorderRouterRequest::setCircuitCode(const std::string& circuitCode)
{
circuitCode_ = circuitCode;
setCoreParameter("CircuitCode", circuitCode);
setParameter("CircuitCode", circuitCode);
}
std::string AssociatePhysicalConnectionToVirtualBorderRouterRequest::getVlanId()const
@@ -55,7 +57,7 @@ std::string AssociatePhysicalConnectionToVirtualBorderRouterRequest::getVlanId()
void AssociatePhysicalConnectionToVirtualBorderRouterRequest::setVlanId(const std::string& vlanId)
{
vlanId_ = vlanId;
setCoreParameter("VlanId", vlanId);
setParameter("VlanId", vlanId);
}
std::string AssociatePhysicalConnectionToVirtualBorderRouterRequest::getClientToken()const
@@ -66,7 +68,7 @@ std::string AssociatePhysicalConnectionToVirtualBorderRouterRequest::getClientTo
void AssociatePhysicalConnectionToVirtualBorderRouterRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string AssociatePhysicalConnectionToVirtualBorderRouterRequest::getVbrId()const
@@ -77,7 +79,7 @@ std::string AssociatePhysicalConnectionToVirtualBorderRouterRequest::getVbrId()c
void AssociatePhysicalConnectionToVirtualBorderRouterRequest::setVbrId(const std::string& vbrId)
{
vbrId_ = vbrId;
setCoreParameter("VbrId", vbrId);
setParameter("VbrId", vbrId);
}
std::string AssociatePhysicalConnectionToVirtualBorderRouterRequest::getPeerGatewayIp()const
@@ -88,7 +90,7 @@ std::string AssociatePhysicalConnectionToVirtualBorderRouterRequest::getPeerGate
void AssociatePhysicalConnectionToVirtualBorderRouterRequest::setPeerGatewayIp(const std::string& peerGatewayIp)
{
peerGatewayIp_ = peerGatewayIp;
setCoreParameter("PeerGatewayIp", peerGatewayIp);
setParameter("PeerGatewayIp", peerGatewayIp);
}
std::string AssociatePhysicalConnectionToVirtualBorderRouterRequest::getPeeringSubnetMask()const
@@ -99,7 +101,7 @@ std::string AssociatePhysicalConnectionToVirtualBorderRouterRequest::getPeeringS
void AssociatePhysicalConnectionToVirtualBorderRouterRequest::setPeeringSubnetMask(const std::string& peeringSubnetMask)
{
peeringSubnetMask_ = peeringSubnetMask;
setCoreParameter("PeeringSubnetMask", peeringSubnetMask);
setParameter("PeeringSubnetMask", peeringSubnetMask);
}
std::string AssociatePhysicalConnectionToVirtualBorderRouterRequest::getRegionId()const
@@ -110,7 +112,7 @@ std::string AssociatePhysicalConnectionToVirtualBorderRouterRequest::getRegionId
void AssociatePhysicalConnectionToVirtualBorderRouterRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string AssociatePhysicalConnectionToVirtualBorderRouterRequest::getLocalGatewayIp()const
@@ -121,7 +123,7 @@ std::string AssociatePhysicalConnectionToVirtualBorderRouterRequest::getLocalGat
void AssociatePhysicalConnectionToVirtualBorderRouterRequest::setLocalGatewayIp(const std::string& localGatewayIp)
{
localGatewayIp_ = localGatewayIp;
setCoreParameter("LocalGatewayIp", localGatewayIp);
setParameter("LocalGatewayIp", localGatewayIp);
}
std::string AssociatePhysicalConnectionToVirtualBorderRouterRequest::getResourceOwnerAccount()const
@@ -132,7 +134,7 @@ std::string AssociatePhysicalConnectionToVirtualBorderRouterRequest::getResource
void AssociatePhysicalConnectionToVirtualBorderRouterRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string AssociatePhysicalConnectionToVirtualBorderRouterRequest::getOwnerAccount()const
@@ -143,7 +145,7 @@ std::string AssociatePhysicalConnectionToVirtualBorderRouterRequest::getOwnerAcc
void AssociatePhysicalConnectionToVirtualBorderRouterRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long AssociatePhysicalConnectionToVirtualBorderRouterRequest::getOwnerId()const
@@ -154,7 +156,7 @@ long AssociatePhysicalConnectionToVirtualBorderRouterRequest::getOwnerId()const
void AssociatePhysicalConnectionToVirtualBorderRouterRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string AssociatePhysicalConnectionToVirtualBorderRouterRequest::getPhysicalConnectionId()const
@@ -165,6 +167,6 @@ std::string AssociatePhysicalConnectionToVirtualBorderRouterRequest::getPhysical
void AssociatePhysicalConnectionToVirtualBorderRouterRequest::setPhysicalConnectionId(const std::string& physicalConnectionId)
{
physicalConnectionId_ = physicalConnectionId;
setCoreParameter("PhysicalConnectionId", physicalConnectionId);
setParameter("PhysicalConnectionId", physicalConnectionId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::AssociateRouteTableRequest;
AssociateRouteTableRequest::AssociateRouteTableRequest() :
RpcServiceRequest("vpc", "2016-04-28", "AssociateRouteTable")
{}
{
setMethod(HttpRequest::Method::Post);
}
AssociateRouteTableRequest::~AssociateRouteTableRequest()
{}
@@ -33,7 +35,7 @@ long AssociateRouteTableRequest::getResourceOwnerId()const
void AssociateRouteTableRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string AssociateRouteTableRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string AssociateRouteTableRequest::getClientToken()const
void AssociateRouteTableRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string AssociateRouteTableRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string AssociateRouteTableRequest::getRegionId()const
void AssociateRouteTableRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string AssociateRouteTableRequest::getRouteTableId()const
@@ -66,7 +68,7 @@ std::string AssociateRouteTableRequest::getRouteTableId()const
void AssociateRouteTableRequest::setRouteTableId(const std::string& routeTableId)
{
routeTableId_ = routeTableId;
setCoreParameter("RouteTableId", routeTableId);
setParameter("RouteTableId", routeTableId);
}
std::string AssociateRouteTableRequest::getResourceOwnerAccount()const
@@ -77,7 +79,7 @@ std::string AssociateRouteTableRequest::getResourceOwnerAccount()const
void AssociateRouteTableRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string AssociateRouteTableRequest::getOwnerAccount()const
@@ -88,7 +90,7 @@ std::string AssociateRouteTableRequest::getOwnerAccount()const
void AssociateRouteTableRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long AssociateRouteTableRequest::getOwnerId()const
@@ -99,7 +101,7 @@ long AssociateRouteTableRequest::getOwnerId()const
void AssociateRouteTableRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string AssociateRouteTableRequest::getVSwitchId()const
@@ -110,6 +112,6 @@ std::string AssociateRouteTableRequest::getVSwitchId()const
void AssociateRouteTableRequest::setVSwitchId(const std::string& vSwitchId)
{
vSwitchId_ = vSwitchId;
setCoreParameter("VSwitchId", vSwitchId);
setParameter("VSwitchId", vSwitchId);
}

View File

@@ -0,0 +1,128 @@
/*
* 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/AssociateVpcCidrBlockRequest.h>
using AlibabaCloud::Vpc::Model::AssociateVpcCidrBlockRequest;
AssociateVpcCidrBlockRequest::AssociateVpcCidrBlockRequest() :
RpcServiceRequest("vpc", "2016-04-28", "AssociateVpcCidrBlock")
{
setMethod(HttpRequest::Method::Post);
}
AssociateVpcCidrBlockRequest::~AssociateVpcCidrBlockRequest()
{}
long AssociateVpcCidrBlockRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void AssociateVpcCidrBlockRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string AssociateVpcCidrBlockRequest::getIPv6CidrType()const
{
return iPv6CidrType_;
}
void AssociateVpcCidrBlockRequest::setIPv6CidrType(const std::string& iPv6CidrType)
{
iPv6CidrType_ = iPv6CidrType;
setParameter("IPv6CidrType", iPv6CidrType);
}
std::string AssociateVpcCidrBlockRequest::getRegionId()const
{
return regionId_;
}
void AssociateVpcCidrBlockRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string AssociateVpcCidrBlockRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void AssociateVpcCidrBlockRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string AssociateVpcCidrBlockRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void AssociateVpcCidrBlockRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long AssociateVpcCidrBlockRequest::getOwnerId()const
{
return ownerId_;
}
void AssociateVpcCidrBlockRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string AssociateVpcCidrBlockRequest::getIPv6CidrBlock()const
{
return iPv6CidrBlock_;
}
void AssociateVpcCidrBlockRequest::setIPv6CidrBlock(const std::string& iPv6CidrBlock)
{
iPv6CidrBlock_ = iPv6CidrBlock;
setParameter("IPv6CidrBlock", iPv6CidrBlock);
}
std::string AssociateVpcCidrBlockRequest::getSecondaryCidrBlock()const
{
return secondaryCidrBlock_;
}
void AssociateVpcCidrBlockRequest::setSecondaryCidrBlock(const std::string& secondaryCidrBlock)
{
secondaryCidrBlock_ = secondaryCidrBlock;
setParameter("SecondaryCidrBlock", secondaryCidrBlock);
}
std::string AssociateVpcCidrBlockRequest::getVpcId()const
{
return vpcId_;
}
void AssociateVpcCidrBlockRequest::setVpcId(const std::string& vpcId)
{
vpcId_ = vpcId;
setParameter("VpcId", vpcId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/AssociateVpcCidrBlockResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Vpc;
using namespace AlibabaCloud::Vpc::Model;
AssociateVpcCidrBlockResult::AssociateVpcCidrBlockResult() :
ServiceResult()
{}
AssociateVpcCidrBlockResult::AssociateVpcCidrBlockResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AssociateVpcCidrBlockResult::~AssociateVpcCidrBlockResult()
{}
void AssociateVpcCidrBlockResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CancelCommonBandwidthPackageIpBandwidthRequest;
CancelCommonBandwidthPackageIpBandwidthRequest::CancelCommonBandwidthPackageIpBandwidthRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CancelCommonBandwidthPackageIpBandwidth")
{}
{
setMethod(HttpRequest::Method::Post);
}
CancelCommonBandwidthPackageIpBandwidthRequest::~CancelCommonBandwidthPackageIpBandwidthRequest()
{}
@@ -33,7 +35,7 @@ long CancelCommonBandwidthPackageIpBandwidthRequest::getResourceOwnerId()const
void CancelCommonBandwidthPackageIpBandwidthRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CancelCommonBandwidthPackageIpBandwidthRequest::getRegionId()const
@@ -44,7 +46,7 @@ std::string CancelCommonBandwidthPackageIpBandwidthRequest::getRegionId()const
void CancelCommonBandwidthPackageIpBandwidthRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CancelCommonBandwidthPackageIpBandwidthRequest::getBandwidthPackageId()const
@@ -55,7 +57,7 @@ std::string CancelCommonBandwidthPackageIpBandwidthRequest::getBandwidthPackageI
void CancelCommonBandwidthPackageIpBandwidthRequest::setBandwidthPackageId(const std::string& bandwidthPackageId)
{
bandwidthPackageId_ = bandwidthPackageId;
setCoreParameter("BandwidthPackageId", bandwidthPackageId);
setParameter("BandwidthPackageId", bandwidthPackageId);
}
std::string CancelCommonBandwidthPackageIpBandwidthRequest::getResourceOwnerAccount()const
@@ -66,7 +68,7 @@ std::string CancelCommonBandwidthPackageIpBandwidthRequest::getResourceOwnerAcco
void CancelCommonBandwidthPackageIpBandwidthRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CancelCommonBandwidthPackageIpBandwidthRequest::getOwnerAccount()const
@@ -77,7 +79,7 @@ std::string CancelCommonBandwidthPackageIpBandwidthRequest::getOwnerAccount()con
void CancelCommonBandwidthPackageIpBandwidthRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
std::string CancelCommonBandwidthPackageIpBandwidthRequest::getEipId()const
@@ -88,7 +90,7 @@ std::string CancelCommonBandwidthPackageIpBandwidthRequest::getEipId()const
void CancelCommonBandwidthPackageIpBandwidthRequest::setEipId(const std::string& eipId)
{
eipId_ = eipId;
setCoreParameter("EipId", eipId);
setParameter("EipId", eipId);
}
long CancelCommonBandwidthPackageIpBandwidthRequest::getOwnerId()const
@@ -99,6 +101,6 @@ long CancelCommonBandwidthPackageIpBandwidthRequest::getOwnerId()const
void CancelCommonBandwidthPackageIpBandwidthRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -0,0 +1,95 @@
/*
* 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/CancelExpressCloudConnectionRequest.h>
using AlibabaCloud::Vpc::Model::CancelExpressCloudConnectionRequest;
CancelExpressCloudConnectionRequest::CancelExpressCloudConnectionRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CancelExpressCloudConnection")
{
setMethod(HttpRequest::Method::Post);
}
CancelExpressCloudConnectionRequest::~CancelExpressCloudConnectionRequest()
{}
long CancelExpressCloudConnectionRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CancelExpressCloudConnectionRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CancelExpressCloudConnectionRequest::getRegionId()const
{
return regionId_;
}
void CancelExpressCloudConnectionRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string CancelExpressCloudConnectionRequest::getEccId()const
{
return eccId_;
}
void CancelExpressCloudConnectionRequest::setEccId(const std::string& eccId)
{
eccId_ = eccId;
setParameter("EccId", eccId);
}
std::string CancelExpressCloudConnectionRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void CancelExpressCloudConnectionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CancelExpressCloudConnectionRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void CancelExpressCloudConnectionRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long CancelExpressCloudConnectionRequest::getOwnerId()const
{
return ownerId_;
}
void CancelExpressCloudConnectionRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -0,0 +1,44 @@
/*
* 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/CancelExpressCloudConnectionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Vpc;
using namespace AlibabaCloud::Vpc::Model;
CancelExpressCloudConnectionResult::CancelExpressCloudConnectionResult() :
ServiceResult()
{}
CancelExpressCloudConnectionResult::CancelExpressCloudConnectionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CancelExpressCloudConnectionResult::~CancelExpressCloudConnectionResult()
{}
void CancelExpressCloudConnectionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CancelPhysicalConnectionRequest;
CancelPhysicalConnectionRequest::CancelPhysicalConnectionRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CancelPhysicalConnection")
{}
{
setMethod(HttpRequest::Method::Post);
}
CancelPhysicalConnectionRequest::~CancelPhysicalConnectionRequest()
{}
@@ -33,7 +35,7 @@ long CancelPhysicalConnectionRequest::getResourceOwnerId()const
void CancelPhysicalConnectionRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CancelPhysicalConnectionRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string CancelPhysicalConnectionRequest::getClientToken()const
void CancelPhysicalConnectionRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CancelPhysicalConnectionRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string CancelPhysicalConnectionRequest::getRegionId()const
void CancelPhysicalConnectionRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CancelPhysicalConnectionRequest::getResourceOwnerAccount()const
@@ -66,7 +68,7 @@ std::string CancelPhysicalConnectionRequest::getResourceOwnerAccount()const
void CancelPhysicalConnectionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CancelPhysicalConnectionRequest::getOwnerAccount()const
@@ -77,7 +79,7 @@ std::string CancelPhysicalConnectionRequest::getOwnerAccount()const
void CancelPhysicalConnectionRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CancelPhysicalConnectionRequest::getOwnerId()const
@@ -88,7 +90,7 @@ long CancelPhysicalConnectionRequest::getOwnerId()const
void CancelPhysicalConnectionRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CancelPhysicalConnectionRequest::getPhysicalConnectionId()const
@@ -99,6 +101,6 @@ std::string CancelPhysicalConnectionRequest::getPhysicalConnectionId()const
void CancelPhysicalConnectionRequest::setPhysicalConnectionId(const std::string& physicalConnectionId)
{
physicalConnectionId_ = physicalConnectionId;
setCoreParameter("PhysicalConnectionId", physicalConnectionId);
setParameter("PhysicalConnectionId", physicalConnectionId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CompletePhysicalConnectionLOARequest;
CompletePhysicalConnectionLOARequest::CompletePhysicalConnectionLOARequest() :
RpcServiceRequest("vpc", "2016-04-28", "CompletePhysicalConnectionLOA")
{}
{
setMethod(HttpRequest::Method::Post);
}
CompletePhysicalConnectionLOARequest::~CompletePhysicalConnectionLOARequest()
{}
@@ -33,7 +35,7 @@ std::string CompletePhysicalConnectionLOARequest::getLineCode()const
void CompletePhysicalConnectionLOARequest::setLineCode(const std::string& lineCode)
{
lineCode_ = lineCode;
setCoreParameter("LineCode", lineCode);
setParameter("LineCode", lineCode);
}
long CompletePhysicalConnectionLOARequest::getResourceOwnerId()const
@@ -44,7 +46,7 @@ long CompletePhysicalConnectionLOARequest::getResourceOwnerId()const
void CompletePhysicalConnectionLOARequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CompletePhysicalConnectionLOARequest::getClientToken()const
@@ -55,7 +57,7 @@ std::string CompletePhysicalConnectionLOARequest::getClientToken()const
void CompletePhysicalConnectionLOARequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CompletePhysicalConnectionLOARequest::getRegionId()const
@@ -66,7 +68,7 @@ std::string CompletePhysicalConnectionLOARequest::getRegionId()const
void CompletePhysicalConnectionLOARequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CompletePhysicalConnectionLOARequest::getLineLabel()const
@@ -77,7 +79,7 @@ std::string CompletePhysicalConnectionLOARequest::getLineLabel()const
void CompletePhysicalConnectionLOARequest::setLineLabel(const std::string& lineLabel)
{
lineLabel_ = lineLabel;
setCoreParameter("LineLabel", lineLabel);
setParameter("LineLabel", lineLabel);
}
std::string CompletePhysicalConnectionLOARequest::getResourceOwnerAccount()const
@@ -88,7 +90,7 @@ std::string CompletePhysicalConnectionLOARequest::getResourceOwnerAccount()const
void CompletePhysicalConnectionLOARequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CompletePhysicalConnectionLOARequest::getOwnerAccount()const
@@ -99,7 +101,7 @@ std::string CompletePhysicalConnectionLOARequest::getOwnerAccount()const
void CompletePhysicalConnectionLOARequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CompletePhysicalConnectionLOARequest::getOwnerId()const
@@ -110,7 +112,7 @@ long CompletePhysicalConnectionLOARequest::getOwnerId()const
void CompletePhysicalConnectionLOARequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CompletePhysicalConnectionLOARequest::getInstanceId()const
@@ -121,6 +123,6 @@ std::string CompletePhysicalConnectionLOARequest::getInstanceId()const
void CompletePhysicalConnectionLOARequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
setParameter("InstanceId", instanceId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::ConnectRouterInterfaceRequest;
ConnectRouterInterfaceRequest::ConnectRouterInterfaceRequest() :
RpcServiceRequest("vpc", "2016-04-28", "ConnectRouterInterface")
{}
{
setMethod(HttpRequest::Method::Post);
}
ConnectRouterInterfaceRequest::~ConnectRouterInterfaceRequest()
{}
@@ -33,7 +35,7 @@ long ConnectRouterInterfaceRequest::getResourceOwnerId()const
void ConnectRouterInterfaceRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string ConnectRouterInterfaceRequest::getResourceOwnerAccount()const
@@ -44,7 +46,7 @@ std::string ConnectRouterInterfaceRequest::getResourceOwnerAccount()const
void ConnectRouterInterfaceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
long ConnectRouterInterfaceRequest::getOwnerId()const
@@ -55,7 +57,7 @@ long ConnectRouterInterfaceRequest::getOwnerId()const
void ConnectRouterInterfaceRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string ConnectRouterInterfaceRequest::getRouterInterfaceId()const
@@ -66,7 +68,7 @@ std::string ConnectRouterInterfaceRequest::getRouterInterfaceId()const
void ConnectRouterInterfaceRequest::setRouterInterfaceId(const std::string& routerInterfaceId)
{
routerInterfaceId_ = routerInterfaceId;
setCoreParameter("RouterInterfaceId", routerInterfaceId);
setParameter("RouterInterfaceId", routerInterfaceId);
}
std::string ConnectRouterInterfaceRequest::getRegionId()const
@@ -77,6 +79,6 @@ std::string ConnectRouterInterfaceRequest::getRegionId()const
void ConnectRouterInterfaceRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::ConvertBandwidthPackageRequest;
ConvertBandwidthPackageRequest::ConvertBandwidthPackageRequest() :
RpcServiceRequest("vpc", "2016-04-28", "ConvertBandwidthPackage")
{}
{
setMethod(HttpRequest::Method::Post);
}
ConvertBandwidthPackageRequest::~ConvertBandwidthPackageRequest()
{}
@@ -33,7 +35,7 @@ long ConvertBandwidthPackageRequest::getResourceOwnerId()const
void ConvertBandwidthPackageRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string ConvertBandwidthPackageRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string ConvertBandwidthPackageRequest::getClientToken()const
void ConvertBandwidthPackageRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string ConvertBandwidthPackageRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string ConvertBandwidthPackageRequest::getRegionId()const
void ConvertBandwidthPackageRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string ConvertBandwidthPackageRequest::getBandwidthPackageId()const
@@ -66,7 +68,7 @@ std::string ConvertBandwidthPackageRequest::getBandwidthPackageId()const
void ConvertBandwidthPackageRequest::setBandwidthPackageId(const std::string& bandwidthPackageId)
{
bandwidthPackageId_ = bandwidthPackageId;
setCoreParameter("BandwidthPackageId", bandwidthPackageId);
setParameter("BandwidthPackageId", bandwidthPackageId);
}
std::string ConvertBandwidthPackageRequest::getResourceOwnerAccount()const
@@ -77,7 +79,7 @@ std::string ConvertBandwidthPackageRequest::getResourceOwnerAccount()const
void ConvertBandwidthPackageRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
long ConvertBandwidthPackageRequest::getOwnerId()const
@@ -88,6 +90,6 @@ long ConvertBandwidthPackageRequest::getOwnerId()const
void ConvertBandwidthPackageRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CopyNetworkAclEntriesRequest;
CopyNetworkAclEntriesRequest::CopyNetworkAclEntriesRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CopyNetworkAclEntries")
{}
{
setMethod(HttpRequest::Method::Post);
}
CopyNetworkAclEntriesRequest::~CopyNetworkAclEntriesRequest()
{}
@@ -33,7 +35,7 @@ long CopyNetworkAclEntriesRequest::getResourceOwnerId()const
void CopyNetworkAclEntriesRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CopyNetworkAclEntriesRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string CopyNetworkAclEntriesRequest::getClientToken()const
void CopyNetworkAclEntriesRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CopyNetworkAclEntriesRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string CopyNetworkAclEntriesRequest::getRegionId()const
void CopyNetworkAclEntriesRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CopyNetworkAclEntriesRequest::getNetworkAclId()const
@@ -66,7 +68,7 @@ std::string CopyNetworkAclEntriesRequest::getNetworkAclId()const
void CopyNetworkAclEntriesRequest::setNetworkAclId(const std::string& networkAclId)
{
networkAclId_ = networkAclId;
setCoreParameter("NetworkAclId", networkAclId);
setParameter("NetworkAclId", networkAclId);
}
std::string CopyNetworkAclEntriesRequest::getSourceNetworkAclId()const
@@ -77,7 +79,7 @@ std::string CopyNetworkAclEntriesRequest::getSourceNetworkAclId()const
void CopyNetworkAclEntriesRequest::setSourceNetworkAclId(const std::string& sourceNetworkAclId)
{
sourceNetworkAclId_ = sourceNetworkAclId;
setCoreParameter("SourceNetworkAclId", sourceNetworkAclId);
setParameter("SourceNetworkAclId", sourceNetworkAclId);
}
std::string CopyNetworkAclEntriesRequest::getResourceOwnerAccount()const
@@ -88,7 +90,7 @@ std::string CopyNetworkAclEntriesRequest::getResourceOwnerAccount()const
void CopyNetworkAclEntriesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
long CopyNetworkAclEntriesRequest::getOwnerId()const
@@ -99,6 +101,6 @@ long CopyNetworkAclEntriesRequest::getOwnerId()const
void CopyNetworkAclEntriesRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateBandwidthPackageRequest;
CreateBandwidthPackageRequest::CreateBandwidthPackageRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateBandwidthPackage")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateBandwidthPackageRequest::~CreateBandwidthPackageRequest()
{}
@@ -33,7 +35,7 @@ long CreateBandwidthPackageRequest::getResourceOwnerId()const
void CreateBandwidthPackageRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateBandwidthPackageRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string CreateBandwidthPackageRequest::getClientToken()const
void CreateBandwidthPackageRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreateBandwidthPackageRequest::getISP()const
@@ -55,7 +57,7 @@ std::string CreateBandwidthPackageRequest::getISP()const
void CreateBandwidthPackageRequest::setISP(const std::string& iSP)
{
iSP_ = iSP;
setCoreParameter("ISP", iSP);
setParameter("ISP", iSP);
}
std::string CreateBandwidthPackageRequest::getDescription()const
@@ -66,7 +68,7 @@ std::string CreateBandwidthPackageRequest::getDescription()const
void CreateBandwidthPackageRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
setParameter("Description", description);
}
std::string CreateBandwidthPackageRequest::getRegionId()const
@@ -77,7 +79,7 @@ std::string CreateBandwidthPackageRequest::getRegionId()const
void CreateBandwidthPackageRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateBandwidthPackageRequest::getZone()const
@@ -88,7 +90,7 @@ std::string CreateBandwidthPackageRequest::getZone()const
void CreateBandwidthPackageRequest::setZone(const std::string& zone)
{
zone_ = zone;
setCoreParameter("Zone", zone);
setParameter("Zone", zone);
}
std::string CreateBandwidthPackageRequest::getNatGatewayId()const
@@ -99,7 +101,7 @@ std::string CreateBandwidthPackageRequest::getNatGatewayId()const
void CreateBandwidthPackageRequest::setNatGatewayId(const std::string& natGatewayId)
{
natGatewayId_ = natGatewayId;
setCoreParameter("NatGatewayId", natGatewayId);
setParameter("NatGatewayId", natGatewayId);
}
std::string CreateBandwidthPackageRequest::getResourceOwnerAccount()const
@@ -110,7 +112,7 @@ std::string CreateBandwidthPackageRequest::getResourceOwnerAccount()const
void CreateBandwidthPackageRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
int CreateBandwidthPackageRequest::getBandwidth()const
@@ -121,7 +123,7 @@ int CreateBandwidthPackageRequest::getBandwidth()const
void CreateBandwidthPackageRequest::setBandwidth(int bandwidth)
{
bandwidth_ = bandwidth;
setCoreParameter("Bandwidth", std::to_string(bandwidth));
setParameter("Bandwidth", std::to_string(bandwidth));
}
std::string CreateBandwidthPackageRequest::getOwnerAccount()const
@@ -132,7 +134,7 @@ std::string CreateBandwidthPackageRequest::getOwnerAccount()const
void CreateBandwidthPackageRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreateBandwidthPackageRequest::getOwnerId()const
@@ -143,7 +145,7 @@ long CreateBandwidthPackageRequest::getOwnerId()const
void CreateBandwidthPackageRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateBandwidthPackageRequest::getInternetChargeType()const
@@ -154,7 +156,7 @@ std::string CreateBandwidthPackageRequest::getInternetChargeType()const
void CreateBandwidthPackageRequest::setInternetChargeType(const std::string& internetChargeType)
{
internetChargeType_ = internetChargeType;
setCoreParameter("InternetChargeType", internetChargeType);
setParameter("InternetChargeType", internetChargeType);
}
std::string CreateBandwidthPackageRequest::getName()const
@@ -165,7 +167,7 @@ std::string CreateBandwidthPackageRequest::getName()const
void CreateBandwidthPackageRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
setParameter("Name", name);
}
int CreateBandwidthPackageRequest::getIpCount()const
@@ -176,6 +178,6 @@ int CreateBandwidthPackageRequest::getIpCount()const
void CreateBandwidthPackageRequest::setIpCount(int ipCount)
{
ipCount_ = ipCount;
setCoreParameter("IpCount", std::to_string(ipCount));
setParameter("IpCount", std::to_string(ipCount));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateBgpGroupRequest;
CreateBgpGroupRequest::CreateBgpGroupRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateBgpGroup")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateBgpGroupRequest::~CreateBgpGroupRequest()
{}
@@ -33,7 +35,7 @@ std::string CreateBgpGroupRequest::getAuthKey()const
void CreateBgpGroupRequest::setAuthKey(const std::string& authKey)
{
authKey_ = authKey;
setCoreParameter("AuthKey", authKey);
setParameter("AuthKey", authKey);
}
long CreateBgpGroupRequest::getResourceOwnerId()const
@@ -44,7 +46,7 @@ long CreateBgpGroupRequest::getResourceOwnerId()const
void CreateBgpGroupRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateBgpGroupRequest::getClientToken()const
@@ -55,7 +57,7 @@ std::string CreateBgpGroupRequest::getClientToken()const
void CreateBgpGroupRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreateBgpGroupRequest::getDescription()const
@@ -66,7 +68,7 @@ std::string CreateBgpGroupRequest::getDescription()const
void CreateBgpGroupRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
setParameter("Description", description);
}
long CreateBgpGroupRequest::getPeerAsn()const
@@ -77,7 +79,7 @@ long CreateBgpGroupRequest::getPeerAsn()const
void CreateBgpGroupRequest::setPeerAsn(long peerAsn)
{
peerAsn_ = peerAsn;
setCoreParameter("PeerAsn", std::to_string(peerAsn));
setParameter("PeerAsn", std::to_string(peerAsn));
}
bool CreateBgpGroupRequest::getIsFakeAsn()const
@@ -88,7 +90,7 @@ bool CreateBgpGroupRequest::getIsFakeAsn()const
void CreateBgpGroupRequest::setIsFakeAsn(bool isFakeAsn)
{
isFakeAsn_ = isFakeAsn;
setCoreParameter("IsFakeAsn", isFakeAsn ? "true" : "false");
setParameter("IsFakeAsn", isFakeAsn ? "true" : "false");
}
std::string CreateBgpGroupRequest::getRegionId()const
@@ -99,7 +101,7 @@ std::string CreateBgpGroupRequest::getRegionId()const
void CreateBgpGroupRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateBgpGroupRequest::getResourceOwnerAccount()const
@@ -110,7 +112,7 @@ std::string CreateBgpGroupRequest::getResourceOwnerAccount()const
void CreateBgpGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateBgpGroupRequest::getOwnerAccount()const
@@ -121,7 +123,7 @@ std::string CreateBgpGroupRequest::getOwnerAccount()const
void CreateBgpGroupRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreateBgpGroupRequest::getOwnerId()const
@@ -132,7 +134,7 @@ long CreateBgpGroupRequest::getOwnerId()const
void CreateBgpGroupRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateBgpGroupRequest::getRouterId()const
@@ -143,7 +145,7 @@ std::string CreateBgpGroupRequest::getRouterId()const
void CreateBgpGroupRequest::setRouterId(const std::string& routerId)
{
routerId_ = routerId;
setCoreParameter("RouterId", routerId);
setParameter("RouterId", routerId);
}
std::string CreateBgpGroupRequest::getName()const
@@ -154,7 +156,7 @@ std::string CreateBgpGroupRequest::getName()const
void CreateBgpGroupRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
setParameter("Name", name);
}
long CreateBgpGroupRequest::getLocalAsn()const
@@ -165,6 +167,6 @@ long CreateBgpGroupRequest::getLocalAsn()const
void CreateBgpGroupRequest::setLocalAsn(long localAsn)
{
localAsn_ = localAsn;
setCoreParameter("LocalAsn", std::to_string(localAsn));
setParameter("LocalAsn", std::to_string(localAsn));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateBgpPeerRequest;
CreateBgpPeerRequest::CreateBgpPeerRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateBgpPeer")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateBgpPeerRequest::~CreateBgpPeerRequest()
{}
@@ -33,7 +35,7 @@ long CreateBgpPeerRequest::getResourceOwnerId()const
void CreateBgpPeerRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateBgpPeerRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string CreateBgpPeerRequest::getClientToken()const
void CreateBgpPeerRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreateBgpPeerRequest::getBgpGroupId()const
@@ -55,7 +57,7 @@ std::string CreateBgpPeerRequest::getBgpGroupId()const
void CreateBgpPeerRequest::setBgpGroupId(const std::string& bgpGroupId)
{
bgpGroupId_ = bgpGroupId;
setCoreParameter("BgpGroupId", bgpGroupId);
setParameter("BgpGroupId", bgpGroupId);
}
std::string CreateBgpPeerRequest::getPeerIpAddress()const
@@ -66,7 +68,7 @@ std::string CreateBgpPeerRequest::getPeerIpAddress()const
void CreateBgpPeerRequest::setPeerIpAddress(const std::string& peerIpAddress)
{
peerIpAddress_ = peerIpAddress;
setCoreParameter("PeerIpAddress", peerIpAddress);
setParameter("PeerIpAddress", peerIpAddress);
}
std::string CreateBgpPeerRequest::getRegionId()const
@@ -77,7 +79,7 @@ std::string CreateBgpPeerRequest::getRegionId()const
void CreateBgpPeerRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
bool CreateBgpPeerRequest::getEnableBfd()const
@@ -88,7 +90,7 @@ bool CreateBgpPeerRequest::getEnableBfd()const
void CreateBgpPeerRequest::setEnableBfd(bool enableBfd)
{
enableBfd_ = enableBfd;
setCoreParameter("EnableBfd", enableBfd ? "true" : "false");
setParameter("EnableBfd", enableBfd ? "true" : "false");
}
std::string CreateBgpPeerRequest::getResourceOwnerAccount()const
@@ -99,7 +101,7 @@ std::string CreateBgpPeerRequest::getResourceOwnerAccount()const
void CreateBgpPeerRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateBgpPeerRequest::getOwnerAccount()const
@@ -110,7 +112,7 @@ std::string CreateBgpPeerRequest::getOwnerAccount()const
void CreateBgpPeerRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreateBgpPeerRequest::getOwnerId()const
@@ -121,6 +123,6 @@ long CreateBgpPeerRequest::getOwnerId()const
void CreateBgpPeerRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateCommonBandwidthPackageRequest;
CreateCommonBandwidthPackageRequest::CreateCommonBandwidthPackageRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateCommonBandwidthPackage")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateCommonBandwidthPackageRequest::~CreateCommonBandwidthPackageRequest()
{}
@@ -33,7 +35,7 @@ long CreateCommonBandwidthPackageRequest::getResourceOwnerId()const
void CreateCommonBandwidthPackageRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateCommonBandwidthPackageRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string CreateCommonBandwidthPackageRequest::getClientToken()const
void CreateCommonBandwidthPackageRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreateCommonBandwidthPackageRequest::getISP()const
@@ -55,7 +57,7 @@ std::string CreateCommonBandwidthPackageRequest::getISP()const
void CreateCommonBandwidthPackageRequest::setISP(const std::string& iSP)
{
iSP_ = iSP;
setCoreParameter("ISP", iSP);
setParameter("ISP", iSP);
}
std::string CreateCommonBandwidthPackageRequest::getDescription()const
@@ -66,7 +68,7 @@ std::string CreateCommonBandwidthPackageRequest::getDescription()const
void CreateCommonBandwidthPackageRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
setParameter("Description", description);
}
std::string CreateCommonBandwidthPackageRequest::getResourceGroupId()const
@@ -77,7 +79,7 @@ std::string CreateCommonBandwidthPackageRequest::getResourceGroupId()const
void CreateCommonBandwidthPackageRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setCoreParameter("ResourceGroupId", resourceGroupId);
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateCommonBandwidthPackageRequest::getRegionId()const
@@ -88,7 +90,7 @@ std::string CreateCommonBandwidthPackageRequest::getRegionId()const
void CreateCommonBandwidthPackageRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateCommonBandwidthPackageRequest::getZone()const
@@ -99,7 +101,7 @@ std::string CreateCommonBandwidthPackageRequest::getZone()const
void CreateCommonBandwidthPackageRequest::setZone(const std::string& zone)
{
zone_ = zone;
setCoreParameter("Zone", zone);
setParameter("Zone", zone);
}
std::string CreateCommonBandwidthPackageRequest::getResourceOwnerAccount()const
@@ -110,7 +112,7 @@ std::string CreateCommonBandwidthPackageRequest::getResourceOwnerAccount()const
void CreateCommonBandwidthPackageRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
int CreateCommonBandwidthPackageRequest::getBandwidth()const
@@ -121,7 +123,7 @@ int CreateCommonBandwidthPackageRequest::getBandwidth()const
void CreateCommonBandwidthPackageRequest::setBandwidth(int bandwidth)
{
bandwidth_ = bandwidth;
setCoreParameter("Bandwidth", std::to_string(bandwidth));
setParameter("Bandwidth", std::to_string(bandwidth));
}
std::string CreateCommonBandwidthPackageRequest::getOwnerAccount()const
@@ -132,7 +134,7 @@ std::string CreateCommonBandwidthPackageRequest::getOwnerAccount()const
void CreateCommonBandwidthPackageRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreateCommonBandwidthPackageRequest::getOwnerId()const
@@ -143,7 +145,7 @@ long CreateCommonBandwidthPackageRequest::getOwnerId()const
void CreateCommonBandwidthPackageRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateCommonBandwidthPackageRequest::getInternetChargeType()const
@@ -154,7 +156,7 @@ std::string CreateCommonBandwidthPackageRequest::getInternetChargeType()const
void CreateCommonBandwidthPackageRequest::setInternetChargeType(const std::string& internetChargeType)
{
internetChargeType_ = internetChargeType;
setCoreParameter("InternetChargeType", internetChargeType);
setParameter("InternetChargeType", internetChargeType);
}
std::string CreateCommonBandwidthPackageRequest::getName()const
@@ -165,7 +167,7 @@ std::string CreateCommonBandwidthPackageRequest::getName()const
void CreateCommonBandwidthPackageRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
setParameter("Name", name);
}
int CreateCommonBandwidthPackageRequest::getRatio()const
@@ -176,6 +178,6 @@ int CreateCommonBandwidthPackageRequest::getRatio()const
void CreateCommonBandwidthPackageRequest::setRatio(int ratio)
{
ratio_ = ratio;
setCoreParameter("Ratio", std::to_string(ratio));
setParameter("Ratio", std::to_string(ratio));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateCustomerGatewayRequest;
CreateCustomerGatewayRequest::CreateCustomerGatewayRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateCustomerGateway")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateCustomerGatewayRequest::~CreateCustomerGatewayRequest()
{}
@@ -33,7 +35,7 @@ std::string CreateCustomerGatewayRequest::getIpAddress()const
void CreateCustomerGatewayRequest::setIpAddress(const std::string& ipAddress)
{
ipAddress_ = ipAddress;
setCoreParameter("IpAddress", ipAddress);
setParameter("IpAddress", ipAddress);
}
long CreateCustomerGatewayRequest::getResourceOwnerId()const
@@ -44,7 +46,7 @@ long CreateCustomerGatewayRequest::getResourceOwnerId()const
void CreateCustomerGatewayRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateCustomerGatewayRequest::getClientToken()const
@@ -55,7 +57,7 @@ std::string CreateCustomerGatewayRequest::getClientToken()const
void CreateCustomerGatewayRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreateCustomerGatewayRequest::getDescription()const
@@ -66,7 +68,7 @@ std::string CreateCustomerGatewayRequest::getDescription()const
void CreateCustomerGatewayRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
setParameter("Description", description);
}
std::string CreateCustomerGatewayRequest::getRegionId()const
@@ -77,7 +79,7 @@ std::string CreateCustomerGatewayRequest::getRegionId()const
void CreateCustomerGatewayRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateCustomerGatewayRequest::getResourceOwnerAccount()const
@@ -88,7 +90,7 @@ std::string CreateCustomerGatewayRequest::getResourceOwnerAccount()const
void CreateCustomerGatewayRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateCustomerGatewayRequest::getOwnerAccount()const
@@ -99,7 +101,7 @@ std::string CreateCustomerGatewayRequest::getOwnerAccount()const
void CreateCustomerGatewayRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreateCustomerGatewayRequest::getOwnerId()const
@@ -110,7 +112,7 @@ long CreateCustomerGatewayRequest::getOwnerId()const
void CreateCustomerGatewayRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateCustomerGatewayRequest::getName()const
@@ -121,6 +123,6 @@ std::string CreateCustomerGatewayRequest::getName()const
void CreateCustomerGatewayRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
setParameter("Name", name);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateExpressCloudConnectionRequest;
CreateExpressCloudConnectionRequest::CreateExpressCloudConnectionRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateExpressCloudConnection")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateExpressCloudConnectionRequest::~CreateExpressCloudConnectionRequest()
{}
@@ -33,7 +35,7 @@ long CreateExpressCloudConnectionRequest::getResourceOwnerId()const
void CreateExpressCloudConnectionRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateExpressCloudConnectionRequest::getPortType()const
@@ -44,7 +46,7 @@ std::string CreateExpressCloudConnectionRequest::getPortType()const
void CreateExpressCloudConnectionRequest::setPortType(const std::string& portType)
{
portType_ = portType;
setCoreParameter("PortType", portType);
setParameter("PortType", portType);
}
std::string CreateExpressCloudConnectionRequest::getDescription()const
@@ -55,7 +57,7 @@ std::string CreateExpressCloudConnectionRequest::getDescription()const
void CreateExpressCloudConnectionRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
setParameter("Description", description);
}
std::string CreateExpressCloudConnectionRequest::getRedundantEccId()const
@@ -66,7 +68,7 @@ std::string CreateExpressCloudConnectionRequest::getRedundantEccId()const
void CreateExpressCloudConnectionRequest::setRedundantEccId(const std::string& redundantEccId)
{
redundantEccId_ = redundantEccId;
setCoreParameter("RedundantEccId", redundantEccId);
setParameter("RedundantEccId", redundantEccId);
}
std::string CreateExpressCloudConnectionRequest::getRegionId()const
@@ -77,7 +79,7 @@ std::string CreateExpressCloudConnectionRequest::getRegionId()const
void CreateExpressCloudConnectionRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateExpressCloudConnectionRequest::getPeerLocation()const
@@ -88,7 +90,7 @@ std::string CreateExpressCloudConnectionRequest::getPeerLocation()const
void CreateExpressCloudConnectionRequest::setPeerLocation(const std::string& peerLocation)
{
peerLocation_ = peerLocation;
setCoreParameter("PeerLocation", peerLocation);
setParameter("PeerLocation", peerLocation);
}
std::string CreateExpressCloudConnectionRequest::getResourceOwnerAccount()const
@@ -99,7 +101,7 @@ std::string CreateExpressCloudConnectionRequest::getResourceOwnerAccount()const
void CreateExpressCloudConnectionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
int CreateExpressCloudConnectionRequest::getBandwidth()const
@@ -110,7 +112,7 @@ int CreateExpressCloudConnectionRequest::getBandwidth()const
void CreateExpressCloudConnectionRequest::setBandwidth(int bandwidth)
{
bandwidth_ = bandwidth;
setCoreParameter("Bandwidth", std::to_string(bandwidth));
setParameter("Bandwidth", std::to_string(bandwidth));
}
std::string CreateExpressCloudConnectionRequest::getOwnerAccount()const
@@ -121,7 +123,7 @@ std::string CreateExpressCloudConnectionRequest::getOwnerAccount()const
void CreateExpressCloudConnectionRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
std::string CreateExpressCloudConnectionRequest::getPeerCity()const
@@ -132,7 +134,7 @@ std::string CreateExpressCloudConnectionRequest::getPeerCity()const
void CreateExpressCloudConnectionRequest::setPeerCity(const std::string& peerCity)
{
peerCity_ = peerCity;
setCoreParameter("PeerCity", peerCity);
setParameter("PeerCity", peerCity);
}
std::string CreateExpressCloudConnectionRequest::getIDCardNo()const
@@ -143,7 +145,7 @@ std::string CreateExpressCloudConnectionRequest::getIDCardNo()const
void CreateExpressCloudConnectionRequest::setIDCardNo(const std::string& iDCardNo)
{
iDCardNo_ = iDCardNo;
setCoreParameter("IDCardNo", iDCardNo);
setParameter("IDCardNo", iDCardNo);
}
long CreateExpressCloudConnectionRequest::getOwnerId()const
@@ -154,7 +156,7 @@ long CreateExpressCloudConnectionRequest::getOwnerId()const
void CreateExpressCloudConnectionRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateExpressCloudConnectionRequest::getContactMail()const
@@ -165,7 +167,7 @@ std::string CreateExpressCloudConnectionRequest::getContactMail()const
void CreateExpressCloudConnectionRequest::setContactMail(const std::string& contactMail)
{
contactMail_ = contactMail;
setCoreParameter("ContactMail", contactMail);
setParameter("ContactMail", contactMail);
}
std::string CreateExpressCloudConnectionRequest::getContactTel()const
@@ -176,7 +178,7 @@ std::string CreateExpressCloudConnectionRequest::getContactTel()const
void CreateExpressCloudConnectionRequest::setContactTel(const std::string& contactTel)
{
contactTel_ = contactTel;
setCoreParameter("ContactTel", contactTel);
setParameter("ContactTel", contactTel);
}
std::string CreateExpressCloudConnectionRequest::getIdcSP()const
@@ -187,7 +189,7 @@ std::string CreateExpressCloudConnectionRequest::getIdcSP()const
void CreateExpressCloudConnectionRequest::setIdcSP(const std::string& idcSP)
{
idcSP_ = idcSP;
setCoreParameter("IdcSP", idcSP);
setParameter("IdcSP", idcSP);
}
std::string CreateExpressCloudConnectionRequest::getName()const
@@ -198,6 +200,6 @@ std::string CreateExpressCloudConnectionRequest::getName()const
void CreateExpressCloudConnectionRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
setParameter("Name", name);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateFlowLogRequest;
CreateFlowLogRequest::CreateFlowLogRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateFlowLog")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateFlowLogRequest::~CreateFlowLogRequest()
{}
@@ -33,7 +35,7 @@ long CreateFlowLogRequest::getResourceOwnerId()const
void CreateFlowLogRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateFlowLogRequest::getDescription()const
@@ -44,7 +46,7 @@ std::string CreateFlowLogRequest::getDescription()const
void CreateFlowLogRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
setParameter("Description", description);
}
std::string CreateFlowLogRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string CreateFlowLogRequest::getRegionId()const
void CreateFlowLogRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateFlowLogRequest::getResourceId()const
@@ -66,7 +68,7 @@ std::string CreateFlowLogRequest::getResourceId()const
void CreateFlowLogRequest::setResourceId(const std::string& resourceId)
{
resourceId_ = resourceId;
setCoreParameter("ResourceId", resourceId);
setParameter("ResourceId", resourceId);
}
std::string CreateFlowLogRequest::getProjectName()const
@@ -77,7 +79,7 @@ std::string CreateFlowLogRequest::getProjectName()const
void CreateFlowLogRequest::setProjectName(const std::string& projectName)
{
projectName_ = projectName;
setCoreParameter("ProjectName", projectName);
setParameter("ProjectName", projectName);
}
std::string CreateFlowLogRequest::getLogStoreName()const
@@ -88,7 +90,7 @@ std::string CreateFlowLogRequest::getLogStoreName()const
void CreateFlowLogRequest::setLogStoreName(const std::string& logStoreName)
{
logStoreName_ = logStoreName;
setCoreParameter("LogStoreName", logStoreName);
setParameter("LogStoreName", logStoreName);
}
std::string CreateFlowLogRequest::getResourceOwnerAccount()const
@@ -99,7 +101,7 @@ std::string CreateFlowLogRequest::getResourceOwnerAccount()const
void CreateFlowLogRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateFlowLogRequest::getOwnerAccount()const
@@ -110,7 +112,7 @@ std::string CreateFlowLogRequest::getOwnerAccount()const
void CreateFlowLogRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreateFlowLogRequest::getOwnerId()const
@@ -121,7 +123,7 @@ long CreateFlowLogRequest::getOwnerId()const
void CreateFlowLogRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateFlowLogRequest::getResourceType()const
@@ -132,7 +134,7 @@ std::string CreateFlowLogRequest::getResourceType()const
void CreateFlowLogRequest::setResourceType(const std::string& resourceType)
{
resourceType_ = resourceType;
setCoreParameter("ResourceType", resourceType);
setParameter("ResourceType", resourceType);
}
std::string CreateFlowLogRequest::getTrafficType()const
@@ -143,7 +145,7 @@ std::string CreateFlowLogRequest::getTrafficType()const
void CreateFlowLogRequest::setTrafficType(const std::string& trafficType)
{
trafficType_ = trafficType;
setCoreParameter("TrafficType", trafficType);
setParameter("TrafficType", trafficType);
}
std::string CreateFlowLogRequest::getFlowLogName()const
@@ -154,6 +156,6 @@ std::string CreateFlowLogRequest::getFlowLogName()const
void CreateFlowLogRequest::setFlowLogName(const std::string& flowLogName)
{
flowLogName_ = flowLogName;
setCoreParameter("FlowLogName", flowLogName);
setParameter("FlowLogName", flowLogName);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateForwardEntryRequest;
CreateForwardEntryRequest::CreateForwardEntryRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateForwardEntry")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateForwardEntryRequest::~CreateForwardEntryRequest()
{}
@@ -33,7 +35,18 @@ long CreateForwardEntryRequest::getResourceOwnerId()const
void CreateForwardEntryRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateForwardEntryRequest::getClientToken()const
{
return clientToken_;
}
void CreateForwardEntryRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
std::string CreateForwardEntryRequest::getForwardTableId()const
@@ -44,7 +57,7 @@ std::string CreateForwardEntryRequest::getForwardTableId()const
void CreateForwardEntryRequest::setForwardTableId(const std::string& forwardTableId)
{
forwardTableId_ = forwardTableId;
setCoreParameter("ForwardTableId", forwardTableId);
setParameter("ForwardTableId", forwardTableId);
}
std::string CreateForwardEntryRequest::getInternalIp()const
@@ -55,7 +68,7 @@ std::string CreateForwardEntryRequest::getInternalIp()const
void CreateForwardEntryRequest::setInternalIp(const std::string& internalIp)
{
internalIp_ = internalIp;
setCoreParameter("InternalIp", internalIp);
setParameter("InternalIp", internalIp);
}
std::string CreateForwardEntryRequest::getRegionId()const
@@ -66,7 +79,7 @@ std::string CreateForwardEntryRequest::getRegionId()const
void CreateForwardEntryRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateForwardEntryRequest::getExternalIp()const
@@ -77,7 +90,7 @@ std::string CreateForwardEntryRequest::getExternalIp()const
void CreateForwardEntryRequest::setExternalIp(const std::string& externalIp)
{
externalIp_ = externalIp;
setCoreParameter("ExternalIp", externalIp);
setParameter("ExternalIp", externalIp);
}
std::string CreateForwardEntryRequest::getResourceOwnerAccount()const
@@ -88,7 +101,7 @@ std::string CreateForwardEntryRequest::getResourceOwnerAccount()const
void CreateForwardEntryRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateForwardEntryRequest::getIpProtocol()const
@@ -99,7 +112,7 @@ std::string CreateForwardEntryRequest::getIpProtocol()const
void CreateForwardEntryRequest::setIpProtocol(const std::string& ipProtocol)
{
ipProtocol_ = ipProtocol;
setCoreParameter("IpProtocol", ipProtocol);
setParameter("IpProtocol", ipProtocol);
}
std::string CreateForwardEntryRequest::getForwardEntryName()const
@@ -110,7 +123,7 @@ std::string CreateForwardEntryRequest::getForwardEntryName()const
void CreateForwardEntryRequest::setForwardEntryName(const std::string& forwardEntryName)
{
forwardEntryName_ = forwardEntryName;
setCoreParameter("ForwardEntryName", forwardEntryName);
setParameter("ForwardEntryName", forwardEntryName);
}
std::string CreateForwardEntryRequest::getOwnerAccount()const
@@ -121,7 +134,7 @@ std::string CreateForwardEntryRequest::getOwnerAccount()const
void CreateForwardEntryRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreateForwardEntryRequest::getOwnerId()const
@@ -132,7 +145,7 @@ long CreateForwardEntryRequest::getOwnerId()const
void CreateForwardEntryRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateForwardEntryRequest::getInternalPort()const
@@ -143,7 +156,7 @@ std::string CreateForwardEntryRequest::getInternalPort()const
void CreateForwardEntryRequest::setInternalPort(const std::string& internalPort)
{
internalPort_ = internalPort;
setCoreParameter("InternalPort", internalPort);
setParameter("InternalPort", internalPort);
}
std::string CreateForwardEntryRequest::getExternalPort()const
@@ -154,6 +167,6 @@ std::string CreateForwardEntryRequest::getExternalPort()const
void CreateForwardEntryRequest::setExternalPort(const std::string& externalPort)
{
externalPort_ = externalPort;
setCoreParameter("ExternalPort", externalPort);
setParameter("ExternalPort", externalPort);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateGlobalAccelerationInstanceRequest;
CreateGlobalAccelerationInstanceRequest::CreateGlobalAccelerationInstanceRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateGlobalAccelerationInstance")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateGlobalAccelerationInstanceRequest::~CreateGlobalAccelerationInstanceRequest()
{}
@@ -33,7 +35,7 @@ long CreateGlobalAccelerationInstanceRequest::getResourceOwnerId()const
void CreateGlobalAccelerationInstanceRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateGlobalAccelerationInstanceRequest::getBandwidthType()const
@@ -44,7 +46,7 @@ std::string CreateGlobalAccelerationInstanceRequest::getBandwidthType()const
void CreateGlobalAccelerationInstanceRequest::setBandwidthType(const std::string& bandwidthType)
{
bandwidthType_ = bandwidthType;
setCoreParameter("BandwidthType", bandwidthType);
setParameter("BandwidthType", bandwidthType);
}
std::string CreateGlobalAccelerationInstanceRequest::getClientToken()const
@@ -55,7 +57,7 @@ std::string CreateGlobalAccelerationInstanceRequest::getClientToken()const
void CreateGlobalAccelerationInstanceRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreateGlobalAccelerationInstanceRequest::getDescription()const
@@ -66,7 +68,7 @@ std::string CreateGlobalAccelerationInstanceRequest::getDescription()const
void CreateGlobalAccelerationInstanceRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
setParameter("Description", description);
}
std::string CreateGlobalAccelerationInstanceRequest::getRegionId()const
@@ -77,7 +79,7 @@ std::string CreateGlobalAccelerationInstanceRequest::getRegionId()const
void CreateGlobalAccelerationInstanceRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateGlobalAccelerationInstanceRequest::getResourceOwnerAccount()const
@@ -88,7 +90,7 @@ std::string CreateGlobalAccelerationInstanceRequest::getResourceOwnerAccount()co
void CreateGlobalAccelerationInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateGlobalAccelerationInstanceRequest::getServiceLocation()const
@@ -99,7 +101,7 @@ std::string CreateGlobalAccelerationInstanceRequest::getServiceLocation()const
void CreateGlobalAccelerationInstanceRequest::setServiceLocation(const std::string& serviceLocation)
{
serviceLocation_ = serviceLocation;
setCoreParameter("ServiceLocation", serviceLocation);
setParameter("ServiceLocation", serviceLocation);
}
std::string CreateGlobalAccelerationInstanceRequest::getBandwidth()const
@@ -110,7 +112,7 @@ std::string CreateGlobalAccelerationInstanceRequest::getBandwidth()const
void CreateGlobalAccelerationInstanceRequest::setBandwidth(const std::string& bandwidth)
{
bandwidth_ = bandwidth;
setCoreParameter("Bandwidth", bandwidth);
setParameter("Bandwidth", bandwidth);
}
std::string CreateGlobalAccelerationInstanceRequest::getOwnerAccount()const
@@ -121,7 +123,7 @@ std::string CreateGlobalAccelerationInstanceRequest::getOwnerAccount()const
void CreateGlobalAccelerationInstanceRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreateGlobalAccelerationInstanceRequest::getOwnerId()const
@@ -132,18 +134,7 @@ long CreateGlobalAccelerationInstanceRequest::getOwnerId()const
void CreateGlobalAccelerationInstanceRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateGlobalAccelerationInstanceRequest::getInternetChargeType()const
{
return internetChargeType_;
}
void CreateGlobalAccelerationInstanceRequest::setInternetChargeType(const std::string& internetChargeType)
{
internetChargeType_ = internetChargeType;
setCoreParameter("InternetChargeType", internetChargeType);
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateGlobalAccelerationInstanceRequest::getName()const
@@ -154,6 +145,6 @@ std::string CreateGlobalAccelerationInstanceRequest::getName()const
void CreateGlobalAccelerationInstanceRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
setParameter("Name", name);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateHaVipRequest;
CreateHaVipRequest::CreateHaVipRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateHaVip")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateHaVipRequest::~CreateHaVipRequest()
{}
@@ -33,7 +35,7 @@ std::string CreateHaVipRequest::getIpAddress()const
void CreateHaVipRequest::setIpAddress(const std::string& ipAddress)
{
ipAddress_ = ipAddress;
setCoreParameter("IpAddress", ipAddress);
setParameter("IpAddress", ipAddress);
}
long CreateHaVipRequest::getResourceOwnerId()const
@@ -44,7 +46,7 @@ long CreateHaVipRequest::getResourceOwnerId()const
void CreateHaVipRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateHaVipRequest::getClientToken()const
@@ -55,7 +57,7 @@ std::string CreateHaVipRequest::getClientToken()const
void CreateHaVipRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreateHaVipRequest::getDescription()const
@@ -66,7 +68,7 @@ std::string CreateHaVipRequest::getDescription()const
void CreateHaVipRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
setParameter("Description", description);
}
std::string CreateHaVipRequest::getRegionId()const
@@ -77,7 +79,7 @@ std::string CreateHaVipRequest::getRegionId()const
void CreateHaVipRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateHaVipRequest::getResourceOwnerAccount()const
@@ -88,7 +90,7 @@ std::string CreateHaVipRequest::getResourceOwnerAccount()const
void CreateHaVipRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateHaVipRequest::getOwnerAccount()const
@@ -99,7 +101,7 @@ std::string CreateHaVipRequest::getOwnerAccount()const
void CreateHaVipRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreateHaVipRequest::getOwnerId()const
@@ -110,7 +112,7 @@ long CreateHaVipRequest::getOwnerId()const
void CreateHaVipRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateHaVipRequest::getVSwitchId()const
@@ -121,7 +123,7 @@ std::string CreateHaVipRequest::getVSwitchId()const
void CreateHaVipRequest::setVSwitchId(const std::string& vSwitchId)
{
vSwitchId_ = vSwitchId;
setCoreParameter("VSwitchId", vSwitchId);
setParameter("VSwitchId", vSwitchId);
}
std::string CreateHaVipRequest::getName()const
@@ -132,6 +134,6 @@ std::string CreateHaVipRequest::getName()const
void CreateHaVipRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
setParameter("Name", name);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateIPv6TranslatorAclListRequest;
CreateIPv6TranslatorAclListRequest::CreateIPv6TranslatorAclListRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateIPv6TranslatorAclList")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateIPv6TranslatorAclListRequest::~CreateIPv6TranslatorAclListRequest()
{}
@@ -33,7 +35,7 @@ long CreateIPv6TranslatorAclListRequest::getResourceOwnerId()const
void CreateIPv6TranslatorAclListRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateIPv6TranslatorAclListRequest::getAclName()const
@@ -44,7 +46,7 @@ std::string CreateIPv6TranslatorAclListRequest::getAclName()const
void CreateIPv6TranslatorAclListRequest::setAclName(const std::string& aclName)
{
aclName_ = aclName;
setCoreParameter("AclName", aclName);
setParameter("AclName", aclName);
}
std::string CreateIPv6TranslatorAclListRequest::getClientToken()const
@@ -55,7 +57,7 @@ std::string CreateIPv6TranslatorAclListRequest::getClientToken()const
void CreateIPv6TranslatorAclListRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreateIPv6TranslatorAclListRequest::getRegionId()const
@@ -66,7 +68,7 @@ std::string CreateIPv6TranslatorAclListRequest::getRegionId()const
void CreateIPv6TranslatorAclListRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateIPv6TranslatorAclListRequest::getResourceOwnerAccount()const
@@ -77,7 +79,7 @@ std::string CreateIPv6TranslatorAclListRequest::getResourceOwnerAccount()const
void CreateIPv6TranslatorAclListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateIPv6TranslatorAclListRequest::getOwnerAccount()const
@@ -88,7 +90,7 @@ std::string CreateIPv6TranslatorAclListRequest::getOwnerAccount()const
void CreateIPv6TranslatorAclListRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreateIPv6TranslatorAclListRequest::getOwnerId()const
@@ -99,6 +101,6 @@ long CreateIPv6TranslatorAclListRequest::getOwnerId()const
void CreateIPv6TranslatorAclListRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateIPv6TranslatorEntryRequest;
CreateIPv6TranslatorEntryRequest::CreateIPv6TranslatorEntryRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateIPv6TranslatorEntry")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateIPv6TranslatorEntryRequest::~CreateIPv6TranslatorEntryRequest()
{}
@@ -33,7 +35,7 @@ int CreateIPv6TranslatorEntryRequest::getBackendIpv4Port()const
void CreateIPv6TranslatorEntryRequest::setBackendIpv4Port(int backendIpv4Port)
{
backendIpv4Port_ = backendIpv4Port;
setCoreParameter("BackendIpv4Port", std::to_string(backendIpv4Port));
setParameter("BackendIpv4Port", std::to_string(backendIpv4Port));
}
long CreateIPv6TranslatorEntryRequest::getResourceOwnerId()const
@@ -44,7 +46,7 @@ long CreateIPv6TranslatorEntryRequest::getResourceOwnerId()const
void CreateIPv6TranslatorEntryRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateIPv6TranslatorEntryRequest::getEntryName()const
@@ -55,7 +57,7 @@ std::string CreateIPv6TranslatorEntryRequest::getEntryName()const
void CreateIPv6TranslatorEntryRequest::setEntryName(const std::string& entryName)
{
entryName_ = entryName;
setCoreParameter("EntryName", entryName);
setParameter("EntryName", entryName);
}
std::string CreateIPv6TranslatorEntryRequest::getAclStatus()const
@@ -66,7 +68,7 @@ std::string CreateIPv6TranslatorEntryRequest::getAclStatus()const
void CreateIPv6TranslatorEntryRequest::setAclStatus(const std::string& aclStatus)
{
aclStatus_ = aclStatus;
setCoreParameter("AclStatus", aclStatus);
setParameter("AclStatus", aclStatus);
}
int CreateIPv6TranslatorEntryRequest::getEntryBandwidth()const
@@ -77,7 +79,7 @@ int CreateIPv6TranslatorEntryRequest::getEntryBandwidth()const
void CreateIPv6TranslatorEntryRequest::setEntryBandwidth(int entryBandwidth)
{
entryBandwidth_ = entryBandwidth;
setCoreParameter("EntryBandwidth", std::to_string(entryBandwidth));
setParameter("EntryBandwidth", std::to_string(entryBandwidth));
}
std::string CreateIPv6TranslatorEntryRequest::getAclType()const
@@ -88,7 +90,7 @@ std::string CreateIPv6TranslatorEntryRequest::getAclType()const
void CreateIPv6TranslatorEntryRequest::setAclType(const std::string& aclType)
{
aclType_ = aclType;
setCoreParameter("AclType", aclType);
setParameter("AclType", aclType);
}
int CreateIPv6TranslatorEntryRequest::getAllocateIpv6Port()const
@@ -99,7 +101,7 @@ int CreateIPv6TranslatorEntryRequest::getAllocateIpv6Port()const
void CreateIPv6TranslatorEntryRequest::setAllocateIpv6Port(int allocateIpv6Port)
{
allocateIpv6Port_ = allocateIpv6Port;
setCoreParameter("AllocateIpv6Port", std::to_string(allocateIpv6Port));
setParameter("AllocateIpv6Port", std::to_string(allocateIpv6Port));
}
std::string CreateIPv6TranslatorEntryRequest::getEntryDescription()const
@@ -110,7 +112,7 @@ std::string CreateIPv6TranslatorEntryRequest::getEntryDescription()const
void CreateIPv6TranslatorEntryRequest::setEntryDescription(const std::string& entryDescription)
{
entryDescription_ = entryDescription;
setCoreParameter("EntryDescription", entryDescription);
setParameter("EntryDescription", entryDescription);
}
std::string CreateIPv6TranslatorEntryRequest::getRegionId()const
@@ -121,7 +123,7 @@ std::string CreateIPv6TranslatorEntryRequest::getRegionId()const
void CreateIPv6TranslatorEntryRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateIPv6TranslatorEntryRequest::getBackendIpv4Addr()const
@@ -132,7 +134,7 @@ std::string CreateIPv6TranslatorEntryRequest::getBackendIpv4Addr()const
void CreateIPv6TranslatorEntryRequest::setBackendIpv4Addr(const std::string& backendIpv4Addr)
{
backendIpv4Addr_ = backendIpv4Addr;
setCoreParameter("BackendIpv4Addr", backendIpv4Addr);
setParameter("BackendIpv4Addr", backendIpv4Addr);
}
std::string CreateIPv6TranslatorEntryRequest::getAclId()const
@@ -143,7 +145,7 @@ std::string CreateIPv6TranslatorEntryRequest::getAclId()const
void CreateIPv6TranslatorEntryRequest::setAclId(const std::string& aclId)
{
aclId_ = aclId;
setCoreParameter("AclId", aclId);
setParameter("AclId", aclId);
}
std::string CreateIPv6TranslatorEntryRequest::getResourceOwnerAccount()const
@@ -154,7 +156,7 @@ std::string CreateIPv6TranslatorEntryRequest::getResourceOwnerAccount()const
void CreateIPv6TranslatorEntryRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateIPv6TranslatorEntryRequest::getOwnerAccount()const
@@ -165,7 +167,7 @@ std::string CreateIPv6TranslatorEntryRequest::getOwnerAccount()const
void CreateIPv6TranslatorEntryRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreateIPv6TranslatorEntryRequest::getOwnerId()const
@@ -176,7 +178,7 @@ long CreateIPv6TranslatorEntryRequest::getOwnerId()const
void CreateIPv6TranslatorEntryRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateIPv6TranslatorEntryRequest::getTransProtocol()const
@@ -187,7 +189,7 @@ std::string CreateIPv6TranslatorEntryRequest::getTransProtocol()const
void CreateIPv6TranslatorEntryRequest::setTransProtocol(const std::string& transProtocol)
{
transProtocol_ = transProtocol;
setCoreParameter("TransProtocol", transProtocol);
setParameter("TransProtocol", transProtocol);
}
std::string CreateIPv6TranslatorEntryRequest::getIpv6TranslatorId()const
@@ -198,6 +200,6 @@ std::string CreateIPv6TranslatorEntryRequest::getIpv6TranslatorId()const
void CreateIPv6TranslatorEntryRequest::setIpv6TranslatorId(const std::string& ipv6TranslatorId)
{
ipv6TranslatorId_ = ipv6TranslatorId;
setCoreParameter("Ipv6TranslatorId", ipv6TranslatorId);
setParameter("Ipv6TranslatorId", ipv6TranslatorId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateIPv6TranslatorRequest;
CreateIPv6TranslatorRequest::CreateIPv6TranslatorRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateIPv6Translator")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateIPv6TranslatorRequest::~CreateIPv6TranslatorRequest()
{}
@@ -33,7 +35,7 @@ long CreateIPv6TranslatorRequest::getResourceOwnerId()const
void CreateIPv6TranslatorRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateIPv6TranslatorRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string CreateIPv6TranslatorRequest::getClientToken()const
void CreateIPv6TranslatorRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreateIPv6TranslatorRequest::getSpec()const
@@ -55,7 +57,7 @@ std::string CreateIPv6TranslatorRequest::getSpec()const
void CreateIPv6TranslatorRequest::setSpec(const std::string& spec)
{
spec_ = spec;
setCoreParameter("Spec", spec);
setParameter("Spec", spec);
}
int CreateIPv6TranslatorRequest::getDuration()const
@@ -66,7 +68,7 @@ int CreateIPv6TranslatorRequest::getDuration()const
void CreateIPv6TranslatorRequest::setDuration(int duration)
{
duration_ = duration;
setCoreParameter("Duration", std::to_string(duration));
setParameter("Duration", std::to_string(duration));
}
std::string CreateIPv6TranslatorRequest::getRegionId()const
@@ -77,7 +79,7 @@ std::string CreateIPv6TranslatorRequest::getRegionId()const
void CreateIPv6TranslatorRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
bool CreateIPv6TranslatorRequest::getAutoPay()const
@@ -88,7 +90,7 @@ bool CreateIPv6TranslatorRequest::getAutoPay()const
void CreateIPv6TranslatorRequest::setAutoPay(bool autoPay)
{
autoPay_ = autoPay;
setCoreParameter("AutoPay", autoPay ? "true" : "false");
setParameter("AutoPay", autoPay ? "true" : "false");
}
std::string CreateIPv6TranslatorRequest::getResourceOwnerAccount()const
@@ -99,7 +101,7 @@ std::string CreateIPv6TranslatorRequest::getResourceOwnerAccount()const
void CreateIPv6TranslatorRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
int CreateIPv6TranslatorRequest::getBandwidth()const
@@ -110,7 +112,7 @@ int CreateIPv6TranslatorRequest::getBandwidth()const
void CreateIPv6TranslatorRequest::setBandwidth(int bandwidth)
{
bandwidth_ = bandwidth;
setCoreParameter("Bandwidth", std::to_string(bandwidth));
setParameter("Bandwidth", std::to_string(bandwidth));
}
std::string CreateIPv6TranslatorRequest::getOwnerAccount()const
@@ -121,7 +123,7 @@ std::string CreateIPv6TranslatorRequest::getOwnerAccount()const
void CreateIPv6TranslatorRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreateIPv6TranslatorRequest::getOwnerId()const
@@ -132,7 +134,7 @@ long CreateIPv6TranslatorRequest::getOwnerId()const
void CreateIPv6TranslatorRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateIPv6TranslatorRequest::getName()const
@@ -143,7 +145,7 @@ std::string CreateIPv6TranslatorRequest::getName()const
void CreateIPv6TranslatorRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
setParameter("Name", name);
}
std::string CreateIPv6TranslatorRequest::getPayType()const
@@ -154,7 +156,7 @@ std::string CreateIPv6TranslatorRequest::getPayType()const
void CreateIPv6TranslatorRequest::setPayType(const std::string& payType)
{
payType_ = payType;
setCoreParameter("PayType", payType);
setParameter("PayType", payType);
}
std::string CreateIPv6TranslatorRequest::getPricingCycle()const
@@ -165,6 +167,6 @@ std::string CreateIPv6TranslatorRequest::getPricingCycle()const
void CreateIPv6TranslatorRequest::setPricingCycle(const std::string& pricingCycle)
{
pricingCycle_ = pricingCycle;
setCoreParameter("PricingCycle", pricingCycle);
setParameter("PricingCycle", pricingCycle);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateIpv6EgressOnlyRuleRequest;
CreateIpv6EgressOnlyRuleRequest::CreateIpv6EgressOnlyRuleRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateIpv6EgressOnlyRule")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateIpv6EgressOnlyRuleRequest::~CreateIpv6EgressOnlyRuleRequest()
{}
@@ -33,7 +35,7 @@ long CreateIpv6EgressOnlyRuleRequest::getResourceOwnerId()const
void CreateIpv6EgressOnlyRuleRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateIpv6EgressOnlyRuleRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string CreateIpv6EgressOnlyRuleRequest::getClientToken()const
void CreateIpv6EgressOnlyRuleRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreateIpv6EgressOnlyRuleRequest::getDescription()const
@@ -55,7 +57,7 @@ std::string CreateIpv6EgressOnlyRuleRequest::getDescription()const
void CreateIpv6EgressOnlyRuleRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
setParameter("Description", description);
}
std::string CreateIpv6EgressOnlyRuleRequest::getRegionId()const
@@ -66,7 +68,7 @@ std::string CreateIpv6EgressOnlyRuleRequest::getRegionId()const
void CreateIpv6EgressOnlyRuleRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateIpv6EgressOnlyRuleRequest::getInstanceType()const
@@ -77,7 +79,7 @@ std::string CreateIpv6EgressOnlyRuleRequest::getInstanceType()const
void CreateIpv6EgressOnlyRuleRequest::setInstanceType(const std::string& instanceType)
{
instanceType_ = instanceType;
setCoreParameter("InstanceType", instanceType);
setParameter("InstanceType", instanceType);
}
std::string CreateIpv6EgressOnlyRuleRequest::getResourceOwnerAccount()const
@@ -88,7 +90,7 @@ std::string CreateIpv6EgressOnlyRuleRequest::getResourceOwnerAccount()const
void CreateIpv6EgressOnlyRuleRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateIpv6EgressOnlyRuleRequest::getOwnerAccount()const
@@ -99,7 +101,7 @@ std::string CreateIpv6EgressOnlyRuleRequest::getOwnerAccount()const
void CreateIpv6EgressOnlyRuleRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreateIpv6EgressOnlyRuleRequest::getOwnerId()const
@@ -110,7 +112,7 @@ long CreateIpv6EgressOnlyRuleRequest::getOwnerId()const
void CreateIpv6EgressOnlyRuleRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateIpv6EgressOnlyRuleRequest::getInstanceId()const
@@ -121,7 +123,7 @@ std::string CreateIpv6EgressOnlyRuleRequest::getInstanceId()const
void CreateIpv6EgressOnlyRuleRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
setParameter("InstanceId", instanceId);
}
std::string CreateIpv6EgressOnlyRuleRequest::getIpv6GatewayId()const
@@ -132,7 +134,7 @@ std::string CreateIpv6EgressOnlyRuleRequest::getIpv6GatewayId()const
void CreateIpv6EgressOnlyRuleRequest::setIpv6GatewayId(const std::string& ipv6GatewayId)
{
ipv6GatewayId_ = ipv6GatewayId;
setCoreParameter("Ipv6GatewayId", ipv6GatewayId);
setParameter("Ipv6GatewayId", ipv6GatewayId);
}
std::string CreateIpv6EgressOnlyRuleRequest::getName()const
@@ -143,6 +145,6 @@ std::string CreateIpv6EgressOnlyRuleRequest::getName()const
void CreateIpv6EgressOnlyRuleRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
setParameter("Name", name);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateIpv6GatewayRequest;
CreateIpv6GatewayRequest::CreateIpv6GatewayRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateIpv6Gateway")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateIpv6GatewayRequest::~CreateIpv6GatewayRequest()
{}
@@ -33,7 +35,7 @@ long CreateIpv6GatewayRequest::getResourceOwnerId()const
void CreateIpv6GatewayRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateIpv6GatewayRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string CreateIpv6GatewayRequest::getClientToken()const
void CreateIpv6GatewayRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreateIpv6GatewayRequest::getDescription()const
@@ -55,7 +57,7 @@ std::string CreateIpv6GatewayRequest::getDescription()const
void CreateIpv6GatewayRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
setParameter("Description", description);
}
std::string CreateIpv6GatewayRequest::getSpec()const
@@ -66,7 +68,7 @@ std::string CreateIpv6GatewayRequest::getSpec()const
void CreateIpv6GatewayRequest::setSpec(const std::string& spec)
{
spec_ = spec;
setCoreParameter("Spec", spec);
setParameter("Spec", spec);
}
std::string CreateIpv6GatewayRequest::getRegionId()const
@@ -77,7 +79,7 @@ std::string CreateIpv6GatewayRequest::getRegionId()const
void CreateIpv6GatewayRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateIpv6GatewayRequest::getResourceOwnerAccount()const
@@ -88,7 +90,7 @@ std::string CreateIpv6GatewayRequest::getResourceOwnerAccount()const
void CreateIpv6GatewayRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateIpv6GatewayRequest::getOwnerAccount()const
@@ -99,7 +101,7 @@ std::string CreateIpv6GatewayRequest::getOwnerAccount()const
void CreateIpv6GatewayRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreateIpv6GatewayRequest::getOwnerId()const
@@ -110,7 +112,7 @@ long CreateIpv6GatewayRequest::getOwnerId()const
void CreateIpv6GatewayRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateIpv6GatewayRequest::getVpcId()const
@@ -121,7 +123,7 @@ std::string CreateIpv6GatewayRequest::getVpcId()const
void CreateIpv6GatewayRequest::setVpcId(const std::string& vpcId)
{
vpcId_ = vpcId;
setCoreParameter("VpcId", vpcId);
setParameter("VpcId", vpcId);
}
std::string CreateIpv6GatewayRequest::getName()const
@@ -132,6 +134,6 @@ std::string CreateIpv6GatewayRequest::getName()const
void CreateIpv6GatewayRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
setParameter("Name", name);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateNatGatewayRequest;
CreateNatGatewayRequest::CreateNatGatewayRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateNatGateway")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateNatGatewayRequest::~CreateNatGatewayRequest()
{}
@@ -33,7 +35,7 @@ long CreateNatGatewayRequest::getResourceOwnerId()const
void CreateNatGatewayRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateNatGatewayRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string CreateNatGatewayRequest::getClientToken()const
void CreateNatGatewayRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreateNatGatewayRequest::getDescription()const
@@ -55,7 +57,7 @@ std::string CreateNatGatewayRequest::getDescription()const
void CreateNatGatewayRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
setParameter("Description", description);
}
std::string CreateNatGatewayRequest::getSpec()const
@@ -66,7 +68,7 @@ std::string CreateNatGatewayRequest::getSpec()const
void CreateNatGatewayRequest::setSpec(const std::string& spec)
{
spec_ = spec;
setCoreParameter("Spec", spec);
setParameter("Spec", spec);
}
std::string CreateNatGatewayRequest::getDuration()const
@@ -77,7 +79,7 @@ std::string CreateNatGatewayRequest::getDuration()const
void CreateNatGatewayRequest::setDuration(const std::string& duration)
{
duration_ = duration;
setCoreParameter("Duration", duration);
setParameter("Duration", duration);
}
std::string CreateNatGatewayRequest::getRegionId()const
@@ -88,7 +90,18 @@ std::string CreateNatGatewayRequest::getRegionId()const
void CreateNatGatewayRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateNatGatewayRequest::getNatType()const
{
return natType_;
}
void CreateNatGatewayRequest::setNatType(const std::string& natType)
{
natType_ = natType;
setParameter("NatType", natType);
}
std::vector<CreateNatGatewayRequest::BandwidthPackage> CreateNatGatewayRequest::getBandwidthPackage()const
@@ -99,15 +112,14 @@ std::vector<CreateNatGatewayRequest::BandwidthPackage> CreateNatGatewayRequest::
void CreateNatGatewayRequest::setBandwidthPackage(const std::vector<BandwidthPackage>& bandwidthPackage)
{
bandwidthPackage_ = bandwidthPackage;
int i = 0;
for(int i = 0; i!= bandwidthPackage.size(); i++) {
auto obj = bandwidthPackage.at(i);
std::string str ="BandwidthPackage."+ std::to_string(i);
setCoreParameter(str + ".Bandwidth", std::to_string(obj.bandwidth));
setCoreParameter(str + ".Zone", obj.zone);
setCoreParameter(str + ".InternetChargeType", obj.internetChargeType);
setCoreParameter(str + ".ISP", obj.iSP);
setCoreParameter(str + ".IpCount", std::to_string(obj.ipCount));
for(int dep1 = 0; dep1!= bandwidthPackage.size(); dep1++) {
auto bandwidthPackageObj = bandwidthPackage.at(dep1);
std::string bandwidthPackageObjStr = "BandwidthPackage." + std::to_string(dep1 + 1);
setParameter(bandwidthPackageObjStr + ".Bandwidth", std::to_string(bandwidthPackageObj.bandwidth));
setParameter(bandwidthPackageObjStr + ".Zone", bandwidthPackageObj.zone);
setParameter(bandwidthPackageObjStr + ".InternetChargeType", bandwidthPackageObj.internetChargeType);
setParameter(bandwidthPackageObjStr + ".ISP", bandwidthPackageObj.iSP);
setParameter(bandwidthPackageObjStr + ".IpCount", std::to_string(bandwidthPackageObj.ipCount));
}
}
@@ -119,7 +131,7 @@ std::string CreateNatGatewayRequest::getInstanceChargeType()const
void CreateNatGatewayRequest::setInstanceChargeType(const std::string& instanceChargeType)
{
instanceChargeType_ = instanceChargeType;
setCoreParameter("InstanceChargeType", instanceChargeType);
setParameter("InstanceChargeType", instanceChargeType);
}
bool CreateNatGatewayRequest::getAutoPay()const
@@ -130,7 +142,7 @@ bool CreateNatGatewayRequest::getAutoPay()const
void CreateNatGatewayRequest::setAutoPay(bool autoPay)
{
autoPay_ = autoPay;
setCoreParameter("AutoPay", autoPay ? "true" : "false");
setParameter("AutoPay", autoPay ? "true" : "false");
}
std::string CreateNatGatewayRequest::getResourceOwnerAccount()const
@@ -141,7 +153,7 @@ std::string CreateNatGatewayRequest::getResourceOwnerAccount()const
void CreateNatGatewayRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateNatGatewayRequest::getOwnerAccount()const
@@ -152,7 +164,7 @@ std::string CreateNatGatewayRequest::getOwnerAccount()const
void CreateNatGatewayRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreateNatGatewayRequest::getOwnerId()const
@@ -163,7 +175,29 @@ long CreateNatGatewayRequest::getOwnerId()const
void CreateNatGatewayRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateNatGatewayRequest::getVSwitchId()const
{
return vSwitchId_;
}
void CreateNatGatewayRequest::setVSwitchId(const std::string& vSwitchId)
{
vSwitchId_ = vSwitchId;
setParameter("VSwitchId", vSwitchId);
}
std::string CreateNatGatewayRequest::getInternetChargeType()const
{
return internetChargeType_;
}
void CreateNatGatewayRequest::setInternetChargeType(const std::string& internetChargeType)
{
internetChargeType_ = internetChargeType;
setParameter("InternetChargeType", internetChargeType);
}
std::string CreateNatGatewayRequest::getVpcId()const
@@ -174,7 +208,7 @@ std::string CreateNatGatewayRequest::getVpcId()const
void CreateNatGatewayRequest::setVpcId(const std::string& vpcId)
{
vpcId_ = vpcId;
setCoreParameter("VpcId", vpcId);
setParameter("VpcId", vpcId);
}
std::string CreateNatGatewayRequest::getName()const
@@ -185,7 +219,7 @@ std::string CreateNatGatewayRequest::getName()const
void CreateNatGatewayRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
setParameter("Name", name);
}
std::string CreateNatGatewayRequest::getPricingCycle()const
@@ -196,6 +230,6 @@ std::string CreateNatGatewayRequest::getPricingCycle()const
void CreateNatGatewayRequest::setPricingCycle(const std::string& pricingCycle)
{
pricingCycle_ = pricingCycle;
setCoreParameter("PricingCycle", pricingCycle);
setParameter("PricingCycle", pricingCycle);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateNetworkAclRequest;
CreateNetworkAclRequest::CreateNetworkAclRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateNetworkAcl")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateNetworkAclRequest::~CreateNetworkAclRequest()
{}
@@ -33,7 +35,7 @@ long CreateNetworkAclRequest::getResourceOwnerId()const
void CreateNetworkAclRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateNetworkAclRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string CreateNetworkAclRequest::getClientToken()const
void CreateNetworkAclRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreateNetworkAclRequest::getDescription()const
@@ -55,7 +57,7 @@ std::string CreateNetworkAclRequest::getDescription()const
void CreateNetworkAclRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
setParameter("Description", description);
}
std::string CreateNetworkAclRequest::getRegionId()const
@@ -66,7 +68,7 @@ std::string CreateNetworkAclRequest::getRegionId()const
void CreateNetworkAclRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateNetworkAclRequest::getResourceOwnerAccount()const
@@ -77,7 +79,7 @@ std::string CreateNetworkAclRequest::getResourceOwnerAccount()const
void CreateNetworkAclRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateNetworkAclRequest::getNetworkAclName()const
@@ -88,7 +90,7 @@ std::string CreateNetworkAclRequest::getNetworkAclName()const
void CreateNetworkAclRequest::setNetworkAclName(const std::string& networkAclName)
{
networkAclName_ = networkAclName;
setCoreParameter("NetworkAclName", networkAclName);
setParameter("NetworkAclName", networkAclName);
}
long CreateNetworkAclRequest::getOwnerId()const
@@ -99,7 +101,7 @@ long CreateNetworkAclRequest::getOwnerId()const
void CreateNetworkAclRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateNetworkAclRequest::getVpcId()const
@@ -110,6 +112,6 @@ std::string CreateNetworkAclRequest::getVpcId()const
void CreateNetworkAclRequest::setVpcId(const std::string& vpcId)
{
vpcId_ = vpcId;
setCoreParameter("VpcId", vpcId);
setParameter("VpcId", vpcId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreatePhysicalConnectionOccupancyOrderRequest;
CreatePhysicalConnectionOccupancyOrderRequest::CreatePhysicalConnectionOccupancyOrderRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreatePhysicalConnectionOccupancyOrder")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreatePhysicalConnectionOccupancyOrderRequest::~CreatePhysicalConnectionOccupancyOrderRequest()
{}
@@ -33,7 +35,7 @@ long CreatePhysicalConnectionOccupancyOrderRequest::getResourceOwnerId()const
void CreatePhysicalConnectionOccupancyOrderRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreatePhysicalConnectionOccupancyOrderRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string CreatePhysicalConnectionOccupancyOrderRequest::getClientToken()const
void CreatePhysicalConnectionOccupancyOrderRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreatePhysicalConnectionOccupancyOrderRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string CreatePhysicalConnectionOccupancyOrderRequest::getRegionId()const
void CreatePhysicalConnectionOccupancyOrderRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreatePhysicalConnectionOccupancyOrderRequest::getInstanceChargeType()const
@@ -66,7 +68,7 @@ std::string CreatePhysicalConnectionOccupancyOrderRequest::getInstanceChargeType
void CreatePhysicalConnectionOccupancyOrderRequest::setInstanceChargeType(const std::string& instanceChargeType)
{
instanceChargeType_ = instanceChargeType;
setCoreParameter("InstanceChargeType", instanceChargeType);
setParameter("InstanceChargeType", instanceChargeType);
}
int CreatePhysicalConnectionOccupancyOrderRequest::getPeriod()const
@@ -77,7 +79,7 @@ int CreatePhysicalConnectionOccupancyOrderRequest::getPeriod()const
void CreatePhysicalConnectionOccupancyOrderRequest::setPeriod(int period)
{
period_ = period;
setCoreParameter("Period", std::to_string(period));
setParameter("Period", std::to_string(period));
}
bool CreatePhysicalConnectionOccupancyOrderRequest::getAutoPay()const
@@ -88,7 +90,7 @@ bool CreatePhysicalConnectionOccupancyOrderRequest::getAutoPay()const
void CreatePhysicalConnectionOccupancyOrderRequest::setAutoPay(bool autoPay)
{
autoPay_ = autoPay;
setCoreParameter("AutoPay", autoPay ? "true" : "false");
setParameter("AutoPay", autoPay ? "true" : "false");
}
std::string CreatePhysicalConnectionOccupancyOrderRequest::getResourceOwnerAccount()const
@@ -99,7 +101,7 @@ std::string CreatePhysicalConnectionOccupancyOrderRequest::getResourceOwnerAccou
void CreatePhysicalConnectionOccupancyOrderRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreatePhysicalConnectionOccupancyOrderRequest::getOwnerAccount()const
@@ -110,7 +112,7 @@ std::string CreatePhysicalConnectionOccupancyOrderRequest::getOwnerAccount()cons
void CreatePhysicalConnectionOccupancyOrderRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreatePhysicalConnectionOccupancyOrderRequest::getOwnerId()const
@@ -121,7 +123,7 @@ long CreatePhysicalConnectionOccupancyOrderRequest::getOwnerId()const
void CreatePhysicalConnectionOccupancyOrderRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreatePhysicalConnectionOccupancyOrderRequest::getPhysicalConnectionId()const
@@ -132,7 +134,7 @@ std::string CreatePhysicalConnectionOccupancyOrderRequest::getPhysicalConnection
void CreatePhysicalConnectionOccupancyOrderRequest::setPhysicalConnectionId(const std::string& physicalConnectionId)
{
physicalConnectionId_ = physicalConnectionId;
setCoreParameter("PhysicalConnectionId", physicalConnectionId);
setParameter("PhysicalConnectionId", physicalConnectionId);
}
std::string CreatePhysicalConnectionOccupancyOrderRequest::getPricingCycle()const
@@ -143,6 +145,6 @@ std::string CreatePhysicalConnectionOccupancyOrderRequest::getPricingCycle()cons
void CreatePhysicalConnectionOccupancyOrderRequest::setPricingCycle(const std::string& pricingCycle)
{
pricingCycle_ = pricingCycle;
setCoreParameter("PricingCycle", pricingCycle);
setParameter("PricingCycle", pricingCycle);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreatePhysicalConnectionRequest;
CreatePhysicalConnectionRequest::CreatePhysicalConnectionRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreatePhysicalConnection")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreatePhysicalConnectionRequest::~CreatePhysicalConnectionRequest()
{}
@@ -33,7 +35,7 @@ std::string CreatePhysicalConnectionRequest::getAccessPointId()const
void CreatePhysicalConnectionRequest::setAccessPointId(const std::string& accessPointId)
{
accessPointId_ = accessPointId;
setCoreParameter("AccessPointId", accessPointId);
setParameter("AccessPointId", accessPointId);
}
long CreatePhysicalConnectionRequest::getResourceOwnerId()const
@@ -44,7 +46,7 @@ long CreatePhysicalConnectionRequest::getResourceOwnerId()const
void CreatePhysicalConnectionRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreatePhysicalConnectionRequest::getPortType()const
@@ -55,7 +57,7 @@ std::string CreatePhysicalConnectionRequest::getPortType()const
void CreatePhysicalConnectionRequest::setPortType(const std::string& portType)
{
portType_ = portType;
setCoreParameter("PortType", portType);
setParameter("PortType", portType);
}
std::string CreatePhysicalConnectionRequest::getCircuitCode()const
@@ -66,7 +68,7 @@ std::string CreatePhysicalConnectionRequest::getCircuitCode()const
void CreatePhysicalConnectionRequest::setCircuitCode(const std::string& circuitCode)
{
circuitCode_ = circuitCode;
setCoreParameter("CircuitCode", circuitCode);
setParameter("CircuitCode", circuitCode);
}
std::string CreatePhysicalConnectionRequest::getClientToken()const
@@ -77,7 +79,7 @@ std::string CreatePhysicalConnectionRequest::getClientToken()const
void CreatePhysicalConnectionRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreatePhysicalConnectionRequest::getDescription()const
@@ -88,7 +90,7 @@ std::string CreatePhysicalConnectionRequest::getDescription()const
void CreatePhysicalConnectionRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
setParameter("Description", description);
}
std::string CreatePhysicalConnectionRequest::getType()const
@@ -99,7 +101,7 @@ std::string CreatePhysicalConnectionRequest::getType()const
void CreatePhysicalConnectionRequest::setType(const std::string& type)
{
type_ = type;
setCoreParameter("Type", type);
setParameter("Type", type);
}
std::string CreatePhysicalConnectionRequest::getRegionId()const
@@ -110,7 +112,7 @@ std::string CreatePhysicalConnectionRequest::getRegionId()const
void CreatePhysicalConnectionRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreatePhysicalConnectionRequest::getRedundantPhysicalConnectionId()const
@@ -121,7 +123,7 @@ std::string CreatePhysicalConnectionRequest::getRedundantPhysicalConnectionId()c
void CreatePhysicalConnectionRequest::setRedundantPhysicalConnectionId(const std::string& redundantPhysicalConnectionId)
{
redundantPhysicalConnectionId_ = redundantPhysicalConnectionId;
setCoreParameter("RedundantPhysicalConnectionId", redundantPhysicalConnectionId);
setParameter("RedundantPhysicalConnectionId", redundantPhysicalConnectionId);
}
std::string CreatePhysicalConnectionRequest::getPeerLocation()const
@@ -132,7 +134,7 @@ std::string CreatePhysicalConnectionRequest::getPeerLocation()const
void CreatePhysicalConnectionRequest::setPeerLocation(const std::string& peerLocation)
{
peerLocation_ = peerLocation;
setCoreParameter("PeerLocation", peerLocation);
setParameter("PeerLocation", peerLocation);
}
int CreatePhysicalConnectionRequest::getBandwidth()const
@@ -143,7 +145,7 @@ int CreatePhysicalConnectionRequest::getBandwidth()const
void CreatePhysicalConnectionRequest::setBandwidth(int bandwidth)
{
bandwidth_ = bandwidth;
setCoreParameter("Bandwidth", std::to_string(bandwidth));
setParameter("Bandwidth", std::to_string(bandwidth));
}
std::string CreatePhysicalConnectionRequest::getResourceOwnerAccount()const
@@ -154,7 +156,7 @@ std::string CreatePhysicalConnectionRequest::getResourceOwnerAccount()const
void CreatePhysicalConnectionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreatePhysicalConnectionRequest::getOwnerAccount()const
@@ -165,7 +167,7 @@ std::string CreatePhysicalConnectionRequest::getOwnerAccount()const
void CreatePhysicalConnectionRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreatePhysicalConnectionRequest::getOwnerId()const
@@ -176,7 +178,7 @@ long CreatePhysicalConnectionRequest::getOwnerId()const
void CreatePhysicalConnectionRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreatePhysicalConnectionRequest::getLineOperator()const
@@ -187,7 +189,7 @@ std::string CreatePhysicalConnectionRequest::getLineOperator()const
void CreatePhysicalConnectionRequest::setLineOperator(const std::string& lineOperator)
{
lineOperator_ = lineOperator;
setCoreParameter("LineOperator", lineOperator);
setParameter("LineOperator", lineOperator);
}
std::string CreatePhysicalConnectionRequest::getName()const
@@ -198,6 +200,6 @@ std::string CreatePhysicalConnectionRequest::getName()const
void CreatePhysicalConnectionRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
setParameter("Name", name);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreatePhysicalConnectionSetupOrderRequest;
CreatePhysicalConnectionSetupOrderRequest::CreatePhysicalConnectionSetupOrderRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreatePhysicalConnectionSetupOrder")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreatePhysicalConnectionSetupOrderRequest::~CreatePhysicalConnectionSetupOrderRequest()
{}
@@ -33,7 +35,7 @@ std::string CreatePhysicalConnectionSetupOrderRequest::getAccessPointId()const
void CreatePhysicalConnectionSetupOrderRequest::setAccessPointId(const std::string& accessPointId)
{
accessPointId_ = accessPointId;
setCoreParameter("AccessPointId", accessPointId);
setParameter("AccessPointId", accessPointId);
}
long CreatePhysicalConnectionSetupOrderRequest::getResourceOwnerId()const
@@ -44,7 +46,7 @@ long CreatePhysicalConnectionSetupOrderRequest::getResourceOwnerId()const
void CreatePhysicalConnectionSetupOrderRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreatePhysicalConnectionSetupOrderRequest::getPortType()const
@@ -55,7 +57,7 @@ std::string CreatePhysicalConnectionSetupOrderRequest::getPortType()const
void CreatePhysicalConnectionSetupOrderRequest::setPortType(const std::string& portType)
{
portType_ = portType;
setCoreParameter("PortType", portType);
setParameter("PortType", portType);
}
std::string CreatePhysicalConnectionSetupOrderRequest::getClientToken()const
@@ -66,7 +68,7 @@ std::string CreatePhysicalConnectionSetupOrderRequest::getClientToken()const
void CreatePhysicalConnectionSetupOrderRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreatePhysicalConnectionSetupOrderRequest::getRegionId()const
@@ -77,7 +79,7 @@ std::string CreatePhysicalConnectionSetupOrderRequest::getRegionId()const
void CreatePhysicalConnectionSetupOrderRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreatePhysicalConnectionSetupOrderRequest::getRedundantPhysicalConnectionId()const
@@ -88,7 +90,7 @@ std::string CreatePhysicalConnectionSetupOrderRequest::getRedundantPhysicalConne
void CreatePhysicalConnectionSetupOrderRequest::setRedundantPhysicalConnectionId(const std::string& redundantPhysicalConnectionId)
{
redundantPhysicalConnectionId_ = redundantPhysicalConnectionId;
setCoreParameter("RedundantPhysicalConnectionId", redundantPhysicalConnectionId);
setParameter("RedundantPhysicalConnectionId", redundantPhysicalConnectionId);
}
bool CreatePhysicalConnectionSetupOrderRequest::getAutoPay()const
@@ -99,7 +101,7 @@ bool CreatePhysicalConnectionSetupOrderRequest::getAutoPay()const
void CreatePhysicalConnectionSetupOrderRequest::setAutoPay(bool autoPay)
{
autoPay_ = autoPay;
setCoreParameter("AutoPay", autoPay ? "true" : "false");
setParameter("AutoPay", autoPay ? "true" : "false");
}
std::string CreatePhysicalConnectionSetupOrderRequest::getResourceOwnerAccount()const
@@ -110,7 +112,7 @@ std::string CreatePhysicalConnectionSetupOrderRequest::getResourceOwnerAccount()
void CreatePhysicalConnectionSetupOrderRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreatePhysicalConnectionSetupOrderRequest::getOwnerAccount()const
@@ -121,7 +123,7 @@ std::string CreatePhysicalConnectionSetupOrderRequest::getOwnerAccount()const
void CreatePhysicalConnectionSetupOrderRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreatePhysicalConnectionSetupOrderRequest::getOwnerId()const
@@ -132,7 +134,7 @@ long CreatePhysicalConnectionSetupOrderRequest::getOwnerId()const
void CreatePhysicalConnectionSetupOrderRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreatePhysicalConnectionSetupOrderRequest::getLineOperator()const
@@ -143,6 +145,6 @@ std::string CreatePhysicalConnectionSetupOrderRequest::getLineOperator()const
void CreatePhysicalConnectionSetupOrderRequest::setLineOperator(const std::string& lineOperator)
{
lineOperator_ = lineOperator;
setCoreParameter("LineOperator", lineOperator);
setParameter("LineOperator", lineOperator);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateRouteEntryRequest;
CreateRouteEntryRequest::CreateRouteEntryRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateRouteEntry")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateRouteEntryRequest::~CreateRouteEntryRequest()
{}
@@ -33,7 +35,7 @@ long CreateRouteEntryRequest::getResourceOwnerId()const
void CreateRouteEntryRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateRouteEntryRequest::getRouteEntryName()const
@@ -44,7 +46,7 @@ std::string CreateRouteEntryRequest::getRouteEntryName()const
void CreateRouteEntryRequest::setRouteEntryName(const std::string& routeEntryName)
{
routeEntryName_ = routeEntryName;
setCoreParameter("RouteEntryName", routeEntryName);
setParameter("RouteEntryName", routeEntryName);
}
std::string CreateRouteEntryRequest::getClientToken()const
@@ -55,7 +57,18 @@ std::string CreateRouteEntryRequest::getClientToken()const
void CreateRouteEntryRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreateRouteEntryRequest::getDescription()const
{
return description_;
}
void CreateRouteEntryRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
}
std::string CreateRouteEntryRequest::getRegionId()const
@@ -66,7 +79,7 @@ std::string CreateRouteEntryRequest::getRegionId()const
void CreateRouteEntryRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateRouteEntryRequest::getNextHopId()const
@@ -77,7 +90,7 @@ std::string CreateRouteEntryRequest::getNextHopId()const
void CreateRouteEntryRequest::setNextHopId(const std::string& nextHopId)
{
nextHopId_ = nextHopId;
setCoreParameter("NextHopId", nextHopId);
setParameter("NextHopId", nextHopId);
}
std::string CreateRouteEntryRequest::getNextHopType()const
@@ -88,7 +101,7 @@ std::string CreateRouteEntryRequest::getNextHopType()const
void CreateRouteEntryRequest::setNextHopType(const std::string& nextHopType)
{
nextHopType_ = nextHopType;
setCoreParameter("NextHopType", nextHopType);
setParameter("NextHopType", nextHopType);
}
std::string CreateRouteEntryRequest::getRouteTableId()const
@@ -99,7 +112,7 @@ std::string CreateRouteEntryRequest::getRouteTableId()const
void CreateRouteEntryRequest::setRouteTableId(const std::string& routeTableId)
{
routeTableId_ = routeTableId;
setCoreParameter("RouteTableId", routeTableId);
setParameter("RouteTableId", routeTableId);
}
std::string CreateRouteEntryRequest::getResourceOwnerAccount()const
@@ -110,7 +123,7 @@ std::string CreateRouteEntryRequest::getResourceOwnerAccount()const
void CreateRouteEntryRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateRouteEntryRequest::getDestinationCidrBlock()const
@@ -121,7 +134,7 @@ std::string CreateRouteEntryRequest::getDestinationCidrBlock()const
void CreateRouteEntryRequest::setDestinationCidrBlock(const std::string& destinationCidrBlock)
{
destinationCidrBlock_ = destinationCidrBlock;
setCoreParameter("DestinationCidrBlock", destinationCidrBlock);
setParameter("DestinationCidrBlock", destinationCidrBlock);
}
std::string CreateRouteEntryRequest::getOwnerAccount()const
@@ -132,7 +145,7 @@ std::string CreateRouteEntryRequest::getOwnerAccount()const
void CreateRouteEntryRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreateRouteEntryRequest::getOwnerId()const
@@ -143,7 +156,7 @@ long CreateRouteEntryRequest::getOwnerId()const
void CreateRouteEntryRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateRouteEntryRequest::getPrivateIpAddress()const
@@ -154,7 +167,7 @@ std::string CreateRouteEntryRequest::getPrivateIpAddress()const
void CreateRouteEntryRequest::setPrivateIpAddress(const std::string& privateIpAddress)
{
privateIpAddress_ = privateIpAddress;
setCoreParameter("PrivateIpAddress", privateIpAddress);
setParameter("PrivateIpAddress", privateIpAddress);
}
std::vector<CreateRouteEntryRequest::NextHopList> CreateRouteEntryRequest::getNextHopList()const
@@ -165,13 +178,12 @@ std::vector<CreateRouteEntryRequest::NextHopList> CreateRouteEntryRequest::getNe
void CreateRouteEntryRequest::setNextHopList(const std::vector<NextHopList>& nextHopList)
{
nextHopList_ = nextHopList;
int i = 0;
for(int i = 0; i!= nextHopList.size(); i++) {
auto obj = nextHopList.at(i);
std::string str ="NextHopList."+ std::to_string(i);
setCoreParameter(str + ".Weight", std::to_string(obj.weight));
setCoreParameter(str + ".NextHopId", obj.nextHopId);
setCoreParameter(str + ".NextHopType", obj.nextHopType);
for(int dep1 = 0; dep1!= nextHopList.size(); dep1++) {
auto nextHopListObj = nextHopList.at(dep1);
std::string nextHopListObjStr = "NextHopList." + std::to_string(dep1 + 1);
setParameter(nextHopListObjStr + ".Weight", std::to_string(nextHopListObj.weight));
setParameter(nextHopListObjStr + ".NextHopId", nextHopListObj.nextHopId);
setParameter(nextHopListObjStr + ".NextHopType", nextHopListObj.nextHopType);
}
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateRouteTableRequest;
CreateRouteTableRequest::CreateRouteTableRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateRouteTable")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateRouteTableRequest::~CreateRouteTableRequest()
{}
@@ -33,7 +35,7 @@ long CreateRouteTableRequest::getResourceOwnerId()const
void CreateRouteTableRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateRouteTableRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string CreateRouteTableRequest::getClientToken()const
void CreateRouteTableRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreateRouteTableRequest::getDescription()const
@@ -55,7 +57,7 @@ std::string CreateRouteTableRequest::getDescription()const
void CreateRouteTableRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
setParameter("Description", description);
}
std::string CreateRouteTableRequest::getRouteTableName()const
@@ -66,7 +68,7 @@ std::string CreateRouteTableRequest::getRouteTableName()const
void CreateRouteTableRequest::setRouteTableName(const std::string& routeTableName)
{
routeTableName_ = routeTableName;
setCoreParameter("RouteTableName", routeTableName);
setParameter("RouteTableName", routeTableName);
}
std::string CreateRouteTableRequest::getRegionId()const
@@ -77,7 +79,7 @@ std::string CreateRouteTableRequest::getRegionId()const
void CreateRouteTableRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateRouteTableRequest::getResourceOwnerAccount()const
@@ -88,7 +90,7 @@ std::string CreateRouteTableRequest::getResourceOwnerAccount()const
void CreateRouteTableRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateRouteTableRequest::getOwnerAccount()const
@@ -99,7 +101,7 @@ std::string CreateRouteTableRequest::getOwnerAccount()const
void CreateRouteTableRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreateRouteTableRequest::getOwnerId()const
@@ -110,7 +112,7 @@ long CreateRouteTableRequest::getOwnerId()const
void CreateRouteTableRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateRouteTableRequest::getVpcId()const
@@ -121,6 +123,6 @@ std::string CreateRouteTableRequest::getVpcId()const
void CreateRouteTableRequest::setVpcId(const std::string& vpcId)
{
vpcId_ = vpcId;
setCoreParameter("VpcId", vpcId);
setParameter("VpcId", vpcId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateRouterInterfaceRequest;
CreateRouterInterfaceRequest::CreateRouterInterfaceRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateRouterInterface")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateRouterInterfaceRequest::~CreateRouterInterfaceRequest()
{}
@@ -33,7 +35,7 @@ std::string CreateRouterInterfaceRequest::getAccessPointId()const
void CreateRouterInterfaceRequest::setAccessPointId(const std::string& accessPointId)
{
accessPointId_ = accessPointId;
setCoreParameter("AccessPointId", accessPointId);
setParameter("AccessPointId", accessPointId);
}
std::string CreateRouterInterfaceRequest::getOppositeRouterId()const
@@ -44,7 +46,7 @@ std::string CreateRouterInterfaceRequest::getOppositeRouterId()const
void CreateRouterInterfaceRequest::setOppositeRouterId(const std::string& oppositeRouterId)
{
oppositeRouterId_ = oppositeRouterId;
setCoreParameter("OppositeRouterId", oppositeRouterId);
setParameter("OppositeRouterId", oppositeRouterId);
}
std::string CreateRouterInterfaceRequest::getOppositeAccessPointId()const
@@ -55,7 +57,7 @@ std::string CreateRouterInterfaceRequest::getOppositeAccessPointId()const
void CreateRouterInterfaceRequest::setOppositeAccessPointId(const std::string& oppositeAccessPointId)
{
oppositeAccessPointId_ = oppositeAccessPointId;
setCoreParameter("OppositeAccessPointId", oppositeAccessPointId);
setParameter("OppositeAccessPointId", oppositeAccessPointId);
}
long CreateRouterInterfaceRequest::getResourceOwnerId()const
@@ -66,7 +68,7 @@ long CreateRouterInterfaceRequest::getResourceOwnerId()const
void CreateRouterInterfaceRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateRouterInterfaceRequest::getRole()const
@@ -77,7 +79,7 @@ std::string CreateRouterInterfaceRequest::getRole()const
void CreateRouterInterfaceRequest::setRole(const std::string& role)
{
role_ = role;
setCoreParameter("Role", role);
setParameter("Role", role);
}
std::string CreateRouterInterfaceRequest::getClientToken()const
@@ -88,7 +90,7 @@ std::string CreateRouterInterfaceRequest::getClientToken()const
void CreateRouterInterfaceRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreateRouterInterfaceRequest::getHealthCheckTargetIp()const
@@ -99,7 +101,7 @@ std::string CreateRouterInterfaceRequest::getHealthCheckTargetIp()const
void CreateRouterInterfaceRequest::setHealthCheckTargetIp(const std::string& healthCheckTargetIp)
{
healthCheckTargetIp_ = healthCheckTargetIp;
setCoreParameter("HealthCheckTargetIp", healthCheckTargetIp);
setParameter("HealthCheckTargetIp", healthCheckTargetIp);
}
std::string CreateRouterInterfaceRequest::getDescription()const
@@ -110,7 +112,7 @@ std::string CreateRouterInterfaceRequest::getDescription()const
void CreateRouterInterfaceRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
setParameter("Description", description);
}
std::string CreateRouterInterfaceRequest::getSpec()const
@@ -121,7 +123,7 @@ std::string CreateRouterInterfaceRequest::getSpec()const
void CreateRouterInterfaceRequest::setSpec(const std::string& spec)
{
spec_ = spec;
setCoreParameter("Spec", spec);
setParameter("Spec", spec);
}
std::string CreateRouterInterfaceRequest::getRegionId()const
@@ -132,7 +134,7 @@ std::string CreateRouterInterfaceRequest::getRegionId()const
void CreateRouterInterfaceRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateRouterInterfaceRequest::getOppositeInterfaceId()const
@@ -143,7 +145,7 @@ std::string CreateRouterInterfaceRequest::getOppositeInterfaceId()const
void CreateRouterInterfaceRequest::setOppositeInterfaceId(const std::string& oppositeInterfaceId)
{
oppositeInterfaceId_ = oppositeInterfaceId;
setCoreParameter("OppositeInterfaceId", oppositeInterfaceId);
setParameter("OppositeInterfaceId", oppositeInterfaceId);
}
std::string CreateRouterInterfaceRequest::getInstanceChargeType()const
@@ -154,7 +156,7 @@ std::string CreateRouterInterfaceRequest::getInstanceChargeType()const
void CreateRouterInterfaceRequest::setInstanceChargeType(const std::string& instanceChargeType)
{
instanceChargeType_ = instanceChargeType;
setCoreParameter("InstanceChargeType", instanceChargeType);
setParameter("InstanceChargeType", instanceChargeType);
}
int CreateRouterInterfaceRequest::getPeriod()const
@@ -165,7 +167,7 @@ int CreateRouterInterfaceRequest::getPeriod()const
void CreateRouterInterfaceRequest::setPeriod(int period)
{
period_ = period;
setCoreParameter("Period", std::to_string(period));
setParameter("Period", std::to_string(period));
}
bool CreateRouterInterfaceRequest::getAutoPay()const
@@ -176,7 +178,7 @@ bool CreateRouterInterfaceRequest::getAutoPay()const
void CreateRouterInterfaceRequest::setAutoPay(bool autoPay)
{
autoPay_ = autoPay;
setCoreParameter("AutoPay", autoPay ? "true" : "false");
setParameter("AutoPay", autoPay ? "true" : "false");
}
std::string CreateRouterInterfaceRequest::getResourceOwnerAccount()const
@@ -187,7 +189,7 @@ std::string CreateRouterInterfaceRequest::getResourceOwnerAccount()const
void CreateRouterInterfaceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateRouterInterfaceRequest::getOppositeRegionId()const
@@ -198,7 +200,7 @@ std::string CreateRouterInterfaceRequest::getOppositeRegionId()const
void CreateRouterInterfaceRequest::setOppositeRegionId(const std::string& oppositeRegionId)
{
oppositeRegionId_ = oppositeRegionId;
setCoreParameter("OppositeRegionId", oppositeRegionId);
setParameter("OppositeRegionId", oppositeRegionId);
}
std::string CreateRouterInterfaceRequest::getOwnerAccount()const
@@ -209,7 +211,7 @@ std::string CreateRouterInterfaceRequest::getOwnerAccount()const
void CreateRouterInterfaceRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreateRouterInterfaceRequest::getOwnerId()const
@@ -220,7 +222,7 @@ long CreateRouterInterfaceRequest::getOwnerId()const
void CreateRouterInterfaceRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateRouterInterfaceRequest::getOppositeInterfaceOwnerId()const
@@ -231,7 +233,7 @@ std::string CreateRouterInterfaceRequest::getOppositeInterfaceOwnerId()const
void CreateRouterInterfaceRequest::setOppositeInterfaceOwnerId(const std::string& oppositeInterfaceOwnerId)
{
oppositeInterfaceOwnerId_ = oppositeInterfaceOwnerId;
setCoreParameter("OppositeInterfaceOwnerId", oppositeInterfaceOwnerId);
setParameter("OppositeInterfaceOwnerId", oppositeInterfaceOwnerId);
}
std::string CreateRouterInterfaceRequest::getRouterType()const
@@ -242,7 +244,7 @@ std::string CreateRouterInterfaceRequest::getRouterType()const
void CreateRouterInterfaceRequest::setRouterType(const std::string& routerType)
{
routerType_ = routerType;
setCoreParameter("RouterType", routerType);
setParameter("RouterType", routerType);
}
std::string CreateRouterInterfaceRequest::getHealthCheckSourceIp()const
@@ -253,7 +255,7 @@ std::string CreateRouterInterfaceRequest::getHealthCheckSourceIp()const
void CreateRouterInterfaceRequest::setHealthCheckSourceIp(const std::string& healthCheckSourceIp)
{
healthCheckSourceIp_ = healthCheckSourceIp;
setCoreParameter("HealthCheckSourceIp", healthCheckSourceIp);
setParameter("HealthCheckSourceIp", healthCheckSourceIp);
}
std::string CreateRouterInterfaceRequest::getRouterId()const
@@ -264,7 +266,7 @@ std::string CreateRouterInterfaceRequest::getRouterId()const
void CreateRouterInterfaceRequest::setRouterId(const std::string& routerId)
{
routerId_ = routerId;
setCoreParameter("RouterId", routerId);
setParameter("RouterId", routerId);
}
std::string CreateRouterInterfaceRequest::getOppositeRouterType()const
@@ -275,7 +277,7 @@ std::string CreateRouterInterfaceRequest::getOppositeRouterType()const
void CreateRouterInterfaceRequest::setOppositeRouterType(const std::string& oppositeRouterType)
{
oppositeRouterType_ = oppositeRouterType;
setCoreParameter("OppositeRouterType", oppositeRouterType);
setParameter("OppositeRouterType", oppositeRouterType);
}
std::string CreateRouterInterfaceRequest::getName()const
@@ -286,7 +288,7 @@ std::string CreateRouterInterfaceRequest::getName()const
void CreateRouterInterfaceRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
setParameter("Name", name);
}
std::string CreateRouterInterfaceRequest::getPricingCycle()const
@@ -297,6 +299,6 @@ std::string CreateRouterInterfaceRequest::getPricingCycle()const
void CreateRouterInterfaceRequest::setPricingCycle(const std::string& pricingCycle)
{
pricingCycle_ = pricingCycle;
setCoreParameter("PricingCycle", pricingCycle);
setParameter("PricingCycle", pricingCycle);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateSnatEntryRequest;
CreateSnatEntryRequest::CreateSnatEntryRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateSnatEntry")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateSnatEntryRequest::~CreateSnatEntryRequest()
{}
@@ -33,7 +35,18 @@ long CreateSnatEntryRequest::getResourceOwnerId()const
void CreateSnatEntryRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateSnatEntryRequest::getClientToken()const
{
return clientToken_;
}
void CreateSnatEntryRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
std::string CreateSnatEntryRequest::getSourceCIDR()const
@@ -44,7 +57,7 @@ std::string CreateSnatEntryRequest::getSourceCIDR()const
void CreateSnatEntryRequest::setSourceCIDR(const std::string& sourceCIDR)
{
sourceCIDR_ = sourceCIDR;
setCoreParameter("SourceCIDR", sourceCIDR);
setParameter("SourceCIDR", sourceCIDR);
}
std::string CreateSnatEntryRequest::getSnatIp()const
@@ -55,7 +68,7 @@ std::string CreateSnatEntryRequest::getSnatIp()const
void CreateSnatEntryRequest::setSnatIp(const std::string& snatIp)
{
snatIp_ = snatIp;
setCoreParameter("SnatIp", snatIp);
setParameter("SnatIp", snatIp);
}
std::string CreateSnatEntryRequest::getSourceVSwitchId()const
@@ -66,7 +79,7 @@ std::string CreateSnatEntryRequest::getSourceVSwitchId()const
void CreateSnatEntryRequest::setSourceVSwitchId(const std::string& sourceVSwitchId)
{
sourceVSwitchId_ = sourceVSwitchId;
setCoreParameter("SourceVSwitchId", sourceVSwitchId);
setParameter("SourceVSwitchId", sourceVSwitchId);
}
std::string CreateSnatEntryRequest::getRegionId()const
@@ -77,7 +90,7 @@ std::string CreateSnatEntryRequest::getRegionId()const
void CreateSnatEntryRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateSnatEntryRequest::getResourceOwnerAccount()const
@@ -88,7 +101,7 @@ std::string CreateSnatEntryRequest::getResourceOwnerAccount()const
void CreateSnatEntryRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateSnatEntryRequest::getOwnerAccount()const
@@ -99,7 +112,7 @@ std::string CreateSnatEntryRequest::getOwnerAccount()const
void CreateSnatEntryRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
std::string CreateSnatEntryRequest::getSnatTableId()const
@@ -110,7 +123,7 @@ std::string CreateSnatEntryRequest::getSnatTableId()const
void CreateSnatEntryRequest::setSnatTableId(const std::string& snatTableId)
{
snatTableId_ = snatTableId;
setCoreParameter("SnatTableId", snatTableId);
setParameter("SnatTableId", snatTableId);
}
long CreateSnatEntryRequest::getOwnerId()const
@@ -121,7 +134,7 @@ long CreateSnatEntryRequest::getOwnerId()const
void CreateSnatEntryRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateSnatEntryRequest::getSnatEntryName()const
@@ -132,6 +145,6 @@ std::string CreateSnatEntryRequest::getSnatEntryName()const
void CreateSnatEntryRequest::setSnatEntryName(const std::string& snatEntryName)
{
snatEntryName_ = snatEntryName;
setCoreParameter("SnatEntryName", snatEntryName);
setParameter("SnatEntryName", snatEntryName);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateSslVpnClientCertRequest;
CreateSslVpnClientCertRequest::CreateSslVpnClientCertRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateSslVpnClientCert")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateSslVpnClientCertRequest::~CreateSslVpnClientCertRequest()
{}
@@ -33,7 +35,7 @@ long CreateSslVpnClientCertRequest::getResourceOwnerId()const
void CreateSslVpnClientCertRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateSslVpnClientCertRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string CreateSslVpnClientCertRequest::getClientToken()const
void CreateSslVpnClientCertRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreateSslVpnClientCertRequest::getSslVpnServerId()const
@@ -55,7 +57,7 @@ std::string CreateSslVpnClientCertRequest::getSslVpnServerId()const
void CreateSslVpnClientCertRequest::setSslVpnServerId(const std::string& sslVpnServerId)
{
sslVpnServerId_ = sslVpnServerId;
setCoreParameter("SslVpnServerId", sslVpnServerId);
setParameter("SslVpnServerId", sslVpnServerId);
}
std::string CreateSslVpnClientCertRequest::getRegionId()const
@@ -66,7 +68,7 @@ std::string CreateSslVpnClientCertRequest::getRegionId()const
void CreateSslVpnClientCertRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateSslVpnClientCertRequest::getResourceOwnerAccount()const
@@ -77,7 +79,7 @@ std::string CreateSslVpnClientCertRequest::getResourceOwnerAccount()const
void CreateSslVpnClientCertRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateSslVpnClientCertRequest::getOwnerAccount()const
@@ -88,7 +90,7 @@ std::string CreateSslVpnClientCertRequest::getOwnerAccount()const
void CreateSslVpnClientCertRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreateSslVpnClientCertRequest::getOwnerId()const
@@ -99,7 +101,7 @@ long CreateSslVpnClientCertRequest::getOwnerId()const
void CreateSslVpnClientCertRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateSslVpnClientCertRequest::getName()const
@@ -110,6 +112,6 @@ std::string CreateSslVpnClientCertRequest::getName()const
void CreateSslVpnClientCertRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
setParameter("Name", name);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateSslVpnServerRequest;
CreateSslVpnServerRequest::CreateSslVpnServerRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateSslVpnServer")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateSslVpnServerRequest::~CreateSslVpnServerRequest()
{}
@@ -33,7 +35,7 @@ long CreateSslVpnServerRequest::getResourceOwnerId()const
void CreateSslVpnServerRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateSslVpnServerRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string CreateSslVpnServerRequest::getClientToken()const
void CreateSslVpnServerRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreateSslVpnServerRequest::getLocalSubnet()const
@@ -55,7 +57,7 @@ std::string CreateSslVpnServerRequest::getLocalSubnet()const
void CreateSslVpnServerRequest::setLocalSubnet(const std::string& localSubnet)
{
localSubnet_ = localSubnet;
setCoreParameter("LocalSubnet", localSubnet);
setParameter("LocalSubnet", localSubnet);
}
std::string CreateSslVpnServerRequest::getRegionId()const
@@ -66,7 +68,29 @@ std::string CreateSslVpnServerRequest::getRegionId()const
void CreateSslVpnServerRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
bool CreateSslVpnServerRequest::getEnableMultiFactorAuth()const
{
return enableMultiFactorAuth_;
}
void CreateSslVpnServerRequest::setEnableMultiFactorAuth(bool enableMultiFactorAuth)
{
enableMultiFactorAuth_ = enableMultiFactorAuth;
setParameter("EnableMultiFactorAuth", enableMultiFactorAuth ? "true" : "false");
}
std::string CreateSslVpnServerRequest::getIDaaSInstanceId()const
{
return iDaaSInstanceId_;
}
void CreateSslVpnServerRequest::setIDaaSInstanceId(const std::string& iDaaSInstanceId)
{
iDaaSInstanceId_ = iDaaSInstanceId;
setParameter("IDaaSInstanceId", iDaaSInstanceId);
}
std::string CreateSslVpnServerRequest::getCipher()const
@@ -77,7 +101,7 @@ std::string CreateSslVpnServerRequest::getCipher()const
void CreateSslVpnServerRequest::setCipher(const std::string& cipher)
{
cipher_ = cipher;
setCoreParameter("Cipher", cipher);
setParameter("Cipher", cipher);
}
std::string CreateSslVpnServerRequest::getClientIpPool()const
@@ -88,7 +112,7 @@ std::string CreateSslVpnServerRequest::getClientIpPool()const
void CreateSslVpnServerRequest::setClientIpPool(const std::string& clientIpPool)
{
clientIpPool_ = clientIpPool;
setCoreParameter("ClientIpPool", clientIpPool);
setParameter("ClientIpPool", clientIpPool);
}
std::string CreateSslVpnServerRequest::getResourceOwnerAccount()const
@@ -99,7 +123,7 @@ std::string CreateSslVpnServerRequest::getResourceOwnerAccount()const
void CreateSslVpnServerRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
bool CreateSslVpnServerRequest::getCompress()const
@@ -110,7 +134,7 @@ bool CreateSslVpnServerRequest::getCompress()const
void CreateSslVpnServerRequest::setCompress(bool compress)
{
compress_ = compress;
setCoreParameter("Compress", compress ? "true" : "false");
setParameter("Compress", compress ? "true" : "false");
}
std::string CreateSslVpnServerRequest::getOwnerAccount()const
@@ -121,7 +145,7 @@ std::string CreateSslVpnServerRequest::getOwnerAccount()const
void CreateSslVpnServerRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
std::string CreateSslVpnServerRequest::getVpnGatewayId()const
@@ -132,7 +156,7 @@ std::string CreateSslVpnServerRequest::getVpnGatewayId()const
void CreateSslVpnServerRequest::setVpnGatewayId(const std::string& vpnGatewayId)
{
vpnGatewayId_ = vpnGatewayId;
setCoreParameter("VpnGatewayId", vpnGatewayId);
setParameter("VpnGatewayId", vpnGatewayId);
}
long CreateSslVpnServerRequest::getOwnerId()const
@@ -143,7 +167,7 @@ long CreateSslVpnServerRequest::getOwnerId()const
void CreateSslVpnServerRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
int CreateSslVpnServerRequest::getPort()const
@@ -154,7 +178,7 @@ int CreateSslVpnServerRequest::getPort()const
void CreateSslVpnServerRequest::setPort(int port)
{
port_ = port;
setCoreParameter("Port", std::to_string(port));
setParameter("Port", std::to_string(port));
}
std::string CreateSslVpnServerRequest::getProto()const
@@ -165,7 +189,7 @@ std::string CreateSslVpnServerRequest::getProto()const
void CreateSslVpnServerRequest::setProto(const std::string& proto)
{
proto_ = proto;
setCoreParameter("Proto", proto);
setParameter("Proto", proto);
}
std::string CreateSslVpnServerRequest::getName()const
@@ -176,6 +200,6 @@ std::string CreateSslVpnServerRequest::getName()const
void CreateSslVpnServerRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
setParameter("Name", name);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateVSwitchRequest;
CreateVSwitchRequest::CreateVSwitchRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateVSwitch")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateVSwitchRequest::~CreateVSwitchRequest()
{}
@@ -33,7 +35,7 @@ long CreateVSwitchRequest::getResourceOwnerId()const
void CreateVSwitchRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateVSwitchRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string CreateVSwitchRequest::getClientToken()const
void CreateVSwitchRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreateVSwitchRequest::getDescription()const
@@ -55,7 +57,7 @@ std::string CreateVSwitchRequest::getDescription()const
void CreateVSwitchRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
setParameter("Description", description);
}
std::string CreateVSwitchRequest::getRegionId()const
@@ -66,7 +68,7 @@ std::string CreateVSwitchRequest::getRegionId()const
void CreateVSwitchRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateVSwitchRequest::getResourceOwnerAccount()const
@@ -77,7 +79,7 @@ std::string CreateVSwitchRequest::getResourceOwnerAccount()const
void CreateVSwitchRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateVSwitchRequest::getOwnerAccount()const
@@ -88,7 +90,7 @@ std::string CreateVSwitchRequest::getOwnerAccount()const
void CreateVSwitchRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreateVSwitchRequest::getOwnerId()const
@@ -99,7 +101,7 @@ long CreateVSwitchRequest::getOwnerId()const
void CreateVSwitchRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
int CreateVSwitchRequest::getIpv6CidrBlock()const
@@ -110,7 +112,7 @@ int CreateVSwitchRequest::getIpv6CidrBlock()const
void CreateVSwitchRequest::setIpv6CidrBlock(int ipv6CidrBlock)
{
ipv6CidrBlock_ = ipv6CidrBlock;
setCoreParameter("Ipv6CidrBlock", std::to_string(ipv6CidrBlock));
setParameter("Ipv6CidrBlock", std::to_string(ipv6CidrBlock));
}
std::string CreateVSwitchRequest::getVpcId()const
@@ -121,7 +123,7 @@ std::string CreateVSwitchRequest::getVpcId()const
void CreateVSwitchRequest::setVpcId(const std::string& vpcId)
{
vpcId_ = vpcId;
setCoreParameter("VpcId", vpcId);
setParameter("VpcId", vpcId);
}
std::string CreateVSwitchRequest::getVSwitchName()const
@@ -132,7 +134,7 @@ std::string CreateVSwitchRequest::getVSwitchName()const
void CreateVSwitchRequest::setVSwitchName(const std::string& vSwitchName)
{
vSwitchName_ = vSwitchName;
setCoreParameter("VSwitchName", vSwitchName);
setParameter("VSwitchName", vSwitchName);
}
std::string CreateVSwitchRequest::getCidrBlock()const
@@ -143,7 +145,7 @@ std::string CreateVSwitchRequest::getCidrBlock()const
void CreateVSwitchRequest::setCidrBlock(const std::string& cidrBlock)
{
cidrBlock_ = cidrBlock;
setCoreParameter("CidrBlock", cidrBlock);
setParameter("CidrBlock", cidrBlock);
}
std::string CreateVSwitchRequest::getZoneId()const
@@ -154,6 +156,6 @@ std::string CreateVSwitchRequest::getZoneId()const
void CreateVSwitchRequest::setZoneId(const std::string& zoneId)
{
zoneId_ = zoneId;
setCoreParameter("ZoneId", zoneId);
setParameter("ZoneId", zoneId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateVirtualBorderRouterRequest;
CreateVirtualBorderRouterRequest::CreateVirtualBorderRouterRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateVirtualBorderRouter")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateVirtualBorderRouterRequest::~CreateVirtualBorderRouterRequest()
{}
@@ -33,7 +35,7 @@ long CreateVirtualBorderRouterRequest::getResourceOwnerId()const
void CreateVirtualBorderRouterRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateVirtualBorderRouterRequest::getCircuitCode()const
@@ -44,7 +46,7 @@ std::string CreateVirtualBorderRouterRequest::getCircuitCode()const
void CreateVirtualBorderRouterRequest::setCircuitCode(const std::string& circuitCode)
{
circuitCode_ = circuitCode;
setCoreParameter("CircuitCode", circuitCode);
setParameter("CircuitCode", circuitCode);
}
int CreateVirtualBorderRouterRequest::getVlanId()const
@@ -55,7 +57,7 @@ int CreateVirtualBorderRouterRequest::getVlanId()const
void CreateVirtualBorderRouterRequest::setVlanId(int vlanId)
{
vlanId_ = vlanId;
setCoreParameter("VlanId", std::to_string(vlanId));
setParameter("VlanId", std::to_string(vlanId));
}
std::string CreateVirtualBorderRouterRequest::getClientToken()const
@@ -66,7 +68,7 @@ std::string CreateVirtualBorderRouterRequest::getClientToken()const
void CreateVirtualBorderRouterRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreateVirtualBorderRouterRequest::getDescription()const
@@ -77,7 +79,7 @@ std::string CreateVirtualBorderRouterRequest::getDescription()const
void CreateVirtualBorderRouterRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
setParameter("Description", description);
}
std::string CreateVirtualBorderRouterRequest::getPeerGatewayIp()const
@@ -88,7 +90,7 @@ std::string CreateVirtualBorderRouterRequest::getPeerGatewayIp()const
void CreateVirtualBorderRouterRequest::setPeerGatewayIp(const std::string& peerGatewayIp)
{
peerGatewayIp_ = peerGatewayIp;
setCoreParameter("PeerGatewayIp", peerGatewayIp);
setParameter("PeerGatewayIp", peerGatewayIp);
}
std::string CreateVirtualBorderRouterRequest::getPeeringSubnetMask()const
@@ -99,7 +101,7 @@ std::string CreateVirtualBorderRouterRequest::getPeeringSubnetMask()const
void CreateVirtualBorderRouterRequest::setPeeringSubnetMask(const std::string& peeringSubnetMask)
{
peeringSubnetMask_ = peeringSubnetMask;
setCoreParameter("PeeringSubnetMask", peeringSubnetMask);
setParameter("PeeringSubnetMask", peeringSubnetMask);
}
std::string CreateVirtualBorderRouterRequest::getRegionId()const
@@ -110,7 +112,7 @@ std::string CreateVirtualBorderRouterRequest::getRegionId()const
void CreateVirtualBorderRouterRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateVirtualBorderRouterRequest::getLocalGatewayIp()const
@@ -121,7 +123,7 @@ std::string CreateVirtualBorderRouterRequest::getLocalGatewayIp()const
void CreateVirtualBorderRouterRequest::setLocalGatewayIp(const std::string& localGatewayIp)
{
localGatewayIp_ = localGatewayIp;
setCoreParameter("LocalGatewayIp", localGatewayIp);
setParameter("LocalGatewayIp", localGatewayIp);
}
std::string CreateVirtualBorderRouterRequest::getResourceOwnerAccount()const
@@ -132,7 +134,7 @@ std::string CreateVirtualBorderRouterRequest::getResourceOwnerAccount()const
void CreateVirtualBorderRouterRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateVirtualBorderRouterRequest::getOwnerAccount()const
@@ -143,7 +145,7 @@ std::string CreateVirtualBorderRouterRequest::getOwnerAccount()const
void CreateVirtualBorderRouterRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreateVirtualBorderRouterRequest::getOwnerId()const
@@ -154,7 +156,7 @@ long CreateVirtualBorderRouterRequest::getOwnerId()const
void CreateVirtualBorderRouterRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateVirtualBorderRouterRequest::getPhysicalConnectionId()const
@@ -165,7 +167,7 @@ std::string CreateVirtualBorderRouterRequest::getPhysicalConnectionId()const
void CreateVirtualBorderRouterRequest::setPhysicalConnectionId(const std::string& physicalConnectionId)
{
physicalConnectionId_ = physicalConnectionId;
setCoreParameter("PhysicalConnectionId", physicalConnectionId);
setParameter("PhysicalConnectionId", physicalConnectionId);
}
std::string CreateVirtualBorderRouterRequest::getName()const
@@ -176,7 +178,7 @@ std::string CreateVirtualBorderRouterRequest::getName()const
void CreateVirtualBorderRouterRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
setParameter("Name", name);
}
long CreateVirtualBorderRouterRequest::getVbrOwnerId()const
@@ -187,6 +189,6 @@ long CreateVirtualBorderRouterRequest::getVbrOwnerId()const
void CreateVirtualBorderRouterRequest::setVbrOwnerId(long vbrOwnerId)
{
vbrOwnerId_ = vbrOwnerId;
setCoreParameter("VbrOwnerId", std::to_string(vbrOwnerId));
setParameter("VbrOwnerId", std::to_string(vbrOwnerId));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateVpcRequest;
CreateVpcRequest::CreateVpcRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateVpc")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateVpcRequest::~CreateVpcRequest()
{}
@@ -33,7 +35,7 @@ long CreateVpcRequest::getResourceOwnerId()const
void CreateVpcRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateVpcRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string CreateVpcRequest::getClientToken()const
void CreateVpcRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
bool CreateVpcRequest::getEnableIpv6()const
@@ -55,7 +57,7 @@ bool CreateVpcRequest::getEnableIpv6()const
void CreateVpcRequest::setEnableIpv6(bool enableIpv6)
{
enableIpv6_ = enableIpv6;
setCoreParameter("EnableIpv6", enableIpv6 ? "true" : "false");
setParameter("EnableIpv6", enableIpv6 ? "true" : "false");
}
std::string CreateVpcRequest::getDescription()const
@@ -66,7 +68,7 @@ std::string CreateVpcRequest::getDescription()const
void CreateVpcRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
setParameter("Description", description);
}
std::string CreateVpcRequest::getVpcName()const
@@ -77,7 +79,7 @@ std::string CreateVpcRequest::getVpcName()const
void CreateVpcRequest::setVpcName(const std::string& vpcName)
{
vpcName_ = vpcName;
setCoreParameter("VpcName", vpcName);
setParameter("VpcName", vpcName);
}
std::string CreateVpcRequest::getResourceGroupId()const
@@ -88,7 +90,7 @@ std::string CreateVpcRequest::getResourceGroupId()const
void CreateVpcRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setCoreParameter("ResourceGroupId", resourceGroupId);
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateVpcRequest::getRegionId()const
@@ -99,7 +101,7 @@ std::string CreateVpcRequest::getRegionId()const
void CreateVpcRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateVpcRequest::getUserCidr()const
@@ -110,7 +112,7 @@ std::string CreateVpcRequest::getUserCidr()const
void CreateVpcRequest::setUserCidr(const std::string& userCidr)
{
userCidr_ = userCidr;
setCoreParameter("UserCidr", userCidr);
setParameter("UserCidr", userCidr);
}
bool CreateVpcRequest::getDryRun()const
@@ -121,7 +123,7 @@ bool CreateVpcRequest::getDryRun()const
void CreateVpcRequest::setDryRun(bool dryRun)
{
dryRun_ = dryRun;
setCoreParameter("DryRun", dryRun ? "true" : "false");
setParameter("DryRun", dryRun ? "true" : "false");
}
std::string CreateVpcRequest::getResourceOwnerAccount()const
@@ -132,7 +134,7 @@ std::string CreateVpcRequest::getResourceOwnerAccount()const
void CreateVpcRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateVpcRequest::getOwnerAccount()const
@@ -143,7 +145,7 @@ std::string CreateVpcRequest::getOwnerAccount()const
void CreateVpcRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreateVpcRequest::getOwnerId()const
@@ -154,7 +156,7 @@ long CreateVpcRequest::getOwnerId()const
void CreateVpcRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateVpcRequest::getIpv6CidrBlock()const
@@ -165,7 +167,7 @@ std::string CreateVpcRequest::getIpv6CidrBlock()const
void CreateVpcRequest::setIpv6CidrBlock(const std::string& ipv6CidrBlock)
{
ipv6CidrBlock_ = ipv6CidrBlock;
setCoreParameter("Ipv6CidrBlock", ipv6CidrBlock);
setParameter("Ipv6CidrBlock", ipv6CidrBlock);
}
std::string CreateVpcRequest::getCidrBlock()const
@@ -176,6 +178,6 @@ std::string CreateVpcRequest::getCidrBlock()const
void CreateVpcRequest::setCidrBlock(const std::string& cidrBlock)
{
cidrBlock_ = cidrBlock;
setCoreParameter("CidrBlock", cidrBlock);
setParameter("CidrBlock", cidrBlock);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateVpnConnectionRequest;
CreateVpnConnectionRequest::CreateVpnConnectionRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateVpnConnection")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateVpnConnectionRequest::~CreateVpnConnectionRequest()
{}
@@ -33,7 +35,7 @@ std::string CreateVpnConnectionRequest::getIkeConfig()const
void CreateVpnConnectionRequest::setIkeConfig(const std::string& ikeConfig)
{
ikeConfig_ = ikeConfig;
setCoreParameter("IkeConfig", ikeConfig);
setParameter("IkeConfig", ikeConfig);
}
long CreateVpnConnectionRequest::getResourceOwnerId()const
@@ -44,7 +46,7 @@ long CreateVpnConnectionRequest::getResourceOwnerId()const
void CreateVpnConnectionRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
bool CreateVpnConnectionRequest::getAutoConfigRoute()const
@@ -55,7 +57,7 @@ bool CreateVpnConnectionRequest::getAutoConfigRoute()const
void CreateVpnConnectionRequest::setAutoConfigRoute(bool autoConfigRoute)
{
autoConfigRoute_ = autoConfigRoute;
setCoreParameter("AutoConfigRoute", autoConfigRoute ? "true" : "false");
setParameter("AutoConfigRoute", autoConfigRoute ? "true" : "false");
}
std::string CreateVpnConnectionRequest::getClientToken()const
@@ -66,7 +68,7 @@ std::string CreateVpnConnectionRequest::getClientToken()const
void CreateVpnConnectionRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreateVpnConnectionRequest::getIpsecConfig()const
@@ -77,7 +79,7 @@ std::string CreateVpnConnectionRequest::getIpsecConfig()const
void CreateVpnConnectionRequest::setIpsecConfig(const std::string& ipsecConfig)
{
ipsecConfig_ = ipsecConfig;
setCoreParameter("IpsecConfig", ipsecConfig);
setParameter("IpsecConfig", ipsecConfig);
}
std::string CreateVpnConnectionRequest::getHealthCheckConfig()const
@@ -88,7 +90,7 @@ std::string CreateVpnConnectionRequest::getHealthCheckConfig()const
void CreateVpnConnectionRequest::setHealthCheckConfig(const std::string& healthCheckConfig)
{
healthCheckConfig_ = healthCheckConfig;
setCoreParameter("HealthCheckConfig", healthCheckConfig);
setParameter("HealthCheckConfig", healthCheckConfig);
}
std::string CreateVpnConnectionRequest::getCustomerGatewayId()const
@@ -99,7 +101,7 @@ std::string CreateVpnConnectionRequest::getCustomerGatewayId()const
void CreateVpnConnectionRequest::setCustomerGatewayId(const std::string& customerGatewayId)
{
customerGatewayId_ = customerGatewayId;
setCoreParameter("CustomerGatewayId", customerGatewayId);
setParameter("CustomerGatewayId", customerGatewayId);
}
std::string CreateVpnConnectionRequest::getLocalSubnet()const
@@ -110,7 +112,7 @@ std::string CreateVpnConnectionRequest::getLocalSubnet()const
void CreateVpnConnectionRequest::setLocalSubnet(const std::string& localSubnet)
{
localSubnet_ = localSubnet;
setCoreParameter("LocalSubnet", localSubnet);
setParameter("LocalSubnet", localSubnet);
}
std::string CreateVpnConnectionRequest::getRegionId()const
@@ -121,7 +123,7 @@ std::string CreateVpnConnectionRequest::getRegionId()const
void CreateVpnConnectionRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateVpnConnectionRequest::getRemoteSubnet()const
@@ -132,7 +134,7 @@ std::string CreateVpnConnectionRequest::getRemoteSubnet()const
void CreateVpnConnectionRequest::setRemoteSubnet(const std::string& remoteSubnet)
{
remoteSubnet_ = remoteSubnet;
setCoreParameter("RemoteSubnet", remoteSubnet);
setParameter("RemoteSubnet", remoteSubnet);
}
bool CreateVpnConnectionRequest::getEffectImmediately()const
@@ -143,7 +145,7 @@ bool CreateVpnConnectionRequest::getEffectImmediately()const
void CreateVpnConnectionRequest::setEffectImmediately(bool effectImmediately)
{
effectImmediately_ = effectImmediately;
setCoreParameter("EffectImmediately", effectImmediately ? "true" : "false");
setParameter("EffectImmediately", effectImmediately ? "true" : "false");
}
std::string CreateVpnConnectionRequest::getResourceOwnerAccount()const
@@ -154,7 +156,7 @@ std::string CreateVpnConnectionRequest::getResourceOwnerAccount()const
void CreateVpnConnectionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateVpnConnectionRequest::getOwnerAccount()const
@@ -165,7 +167,7 @@ std::string CreateVpnConnectionRequest::getOwnerAccount()const
void CreateVpnConnectionRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
std::string CreateVpnConnectionRequest::getVpnGatewayId()const
@@ -176,7 +178,7 @@ std::string CreateVpnConnectionRequest::getVpnGatewayId()const
void CreateVpnConnectionRequest::setVpnGatewayId(const std::string& vpnGatewayId)
{
vpnGatewayId_ = vpnGatewayId;
setCoreParameter("VpnGatewayId", vpnGatewayId);
setParameter("VpnGatewayId", vpnGatewayId);
}
long CreateVpnConnectionRequest::getOwnerId()const
@@ -187,7 +189,18 @@ long CreateVpnConnectionRequest::getOwnerId()const
void CreateVpnConnectionRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
bool CreateVpnConnectionRequest::getEnableDpd()const
{
return enableDpd_;
}
void CreateVpnConnectionRequest::setEnableDpd(bool enableDpd)
{
enableDpd_ = enableDpd;
setParameter("EnableDpd", enableDpd ? "true" : "false");
}
std::string CreateVpnConnectionRequest::getName()const
@@ -198,6 +211,17 @@ std::string CreateVpnConnectionRequest::getName()const
void CreateVpnConnectionRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
setParameter("Name", name);
}
bool CreateVpnConnectionRequest::getEnableNatTraversal()const
{
return enableNatTraversal_;
}
void CreateVpnConnectionRequest::setEnableNatTraversal(bool enableNatTraversal)
{
enableNatTraversal_ = enableNatTraversal;
setParameter("EnableNatTraversal", enableNatTraversal ? "true" : "false");
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateVpnGatewayRequest;
CreateVpnGatewayRequest::CreateVpnGatewayRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateVpnGateway")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateVpnGatewayRequest::~CreateVpnGatewayRequest()
{}
@@ -33,7 +35,7 @@ long CreateVpnGatewayRequest::getResourceOwnerId()const
void CreateVpnGatewayRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
bool CreateVpnGatewayRequest::getEnableIpsec()const
@@ -44,7 +46,7 @@ bool CreateVpnGatewayRequest::getEnableIpsec()const
void CreateVpnGatewayRequest::setEnableIpsec(bool enableIpsec)
{
enableIpsec_ = enableIpsec;
setCoreParameter("EnableIpsec", enableIpsec ? "true" : "false");
setParameter("EnableIpsec", enableIpsec ? "true" : "false");
}
std::string CreateVpnGatewayRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string CreateVpnGatewayRequest::getRegionId()const
void CreateVpnGatewayRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateVpnGatewayRequest::getInstanceChargeType()const
@@ -66,7 +68,7 @@ std::string CreateVpnGatewayRequest::getInstanceChargeType()const
void CreateVpnGatewayRequest::setInstanceChargeType(const std::string& instanceChargeType)
{
instanceChargeType_ = instanceChargeType;
setCoreParameter("InstanceChargeType", instanceChargeType);
setParameter("InstanceChargeType", instanceChargeType);
}
int CreateVpnGatewayRequest::getPeriod()const
@@ -77,7 +79,7 @@ int CreateVpnGatewayRequest::getPeriod()const
void CreateVpnGatewayRequest::setPeriod(int period)
{
period_ = period;
setCoreParameter("Period", std::to_string(period));
setParameter("Period", std::to_string(period));
}
bool CreateVpnGatewayRequest::getAutoPay()const
@@ -88,7 +90,7 @@ bool CreateVpnGatewayRequest::getAutoPay()const
void CreateVpnGatewayRequest::setAutoPay(bool autoPay)
{
autoPay_ = autoPay;
setCoreParameter("AutoPay", autoPay ? "true" : "false");
setParameter("AutoPay", autoPay ? "true" : "false");
}
std::string CreateVpnGatewayRequest::getResourceOwnerAccount()const
@@ -99,7 +101,7 @@ std::string CreateVpnGatewayRequest::getResourceOwnerAccount()const
void CreateVpnGatewayRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
int CreateVpnGatewayRequest::getBandwidth()const
@@ -110,7 +112,7 @@ int CreateVpnGatewayRequest::getBandwidth()const
void CreateVpnGatewayRequest::setBandwidth(int bandwidth)
{
bandwidth_ = bandwidth;
setCoreParameter("Bandwidth", std::to_string(bandwidth));
setParameter("Bandwidth", std::to_string(bandwidth));
}
std::string CreateVpnGatewayRequest::getOwnerAccount()const
@@ -121,7 +123,7 @@ std::string CreateVpnGatewayRequest::getOwnerAccount()const
void CreateVpnGatewayRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long CreateVpnGatewayRequest::getOwnerId()const
@@ -132,7 +134,7 @@ long CreateVpnGatewayRequest::getOwnerId()const
void CreateVpnGatewayRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateVpnGatewayRequest::getVSwitchId()const
@@ -143,7 +145,7 @@ std::string CreateVpnGatewayRequest::getVSwitchId()const
void CreateVpnGatewayRequest::setVSwitchId(const std::string& vSwitchId)
{
vSwitchId_ = vSwitchId;
setCoreParameter("VSwitchId", vSwitchId);
setParameter("VSwitchId", vSwitchId);
}
bool CreateVpnGatewayRequest::getEnableSsl()const
@@ -154,7 +156,7 @@ bool CreateVpnGatewayRequest::getEnableSsl()const
void CreateVpnGatewayRequest::setEnableSsl(bool enableSsl)
{
enableSsl_ = enableSsl;
setCoreParameter("EnableSsl", enableSsl ? "true" : "false");
setParameter("EnableSsl", enableSsl ? "true" : "false");
}
int CreateVpnGatewayRequest::getSslConnections()const
@@ -165,7 +167,7 @@ int CreateVpnGatewayRequest::getSslConnections()const
void CreateVpnGatewayRequest::setSslConnections(int sslConnections)
{
sslConnections_ = sslConnections;
setCoreParameter("SslConnections", std::to_string(sslConnections));
setParameter("SslConnections", std::to_string(sslConnections));
}
std::string CreateVpnGatewayRequest::getVpcId()const
@@ -176,7 +178,7 @@ std::string CreateVpnGatewayRequest::getVpcId()const
void CreateVpnGatewayRequest::setVpcId(const std::string& vpcId)
{
vpcId_ = vpcId;
setCoreParameter("VpcId", vpcId);
setParameter("VpcId", vpcId);
}
std::string CreateVpnGatewayRequest::getName()const
@@ -187,6 +189,6 @@ std::string CreateVpnGatewayRequest::getName()const
void CreateVpnGatewayRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
setParameter("Name", name);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateVpnPbrRouteEntryRequest;
CreateVpnPbrRouteEntryRequest::CreateVpnPbrRouteEntryRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateVpnPbrRouteEntry")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateVpnPbrRouteEntryRequest::~CreateVpnPbrRouteEntryRequest()
{}
@@ -33,7 +35,7 @@ std::string CreateVpnPbrRouteEntryRequest::getRouteSource()const
void CreateVpnPbrRouteEntryRequest::setRouteSource(const std::string& routeSource)
{
routeSource_ = routeSource;
setCoreParameter("RouteSource", routeSource);
setParameter("RouteSource", routeSource);
}
long CreateVpnPbrRouteEntryRequest::getResourceOwnerId()const
@@ -44,7 +46,7 @@ long CreateVpnPbrRouteEntryRequest::getResourceOwnerId()const
void CreateVpnPbrRouteEntryRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateVpnPbrRouteEntryRequest::getClientToken()const
@@ -55,7 +57,7 @@ std::string CreateVpnPbrRouteEntryRequest::getClientToken()const
void CreateVpnPbrRouteEntryRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreateVpnPbrRouteEntryRequest::getDescription()const
@@ -66,7 +68,7 @@ std::string CreateVpnPbrRouteEntryRequest::getDescription()const
void CreateVpnPbrRouteEntryRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
setParameter("Description", description);
}
bool CreateVpnPbrRouteEntryRequest::getPublishVpc()const
@@ -77,7 +79,7 @@ bool CreateVpnPbrRouteEntryRequest::getPublishVpc()const
void CreateVpnPbrRouteEntryRequest::setPublishVpc(bool publishVpc)
{
publishVpc_ = publishVpc;
setCoreParameter("PublishVpc", publishVpc ? "true" : "false");
setParameter("PublishVpc", publishVpc ? "true" : "false");
}
std::string CreateVpnPbrRouteEntryRequest::getRegionId()const
@@ -88,7 +90,7 @@ std::string CreateVpnPbrRouteEntryRequest::getRegionId()const
void CreateVpnPbrRouteEntryRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateVpnPbrRouteEntryRequest::getResourceOwnerAccount()const
@@ -99,7 +101,7 @@ std::string CreateVpnPbrRouteEntryRequest::getResourceOwnerAccount()const
void CreateVpnPbrRouteEntryRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateVpnPbrRouteEntryRequest::getOwnerAccount()const
@@ -110,7 +112,7 @@ std::string CreateVpnPbrRouteEntryRequest::getOwnerAccount()const
void CreateVpnPbrRouteEntryRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
int CreateVpnPbrRouteEntryRequest::getWeight()const
@@ -121,7 +123,7 @@ int CreateVpnPbrRouteEntryRequest::getWeight()const
void CreateVpnPbrRouteEntryRequest::setWeight(int weight)
{
weight_ = weight;
setCoreParameter("Weight", std::to_string(weight));
setParameter("Weight", std::to_string(weight));
}
std::string CreateVpnPbrRouteEntryRequest::getVpnGatewayId()const
@@ -132,7 +134,7 @@ std::string CreateVpnPbrRouteEntryRequest::getVpnGatewayId()const
void CreateVpnPbrRouteEntryRequest::setVpnGatewayId(const std::string& vpnGatewayId)
{
vpnGatewayId_ = vpnGatewayId;
setCoreParameter("VpnGatewayId", vpnGatewayId);
setParameter("VpnGatewayId", vpnGatewayId);
}
long CreateVpnPbrRouteEntryRequest::getOwnerId()const
@@ -143,7 +145,7 @@ long CreateVpnPbrRouteEntryRequest::getOwnerId()const
void CreateVpnPbrRouteEntryRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateVpnPbrRouteEntryRequest::getRouteDest()const
@@ -154,7 +156,7 @@ std::string CreateVpnPbrRouteEntryRequest::getRouteDest()const
void CreateVpnPbrRouteEntryRequest::setRouteDest(const std::string& routeDest)
{
routeDest_ = routeDest;
setCoreParameter("RouteDest", routeDest);
setParameter("RouteDest", routeDest);
}
std::string CreateVpnPbrRouteEntryRequest::getNextHop()const
@@ -165,7 +167,7 @@ std::string CreateVpnPbrRouteEntryRequest::getNextHop()const
void CreateVpnPbrRouteEntryRequest::setNextHop(const std::string& nextHop)
{
nextHop_ = nextHop;
setCoreParameter("NextHop", nextHop);
setParameter("NextHop", nextHop);
}
std::string CreateVpnPbrRouteEntryRequest::getOverlayMode()const
@@ -176,6 +178,6 @@ std::string CreateVpnPbrRouteEntryRequest::getOverlayMode()const
void CreateVpnPbrRouteEntryRequest::setOverlayMode(const std::string& overlayMode)
{
overlayMode_ = overlayMode;
setCoreParameter("OverlayMode", overlayMode);
setParameter("OverlayMode", overlayMode);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::CreateVpnRouteEntryRequest;
CreateVpnRouteEntryRequest::CreateVpnRouteEntryRequest() :
RpcServiceRequest("vpc", "2016-04-28", "CreateVpnRouteEntry")
{}
{
setMethod(HttpRequest::Method::Post);
}
CreateVpnRouteEntryRequest::~CreateVpnRouteEntryRequest()
{}
@@ -33,7 +35,7 @@ long CreateVpnRouteEntryRequest::getResourceOwnerId()const
void CreateVpnRouteEntryRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateVpnRouteEntryRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string CreateVpnRouteEntryRequest::getClientToken()const
void CreateVpnRouteEntryRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string CreateVpnRouteEntryRequest::getDescription()const
@@ -55,7 +57,7 @@ std::string CreateVpnRouteEntryRequest::getDescription()const
void CreateVpnRouteEntryRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
setParameter("Description", description);
}
bool CreateVpnRouteEntryRequest::getPublishVpc()const
@@ -66,7 +68,7 @@ bool CreateVpnRouteEntryRequest::getPublishVpc()const
void CreateVpnRouteEntryRequest::setPublishVpc(bool publishVpc)
{
publishVpc_ = publishVpc;
setCoreParameter("PublishVpc", publishVpc ? "true" : "false");
setParameter("PublishVpc", publishVpc ? "true" : "false");
}
std::string CreateVpnRouteEntryRequest::getRegionId()const
@@ -77,7 +79,7 @@ std::string CreateVpnRouteEntryRequest::getRegionId()const
void CreateVpnRouteEntryRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string CreateVpnRouteEntryRequest::getResourceOwnerAccount()const
@@ -88,7 +90,7 @@ std::string CreateVpnRouteEntryRequest::getResourceOwnerAccount()const
void CreateVpnRouteEntryRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateVpnRouteEntryRequest::getOwnerAccount()const
@@ -99,7 +101,7 @@ std::string CreateVpnRouteEntryRequest::getOwnerAccount()const
void CreateVpnRouteEntryRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
int CreateVpnRouteEntryRequest::getWeight()const
@@ -110,7 +112,7 @@ int CreateVpnRouteEntryRequest::getWeight()const
void CreateVpnRouteEntryRequest::setWeight(int weight)
{
weight_ = weight;
setCoreParameter("Weight", std::to_string(weight));
setParameter("Weight", std::to_string(weight));
}
std::string CreateVpnRouteEntryRequest::getVpnGatewayId()const
@@ -121,7 +123,7 @@ std::string CreateVpnRouteEntryRequest::getVpnGatewayId()const
void CreateVpnRouteEntryRequest::setVpnGatewayId(const std::string& vpnGatewayId)
{
vpnGatewayId_ = vpnGatewayId;
setCoreParameter("VpnGatewayId", vpnGatewayId);
setParameter("VpnGatewayId", vpnGatewayId);
}
long CreateVpnRouteEntryRequest::getOwnerId()const
@@ -132,7 +134,7 @@ long CreateVpnRouteEntryRequest::getOwnerId()const
void CreateVpnRouteEntryRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateVpnRouteEntryRequest::getRouteDest()const
@@ -143,7 +145,7 @@ std::string CreateVpnRouteEntryRequest::getRouteDest()const
void CreateVpnRouteEntryRequest::setRouteDest(const std::string& routeDest)
{
routeDest_ = routeDest;
setCoreParameter("RouteDest", routeDest);
setParameter("RouteDest", routeDest);
}
std::string CreateVpnRouteEntryRequest::getNextHop()const
@@ -154,7 +156,7 @@ std::string CreateVpnRouteEntryRequest::getNextHop()const
void CreateVpnRouteEntryRequest::setNextHop(const std::string& nextHop)
{
nextHop_ = nextHop;
setCoreParameter("NextHop", nextHop);
setParameter("NextHop", nextHop);
}
std::string CreateVpnRouteEntryRequest::getOverlayMode()const
@@ -165,6 +167,6 @@ std::string CreateVpnRouteEntryRequest::getOverlayMode()const
void CreateVpnRouteEntryRequest::setOverlayMode(const std::string& overlayMode)
{
overlayMode_ = overlayMode;
setCoreParameter("OverlayMode", overlayMode);
setParameter("OverlayMode", overlayMode);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeactivateRouterInterfaceRequest;
DeactivateRouterInterfaceRequest::DeactivateRouterInterfaceRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeactivateRouterInterface")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeactivateRouterInterfaceRequest::~DeactivateRouterInterfaceRequest()
{}
@@ -33,7 +35,7 @@ long DeactivateRouterInterfaceRequest::getResourceOwnerId()const
void DeactivateRouterInterfaceRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeactivateRouterInterfaceRequest::getResourceOwnerAccount()const
@@ -44,7 +46,7 @@ std::string DeactivateRouterInterfaceRequest::getResourceOwnerAccount()const
void DeactivateRouterInterfaceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
long DeactivateRouterInterfaceRequest::getOwnerId()const
@@ -55,7 +57,7 @@ long DeactivateRouterInterfaceRequest::getOwnerId()const
void DeactivateRouterInterfaceRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeactivateRouterInterfaceRequest::getRouterInterfaceId()const
@@ -66,7 +68,7 @@ std::string DeactivateRouterInterfaceRequest::getRouterInterfaceId()const
void DeactivateRouterInterfaceRequest::setRouterInterfaceId(const std::string& routerInterfaceId)
{
routerInterfaceId_ = routerInterfaceId;
setCoreParameter("RouterInterfaceId", routerInterfaceId);
setParameter("RouterInterfaceId", routerInterfaceId);
}
std::string DeactivateRouterInterfaceRequest::getRegionId()const
@@ -77,6 +79,6 @@ std::string DeactivateRouterInterfaceRequest::getRegionId()const
void DeactivateRouterInterfaceRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeactiveFlowLogRequest;
DeactiveFlowLogRequest::DeactiveFlowLogRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeactiveFlowLog")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeactiveFlowLogRequest::~DeactiveFlowLogRequest()
{}
@@ -33,7 +35,7 @@ long DeactiveFlowLogRequest::getResourceOwnerId()const
void DeactiveFlowLogRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeactiveFlowLogRequest::getRegionId()const
@@ -44,7 +46,7 @@ std::string DeactiveFlowLogRequest::getRegionId()const
void DeactiveFlowLogRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeactiveFlowLogRequest::getResourceOwnerAccount()const
@@ -55,7 +57,7 @@ std::string DeactiveFlowLogRequest::getResourceOwnerAccount()const
void DeactiveFlowLogRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeactiveFlowLogRequest::getOwnerAccount()const
@@ -66,7 +68,7 @@ std::string DeactiveFlowLogRequest::getOwnerAccount()const
void DeactiveFlowLogRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeactiveFlowLogRequest::getOwnerId()const
@@ -77,7 +79,7 @@ long DeactiveFlowLogRequest::getOwnerId()const
void DeactiveFlowLogRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeactiveFlowLogRequest::getFlowLogId()const
@@ -88,6 +90,6 @@ std::string DeactiveFlowLogRequest::getFlowLogId()const
void DeactiveFlowLogRequest::setFlowLogId(const std::string& flowLogId)
{
flowLogId_ = flowLogId;
setCoreParameter("FlowLogId", flowLogId);
setParameter("FlowLogId", flowLogId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteBandwidthPackageRequest;
DeleteBandwidthPackageRequest::DeleteBandwidthPackageRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteBandwidthPackage")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteBandwidthPackageRequest::~DeleteBandwidthPackageRequest()
{}
@@ -33,7 +35,7 @@ long DeleteBandwidthPackageRequest::getResourceOwnerId()const
void DeleteBandwidthPackageRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteBandwidthPackageRequest::getRegionId()const
@@ -44,7 +46,7 @@ std::string DeleteBandwidthPackageRequest::getRegionId()const
void DeleteBandwidthPackageRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteBandwidthPackageRequest::getBandwidthPackageId()const
@@ -55,7 +57,7 @@ std::string DeleteBandwidthPackageRequest::getBandwidthPackageId()const
void DeleteBandwidthPackageRequest::setBandwidthPackageId(const std::string& bandwidthPackageId)
{
bandwidthPackageId_ = bandwidthPackageId;
setCoreParameter("BandwidthPackageId", bandwidthPackageId);
setParameter("BandwidthPackageId", bandwidthPackageId);
}
std::string DeleteBandwidthPackageRequest::getResourceOwnerAccount()const
@@ -66,7 +68,7 @@ std::string DeleteBandwidthPackageRequest::getResourceOwnerAccount()const
void DeleteBandwidthPackageRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteBandwidthPackageRequest::getOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteBandwidthPackageRequest::getOwnerAccount()const
void DeleteBandwidthPackageRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeleteBandwidthPackageRequest::getOwnerId()const
@@ -88,7 +90,7 @@ long DeleteBandwidthPackageRequest::getOwnerId()const
void DeleteBandwidthPackageRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
bool DeleteBandwidthPackageRequest::getForce()const
@@ -99,6 +101,6 @@ bool DeleteBandwidthPackageRequest::getForce()const
void DeleteBandwidthPackageRequest::setForce(bool force)
{
force_ = force;
setCoreParameter("Force", force ? "true" : "false");
setParameter("Force", force ? "true" : "false");
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteBgpGroupRequest;
DeleteBgpGroupRequest::DeleteBgpGroupRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteBgpGroup")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteBgpGroupRequest::~DeleteBgpGroupRequest()
{}
@@ -33,7 +35,7 @@ long DeleteBgpGroupRequest::getResourceOwnerId()const
void DeleteBgpGroupRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteBgpGroupRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string DeleteBgpGroupRequest::getClientToken()const
void DeleteBgpGroupRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string DeleteBgpGroupRequest::getBgpGroupId()const
@@ -55,7 +57,7 @@ std::string DeleteBgpGroupRequest::getBgpGroupId()const
void DeleteBgpGroupRequest::setBgpGroupId(const std::string& bgpGroupId)
{
bgpGroupId_ = bgpGroupId;
setCoreParameter("BgpGroupId", bgpGroupId);
setParameter("BgpGroupId", bgpGroupId);
}
std::string DeleteBgpGroupRequest::getRegionId()const
@@ -66,7 +68,7 @@ std::string DeleteBgpGroupRequest::getRegionId()const
void DeleteBgpGroupRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteBgpGroupRequest::getResourceOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteBgpGroupRequest::getResourceOwnerAccount()const
void DeleteBgpGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteBgpGroupRequest::getOwnerAccount()const
@@ -88,7 +90,7 @@ std::string DeleteBgpGroupRequest::getOwnerAccount()const
void DeleteBgpGroupRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeleteBgpGroupRequest::getOwnerId()const
@@ -99,6 +101,6 @@ long DeleteBgpGroupRequest::getOwnerId()const
void DeleteBgpGroupRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteBgpNetworkRequest;
DeleteBgpNetworkRequest::DeleteBgpNetworkRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteBgpNetwork")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteBgpNetworkRequest::~DeleteBgpNetworkRequest()
{}
@@ -33,7 +35,7 @@ long DeleteBgpNetworkRequest::getResourceOwnerId()const
void DeleteBgpNetworkRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteBgpNetworkRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string DeleteBgpNetworkRequest::getClientToken()const
void DeleteBgpNetworkRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string DeleteBgpNetworkRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string DeleteBgpNetworkRequest::getRegionId()const
void DeleteBgpNetworkRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteBgpNetworkRequest::getResourceOwnerAccount()const
@@ -66,7 +68,7 @@ std::string DeleteBgpNetworkRequest::getResourceOwnerAccount()const
void DeleteBgpNetworkRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteBgpNetworkRequest::getOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteBgpNetworkRequest::getOwnerAccount()const
void DeleteBgpNetworkRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeleteBgpNetworkRequest::getOwnerId()const
@@ -88,7 +90,7 @@ long DeleteBgpNetworkRequest::getOwnerId()const
void DeleteBgpNetworkRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeleteBgpNetworkRequest::getRouterId()const
@@ -99,7 +101,7 @@ std::string DeleteBgpNetworkRequest::getRouterId()const
void DeleteBgpNetworkRequest::setRouterId(const std::string& routerId)
{
routerId_ = routerId;
setCoreParameter("RouterId", routerId);
setParameter("RouterId", routerId);
}
std::string DeleteBgpNetworkRequest::getDstCidrBlock()const
@@ -110,6 +112,6 @@ std::string DeleteBgpNetworkRequest::getDstCidrBlock()const
void DeleteBgpNetworkRequest::setDstCidrBlock(const std::string& dstCidrBlock)
{
dstCidrBlock_ = dstCidrBlock;
setCoreParameter("DstCidrBlock", dstCidrBlock);
setParameter("DstCidrBlock", dstCidrBlock);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteBgpPeerRequest;
DeleteBgpPeerRequest::DeleteBgpPeerRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteBgpPeer")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteBgpPeerRequest::~DeleteBgpPeerRequest()
{}
@@ -33,7 +35,7 @@ long DeleteBgpPeerRequest::getResourceOwnerId()const
void DeleteBgpPeerRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteBgpPeerRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string DeleteBgpPeerRequest::getClientToken()const
void DeleteBgpPeerRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string DeleteBgpPeerRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string DeleteBgpPeerRequest::getRegionId()const
void DeleteBgpPeerRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteBgpPeerRequest::getResourceOwnerAccount()const
@@ -66,7 +68,7 @@ std::string DeleteBgpPeerRequest::getResourceOwnerAccount()const
void DeleteBgpPeerRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteBgpPeerRequest::getOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteBgpPeerRequest::getOwnerAccount()const
void DeleteBgpPeerRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
std::string DeleteBgpPeerRequest::getBgpPeerId()const
@@ -88,7 +90,7 @@ std::string DeleteBgpPeerRequest::getBgpPeerId()const
void DeleteBgpPeerRequest::setBgpPeerId(const std::string& bgpPeerId)
{
bgpPeerId_ = bgpPeerId;
setCoreParameter("BgpPeerId", bgpPeerId);
setParameter("BgpPeerId", bgpPeerId);
}
long DeleteBgpPeerRequest::getOwnerId()const
@@ -99,6 +101,6 @@ long DeleteBgpPeerRequest::getOwnerId()const
void DeleteBgpPeerRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteCommonBandwidthPackageRequest;
DeleteCommonBandwidthPackageRequest::DeleteCommonBandwidthPackageRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteCommonBandwidthPackage")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteCommonBandwidthPackageRequest::~DeleteCommonBandwidthPackageRequest()
{}
@@ -33,7 +35,7 @@ long DeleteCommonBandwidthPackageRequest::getResourceOwnerId()const
void DeleteCommonBandwidthPackageRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteCommonBandwidthPackageRequest::getRegionId()const
@@ -44,7 +46,7 @@ std::string DeleteCommonBandwidthPackageRequest::getRegionId()const
void DeleteCommonBandwidthPackageRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteCommonBandwidthPackageRequest::getBandwidthPackageId()const
@@ -55,7 +57,7 @@ std::string DeleteCommonBandwidthPackageRequest::getBandwidthPackageId()const
void DeleteCommonBandwidthPackageRequest::setBandwidthPackageId(const std::string& bandwidthPackageId)
{
bandwidthPackageId_ = bandwidthPackageId;
setCoreParameter("BandwidthPackageId", bandwidthPackageId);
setParameter("BandwidthPackageId", bandwidthPackageId);
}
std::string DeleteCommonBandwidthPackageRequest::getResourceOwnerAccount()const
@@ -66,7 +68,7 @@ std::string DeleteCommonBandwidthPackageRequest::getResourceOwnerAccount()const
void DeleteCommonBandwidthPackageRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteCommonBandwidthPackageRequest::getOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteCommonBandwidthPackageRequest::getOwnerAccount()const
void DeleteCommonBandwidthPackageRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeleteCommonBandwidthPackageRequest::getOwnerId()const
@@ -88,7 +90,7 @@ long DeleteCommonBandwidthPackageRequest::getOwnerId()const
void DeleteCommonBandwidthPackageRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeleteCommonBandwidthPackageRequest::getForce()const
@@ -99,6 +101,6 @@ std::string DeleteCommonBandwidthPackageRequest::getForce()const
void DeleteCommonBandwidthPackageRequest::setForce(const std::string& force)
{
force_ = force;
setCoreParameter("Force", force);
setParameter("Force", force);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteCustomerGatewayRequest;
DeleteCustomerGatewayRequest::DeleteCustomerGatewayRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteCustomerGateway")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteCustomerGatewayRequest::~DeleteCustomerGatewayRequest()
{}
@@ -33,7 +35,7 @@ long DeleteCustomerGatewayRequest::getResourceOwnerId()const
void DeleteCustomerGatewayRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteCustomerGatewayRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string DeleteCustomerGatewayRequest::getClientToken()const
void DeleteCustomerGatewayRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string DeleteCustomerGatewayRequest::getCustomerGatewayId()const
@@ -55,7 +57,7 @@ std::string DeleteCustomerGatewayRequest::getCustomerGatewayId()const
void DeleteCustomerGatewayRequest::setCustomerGatewayId(const std::string& customerGatewayId)
{
customerGatewayId_ = customerGatewayId;
setCoreParameter("CustomerGatewayId", customerGatewayId);
setParameter("CustomerGatewayId", customerGatewayId);
}
std::string DeleteCustomerGatewayRequest::getRegionId()const
@@ -66,7 +68,7 @@ std::string DeleteCustomerGatewayRequest::getRegionId()const
void DeleteCustomerGatewayRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteCustomerGatewayRequest::getResourceOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteCustomerGatewayRequest::getResourceOwnerAccount()const
void DeleteCustomerGatewayRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteCustomerGatewayRequest::getOwnerAccount()const
@@ -88,7 +90,7 @@ std::string DeleteCustomerGatewayRequest::getOwnerAccount()const
void DeleteCustomerGatewayRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeleteCustomerGatewayRequest::getOwnerId()const
@@ -99,6 +101,6 @@ long DeleteCustomerGatewayRequest::getOwnerId()const
void DeleteCustomerGatewayRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -0,0 +1,95 @@
/*
* 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/DeleteExpressCloudConnectionRequest.h>
using AlibabaCloud::Vpc::Model::DeleteExpressCloudConnectionRequest;
DeleteExpressCloudConnectionRequest::DeleteExpressCloudConnectionRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteExpressCloudConnection")
{
setMethod(HttpRequest::Method::Post);
}
DeleteExpressCloudConnectionRequest::~DeleteExpressCloudConnectionRequest()
{}
long DeleteExpressCloudConnectionRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DeleteExpressCloudConnectionRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteExpressCloudConnectionRequest::getRegionId()const
{
return regionId_;
}
void DeleteExpressCloudConnectionRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string DeleteExpressCloudConnectionRequest::getEccId()const
{
return eccId_;
}
void DeleteExpressCloudConnectionRequest::setEccId(const std::string& eccId)
{
eccId_ = eccId;
setParameter("EccId", eccId);
}
std::string DeleteExpressCloudConnectionRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DeleteExpressCloudConnectionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteExpressCloudConnectionRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DeleteExpressCloudConnectionRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long DeleteExpressCloudConnectionRequest::getOwnerId()const
{
return ownerId_;
}
void DeleteExpressCloudConnectionRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -0,0 +1,44 @@
/*
* 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/DeleteExpressCloudConnectionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Vpc;
using namespace AlibabaCloud::Vpc::Model;
DeleteExpressCloudConnectionResult::DeleteExpressCloudConnectionResult() :
ServiceResult()
{}
DeleteExpressCloudConnectionResult::DeleteExpressCloudConnectionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteExpressCloudConnectionResult::~DeleteExpressCloudConnectionResult()
{}
void DeleteExpressCloudConnectionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteExpressConnectRequest;
DeleteExpressConnectRequest::DeleteExpressConnectRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteExpressConnect")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteExpressConnectRequest::~DeleteExpressConnectRequest()
{}
@@ -33,7 +35,7 @@ long DeleteExpressConnectRequest::getResourceOwnerId()const
void DeleteExpressConnectRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteExpressConnectRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string DeleteExpressConnectRequest::getClientToken()const
void DeleteExpressConnectRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string DeleteExpressConnectRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string DeleteExpressConnectRequest::getRegionId()const
void DeleteExpressConnectRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteExpressConnectRequest::getResourceOwnerAccount()const
@@ -66,7 +68,7 @@ std::string DeleteExpressConnectRequest::getResourceOwnerAccount()const
void DeleteExpressConnectRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteExpressConnectRequest::getOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteExpressConnectRequest::getOwnerAccount()const
void DeleteExpressConnectRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
std::string DeleteExpressConnectRequest::getRouterInterfaceId()const
@@ -88,7 +90,7 @@ std::string DeleteExpressConnectRequest::getRouterInterfaceId()const
void DeleteExpressConnectRequest::setRouterInterfaceId(const std::string& routerInterfaceId)
{
routerInterfaceId_ = routerInterfaceId;
setCoreParameter("RouterInterfaceId", routerInterfaceId);
setParameter("RouterInterfaceId", routerInterfaceId);
}
long DeleteExpressConnectRequest::getOwnerId()const
@@ -99,7 +101,7 @@ long DeleteExpressConnectRequest::getOwnerId()const
void DeleteExpressConnectRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
bool DeleteExpressConnectRequest::getForce()const
@@ -110,6 +112,6 @@ bool DeleteExpressConnectRequest::getForce()const
void DeleteExpressConnectRequest::setForce(bool force)
{
force_ = force;
setCoreParameter("Force", force ? "true" : "false");
setParameter("Force", force ? "true" : "false");
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteFlowLogRequest;
DeleteFlowLogRequest::DeleteFlowLogRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteFlowLog")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteFlowLogRequest::~DeleteFlowLogRequest()
{}
@@ -33,7 +35,7 @@ long DeleteFlowLogRequest::getResourceOwnerId()const
void DeleteFlowLogRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteFlowLogRequest::getRegionId()const
@@ -44,7 +46,7 @@ std::string DeleteFlowLogRequest::getRegionId()const
void DeleteFlowLogRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteFlowLogRequest::getResourceOwnerAccount()const
@@ -55,7 +57,7 @@ std::string DeleteFlowLogRequest::getResourceOwnerAccount()const
void DeleteFlowLogRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteFlowLogRequest::getOwnerAccount()const
@@ -66,7 +68,7 @@ std::string DeleteFlowLogRequest::getOwnerAccount()const
void DeleteFlowLogRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeleteFlowLogRequest::getOwnerId()const
@@ -77,7 +79,7 @@ long DeleteFlowLogRequest::getOwnerId()const
void DeleteFlowLogRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeleteFlowLogRequest::getFlowLogId()const
@@ -88,6 +90,6 @@ std::string DeleteFlowLogRequest::getFlowLogId()const
void DeleteFlowLogRequest::setFlowLogId(const std::string& flowLogId)
{
flowLogId_ = flowLogId;
setCoreParameter("FlowLogId", flowLogId);
setParameter("FlowLogId", flowLogId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteForwardEntryRequest;
DeleteForwardEntryRequest::DeleteForwardEntryRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteForwardEntry")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteForwardEntryRequest::~DeleteForwardEntryRequest()
{}
@@ -33,7 +35,18 @@ long DeleteForwardEntryRequest::getResourceOwnerId()const
void DeleteForwardEntryRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteForwardEntryRequest::getClientToken()const
{
return clientToken_;
}
void DeleteForwardEntryRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
std::string DeleteForwardEntryRequest::getForwardTableId()const
@@ -44,7 +57,7 @@ std::string DeleteForwardEntryRequest::getForwardTableId()const
void DeleteForwardEntryRequest::setForwardTableId(const std::string& forwardTableId)
{
forwardTableId_ = forwardTableId;
setCoreParameter("ForwardTableId", forwardTableId);
setParameter("ForwardTableId", forwardTableId);
}
std::string DeleteForwardEntryRequest::getRegionId()const
@@ -55,7 +68,7 @@ std::string DeleteForwardEntryRequest::getRegionId()const
void DeleteForwardEntryRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteForwardEntryRequest::getForwardEntryId()const
@@ -66,7 +79,7 @@ std::string DeleteForwardEntryRequest::getForwardEntryId()const
void DeleteForwardEntryRequest::setForwardEntryId(const std::string& forwardEntryId)
{
forwardEntryId_ = forwardEntryId;
setCoreParameter("ForwardEntryId", forwardEntryId);
setParameter("ForwardEntryId", forwardEntryId);
}
std::string DeleteForwardEntryRequest::getResourceOwnerAccount()const
@@ -77,7 +90,7 @@ std::string DeleteForwardEntryRequest::getResourceOwnerAccount()const
void DeleteForwardEntryRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteForwardEntryRequest::getOwnerAccount()const
@@ -88,7 +101,7 @@ std::string DeleteForwardEntryRequest::getOwnerAccount()const
void DeleteForwardEntryRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeleteForwardEntryRequest::getOwnerId()const
@@ -99,6 +112,6 @@ long DeleteForwardEntryRequest::getOwnerId()const
void DeleteForwardEntryRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteGlobalAccelerationInstanceRequest;
DeleteGlobalAccelerationInstanceRequest::DeleteGlobalAccelerationInstanceRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteGlobalAccelerationInstance")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteGlobalAccelerationInstanceRequest::~DeleteGlobalAccelerationInstanceRequest()
{}
@@ -33,7 +35,7 @@ long DeleteGlobalAccelerationInstanceRequest::getResourceOwnerId()const
void DeleteGlobalAccelerationInstanceRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteGlobalAccelerationInstanceRequest::getGlobalAccelerationInstanceId()const
@@ -44,7 +46,7 @@ std::string DeleteGlobalAccelerationInstanceRequest::getGlobalAccelerationInstan
void DeleteGlobalAccelerationInstanceRequest::setGlobalAccelerationInstanceId(const std::string& globalAccelerationInstanceId)
{
globalAccelerationInstanceId_ = globalAccelerationInstanceId;
setCoreParameter("GlobalAccelerationInstanceId", globalAccelerationInstanceId);
setParameter("GlobalAccelerationInstanceId", globalAccelerationInstanceId);
}
std::string DeleteGlobalAccelerationInstanceRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string DeleteGlobalAccelerationInstanceRequest::getRegionId()const
void DeleteGlobalAccelerationInstanceRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteGlobalAccelerationInstanceRequest::getResourceOwnerAccount()const
@@ -66,7 +68,7 @@ std::string DeleteGlobalAccelerationInstanceRequest::getResourceOwnerAccount()co
void DeleteGlobalAccelerationInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteGlobalAccelerationInstanceRequest::getOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteGlobalAccelerationInstanceRequest::getOwnerAccount()const
void DeleteGlobalAccelerationInstanceRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeleteGlobalAccelerationInstanceRequest::getOwnerId()const
@@ -88,6 +90,6 @@ long DeleteGlobalAccelerationInstanceRequest::getOwnerId()const
void DeleteGlobalAccelerationInstanceRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteHaVipRequest;
DeleteHaVipRequest::DeleteHaVipRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteHaVip")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteHaVipRequest::~DeleteHaVipRequest()
{}
@@ -33,7 +35,7 @@ long DeleteHaVipRequest::getResourceOwnerId()const
void DeleteHaVipRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteHaVipRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string DeleteHaVipRequest::getClientToken()const
void DeleteHaVipRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string DeleteHaVipRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string DeleteHaVipRequest::getRegionId()const
void DeleteHaVipRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteHaVipRequest::getHaVipId()const
@@ -66,7 +68,7 @@ std::string DeleteHaVipRequest::getHaVipId()const
void DeleteHaVipRequest::setHaVipId(const std::string& haVipId)
{
haVipId_ = haVipId;
setCoreParameter("HaVipId", haVipId);
setParameter("HaVipId", haVipId);
}
std::string DeleteHaVipRequest::getResourceOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteHaVipRequest::getResourceOwnerAccount()const
void DeleteHaVipRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteHaVipRequest::getOwnerAccount()const
@@ -88,7 +90,7 @@ std::string DeleteHaVipRequest::getOwnerAccount()const
void DeleteHaVipRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeleteHaVipRequest::getOwnerId()const
@@ -99,6 +101,6 @@ long DeleteHaVipRequest::getOwnerId()const
void DeleteHaVipRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteIPv6TranslatorAclListRequest;
DeleteIPv6TranslatorAclListRequest::DeleteIPv6TranslatorAclListRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteIPv6TranslatorAclList")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteIPv6TranslatorAclListRequest::~DeleteIPv6TranslatorAclListRequest()
{}
@@ -33,7 +35,7 @@ long DeleteIPv6TranslatorAclListRequest::getResourceOwnerId()const
void DeleteIPv6TranslatorAclListRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteIPv6TranslatorAclListRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string DeleteIPv6TranslatorAclListRequest::getClientToken()const
void DeleteIPv6TranslatorAclListRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string DeleteIPv6TranslatorAclListRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string DeleteIPv6TranslatorAclListRequest::getRegionId()const
void DeleteIPv6TranslatorAclListRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteIPv6TranslatorAclListRequest::getAclId()const
@@ -66,7 +68,7 @@ std::string DeleteIPv6TranslatorAclListRequest::getAclId()const
void DeleteIPv6TranslatorAclListRequest::setAclId(const std::string& aclId)
{
aclId_ = aclId;
setCoreParameter("AclId", aclId);
setParameter("AclId", aclId);
}
std::string DeleteIPv6TranslatorAclListRequest::getResourceOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteIPv6TranslatorAclListRequest::getResourceOwnerAccount()const
void DeleteIPv6TranslatorAclListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteIPv6TranslatorAclListRequest::getOwnerAccount()const
@@ -88,7 +90,7 @@ std::string DeleteIPv6TranslatorAclListRequest::getOwnerAccount()const
void DeleteIPv6TranslatorAclListRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeleteIPv6TranslatorAclListRequest::getOwnerId()const
@@ -99,6 +101,6 @@ long DeleteIPv6TranslatorAclListRequest::getOwnerId()const
void DeleteIPv6TranslatorAclListRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteIPv6TranslatorEntryRequest;
DeleteIPv6TranslatorEntryRequest::DeleteIPv6TranslatorEntryRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteIPv6TranslatorEntry")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteIPv6TranslatorEntryRequest::~DeleteIPv6TranslatorEntryRequest()
{}
@@ -33,7 +35,7 @@ long DeleteIPv6TranslatorEntryRequest::getResourceOwnerId()const
void DeleteIPv6TranslatorEntryRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteIPv6TranslatorEntryRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string DeleteIPv6TranslatorEntryRequest::getClientToken()const
void DeleteIPv6TranslatorEntryRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string DeleteIPv6TranslatorEntryRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string DeleteIPv6TranslatorEntryRequest::getRegionId()const
void DeleteIPv6TranslatorEntryRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteIPv6TranslatorEntryRequest::getIpv6TranslatorEntryId()const
@@ -66,7 +68,7 @@ std::string DeleteIPv6TranslatorEntryRequest::getIpv6TranslatorEntryId()const
void DeleteIPv6TranslatorEntryRequest::setIpv6TranslatorEntryId(const std::string& ipv6TranslatorEntryId)
{
ipv6TranslatorEntryId_ = ipv6TranslatorEntryId;
setCoreParameter("Ipv6TranslatorEntryId", ipv6TranslatorEntryId);
setParameter("Ipv6TranslatorEntryId", ipv6TranslatorEntryId);
}
std::string DeleteIPv6TranslatorEntryRequest::getResourceOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteIPv6TranslatorEntryRequest::getResourceOwnerAccount()const
void DeleteIPv6TranslatorEntryRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteIPv6TranslatorEntryRequest::getOwnerAccount()const
@@ -88,7 +90,7 @@ std::string DeleteIPv6TranslatorEntryRequest::getOwnerAccount()const
void DeleteIPv6TranslatorEntryRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeleteIPv6TranslatorEntryRequest::getOwnerId()const
@@ -99,7 +101,7 @@ long DeleteIPv6TranslatorEntryRequest::getOwnerId()const
void DeleteIPv6TranslatorEntryRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeleteIPv6TranslatorEntryRequest::getIpv6TranslatorId()const
@@ -110,6 +112,6 @@ std::string DeleteIPv6TranslatorEntryRequest::getIpv6TranslatorId()const
void DeleteIPv6TranslatorEntryRequest::setIpv6TranslatorId(const std::string& ipv6TranslatorId)
{
ipv6TranslatorId_ = ipv6TranslatorId;
setCoreParameter("Ipv6TranslatorId", ipv6TranslatorId);
setParameter("Ipv6TranslatorId", ipv6TranslatorId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteIPv6TranslatorRequest;
DeleteIPv6TranslatorRequest::DeleteIPv6TranslatorRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteIPv6Translator")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteIPv6TranslatorRequest::~DeleteIPv6TranslatorRequest()
{}
@@ -33,7 +35,7 @@ long DeleteIPv6TranslatorRequest::getResourceOwnerId()const
void DeleteIPv6TranslatorRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteIPv6TranslatorRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string DeleteIPv6TranslatorRequest::getClientToken()const
void DeleteIPv6TranslatorRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string DeleteIPv6TranslatorRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string DeleteIPv6TranslatorRequest::getRegionId()const
void DeleteIPv6TranslatorRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteIPv6TranslatorRequest::getResourceOwnerAccount()const
@@ -66,7 +68,7 @@ std::string DeleteIPv6TranslatorRequest::getResourceOwnerAccount()const
void DeleteIPv6TranslatorRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteIPv6TranslatorRequest::getOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteIPv6TranslatorRequest::getOwnerAccount()const
void DeleteIPv6TranslatorRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeleteIPv6TranslatorRequest::getOwnerId()const
@@ -88,7 +90,7 @@ long DeleteIPv6TranslatorRequest::getOwnerId()const
void DeleteIPv6TranslatorRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeleteIPv6TranslatorRequest::getIpv6TranslatorId()const
@@ -99,6 +101,6 @@ std::string DeleteIPv6TranslatorRequest::getIpv6TranslatorId()const
void DeleteIPv6TranslatorRequest::setIpv6TranslatorId(const std::string& ipv6TranslatorId)
{
ipv6TranslatorId_ = ipv6TranslatorId;
setCoreParameter("Ipv6TranslatorId", ipv6TranslatorId);
setParameter("Ipv6TranslatorId", ipv6TranslatorId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteIpv6EgressOnlyRuleRequest;
DeleteIpv6EgressOnlyRuleRequest::DeleteIpv6EgressOnlyRuleRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteIpv6EgressOnlyRule")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteIpv6EgressOnlyRuleRequest::~DeleteIpv6EgressOnlyRuleRequest()
{}
@@ -33,7 +35,7 @@ long DeleteIpv6EgressOnlyRuleRequest::getResourceOwnerId()const
void DeleteIpv6EgressOnlyRuleRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteIpv6EgressOnlyRuleRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string DeleteIpv6EgressOnlyRuleRequest::getClientToken()const
void DeleteIpv6EgressOnlyRuleRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string DeleteIpv6EgressOnlyRuleRequest::getIpv6EgressOnlyRuleId()const
@@ -55,7 +57,7 @@ std::string DeleteIpv6EgressOnlyRuleRequest::getIpv6EgressOnlyRuleId()const
void DeleteIpv6EgressOnlyRuleRequest::setIpv6EgressOnlyRuleId(const std::string& ipv6EgressOnlyRuleId)
{
ipv6EgressOnlyRuleId_ = ipv6EgressOnlyRuleId;
setCoreParameter("Ipv6EgressOnlyRuleId", ipv6EgressOnlyRuleId);
setParameter("Ipv6EgressOnlyRuleId", ipv6EgressOnlyRuleId);
}
std::string DeleteIpv6EgressOnlyRuleRequest::getRegionId()const
@@ -66,7 +68,7 @@ std::string DeleteIpv6EgressOnlyRuleRequest::getRegionId()const
void DeleteIpv6EgressOnlyRuleRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteIpv6EgressOnlyRuleRequest::getResourceOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteIpv6EgressOnlyRuleRequest::getResourceOwnerAccount()const
void DeleteIpv6EgressOnlyRuleRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteIpv6EgressOnlyRuleRequest::getOwnerAccount()const
@@ -88,7 +90,7 @@ std::string DeleteIpv6EgressOnlyRuleRequest::getOwnerAccount()const
void DeleteIpv6EgressOnlyRuleRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeleteIpv6EgressOnlyRuleRequest::getOwnerId()const
@@ -99,6 +101,6 @@ long DeleteIpv6EgressOnlyRuleRequest::getOwnerId()const
void DeleteIpv6EgressOnlyRuleRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteIpv6GatewayRequest;
DeleteIpv6GatewayRequest::DeleteIpv6GatewayRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteIpv6Gateway")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteIpv6GatewayRequest::~DeleteIpv6GatewayRequest()
{}
@@ -33,7 +35,7 @@ long DeleteIpv6GatewayRequest::getResourceOwnerId()const
void DeleteIpv6GatewayRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteIpv6GatewayRequest::getRegionId()const
@@ -44,7 +46,7 @@ std::string DeleteIpv6GatewayRequest::getRegionId()const
void DeleteIpv6GatewayRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteIpv6GatewayRequest::getResourceOwnerAccount()const
@@ -55,7 +57,7 @@ std::string DeleteIpv6GatewayRequest::getResourceOwnerAccount()const
void DeleteIpv6GatewayRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteIpv6GatewayRequest::getOwnerAccount()const
@@ -66,7 +68,7 @@ std::string DeleteIpv6GatewayRequest::getOwnerAccount()const
void DeleteIpv6GatewayRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeleteIpv6GatewayRequest::getOwnerId()const
@@ -77,7 +79,7 @@ long DeleteIpv6GatewayRequest::getOwnerId()const
void DeleteIpv6GatewayRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeleteIpv6GatewayRequest::getIpv6GatewayId()const
@@ -88,6 +90,6 @@ std::string DeleteIpv6GatewayRequest::getIpv6GatewayId()const
void DeleteIpv6GatewayRequest::setIpv6GatewayId(const std::string& ipv6GatewayId)
{
ipv6GatewayId_ = ipv6GatewayId;
setCoreParameter("Ipv6GatewayId", ipv6GatewayId);
setParameter("Ipv6GatewayId", ipv6GatewayId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteIpv6InternetBandwidthRequest;
DeleteIpv6InternetBandwidthRequest::DeleteIpv6InternetBandwidthRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteIpv6InternetBandwidth")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteIpv6InternetBandwidthRequest::~DeleteIpv6InternetBandwidthRequest()
{}
@@ -33,7 +35,7 @@ long DeleteIpv6InternetBandwidthRequest::getResourceOwnerId()const
void DeleteIpv6InternetBandwidthRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteIpv6InternetBandwidthRequest::getIpv6InternetBandwidthId()const
@@ -44,7 +46,7 @@ std::string DeleteIpv6InternetBandwidthRequest::getIpv6InternetBandwidthId()cons
void DeleteIpv6InternetBandwidthRequest::setIpv6InternetBandwidthId(const std::string& ipv6InternetBandwidthId)
{
ipv6InternetBandwidthId_ = ipv6InternetBandwidthId;
setCoreParameter("Ipv6InternetBandwidthId", ipv6InternetBandwidthId);
setParameter("Ipv6InternetBandwidthId", ipv6InternetBandwidthId);
}
std::string DeleteIpv6InternetBandwidthRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string DeleteIpv6InternetBandwidthRequest::getRegionId()const
void DeleteIpv6InternetBandwidthRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteIpv6InternetBandwidthRequest::getResourceOwnerAccount()const
@@ -66,7 +68,7 @@ std::string DeleteIpv6InternetBandwidthRequest::getResourceOwnerAccount()const
void DeleteIpv6InternetBandwidthRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteIpv6InternetBandwidthRequest::getOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteIpv6InternetBandwidthRequest::getOwnerAccount()const
void DeleteIpv6InternetBandwidthRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeleteIpv6InternetBandwidthRequest::getOwnerId()const
@@ -88,7 +90,7 @@ long DeleteIpv6InternetBandwidthRequest::getOwnerId()const
void DeleteIpv6InternetBandwidthRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeleteIpv6InternetBandwidthRequest::getIpv6AddressId()const
@@ -99,6 +101,6 @@ std::string DeleteIpv6InternetBandwidthRequest::getIpv6AddressId()const
void DeleteIpv6InternetBandwidthRequest::setIpv6AddressId(const std::string& ipv6AddressId)
{
ipv6AddressId_ = ipv6AddressId;
setCoreParameter("Ipv6AddressId", ipv6AddressId);
setParameter("Ipv6AddressId", ipv6AddressId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteNatGatewayRequest;
DeleteNatGatewayRequest::DeleteNatGatewayRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteNatGateway")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteNatGatewayRequest::~DeleteNatGatewayRequest()
{}
@@ -33,7 +35,7 @@ long DeleteNatGatewayRequest::getResourceOwnerId()const
void DeleteNatGatewayRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteNatGatewayRequest::getRegionId()const
@@ -44,7 +46,7 @@ std::string DeleteNatGatewayRequest::getRegionId()const
void DeleteNatGatewayRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteNatGatewayRequest::getNatGatewayId()const
@@ -55,7 +57,7 @@ std::string DeleteNatGatewayRequest::getNatGatewayId()const
void DeleteNatGatewayRequest::setNatGatewayId(const std::string& natGatewayId)
{
natGatewayId_ = natGatewayId;
setCoreParameter("NatGatewayId", natGatewayId);
setParameter("NatGatewayId", natGatewayId);
}
std::string DeleteNatGatewayRequest::getResourceOwnerAccount()const
@@ -66,7 +68,7 @@ std::string DeleteNatGatewayRequest::getResourceOwnerAccount()const
void DeleteNatGatewayRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteNatGatewayRequest::getOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteNatGatewayRequest::getOwnerAccount()const
void DeleteNatGatewayRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeleteNatGatewayRequest::getOwnerId()const
@@ -88,7 +90,7 @@ long DeleteNatGatewayRequest::getOwnerId()const
void DeleteNatGatewayRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
bool DeleteNatGatewayRequest::getForce()const
@@ -99,6 +101,6 @@ bool DeleteNatGatewayRequest::getForce()const
void DeleteNatGatewayRequest::setForce(bool force)
{
force_ = force;
setCoreParameter("Force", force ? "true" : "false");
setParameter("Force", force ? "true" : "false");
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteNetworkAclRequest;
DeleteNetworkAclRequest::DeleteNetworkAclRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteNetworkAcl")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteNetworkAclRequest::~DeleteNetworkAclRequest()
{}
@@ -33,7 +35,7 @@ long DeleteNetworkAclRequest::getResourceOwnerId()const
void DeleteNetworkAclRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteNetworkAclRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string DeleteNetworkAclRequest::getClientToken()const
void DeleteNetworkAclRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string DeleteNetworkAclRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string DeleteNetworkAclRequest::getRegionId()const
void DeleteNetworkAclRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteNetworkAclRequest::getNetworkAclId()const
@@ -66,7 +68,7 @@ std::string DeleteNetworkAclRequest::getNetworkAclId()const
void DeleteNetworkAclRequest::setNetworkAclId(const std::string& networkAclId)
{
networkAclId_ = networkAclId;
setCoreParameter("NetworkAclId", networkAclId);
setParameter("NetworkAclId", networkAclId);
}
std::string DeleteNetworkAclRequest::getResourceOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteNetworkAclRequest::getResourceOwnerAccount()const
void DeleteNetworkAclRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
long DeleteNetworkAclRequest::getOwnerId()const
@@ -88,6 +90,6 @@ long DeleteNetworkAclRequest::getOwnerId()const
void DeleteNetworkAclRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeletePhysicalConnectionRequest;
DeletePhysicalConnectionRequest::DeletePhysicalConnectionRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeletePhysicalConnection")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeletePhysicalConnectionRequest::~DeletePhysicalConnectionRequest()
{}
@@ -33,7 +35,7 @@ long DeletePhysicalConnectionRequest::getResourceOwnerId()const
void DeletePhysicalConnectionRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeletePhysicalConnectionRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string DeletePhysicalConnectionRequest::getClientToken()const
void DeletePhysicalConnectionRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string DeletePhysicalConnectionRequest::getRegionId()const
@@ -55,18 +57,7 @@ std::string DeletePhysicalConnectionRequest::getRegionId()const
void DeletePhysicalConnectionRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
std::string DeletePhysicalConnectionRequest::getUserCidr()const
{
return userCidr_;
}
void DeletePhysicalConnectionRequest::setUserCidr(const std::string& userCidr)
{
userCidr_ = userCidr;
setCoreParameter("UserCidr", userCidr);
setParameter("RegionId", regionId);
}
std::string DeletePhysicalConnectionRequest::getResourceOwnerAccount()const
@@ -77,7 +68,7 @@ std::string DeletePhysicalConnectionRequest::getResourceOwnerAccount()const
void DeletePhysicalConnectionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeletePhysicalConnectionRequest::getOwnerAccount()const
@@ -88,7 +79,7 @@ std::string DeletePhysicalConnectionRequest::getOwnerAccount()const
void DeletePhysicalConnectionRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeletePhysicalConnectionRequest::getOwnerId()const
@@ -99,7 +90,7 @@ long DeletePhysicalConnectionRequest::getOwnerId()const
void DeletePhysicalConnectionRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeletePhysicalConnectionRequest::getPhysicalConnectionId()const
@@ -110,6 +101,6 @@ std::string DeletePhysicalConnectionRequest::getPhysicalConnectionId()const
void DeletePhysicalConnectionRequest::setPhysicalConnectionId(const std::string& physicalConnectionId)
{
physicalConnectionId_ = physicalConnectionId;
setCoreParameter("PhysicalConnectionId", physicalConnectionId);
setParameter("PhysicalConnectionId", physicalConnectionId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteRouteEntryRequest;
DeleteRouteEntryRequest::DeleteRouteEntryRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteRouteEntry")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteRouteEntryRequest::~DeleteRouteEntryRequest()
{}
@@ -33,7 +35,7 @@ long DeleteRouteEntryRequest::getResourceOwnerId()const
void DeleteRouteEntryRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteRouteEntryRequest::getRegionId()const
@@ -44,7 +46,7 @@ std::string DeleteRouteEntryRequest::getRegionId()const
void DeleteRouteEntryRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteRouteEntryRequest::getNextHopId()const
@@ -55,7 +57,7 @@ std::string DeleteRouteEntryRequest::getNextHopId()const
void DeleteRouteEntryRequest::setNextHopId(const std::string& nextHopId)
{
nextHopId_ = nextHopId;
setCoreParameter("NextHopId", nextHopId);
setParameter("NextHopId", nextHopId);
}
std::string DeleteRouteEntryRequest::getRouteTableId()const
@@ -66,7 +68,7 @@ std::string DeleteRouteEntryRequest::getRouteTableId()const
void DeleteRouteEntryRequest::setRouteTableId(const std::string& routeTableId)
{
routeTableId_ = routeTableId;
setCoreParameter("RouteTableId", routeTableId);
setParameter("RouteTableId", routeTableId);
}
std::string DeleteRouteEntryRequest::getResourceOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteRouteEntryRequest::getResourceOwnerAccount()const
void DeleteRouteEntryRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteRouteEntryRequest::getDestinationCidrBlock()const
@@ -88,7 +90,7 @@ std::string DeleteRouteEntryRequest::getDestinationCidrBlock()const
void DeleteRouteEntryRequest::setDestinationCidrBlock(const std::string& destinationCidrBlock)
{
destinationCidrBlock_ = destinationCidrBlock;
setCoreParameter("DestinationCidrBlock", destinationCidrBlock);
setParameter("DestinationCidrBlock", destinationCidrBlock);
}
std::string DeleteRouteEntryRequest::getOwnerAccount()const
@@ -99,7 +101,7 @@ std::string DeleteRouteEntryRequest::getOwnerAccount()const
void DeleteRouteEntryRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeleteRouteEntryRequest::getOwnerId()const
@@ -110,7 +112,7 @@ long DeleteRouteEntryRequest::getOwnerId()const
void DeleteRouteEntryRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeleteRouteEntryRequest::getRouteEntryId()const
@@ -121,7 +123,7 @@ std::string DeleteRouteEntryRequest::getRouteEntryId()const
void DeleteRouteEntryRequest::setRouteEntryId(const std::string& routeEntryId)
{
routeEntryId_ = routeEntryId;
setCoreParameter("RouteEntryId", routeEntryId);
setParameter("RouteEntryId", routeEntryId);
}
std::vector<DeleteRouteEntryRequest::NextHopList> DeleteRouteEntryRequest::getNextHopList()const
@@ -132,12 +134,11 @@ std::vector<DeleteRouteEntryRequest::NextHopList> DeleteRouteEntryRequest::getNe
void DeleteRouteEntryRequest::setNextHopList(const std::vector<NextHopList>& nextHopList)
{
nextHopList_ = nextHopList;
int i = 0;
for(int i = 0; i!= nextHopList.size(); i++) {
auto obj = nextHopList.at(i);
std::string str ="NextHopList."+ std::to_string(i);
setCoreParameter(str + ".NextHopId", obj.nextHopId);
setCoreParameter(str + ".NextHopType", obj.nextHopType);
for(int dep1 = 0; dep1!= nextHopList.size(); dep1++) {
auto nextHopListObj = nextHopList.at(dep1);
std::string nextHopListObjStr = "NextHopList." + std::to_string(dep1 + 1);
setParameter(nextHopListObjStr + ".NextHopId", nextHopListObj.nextHopId);
setParameter(nextHopListObjStr + ".NextHopType", nextHopListObj.nextHopType);
}
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteRouteTableRequest;
DeleteRouteTableRequest::DeleteRouteTableRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteRouteTable")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteRouteTableRequest::~DeleteRouteTableRequest()
{}
@@ -33,7 +35,7 @@ long DeleteRouteTableRequest::getResourceOwnerId()const
void DeleteRouteTableRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteRouteTableRequest::getRegionId()const
@@ -44,7 +46,7 @@ std::string DeleteRouteTableRequest::getRegionId()const
void DeleteRouteTableRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteRouteTableRequest::getRouteTableId()const
@@ -55,7 +57,7 @@ std::string DeleteRouteTableRequest::getRouteTableId()const
void DeleteRouteTableRequest::setRouteTableId(const std::string& routeTableId)
{
routeTableId_ = routeTableId;
setCoreParameter("RouteTableId", routeTableId);
setParameter("RouteTableId", routeTableId);
}
std::string DeleteRouteTableRequest::getResourceOwnerAccount()const
@@ -66,7 +68,7 @@ std::string DeleteRouteTableRequest::getResourceOwnerAccount()const
void DeleteRouteTableRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteRouteTableRequest::getOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteRouteTableRequest::getOwnerAccount()const
void DeleteRouteTableRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeleteRouteTableRequest::getOwnerId()const
@@ -88,6 +90,6 @@ long DeleteRouteTableRequest::getOwnerId()const
void DeleteRouteTableRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteRouterInterfaceRequest;
DeleteRouterInterfaceRequest::DeleteRouterInterfaceRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteRouterInterface")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteRouterInterfaceRequest::~DeleteRouterInterfaceRequest()
{}
@@ -33,7 +35,7 @@ long DeleteRouterInterfaceRequest::getResourceOwnerId()const
void DeleteRouterInterfaceRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteRouterInterfaceRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string DeleteRouterInterfaceRequest::getClientToken()const
void DeleteRouterInterfaceRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string DeleteRouterInterfaceRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string DeleteRouterInterfaceRequest::getRegionId()const
void DeleteRouterInterfaceRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteRouterInterfaceRequest::getResourceOwnerAccount()const
@@ -66,7 +68,7 @@ std::string DeleteRouterInterfaceRequest::getResourceOwnerAccount()const
void DeleteRouterInterfaceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteRouterInterfaceRequest::getOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteRouterInterfaceRequest::getOwnerAccount()const
void DeleteRouterInterfaceRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
std::string DeleteRouterInterfaceRequest::getRouterInterfaceId()const
@@ -88,7 +90,7 @@ std::string DeleteRouterInterfaceRequest::getRouterInterfaceId()const
void DeleteRouterInterfaceRequest::setRouterInterfaceId(const std::string& routerInterfaceId)
{
routerInterfaceId_ = routerInterfaceId;
setCoreParameter("RouterInterfaceId", routerInterfaceId);
setParameter("RouterInterfaceId", routerInterfaceId);
}
long DeleteRouterInterfaceRequest::getOwnerId()const
@@ -99,6 +101,6 @@ long DeleteRouterInterfaceRequest::getOwnerId()const
void DeleteRouterInterfaceRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteSnatEntryRequest;
DeleteSnatEntryRequest::DeleteSnatEntryRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteSnatEntry")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteSnatEntryRequest::~DeleteSnatEntryRequest()
{}
@@ -33,7 +35,18 @@ long DeleteSnatEntryRequest::getResourceOwnerId()const
void DeleteSnatEntryRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteSnatEntryRequest::getClientToken()const
{
return clientToken_;
}
void DeleteSnatEntryRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
std::string DeleteSnatEntryRequest::getRegionId()const
@@ -44,7 +57,7 @@ std::string DeleteSnatEntryRequest::getRegionId()const
void DeleteSnatEntryRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteSnatEntryRequest::getSnatEntryId()const
@@ -55,7 +68,7 @@ std::string DeleteSnatEntryRequest::getSnatEntryId()const
void DeleteSnatEntryRequest::setSnatEntryId(const std::string& snatEntryId)
{
snatEntryId_ = snatEntryId;
setCoreParameter("SnatEntryId", snatEntryId);
setParameter("SnatEntryId", snatEntryId);
}
std::string DeleteSnatEntryRequest::getResourceOwnerAccount()const
@@ -66,7 +79,7 @@ std::string DeleteSnatEntryRequest::getResourceOwnerAccount()const
void DeleteSnatEntryRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteSnatEntryRequest::getOwnerAccount()const
@@ -77,7 +90,7 @@ std::string DeleteSnatEntryRequest::getOwnerAccount()const
void DeleteSnatEntryRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
std::string DeleteSnatEntryRequest::getSnatTableId()const
@@ -88,7 +101,7 @@ std::string DeleteSnatEntryRequest::getSnatTableId()const
void DeleteSnatEntryRequest::setSnatTableId(const std::string& snatTableId)
{
snatTableId_ = snatTableId;
setCoreParameter("SnatTableId", snatTableId);
setParameter("SnatTableId", snatTableId);
}
long DeleteSnatEntryRequest::getOwnerId()const
@@ -99,6 +112,6 @@ long DeleteSnatEntryRequest::getOwnerId()const
void DeleteSnatEntryRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteSslVpnClientCertRequest;
DeleteSslVpnClientCertRequest::DeleteSslVpnClientCertRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteSslVpnClientCert")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteSslVpnClientCertRequest::~DeleteSslVpnClientCertRequest()
{}
@@ -33,7 +35,7 @@ long DeleteSslVpnClientCertRequest::getResourceOwnerId()const
void DeleteSslVpnClientCertRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteSslVpnClientCertRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string DeleteSslVpnClientCertRequest::getClientToken()const
void DeleteSslVpnClientCertRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string DeleteSslVpnClientCertRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string DeleteSslVpnClientCertRequest::getRegionId()const
void DeleteSslVpnClientCertRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteSslVpnClientCertRequest::getSslVpnClientCertId()const
@@ -66,7 +68,7 @@ std::string DeleteSslVpnClientCertRequest::getSslVpnClientCertId()const
void DeleteSslVpnClientCertRequest::setSslVpnClientCertId(const std::string& sslVpnClientCertId)
{
sslVpnClientCertId_ = sslVpnClientCertId;
setCoreParameter("SslVpnClientCertId", sslVpnClientCertId);
setParameter("SslVpnClientCertId", sslVpnClientCertId);
}
std::string DeleteSslVpnClientCertRequest::getResourceOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteSslVpnClientCertRequest::getResourceOwnerAccount()const
void DeleteSslVpnClientCertRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteSslVpnClientCertRequest::getOwnerAccount()const
@@ -88,7 +90,7 @@ std::string DeleteSslVpnClientCertRequest::getOwnerAccount()const
void DeleteSslVpnClientCertRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeleteSslVpnClientCertRequest::getOwnerId()const
@@ -99,6 +101,6 @@ long DeleteSslVpnClientCertRequest::getOwnerId()const
void DeleteSslVpnClientCertRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteSslVpnServerRequest;
DeleteSslVpnServerRequest::DeleteSslVpnServerRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteSslVpnServer")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteSslVpnServerRequest::~DeleteSslVpnServerRequest()
{}
@@ -33,7 +35,7 @@ long DeleteSslVpnServerRequest::getResourceOwnerId()const
void DeleteSslVpnServerRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteSslVpnServerRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string DeleteSslVpnServerRequest::getClientToken()const
void DeleteSslVpnServerRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string DeleteSslVpnServerRequest::getSslVpnServerId()const
@@ -55,7 +57,7 @@ std::string DeleteSslVpnServerRequest::getSslVpnServerId()const
void DeleteSslVpnServerRequest::setSslVpnServerId(const std::string& sslVpnServerId)
{
sslVpnServerId_ = sslVpnServerId;
setCoreParameter("SslVpnServerId", sslVpnServerId);
setParameter("SslVpnServerId", sslVpnServerId);
}
std::string DeleteSslVpnServerRequest::getRegionId()const
@@ -66,7 +68,7 @@ std::string DeleteSslVpnServerRequest::getRegionId()const
void DeleteSslVpnServerRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteSslVpnServerRequest::getResourceOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteSslVpnServerRequest::getResourceOwnerAccount()const
void DeleteSslVpnServerRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteSslVpnServerRequest::getOwnerAccount()const
@@ -88,7 +90,7 @@ std::string DeleteSslVpnServerRequest::getOwnerAccount()const
void DeleteSslVpnServerRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeleteSslVpnServerRequest::getOwnerId()const
@@ -99,6 +101,6 @@ long DeleteSslVpnServerRequest::getOwnerId()const
void DeleteSslVpnServerRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteVSwitchRequest;
DeleteVSwitchRequest::DeleteVSwitchRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteVSwitch")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteVSwitchRequest::~DeleteVSwitchRequest()
{}
@@ -33,7 +35,7 @@ long DeleteVSwitchRequest::getResourceOwnerId()const
void DeleteVSwitchRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteVSwitchRequest::getRegionId()const
@@ -44,7 +46,7 @@ std::string DeleteVSwitchRequest::getRegionId()const
void DeleteVSwitchRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteVSwitchRequest::getResourceOwnerAccount()const
@@ -55,7 +57,7 @@ std::string DeleteVSwitchRequest::getResourceOwnerAccount()const
void DeleteVSwitchRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteVSwitchRequest::getOwnerAccount()const
@@ -66,7 +68,7 @@ std::string DeleteVSwitchRequest::getOwnerAccount()const
void DeleteVSwitchRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeleteVSwitchRequest::getOwnerId()const
@@ -77,7 +79,7 @@ long DeleteVSwitchRequest::getOwnerId()const
void DeleteVSwitchRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeleteVSwitchRequest::getVSwitchId()const
@@ -88,6 +90,6 @@ std::string DeleteVSwitchRequest::getVSwitchId()const
void DeleteVSwitchRequest::setVSwitchId(const std::string& vSwitchId)
{
vSwitchId_ = vSwitchId;
setCoreParameter("VSwitchId", vSwitchId);
setParameter("VSwitchId", vSwitchId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteVirtualBorderRouterRequest;
DeleteVirtualBorderRouterRequest::DeleteVirtualBorderRouterRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteVirtualBorderRouter")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteVirtualBorderRouterRequest::~DeleteVirtualBorderRouterRequest()
{}
@@ -33,7 +35,7 @@ long DeleteVirtualBorderRouterRequest::getResourceOwnerId()const
void DeleteVirtualBorderRouterRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteVirtualBorderRouterRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string DeleteVirtualBorderRouterRequest::getClientToken()const
void DeleteVirtualBorderRouterRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string DeleteVirtualBorderRouterRequest::getVbrId()const
@@ -55,7 +57,7 @@ std::string DeleteVirtualBorderRouterRequest::getVbrId()const
void DeleteVirtualBorderRouterRequest::setVbrId(const std::string& vbrId)
{
vbrId_ = vbrId;
setCoreParameter("VbrId", vbrId);
setParameter("VbrId", vbrId);
}
std::string DeleteVirtualBorderRouterRequest::getRegionId()const
@@ -66,7 +68,7 @@ std::string DeleteVirtualBorderRouterRequest::getRegionId()const
void DeleteVirtualBorderRouterRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteVirtualBorderRouterRequest::getResourceOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteVirtualBorderRouterRequest::getResourceOwnerAccount()const
void DeleteVirtualBorderRouterRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteVirtualBorderRouterRequest::getOwnerAccount()const
@@ -88,7 +90,7 @@ std::string DeleteVirtualBorderRouterRequest::getOwnerAccount()const
void DeleteVirtualBorderRouterRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeleteVirtualBorderRouterRequest::getOwnerId()const
@@ -99,6 +101,6 @@ long DeleteVirtualBorderRouterRequest::getOwnerId()const
void DeleteVirtualBorderRouterRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteVpcRequest;
DeleteVpcRequest::DeleteVpcRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteVpc")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteVpcRequest::~DeleteVpcRequest()
{}
@@ -33,7 +35,7 @@ long DeleteVpcRequest::getResourceOwnerId()const
void DeleteVpcRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteVpcRequest::getRegionId()const
@@ -44,7 +46,7 @@ std::string DeleteVpcRequest::getRegionId()const
void DeleteVpcRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteVpcRequest::getResourceOwnerAccount()const
@@ -55,7 +57,7 @@ std::string DeleteVpcRequest::getResourceOwnerAccount()const
void DeleteVpcRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteVpcRequest::getOwnerAccount()const
@@ -66,7 +68,7 @@ std::string DeleteVpcRequest::getOwnerAccount()const
void DeleteVpcRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeleteVpcRequest::getOwnerId()const
@@ -77,7 +79,7 @@ long DeleteVpcRequest::getOwnerId()const
void DeleteVpcRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeleteVpcRequest::getVpcId()const
@@ -88,6 +90,6 @@ std::string DeleteVpcRequest::getVpcId()const
void DeleteVpcRequest::setVpcId(const std::string& vpcId)
{
vpcId_ = vpcId;
setCoreParameter("VpcId", vpcId);
setParameter("VpcId", vpcId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteVpnConnectionRequest;
DeleteVpnConnectionRequest::DeleteVpnConnectionRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteVpnConnection")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteVpnConnectionRequest::~DeleteVpnConnectionRequest()
{}
@@ -33,7 +35,7 @@ long DeleteVpnConnectionRequest::getResourceOwnerId()const
void DeleteVpnConnectionRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteVpnConnectionRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string DeleteVpnConnectionRequest::getClientToken()const
void DeleteVpnConnectionRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string DeleteVpnConnectionRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string DeleteVpnConnectionRequest::getRegionId()const
void DeleteVpnConnectionRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteVpnConnectionRequest::getResourceOwnerAccount()const
@@ -66,7 +68,7 @@ std::string DeleteVpnConnectionRequest::getResourceOwnerAccount()const
void DeleteVpnConnectionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteVpnConnectionRequest::getOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteVpnConnectionRequest::getOwnerAccount()const
void DeleteVpnConnectionRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
long DeleteVpnConnectionRequest::getOwnerId()const
@@ -88,7 +90,7 @@ long DeleteVpnConnectionRequest::getOwnerId()const
void DeleteVpnConnectionRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeleteVpnConnectionRequest::getVpnConnectionId()const
@@ -99,6 +101,6 @@ std::string DeleteVpnConnectionRequest::getVpnConnectionId()const
void DeleteVpnConnectionRequest::setVpnConnectionId(const std::string& vpnConnectionId)
{
vpnConnectionId_ = vpnConnectionId;
setCoreParameter("VpnConnectionId", vpnConnectionId);
setParameter("VpnConnectionId", vpnConnectionId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteVpnGatewayRequest;
DeleteVpnGatewayRequest::DeleteVpnGatewayRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteVpnGateway")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteVpnGatewayRequest::~DeleteVpnGatewayRequest()
{}
@@ -33,7 +35,7 @@ long DeleteVpnGatewayRequest::getResourceOwnerId()const
void DeleteVpnGatewayRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteVpnGatewayRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string DeleteVpnGatewayRequest::getClientToken()const
void DeleteVpnGatewayRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string DeleteVpnGatewayRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string DeleteVpnGatewayRequest::getRegionId()const
void DeleteVpnGatewayRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteVpnGatewayRequest::getResourceOwnerAccount()const
@@ -66,7 +68,7 @@ std::string DeleteVpnGatewayRequest::getResourceOwnerAccount()const
void DeleteVpnGatewayRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteVpnGatewayRequest::getOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteVpnGatewayRequest::getOwnerAccount()const
void DeleteVpnGatewayRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
std::string DeleteVpnGatewayRequest::getVpnGatewayId()const
@@ -88,7 +90,7 @@ std::string DeleteVpnGatewayRequest::getVpnGatewayId()const
void DeleteVpnGatewayRequest::setVpnGatewayId(const std::string& vpnGatewayId)
{
vpnGatewayId_ = vpnGatewayId;
setCoreParameter("VpnGatewayId", vpnGatewayId);
setParameter("VpnGatewayId", vpnGatewayId);
}
long DeleteVpnGatewayRequest::getOwnerId()const
@@ -99,6 +101,6 @@ long DeleteVpnGatewayRequest::getOwnerId()const
void DeleteVpnGatewayRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteVpnPbrRouteEntryRequest;
DeleteVpnPbrRouteEntryRequest::DeleteVpnPbrRouteEntryRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteVpnPbrRouteEntry")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteVpnPbrRouteEntryRequest::~DeleteVpnPbrRouteEntryRequest()
{}
@@ -33,7 +35,7 @@ std::string DeleteVpnPbrRouteEntryRequest::getRouteSource()const
void DeleteVpnPbrRouteEntryRequest::setRouteSource(const std::string& routeSource)
{
routeSource_ = routeSource;
setCoreParameter("RouteSource", routeSource);
setParameter("RouteSource", routeSource);
}
long DeleteVpnPbrRouteEntryRequest::getResourceOwnerId()const
@@ -44,7 +46,7 @@ long DeleteVpnPbrRouteEntryRequest::getResourceOwnerId()const
void DeleteVpnPbrRouteEntryRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteVpnPbrRouteEntryRequest::getClientToken()const
@@ -55,7 +57,7 @@ std::string DeleteVpnPbrRouteEntryRequest::getClientToken()const
void DeleteVpnPbrRouteEntryRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string DeleteVpnPbrRouteEntryRequest::getRegionId()const
@@ -66,7 +68,7 @@ std::string DeleteVpnPbrRouteEntryRequest::getRegionId()const
void DeleteVpnPbrRouteEntryRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteVpnPbrRouteEntryRequest::getResourceOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteVpnPbrRouteEntryRequest::getResourceOwnerAccount()const
void DeleteVpnPbrRouteEntryRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteVpnPbrRouteEntryRequest::getOwnerAccount()const
@@ -88,7 +90,7 @@ std::string DeleteVpnPbrRouteEntryRequest::getOwnerAccount()const
void DeleteVpnPbrRouteEntryRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
int DeleteVpnPbrRouteEntryRequest::getWeight()const
@@ -99,7 +101,7 @@ int DeleteVpnPbrRouteEntryRequest::getWeight()const
void DeleteVpnPbrRouteEntryRequest::setWeight(int weight)
{
weight_ = weight;
setCoreParameter("Weight", std::to_string(weight));
setParameter("Weight", std::to_string(weight));
}
std::string DeleteVpnPbrRouteEntryRequest::getVpnGatewayId()const
@@ -110,7 +112,7 @@ std::string DeleteVpnPbrRouteEntryRequest::getVpnGatewayId()const
void DeleteVpnPbrRouteEntryRequest::setVpnGatewayId(const std::string& vpnGatewayId)
{
vpnGatewayId_ = vpnGatewayId;
setCoreParameter("VpnGatewayId", vpnGatewayId);
setParameter("VpnGatewayId", vpnGatewayId);
}
long DeleteVpnPbrRouteEntryRequest::getOwnerId()const
@@ -121,7 +123,7 @@ long DeleteVpnPbrRouteEntryRequest::getOwnerId()const
void DeleteVpnPbrRouteEntryRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeleteVpnPbrRouteEntryRequest::getRouteDest()const
@@ -132,7 +134,7 @@ std::string DeleteVpnPbrRouteEntryRequest::getRouteDest()const
void DeleteVpnPbrRouteEntryRequest::setRouteDest(const std::string& routeDest)
{
routeDest_ = routeDest;
setCoreParameter("RouteDest", routeDest);
setParameter("RouteDest", routeDest);
}
std::string DeleteVpnPbrRouteEntryRequest::getNextHop()const
@@ -143,7 +145,7 @@ std::string DeleteVpnPbrRouteEntryRequest::getNextHop()const
void DeleteVpnPbrRouteEntryRequest::setNextHop(const std::string& nextHop)
{
nextHop_ = nextHop;
setCoreParameter("NextHop", nextHop);
setParameter("NextHop", nextHop);
}
std::string DeleteVpnPbrRouteEntryRequest::getOverlayMode()const
@@ -154,6 +156,6 @@ std::string DeleteVpnPbrRouteEntryRequest::getOverlayMode()const
void DeleteVpnPbrRouteEntryRequest::setOverlayMode(const std::string& overlayMode)
{
overlayMode_ = overlayMode;
setCoreParameter("OverlayMode", overlayMode);
setParameter("OverlayMode", overlayMode);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeleteVpnRouteEntryRequest;
DeleteVpnRouteEntryRequest::DeleteVpnRouteEntryRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeleteVpnRouteEntry")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeleteVpnRouteEntryRequest::~DeleteVpnRouteEntryRequest()
{}
@@ -33,7 +35,7 @@ long DeleteVpnRouteEntryRequest::getResourceOwnerId()const
void DeleteVpnRouteEntryRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteVpnRouteEntryRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string DeleteVpnRouteEntryRequest::getClientToken()const
void DeleteVpnRouteEntryRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
std::string DeleteVpnRouteEntryRequest::getRegionId()const
@@ -55,7 +57,7 @@ std::string DeleteVpnRouteEntryRequest::getRegionId()const
void DeleteVpnRouteEntryRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeleteVpnRouteEntryRequest::getResourceOwnerAccount()const
@@ -66,7 +68,7 @@ std::string DeleteVpnRouteEntryRequest::getResourceOwnerAccount()const
void DeleteVpnRouteEntryRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteVpnRouteEntryRequest::getOwnerAccount()const
@@ -77,7 +79,7 @@ std::string DeleteVpnRouteEntryRequest::getOwnerAccount()const
void DeleteVpnRouteEntryRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
setParameter("OwnerAccount", ownerAccount);
}
int DeleteVpnRouteEntryRequest::getWeight()const
@@ -88,7 +90,7 @@ int DeleteVpnRouteEntryRequest::getWeight()const
void DeleteVpnRouteEntryRequest::setWeight(int weight)
{
weight_ = weight;
setCoreParameter("Weight", std::to_string(weight));
setParameter("Weight", std::to_string(weight));
}
std::string DeleteVpnRouteEntryRequest::getVpnGatewayId()const
@@ -99,7 +101,7 @@ std::string DeleteVpnRouteEntryRequest::getVpnGatewayId()const
void DeleteVpnRouteEntryRequest::setVpnGatewayId(const std::string& vpnGatewayId)
{
vpnGatewayId_ = vpnGatewayId;
setCoreParameter("VpnGatewayId", vpnGatewayId);
setParameter("VpnGatewayId", vpnGatewayId);
}
long DeleteVpnRouteEntryRequest::getOwnerId()const
@@ -110,7 +112,7 @@ long DeleteVpnRouteEntryRequest::getOwnerId()const
void DeleteVpnRouteEntryRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeleteVpnRouteEntryRequest::getRouteDest()const
@@ -121,7 +123,7 @@ std::string DeleteVpnRouteEntryRequest::getRouteDest()const
void DeleteVpnRouteEntryRequest::setRouteDest(const std::string& routeDest)
{
routeDest_ = routeDest;
setCoreParameter("RouteDest", routeDest);
setParameter("RouteDest", routeDest);
}
std::string DeleteVpnRouteEntryRequest::getNextHop()const
@@ -132,7 +134,7 @@ std::string DeleteVpnRouteEntryRequest::getNextHop()const
void DeleteVpnRouteEntryRequest::setNextHop(const std::string& nextHop)
{
nextHop_ = nextHop;
setCoreParameter("NextHop", nextHop);
setParameter("NextHop", nextHop);
}
std::string DeleteVpnRouteEntryRequest::getOverlayMode()const
@@ -143,6 +145,6 @@ std::string DeleteVpnRouteEntryRequest::getOverlayMode()const
void DeleteVpnRouteEntryRequest::setOverlayMode(const std::string& overlayMode)
{
overlayMode_ = overlayMode;
setCoreParameter("OverlayMode", overlayMode);
setParameter("OverlayMode", overlayMode);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Vpc::Model::DeletionProtectionRequest;
DeletionProtectionRequest::DeletionProtectionRequest() :
RpcServiceRequest("vpc", "2016-04-28", "DeletionProtection")
{}
{
setMethod(HttpRequest::Method::Post);
}
DeletionProtectionRequest::~DeletionProtectionRequest()
{}
@@ -33,7 +35,7 @@ long DeletionProtectionRequest::getResourceOwnerId()const
void DeletionProtectionRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeletionProtectionRequest::getClientToken()const
@@ -44,7 +46,7 @@ std::string DeletionProtectionRequest::getClientToken()const
void DeletionProtectionRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
setParameter("ClientToken", clientToken);
}
bool DeletionProtectionRequest::getProtectionEnable()const
@@ -55,7 +57,7 @@ bool DeletionProtectionRequest::getProtectionEnable()const
void DeletionProtectionRequest::setProtectionEnable(bool protectionEnable)
{
protectionEnable_ = protectionEnable;
setCoreParameter("ProtectionEnable", protectionEnable ? "true" : "false");
setParameter("ProtectionEnable", protectionEnable ? "true" : "false");
}
std::string DeletionProtectionRequest::getType()const
@@ -66,7 +68,7 @@ std::string DeletionProtectionRequest::getType()const
void DeletionProtectionRequest::setType(const std::string& type)
{
type_ = type;
setCoreParameter("Type", type);
setParameter("Type", type);
}
std::string DeletionProtectionRequest::getRegionId()const
@@ -77,7 +79,7 @@ std::string DeletionProtectionRequest::getRegionId()const
void DeletionProtectionRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
setParameter("RegionId", regionId);
}
std::string DeletionProtectionRequest::getResourceOwnerAccount()const
@@ -88,7 +90,7 @@ std::string DeletionProtectionRequest::getResourceOwnerAccount()const
void DeletionProtectionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
long DeletionProtectionRequest::getOwnerId()const
@@ -99,7 +101,7 @@ long DeletionProtectionRequest::getOwnerId()const
void DeletionProtectionRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeletionProtectionRequest::getInstanceId()const
@@ -110,6 +112,6 @@ std::string DeletionProtectionRequest::getInstanceId()const
void DeletionProtectionRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
setParameter("InstanceId", instanceId);
}

Some files were not shown because too many files have changed in this diff Show More