update Vpc module
This commit is contained in:
@@ -311,6 +311,42 @@ VpcClient::DescribeGlobalAccelerationInstancesOutcomeCallable VpcClient::describ
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VpcClient::ModifySslVpnClientCertOutcome VpcClient::modifySslVpnClientCert(const ModifySslVpnClientCertRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifySslVpnClientCertOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifySslVpnClientCertOutcome(ModifySslVpnClientCertResult(outcome.result()));
|
||||
else
|
||||
return ModifySslVpnClientCertOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void VpcClient::modifySslVpnClientCertAsync(const ModifySslVpnClientCertRequest& request, const ModifySslVpnClientCertAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifySslVpnClientCert(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
VpcClient::ModifySslVpnClientCertOutcomeCallable VpcClient::modifySslVpnClientCertCallable(const ModifySslVpnClientCertRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifySslVpnClientCertOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifySslVpnClientCert(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VpcClient::DeleteVpcOutcome VpcClient::deleteVpc(const DeleteVpcRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpoint();
|
||||
@@ -779,6 +815,42 @@ VpcClient::ActivateRouterInterfaceOutcomeCallable VpcClient::activateRouterInter
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VpcClient::DeleteSslVpnServerOutcome VpcClient::deleteSslVpnServer(const DeleteSslVpnServerRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteSslVpnServerOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteSslVpnServerOutcome(DeleteSslVpnServerResult(outcome.result()));
|
||||
else
|
||||
return DeleteSslVpnServerOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void VpcClient::deleteSslVpnServerAsync(const DeleteSslVpnServerRequest& request, const DeleteSslVpnServerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteSslVpnServer(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
VpcClient::DeleteSslVpnServerOutcomeCallable VpcClient::deleteSslVpnServerCallable(const DeleteSslVpnServerRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteSslVpnServerOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteSslVpnServer(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VpcClient::DeleteBandwidthPackageOutcome VpcClient::deleteBandwidthPackage(const DeleteBandwidthPackageRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpoint();
|
||||
@@ -1139,6 +1211,42 @@ VpcClient::UnassociateEipAddressOutcomeCallable VpcClient::unassociateEipAddress
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VpcClient::DescribeSslVpnClientCertsOutcome VpcClient::describeSslVpnClientCerts(const DescribeSslVpnClientCertsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeSslVpnClientCertsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeSslVpnClientCertsOutcome(DescribeSslVpnClientCertsResult(outcome.result()));
|
||||
else
|
||||
return DescribeSslVpnClientCertsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void VpcClient::describeSslVpnClientCertsAsync(const DescribeSslVpnClientCertsRequest& request, const DescribeSslVpnClientCertsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeSslVpnClientCerts(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
VpcClient::DescribeSslVpnClientCertsOutcomeCallable VpcClient::describeSslVpnClientCertsCallable(const DescribeSslVpnClientCertsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeSslVpnClientCertsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeSslVpnClientCerts(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VpcClient::DescribeVpnConnectionOutcome VpcClient::describeVpnConnection(const DescribeVpnConnectionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpoint();
|
||||
@@ -1283,6 +1391,42 @@ VpcClient::DeleteRouterInterfaceOutcomeCallable VpcClient::deleteRouterInterface
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VpcClient::CreateSslVpnServerOutcome VpcClient::createSslVpnServer(const CreateSslVpnServerRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateSslVpnServerOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateSslVpnServerOutcome(CreateSslVpnServerResult(outcome.result()));
|
||||
else
|
||||
return CreateSslVpnServerOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void VpcClient::createSslVpnServerAsync(const CreateSslVpnServerRequest& request, const CreateSslVpnServerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createSslVpnServer(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
VpcClient::CreateSslVpnServerOutcomeCallable VpcClient::createSslVpnServerCallable(const CreateSslVpnServerRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateSslVpnServerOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createSslVpnServer(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VpcClient::DescribeBandwidthPackagePublicIpMonitorDataOutcome VpcClient::describeBandwidthPackagePublicIpMonitorData(const DescribeBandwidthPackagePublicIpMonitorDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpoint();
|
||||
@@ -1607,6 +1751,42 @@ VpcClient::AddBgpNetworkOutcomeCallable VpcClient::addBgpNetworkCallable(const A
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VpcClient::ModifySslVpnServerOutcome VpcClient::modifySslVpnServer(const ModifySslVpnServerRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifySslVpnServerOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifySslVpnServerOutcome(ModifySslVpnServerResult(outcome.result()));
|
||||
else
|
||||
return ModifySslVpnServerOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void VpcClient::modifySslVpnServerAsync(const ModifySslVpnServerRequest& request, const ModifySslVpnServerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifySslVpnServer(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
VpcClient::ModifySslVpnServerOutcomeCallable VpcClient::modifySslVpnServerCallable(const ModifySslVpnServerRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifySslVpnServerOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifySslVpnServer(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VpcClient::DescribeVpnConnectionsOutcome VpcClient::describeVpnConnections(const DescribeVpnConnectionsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpoint();
|
||||
@@ -2615,42 +2795,6 @@ VpcClient::ModifyNatGatewaySpecOutcomeCallable VpcClient::modifyNatGatewaySpecCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VpcClient::GrantInstanceToCbnOutcome VpcClient::grantInstanceToCbn(const GrantInstanceToCbnRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GrantInstanceToCbnOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GrantInstanceToCbnOutcome(GrantInstanceToCbnResult(outcome.result()));
|
||||
else
|
||||
return GrantInstanceToCbnOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void VpcClient::grantInstanceToCbnAsync(const GrantInstanceToCbnRequest& request, const GrantInstanceToCbnAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, grantInstanceToCbn(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
VpcClient::GrantInstanceToCbnOutcomeCallable VpcClient::grantInstanceToCbnCallable(const GrantInstanceToCbnRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GrantInstanceToCbnOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->grantInstanceToCbn(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VpcClient::DescribeBgpGroupsOutcome VpcClient::describeBgpGroups(const DescribeBgpGroupsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpoint();
|
||||
@@ -2759,6 +2903,42 @@ VpcClient::ModifyVpcAttributeOutcomeCallable VpcClient::modifyVpcAttributeCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VpcClient::DeleteSslVpnClientCertOutcome VpcClient::deleteSslVpnClientCert(const DeleteSslVpnClientCertRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteSslVpnClientCertOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteSslVpnClientCertOutcome(DeleteSslVpnClientCertResult(outcome.result()));
|
||||
else
|
||||
return DeleteSslVpnClientCertOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void VpcClient::deleteSslVpnClientCertAsync(const DeleteSslVpnClientCertRequest& request, const DeleteSslVpnClientCertAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteSslVpnClientCert(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
VpcClient::DeleteSslVpnClientCertOutcomeCallable VpcClient::deleteSslVpnClientCertCallable(const DeleteSslVpnClientCertRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteSslVpnClientCertOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteSslVpnClientCert(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VpcClient::CreateVSwitchOutcome VpcClient::createVSwitch(const CreateVSwitchRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpoint();
|
||||
@@ -3263,6 +3443,42 @@ VpcClient::DescribeAccessPointsOutcomeCallable VpcClient::describeAccessPointsCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VpcClient::CreateSslVpnClientCertOutcome VpcClient::createSslVpnClientCert(const CreateSslVpnClientCertRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateSslVpnClientCertOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateSslVpnClientCertOutcome(CreateSslVpnClientCertResult(outcome.result()));
|
||||
else
|
||||
return CreateSslVpnClientCertOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void VpcClient::createSslVpnClientCertAsync(const CreateSslVpnClientCertRequest& request, const CreateSslVpnClientCertAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createSslVpnClientCert(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
VpcClient::CreateSslVpnClientCertOutcomeCallable VpcClient::createSslVpnClientCertCallable(const CreateSslVpnClientCertRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateSslVpnClientCertOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createSslVpnClientCert(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VpcClient::CreateVirtualBorderRouterOutcome VpcClient::createVirtualBorderRouter(const CreateVirtualBorderRouterRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpoint();
|
||||
@@ -3731,42 +3947,6 @@ VpcClient::ModifyRouterInterfaceAttributeOutcomeCallable VpcClient::modifyRouter
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VpcClient::RevokeInstanceFromCbnOutcome VpcClient::revokeInstanceFromCbn(const RevokeInstanceFromCbnRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RevokeInstanceFromCbnOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RevokeInstanceFromCbnOutcome(RevokeInstanceFromCbnResult(outcome.result()));
|
||||
else
|
||||
return RevokeInstanceFromCbnOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void VpcClient::revokeInstanceFromCbnAsync(const RevokeInstanceFromCbnRequest& request, const RevokeInstanceFromCbnAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, revokeInstanceFromCbn(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
VpcClient::RevokeInstanceFromCbnOutcomeCallable VpcClient::revokeInstanceFromCbnCallable(const RevokeInstanceFromCbnRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RevokeInstanceFromCbnOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->revokeInstanceFromCbn(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VpcClient::DescribeVirtualBorderRoutersForPhysicalConnectionOutcome VpcClient::describeVirtualBorderRoutersForPhysicalConnection(const DescribeVirtualBorderRoutersForPhysicalConnectionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpoint();
|
||||
@@ -4307,42 +4487,6 @@ VpcClient::DescribeVpnGatewaysOutcomeCallable VpcClient::describeVpnGatewaysCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VpcClient::DescribeGrantRulesToCbnOutcome VpcClient::describeGrantRulesToCbn(const DescribeGrantRulesToCbnRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeGrantRulesToCbnOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeGrantRulesToCbnOutcome(DescribeGrantRulesToCbnResult(outcome.result()));
|
||||
else
|
||||
return DescribeGrantRulesToCbnOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void VpcClient::describeGrantRulesToCbnAsync(const DescribeGrantRulesToCbnRequest& request, const DescribeGrantRulesToCbnAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeGrantRulesToCbn(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
VpcClient::DescribeGrantRulesToCbnOutcomeCallable VpcClient::describeGrantRulesToCbnCallable(const DescribeGrantRulesToCbnRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeGrantRulesToCbnOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeGrantRulesToCbn(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VpcClient::DescribeVirtualBorderRoutersOutcome VpcClient::describeVirtualBorderRouters(const DescribeVirtualBorderRoutersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpoint();
|
||||
@@ -4631,6 +4775,42 @@ VpcClient::AllocateEipAddressOutcomeCallable VpcClient::allocateEipAddressCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VpcClient::DescribeSslVpnClientCertOutcome VpcClient::describeSslVpnClientCert(const DescribeSslVpnClientCertRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeSslVpnClientCertOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeSslVpnClientCertOutcome(DescribeSslVpnClientCertResult(outcome.result()));
|
||||
else
|
||||
return DescribeSslVpnClientCertOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void VpcClient::describeSslVpnClientCertAsync(const DescribeSslVpnClientCertRequest& request, const DescribeSslVpnClientCertAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeSslVpnClientCert(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
VpcClient::DescribeSslVpnClientCertOutcomeCallable VpcClient::describeSslVpnClientCertCallable(const DescribeSslVpnClientCertRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeSslVpnClientCertOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeSslVpnClientCert(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VpcClient::DescribeCommonBandwidthPackagesOutcome VpcClient::describeCommonBandwidthPackages(const DescribeCommonBandwidthPackagesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpoint();
|
||||
@@ -4775,6 +4955,42 @@ VpcClient::AssociateGlobalAccelerationInstanceOutcomeCallable VpcClient::associa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VpcClient::DescribeSslVpnServersOutcome VpcClient::describeSslVpnServers(const DescribeSslVpnServersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeSslVpnServersOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeSslVpnServersOutcome(DescribeSslVpnServersResult(outcome.result()));
|
||||
else
|
||||
return DescribeSslVpnServersOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void VpcClient::describeSslVpnServersAsync(const DescribeSslVpnServersRequest& request, const DescribeSslVpnServersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeSslVpnServers(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
VpcClient::DescribeSslVpnServersOutcomeCallable VpcClient::describeSslVpnServersCallable(const DescribeSslVpnServersRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeSslVpnServersOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeSslVpnServers(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VpcClient::ModifyVRouterAttributeOutcome VpcClient::modifyVRouterAttribute(const ModifyVRouterAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpoint();
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
/*
|
||||
* 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/VpcRequest.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
|
||||
VpcRequest::VpcRequest(const std::string & action) :
|
||||
RpcServiceRequest("vpc", "2016-04-28", action)
|
||||
{ }
|
||||
|
||||
VpcRequest::~VpcRequest()
|
||||
{ }
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/ActivateRouterInterfaceRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::ActivateRouterInterfaceRequest;
|
||||
|
||||
ActivateRouterInterfaceRequest::ActivateRouterInterfaceRequest() :
|
||||
VpcRequest("ActivateRouterInterface")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "ActivateRouterInterface")
|
||||
{}
|
||||
|
||||
ActivateRouterInterfaceRequest::~ActivateRouterInterfaceRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/AddBandwidthPackageIpsRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::AddBandwidthPackageIpsRequest;
|
||||
|
||||
AddBandwidthPackageIpsRequest::AddBandwidthPackageIpsRequest() :
|
||||
VpcRequest("AddBandwidthPackageIps")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "AddBandwidthPackageIps")
|
||||
{}
|
||||
|
||||
AddBandwidthPackageIpsRequest::~AddBandwidthPackageIpsRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/AddBgpNetworkRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::AddBgpNetworkRequest;
|
||||
|
||||
AddBgpNetworkRequest::AddBgpNetworkRequest() :
|
||||
VpcRequest("AddBgpNetwork")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "AddBgpNetwork")
|
||||
{}
|
||||
|
||||
AddBgpNetworkRequest::~AddBgpNetworkRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/AddCommonBandwidthPackageIpRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::AddCommonBandwidthPackageIpRequest;
|
||||
|
||||
AddCommonBandwidthPackageIpRequest::AddCommonBandwidthPackageIpRequest() :
|
||||
VpcRequest("AddCommonBandwidthPackageIp")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "AddCommonBandwidthPackageIp")
|
||||
{}
|
||||
|
||||
AddCommonBandwidthPackageIpRequest::~AddCommonBandwidthPackageIpRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/AddGlobalAccelerationInstanceIpRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::AddGlobalAccelerationInstanceIpRequest;
|
||||
|
||||
AddGlobalAccelerationInstanceIpRequest::AddGlobalAccelerationInstanceIpRequest() :
|
||||
VpcRequest("AddGlobalAccelerationInstanceIp")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "AddGlobalAccelerationInstanceIp")
|
||||
{}
|
||||
|
||||
AddGlobalAccelerationInstanceIpRequest::~AddGlobalAccelerationInstanceIpRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/AllocateEipAddressRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::AllocateEipAddressRequest;
|
||||
|
||||
AllocateEipAddressRequest::AllocateEipAddressRequest() :
|
||||
VpcRequest("AllocateEipAddress")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "AllocateEipAddress")
|
||||
{}
|
||||
|
||||
AllocateEipAddressRequest::~AllocateEipAddressRequest()
|
||||
|
||||
@@ -40,9 +40,12 @@ void AllocateEipAddressResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
allocationId_ = value["AllocationId"].asString();
|
||||
eipAddress_ = value["EipAddress"].asString();
|
||||
orderId_ = std::stol(value["OrderId"].asString());
|
||||
if(!value["AllocationId"].isNull())
|
||||
allocationId_ = value["AllocationId"].asString();
|
||||
if(!value["EipAddress"].isNull())
|
||||
eipAddress_ = value["EipAddress"].asString();
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = std::stol(value["OrderId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -51,28 +54,13 @@ std::string AllocateEipAddressResult::getAllocationId()const
|
||||
return allocationId_;
|
||||
}
|
||||
|
||||
void AllocateEipAddressResult::setAllocationId(const std::string& allocationId)
|
||||
{
|
||||
allocationId_ = allocationId;
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressResult::getEipAddress()const
|
||||
{
|
||||
return eipAddress_;
|
||||
}
|
||||
|
||||
void AllocateEipAddressResult::setEipAddress(const std::string& eipAddress)
|
||||
{
|
||||
eipAddress_ = eipAddress;
|
||||
}
|
||||
|
||||
long AllocateEipAddressResult::getOrderId()const
|
||||
{
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void AllocateEipAddressResult::setOrderId(long orderId)
|
||||
{
|
||||
orderId_ = orderId;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/AssociateEipAddressRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::AssociateEipAddressRequest;
|
||||
|
||||
AssociateEipAddressRequest::AssociateEipAddressRequest() :
|
||||
VpcRequest("AssociateEipAddress")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "AssociateEipAddress")
|
||||
{}
|
||||
|
||||
AssociateEipAddressRequest::~AssociateEipAddressRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/AssociateGlobalAccelerationInstanceRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::AssociateGlobalAccelerationInstanceRequest;
|
||||
|
||||
AssociateGlobalAccelerationInstanceRequest::AssociateGlobalAccelerationInstanceRequest() :
|
||||
VpcRequest("AssociateGlobalAccelerationInstance")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "AssociateGlobalAccelerationInstance")
|
||||
{}
|
||||
|
||||
AssociateGlobalAccelerationInstanceRequest::~AssociateGlobalAccelerationInstanceRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/AssociateHaVipRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::AssociateHaVipRequest;
|
||||
|
||||
AssociateHaVipRequest::AssociateHaVipRequest() :
|
||||
VpcRequest("AssociateHaVip")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "AssociateHaVip")
|
||||
{}
|
||||
|
||||
AssociateHaVipRequest::~AssociateHaVipRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/AssociatePhysicalConnectionToVirtualBorderRouterRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::AssociatePhysicalConnectionToVirtualBorderRouterRequest;
|
||||
|
||||
AssociatePhysicalConnectionToVirtualBorderRouterRequest::AssociatePhysicalConnectionToVirtualBorderRouterRequest() :
|
||||
VpcRequest("AssociatePhysicalConnectionToVirtualBorderRouter")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "AssociatePhysicalConnectionToVirtualBorderRouter")
|
||||
{}
|
||||
|
||||
AssociatePhysicalConnectionToVirtualBorderRouterRequest::~AssociatePhysicalConnectionToVirtualBorderRouterRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/CancelPhysicalConnectionRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::CancelPhysicalConnectionRequest;
|
||||
|
||||
CancelPhysicalConnectionRequest::CancelPhysicalConnectionRequest() :
|
||||
VpcRequest("CancelPhysicalConnection")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "CancelPhysicalConnection")
|
||||
{}
|
||||
|
||||
CancelPhysicalConnectionRequest::~CancelPhysicalConnectionRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/ConnectRouterInterfaceRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::ConnectRouterInterfaceRequest;
|
||||
|
||||
ConnectRouterInterfaceRequest::ConnectRouterInterfaceRequest() :
|
||||
VpcRequest("ConnectRouterInterface")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "ConnectRouterInterface")
|
||||
{}
|
||||
|
||||
ConnectRouterInterfaceRequest::~ConnectRouterInterfaceRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/CreateBandwidthPackageRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::CreateBandwidthPackageRequest;
|
||||
|
||||
CreateBandwidthPackageRequest::CreateBandwidthPackageRequest() :
|
||||
VpcRequest("CreateBandwidthPackage")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "CreateBandwidthPackage")
|
||||
{}
|
||||
|
||||
CreateBandwidthPackageRequest::~CreateBandwidthPackageRequest()
|
||||
|
||||
@@ -40,7 +40,8 @@ void CreateBandwidthPackageResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
bandwidthPackageId_ = value["BandwidthPackageId"].asString();
|
||||
if(!value["BandwidthPackageId"].isNull())
|
||||
bandwidthPackageId_ = value["BandwidthPackageId"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -49,8 +50,3 @@ std::string CreateBandwidthPackageResult::getBandwidthPackageId()const
|
||||
return bandwidthPackageId_;
|
||||
}
|
||||
|
||||
void CreateBandwidthPackageResult::setBandwidthPackageId(const std::string& bandwidthPackageId)
|
||||
{
|
||||
bandwidthPackageId_ = bandwidthPackageId;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/CreateBgpGroupRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::CreateBgpGroupRequest;
|
||||
|
||||
CreateBgpGroupRequest::CreateBgpGroupRequest() :
|
||||
VpcRequest("CreateBgpGroup")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "CreateBgpGroup")
|
||||
{}
|
||||
|
||||
CreateBgpGroupRequest::~CreateBgpGroupRequest()
|
||||
|
||||
@@ -40,7 +40,8 @@ void CreateBgpGroupResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
bgpGroupId_ = value["BgpGroupId"].asString();
|
||||
if(!value["BgpGroupId"].isNull())
|
||||
bgpGroupId_ = value["BgpGroupId"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -49,8 +50,3 @@ std::string CreateBgpGroupResult::getBgpGroupId()const
|
||||
return bgpGroupId_;
|
||||
}
|
||||
|
||||
void CreateBgpGroupResult::setBgpGroupId(const std::string& bgpGroupId)
|
||||
{
|
||||
bgpGroupId_ = bgpGroupId;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/CreateBgpPeerRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::CreateBgpPeerRequest;
|
||||
|
||||
CreateBgpPeerRequest::CreateBgpPeerRequest() :
|
||||
VpcRequest("CreateBgpPeer")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "CreateBgpPeer")
|
||||
{}
|
||||
|
||||
CreateBgpPeerRequest::~CreateBgpPeerRequest()
|
||||
|
||||
@@ -40,7 +40,8 @@ void CreateBgpPeerResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
bgpPeerId_ = value["BgpPeerId"].asString();
|
||||
if(!value["BgpPeerId"].isNull())
|
||||
bgpPeerId_ = value["BgpPeerId"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -49,8 +50,3 @@ std::string CreateBgpPeerResult::getBgpPeerId()const
|
||||
return bgpPeerId_;
|
||||
}
|
||||
|
||||
void CreateBgpPeerResult::setBgpPeerId(const std::string& bgpPeerId)
|
||||
{
|
||||
bgpPeerId_ = bgpPeerId;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/CreateCommonBandwidthPackageRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::CreateCommonBandwidthPackageRequest;
|
||||
|
||||
CreateCommonBandwidthPackageRequest::CreateCommonBandwidthPackageRequest() :
|
||||
VpcRequest("CreateCommonBandwidthPackage")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "CreateCommonBandwidthPackage")
|
||||
{}
|
||||
|
||||
CreateCommonBandwidthPackageRequest::~CreateCommonBandwidthPackageRequest()
|
||||
|
||||
@@ -40,7 +40,8 @@ void CreateCommonBandwidthPackageResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
bandwidthPackageId_ = value["BandwidthPackageId"].asString();
|
||||
if(!value["BandwidthPackageId"].isNull())
|
||||
bandwidthPackageId_ = value["BandwidthPackageId"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -49,8 +50,3 @@ std::string CreateCommonBandwidthPackageResult::getBandwidthPackageId()const
|
||||
return bandwidthPackageId_;
|
||||
}
|
||||
|
||||
void CreateCommonBandwidthPackageResult::setBandwidthPackageId(const std::string& bandwidthPackageId)
|
||||
{
|
||||
bandwidthPackageId_ = bandwidthPackageId;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/CreateCustomerGatewayRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::CreateCustomerGatewayRequest;
|
||||
|
||||
CreateCustomerGatewayRequest::CreateCustomerGatewayRequest() :
|
||||
VpcRequest("CreateCustomerGateway")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "CreateCustomerGateway")
|
||||
{}
|
||||
|
||||
CreateCustomerGatewayRequest::~CreateCustomerGatewayRequest()
|
||||
|
||||
@@ -40,11 +40,16 @@ void CreateCustomerGatewayResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
customerGatewayId_ = value["CustomerGatewayId"].asString();
|
||||
ipAddress_ = value["IpAddress"].asString();
|
||||
name_ = value["Name"].asString();
|
||||
description_ = value["Description"].asString();
|
||||
createTime_ = std::stol(value["CreateTime"].asString());
|
||||
if(!value["CustomerGatewayId"].isNull())
|
||||
customerGatewayId_ = value["CustomerGatewayId"].asString();
|
||||
if(!value["IpAddress"].isNull())
|
||||
ipAddress_ = value["IpAddress"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
name_ = value["Name"].asString();
|
||||
if(!value["Description"].isNull())
|
||||
description_ = value["Description"].asString();
|
||||
if(!value["CreateTime"].isNull())
|
||||
createTime_ = std::stol(value["CreateTime"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -53,48 +58,23 @@ std::string CreateCustomerGatewayResult::getDescription()const
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateCustomerGatewayResult::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
}
|
||||
|
||||
std::string CreateCustomerGatewayResult::getCustomerGatewayId()const
|
||||
{
|
||||
return customerGatewayId_;
|
||||
}
|
||||
|
||||
void CreateCustomerGatewayResult::setCustomerGatewayId(const std::string& customerGatewayId)
|
||||
{
|
||||
customerGatewayId_ = customerGatewayId;
|
||||
}
|
||||
|
||||
long CreateCustomerGatewayResult::getCreateTime()const
|
||||
{
|
||||
return createTime_;
|
||||
}
|
||||
|
||||
void CreateCustomerGatewayResult::setCreateTime(long createTime)
|
||||
{
|
||||
createTime_ = createTime;
|
||||
}
|
||||
|
||||
std::string CreateCustomerGatewayResult::getIpAddress()const
|
||||
{
|
||||
return ipAddress_;
|
||||
}
|
||||
|
||||
void CreateCustomerGatewayResult::setIpAddress(const std::string& ipAddress)
|
||||
{
|
||||
ipAddress_ = ipAddress;
|
||||
}
|
||||
|
||||
std::string CreateCustomerGatewayResult::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateCustomerGatewayResult::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/CreateForwardEntryRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::CreateForwardEntryRequest;
|
||||
|
||||
CreateForwardEntryRequest::CreateForwardEntryRequest() :
|
||||
VpcRequest("CreateForwardEntry")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "CreateForwardEntry")
|
||||
{}
|
||||
|
||||
CreateForwardEntryRequest::~CreateForwardEntryRequest()
|
||||
|
||||
@@ -40,7 +40,8 @@ void CreateForwardEntryResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
forwardEntryId_ = value["ForwardEntryId"].asString();
|
||||
if(!value["ForwardEntryId"].isNull())
|
||||
forwardEntryId_ = value["ForwardEntryId"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -49,8 +50,3 @@ std::string CreateForwardEntryResult::getForwardEntryId()const
|
||||
return forwardEntryId_;
|
||||
}
|
||||
|
||||
void CreateForwardEntryResult::setForwardEntryId(const std::string& forwardEntryId)
|
||||
{
|
||||
forwardEntryId_ = forwardEntryId;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/CreateGlobalAccelerationInstanceRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::CreateGlobalAccelerationInstanceRequest;
|
||||
|
||||
CreateGlobalAccelerationInstanceRequest::CreateGlobalAccelerationInstanceRequest() :
|
||||
VpcRequest("CreateGlobalAccelerationInstance")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "CreateGlobalAccelerationInstance")
|
||||
{}
|
||||
|
||||
CreateGlobalAccelerationInstanceRequest::~CreateGlobalAccelerationInstanceRequest()
|
||||
|
||||
@@ -40,8 +40,10 @@ void CreateGlobalAccelerationInstanceResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
globalAccelerationInstanceId_ = value["GlobalAccelerationInstanceId"].asString();
|
||||
ipAddress_ = value["IpAddress"].asString();
|
||||
if(!value["GlobalAccelerationInstanceId"].isNull())
|
||||
globalAccelerationInstanceId_ = value["GlobalAccelerationInstanceId"].asString();
|
||||
if(!value["IpAddress"].isNull())
|
||||
ipAddress_ = value["IpAddress"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -50,18 +52,8 @@ std::string CreateGlobalAccelerationInstanceResult::getIpAddress()const
|
||||
return ipAddress_;
|
||||
}
|
||||
|
||||
void CreateGlobalAccelerationInstanceResult::setIpAddress(const std::string& ipAddress)
|
||||
{
|
||||
ipAddress_ = ipAddress;
|
||||
}
|
||||
|
||||
std::string CreateGlobalAccelerationInstanceResult::getGlobalAccelerationInstanceId()const
|
||||
{
|
||||
return globalAccelerationInstanceId_;
|
||||
}
|
||||
|
||||
void CreateGlobalAccelerationInstanceResult::setGlobalAccelerationInstanceId(const std::string& globalAccelerationInstanceId)
|
||||
{
|
||||
globalAccelerationInstanceId_ = globalAccelerationInstanceId;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/CreateHaVipRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::CreateHaVipRequest;
|
||||
|
||||
CreateHaVipRequest::CreateHaVipRequest() :
|
||||
VpcRequest("CreateHaVip")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "CreateHaVip")
|
||||
{}
|
||||
|
||||
CreateHaVipRequest::~CreateHaVipRequest()
|
||||
|
||||
@@ -40,7 +40,8 @@ void CreateHaVipResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
haVipId_ = value["HaVipId"].asString();
|
||||
if(!value["HaVipId"].isNull())
|
||||
haVipId_ = value["HaVipId"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -49,8 +50,3 @@ std::string CreateHaVipResult::getHaVipId()const
|
||||
return haVipId_;
|
||||
}
|
||||
|
||||
void CreateHaVipResult::setHaVipId(const std::string& haVipId)
|
||||
{
|
||||
haVipId_ = haVipId;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/CreateNatGatewayRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::CreateNatGatewayRequest;
|
||||
|
||||
CreateNatGatewayRequest::CreateNatGatewayRequest() :
|
||||
VpcRequest("CreateNatGateway")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "CreateNatGateway")
|
||||
{}
|
||||
|
||||
CreateNatGatewayRequest::~CreateNatGatewayRequest()
|
||||
|
||||
@@ -49,7 +49,8 @@ void CreateNatGatewayResult::parse(const std::string &payload)
|
||||
auto allBandwidthPackageIds = value["BandwidthPackageIds"]["BandwidthPackageId"];
|
||||
for (const auto &item : allBandwidthPackageIds)
|
||||
bandwidthPackageIds_.push_back(item.asString());
|
||||
natGatewayId_ = value["NatGatewayId"].asString();
|
||||
if(!value["NatGatewayId"].isNull())
|
||||
natGatewayId_ = value["NatGatewayId"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -58,38 +59,18 @@ std::vector<std::string> CreateNatGatewayResult::getSnatTableIds()const
|
||||
return snatTableIds_;
|
||||
}
|
||||
|
||||
void CreateNatGatewayResult::setSnatTableIds(const std::vector<std::string>& snatTableIds)
|
||||
{
|
||||
snatTableIds_ = snatTableIds;
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateNatGatewayResult::getForwardTableIds()const
|
||||
{
|
||||
return forwardTableIds_;
|
||||
}
|
||||
|
||||
void CreateNatGatewayResult::setForwardTableIds(const std::vector<std::string>& forwardTableIds)
|
||||
{
|
||||
forwardTableIds_ = forwardTableIds;
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateNatGatewayResult::getBandwidthPackageIds()const
|
||||
{
|
||||
return bandwidthPackageIds_;
|
||||
}
|
||||
|
||||
void CreateNatGatewayResult::setBandwidthPackageIds(const std::vector<std::string>& bandwidthPackageIds)
|
||||
{
|
||||
bandwidthPackageIds_ = bandwidthPackageIds;
|
||||
}
|
||||
|
||||
std::string CreateNatGatewayResult::getNatGatewayId()const
|
||||
{
|
||||
return natGatewayId_;
|
||||
}
|
||||
|
||||
void CreateNatGatewayResult::setNatGatewayId(const std::string& natGatewayId)
|
||||
{
|
||||
natGatewayId_ = natGatewayId;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/CreateNqaRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::CreateNqaRequest;
|
||||
|
||||
CreateNqaRequest::CreateNqaRequest() :
|
||||
VpcRequest("CreateNqa")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "CreateNqa")
|
||||
{}
|
||||
|
||||
CreateNqaRequest::~CreateNqaRequest()
|
||||
|
||||
@@ -40,7 +40,8 @@ void CreateNqaResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
nqaId_ = value["NqaId"].asString();
|
||||
if(!value["NqaId"].isNull())
|
||||
nqaId_ = value["NqaId"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -49,8 +50,3 @@ std::string CreateNqaResult::getNqaId()const
|
||||
return nqaId_;
|
||||
}
|
||||
|
||||
void CreateNqaResult::setNqaId(const std::string& nqaId)
|
||||
{
|
||||
nqaId_ = nqaId;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/CreatePhysicalConnectionNewRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::CreatePhysicalConnectionNewRequest;
|
||||
|
||||
CreatePhysicalConnectionNewRequest::CreatePhysicalConnectionNewRequest() :
|
||||
VpcRequest("CreatePhysicalConnectionNew")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "CreatePhysicalConnectionNew")
|
||||
{}
|
||||
|
||||
CreatePhysicalConnectionNewRequest::~CreatePhysicalConnectionNewRequest()
|
||||
|
||||
@@ -40,7 +40,8 @@ void CreatePhysicalConnectionNewResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
physicalConnectionId_ = value["PhysicalConnectionId"].asString();
|
||||
if(!value["PhysicalConnectionId"].isNull())
|
||||
physicalConnectionId_ = value["PhysicalConnectionId"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -49,8 +50,3 @@ std::string CreatePhysicalConnectionNewResult::getPhysicalConnectionId()const
|
||||
return physicalConnectionId_;
|
||||
}
|
||||
|
||||
void CreatePhysicalConnectionNewResult::setPhysicalConnectionId(const std::string& physicalConnectionId)
|
||||
{
|
||||
physicalConnectionId_ = physicalConnectionId;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/CreatePhysicalConnectionRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::CreatePhysicalConnectionRequest;
|
||||
|
||||
CreatePhysicalConnectionRequest::CreatePhysicalConnectionRequest() :
|
||||
VpcRequest("CreatePhysicalConnection")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "CreatePhysicalConnection")
|
||||
{}
|
||||
|
||||
CreatePhysicalConnectionRequest::~CreatePhysicalConnectionRequest()
|
||||
|
||||
@@ -40,7 +40,8 @@ void CreatePhysicalConnectionResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
physicalConnectionId_ = value["PhysicalConnectionId"].asString();
|
||||
if(!value["PhysicalConnectionId"].isNull())
|
||||
physicalConnectionId_ = value["PhysicalConnectionId"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -49,8 +50,3 @@ std::string CreatePhysicalConnectionResult::getPhysicalConnectionId()const
|
||||
return physicalConnectionId_;
|
||||
}
|
||||
|
||||
void CreatePhysicalConnectionResult::setPhysicalConnectionId(const std::string& physicalConnectionId)
|
||||
{
|
||||
physicalConnectionId_ = physicalConnectionId;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/CreateRouteEntryRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::CreateRouteEntryRequest;
|
||||
|
||||
CreateRouteEntryRequest::CreateRouteEntryRequest() :
|
||||
VpcRequest("CreateRouteEntry")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "CreateRouteEntry")
|
||||
{}
|
||||
|
||||
CreateRouteEntryRequest::~CreateRouteEntryRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/CreateRouterInterfaceRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::CreateRouterInterfaceRequest;
|
||||
|
||||
CreateRouterInterfaceRequest::CreateRouterInterfaceRequest() :
|
||||
VpcRequest("CreateRouterInterface")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "CreateRouterInterface")
|
||||
{}
|
||||
|
||||
CreateRouterInterfaceRequest::~CreateRouterInterfaceRequest()
|
||||
|
||||
@@ -40,7 +40,8 @@ void CreateRouterInterfaceResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
routerInterfaceId_ = value["RouterInterfaceId"].asString();
|
||||
if(!value["RouterInterfaceId"].isNull())
|
||||
routerInterfaceId_ = value["RouterInterfaceId"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -49,8 +50,3 @@ std::string CreateRouterInterfaceResult::getRouterInterfaceId()const
|
||||
return routerInterfaceId_;
|
||||
}
|
||||
|
||||
void CreateRouterInterfaceResult::setRouterInterfaceId(const std::string& routerInterfaceId)
|
||||
{
|
||||
routerInterfaceId_ = routerInterfaceId;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/CreateSnatEntryRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::CreateSnatEntryRequest;
|
||||
|
||||
CreateSnatEntryRequest::CreateSnatEntryRequest() :
|
||||
VpcRequest("CreateSnatEntry")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "CreateSnatEntry")
|
||||
{}
|
||||
|
||||
CreateSnatEntryRequest::~CreateSnatEntryRequest()
|
||||
|
||||
@@ -40,7 +40,8 @@ void CreateSnatEntryResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
snatEntryId_ = value["SnatEntryId"].asString();
|
||||
if(!value["SnatEntryId"].isNull())
|
||||
snatEntryId_ = value["SnatEntryId"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -49,8 +50,3 @@ std::string CreateSnatEntryResult::getSnatEntryId()const
|
||||
return snatEntryId_;
|
||||
}
|
||||
|
||||
void CreateSnatEntryResult::setSnatEntryId(const std::string& snatEntryId)
|
||||
{
|
||||
snatEntryId_ = snatEntryId;
|
||||
}
|
||||
|
||||
|
||||
115
vpc/src/model/CreateSslVpnClientCertRequest.cc
Normal file
115
vpc/src/model/CreateSslVpnClientCertRequest.cc
Normal file
@@ -0,0 +1,115 @@
|
||||
/*
|
||||
* 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/CreateSslVpnClientCertRequest.h>
|
||||
|
||||
using AlibabaCloud::Vpc::Model::CreateSslVpnClientCertRequest;
|
||||
|
||||
CreateSslVpnClientCertRequest::CreateSslVpnClientCertRequest() :
|
||||
RpcServiceRequest("vpc", "2016-04-28", "CreateSslVpnClientCert")
|
||||
{}
|
||||
|
||||
CreateSslVpnClientCertRequest::~CreateSslVpnClientCertRequest()
|
||||
{}
|
||||
|
||||
std::string CreateSslVpnClientCertRequest::getSslVpnServerId()const
|
||||
{
|
||||
return sslVpnServerId_;
|
||||
}
|
||||
|
||||
void CreateSslVpnClientCertRequest::setSslVpnServerId(const std::string& sslVpnServerId)
|
||||
{
|
||||
sslVpnServerId_ = sslVpnServerId;
|
||||
setParameter("SslVpnServerId", sslVpnServerId);
|
||||
}
|
||||
|
||||
long CreateSslVpnClientCertRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateSslVpnClientCertRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateSslVpnClientCertRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateSslVpnClientCertRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateSslVpnClientCertRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateSslVpnClientCertRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateSslVpnClientCertRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateSslVpnClientCertRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateSslVpnClientCertRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateSslVpnClientCertRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateSslVpnClientCertRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateSslVpnClientCertRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
long CreateSslVpnClientCertRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateSslVpnClientCertRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
59
vpc/src/model/CreateSslVpnClientCertResult.cc
Normal file
59
vpc/src/model/CreateSslVpnClientCertResult.cc
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* 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/CreateSslVpnClientCertResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
|
||||
CreateSslVpnClientCertResult::CreateSslVpnClientCertResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateSslVpnClientCertResult::CreateSslVpnClientCertResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateSslVpnClientCertResult::~CreateSslVpnClientCertResult()
|
||||
{}
|
||||
|
||||
void CreateSslVpnClientCertResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Name"].isNull())
|
||||
name_ = value["Name"].asString();
|
||||
if(!value["SslVpnClientCertId"].isNull())
|
||||
sslVpnClientCertId_ = value["SslVpnClientCertId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateSslVpnClientCertResult::getSslVpnClientCertId()const
|
||||
{
|
||||
return sslVpnClientCertId_;
|
||||
}
|
||||
|
||||
std::string CreateSslVpnClientCertResult::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
181
vpc/src/model/CreateSslVpnServerRequest.cc
Normal file
181
vpc/src/model/CreateSslVpnServerRequest.cc
Normal file
@@ -0,0 +1,181 @@
|
||||
/*
|
||||
* 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/CreateSslVpnServerRequest.h>
|
||||
|
||||
using AlibabaCloud::Vpc::Model::CreateSslVpnServerRequest;
|
||||
|
||||
CreateSslVpnServerRequest::CreateSslVpnServerRequest() :
|
||||
RpcServiceRequest("vpc", "2016-04-28", "CreateSslVpnServer")
|
||||
{}
|
||||
|
||||
CreateSslVpnServerRequest::~CreateSslVpnServerRequest()
|
||||
{}
|
||||
|
||||
std::string CreateSslVpnServerRequest::getCipher()const
|
||||
{
|
||||
return cipher_;
|
||||
}
|
||||
|
||||
void CreateSslVpnServerRequest::setCipher(const std::string& cipher)
|
||||
{
|
||||
cipher_ = cipher;
|
||||
setParameter("Cipher", cipher);
|
||||
}
|
||||
|
||||
long CreateSslVpnServerRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateSslVpnServerRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateSslVpnServerRequest::getClientIpPool()const
|
||||
{
|
||||
return clientIpPool_;
|
||||
}
|
||||
|
||||
void CreateSslVpnServerRequest::setClientIpPool(const std::string& clientIpPool)
|
||||
{
|
||||
clientIpPool_ = clientIpPool;
|
||||
setParameter("ClientIpPool", clientIpPool);
|
||||
}
|
||||
|
||||
std::string CreateSslVpnServerRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateSslVpnServerRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateSslVpnServerRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateSslVpnServerRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
bool CreateSslVpnServerRequest::getCompress()const
|
||||
{
|
||||
return compress_;
|
||||
}
|
||||
|
||||
void CreateSslVpnServerRequest::setCompress(bool compress)
|
||||
{
|
||||
compress_ = compress;
|
||||
setParameter("Compress", std::to_string(compress));
|
||||
}
|
||||
|
||||
std::string CreateSslVpnServerRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateSslVpnServerRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateSslVpnServerRequest::getVpnGatewayId()const
|
||||
{
|
||||
return vpnGatewayId_;
|
||||
}
|
||||
|
||||
void CreateSslVpnServerRequest::setVpnGatewayId(const std::string& vpnGatewayId)
|
||||
{
|
||||
vpnGatewayId_ = vpnGatewayId;
|
||||
setParameter("VpnGatewayId", vpnGatewayId);
|
||||
}
|
||||
|
||||
long CreateSslVpnServerRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateSslVpnServerRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateSslVpnServerRequest::getLocalSubnet()const
|
||||
{
|
||||
return localSubnet_;
|
||||
}
|
||||
|
||||
void CreateSslVpnServerRequest::setLocalSubnet(const std::string& localSubnet)
|
||||
{
|
||||
localSubnet_ = localSubnet;
|
||||
setParameter("LocalSubnet", localSubnet);
|
||||
}
|
||||
|
||||
std::string CreateSslVpnServerRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateSslVpnServerRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
int CreateSslVpnServerRequest::getPort()const
|
||||
{
|
||||
return port_;
|
||||
}
|
||||
|
||||
void CreateSslVpnServerRequest::setPort(int port)
|
||||
{
|
||||
port_ = port;
|
||||
setParameter("Port", std::to_string(port));
|
||||
}
|
||||
|
||||
std::string CreateSslVpnServerRequest::getProto()const
|
||||
{
|
||||
return proto_;
|
||||
}
|
||||
|
||||
void CreateSslVpnServerRequest::setProto(const std::string& proto)
|
||||
{
|
||||
proto_ = proto;
|
||||
setParameter("Proto", proto);
|
||||
}
|
||||
|
||||
std::string CreateSslVpnServerRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateSslVpnServerRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
59
vpc/src/model/CreateSslVpnServerResult.cc
Normal file
59
vpc/src/model/CreateSslVpnServerResult.cc
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* 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/CreateSslVpnServerResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
|
||||
CreateSslVpnServerResult::CreateSslVpnServerResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateSslVpnServerResult::CreateSslVpnServerResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateSslVpnServerResult::~CreateSslVpnServerResult()
|
||||
{}
|
||||
|
||||
void CreateSslVpnServerResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["SslVpnServerId"].isNull())
|
||||
sslVpnServerId_ = value["SslVpnServerId"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
name_ = value["Name"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateSslVpnServerResult::getSslVpnServerId()const
|
||||
{
|
||||
return sslVpnServerId_;
|
||||
}
|
||||
|
||||
std::string CreateSslVpnServerResult::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/CreateVSwitchRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::CreateVSwitchRequest;
|
||||
|
||||
CreateVSwitchRequest::CreateVSwitchRequest() :
|
||||
VpcRequest("CreateVSwitch")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "CreateVSwitch")
|
||||
{}
|
||||
|
||||
CreateVSwitchRequest::~CreateVSwitchRequest()
|
||||
|
||||
@@ -40,7 +40,8 @@ void CreateVSwitchResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
vSwitchId_ = value["VSwitchId"].asString();
|
||||
if(!value["VSwitchId"].isNull())
|
||||
vSwitchId_ = value["VSwitchId"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -49,8 +50,3 @@ std::string CreateVSwitchResult::getVSwitchId()const
|
||||
return vSwitchId_;
|
||||
}
|
||||
|
||||
void CreateVSwitchResult::setVSwitchId(const std::string& vSwitchId)
|
||||
{
|
||||
vSwitchId_ = vSwitchId;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/CreateVirtualBorderRouterRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::CreateVirtualBorderRouterRequest;
|
||||
|
||||
CreateVirtualBorderRouterRequest::CreateVirtualBorderRouterRequest() :
|
||||
VpcRequest("CreateVirtualBorderRouter")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "CreateVirtualBorderRouter")
|
||||
{}
|
||||
|
||||
CreateVirtualBorderRouterRequest::~CreateVirtualBorderRouterRequest()
|
||||
|
||||
@@ -40,7 +40,8 @@ void CreateVirtualBorderRouterResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
vbrId_ = value["VbrId"].asString();
|
||||
if(!value["VbrId"].isNull())
|
||||
vbrId_ = value["VbrId"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -49,8 +50,3 @@ std::string CreateVirtualBorderRouterResult::getVbrId()const
|
||||
return vbrId_;
|
||||
}
|
||||
|
||||
void CreateVirtualBorderRouterResult::setVbrId(const std::string& vbrId)
|
||||
{
|
||||
vbrId_ = vbrId;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/CreateVpcRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::CreateVpcRequest;
|
||||
|
||||
CreateVpcRequest::CreateVpcRequest() :
|
||||
VpcRequest("CreateVpc")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "CreateVpc")
|
||||
{}
|
||||
|
||||
CreateVpcRequest::~CreateVpcRequest()
|
||||
|
||||
@@ -40,9 +40,12 @@ void CreateVpcResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
vpcId_ = value["VpcId"].asString();
|
||||
vRouterId_ = value["VRouterId"].asString();
|
||||
routeTableId_ = value["RouteTableId"].asString();
|
||||
if(!value["VpcId"].isNull())
|
||||
vpcId_ = value["VpcId"].asString();
|
||||
if(!value["VRouterId"].isNull())
|
||||
vRouterId_ = value["VRouterId"].asString();
|
||||
if(!value["RouteTableId"].isNull())
|
||||
routeTableId_ = value["RouteTableId"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -51,28 +54,13 @@ std::string CreateVpcResult::getVRouterId()const
|
||||
return vRouterId_;
|
||||
}
|
||||
|
||||
void CreateVpcResult::setVRouterId(const std::string& vRouterId)
|
||||
{
|
||||
vRouterId_ = vRouterId;
|
||||
}
|
||||
|
||||
std::string CreateVpcResult::getRouteTableId()const
|
||||
{
|
||||
return routeTableId_;
|
||||
}
|
||||
|
||||
void CreateVpcResult::setRouteTableId(const std::string& routeTableId)
|
||||
{
|
||||
routeTableId_ = routeTableId;
|
||||
}
|
||||
|
||||
std::string CreateVpcResult::getVpcId()const
|
||||
{
|
||||
return vpcId_;
|
||||
}
|
||||
|
||||
void CreateVpcResult::setVpcId(const std::string& vpcId)
|
||||
{
|
||||
vpcId_ = vpcId;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/CreateVpnConnectionRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::CreateVpnConnectionRequest;
|
||||
|
||||
CreateVpnConnectionRequest::CreateVpnConnectionRequest() :
|
||||
VpcRequest("CreateVpnConnection")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "CreateVpnConnection")
|
||||
{}
|
||||
|
||||
CreateVpnConnectionRequest::~CreateVpnConnectionRequest()
|
||||
|
||||
@@ -40,9 +40,12 @@ void CreateVpnConnectionResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
vpnConnectionId_ = value["VpnConnectionId"].asString();
|
||||
name_ = value["Name"].asString();
|
||||
createTime_ = std::stol(value["CreateTime"].asString());
|
||||
if(!value["VpnConnectionId"].isNull())
|
||||
vpnConnectionId_ = value["VpnConnectionId"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
name_ = value["Name"].asString();
|
||||
if(!value["CreateTime"].isNull())
|
||||
createTime_ = std::stol(value["CreateTime"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -51,28 +54,13 @@ long CreateVpnConnectionResult::getCreateTime()const
|
||||
return createTime_;
|
||||
}
|
||||
|
||||
void CreateVpnConnectionResult::setCreateTime(long createTime)
|
||||
{
|
||||
createTime_ = createTime;
|
||||
}
|
||||
|
||||
std::string CreateVpnConnectionResult::getVpnConnectionId()const
|
||||
{
|
||||
return vpnConnectionId_;
|
||||
}
|
||||
|
||||
void CreateVpnConnectionResult::setVpnConnectionId(const std::string& vpnConnectionId)
|
||||
{
|
||||
vpnConnectionId_ = vpnConnectionId;
|
||||
}
|
||||
|
||||
std::string CreateVpnConnectionResult::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateVpnConnectionResult::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DeactivateRouterInterfaceRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DeactivateRouterInterfaceRequest;
|
||||
|
||||
DeactivateRouterInterfaceRequest::DeactivateRouterInterfaceRequest() :
|
||||
VpcRequest("DeactivateRouterInterface")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DeactivateRouterInterface")
|
||||
{}
|
||||
|
||||
DeactivateRouterInterfaceRequest::~DeactivateRouterInterfaceRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DeleteBandwidthPackageRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DeleteBandwidthPackageRequest;
|
||||
|
||||
DeleteBandwidthPackageRequest::DeleteBandwidthPackageRequest() :
|
||||
VpcRequest("DeleteBandwidthPackage")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DeleteBandwidthPackage")
|
||||
{}
|
||||
|
||||
DeleteBandwidthPackageRequest::~DeleteBandwidthPackageRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DeleteBgpGroupRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DeleteBgpGroupRequest;
|
||||
|
||||
DeleteBgpGroupRequest::DeleteBgpGroupRequest() :
|
||||
VpcRequest("DeleteBgpGroup")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DeleteBgpGroup")
|
||||
{}
|
||||
|
||||
DeleteBgpGroupRequest::~DeleteBgpGroupRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DeleteBgpNetworkRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DeleteBgpNetworkRequest;
|
||||
|
||||
DeleteBgpNetworkRequest::DeleteBgpNetworkRequest() :
|
||||
VpcRequest("DeleteBgpNetwork")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DeleteBgpNetwork")
|
||||
{}
|
||||
|
||||
DeleteBgpNetworkRequest::~DeleteBgpNetworkRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DeleteBgpPeerRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DeleteBgpPeerRequest;
|
||||
|
||||
DeleteBgpPeerRequest::DeleteBgpPeerRequest() :
|
||||
VpcRequest("DeleteBgpPeer")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DeleteBgpPeer")
|
||||
{}
|
||||
|
||||
DeleteBgpPeerRequest::~DeleteBgpPeerRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DeleteCommonBandwidthPackageRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DeleteCommonBandwidthPackageRequest;
|
||||
|
||||
DeleteCommonBandwidthPackageRequest::DeleteCommonBandwidthPackageRequest() :
|
||||
VpcRequest("DeleteCommonBandwidthPackage")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DeleteCommonBandwidthPackage")
|
||||
{}
|
||||
|
||||
DeleteCommonBandwidthPackageRequest::~DeleteCommonBandwidthPackageRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DeleteCustomerGatewayRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DeleteCustomerGatewayRequest;
|
||||
|
||||
DeleteCustomerGatewayRequest::DeleteCustomerGatewayRequest() :
|
||||
VpcRequest("DeleteCustomerGateway")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DeleteCustomerGateway")
|
||||
{}
|
||||
|
||||
DeleteCustomerGatewayRequest::~DeleteCustomerGatewayRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DeleteForwardEntryRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DeleteForwardEntryRequest;
|
||||
|
||||
DeleteForwardEntryRequest::DeleteForwardEntryRequest() :
|
||||
VpcRequest("DeleteForwardEntry")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DeleteForwardEntry")
|
||||
{}
|
||||
|
||||
DeleteForwardEntryRequest::~DeleteForwardEntryRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DeleteGlobalAccelerationInstanceRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DeleteGlobalAccelerationInstanceRequest;
|
||||
|
||||
DeleteGlobalAccelerationInstanceRequest::DeleteGlobalAccelerationInstanceRequest() :
|
||||
VpcRequest("DeleteGlobalAccelerationInstance")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DeleteGlobalAccelerationInstance")
|
||||
{}
|
||||
|
||||
DeleteGlobalAccelerationInstanceRequest::~DeleteGlobalAccelerationInstanceRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DeleteHaVipRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DeleteHaVipRequest;
|
||||
|
||||
DeleteHaVipRequest::DeleteHaVipRequest() :
|
||||
VpcRequest("DeleteHaVip")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DeleteHaVip")
|
||||
{}
|
||||
|
||||
DeleteHaVipRequest::~DeleteHaVipRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DeleteNatGatewayRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DeleteNatGatewayRequest;
|
||||
|
||||
DeleteNatGatewayRequest::DeleteNatGatewayRequest() :
|
||||
VpcRequest("DeleteNatGateway")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DeleteNatGateway")
|
||||
{}
|
||||
|
||||
DeleteNatGatewayRequest::~DeleteNatGatewayRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DeleteNqaRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DeleteNqaRequest;
|
||||
|
||||
DeleteNqaRequest::DeleteNqaRequest() :
|
||||
VpcRequest("DeleteNqa")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DeleteNqa")
|
||||
{}
|
||||
|
||||
DeleteNqaRequest::~DeleteNqaRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DeletePhysicalConnectionRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DeletePhysicalConnectionRequest;
|
||||
|
||||
DeletePhysicalConnectionRequest::DeletePhysicalConnectionRequest() :
|
||||
VpcRequest("DeletePhysicalConnection")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DeletePhysicalConnection")
|
||||
{}
|
||||
|
||||
DeletePhysicalConnectionRequest::~DeletePhysicalConnectionRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DeleteRouteEntryRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DeleteRouteEntryRequest;
|
||||
|
||||
DeleteRouteEntryRequest::DeleteRouteEntryRequest() :
|
||||
VpcRequest("DeleteRouteEntry")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DeleteRouteEntry")
|
||||
{}
|
||||
|
||||
DeleteRouteEntryRequest::~DeleteRouteEntryRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DeleteRouterInterfaceRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DeleteRouterInterfaceRequest;
|
||||
|
||||
DeleteRouterInterfaceRequest::DeleteRouterInterfaceRequest() :
|
||||
VpcRequest("DeleteRouterInterface")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DeleteRouterInterface")
|
||||
{}
|
||||
|
||||
DeleteRouterInterfaceRequest::~DeleteRouterInterfaceRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DeleteSnatEntryRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DeleteSnatEntryRequest;
|
||||
|
||||
DeleteSnatEntryRequest::DeleteSnatEntryRequest() :
|
||||
VpcRequest("DeleteSnatEntry")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DeleteSnatEntry")
|
||||
{}
|
||||
|
||||
DeleteSnatEntryRequest::~DeleteSnatEntryRequest()
|
||||
|
||||
104
vpc/src/model/DeleteSslVpnClientCertRequest.cc
Normal file
104
vpc/src/model/DeleteSslVpnClientCertRequest.cc
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* 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/DeleteSslVpnClientCertRequest.h>
|
||||
|
||||
using AlibabaCloud::Vpc::Model::DeleteSslVpnClientCertRequest;
|
||||
|
||||
DeleteSslVpnClientCertRequest::DeleteSslVpnClientCertRequest() :
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DeleteSslVpnClientCert")
|
||||
{}
|
||||
|
||||
DeleteSslVpnClientCertRequest::~DeleteSslVpnClientCertRequest()
|
||||
{}
|
||||
|
||||
long DeleteSslVpnClientCertRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteSslVpnClientCertRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteSslVpnClientCertRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteSslVpnClientCertRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteSslVpnClientCertRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DeleteSslVpnClientCertRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DeleteSslVpnClientCertRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void DeleteSslVpnClientCertRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string DeleteSslVpnClientCertRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteSslVpnClientCertRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DeleteSslVpnClientCertRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteSslVpnClientCertRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteSslVpnClientCertRequest::getSslVpnClientCertId()const
|
||||
{
|
||||
return sslVpnClientCertId_;
|
||||
}
|
||||
|
||||
void DeleteSslVpnClientCertRequest::setSslVpnClientCertId(const std::string& sslVpnClientCertId)
|
||||
{
|
||||
sslVpnClientCertId_ = sslVpnClientCertId;
|
||||
setParameter("SslVpnClientCertId", sslVpnClientCertId);
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vpc/model/RevokeInstanceFromCbnResult.h>
|
||||
#include <alibabacloud/vpc/model/DeleteSslVpnClientCertResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
|
||||
RevokeInstanceFromCbnResult::RevokeInstanceFromCbnResult() :
|
||||
DeleteSslVpnClientCertResult::DeleteSslVpnClientCertResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RevokeInstanceFromCbnResult::RevokeInstanceFromCbnResult(const std::string &payload) :
|
||||
DeleteSslVpnClientCertResult::DeleteSslVpnClientCertResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RevokeInstanceFromCbnResult::~RevokeInstanceFromCbnResult()
|
||||
DeleteSslVpnClientCertResult::~DeleteSslVpnClientCertResult()
|
||||
{}
|
||||
|
||||
void RevokeInstanceFromCbnResult::parse(const std::string &payload)
|
||||
void DeleteSslVpnClientCertResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
104
vpc/src/model/DeleteSslVpnServerRequest.cc
Normal file
104
vpc/src/model/DeleteSslVpnServerRequest.cc
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* 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/DeleteSslVpnServerRequest.h>
|
||||
|
||||
using AlibabaCloud::Vpc::Model::DeleteSslVpnServerRequest;
|
||||
|
||||
DeleteSslVpnServerRequest::DeleteSslVpnServerRequest() :
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DeleteSslVpnServer")
|
||||
{}
|
||||
|
||||
DeleteSslVpnServerRequest::~DeleteSslVpnServerRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteSslVpnServerRequest::getSslVpnServerId()const
|
||||
{
|
||||
return sslVpnServerId_;
|
||||
}
|
||||
|
||||
void DeleteSslVpnServerRequest::setSslVpnServerId(const std::string& sslVpnServerId)
|
||||
{
|
||||
sslVpnServerId_ = sslVpnServerId;
|
||||
setParameter("SslVpnServerId", sslVpnServerId);
|
||||
}
|
||||
|
||||
long DeleteSslVpnServerRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteSslVpnServerRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteSslVpnServerRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteSslVpnServerRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteSslVpnServerRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DeleteSslVpnServerRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DeleteSslVpnServerRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void DeleteSslVpnServerRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string DeleteSslVpnServerRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteSslVpnServerRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DeleteSslVpnServerRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteSslVpnServerRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vpc/model/GrantInstanceToCbnResult.h>
|
||||
#include <alibabacloud/vpc/model/DeleteSslVpnServerResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
|
||||
GrantInstanceToCbnResult::GrantInstanceToCbnResult() :
|
||||
DeleteSslVpnServerResult::DeleteSslVpnServerResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GrantInstanceToCbnResult::GrantInstanceToCbnResult(const std::string &payload) :
|
||||
DeleteSslVpnServerResult::DeleteSslVpnServerResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GrantInstanceToCbnResult::~GrantInstanceToCbnResult()
|
||||
DeleteSslVpnServerResult::~DeleteSslVpnServerResult()
|
||||
{}
|
||||
|
||||
void GrantInstanceToCbnResult::parse(const std::string &payload)
|
||||
void DeleteSslVpnServerResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DeleteVSwitchRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DeleteVSwitchRequest;
|
||||
|
||||
DeleteVSwitchRequest::DeleteVSwitchRequest() :
|
||||
VpcRequest("DeleteVSwitch")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DeleteVSwitch")
|
||||
{}
|
||||
|
||||
DeleteVSwitchRequest::~DeleteVSwitchRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DeleteVirtualBorderRouterRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DeleteVirtualBorderRouterRequest;
|
||||
|
||||
DeleteVirtualBorderRouterRequest::DeleteVirtualBorderRouterRequest() :
|
||||
VpcRequest("DeleteVirtualBorderRouter")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DeleteVirtualBorderRouter")
|
||||
{}
|
||||
|
||||
DeleteVirtualBorderRouterRequest::~DeleteVirtualBorderRouterRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DeleteVpcRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DeleteVpcRequest;
|
||||
|
||||
DeleteVpcRequest::DeleteVpcRequest() :
|
||||
VpcRequest("DeleteVpc")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DeleteVpc")
|
||||
{}
|
||||
|
||||
DeleteVpcRequest::~DeleteVpcRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DeleteVpnConnectionRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DeleteVpnConnectionRequest;
|
||||
|
||||
DeleteVpnConnectionRequest::DeleteVpnConnectionRequest() :
|
||||
VpcRequest("DeleteVpnConnection")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DeleteVpnConnection")
|
||||
{}
|
||||
|
||||
DeleteVpnConnectionRequest::~DeleteVpnConnectionRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DeleteVpnGatewayRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DeleteVpnGatewayRequest;
|
||||
|
||||
DeleteVpnGatewayRequest::DeleteVpnGatewayRequest() :
|
||||
VpcRequest("DeleteVpnGateway")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DeleteVpnGateway")
|
||||
{}
|
||||
|
||||
DeleteVpnGatewayRequest::~DeleteVpnGatewayRequest()
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DescribeAccessPointsRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DescribeAccessPointsRequest;
|
||||
|
||||
DescribeAccessPointsRequest::DescribeAccessPointsRequest() :
|
||||
VpcRequest("DescribeAccessPoints")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DescribeAccessPoints")
|
||||
{}
|
||||
|
||||
DescribeAccessPointsRequest::~DescribeAccessPointsRequest()
|
||||
|
||||
@@ -43,50 +43,51 @@ void DescribeAccessPointsResult::parse(const std::string &payload)
|
||||
auto allAccessPointSet = value["AccessPointSet"]["AccessPointType"];
|
||||
for (auto value : allAccessPointSet)
|
||||
{
|
||||
AccessPointType accessPointTypeObject;
|
||||
accessPointTypeObject.accessPointId = value["AccessPointId"].asString();
|
||||
accessPointTypeObject.status = value["Status"].asString();
|
||||
accessPointTypeObject.type = value["Type"].asString();
|
||||
accessPointTypeObject.attachedRegionNo = value["AttachedRegionNo"].asString();
|
||||
accessPointTypeObject.location = value["Location"].asString();
|
||||
accessPointTypeObject.hostOperator = value["HostOperator"].asString();
|
||||
accessPointTypeObject.name = value["Name"].asString();
|
||||
accessPointTypeObject.description = value["Description"].asString();
|
||||
accessPointSet_.push_back(accessPointTypeObject);
|
||||
AccessPointType accessPointSetObject;
|
||||
if(!value["AccessPointId"].isNull())
|
||||
accessPointSetObject.accessPointId = value["AccessPointId"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
accessPointSetObject.status = value["Status"].asString();
|
||||
if(!value["Type"].isNull())
|
||||
accessPointSetObject.type = value["Type"].asString();
|
||||
if(!value["AttachedRegionNo"].isNull())
|
||||
accessPointSetObject.attachedRegionNo = value["AttachedRegionNo"].asString();
|
||||
if(!value["Location"].isNull())
|
||||
accessPointSetObject.location = value["Location"].asString();
|
||||
if(!value["HostOperator"].isNull())
|
||||
accessPointSetObject.hostOperator = value["HostOperator"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
accessPointSetObject.name = value["Name"].asString();
|
||||
if(!value["Description"].isNull())
|
||||
accessPointSetObject.description = value["Description"].asString();
|
||||
accessPointSet_.push_back(accessPointSetObject);
|
||||
}
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeAccessPointsResult::AccessPointType> DescribeAccessPointsResult::getAccessPointSet()const
|
||||
{
|
||||
return accessPointSet_;
|
||||
}
|
||||
|
||||
int DescribeAccessPointsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
void DescribeAccessPointsResult::setTotalCount(int totalCount)
|
||||
{
|
||||
totalCount_ = totalCount;
|
||||
}
|
||||
|
||||
int DescribeAccessPointsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeAccessPointsResult::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
}
|
||||
|
||||
int DescribeAccessPointsResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeAccessPointsResult::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DescribeBandwidthPackagePublicIpMonitorDataRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DescribeBandwidthPackagePublicIpMonitorDataRequest;
|
||||
|
||||
DescribeBandwidthPackagePublicIpMonitorDataRequest::DescribeBandwidthPackagePublicIpMonitorDataRequest() :
|
||||
VpcRequest("DescribeBandwidthPackagePublicIpMonitorData")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DescribeBandwidthPackagePublicIpMonitorData")
|
||||
{}
|
||||
|
||||
DescribeBandwidthPackagePublicIpMonitorDataRequest::~DescribeBandwidthPackagePublicIpMonitorDataRequest()
|
||||
|
||||
@@ -43,17 +43,30 @@ void DescribeBandwidthPackagePublicIpMonitorDataResult::parse(const std::string
|
||||
auto allMonitorDatas = value["MonitorDatas"]["MonitorData"];
|
||||
for (auto value : allMonitorDatas)
|
||||
{
|
||||
MonitorData monitorDataObject;
|
||||
monitorDataObject.rX = std::stol(value["RX"].asString());
|
||||
monitorDataObject.tX = std::stol(value["TX"].asString());
|
||||
monitorDataObject.receivedBandwidth = std::stol(value["ReceivedBandwidth"].asString());
|
||||
monitorDataObject.transportedBandwidth = std::stol(value["TransportedBandwidth"].asString());
|
||||
monitorDataObject.flow = std::stol(value["Flow"].asString());
|
||||
monitorDataObject.bandwidth = std::stol(value["Bandwidth"].asString());
|
||||
monitorDataObject.packets = std::stol(value["Packets"].asString());
|
||||
monitorDataObject.timeStamp = value["TimeStamp"].asString();
|
||||
monitorDatas_.push_back(monitorDataObject);
|
||||
MonitorData monitorDatasObject;
|
||||
if(!value["RX"].isNull())
|
||||
monitorDatasObject.rX = std::stol(value["RX"].asString());
|
||||
if(!value["TX"].isNull())
|
||||
monitorDatasObject.tX = std::stol(value["TX"].asString());
|
||||
if(!value["ReceivedBandwidth"].isNull())
|
||||
monitorDatasObject.receivedBandwidth = std::stol(value["ReceivedBandwidth"].asString());
|
||||
if(!value["TransportedBandwidth"].isNull())
|
||||
monitorDatasObject.transportedBandwidth = std::stol(value["TransportedBandwidth"].asString());
|
||||
if(!value["Flow"].isNull())
|
||||
monitorDatasObject.flow = std::stol(value["Flow"].asString());
|
||||
if(!value["Bandwidth"].isNull())
|
||||
monitorDatasObject.bandwidth = std::stol(value["Bandwidth"].asString());
|
||||
if(!value["Packets"].isNull())
|
||||
monitorDatasObject.packets = std::stol(value["Packets"].asString());
|
||||
if(!value["TimeStamp"].isNull())
|
||||
monitorDatasObject.timeStamp = value["TimeStamp"].asString();
|
||||
monitorDatas_.push_back(monitorDatasObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeBandwidthPackagePublicIpMonitorDataResult::MonitorData> DescribeBandwidthPackagePublicIpMonitorDataResult::getMonitorDatas()const
|
||||
{
|
||||
return monitorDatas_;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DescribeBandwidthPackagesRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DescribeBandwidthPackagesRequest;
|
||||
|
||||
DescribeBandwidthPackagesRequest::DescribeBandwidthPackagesRequest() :
|
||||
VpcRequest("DescribeBandwidthPackages")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DescribeBandwidthPackages")
|
||||
{}
|
||||
|
||||
DescribeBandwidthPackagesRequest::~DescribeBandwidthPackagesRequest()
|
||||
|
||||
@@ -43,36 +43,57 @@ void DescribeBandwidthPackagesResult::parse(const std::string &payload)
|
||||
auto allBandwidthPackages = value["BandwidthPackages"]["BandwidthPackage"];
|
||||
for (auto value : allBandwidthPackages)
|
||||
{
|
||||
BandwidthPackage bandwidthPackageObject;
|
||||
bandwidthPackageObject.bandwidthPackageId = value["BandwidthPackageId"].asString();
|
||||
bandwidthPackageObject.regionId = value["RegionId"].asString();
|
||||
bandwidthPackageObject.name = value["Name"].asString();
|
||||
bandwidthPackageObject.description = value["Description"].asString();
|
||||
bandwidthPackageObject.zoneId = value["ZoneId"].asString();
|
||||
bandwidthPackageObject.natGatewayId = value["NatGatewayId"].asString();
|
||||
bandwidthPackageObject.bandwidth = value["Bandwidth"].asString();
|
||||
bandwidthPackageObject.instanceChargeType = value["InstanceChargeType"].asString();
|
||||
bandwidthPackageObject.internetChargeType = value["InternetChargeType"].asString();
|
||||
bandwidthPackageObject.businessStatus = value["BusinessStatus"].asString();
|
||||
bandwidthPackageObject.ipCount = value["IpCount"].asString();
|
||||
bandwidthPackageObject.creationTime = value["CreationTime"].asString();
|
||||
bandwidthPackageObject.status = value["Status"].asString();
|
||||
bandwidthPackageObject.iSP = value["ISP"].asString();
|
||||
BandwidthPackage bandwidthPackagesObject;
|
||||
if(!value["BandwidthPackageId"].isNull())
|
||||
bandwidthPackagesObject.bandwidthPackageId = value["BandwidthPackageId"].asString();
|
||||
if(!value["RegionId"].isNull())
|
||||
bandwidthPackagesObject.regionId = value["RegionId"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
bandwidthPackagesObject.name = value["Name"].asString();
|
||||
if(!value["Description"].isNull())
|
||||
bandwidthPackagesObject.description = value["Description"].asString();
|
||||
if(!value["ZoneId"].isNull())
|
||||
bandwidthPackagesObject.zoneId = value["ZoneId"].asString();
|
||||
if(!value["NatGatewayId"].isNull())
|
||||
bandwidthPackagesObject.natGatewayId = value["NatGatewayId"].asString();
|
||||
if(!value["Bandwidth"].isNull())
|
||||
bandwidthPackagesObject.bandwidth = value["Bandwidth"].asString();
|
||||
if(!value["InstanceChargeType"].isNull())
|
||||
bandwidthPackagesObject.instanceChargeType = value["InstanceChargeType"].asString();
|
||||
if(!value["InternetChargeType"].isNull())
|
||||
bandwidthPackagesObject.internetChargeType = value["InternetChargeType"].asString();
|
||||
if(!value["BusinessStatus"].isNull())
|
||||
bandwidthPackagesObject.businessStatus = value["BusinessStatus"].asString();
|
||||
if(!value["IpCount"].isNull())
|
||||
bandwidthPackagesObject.ipCount = value["IpCount"].asString();
|
||||
if(!value["CreationTime"].isNull())
|
||||
bandwidthPackagesObject.creationTime = value["CreationTime"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
bandwidthPackagesObject.status = value["Status"].asString();
|
||||
if(!value["ISP"].isNull())
|
||||
bandwidthPackagesObject.iSP = value["ISP"].asString();
|
||||
auto allPublicIpAddresses = value["PublicIpAddresses"]["PublicIpAddresse"];
|
||||
for (auto value : allPublicIpAddresses)
|
||||
{
|
||||
BandwidthPackage::PublicIpAddresse publicIpAddresseObject;
|
||||
publicIpAddresseObject.allocationId = value["AllocationId"].asString();
|
||||
publicIpAddresseObject.ipAddress = value["IpAddress"].asString();
|
||||
publicIpAddresseObject.usingStatus = value["UsingStatus"].asString();
|
||||
publicIpAddresseObject.apAccessEnabled = std::stoi(value["ApAccessEnabled"].asString());
|
||||
bandwidthPackageObject.publicIpAddresses.push_back(publicIpAddresseObject);
|
||||
BandwidthPackage::PublicIpAddresse publicIpAddressesObject;
|
||||
if(!value["AllocationId"].isNull())
|
||||
publicIpAddressesObject.allocationId = value["AllocationId"].asString();
|
||||
if(!value["IpAddress"].isNull())
|
||||
publicIpAddressesObject.ipAddress = value["IpAddress"].asString();
|
||||
if(!value["UsingStatus"].isNull())
|
||||
publicIpAddressesObject.usingStatus = value["UsingStatus"].asString();
|
||||
if(!value["ApAccessEnabled"].isNull())
|
||||
publicIpAddressesObject.apAccessEnabled = value["ApAccessEnabled"].asString() == "true";
|
||||
bandwidthPackagesObject.publicIpAddresses.push_back(publicIpAddressesObject);
|
||||
}
|
||||
bandwidthPackages_.push_back(bandwidthPackageObject);
|
||||
bandwidthPackages_.push_back(bandwidthPackagesObject);
|
||||
}
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -81,28 +102,18 @@ int DescribeBandwidthPackagesResult::getTotalCount()const
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
void DescribeBandwidthPackagesResult::setTotalCount(int totalCount)
|
||||
{
|
||||
totalCount_ = totalCount;
|
||||
}
|
||||
|
||||
int DescribeBandwidthPackagesResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeBandwidthPackagesResult::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
}
|
||||
|
||||
int DescribeBandwidthPackagesResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeBandwidthPackagesResult::setPageNumber(int pageNumber)
|
||||
std::vector<DescribeBandwidthPackagesResult::BandwidthPackage> DescribeBandwidthPackagesResult::getBandwidthPackages()const
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
return bandwidthPackages_;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DescribeBgpGroupsRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DescribeBgpGroupsRequest;
|
||||
|
||||
DescribeBgpGroupsRequest::DescribeBgpGroupsRequest() :
|
||||
VpcRequest("DescribeBgpGroups")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DescribeBgpGroups")
|
||||
{}
|
||||
|
||||
DescribeBgpGroupsRequest::~DescribeBgpGroupsRequest()
|
||||
|
||||
@@ -43,25 +43,41 @@ void DescribeBgpGroupsResult::parse(const std::string &payload)
|
||||
auto allBgpGroups = value["BgpGroups"]["BgpGroup"];
|
||||
for (auto value : allBgpGroups)
|
||||
{
|
||||
BgpGroup bgpGroupObject;
|
||||
bgpGroupObject.name = value["Name"].asString();
|
||||
bgpGroupObject.description = value["Description"].asString();
|
||||
bgpGroupObject.bgpGroupId = value["BgpGroupId"].asString();
|
||||
bgpGroupObject.peerAsn = value["PeerAsn"].asString();
|
||||
bgpGroupObject.authKey = value["AuthKey"].asString();
|
||||
bgpGroupObject.routerId = value["RouterId"].asString();
|
||||
bgpGroupObject.status = value["Status"].asString();
|
||||
bgpGroupObject.keepalive = value["Keepalive"].asString();
|
||||
bgpGroupObject.localAsn = value["LocalAsn"].asString();
|
||||
bgpGroupObject.hold = value["Hold"].asString();
|
||||
bgpGroupObject.isFake = value["IsFake"].asString();
|
||||
bgpGroupObject.routeLimit = value["RouteLimit"].asString();
|
||||
bgpGroupObject.regionId = value["RegionId"].asString();
|
||||
bgpGroups_.push_back(bgpGroupObject);
|
||||
BgpGroup bgpGroupsObject;
|
||||
if(!value["Name"].isNull())
|
||||
bgpGroupsObject.name = value["Name"].asString();
|
||||
if(!value["Description"].isNull())
|
||||
bgpGroupsObject.description = value["Description"].asString();
|
||||
if(!value["BgpGroupId"].isNull())
|
||||
bgpGroupsObject.bgpGroupId = value["BgpGroupId"].asString();
|
||||
if(!value["PeerAsn"].isNull())
|
||||
bgpGroupsObject.peerAsn = value["PeerAsn"].asString();
|
||||
if(!value["AuthKey"].isNull())
|
||||
bgpGroupsObject.authKey = value["AuthKey"].asString();
|
||||
if(!value["RouterId"].isNull())
|
||||
bgpGroupsObject.routerId = value["RouterId"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
bgpGroupsObject.status = value["Status"].asString();
|
||||
if(!value["Keepalive"].isNull())
|
||||
bgpGroupsObject.keepalive = value["Keepalive"].asString();
|
||||
if(!value["LocalAsn"].isNull())
|
||||
bgpGroupsObject.localAsn = value["LocalAsn"].asString();
|
||||
if(!value["Hold"].isNull())
|
||||
bgpGroupsObject.hold = value["Hold"].asString();
|
||||
if(!value["IsFake"].isNull())
|
||||
bgpGroupsObject.isFake = value["IsFake"].asString();
|
||||
if(!value["RouteLimit"].isNull())
|
||||
bgpGroupsObject.routeLimit = value["RouteLimit"].asString();
|
||||
if(!value["RegionId"].isNull())
|
||||
bgpGroupsObject.regionId = value["RegionId"].asString();
|
||||
bgpGroups_.push_back(bgpGroupsObject);
|
||||
}
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -70,19 +86,14 @@ int DescribeBgpGroupsResult::getTotalCount()const
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
void DescribeBgpGroupsResult::setTotalCount(int totalCount)
|
||||
{
|
||||
totalCount_ = totalCount;
|
||||
}
|
||||
|
||||
int DescribeBgpGroupsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeBgpGroupsResult::setPageSize(int pageSize)
|
||||
std::vector<DescribeBgpGroupsResult::BgpGroup> DescribeBgpGroupsResult::getBgpGroups()const
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
return bgpGroups_;
|
||||
}
|
||||
|
||||
int DescribeBgpGroupsResult::getPageNumber()const
|
||||
@@ -90,8 +101,3 @@ int DescribeBgpGroupsResult::getPageNumber()const
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeBgpGroupsResult::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DescribeBgpPeersRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DescribeBgpPeersRequest;
|
||||
|
||||
DescribeBgpPeersRequest::DescribeBgpPeersRequest() :
|
||||
VpcRequest("DescribeBgpPeers")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DescribeBgpPeers")
|
||||
{}
|
||||
|
||||
DescribeBgpPeersRequest::~DescribeBgpPeersRequest()
|
||||
|
||||
@@ -43,58 +43,67 @@ void DescribeBgpPeersResult::parse(const std::string &payload)
|
||||
auto allBgpPeers = value["BgpPeers"]["BgpPeer"];
|
||||
for (auto value : allBgpPeers)
|
||||
{
|
||||
BgpPeer bgpPeerObject;
|
||||
bgpPeerObject.name = value["Name"].asString();
|
||||
bgpPeerObject.description = value["Description"].asString();
|
||||
bgpPeerObject.bgpPeerId = value["BgpPeerId"].asString();
|
||||
bgpPeerObject.bgpGroupId = value["BgpGroupId"].asString();
|
||||
bgpPeerObject.peerIpAddress = value["PeerIpAddress"].asString();
|
||||
bgpPeerObject.peerAsn = value["PeerAsn"].asString();
|
||||
bgpPeerObject.authKey = value["AuthKey"].asString();
|
||||
bgpPeerObject.routerId = value["RouterId"].asString();
|
||||
bgpPeerObject.bgpStatus = value["BgpStatus"].asString();
|
||||
bgpPeerObject.status = value["Status"].asString();
|
||||
bgpPeerObject.keepalive = value["Keepalive"].asString();
|
||||
bgpPeerObject.localAsn = value["LocalAsn"].asString();
|
||||
bgpPeerObject.hold = value["Hold"].asString();
|
||||
bgpPeerObject.isFake = value["IsFake"].asString();
|
||||
bgpPeerObject.routeLimit = value["RouteLimit"].asString();
|
||||
bgpPeerObject.regionId = value["RegionId"].asString();
|
||||
bgpPeers_.push_back(bgpPeerObject);
|
||||
BgpPeer bgpPeersObject;
|
||||
if(!value["Name"].isNull())
|
||||
bgpPeersObject.name = value["Name"].asString();
|
||||
if(!value["Description"].isNull())
|
||||
bgpPeersObject.description = value["Description"].asString();
|
||||
if(!value["BgpPeerId"].isNull())
|
||||
bgpPeersObject.bgpPeerId = value["BgpPeerId"].asString();
|
||||
if(!value["BgpGroupId"].isNull())
|
||||
bgpPeersObject.bgpGroupId = value["BgpGroupId"].asString();
|
||||
if(!value["PeerIpAddress"].isNull())
|
||||
bgpPeersObject.peerIpAddress = value["PeerIpAddress"].asString();
|
||||
if(!value["PeerAsn"].isNull())
|
||||
bgpPeersObject.peerAsn = value["PeerAsn"].asString();
|
||||
if(!value["AuthKey"].isNull())
|
||||
bgpPeersObject.authKey = value["AuthKey"].asString();
|
||||
if(!value["RouterId"].isNull())
|
||||
bgpPeersObject.routerId = value["RouterId"].asString();
|
||||
if(!value["BgpStatus"].isNull())
|
||||
bgpPeersObject.bgpStatus = value["BgpStatus"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
bgpPeersObject.status = value["Status"].asString();
|
||||
if(!value["Keepalive"].isNull())
|
||||
bgpPeersObject.keepalive = value["Keepalive"].asString();
|
||||
if(!value["LocalAsn"].isNull())
|
||||
bgpPeersObject.localAsn = value["LocalAsn"].asString();
|
||||
if(!value["Hold"].isNull())
|
||||
bgpPeersObject.hold = value["Hold"].asString();
|
||||
if(!value["IsFake"].isNull())
|
||||
bgpPeersObject.isFake = value["IsFake"].asString();
|
||||
if(!value["RouteLimit"].isNull())
|
||||
bgpPeersObject.routeLimit = value["RouteLimit"].asString();
|
||||
if(!value["RegionId"].isNull())
|
||||
bgpPeersObject.regionId = value["RegionId"].asString();
|
||||
bgpPeers_.push_back(bgpPeersObject);
|
||||
}
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeBgpPeersResult::BgpPeer> DescribeBgpPeersResult::getBgpPeers()const
|
||||
{
|
||||
return bgpPeers_;
|
||||
}
|
||||
|
||||
int DescribeBgpPeersResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
void DescribeBgpPeersResult::setTotalCount(int totalCount)
|
||||
{
|
||||
totalCount_ = totalCount;
|
||||
}
|
||||
|
||||
int DescribeBgpPeersResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeBgpPeersResult::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
}
|
||||
|
||||
int DescribeBgpPeersResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeBgpPeersResult::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DescribeCommonBandwidthPackagesRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DescribeCommonBandwidthPackagesRequest;
|
||||
|
||||
DescribeCommonBandwidthPackagesRequest::DescribeCommonBandwidthPackagesRequest() :
|
||||
VpcRequest("DescribeCommonBandwidthPackages")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DescribeCommonBandwidthPackages")
|
||||
{}
|
||||
|
||||
DescribeCommonBandwidthPackagesRequest::~DescribeCommonBandwidthPackagesRequest()
|
||||
|
||||
@@ -43,32 +43,49 @@ void DescribeCommonBandwidthPackagesResult::parse(const std::string &payload)
|
||||
auto allCommonBandwidthPackages = value["CommonBandwidthPackages"]["CommonBandwidthPackage"];
|
||||
for (auto value : allCommonBandwidthPackages)
|
||||
{
|
||||
CommonBandwidthPackage commonBandwidthPackageObject;
|
||||
commonBandwidthPackageObject.bandwidthPackageId = value["BandwidthPackageId"].asString();
|
||||
commonBandwidthPackageObject.regionId = value["RegionId"].asString();
|
||||
commonBandwidthPackageObject.name = value["Name"].asString();
|
||||
commonBandwidthPackageObject.description = value["Description"].asString();
|
||||
commonBandwidthPackageObject.bandwidth = value["Bandwidth"].asString();
|
||||
commonBandwidthPackageObject.instanceChargeType = value["InstanceChargeType"].asString();
|
||||
commonBandwidthPackageObject.internetChargeType = value["InternetChargeType"].asString();
|
||||
commonBandwidthPackageObject.businessStatus = value["BusinessStatus"].asString();
|
||||
commonBandwidthPackageObject.creationTime = value["CreationTime"].asString();
|
||||
commonBandwidthPackageObject.expiredTime = value["ExpiredTime"].asString();
|
||||
commonBandwidthPackageObject.status = value["Status"].asString();
|
||||
commonBandwidthPackageObject.ratio = std::stoi(value["Ratio"].asString());
|
||||
CommonBandwidthPackage commonBandwidthPackagesObject;
|
||||
if(!value["BandwidthPackageId"].isNull())
|
||||
commonBandwidthPackagesObject.bandwidthPackageId = value["BandwidthPackageId"].asString();
|
||||
if(!value["RegionId"].isNull())
|
||||
commonBandwidthPackagesObject.regionId = value["RegionId"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
commonBandwidthPackagesObject.name = value["Name"].asString();
|
||||
if(!value["Description"].isNull())
|
||||
commonBandwidthPackagesObject.description = value["Description"].asString();
|
||||
if(!value["Bandwidth"].isNull())
|
||||
commonBandwidthPackagesObject.bandwidth = value["Bandwidth"].asString();
|
||||
if(!value["InstanceChargeType"].isNull())
|
||||
commonBandwidthPackagesObject.instanceChargeType = value["InstanceChargeType"].asString();
|
||||
if(!value["InternetChargeType"].isNull())
|
||||
commonBandwidthPackagesObject.internetChargeType = value["InternetChargeType"].asString();
|
||||
if(!value["BusinessStatus"].isNull())
|
||||
commonBandwidthPackagesObject.businessStatus = value["BusinessStatus"].asString();
|
||||
if(!value["CreationTime"].isNull())
|
||||
commonBandwidthPackagesObject.creationTime = value["CreationTime"].asString();
|
||||
if(!value["ExpiredTime"].isNull())
|
||||
commonBandwidthPackagesObject.expiredTime = value["ExpiredTime"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
commonBandwidthPackagesObject.status = value["Status"].asString();
|
||||
if(!value["Ratio"].isNull())
|
||||
commonBandwidthPackagesObject.ratio = std::stoi(value["Ratio"].asString());
|
||||
auto allPublicIpAddresses = value["PublicIpAddresses"]["PublicIpAddresse"];
|
||||
for (auto value : allPublicIpAddresses)
|
||||
{
|
||||
CommonBandwidthPackage::PublicIpAddresse publicIpAddresseObject;
|
||||
publicIpAddresseObject.allocationId = value["AllocationId"].asString();
|
||||
publicIpAddresseObject.ipAddress = value["IpAddress"].asString();
|
||||
commonBandwidthPackageObject.publicIpAddresses.push_back(publicIpAddresseObject);
|
||||
CommonBandwidthPackage::PublicIpAddresse publicIpAddressesObject;
|
||||
if(!value["AllocationId"].isNull())
|
||||
publicIpAddressesObject.allocationId = value["AllocationId"].asString();
|
||||
if(!value["IpAddress"].isNull())
|
||||
publicIpAddressesObject.ipAddress = value["IpAddress"].asString();
|
||||
commonBandwidthPackagesObject.publicIpAddresses.push_back(publicIpAddressesObject);
|
||||
}
|
||||
commonBandwidthPackages_.push_back(commonBandwidthPackageObject);
|
||||
commonBandwidthPackages_.push_back(commonBandwidthPackagesObject);
|
||||
}
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -77,28 +94,18 @@ int DescribeCommonBandwidthPackagesResult::getTotalCount()const
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
void DescribeCommonBandwidthPackagesResult::setTotalCount(int totalCount)
|
||||
{
|
||||
totalCount_ = totalCount;
|
||||
}
|
||||
|
||||
int DescribeCommonBandwidthPackagesResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeCommonBandwidthPackagesResult::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
}
|
||||
|
||||
int DescribeCommonBandwidthPackagesResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeCommonBandwidthPackagesResult::setPageNumber(int pageNumber)
|
||||
std::vector<DescribeCommonBandwidthPackagesResult::CommonBandwidthPackage> DescribeCommonBandwidthPackagesResult::getCommonBandwidthPackages()const
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
return commonBandwidthPackages_;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DescribeCustomerGatewayRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DescribeCustomerGatewayRequest;
|
||||
|
||||
DescribeCustomerGatewayRequest::DescribeCustomerGatewayRequest() :
|
||||
VpcRequest("DescribeCustomerGateway")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DescribeCustomerGateway")
|
||||
{}
|
||||
|
||||
DescribeCustomerGatewayRequest::~DescribeCustomerGatewayRequest()
|
||||
|
||||
@@ -40,11 +40,16 @@ void DescribeCustomerGatewayResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
customerGatewayId_ = value["CustomerGatewayId"].asString();
|
||||
ipAddress_ = value["IpAddress"].asString();
|
||||
name_ = value["Name"].asString();
|
||||
description_ = value["Description"].asString();
|
||||
createTime_ = std::stol(value["CreateTime"].asString());
|
||||
if(!value["CustomerGatewayId"].isNull())
|
||||
customerGatewayId_ = value["CustomerGatewayId"].asString();
|
||||
if(!value["IpAddress"].isNull())
|
||||
ipAddress_ = value["IpAddress"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
name_ = value["Name"].asString();
|
||||
if(!value["Description"].isNull())
|
||||
description_ = value["Description"].asString();
|
||||
if(!value["CreateTime"].isNull())
|
||||
createTime_ = std::stol(value["CreateTime"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -53,48 +58,23 @@ std::string DescribeCustomerGatewayResult::getDescription()const
|
||||
return description_;
|
||||
}
|
||||
|
||||
void DescribeCustomerGatewayResult::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
}
|
||||
|
||||
std::string DescribeCustomerGatewayResult::getCustomerGatewayId()const
|
||||
{
|
||||
return customerGatewayId_;
|
||||
}
|
||||
|
||||
void DescribeCustomerGatewayResult::setCustomerGatewayId(const std::string& customerGatewayId)
|
||||
{
|
||||
customerGatewayId_ = customerGatewayId;
|
||||
}
|
||||
|
||||
long DescribeCustomerGatewayResult::getCreateTime()const
|
||||
{
|
||||
return createTime_;
|
||||
}
|
||||
|
||||
void DescribeCustomerGatewayResult::setCreateTime(long createTime)
|
||||
{
|
||||
createTime_ = createTime;
|
||||
}
|
||||
|
||||
std::string DescribeCustomerGatewayResult::getIpAddress()const
|
||||
{
|
||||
return ipAddress_;
|
||||
}
|
||||
|
||||
void DescribeCustomerGatewayResult::setIpAddress(const std::string& ipAddress)
|
||||
{
|
||||
ipAddress_ = ipAddress;
|
||||
}
|
||||
|
||||
std::string DescribeCustomerGatewayResult::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void DescribeCustomerGatewayResult::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DescribeCustomerGatewaysRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DescribeCustomerGatewaysRequest;
|
||||
|
||||
DescribeCustomerGatewaysRequest::DescribeCustomerGatewaysRequest() :
|
||||
VpcRequest("DescribeCustomerGateways")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DescribeCustomerGateways")
|
||||
{}
|
||||
|
||||
DescribeCustomerGatewaysRequest::~DescribeCustomerGatewaysRequest()
|
||||
|
||||
@@ -43,17 +43,25 @@ void DescribeCustomerGatewaysResult::parse(const std::string &payload)
|
||||
auto allCustomerGateways = value["CustomerGateways"]["CustomerGateway"];
|
||||
for (auto value : allCustomerGateways)
|
||||
{
|
||||
CustomerGateway customerGatewayObject;
|
||||
customerGatewayObject.customerGatewayId = value["CustomerGatewayId"].asString();
|
||||
customerGatewayObject.name = value["Name"].asString();
|
||||
customerGatewayObject.ipAddress = value["IpAddress"].asString();
|
||||
customerGatewayObject.description = value["Description"].asString();
|
||||
customerGatewayObject.createTime = std::stol(value["CreateTime"].asString());
|
||||
customerGateways_.push_back(customerGatewayObject);
|
||||
CustomerGateway customerGatewaysObject;
|
||||
if(!value["CustomerGatewayId"].isNull())
|
||||
customerGatewaysObject.customerGatewayId = value["CustomerGatewayId"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
customerGatewaysObject.name = value["Name"].asString();
|
||||
if(!value["IpAddress"].isNull())
|
||||
customerGatewaysObject.ipAddress = value["IpAddress"].asString();
|
||||
if(!value["Description"].isNull())
|
||||
customerGatewaysObject.description = value["Description"].asString();
|
||||
if(!value["CreateTime"].isNull())
|
||||
customerGatewaysObject.createTime = std::stol(value["CreateTime"].asString());
|
||||
customerGateways_.push_back(customerGatewaysObject);
|
||||
}
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -62,28 +70,18 @@ int DescribeCustomerGatewaysResult::getTotalCount()const
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
void DescribeCustomerGatewaysResult::setTotalCount(int totalCount)
|
||||
{
|
||||
totalCount_ = totalCount;
|
||||
}
|
||||
|
||||
int DescribeCustomerGatewaysResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeCustomerGatewaysResult::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
}
|
||||
|
||||
int DescribeCustomerGatewaysResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeCustomerGatewaysResult::setPageNumber(int pageNumber)
|
||||
std::vector<DescribeCustomerGatewaysResult::CustomerGateway> DescribeCustomerGatewaysResult::getCustomerGateways()const
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
return customerGateways_;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DescribeEipAddressesRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DescribeEipAddressesRequest;
|
||||
|
||||
DescribeEipAddressesRequest::DescribeEipAddressesRequest() :
|
||||
VpcRequest("DescribeEipAddresses")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DescribeEipAddresses")
|
||||
{}
|
||||
|
||||
DescribeEipAddressesRequest::~DescribeEipAddressesRequest()
|
||||
|
||||
@@ -43,39 +43,60 @@ void DescribeEipAddressesResult::parse(const std::string &payload)
|
||||
auto allEipAddresses = value["EipAddresses"]["EipAddress"];
|
||||
for (auto value : allEipAddresses)
|
||||
{
|
||||
EipAddress eipAddressObject;
|
||||
eipAddressObject.regionId = value["RegionId"].asString();
|
||||
eipAddressObject.ipAddress = value["IpAddress"].asString();
|
||||
eipAddressObject.allocationId = value["AllocationId"].asString();
|
||||
eipAddressObject.status = value["Status"].asString();
|
||||
eipAddressObject.instanceId = value["InstanceId"].asString();
|
||||
eipAddressObject.bandwidth = value["Bandwidth"].asString();
|
||||
eipAddressObject.eipBandwidth = value["EipBandwidth"].asString();
|
||||
eipAddressObject.internetChargeType = value["InternetChargeType"].asString();
|
||||
eipAddressObject.allocationTime = value["AllocationTime"].asString();
|
||||
eipAddressObject.instanceType = value["InstanceType"].asString();
|
||||
eipAddressObject.instanceRegionId = value["InstanceRegionId"].asString();
|
||||
eipAddressObject.chargeType = value["ChargeType"].asString();
|
||||
eipAddressObject.expiredTime = value["ExpiredTime"].asString();
|
||||
eipAddressObject.name = value["Name"].asString();
|
||||
eipAddressObject.descritpion = value["Descritpion"].asString();
|
||||
eipAddressObject.bandwidthPackageId = value["BandwidthPackageId"].asString();
|
||||
eipAddressObject.bandwidthPackageType = value["BandwidthPackageType"].asString();
|
||||
EipAddress eipAddressesObject;
|
||||
if(!value["RegionId"].isNull())
|
||||
eipAddressesObject.regionId = value["RegionId"].asString();
|
||||
if(!value["IpAddress"].isNull())
|
||||
eipAddressesObject.ipAddress = value["IpAddress"].asString();
|
||||
if(!value["AllocationId"].isNull())
|
||||
eipAddressesObject.allocationId = value["AllocationId"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
eipAddressesObject.status = value["Status"].asString();
|
||||
if(!value["InstanceId"].isNull())
|
||||
eipAddressesObject.instanceId = value["InstanceId"].asString();
|
||||
if(!value["Bandwidth"].isNull())
|
||||
eipAddressesObject.bandwidth = value["Bandwidth"].asString();
|
||||
if(!value["EipBandwidth"].isNull())
|
||||
eipAddressesObject.eipBandwidth = value["EipBandwidth"].asString();
|
||||
if(!value["InternetChargeType"].isNull())
|
||||
eipAddressesObject.internetChargeType = value["InternetChargeType"].asString();
|
||||
if(!value["AllocationTime"].isNull())
|
||||
eipAddressesObject.allocationTime = value["AllocationTime"].asString();
|
||||
if(!value["InstanceType"].isNull())
|
||||
eipAddressesObject.instanceType = value["InstanceType"].asString();
|
||||
if(!value["InstanceRegionId"].isNull())
|
||||
eipAddressesObject.instanceRegionId = value["InstanceRegionId"].asString();
|
||||
if(!value["ChargeType"].isNull())
|
||||
eipAddressesObject.chargeType = value["ChargeType"].asString();
|
||||
if(!value["ExpiredTime"].isNull())
|
||||
eipAddressesObject.expiredTime = value["ExpiredTime"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
eipAddressesObject.name = value["Name"].asString();
|
||||
if(!value["Descritpion"].isNull())
|
||||
eipAddressesObject.descritpion = value["Descritpion"].asString();
|
||||
if(!value["BandwidthPackageId"].isNull())
|
||||
eipAddressesObject.bandwidthPackageId = value["BandwidthPackageId"].asString();
|
||||
if(!value["BandwidthPackageType"].isNull())
|
||||
eipAddressesObject.bandwidthPackageType = value["BandwidthPackageType"].asString();
|
||||
auto allOperationLocks = value["OperationLocks"]["LockReason"];
|
||||
for (auto value : allOperationLocks)
|
||||
{
|
||||
EipAddress::LockReason lockReasonObject;
|
||||
lockReasonObject.lockReason = value["LockReason"].asString();
|
||||
eipAddressObject.operationLocks.push_back(lockReasonObject);
|
||||
EipAddress::LockReason operationLocksObject;
|
||||
if(!value["LockReason"].isNull())
|
||||
operationLocksObject.lockReason = value["LockReason"].asString();
|
||||
eipAddressesObject.operationLocks.push_back(operationLocksObject);
|
||||
}
|
||||
auto allAvailableRegions = value["AvailableRegions"]["AvailableRegion"];
|
||||
for (auto value : allAvailableRegions)
|
||||
eipAddressObject.availableRegions.push_back(value.asString());
|
||||
eipAddresses_.push_back(eipAddressObject);
|
||||
eipAddressesObject.availableRegions.push_back(value.asString());
|
||||
eipAddresses_.push_back(eipAddressesObject);
|
||||
}
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -84,9 +105,9 @@ int DescribeEipAddressesResult::getTotalCount()const
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
void DescribeEipAddressesResult::setTotalCount(int totalCount)
|
||||
std::vector<DescribeEipAddressesResult::EipAddress> DescribeEipAddressesResult::getEipAddresses()const
|
||||
{
|
||||
totalCount_ = totalCount;
|
||||
return eipAddresses_;
|
||||
}
|
||||
|
||||
int DescribeEipAddressesResult::getPageSize()const
|
||||
@@ -94,18 +115,8 @@ int DescribeEipAddressesResult::getPageSize()const
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeEipAddressesResult::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
}
|
||||
|
||||
int DescribeEipAddressesResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeEipAddressesResult::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
|
||||
#include <alibabacloud/vpc/model/DescribeEipMonitorDataRequest.h>
|
||||
|
||||
using namespace AlibabaCloud::Vpc;
|
||||
using namespace AlibabaCloud::Vpc::Model;
|
||||
using AlibabaCloud::Vpc::Model::DescribeEipMonitorDataRequest;
|
||||
|
||||
DescribeEipMonitorDataRequest::DescribeEipMonitorDataRequest() :
|
||||
VpcRequest("DescribeEipMonitorData")
|
||||
RpcServiceRequest("vpc", "2016-04-28", "DescribeEipMonitorData")
|
||||
{}
|
||||
|
||||
DescribeEipMonitorDataRequest::~DescribeEipMonitorDataRequest()
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user