Generate SDK by new Generator

This commit is contained in:
wb-hx510875
2019-09-18 11:18:56 +08:00
parent be86048a76
commit f3eaf1d292
9054 changed files with 325898 additions and 381375 deletions

View File

@@ -22,22 +22,22 @@
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "SnsuapiExport.h"
#include "model/MobileStartSpeedUpRequest.h"
#include "model/MobileStartSpeedUpResult.h"
#include "model/BandStopSpeedUpRequest.h"
#include "model/BandStopSpeedUpResult.h"
#include "model/BandStatusQueryRequest.h"
#include "model/BandStatusQueryResult.h"
#include "model/MobileStatusQueryRequest.h"
#include "model/MobileStatusQueryResult.h"
#include "model/MobileStopSpeedUpRequest.h"
#include "model/MobileStopSpeedUpResult.h"
#include "model/BandOfferOrderRequest.h"
#include "model/BandOfferOrderResult.h"
#include "model/BandPrecheckRequest.h"
#include "model/BandPrecheckResult.h"
#include "model/BandStartSpeedUpRequest.h"
#include "model/BandStartSpeedUpResult.h"
#include "model/BandStatusQueryRequest.h"
#include "model/BandStatusQueryResult.h"
#include "model/BandStopSpeedUpRequest.h"
#include "model/BandStopSpeedUpResult.h"
#include "model/MobileStartSpeedUpRequest.h"
#include "model/MobileStartSpeedUpResult.h"
#include "model/MobileStatusQueryRequest.h"
#include "model/MobileStatusQueryResult.h"
#include "model/MobileStopSpeedUpRequest.h"
#include "model/MobileStopSpeedUpResult.h"
namespace AlibabaCloud
@@ -47,21 +47,6 @@ namespace AlibabaCloud
class ALIBABACLOUD_SNSUAPI_EXPORT SnsuapiClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::MobileStartSpeedUpResult> MobileStartSpeedUpOutcome;
typedef std::future<MobileStartSpeedUpOutcome> MobileStartSpeedUpOutcomeCallable;
typedef std::function<void(const SnsuapiClient*, const Model::MobileStartSpeedUpRequest&, const MobileStartSpeedUpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MobileStartSpeedUpAsyncHandler;
typedef Outcome<Error, Model::BandStopSpeedUpResult> BandStopSpeedUpOutcome;
typedef std::future<BandStopSpeedUpOutcome> BandStopSpeedUpOutcomeCallable;
typedef std::function<void(const SnsuapiClient*, const Model::BandStopSpeedUpRequest&, const BandStopSpeedUpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BandStopSpeedUpAsyncHandler;
typedef Outcome<Error, Model::BandStatusQueryResult> BandStatusQueryOutcome;
typedef std::future<BandStatusQueryOutcome> BandStatusQueryOutcomeCallable;
typedef std::function<void(const SnsuapiClient*, const Model::BandStatusQueryRequest&, const BandStatusQueryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BandStatusQueryAsyncHandler;
typedef Outcome<Error, Model::MobileStatusQueryResult> MobileStatusQueryOutcome;
typedef std::future<MobileStatusQueryOutcome> MobileStatusQueryOutcomeCallable;
typedef std::function<void(const SnsuapiClient*, const Model::MobileStatusQueryRequest&, const MobileStatusQueryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MobileStatusQueryAsyncHandler;
typedef Outcome<Error, Model::MobileStopSpeedUpResult> MobileStopSpeedUpOutcome;
typedef std::future<MobileStopSpeedUpOutcome> MobileStopSpeedUpOutcomeCallable;
typedef std::function<void(const SnsuapiClient*, const Model::MobileStopSpeedUpRequest&, const MobileStopSpeedUpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MobileStopSpeedUpAsyncHandler;
typedef Outcome<Error, Model::BandOfferOrderResult> BandOfferOrderOutcome;
typedef std::future<BandOfferOrderOutcome> BandOfferOrderOutcomeCallable;
typedef std::function<void(const SnsuapiClient*, const Model::BandOfferOrderRequest&, const BandOfferOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BandOfferOrderAsyncHandler;
@@ -71,26 +56,26 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::BandStartSpeedUpResult> BandStartSpeedUpOutcome;
typedef std::future<BandStartSpeedUpOutcome> BandStartSpeedUpOutcomeCallable;
typedef std::function<void(const SnsuapiClient*, const Model::BandStartSpeedUpRequest&, const BandStartSpeedUpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BandStartSpeedUpAsyncHandler;
typedef Outcome<Error, Model::BandStatusQueryResult> BandStatusQueryOutcome;
typedef std::future<BandStatusQueryOutcome> BandStatusQueryOutcomeCallable;
typedef std::function<void(const SnsuapiClient*, const Model::BandStatusQueryRequest&, const BandStatusQueryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BandStatusQueryAsyncHandler;
typedef Outcome<Error, Model::BandStopSpeedUpResult> BandStopSpeedUpOutcome;
typedef std::future<BandStopSpeedUpOutcome> BandStopSpeedUpOutcomeCallable;
typedef std::function<void(const SnsuapiClient*, const Model::BandStopSpeedUpRequest&, const BandStopSpeedUpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BandStopSpeedUpAsyncHandler;
typedef Outcome<Error, Model::MobileStartSpeedUpResult> MobileStartSpeedUpOutcome;
typedef std::future<MobileStartSpeedUpOutcome> MobileStartSpeedUpOutcomeCallable;
typedef std::function<void(const SnsuapiClient*, const Model::MobileStartSpeedUpRequest&, const MobileStartSpeedUpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MobileStartSpeedUpAsyncHandler;
typedef Outcome<Error, Model::MobileStatusQueryResult> MobileStatusQueryOutcome;
typedef std::future<MobileStatusQueryOutcome> MobileStatusQueryOutcomeCallable;
typedef std::function<void(const SnsuapiClient*, const Model::MobileStatusQueryRequest&, const MobileStatusQueryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MobileStatusQueryAsyncHandler;
typedef Outcome<Error, Model::MobileStopSpeedUpResult> MobileStopSpeedUpOutcome;
typedef std::future<MobileStopSpeedUpOutcome> MobileStopSpeedUpOutcomeCallable;
typedef std::function<void(const SnsuapiClient*, const Model::MobileStopSpeedUpRequest&, const MobileStopSpeedUpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MobileStopSpeedUpAsyncHandler;
SnsuapiClient(const Credentials &credentials, const ClientConfiguration &configuration);
SnsuapiClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
SnsuapiClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~SnsuapiClient();
MobileStartSpeedUpOutcome mobileStartSpeedUp(const Model::MobileStartSpeedUpRequest &request)const;
void mobileStartSpeedUpAsync(const Model::MobileStartSpeedUpRequest& request, const MobileStartSpeedUpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
MobileStartSpeedUpOutcomeCallable mobileStartSpeedUpCallable(const Model::MobileStartSpeedUpRequest& request) const;
BandStopSpeedUpOutcome bandStopSpeedUp(const Model::BandStopSpeedUpRequest &request)const;
void bandStopSpeedUpAsync(const Model::BandStopSpeedUpRequest& request, const BandStopSpeedUpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BandStopSpeedUpOutcomeCallable bandStopSpeedUpCallable(const Model::BandStopSpeedUpRequest& request) const;
BandStatusQueryOutcome bandStatusQuery(const Model::BandStatusQueryRequest &request)const;
void bandStatusQueryAsync(const Model::BandStatusQueryRequest& request, const BandStatusQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BandStatusQueryOutcomeCallable bandStatusQueryCallable(const Model::BandStatusQueryRequest& request) const;
MobileStatusQueryOutcome mobileStatusQuery(const Model::MobileStatusQueryRequest &request)const;
void mobileStatusQueryAsync(const Model::MobileStatusQueryRequest& request, const MobileStatusQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
MobileStatusQueryOutcomeCallable mobileStatusQueryCallable(const Model::MobileStatusQueryRequest& request) const;
MobileStopSpeedUpOutcome mobileStopSpeedUp(const Model::MobileStopSpeedUpRequest &request)const;
void mobileStopSpeedUpAsync(const Model::MobileStopSpeedUpRequest& request, const MobileStopSpeedUpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
MobileStopSpeedUpOutcomeCallable mobileStopSpeedUpCallable(const Model::MobileStopSpeedUpRequest& request) const;
BandOfferOrderOutcome bandOfferOrder(const Model::BandOfferOrderRequest &request)const;
void bandOfferOrderAsync(const Model::BandOfferOrderRequest& request, const BandOfferOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BandOfferOrderOutcomeCallable bandOfferOrderCallable(const Model::BandOfferOrderRequest& request) const;
@@ -100,6 +85,21 @@ namespace AlibabaCloud
BandStartSpeedUpOutcome bandStartSpeedUp(const Model::BandStartSpeedUpRequest &request)const;
void bandStartSpeedUpAsync(const Model::BandStartSpeedUpRequest& request, const BandStartSpeedUpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BandStartSpeedUpOutcomeCallable bandStartSpeedUpCallable(const Model::BandStartSpeedUpRequest& request) const;
BandStatusQueryOutcome bandStatusQuery(const Model::BandStatusQueryRequest &request)const;
void bandStatusQueryAsync(const Model::BandStatusQueryRequest& request, const BandStatusQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BandStatusQueryOutcomeCallable bandStatusQueryCallable(const Model::BandStatusQueryRequest& request) const;
BandStopSpeedUpOutcome bandStopSpeedUp(const Model::BandStopSpeedUpRequest &request)const;
void bandStopSpeedUpAsync(const Model::BandStopSpeedUpRequest& request, const BandStopSpeedUpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BandStopSpeedUpOutcomeCallable bandStopSpeedUpCallable(const Model::BandStopSpeedUpRequest& request) const;
MobileStartSpeedUpOutcome mobileStartSpeedUp(const Model::MobileStartSpeedUpRequest &request)const;
void mobileStartSpeedUpAsync(const Model::MobileStartSpeedUpRequest& request, const MobileStartSpeedUpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
MobileStartSpeedUpOutcomeCallable mobileStartSpeedUpCallable(const Model::MobileStartSpeedUpRequest& request) const;
MobileStatusQueryOutcome mobileStatusQuery(const Model::MobileStatusQueryRequest &request)const;
void mobileStatusQueryAsync(const Model::MobileStatusQueryRequest& request, const MobileStatusQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
MobileStatusQueryOutcomeCallable mobileStatusQueryCallable(const Model::MobileStatusQueryRequest& request) const;
MobileStopSpeedUpOutcome mobileStopSpeedUp(const Model::MobileStopSpeedUpRequest &request)const;
void mobileStopSpeedUpAsync(const Model::MobileStopSpeedUpRequest& request, const MobileStopSpeedUpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
MobileStopSpeedUpOutcomeCallable mobileStopSpeedUpCallable(const Model::MobileStopSpeedUpRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -39,22 +39,22 @@ namespace AlibabaCloud
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getBandId()const;
void setBandId(const std::string& bandId);
std::string getOfferId()const;
void setOfferId(const std::string& offerId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getBandId()const;
void setBandId(const std::string& bandId);
std::string getOfferId()const;
void setOfferId(const std::string& offerId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string bandId_;
std::string offerId_;
long ownerId_;
std::string accessKeyId_;
std::string bandId_;
std::string offerId_;
};
}

View File

@@ -41,20 +41,20 @@ namespace AlibabaCloud
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
int getPort()const;
void setPort(int port);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
int getPort()const;
void setPort(int port);
private:
std::string ipAddress_;
long resourceOwnerId_;
std::string resourceOwnerAccount_;
int port_;
long ownerId_;
std::string accessKeyId_;
int port_;
};
}

View File

@@ -39,34 +39,34 @@ namespace AlibabaCloud
void setIpAddress(const std::string& ipAddress);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
int getPort()const;
void setPort(int port);
long getBandId()const;
void setBandId(long bandId);
long getOwnerId()const;
void setOwnerId(long ownerId);
long getTargetBandwidth()const;
void setTargetBandwidth(long targetBandwidth);
std::string getBandScene()const;
void setBandScene(const std::string& bandScene);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
long getBandId()const;
void setBandId(long bandId);
long getTargetBandwidth()const;
void setTargetBandwidth(long targetBandwidth);
std::string getDirection()const;
void setDirection(const std::string& direction);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getBandScene()const;
void setBandScene(const std::string& bandScene);
int getPort()const;
void setPort(int port);
private:
std::string ipAddress_;
long resourceOwnerId_;
std::string resourceOwnerAccount_;
int port_;
long bandId_;
long ownerId_;
long targetBandwidth_;
std::string bandScene_;
std::string accessKeyId_;
long bandId_;
long targetBandwidth_;
std::string direction_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string bandScene_;
int port_;
};
}

View File

@@ -39,19 +39,19 @@ namespace AlibabaCloud
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getBandId()const;
void setBandId(long bandId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
long getBandId()const;
void setBandId(long bandId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
long bandId_;
long ownerId_;
std::string accessKeyId_;
long bandId_;
};
}

View File

@@ -39,28 +39,28 @@ namespace AlibabaCloud
void setIpAddress(const std::string& ipAddress);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
int getPort()const;
void setPort(int port);
long getBandId()const;
void setBandId(long bandId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
long getBandId()const;
void setBandId(long bandId);
std::string getDirection()const;
void setDirection(const std::string& direction);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getPort()const;
void setPort(int port);
private:
std::string ipAddress_;
long resourceOwnerId_;
std::string resourceOwnerAccount_;
int port_;
long bandId_;
long ownerId_;
std::string accessKeyId_;
long bandId_;
std::string direction_;
std::string resourceOwnerAccount_;
long ownerId_;
int port_;
};
}

View File

@@ -35,38 +35,38 @@ namespace AlibabaCloud
MobileStartSpeedUpRequest();
~MobileStartSpeedUpRequest();
std::string getDuration()const;
void setDuration(const std::string& duration);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getPublicIp()const;
void setPublicIp(const std::string& publicIp);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getDuration()const;
void setDuration(const std::string& duration);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getIp()const;
void setIp(const std::string& ip);
std::string getDestinationIpAddress()const;
void setDestinationIpAddress(const std::string& destinationIpAddress);
std::string getPublicIp()const;
void setPublicIp(const std::string& publicIp);
std::string getPublicPort()const;
void setPublicPort(const std::string& publicPort);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getToken()const;
void setToken(const std::string& token);
std::string getPublicPort()const;
void setPublicPort(const std::string& publicPort);
private:
std::string duration_;
long resourceOwnerId_;
std::string publicIp_;
std::string accessKeyId_;
std::string duration_;
std::string resourceOwnerAccount_;
std::string ip_;
std::string destinationIpAddress_;
std::string publicIp_;
std::string publicPort_;
long ownerId_;
std::string accessKeyId_;
std::string token_;
std::string publicPort_;
};
}

View File

@@ -39,19 +39,19 @@ namespace AlibabaCloud
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getCorrelationId()const;
void setCorrelationId(const std::string& correlationId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getCorrelationId()const;
void setCorrelationId(const std::string& correlationId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string correlationId_;
long ownerId_;
std::string accessKeyId_;
std::string correlationId_;
};
}

View File

@@ -39,19 +39,19 @@ namespace AlibabaCloud
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getCorrelationId()const;
void setCorrelationId(const std::string& correlationId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getCorrelationId()const;
void setCorrelationId(const std::string& correlationId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string correlationId_;
long ownerId_;
std::string accessKeyId_;
std::string correlationId_;
};
}