Publish sdk.

This commit is contained in:
sdk-team
2023-10-11 05:26:41 +00:00
parent 1b19d44bc2
commit 99697bde91
63 changed files with 4109 additions and 1825 deletions

View File

@@ -22,6 +22,10 @@
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "DypnsapiExport.h"
#include "model/CheckSmsVerifyCodeRequest.h"
#include "model/CheckSmsVerifyCodeResult.h"
#include "model/CreateSchemeConfigRequest.h"
#include "model/CreateSchemeConfigResult.h"
#include "model/CreateVerifySchemeRequest.h"
#include "model/CreateVerifySchemeResult.h"
#include "model/DeleteVerifySchemeRequest.h"
@@ -32,22 +36,30 @@
#include "model/GetAuthTokenResult.h"
#include "model/GetAuthorizationUrlRequest.h"
#include "model/GetAuthorizationUrlResult.h"
#include "model/GetCertifyResultRequest.h"
#include "model/GetCertifyResultResult.h"
#include "model/GetFusionAuthTokenRequest.h"
#include "model/GetFusionAuthTokenResult.h"
#include "model/GetMobileRequest.h"
#include "model/GetMobileResult.h"
#include "model/GetPhoneWithTokenRequest.h"
#include "model/GetPhoneWithTokenResult.h"
#include "model/GetSmsAuthTokensRequest.h"
#include "model/GetSmsAuthTokensResult.h"
#include "model/QueryGateVerifyBillingPublicRequest.h"
#include "model/QueryGateVerifyBillingPublicResult.h"
#include "model/QueryGateVerifyStatisticPublicRequest.h"
#include "model/QueryGateVerifyStatisticPublicResult.h"
#include "model/QuerySendDetailsRequest.h"
#include "model/QuerySendDetailsResult.h"
#include "model/SendSmsVerifyCodeRequest.h"
#include "model/SendSmsVerifyCodeResult.h"
#include "model/VerifyMobileRequest.h"
#include "model/VerifyMobileResult.h"
#include "model/VerifyPhoneWithTokenRequest.h"
#include "model/VerifyPhoneWithTokenResult.h"
#include "model/VerifySmsCodeRequest.h"
#include "model/VerifySmsCodeResult.h"
#include "model/VerifyWithFusionAuthTokenRequest.h"
#include "model/VerifyWithFusionAuthTokenResult.h"
namespace AlibabaCloud
@@ -57,6 +69,12 @@ namespace AlibabaCloud
class ALIBABACLOUD_DYPNSAPI_EXPORT DypnsapiClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::CheckSmsVerifyCodeResult> CheckSmsVerifyCodeOutcome;
typedef std::future<CheckSmsVerifyCodeOutcome> CheckSmsVerifyCodeOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::CheckSmsVerifyCodeRequest&, const CheckSmsVerifyCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckSmsVerifyCodeAsyncHandler;
typedef Outcome<Error, Model::CreateSchemeConfigResult> CreateSchemeConfigOutcome;
typedef std::future<CreateSchemeConfigOutcome> CreateSchemeConfigOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::CreateSchemeConfigRequest&, const CreateSchemeConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSchemeConfigAsyncHandler;
typedef Outcome<Error, Model::CreateVerifySchemeResult> CreateVerifySchemeOutcome;
typedef std::future<CreateVerifySchemeOutcome> CreateVerifySchemeOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::CreateVerifySchemeRequest&, const CreateVerifySchemeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateVerifySchemeAsyncHandler;
@@ -72,12 +90,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetAuthorizationUrlResult> GetAuthorizationUrlOutcome;
typedef std::future<GetAuthorizationUrlOutcome> GetAuthorizationUrlOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::GetAuthorizationUrlRequest&, const GetAuthorizationUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAuthorizationUrlAsyncHandler;
typedef Outcome<Error, Model::GetCertifyResultResult> GetCertifyResultOutcome;
typedef std::future<GetCertifyResultOutcome> GetCertifyResultOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::GetCertifyResultRequest&, const GetCertifyResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCertifyResultAsyncHandler;
typedef Outcome<Error, Model::GetFusionAuthTokenResult> GetFusionAuthTokenOutcome;
typedef std::future<GetFusionAuthTokenOutcome> GetFusionAuthTokenOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::GetFusionAuthTokenRequest&, const GetFusionAuthTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetFusionAuthTokenAsyncHandler;
typedef Outcome<Error, Model::GetMobileResult> GetMobileOutcome;
typedef std::future<GetMobileOutcome> GetMobileOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::GetMobileRequest&, const GetMobileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMobileAsyncHandler;
typedef Outcome<Error, Model::GetPhoneWithTokenResult> GetPhoneWithTokenOutcome;
typedef std::future<GetPhoneWithTokenOutcome> GetPhoneWithTokenOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::GetPhoneWithTokenRequest&, const GetPhoneWithTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPhoneWithTokenAsyncHandler;
typedef Outcome<Error, Model::GetSmsAuthTokensResult> GetSmsAuthTokensOutcome;
typedef std::future<GetSmsAuthTokensOutcome> GetSmsAuthTokensOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::GetSmsAuthTokensRequest&, const GetSmsAuthTokensOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSmsAuthTokensAsyncHandler;
@@ -87,6 +108,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryGateVerifyStatisticPublicResult> QueryGateVerifyStatisticPublicOutcome;
typedef std::future<QueryGateVerifyStatisticPublicOutcome> QueryGateVerifyStatisticPublicOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::QueryGateVerifyStatisticPublicRequest&, const QueryGateVerifyStatisticPublicOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryGateVerifyStatisticPublicAsyncHandler;
typedef Outcome<Error, Model::QuerySendDetailsResult> QuerySendDetailsOutcome;
typedef std::future<QuerySendDetailsOutcome> QuerySendDetailsOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::QuerySendDetailsRequest&, const QuerySendDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySendDetailsAsyncHandler;
typedef Outcome<Error, Model::SendSmsVerifyCodeResult> SendSmsVerifyCodeOutcome;
typedef std::future<SendSmsVerifyCodeOutcome> SendSmsVerifyCodeOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::SendSmsVerifyCodeRequest&, const SendSmsVerifyCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendSmsVerifyCodeAsyncHandler;
typedef Outcome<Error, Model::VerifyMobileResult> VerifyMobileOutcome;
typedef std::future<VerifyMobileOutcome> VerifyMobileOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::VerifyMobileRequest&, const VerifyMobileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VerifyMobileAsyncHandler;
@@ -96,11 +123,20 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::VerifySmsCodeResult> VerifySmsCodeOutcome;
typedef std::future<VerifySmsCodeOutcome> VerifySmsCodeOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::VerifySmsCodeRequest&, const VerifySmsCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VerifySmsCodeAsyncHandler;
typedef Outcome<Error, Model::VerifyWithFusionAuthTokenResult> VerifyWithFusionAuthTokenOutcome;
typedef std::future<VerifyWithFusionAuthTokenOutcome> VerifyWithFusionAuthTokenOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::VerifyWithFusionAuthTokenRequest&, const VerifyWithFusionAuthTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VerifyWithFusionAuthTokenAsyncHandler;
DypnsapiClient(const Credentials &credentials, const ClientConfiguration &configuration);
DypnsapiClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
DypnsapiClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~DypnsapiClient();
CheckSmsVerifyCodeOutcome checkSmsVerifyCode(const Model::CheckSmsVerifyCodeRequest &request)const;
void checkSmsVerifyCodeAsync(const Model::CheckSmsVerifyCodeRequest& request, const CheckSmsVerifyCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CheckSmsVerifyCodeOutcomeCallable checkSmsVerifyCodeCallable(const Model::CheckSmsVerifyCodeRequest& request) const;
CreateSchemeConfigOutcome createSchemeConfig(const Model::CreateSchemeConfigRequest &request)const;
void createSchemeConfigAsync(const Model::CreateSchemeConfigRequest& request, const CreateSchemeConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSchemeConfigOutcomeCallable createSchemeConfigCallable(const Model::CreateSchemeConfigRequest& request) const;
CreateVerifySchemeOutcome createVerifyScheme(const Model::CreateVerifySchemeRequest &request)const;
void createVerifySchemeAsync(const Model::CreateVerifySchemeRequest& request, const CreateVerifySchemeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateVerifySchemeOutcomeCallable createVerifySchemeCallable(const Model::CreateVerifySchemeRequest& request) const;
@@ -116,12 +152,15 @@ namespace AlibabaCloud
GetAuthorizationUrlOutcome getAuthorizationUrl(const Model::GetAuthorizationUrlRequest &request)const;
void getAuthorizationUrlAsync(const Model::GetAuthorizationUrlRequest& request, const GetAuthorizationUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAuthorizationUrlOutcomeCallable getAuthorizationUrlCallable(const Model::GetAuthorizationUrlRequest& request) const;
GetCertifyResultOutcome getCertifyResult(const Model::GetCertifyResultRequest &request)const;
void getCertifyResultAsync(const Model::GetCertifyResultRequest& request, const GetCertifyResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCertifyResultOutcomeCallable getCertifyResultCallable(const Model::GetCertifyResultRequest& request) const;
GetFusionAuthTokenOutcome getFusionAuthToken(const Model::GetFusionAuthTokenRequest &request)const;
void getFusionAuthTokenAsync(const Model::GetFusionAuthTokenRequest& request, const GetFusionAuthTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetFusionAuthTokenOutcomeCallable getFusionAuthTokenCallable(const Model::GetFusionAuthTokenRequest& request) const;
GetMobileOutcome getMobile(const Model::GetMobileRequest &request)const;
void getMobileAsync(const Model::GetMobileRequest& request, const GetMobileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetMobileOutcomeCallable getMobileCallable(const Model::GetMobileRequest& request) const;
GetPhoneWithTokenOutcome getPhoneWithToken(const Model::GetPhoneWithTokenRequest &request)const;
void getPhoneWithTokenAsync(const Model::GetPhoneWithTokenRequest& request, const GetPhoneWithTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPhoneWithTokenOutcomeCallable getPhoneWithTokenCallable(const Model::GetPhoneWithTokenRequest& request) const;
GetSmsAuthTokensOutcome getSmsAuthTokens(const Model::GetSmsAuthTokensRequest &request)const;
void getSmsAuthTokensAsync(const Model::GetSmsAuthTokensRequest& request, const GetSmsAuthTokensAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSmsAuthTokensOutcomeCallable getSmsAuthTokensCallable(const Model::GetSmsAuthTokensRequest& request) const;
@@ -131,6 +170,12 @@ namespace AlibabaCloud
QueryGateVerifyStatisticPublicOutcome queryGateVerifyStatisticPublic(const Model::QueryGateVerifyStatisticPublicRequest &request)const;
void queryGateVerifyStatisticPublicAsync(const Model::QueryGateVerifyStatisticPublicRequest& request, const QueryGateVerifyStatisticPublicAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryGateVerifyStatisticPublicOutcomeCallable queryGateVerifyStatisticPublicCallable(const Model::QueryGateVerifyStatisticPublicRequest& request) const;
QuerySendDetailsOutcome querySendDetails(const Model::QuerySendDetailsRequest &request)const;
void querySendDetailsAsync(const Model::QuerySendDetailsRequest& request, const QuerySendDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySendDetailsOutcomeCallable querySendDetailsCallable(const Model::QuerySendDetailsRequest& request) const;
SendSmsVerifyCodeOutcome sendSmsVerifyCode(const Model::SendSmsVerifyCodeRequest &request)const;
void sendSmsVerifyCodeAsync(const Model::SendSmsVerifyCodeRequest& request, const SendSmsVerifyCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SendSmsVerifyCodeOutcomeCallable sendSmsVerifyCodeCallable(const Model::SendSmsVerifyCodeRequest& request) const;
VerifyMobileOutcome verifyMobile(const Model::VerifyMobileRequest &request)const;
void verifyMobileAsync(const Model::VerifyMobileRequest& request, const VerifyMobileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VerifyMobileOutcomeCallable verifyMobileCallable(const Model::VerifyMobileRequest& request) const;
@@ -140,6 +185,9 @@ namespace AlibabaCloud
VerifySmsCodeOutcome verifySmsCode(const Model::VerifySmsCodeRequest &request)const;
void verifySmsCodeAsync(const Model::VerifySmsCodeRequest& request, const VerifySmsCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VerifySmsCodeOutcomeCallable verifySmsCodeCallable(const Model::VerifySmsCodeRequest& request) const;
VerifyWithFusionAuthTokenOutcome verifyWithFusionAuthToken(const Model::VerifyWithFusionAuthTokenRequest &request)const;
void verifyWithFusionAuthTokenAsync(const Model::VerifyWithFusionAuthTokenRequest& request, const VerifyWithFusionAuthTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VerifyWithFusionAuthTokenOutcomeCallable verifyWithFusionAuthTokenCallable(const Model::VerifyWithFusionAuthTokenRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -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_DYPNSAPI_MODEL_CHECKSMSVERIFYCODEREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_CHECKSMSVERIFYCODEREQUEST_H_
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dypnsapi {
namespace Model {
class ALIBABACLOUD_DYPNSAPI_EXPORT CheckSmsVerifyCodeRequest : public RpcServiceRequest {
public:
CheckSmsVerifyCodeRequest();
~CheckSmsVerifyCodeRequest();
long getCaseAuthPolicy() const;
void setCaseAuthPolicy(long caseAuthPolicy);
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getCountryCode() const;
void setCountryCode(const std::string &countryCode);
std::string getPhoneNumber() const;
void setPhoneNumber(const std::string &phoneNumber);
std::string getExtendFunction() const;
void setExtendFunction(const std::string &extendFunction);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getVerifyCode() const;
void setVerifyCode(const std::string &verifyCode);
std::string getRouteName() const;
void setRouteName(const std::string &routeName);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getSchemeName() const;
void setSchemeName(const std::string &schemeName);
std::string getOutId() const;
void setOutId(const std::string &outId);
private:
long caseAuthPolicy_;
long resourceOwnerId_;
std::string countryCode_;
std::string phoneNumber_;
std::string extendFunction_;
std::string accessKeyId_;
std::string verifyCode_;
std::string routeName_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string schemeName_;
std::string outId_;
};
} // namespace Model
} // namespace Dypnsapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_CHECKSMSVERIFYCODEREQUEST_H_

View File

@@ -0,0 +1,64 @@
/*
* 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_DYPNSAPI_MODEL_CHECKSMSVERIFYCODERESULT_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_CHECKSMSVERIFYCODERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT CheckSmsVerifyCodeResult : public ServiceResult
{
public:
struct Model
{
std::string outId;
std::string verifyResult;
};
CheckSmsVerifyCodeResult();
explicit CheckSmsVerifyCodeResult(const std::string &payload);
~CheckSmsVerifyCodeResult();
std::string getAccessDeniedDetail()const;
std::string getMessage()const;
Model getModel()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string accessDeniedDetail_;
std::string message_;
Model model_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_CHECKSMSVERIFYCODERESULT_H_

View File

@@ -0,0 +1,78 @@
/*
* 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_DYPNSAPI_MODEL_CREATESCHEMECONFIGREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_CREATESCHEMECONFIGREQUEST_H_
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dypnsapi {
namespace Model {
class ALIBABACLOUD_DYPNSAPI_EXPORT CreateSchemeConfigRequest : public RpcServiceRequest {
public:
CreateSchemeConfigRequest();
~CreateSchemeConfigRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAndroidPackageSign() const;
void setAndroidPackageSign(const std::string &androidPackageSign);
std::string getPlatform() const;
void setPlatform(const std::string &platform);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getH5Url() const;
void setH5Url(const std::string &h5Url);
std::string getIosBundleId() const;
void setIosBundleId(const std::string &iosBundleId);
std::string getAppName() const;
void setAppName(const std::string &appName);
std::string getRouteName() const;
void setRouteName(const std::string &routeName);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getH5Origin() const;
void setH5Origin(const std::string &h5Origin);
std::string getSchemeName() const;
void setSchemeName(const std::string &schemeName);
std::string getAndroidPackageName() const;
void setAndroidPackageName(const std::string &androidPackageName);
private:
long resourceOwnerId_;
std::string androidPackageSign_;
std::string platform_;
std::string accessKeyId_;
std::string h5Url_;
std::string iosBundleId_;
std::string appName_;
std::string routeName_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string h5Origin_;
std::string schemeName_;
std::string androidPackageName_;
};
} // namespace Model
} // namespace Dypnsapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_CREATESCHEMECONFIGREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* 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_DYPNSAPI_MODEL_CREATESCHEMECONFIGRESULT_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_CREATESCHEMECONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT CreateSchemeConfigResult : public ServiceResult
{
public:
struct Model
{
std::string schemeCode;
};
CreateSchemeConfigResult();
explicit CreateSchemeConfigResult(const std::string &payload);
~CreateSchemeConfigResult();
std::string getMessage()const;
Model getModel()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Model model_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_CREATESCHEMECONFIGRESULT_H_

View File

@@ -1,75 +1,102 @@
/*
* 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_DYPNSAPI_MODEL_CREATEVERIFYSCHEMEREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_CREATEVERIFYSCHEMEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT CreateVerifySchemeRequest : public RpcServiceRequest
{
public:
CreateVerifySchemeRequest();
~CreateVerifySchemeRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getBundleId()const;
void setBundleId(const std::string& bundleId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAppName()const;
void setAppName(const std::string& appName);
std::string getPackSign()const;
void setPackSign(const std::string& packSign);
std::string getPackName()const;
void setPackName(const std::string& packName);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOsType()const;
void setOsType(const std::string& osType);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getSchemeName()const;
void setSchemeName(const std::string& schemeName);
private:
long resourceOwnerId_;
std::string bundleId_;
std::string accessKeyId_;
std::string appName_;
std::string packSign_;
std::string packName_;
std::string resourceOwnerAccount_;
std::string osType_;
long ownerId_;
std::string schemeName_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_CREATEVERIFYSCHEMEREQUEST_H_
*/
#ifndef ALIBABACLOUD_DYPNSAPI_MODEL_CREATEVERIFYSCHEMEREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_CREATEVERIFYSCHEMEREQUEST_H_
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dypnsapi {
namespace Model {
class ALIBABACLOUD_DYPNSAPI_EXPORT CreateVerifySchemeRequest : public RpcServiceRequest {
public:
CreateVerifySchemeRequest();
~CreateVerifySchemeRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getOrigin() const;
void setOrigin(const std::string &origin);
std::string getBundleId() const;
void setBundleId(const std::string &bundleId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getAuthType() const;
void setAuthType(const std::string &authType);
std::string getAppName() const;
void setAppName(const std::string &appName);
std::string getIpWhiteList() const;
void setIpWhiteList(const std::string &ipWhiteList);
std::string getRouteName() const;
void setRouteName(const std::string &routeName);
std::string getEmail() const;
void setEmail(const std::string &email);
std::string getPackSign() const;
void setPackSign(const std::string &packSign);
std::string getPackName() const;
void setPackName(const std::string &packName);
long getCuApiCode() const;
void setCuApiCode(long cuApiCode);
std::string getSceneType() const;
void setSceneType(const std::string &sceneType);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
long getCtApiCode() const;
void setCtApiCode(long ctApiCode);
std::string getOsType() const;
void setOsType(const std::string &osType);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getUrl() const;
void setUrl(const std::string &url);
long getCmApiCode() const;
void setCmApiCode(long cmApiCode);
std::string getSchemeName() const;
void setSchemeName(const std::string &schemeName);
std::string getSmsSignName() const;
void setSmsSignName(const std::string &smsSignName);
private:
long resourceOwnerId_;
std::string origin_;
std::string bundleId_;
std::string accessKeyId_;
std::string authType_;
std::string appName_;
std::string ipWhiteList_;
std::string routeName_;
std::string email_;
std::string packSign_;
std::string packName_;
long cuApiCode_;
std::string sceneType_;
std::string resourceOwnerAccount_;
long ctApiCode_;
std::string osType_;
long ownerId_;
std::string url_;
long cmApiCode_;
std::string schemeName_;
std::string smsSignName_;
};
} // namespace Model
} // namespace Dypnsapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_CREATEVERIFYSCHEMEREQUEST_H_

View File

@@ -43,14 +43,18 @@ namespace AlibabaCloud
~CreateVerifySchemeResult();
std::string getMessage()const;
GateVerifySchemeDTO getGateVerifySchemeDTO()const;
long getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
GateVerifySchemeDTO gateVerifySchemeDTO_;
long httpStatusCode_;
std::string code_;
bool success_;
};
}

View File

@@ -1,63 +1,57 @@
/*
* 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_DYPNSAPI_MODEL_DELETEVERIFYSCHEMEREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_DELETEVERIFYSCHEMEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT DeleteVerifySchemeRequest : public RpcServiceRequest
{
public:
DeleteVerifySchemeRequest();
~DeleteVerifySchemeRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSchemeCode()const;
void setSchemeCode(const std::string& schemeCode);
long getCustomerId()const;
void setCustomerId(long customerId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string accessKeyId_;
std::string schemeCode_;
long customerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_DELETEVERIFYSCHEMEREQUEST_H_
*/
#ifndef ALIBABACLOUD_DYPNSAPI_MODEL_DELETEVERIFYSCHEMEREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_DELETEVERIFYSCHEMEREQUEST_H_
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dypnsapi {
namespace Model {
class ALIBABACLOUD_DYPNSAPI_EXPORT DeleteVerifySchemeRequest : public RpcServiceRequest {
public:
DeleteVerifySchemeRequest();
~DeleteVerifySchemeRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getSchemeCode() const;
void setSchemeCode(const std::string &schemeCode);
long getCustomerId() const;
void setCustomerId(long customerId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string accessKeyId_;
std::string schemeCode_;
long customerId_;
};
} // namespace Model
} // namespace Dypnsapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_DELETEVERIFYSCHEMEREQUEST_H_

View File

@@ -1,63 +1,57 @@
/*
* 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_DYPNSAPI_MODEL_DESCRIBEVERIFYSCHEMEREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_DESCRIBEVERIFYSCHEMEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT DescribeVerifySchemeRequest : public RpcServiceRequest
{
public:
DescribeVerifySchemeRequest();
~DescribeVerifySchemeRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSchemeCode()const;
void setSchemeCode(const std::string& schemeCode);
long getCustomerId()const;
void setCustomerId(long customerId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string accessKeyId_;
std::string schemeCode_;
long customerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_DESCRIBEVERIFYSCHEMEREQUEST_H_
*/
#ifndef ALIBABACLOUD_DYPNSAPI_MODEL_DESCRIBEVERIFYSCHEMEREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_DESCRIBEVERIFYSCHEMEREQUEST_H_
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dypnsapi {
namespace Model {
class ALIBABACLOUD_DYPNSAPI_EXPORT DescribeVerifySchemeRequest : public RpcServiceRequest {
public:
DescribeVerifySchemeRequest();
~DescribeVerifySchemeRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getSchemeCode() const;
void setSchemeCode(const std::string &schemeCode);
long getCustomerId() const;
void setCustomerId(long customerId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string accessKeyId_;
std::string schemeCode_;
long customerId_;
};
} // namespace Model
} // namespace Dypnsapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_DESCRIBEVERIFYSCHEMEREQUEST_H_

View File

@@ -1,63 +1,57 @@
/*
* 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_DYPNSAPI_MODEL_GETAUTHTOKENREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_GETAUTHTOKENREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT GetAuthTokenRequest : public RpcServiceRequest
{
public:
GetAuthTokenRequest();
~GetAuthTokenRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOrigin()const;
void setOrigin(const std::string& origin);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getUrl()const;
void setUrl(const std::string& url);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string origin_;
long ownerId_;
std::string url_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_GETAUTHTOKENREQUEST_H_
*/
#ifndef ALIBABACLOUD_DYPNSAPI_MODEL_GETAUTHTOKENREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_GETAUTHTOKENREQUEST_H_
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dypnsapi {
namespace Model {
class ALIBABACLOUD_DYPNSAPI_EXPORT GetAuthTokenRequest : public RpcServiceRequest {
public:
GetAuthTokenRequest();
~GetAuthTokenRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string getOrigin() const;
void setOrigin(const std::string &origin);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getUrl() const;
void setUrl(const std::string &url);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string origin_;
long ownerId_;
std::string url_;
std::string accessKeyId_;
};
} // namespace Model
} // namespace Dypnsapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_GETAUTHTOKENREQUEST_H_

View File

@@ -1,66 +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_DYPNSAPI_MODEL_GETAUTHORIZATIONURLREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_GETAUTHORIZATIONURLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT GetAuthorizationUrlRequest : public RpcServiceRequest
{
public:
GetAuthorizationUrlRequest();
~GetAuthorizationUrlRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getSchemeId()const;
void setSchemeId(long schemeId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getPhoneNo()const;
void setPhoneNo(const std::string& phoneNo);
std::string getEndDate()const;
void setEndDate(const std::string& endDate);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
long schemeId_;
long ownerId_;
std::string phoneNo_;
std::string endDate_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_GETAUTHORIZATIONURLREQUEST_H_
*/
#ifndef ALIBABACLOUD_DYPNSAPI_MODEL_GETAUTHORIZATIONURLREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_GETAUTHORIZATIONURLREQUEST_H_
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dypnsapi {
namespace Model {
class ALIBABACLOUD_DYPNSAPI_EXPORT GetAuthorizationUrlRequest : public RpcServiceRequest {
public:
GetAuthorizationUrlRequest();
~GetAuthorizationUrlRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
long getSchemeId() const;
void setSchemeId(long schemeId);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getPhoneNo() const;
void setPhoneNo(const std::string &phoneNo);
std::string getEndDate() const;
void setEndDate(const std::string &endDate);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
long schemeId_;
long ownerId_;
std::string phoneNo_;
std::string endDate_;
};
} // namespace Model
} // namespace Dypnsapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_GETAUTHORIZATIONURLREQUEST_H_

View File

@@ -1,63 +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.
*/
#ifndef ALIBABACLOUD_DYPNSAPI_MODEL_GETCERTIFYRESULTREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_GETCERTIFYRESULTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT GetCertifyResultRequest : public RpcServiceRequest
{
public:
GetCertifyResultRequest();
~GetCertifyResultRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getToken()const;
void setToken(const std::string& token);
private:
long resourceOwnerId_;
std::string productCode_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string token_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_GETCERTIFYRESULTREQUEST_H_

View File

@@ -0,0 +1,72 @@
/*
* 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_DYPNSAPI_MODEL_GETFUSIONAUTHTOKENREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_GETFUSIONAUTHTOKENREQUEST_H_
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dypnsapi {
namespace Model {
class ALIBABACLOUD_DYPNSAPI_EXPORT GetFusionAuthTokenRequest : public RpcServiceRequest {
public:
GetFusionAuthTokenRequest();
~GetFusionAuthTokenRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getBundleId() const;
void setBundleId(const std::string &bundleId);
std::string getPlatform() const;
void setPlatform(const std::string &platform);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getSchemeCode() const;
void setSchemeCode(const std::string &schemeCode);
std::string getRouteName() const;
void setRouteName(const std::string &routeName);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string getPackageName() const;
void setPackageName(const std::string &packageName);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getPackageSign() const;
void setPackageSign(const std::string &packageSign);
long getDurationSeconds() const;
void setDurationSeconds(long durationSeconds);
private:
long resourceOwnerId_;
std::string bundleId_;
std::string platform_;
std::string accessKeyId_;
std::string schemeCode_;
std::string routeName_;
std::string resourceOwnerAccount_;
std::string packageName_;
long ownerId_;
std::string packageSign_;
long durationSeconds_;
};
} // namespace Model
} // namespace Dypnsapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_GETFUSIONAUTHTOKENREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* 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_DYPNSAPI_MODEL_GETFUSIONAUTHTOKENRESULT_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_GETFUSIONAUTHTOKENRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT GetFusionAuthTokenResult : public ServiceResult
{
public:
GetFusionAuthTokenResult();
explicit GetFusionAuthTokenResult(const std::string &payload);
~GetFusionAuthTokenResult();
std::string getMessage()const;
std::string getModel()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string model_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_GETFUSIONAUTHTOKENRESULT_H_

View File

@@ -1,63 +1,57 @@
/*
* 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_DYPNSAPI_MODEL_GETMOBILEREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_GETMOBILEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT GetMobileRequest : public RpcServiceRequest
{
public:
GetMobileRequest();
~GetMobileRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getAccessToken()const;
void setAccessToken(const std::string& accessToken);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getOutId()const;
void setOutId(const std::string& outId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string accessToken_;
long ownerId_;
std::string accessKeyId_;
std::string outId_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_GETMOBILEREQUEST_H_
*/
#ifndef ALIBABACLOUD_DYPNSAPI_MODEL_GETMOBILEREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_GETMOBILEREQUEST_H_
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dypnsapi {
namespace Model {
class ALIBABACLOUD_DYPNSAPI_EXPORT GetMobileRequest : public RpcServiceRequest {
public:
GetMobileRequest();
~GetMobileRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string getAccessToken() const;
void setAccessToken(const std::string &accessToken);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getOutId() const;
void setOutId(const std::string &outId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string accessToken_;
long ownerId_;
std::string accessKeyId_;
std::string outId_;
};
} // namespace Model
} // namespace Dypnsapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_GETMOBILEREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* 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_DYPNSAPI_MODEL_GETPHONEWITHTOKENREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_GETPHONEWITHTOKENREQUEST_H_
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dypnsapi {
namespace Model {
class ALIBABACLOUD_DYPNSAPI_EXPORT GetPhoneWithTokenRequest : public RpcServiceRequest {
public:
GetPhoneWithTokenRequest();
~GetPhoneWithTokenRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getSpToken() const;
void setSpToken(const std::string &spToken);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
long getOwnerId() const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string productCode_;
std::string accessKeyId_;
std::string spToken_;
std::string resourceOwnerAccount_;
long ownerId_;
};
} // namespace Model
} // namespace Dypnsapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_GETPHONEWITHTOKENREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_DYPNSAPI_MODEL_GETPHONEWITHTOKENRESULT_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_GETPHONEWITHTOKENRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT GetPhoneWithTokenResult : public ServiceResult
{
public:
struct Data
{
std::string mobile;
};
GetPhoneWithTokenResult();
explicit GetPhoneWithTokenResult(const std::string &payload);
~GetPhoneWithTokenResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_GETPHONEWITHTOKENRESULT_H_

View File

@@ -1,84 +1,78 @@
/*
* 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_DYPNSAPI_MODEL_GETSMSAUTHTOKENSREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_GETSMSAUTHTOKENSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT GetSmsAuthTokensRequest : public RpcServiceRequest
{
public:
GetSmsAuthTokensRequest();
~GetSmsAuthTokensRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getBundleId()const;
void setBundleId(const std::string& bundleId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSignName()const;
void setSignName(const std::string& signName);
std::string getSceneCode()const;
void setSceneCode(const std::string& sceneCode);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
int getSmsCodeExpire()const;
void setSmsCodeExpire(int smsCodeExpire);
std::string getPackageName()const;
void setPackageName(const std::string& packageName);
std::string getOsType()const;
void setOsType(const std::string& osType);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getSmsTemplateCode()const;
void setSmsTemplateCode(const std::string& smsTemplateCode);
long getExpire()const;
void setExpire(long expire);
private:
long resourceOwnerId_;
std::string productCode_;
std::string bundleId_;
std::string accessKeyId_;
std::string signName_;
std::string sceneCode_;
std::string resourceOwnerAccount_;
int smsCodeExpire_;
std::string packageName_;
std::string osType_;
long ownerId_;
std::string smsTemplateCode_;
long expire_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_GETSMSAUTHTOKENSREQUEST_H_
*/
#ifndef ALIBABACLOUD_DYPNSAPI_MODEL_GETSMSAUTHTOKENSREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_GETSMSAUTHTOKENSREQUEST_H_
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dypnsapi {
namespace Model {
class ALIBABACLOUD_DYPNSAPI_EXPORT GetSmsAuthTokensRequest : public RpcServiceRequest {
public:
GetSmsAuthTokensRequest();
~GetSmsAuthTokensRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
std::string getBundleId() const;
void setBundleId(const std::string &bundleId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getSignName() const;
void setSignName(const std::string &signName);
std::string getSceneCode() const;
void setSceneCode(const std::string &sceneCode);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
int getSmsCodeExpire() const;
void setSmsCodeExpire(int smsCodeExpire);
std::string getPackageName() const;
void setPackageName(const std::string &packageName);
std::string getOsType() const;
void setOsType(const std::string &osType);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getSmsTemplateCode() const;
void setSmsTemplateCode(const std::string &smsTemplateCode);
long getExpire() const;
void setExpire(long expire);
private:
long resourceOwnerId_;
std::string productCode_;
std::string bundleId_;
std::string accessKeyId_;
std::string signName_;
std::string sceneCode_;
std::string resourceOwnerAccount_;
int smsCodeExpire_;
std::string packageName_;
std::string osType_;
long ownerId_;
std::string smsTemplateCode_;
long expire_;
};
} // namespace Model
} // namespace Dypnsapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_GETSMSAUTHTOKENSREQUEST_H_

View File

@@ -1,66 +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_DYPNSAPI_MODEL_QUERYGATEVERIFYBILLINGPUBLICREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_QUERYGATEVERIFYBILLINGPUBLICREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT QueryGateVerifyBillingPublicRequest : public RpcServiceRequest
{
public:
QueryGateVerifyBillingPublicRequest();
~QueryGateVerifyBillingPublicRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getAuthenticationType()const;
void setAuthenticationType(int authenticationType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getProdCode()const;
void setProdCode(const std::string& prodCode);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getMonth()const;
void setMonth(const std::string& month);
private:
long resourceOwnerId_;
int authenticationType_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
std::string prodCode_;
long ownerId_;
std::string month_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_QUERYGATEVERIFYBILLINGPUBLICREQUEST_H_
*/
#ifndef ALIBABACLOUD_DYPNSAPI_MODEL_QUERYGATEVERIFYBILLINGPUBLICREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_QUERYGATEVERIFYBILLINGPUBLICREQUEST_H_
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dypnsapi {
namespace Model {
class ALIBABACLOUD_DYPNSAPI_EXPORT QueryGateVerifyBillingPublicRequest : public RpcServiceRequest {
public:
QueryGateVerifyBillingPublicRequest();
~QueryGateVerifyBillingPublicRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
int getAuthenticationType() const;
void setAuthenticationType(int authenticationType);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string getProdCode() const;
void setProdCode(const std::string &prodCode);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getMonth() const;
void setMonth(const std::string &month);
private:
long resourceOwnerId_;
int authenticationType_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
std::string prodCode_;
long ownerId_;
std::string month_;
};
} // namespace Model
} // namespace Dypnsapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_QUERYGATEVERIFYBILLINGPUBLICREQUEST_H_

View File

@@ -1,75 +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_DYPNSAPI_MODEL_QUERYGATEVERIFYSTATISTICPUBLICREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_QUERYGATEVERIFYSTATISTICPUBLICREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT QueryGateVerifyStatisticPublicRequest : public RpcServiceRequest
{
public:
QueryGateVerifyStatisticPublicRequest();
~QueryGateVerifyStatisticPublicRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getAuthenticationType()const;
void setAuthenticationType(int authenticationType);
std::string getStartDate()const;
void setStartDate(const std::string& startDate);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSceneCode()const;
void setSceneCode(const std::string& sceneCode);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getProdCode()const;
void setProdCode(const std::string& prodCode);
std::string getOsType()const;
void setOsType(const std::string& osType);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getEndDate()const;
void setEndDate(const std::string& endDate);
private:
long resourceOwnerId_;
int authenticationType_;
std::string startDate_;
std::string accessKeyId_;
std::string sceneCode_;
std::string resourceOwnerAccount_;
std::string prodCode_;
std::string osType_;
long ownerId_;
std::string endDate_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_QUERYGATEVERIFYSTATISTICPUBLICREQUEST_H_
*/
#ifndef ALIBABACLOUD_DYPNSAPI_MODEL_QUERYGATEVERIFYSTATISTICPUBLICREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_QUERYGATEVERIFYSTATISTICPUBLICREQUEST_H_
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dypnsapi {
namespace Model {
class ALIBABACLOUD_DYPNSAPI_EXPORT QueryGateVerifyStatisticPublicRequest : public RpcServiceRequest {
public:
QueryGateVerifyStatisticPublicRequest();
~QueryGateVerifyStatisticPublicRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
int getAuthenticationType() const;
void setAuthenticationType(int authenticationType);
std::string getStartDate() const;
void setStartDate(const std::string &startDate);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getSceneCode() const;
void setSceneCode(const std::string &sceneCode);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string getProdCode() const;
void setProdCode(const std::string &prodCode);
std::string getOsType() const;
void setOsType(const std::string &osType);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getEndDate() const;
void setEndDate(const std::string &endDate);
private:
long resourceOwnerId_;
int authenticationType_;
std::string startDate_;
std::string accessKeyId_;
std::string sceneCode_;
std::string resourceOwnerAccount_;
std::string prodCode_;
std::string osType_;
long ownerId_;
std::string endDate_;
};
} // namespace Model
} // namespace Dypnsapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_QUERYGATEVERIFYSTATISTICPUBLICREQUEST_H_

View File

@@ -0,0 +1,72 @@
/*
* 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_DYPNSAPI_MODEL_QUERYSENDDETAILSREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_QUERYSENDDETAILSREQUEST_H_
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dypnsapi {
namespace Model {
class ALIBABACLOUD_DYPNSAPI_EXPORT QuerySendDetailsRequest : public RpcServiceRequest {
public:
QuerySendDetailsRequest();
~QuerySendDetailsRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getPhoneNumber() const;
void setPhoneNumber(const std::string &phoneNumber);
std::string getExtendFunction() const;
void setExtendFunction(const std::string &extendFunction);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getSendDate() const;
void setSendDate(const std::string &sendDate);
long getPageSize() const;
void setPageSize(long pageSize);
std::string getRouteName() const;
void setRouteName(const std::string &routeName);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
long getCurrentPage() const;
void setCurrentPage(long currentPage);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getBizId() const;
void setBizId(const std::string &bizId);
private:
long resourceOwnerId_;
std::string phoneNumber_;
std::string extendFunction_;
std::string accessKeyId_;
std::string sendDate_;
long pageSize_;
std::string routeName_;
std::string resourceOwnerAccount_;
long currentPage_;
long ownerId_;
std::string bizId_;
};
} // namespace Model
} // namespace Dypnsapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_QUERYSENDDETAILSREQUEST_H_

View File

@@ -0,0 +1,72 @@
/*
* 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_DYPNSAPI_MODEL_QUERYSENDDETAILSRESULT_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_QUERYSENDDETAILSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT QuerySendDetailsResult : public ServiceResult
{
public:
struct ModelItem
{
std::string templateCode;
std::string receiveDate;
std::string phoneNum;
std::string content;
long sendStatus;
std::string outId;
std::string sendDate;
std::string errCode;
};
QuerySendDetailsResult();
explicit QuerySendDetailsResult(const std::string &payload);
~QuerySendDetailsResult();
std::string getAccessDeniedDetail()const;
long getTotalCount()const;
std::string getMessage()const;
std::vector<ModelItem> getModel()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string accessDeniedDetail_;
long totalCount_;
std::string message_;
std::vector<ModelItem> model_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_QUERYSENDDETAILSRESULT_H_

View File

@@ -0,0 +1,99 @@
/*
* 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_DYPNSAPI_MODEL_SENDSMSVERIFYCODEREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_SENDSMSVERIFYCODEREQUEST_H_
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dypnsapi {
namespace Model {
class ALIBABACLOUD_DYPNSAPI_EXPORT SendSmsVerifyCodeRequest : public RpcServiceRequest {
public:
SendSmsVerifyCodeRequest();
~SendSmsVerifyCodeRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getCountryCode() const;
void setCountryCode(const std::string &countryCode);
std::string getPhoneNumber() const;
void setPhoneNumber(const std::string &phoneNumber);
std::string getExtendFunction() const;
void setExtendFunction(const std::string &extendFunction);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getSmsUpExtendCode() const;
void setSmsUpExtendCode(const std::string &smsUpExtendCode);
std::string getSignName() const;
void setSignName(const std::string &signName);
std::string getRouteName() const;
void setRouteName(const std::string &routeName);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
long getValidTime() const;
void setValidTime(long validTime);
long getOwnerId() const;
void setOwnerId(long ownerId);
bool getReturnVerifyCode() const;
void setReturnVerifyCode(bool returnVerifyCode);
long getCodeType() const;
void setCodeType(long codeType);
std::string getSchemeName() const;
void setSchemeName(const std::string &schemeName);
long getDuplicatePolicy() const;
void setDuplicatePolicy(long duplicatePolicy);
std::string getOutId() const;
void setOutId(const std::string &outId);
long getInterval() const;
void setInterval(long interval);
std::string getTemplateCode() const;
void setTemplateCode(const std::string &templateCode);
std::string getTemplateParam() const;
void setTemplateParam(const std::string &templateParam);
long getCodeLength() const;
void setCodeLength(long codeLength);
private:
long resourceOwnerId_;
std::string countryCode_;
std::string phoneNumber_;
std::string extendFunction_;
std::string accessKeyId_;
std::string smsUpExtendCode_;
std::string signName_;
std::string routeName_;
std::string resourceOwnerAccount_;
long validTime_;
long ownerId_;
bool returnVerifyCode_;
long codeType_;
std::string schemeName_;
long duplicatePolicy_;
std::string outId_;
long interval_;
std::string templateCode_;
std::string templateParam_;
long codeLength_;
};
} // namespace Model
} // namespace Dypnsapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_SENDSMSVERIFYCODEREQUEST_H_

View File

@@ -0,0 +1,66 @@
/*
* 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_DYPNSAPI_MODEL_SENDSMSVERIFYCODERESULT_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_SENDSMSVERIFYCODERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT SendSmsVerifyCodeResult : public ServiceResult
{
public:
struct Model
{
std::string verifyCode;
std::string requestId;
std::string outId;
std::string bizId;
};
SendSmsVerifyCodeResult();
explicit SendSmsVerifyCodeResult(const std::string &payload);
~SendSmsVerifyCodeResult();
std::string getAccessDeniedDetail()const;
std::string getMessage()const;
Model getModel()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string accessDeniedDetail_;
std::string message_;
Model model_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_SENDSMSVERIFYCODERESULT_H_

View File

@@ -1,66 +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_DYPNSAPI_MODEL_VERIFYMOBILEREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYMOBILEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT VerifyMobileRequest : public RpcServiceRequest
{
public:
VerifyMobileRequest();
~VerifyMobileRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getPhoneNumber()const;
void setPhoneNumber(const std::string& phoneNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccessCode()const;
void setAccessCode(const std::string& accessCode);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getOutId()const;
void setOutId(const std::string& outId);
private:
long resourceOwnerId_;
std::string phoneNumber_;
std::string accessKeyId_;
std::string accessCode_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string outId_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYMOBILEREQUEST_H_
*/
#ifndef ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYMOBILEREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYMOBILEREQUEST_H_
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dypnsapi {
namespace Model {
class ALIBABACLOUD_DYPNSAPI_EXPORT VerifyMobileRequest : public RpcServiceRequest {
public:
VerifyMobileRequest();
~VerifyMobileRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getPhoneNumber() const;
void setPhoneNumber(const std::string &phoneNumber);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getAccessCode() const;
void setAccessCode(const std::string &accessCode);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getOutId() const;
void setOutId(const std::string &outId);
private:
long resourceOwnerId_;
std::string phoneNumber_;
std::string accessKeyId_;
std::string accessCode_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string outId_;
};
} // namespace Model
} // namespace Dypnsapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYMOBILEREQUEST_H_

View File

@@ -1,63 +1,57 @@
/*
* 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_DYPNSAPI_MODEL_VERIFYPHONEWITHTOKENREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYPHONEWITHTOKENREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT VerifyPhoneWithTokenRequest : public RpcServiceRequest
{
public:
VerifyPhoneWithTokenRequest();
~VerifyPhoneWithTokenRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getPhoneNumber()const;
void setPhoneNumber(const std::string& phoneNumber);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSpToken()const;
void setSpToken(const std::string& spToken);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string phoneNumber_;
long ownerId_;
std::string accessKeyId_;
std::string spToken_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYPHONEWITHTOKENREQUEST_H_
*/
#ifndef ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYPHONEWITHTOKENREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYPHONEWITHTOKENREQUEST_H_
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dypnsapi {
namespace Model {
class ALIBABACLOUD_DYPNSAPI_EXPORT VerifyPhoneWithTokenRequest : public RpcServiceRequest {
public:
VerifyPhoneWithTokenRequest();
~VerifyPhoneWithTokenRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string getPhoneNumber() const;
void setPhoneNumber(const std::string &phoneNumber);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getSpToken() const;
void setSpToken(const std::string &spToken);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string phoneNumber_;
long ownerId_;
std::string accessKeyId_;
std::string spToken_;
};
} // namespace Model
} // namespace Dypnsapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYPHONEWITHTOKENREQUEST_H_

View File

@@ -1,69 +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_DYPNSAPI_MODEL_VERIFYSMSCODEREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYSMSCODEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT VerifySmsCodeRequest : public RpcServiceRequest
{
public:
VerifySmsCodeRequest();
~VerifySmsCodeRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getSmsToken()const;
void setSmsToken(const std::string& smsToken);
std::string getPhoneNumber()const;
void setPhoneNumber(const std::string& phoneNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getSmsCode()const;
void setSmsCode(const std::string& smsCode);
private:
long resourceOwnerId_;
std::string productCode_;
std::string smsToken_;
std::string phoneNumber_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string smsCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYSMSCODEREQUEST_H_
*/
#ifndef ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYSMSCODEREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYSMSCODEREQUEST_H_
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dypnsapi {
namespace Model {
class ALIBABACLOUD_DYPNSAPI_EXPORT VerifySmsCodeRequest : public RpcServiceRequest {
public:
VerifySmsCodeRequest();
~VerifySmsCodeRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
std::string getSmsToken() const;
void setSmsToken(const std::string &smsToken);
std::string getPhoneNumber() const;
void setPhoneNumber(const std::string &phoneNumber);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getSmsCode() const;
void setSmsCode(const std::string &smsCode);
private:
long resourceOwnerId_;
std::string productCode_;
std::string smsToken_;
std::string phoneNumber_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string smsCode_;
};
} // namespace Model
} // namespace Dypnsapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYSMSCODEREQUEST_H_

View File

@@ -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_DYPNSAPI_MODEL_VERIFYWITHFUSIONAUTHTOKENREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYWITHFUSIONAUTHTOKENREQUEST_H_
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dypnsapi {
namespace Model {
class ALIBABACLOUD_DYPNSAPI_EXPORT VerifyWithFusionAuthTokenRequest : public RpcServiceRequest {
public:
VerifyWithFusionAuthTokenRequest();
~VerifyWithFusionAuthTokenRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getExtendFunction() const;
void setExtendFunction(const std::string &extendFunction);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getRouteName() const;
void setRouteName(const std::string &routeName);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string getVerifyToken() const;
void setVerifyToken(const std::string &verifyToken);
long getOwnerId() const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string extendFunction_;
std::string accessKeyId_;
std::string routeName_;
std::string resourceOwnerAccount_;
std::string verifyToken_;
long ownerId_;
};
} // namespace Model
} // namespace Dypnsapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYWITHFUSIONAUTHTOKENREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DYPNSAPI_MODEL_GETCERTIFYRESULTRESULT_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_GETCERTIFYRESULTRESULT_H_
#ifndef ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYWITHFUSIONAUTHTOKENRESULT_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYWITHFUSIONAUTHTOKENRESULT_H_
#include <string>
#include <vector>
@@ -29,35 +29,35 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT GetCertifyResultResult : public ServiceResult
class ALIBABACLOUD_DYPNSAPI_EXPORT VerifyWithFusionAuthTokenResult : public ServiceResult
{
public:
struct DataItem
struct Model
{
std::string deviceToken;
std::string identityInfo;
std::string materialInfo;
std::string phoneNumber;
std::string verifyResult;
std::string verifyDesc;
long phoneScore;
};
GetCertifyResultResult();
explicit GetCertifyResultResult(const std::string &payload);
~GetCertifyResultResult();
VerifyWithFusionAuthTokenResult();
explicit VerifyWithFusionAuthTokenResult(const std::string &payload);
~VerifyWithFusionAuthTokenResult();
std::string getMessage()const;
std::vector<DataItem> getData()const;
Model getModel()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::vector<DataItem> data_;
Model model_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_GETCERTIFYRESULTRESULT_H_
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYWITHFUSIONAUTHTOKENRESULT_H_