SNSUAPI SDK Auto Released By shenshi,Version:1.34.33
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
110
snsuapi/include/alibabacloud/snsuapi/SnsuapiClient.h
Normal file
110
snsuapi/include/alibabacloud/snsuapi/SnsuapiClient.h
Normal file
@@ -0,0 +1,110 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SNSUAPI_SNSUAPICLIENT_H_
|
||||
#define ALIBABACLOUD_SNSUAPI_SNSUAPICLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#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/BandOfferOrderRequest.h"
|
||||
#include "model/BandOfferOrderResult.h"
|
||||
#include "model/MobileStopSpeedUpRequest.h"
|
||||
#include "model/MobileStopSpeedUpResult.h"
|
||||
#include "model/BandPrecheckRequest.h"
|
||||
#include "model/BandPrecheckResult.h"
|
||||
#include "model/BandStartSpeedUpRequest.h"
|
||||
#include "model/BandStartSpeedUpResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Snsuapi
|
||||
{
|
||||
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::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;
|
||||
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::BandPrecheckResult> BandPrecheckOutcome;
|
||||
typedef std::future<BandPrecheckOutcome> BandPrecheckOutcomeCallable;
|
||||
typedef std::function<void(const SnsuapiClient*, const Model::BandPrecheckRequest&, const BandPrecheckOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BandPrecheckAsyncHandler;
|
||||
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;
|
||||
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
BandPrecheckOutcome bandPrecheck(const Model::BandPrecheckRequest &request)const;
|
||||
void bandPrecheckAsync(const Model::BandPrecheckRequest& request, const BandPrecheckAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BandPrecheckOutcomeCallable bandPrecheckCallable(const Model::BandPrecheckRequest& request) const;
|
||||
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;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_SNSUAPI_SNSUAPICLIENT_H_
|
||||
32
snsuapi/include/alibabacloud/snsuapi/SnsuapiExport.h
Normal file
32
snsuapi/include/alibabacloud/snsuapi/SnsuapiExport.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SNSUAPI_SNSUAPIEXPORT_H_
|
||||
#define ALIBABACLOUD_SNSUAPI_SNSUAPIEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_SNSUAPI_LIBRARY)
|
||||
# define ALIBABACLOUD_SNSUAPI_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_SNSUAPI_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_SNSUAPI_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_SNSUAPI_SNSUAPIEXPORT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SNSUAPI_MODEL_BANDOFFERORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_SNSUAPI_MODEL_BANDOFFERORDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/snsuapi/SnsuapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Snsuapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SNSUAPI_EXPORT BandOfferOrderRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BandOfferOrderRequest();
|
||||
~BandOfferOrderRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
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);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string bandId_;
|
||||
std::string offerId_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SNSUAPI_MODEL_BANDOFFERORDERREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SNSUAPI_MODEL_BANDOFFERORDERRESULT_H_
|
||||
#define ALIBABACLOUD_SNSUAPI_MODEL_BANDOFFERORDERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/snsuapi/SnsuapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Snsuapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SNSUAPI_EXPORT BandOfferOrderResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ResultModule
|
||||
{
|
||||
long lxOrderId;
|
||||
};
|
||||
|
||||
|
||||
BandOfferOrderResult();
|
||||
explicit BandOfferOrderResult(const std::string &payload);
|
||||
~BandOfferOrderResult();
|
||||
ResultModule getResultModule()const;
|
||||
std::string getResultMessage()const;
|
||||
std::string getResultCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
ResultModule resultModule_;
|
||||
std::string resultMessage_;
|
||||
std::string resultCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SNSUAPI_MODEL_BANDOFFERORDERRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SNSUAPI_MODEL_BANDPRECHECKREQUEST_H_
|
||||
#define ALIBABACLOUD_SNSUAPI_MODEL_BANDPRECHECKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/snsuapi/SnsuapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Snsuapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SNSUAPI_EXPORT BandPrecheckRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BandPrecheckRequest();
|
||||
~BandPrecheckRequest();
|
||||
|
||||
std::string getIpAddress()const;
|
||||
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 getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string ipAddress_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
int port_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SNSUAPI_MODEL_BANDPRECHECKREQUEST_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SNSUAPI_MODEL_BANDPRECHECKRESULT_H_
|
||||
#define ALIBABACLOUD_SNSUAPI_MODEL_BANDPRECHECKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/snsuapi/SnsuapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Snsuapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SNSUAPI_EXPORT BandPrecheckResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ResultModule
|
||||
{
|
||||
struct BandOfferListItem
|
||||
{
|
||||
long offerId;
|
||||
int bandwidth;
|
||||
long duration;
|
||||
std::string direction;
|
||||
};
|
||||
std::vector<BandOfferListItem> bandOfferList;
|
||||
long bandId;
|
||||
int downloadBandwidth;
|
||||
int uploadBandwidth;
|
||||
};
|
||||
|
||||
|
||||
BandPrecheckResult();
|
||||
explicit BandPrecheckResult(const std::string &payload);
|
||||
~BandPrecheckResult();
|
||||
ResultModule getResultModule()const;
|
||||
std::string getResultMessage()const;
|
||||
std::string getResultCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
ResultModule resultModule_;
|
||||
std::string resultMessage_;
|
||||
std::string resultCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SNSUAPI_MODEL_BANDPRECHECKRESULT_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SNSUAPI_MODEL_BANDSTARTSPEEDUPREQUEST_H_
|
||||
#define ALIBABACLOUD_SNSUAPI_MODEL_BANDSTARTSPEEDUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/snsuapi/SnsuapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Snsuapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SNSUAPI_EXPORT BandStartSpeedUpRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BandStartSpeedUpRequest();
|
||||
~BandStartSpeedUpRequest();
|
||||
|
||||
std::string getIpAddress()const;
|
||||
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);
|
||||
std::string getDirection()const;
|
||||
void setDirection(const std::string& direction);
|
||||
|
||||
private:
|
||||
std::string ipAddress_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
int port_;
|
||||
long bandId_;
|
||||
long ownerId_;
|
||||
long targetBandwidth_;
|
||||
std::string bandScene_;
|
||||
std::string accessKeyId_;
|
||||
std::string direction_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SNSUAPI_MODEL_BANDSTARTSPEEDUPREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SNSUAPI_MODEL_BANDSTARTSPEEDUPRESULT_H_
|
||||
#define ALIBABACLOUD_SNSUAPI_MODEL_BANDSTARTSPEEDUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/snsuapi/SnsuapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Snsuapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SNSUAPI_EXPORT BandStartSpeedUpResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
BandStartSpeedUpResult();
|
||||
explicit BandStartSpeedUpResult(const std::string &payload);
|
||||
~BandStartSpeedUpResult();
|
||||
bool getResultModule()const;
|
||||
std::string getResultMessage()const;
|
||||
std::string getResultCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool resultModule_;
|
||||
std::string resultMessage_;
|
||||
std::string resultCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SNSUAPI_MODEL_BANDSTARTSPEEDUPRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SNSUAPI_MODEL_BANDSTATUSQUERYREQUEST_H_
|
||||
#define ALIBABACLOUD_SNSUAPI_MODEL_BANDSTATUSQUERYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/snsuapi/SnsuapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Snsuapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SNSUAPI_EXPORT BandStatusQueryRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BandStatusQueryRequest();
|
||||
~BandStatusQueryRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
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);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long bandId_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SNSUAPI_MODEL_BANDSTATUSQUERYREQUEST_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SNSUAPI_MODEL_BANDSTATUSQUERYRESULT_H_
|
||||
#define ALIBABACLOUD_SNSUAPI_MODEL_BANDSTATUSQUERYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/snsuapi/SnsuapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Snsuapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SNSUAPI_EXPORT BandStatusQueryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ResultModule
|
||||
{
|
||||
int uploadTarget;
|
||||
int downloadTarget;
|
||||
};
|
||||
|
||||
|
||||
BandStatusQueryResult();
|
||||
explicit BandStatusQueryResult(const std::string &payload);
|
||||
~BandStatusQueryResult();
|
||||
ResultModule getResultModule()const;
|
||||
std::string getResultMessage()const;
|
||||
std::string getResultCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
ResultModule resultModule_;
|
||||
std::string resultMessage_;
|
||||
std::string resultCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SNSUAPI_MODEL_BANDSTATUSQUERYRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SNSUAPI_MODEL_BANDSTOPSPEEDUPREQUEST_H_
|
||||
#define ALIBABACLOUD_SNSUAPI_MODEL_BANDSTOPSPEEDUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/snsuapi/SnsuapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Snsuapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SNSUAPI_EXPORT BandStopSpeedUpRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BandStopSpeedUpRequest();
|
||||
~BandStopSpeedUpRequest();
|
||||
|
||||
std::string getIpAddress()const;
|
||||
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);
|
||||
std::string getDirection()const;
|
||||
void setDirection(const std::string& direction);
|
||||
|
||||
private:
|
||||
std::string ipAddress_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
int port_;
|
||||
long bandId_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string direction_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SNSUAPI_MODEL_BANDSTOPSPEEDUPREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SNSUAPI_MODEL_BANDSTOPSPEEDUPRESULT_H_
|
||||
#define ALIBABACLOUD_SNSUAPI_MODEL_BANDSTOPSPEEDUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/snsuapi/SnsuapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Snsuapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SNSUAPI_EXPORT BandStopSpeedUpResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
BandStopSpeedUpResult();
|
||||
explicit BandStopSpeedUpResult(const std::string &payload);
|
||||
~BandStopSpeedUpResult();
|
||||
bool getResultModule()const;
|
||||
std::string getResultMessage()const;
|
||||
std::string getResultCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool resultModule_;
|
||||
std::string resultMessage_;
|
||||
std::string resultCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SNSUAPI_MODEL_BANDSTOPSPEEDUPRESULT_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SNSUAPI_MODEL_MOBILESTARTSPEEDUPREQUEST_H_
|
||||
#define ALIBABACLOUD_SNSUAPI_MODEL_MOBILESTARTSPEEDUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/snsuapi/SnsuapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Snsuapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SNSUAPI_EXPORT MobileStartSpeedUpRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
MobileStartSpeedUpRequest();
|
||||
~MobileStartSpeedUpRequest();
|
||||
|
||||
std::string getDuration()const;
|
||||
void setDuration(const std::string& duration);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
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);
|
||||
|
||||
private:
|
||||
std::string duration_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ip_;
|
||||
std::string destinationIpAddress_;
|
||||
std::string publicIp_;
|
||||
std::string publicPort_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string token_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SNSUAPI_MODEL_MOBILESTARTSPEEDUPREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SNSUAPI_MODEL_MOBILESTARTSPEEDUPRESULT_H_
|
||||
#define ALIBABACLOUD_SNSUAPI_MODEL_MOBILESTARTSPEEDUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/snsuapi/SnsuapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Snsuapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SNSUAPI_EXPORT MobileStartSpeedUpResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
MobileStartSpeedUpResult();
|
||||
explicit MobileStartSpeedUpResult(const std::string &payload);
|
||||
~MobileStartSpeedUpResult();
|
||||
std::string getResultModule()const;
|
||||
std::string getResultMessage()const;
|
||||
std::string getResultCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string resultModule_;
|
||||
std::string resultMessage_;
|
||||
std::string resultCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SNSUAPI_MODEL_MOBILESTARTSPEEDUPRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SNSUAPI_MODEL_MOBILESTATUSQUERYREQUEST_H_
|
||||
#define ALIBABACLOUD_SNSUAPI_MODEL_MOBILESTATUSQUERYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/snsuapi/SnsuapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Snsuapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SNSUAPI_EXPORT MobileStatusQueryRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
MobileStatusQueryRequest();
|
||||
~MobileStatusQueryRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
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);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string correlationId_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SNSUAPI_MODEL_MOBILESTATUSQUERYREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SNSUAPI_MODEL_MOBILESTATUSQUERYRESULT_H_
|
||||
#define ALIBABACLOUD_SNSUAPI_MODEL_MOBILESTATUSQUERYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/snsuapi/SnsuapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Snsuapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SNSUAPI_EXPORT MobileStatusQueryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
MobileStatusQueryResult();
|
||||
explicit MobileStatusQueryResult(const std::string &payload);
|
||||
~MobileStatusQueryResult();
|
||||
bool getResultModule()const;
|
||||
std::string getResultMessage()const;
|
||||
std::string getResultCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool resultModule_;
|
||||
std::string resultMessage_;
|
||||
std::string resultCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SNSUAPI_MODEL_MOBILESTATUSQUERYRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SNSUAPI_MODEL_MOBILESTOPSPEEDUPREQUEST_H_
|
||||
#define ALIBABACLOUD_SNSUAPI_MODEL_MOBILESTOPSPEEDUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/snsuapi/SnsuapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Snsuapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SNSUAPI_EXPORT MobileStopSpeedUpRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
MobileStopSpeedUpRequest();
|
||||
~MobileStopSpeedUpRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
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);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string correlationId_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SNSUAPI_MODEL_MOBILESTOPSPEEDUPREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SNSUAPI_MODEL_MOBILESTOPSPEEDUPRESULT_H_
|
||||
#define ALIBABACLOUD_SNSUAPI_MODEL_MOBILESTOPSPEEDUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/snsuapi/SnsuapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Snsuapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SNSUAPI_EXPORT MobileStopSpeedUpResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
MobileStopSpeedUpResult();
|
||||
explicit MobileStopSpeedUpResult(const std::string &payload);
|
||||
~MobileStopSpeedUpResult();
|
||||
bool getResultModule()const;
|
||||
std::string getResultMessage()const;
|
||||
std::string getResultCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool resultModule_;
|
||||
std::string resultMessage_;
|
||||
std::string resultCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SNSUAPI_MODEL_MOBILESTOPSPEEDUPRESULT_H_
|
||||
Reference in New Issue
Block a user