由铁琴发起的DOMAIN SDK自动发布, 版本号:1.9.0

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
haowei.yao
2018-05-09 12:51:19 +08:00
parent d63881daa0
commit 6d9e7147f1
37 changed files with 2170 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
2018-05-09 Version: 1.9.0
1, Add apis for domain broker.
2018-05-08 Version: 1.8.2
1, Add instance params.

View File

@@ -1 +1 @@
1.8.2
1.9.0

View File

@@ -29,6 +29,8 @@ set(domain_public_header_model
include/alibabacloud/domain/model/SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdResult.h
include/alibabacloud/domain/model/QueryBookingDomainInfoRequest.h
include/alibabacloud/domain/model/QueryBookingDomainInfoResult.h
include/alibabacloud/domain/model/AcceptDemandRequest.h
include/alibabacloud/domain/model/AcceptDemandResult.h
include/alibabacloud/domain/model/SaveSingleTaskForSynchronizingDnsHostRequest.h
include/alibabacloud/domain/model/SaveSingleTaskForSynchronizingDnsHostResult.h
include/alibabacloud/domain/model/QueryAuctionsRequest.h
@@ -51,22 +53,30 @@ set(domain_public_header_model
include/alibabacloud/domain/model/QueryFailReasonForDomainRealNameVerificationResult.h
include/alibabacloud/domain/model/QueryAdvancedDomainListRequest.h
include/alibabacloud/domain/model/QueryAdvancedDomainListResult.h
include/alibabacloud/domain/model/RequestPayDemandRequest.h
include/alibabacloud/domain/model/RequestPayDemandResult.h
include/alibabacloud/domain/model/QueryTransferOutInfoRequest.h
include/alibabacloud/domain/model/QueryTransferOutInfoResult.h
include/alibabacloud/domain/model/SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest.h
include/alibabacloud/domain/model/SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDResult.h
include/alibabacloud/domain/model/SaveSingleTaskForCreatingOrderRedeemRequest.h
include/alibabacloud/domain/model/SaveSingleTaskForCreatingOrderRedeemResult.h
include/alibabacloud/domain/model/QueryBrokerDemandRequest.h
include/alibabacloud/domain/model/QueryBrokerDemandResult.h
include/alibabacloud/domain/model/QueryTaskDetailListRequest.h
include/alibabacloud/domain/model/QueryTaskDetailListResult.h
include/alibabacloud/domain/model/SaveBatchDomainRemarkRequest.h
include/alibabacloud/domain/model/SaveBatchDomainRemarkResult.h
include/alibabacloud/domain/model/VerifyContactFieldRequest.h
include/alibabacloud/domain/model/VerifyContactFieldResult.h
include/alibabacloud/domain/model/FinishDemandRequest.h
include/alibabacloud/domain/model/FinishDemandResult.h
include/alibabacloud/domain/model/RegistrantProfileRealNameVerificationRequest.h
include/alibabacloud/domain/model/RegistrantProfileRealNameVerificationResult.h
include/alibabacloud/domain/model/QueryBidRecordsRequest.h
include/alibabacloud/domain/model/QueryBidRecordsResult.h
include/alibabacloud/domain/model/RecordDemandRequest.h
include/alibabacloud/domain/model/RecordDemandResult.h
include/alibabacloud/domain/model/SaveBatchTaskForCreatingOrderActivateRequest.h
include/alibabacloud/domain/model/SaveBatchTaskForCreatingOrderActivateResult.h
include/alibabacloud/domain/model/SaveSingleTaskForTransferProhibitionLockRequest.h
@@ -145,6 +155,8 @@ set(domain_public_header_model
include/alibabacloud/domain/model/QueryRegistrantProfileRealNameVerificationInfoResult.h
include/alibabacloud/domain/model/QueryRegistrantProfilesRequest.h
include/alibabacloud/domain/model/QueryRegistrantProfilesResult.h
include/alibabacloud/domain/model/FailDemandRequest.h
include/alibabacloud/domain/model/FailDemandResult.h
include/alibabacloud/domain/model/SaveSingleTaskForCancelingTransferInRequest.h
include/alibabacloud/domain/model/SaveSingleTaskForCancelingTransferInResult.h
include/alibabacloud/domain/model/SaveSingleTaskForCreatingOrderRenewRequest.h
@@ -157,6 +169,8 @@ set(domain_public_header_model
include/alibabacloud/domain/model/SaveSingleTaskForCreatingOrderActivateResult.h
include/alibabacloud/domain/model/SaveBatchTaskForTransferProhibitionLockRequest.h
include/alibabacloud/domain/model/SaveBatchTaskForTransferProhibitionLockResult.h
include/alibabacloud/domain/model/RefuseDemandRequest.h
include/alibabacloud/domain/model/RefuseDemandResult.h
include/alibabacloud/domain/model/TransferInReenterTransferAuthorizationCodeRequest.h
include/alibabacloud/domain/model/TransferInReenterTransferAuthorizationCodeResult.h
include/alibabacloud/domain/model/EmailVerifiedRequest.h
@@ -167,6 +181,8 @@ set(domain_public_header_model
include/alibabacloud/domain/model/SaveSingleTaskForCreatingDnsHostResult.h
include/alibabacloud/domain/model/DeleteRegistrantProfileRequest.h
include/alibabacloud/domain/model/DeleteRegistrantProfileResult.h
include/alibabacloud/domain/model/QueryBrokerDemandRecordRequest.h
include/alibabacloud/domain/model/QueryBrokerDemandRecordResult.h
include/alibabacloud/domain/model/QueryTaskInfoHistoryRequest.h
include/alibabacloud/domain/model/QueryTaskInfoHistoryResult.h
include/alibabacloud/domain/model/SaveSingleTaskForCreatingOrderTransferRequest.h
@@ -190,6 +206,8 @@ set(domain_src
src/model/SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdResult.cc
src/model/QueryBookingDomainInfoRequest.cc
src/model/QueryBookingDomainInfoResult.cc
src/model/AcceptDemandRequest.cc
src/model/AcceptDemandResult.cc
src/model/SaveSingleTaskForSynchronizingDnsHostRequest.cc
src/model/SaveSingleTaskForSynchronizingDnsHostResult.cc
src/model/QueryAuctionsRequest.cc
@@ -212,22 +230,30 @@ set(domain_src
src/model/QueryFailReasonForDomainRealNameVerificationResult.cc
src/model/QueryAdvancedDomainListRequest.cc
src/model/QueryAdvancedDomainListResult.cc
src/model/RequestPayDemandRequest.cc
src/model/RequestPayDemandResult.cc
src/model/QueryTransferOutInfoRequest.cc
src/model/QueryTransferOutInfoResult.cc
src/model/SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest.cc
src/model/SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDResult.cc
src/model/SaveSingleTaskForCreatingOrderRedeemRequest.cc
src/model/SaveSingleTaskForCreatingOrderRedeemResult.cc
src/model/QueryBrokerDemandRequest.cc
src/model/QueryBrokerDemandResult.cc
src/model/QueryTaskDetailListRequest.cc
src/model/QueryTaskDetailListResult.cc
src/model/SaveBatchDomainRemarkRequest.cc
src/model/SaveBatchDomainRemarkResult.cc
src/model/VerifyContactFieldRequest.cc
src/model/VerifyContactFieldResult.cc
src/model/FinishDemandRequest.cc
src/model/FinishDemandResult.cc
src/model/RegistrantProfileRealNameVerificationRequest.cc
src/model/RegistrantProfileRealNameVerificationResult.cc
src/model/QueryBidRecordsRequest.cc
src/model/QueryBidRecordsResult.cc
src/model/RecordDemandRequest.cc
src/model/RecordDemandResult.cc
src/model/SaveBatchTaskForCreatingOrderActivateRequest.cc
src/model/SaveBatchTaskForCreatingOrderActivateResult.cc
src/model/SaveSingleTaskForTransferProhibitionLockRequest.cc
@@ -306,6 +332,8 @@ set(domain_src
src/model/QueryRegistrantProfileRealNameVerificationInfoResult.cc
src/model/QueryRegistrantProfilesRequest.cc
src/model/QueryRegistrantProfilesResult.cc
src/model/FailDemandRequest.cc
src/model/FailDemandResult.cc
src/model/SaveSingleTaskForCancelingTransferInRequest.cc
src/model/SaveSingleTaskForCancelingTransferInResult.cc
src/model/SaveSingleTaskForCreatingOrderRenewRequest.cc
@@ -318,6 +346,8 @@ set(domain_src
src/model/SaveSingleTaskForCreatingOrderActivateResult.cc
src/model/SaveBatchTaskForTransferProhibitionLockRequest.cc
src/model/SaveBatchTaskForTransferProhibitionLockResult.cc
src/model/RefuseDemandRequest.cc
src/model/RefuseDemandResult.cc
src/model/TransferInReenterTransferAuthorizationCodeRequest.cc
src/model/TransferInReenterTransferAuthorizationCodeResult.cc
src/model/EmailVerifiedRequest.cc
@@ -328,6 +358,8 @@ set(domain_src
src/model/SaveSingleTaskForCreatingDnsHostResult.cc
src/model/DeleteRegistrantProfileRequest.cc
src/model/DeleteRegistrantProfileResult.cc
src/model/QueryBrokerDemandRecordRequest.cc
src/model/QueryBrokerDemandRecordResult.cc
src/model/QueryTaskInfoHistoryRequest.cc
src/model/QueryTaskInfoHistoryResult.cc
src/model/SaveSingleTaskForCreatingOrderTransferRequest.cc

View File

@@ -30,6 +30,8 @@
#include "model/SaveBatchTaskForUpdatingContactInfoByRegistrantProfileIdResult.h"
#include "model/QueryBookingDomainInfoRequest.h"
#include "model/QueryBookingDomainInfoResult.h"
#include "model/AcceptDemandRequest.h"
#include "model/AcceptDemandResult.h"
#include "model/SaveSingleTaskForSynchronizingDnsHostRequest.h"
#include "model/SaveSingleTaskForSynchronizingDnsHostResult.h"
#include "model/QueryAuctionsRequest.h"
@@ -52,22 +54,30 @@
#include "model/QueryFailReasonForDomainRealNameVerificationResult.h"
#include "model/QueryAdvancedDomainListRequest.h"
#include "model/QueryAdvancedDomainListResult.h"
#include "model/RequestPayDemandRequest.h"
#include "model/RequestPayDemandResult.h"
#include "model/QueryTransferOutInfoRequest.h"
#include "model/QueryTransferOutInfoResult.h"
#include "model/SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest.h"
#include "model/SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDResult.h"
#include "model/SaveSingleTaskForCreatingOrderRedeemRequest.h"
#include "model/SaveSingleTaskForCreatingOrderRedeemResult.h"
#include "model/QueryBrokerDemandRequest.h"
#include "model/QueryBrokerDemandResult.h"
#include "model/QueryTaskDetailListRequest.h"
#include "model/QueryTaskDetailListResult.h"
#include "model/SaveBatchDomainRemarkRequest.h"
#include "model/SaveBatchDomainRemarkResult.h"
#include "model/VerifyContactFieldRequest.h"
#include "model/VerifyContactFieldResult.h"
#include "model/FinishDemandRequest.h"
#include "model/FinishDemandResult.h"
#include "model/RegistrantProfileRealNameVerificationRequest.h"
#include "model/RegistrantProfileRealNameVerificationResult.h"
#include "model/QueryBidRecordsRequest.h"
#include "model/QueryBidRecordsResult.h"
#include "model/RecordDemandRequest.h"
#include "model/RecordDemandResult.h"
#include "model/SaveBatchTaskForCreatingOrderActivateRequest.h"
#include "model/SaveBatchTaskForCreatingOrderActivateResult.h"
#include "model/SaveSingleTaskForTransferProhibitionLockRequest.h"
@@ -146,6 +156,8 @@
#include "model/QueryRegistrantProfileRealNameVerificationInfoResult.h"
#include "model/QueryRegistrantProfilesRequest.h"
#include "model/QueryRegistrantProfilesResult.h"
#include "model/FailDemandRequest.h"
#include "model/FailDemandResult.h"
#include "model/SaveSingleTaskForCancelingTransferInRequest.h"
#include "model/SaveSingleTaskForCancelingTransferInResult.h"
#include "model/SaveSingleTaskForCreatingOrderRenewRequest.h"
@@ -158,6 +170,8 @@
#include "model/SaveSingleTaskForCreatingOrderActivateResult.h"
#include "model/SaveBatchTaskForTransferProhibitionLockRequest.h"
#include "model/SaveBatchTaskForTransferProhibitionLockResult.h"
#include "model/RefuseDemandRequest.h"
#include "model/RefuseDemandResult.h"
#include "model/TransferInReenterTransferAuthorizationCodeRequest.h"
#include "model/TransferInReenterTransferAuthorizationCodeResult.h"
#include "model/EmailVerifiedRequest.h"
@@ -168,6 +182,8 @@
#include "model/SaveSingleTaskForCreatingDnsHostResult.h"
#include "model/DeleteRegistrantProfileRequest.h"
#include "model/DeleteRegistrantProfileResult.h"
#include "model/QueryBrokerDemandRecordRequest.h"
#include "model/QueryBrokerDemandRecordResult.h"
#include "model/QueryTaskInfoHistoryRequest.h"
#include "model/QueryTaskInfoHistoryResult.h"
#include "model/SaveSingleTaskForCreatingOrderTransferRequest.h"
@@ -201,6 +217,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryBookingDomainInfoResult> QueryBookingDomainInfoOutcome;
typedef std::future<QueryBookingDomainInfoOutcome> QueryBookingDomainInfoOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::QueryBookingDomainInfoRequest&, const QueryBookingDomainInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryBookingDomainInfoAsyncHandler;
typedef Outcome<Error, Model::AcceptDemandResult> AcceptDemandOutcome;
typedef std::future<AcceptDemandOutcome> AcceptDemandOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::AcceptDemandRequest&, const AcceptDemandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AcceptDemandAsyncHandler;
typedef Outcome<Error, Model::SaveSingleTaskForSynchronizingDnsHostResult> SaveSingleTaskForSynchronizingDnsHostOutcome;
typedef std::future<SaveSingleTaskForSynchronizingDnsHostOutcome> SaveSingleTaskForSynchronizingDnsHostOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::SaveSingleTaskForSynchronizingDnsHostRequest&, const SaveSingleTaskForSynchronizingDnsHostOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveSingleTaskForSynchronizingDnsHostAsyncHandler;
@@ -234,6 +253,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryAdvancedDomainListResult> QueryAdvancedDomainListOutcome;
typedef std::future<QueryAdvancedDomainListOutcome> QueryAdvancedDomainListOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::QueryAdvancedDomainListRequest&, const QueryAdvancedDomainListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryAdvancedDomainListAsyncHandler;
typedef Outcome<Error, Model::RequestPayDemandResult> RequestPayDemandOutcome;
typedef std::future<RequestPayDemandOutcome> RequestPayDemandOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::RequestPayDemandRequest&, const RequestPayDemandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RequestPayDemandAsyncHandler;
typedef Outcome<Error, Model::QueryTransferOutInfoResult> QueryTransferOutInfoOutcome;
typedef std::future<QueryTransferOutInfoOutcome> QueryTransferOutInfoOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::QueryTransferOutInfoRequest&, const QueryTransferOutInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryTransferOutInfoAsyncHandler;
@@ -243,6 +265,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SaveSingleTaskForCreatingOrderRedeemResult> SaveSingleTaskForCreatingOrderRedeemOutcome;
typedef std::future<SaveSingleTaskForCreatingOrderRedeemOutcome> SaveSingleTaskForCreatingOrderRedeemOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::SaveSingleTaskForCreatingOrderRedeemRequest&, const SaveSingleTaskForCreatingOrderRedeemOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveSingleTaskForCreatingOrderRedeemAsyncHandler;
typedef Outcome<Error, Model::QueryBrokerDemandResult> QueryBrokerDemandOutcome;
typedef std::future<QueryBrokerDemandOutcome> QueryBrokerDemandOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::QueryBrokerDemandRequest&, const QueryBrokerDemandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryBrokerDemandAsyncHandler;
typedef Outcome<Error, Model::QueryTaskDetailListResult> QueryTaskDetailListOutcome;
typedef std::future<QueryTaskDetailListOutcome> QueryTaskDetailListOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::QueryTaskDetailListRequest&, const QueryTaskDetailListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryTaskDetailListAsyncHandler;
@@ -252,12 +277,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::VerifyContactFieldResult> VerifyContactFieldOutcome;
typedef std::future<VerifyContactFieldOutcome> VerifyContactFieldOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::VerifyContactFieldRequest&, const VerifyContactFieldOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VerifyContactFieldAsyncHandler;
typedef Outcome<Error, Model::FinishDemandResult> FinishDemandOutcome;
typedef std::future<FinishDemandOutcome> FinishDemandOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::FinishDemandRequest&, const FinishDemandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FinishDemandAsyncHandler;
typedef Outcome<Error, Model::RegistrantProfileRealNameVerificationResult> RegistrantProfileRealNameVerificationOutcome;
typedef std::future<RegistrantProfileRealNameVerificationOutcome> RegistrantProfileRealNameVerificationOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::RegistrantProfileRealNameVerificationRequest&, const RegistrantProfileRealNameVerificationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegistrantProfileRealNameVerificationAsyncHandler;
typedef Outcome<Error, Model::QueryBidRecordsResult> QueryBidRecordsOutcome;
typedef std::future<QueryBidRecordsOutcome> QueryBidRecordsOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::QueryBidRecordsRequest&, const QueryBidRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryBidRecordsAsyncHandler;
typedef Outcome<Error, Model::RecordDemandResult> RecordDemandOutcome;
typedef std::future<RecordDemandOutcome> RecordDemandOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::RecordDemandRequest&, const RecordDemandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RecordDemandAsyncHandler;
typedef Outcome<Error, Model::SaveBatchTaskForCreatingOrderActivateResult> SaveBatchTaskForCreatingOrderActivateOutcome;
typedef std::future<SaveBatchTaskForCreatingOrderActivateOutcome> SaveBatchTaskForCreatingOrderActivateOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::SaveBatchTaskForCreatingOrderActivateRequest&, const SaveBatchTaskForCreatingOrderActivateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveBatchTaskForCreatingOrderActivateAsyncHandler;
@@ -375,6 +406,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryRegistrantProfilesResult> QueryRegistrantProfilesOutcome;
typedef std::future<QueryRegistrantProfilesOutcome> QueryRegistrantProfilesOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::QueryRegistrantProfilesRequest&, const QueryRegistrantProfilesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryRegistrantProfilesAsyncHandler;
typedef Outcome<Error, Model::FailDemandResult> FailDemandOutcome;
typedef std::future<FailDemandOutcome> FailDemandOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::FailDemandRequest&, const FailDemandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FailDemandAsyncHandler;
typedef Outcome<Error, Model::SaveSingleTaskForCancelingTransferInResult> SaveSingleTaskForCancelingTransferInOutcome;
typedef std::future<SaveSingleTaskForCancelingTransferInOutcome> SaveSingleTaskForCancelingTransferInOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::SaveSingleTaskForCancelingTransferInRequest&, const SaveSingleTaskForCancelingTransferInOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveSingleTaskForCancelingTransferInAsyncHandler;
@@ -393,6 +427,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SaveBatchTaskForTransferProhibitionLockResult> SaveBatchTaskForTransferProhibitionLockOutcome;
typedef std::future<SaveBatchTaskForTransferProhibitionLockOutcome> SaveBatchTaskForTransferProhibitionLockOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::SaveBatchTaskForTransferProhibitionLockRequest&, const SaveBatchTaskForTransferProhibitionLockOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveBatchTaskForTransferProhibitionLockAsyncHandler;
typedef Outcome<Error, Model::RefuseDemandResult> RefuseDemandOutcome;
typedef std::future<RefuseDemandOutcome> RefuseDemandOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::RefuseDemandRequest&, const RefuseDemandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RefuseDemandAsyncHandler;
typedef Outcome<Error, Model::TransferInReenterTransferAuthorizationCodeResult> TransferInReenterTransferAuthorizationCodeOutcome;
typedef std::future<TransferInReenterTransferAuthorizationCodeOutcome> TransferInReenterTransferAuthorizationCodeOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::TransferInReenterTransferAuthorizationCodeRequest&, const TransferInReenterTransferAuthorizationCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TransferInReenterTransferAuthorizationCodeAsyncHandler;
@@ -408,6 +445,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteRegistrantProfileResult> DeleteRegistrantProfileOutcome;
typedef std::future<DeleteRegistrantProfileOutcome> DeleteRegistrantProfileOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::DeleteRegistrantProfileRequest&, const DeleteRegistrantProfileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRegistrantProfileAsyncHandler;
typedef Outcome<Error, Model::QueryBrokerDemandRecordResult> QueryBrokerDemandRecordOutcome;
typedef std::future<QueryBrokerDemandRecordOutcome> QueryBrokerDemandRecordOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::QueryBrokerDemandRecordRequest&, const QueryBrokerDemandRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryBrokerDemandRecordAsyncHandler;
typedef Outcome<Error, Model::QueryTaskInfoHistoryResult> QueryTaskInfoHistoryOutcome;
typedef std::future<QueryTaskInfoHistoryOutcome> QueryTaskInfoHistoryOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::QueryTaskInfoHistoryRequest&, const QueryTaskInfoHistoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryTaskInfoHistoryAsyncHandler;
@@ -443,6 +483,9 @@ namespace AlibabaCloud
QueryBookingDomainInfoOutcome queryBookingDomainInfo(const Model::QueryBookingDomainInfoRequest &request)const;
void queryBookingDomainInfoAsync(const Model::QueryBookingDomainInfoRequest& request, const QueryBookingDomainInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryBookingDomainInfoOutcomeCallable queryBookingDomainInfoCallable(const Model::QueryBookingDomainInfoRequest& request) const;
AcceptDemandOutcome acceptDemand(const Model::AcceptDemandRequest &request)const;
void acceptDemandAsync(const Model::AcceptDemandRequest& request, const AcceptDemandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AcceptDemandOutcomeCallable acceptDemandCallable(const Model::AcceptDemandRequest& request) const;
SaveSingleTaskForSynchronizingDnsHostOutcome saveSingleTaskForSynchronizingDnsHost(const Model::SaveSingleTaskForSynchronizingDnsHostRequest &request)const;
void saveSingleTaskForSynchronizingDnsHostAsync(const Model::SaveSingleTaskForSynchronizingDnsHostRequest& request, const SaveSingleTaskForSynchronizingDnsHostAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SaveSingleTaskForSynchronizingDnsHostOutcomeCallable saveSingleTaskForSynchronizingDnsHostCallable(const Model::SaveSingleTaskForSynchronizingDnsHostRequest& request) const;
@@ -476,6 +519,9 @@ namespace AlibabaCloud
QueryAdvancedDomainListOutcome queryAdvancedDomainList(const Model::QueryAdvancedDomainListRequest &request)const;
void queryAdvancedDomainListAsync(const Model::QueryAdvancedDomainListRequest& request, const QueryAdvancedDomainListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryAdvancedDomainListOutcomeCallable queryAdvancedDomainListCallable(const Model::QueryAdvancedDomainListRequest& request) const;
RequestPayDemandOutcome requestPayDemand(const Model::RequestPayDemandRequest &request)const;
void requestPayDemandAsync(const Model::RequestPayDemandRequest& request, const RequestPayDemandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RequestPayDemandOutcomeCallable requestPayDemandCallable(const Model::RequestPayDemandRequest& request) const;
QueryTransferOutInfoOutcome queryTransferOutInfo(const Model::QueryTransferOutInfoRequest &request)const;
void queryTransferOutInfoAsync(const Model::QueryTransferOutInfoRequest& request, const QueryTransferOutInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryTransferOutInfoOutcomeCallable queryTransferOutInfoCallable(const Model::QueryTransferOutInfoRequest& request) const;
@@ -485,6 +531,9 @@ namespace AlibabaCloud
SaveSingleTaskForCreatingOrderRedeemOutcome saveSingleTaskForCreatingOrderRedeem(const Model::SaveSingleTaskForCreatingOrderRedeemRequest &request)const;
void saveSingleTaskForCreatingOrderRedeemAsync(const Model::SaveSingleTaskForCreatingOrderRedeemRequest& request, const SaveSingleTaskForCreatingOrderRedeemAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SaveSingleTaskForCreatingOrderRedeemOutcomeCallable saveSingleTaskForCreatingOrderRedeemCallable(const Model::SaveSingleTaskForCreatingOrderRedeemRequest& request) const;
QueryBrokerDemandOutcome queryBrokerDemand(const Model::QueryBrokerDemandRequest &request)const;
void queryBrokerDemandAsync(const Model::QueryBrokerDemandRequest& request, const QueryBrokerDemandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryBrokerDemandOutcomeCallable queryBrokerDemandCallable(const Model::QueryBrokerDemandRequest& request) const;
QueryTaskDetailListOutcome queryTaskDetailList(const Model::QueryTaskDetailListRequest &request)const;
void queryTaskDetailListAsync(const Model::QueryTaskDetailListRequest& request, const QueryTaskDetailListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryTaskDetailListOutcomeCallable queryTaskDetailListCallable(const Model::QueryTaskDetailListRequest& request) const;
@@ -494,12 +543,18 @@ namespace AlibabaCloud
VerifyContactFieldOutcome verifyContactField(const Model::VerifyContactFieldRequest &request)const;
void verifyContactFieldAsync(const Model::VerifyContactFieldRequest& request, const VerifyContactFieldAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VerifyContactFieldOutcomeCallable verifyContactFieldCallable(const Model::VerifyContactFieldRequest& request) const;
FinishDemandOutcome finishDemand(const Model::FinishDemandRequest &request)const;
void finishDemandAsync(const Model::FinishDemandRequest& request, const FinishDemandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FinishDemandOutcomeCallable finishDemandCallable(const Model::FinishDemandRequest& request) const;
RegistrantProfileRealNameVerificationOutcome registrantProfileRealNameVerification(const Model::RegistrantProfileRealNameVerificationRequest &request)const;
void registrantProfileRealNameVerificationAsync(const Model::RegistrantProfileRealNameVerificationRequest& request, const RegistrantProfileRealNameVerificationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RegistrantProfileRealNameVerificationOutcomeCallable registrantProfileRealNameVerificationCallable(const Model::RegistrantProfileRealNameVerificationRequest& request) const;
QueryBidRecordsOutcome queryBidRecords(const Model::QueryBidRecordsRequest &request)const;
void queryBidRecordsAsync(const Model::QueryBidRecordsRequest& request, const QueryBidRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryBidRecordsOutcomeCallable queryBidRecordsCallable(const Model::QueryBidRecordsRequest& request) const;
RecordDemandOutcome recordDemand(const Model::RecordDemandRequest &request)const;
void recordDemandAsync(const Model::RecordDemandRequest& request, const RecordDemandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RecordDemandOutcomeCallable recordDemandCallable(const Model::RecordDemandRequest& request) const;
SaveBatchTaskForCreatingOrderActivateOutcome saveBatchTaskForCreatingOrderActivate(const Model::SaveBatchTaskForCreatingOrderActivateRequest &request)const;
void saveBatchTaskForCreatingOrderActivateAsync(const Model::SaveBatchTaskForCreatingOrderActivateRequest& request, const SaveBatchTaskForCreatingOrderActivateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SaveBatchTaskForCreatingOrderActivateOutcomeCallable saveBatchTaskForCreatingOrderActivateCallable(const Model::SaveBatchTaskForCreatingOrderActivateRequest& request) const;
@@ -617,6 +672,9 @@ namespace AlibabaCloud
QueryRegistrantProfilesOutcome queryRegistrantProfiles(const Model::QueryRegistrantProfilesRequest &request)const;
void queryRegistrantProfilesAsync(const Model::QueryRegistrantProfilesRequest& request, const QueryRegistrantProfilesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryRegistrantProfilesOutcomeCallable queryRegistrantProfilesCallable(const Model::QueryRegistrantProfilesRequest& request) const;
FailDemandOutcome failDemand(const Model::FailDemandRequest &request)const;
void failDemandAsync(const Model::FailDemandRequest& request, const FailDemandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FailDemandOutcomeCallable failDemandCallable(const Model::FailDemandRequest& request) const;
SaveSingleTaskForCancelingTransferInOutcome saveSingleTaskForCancelingTransferIn(const Model::SaveSingleTaskForCancelingTransferInRequest &request)const;
void saveSingleTaskForCancelingTransferInAsync(const Model::SaveSingleTaskForCancelingTransferInRequest& request, const SaveSingleTaskForCancelingTransferInAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SaveSingleTaskForCancelingTransferInOutcomeCallable saveSingleTaskForCancelingTransferInCallable(const Model::SaveSingleTaskForCancelingTransferInRequest& request) const;
@@ -635,6 +693,9 @@ namespace AlibabaCloud
SaveBatchTaskForTransferProhibitionLockOutcome saveBatchTaskForTransferProhibitionLock(const Model::SaveBatchTaskForTransferProhibitionLockRequest &request)const;
void saveBatchTaskForTransferProhibitionLockAsync(const Model::SaveBatchTaskForTransferProhibitionLockRequest& request, const SaveBatchTaskForTransferProhibitionLockAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SaveBatchTaskForTransferProhibitionLockOutcomeCallable saveBatchTaskForTransferProhibitionLockCallable(const Model::SaveBatchTaskForTransferProhibitionLockRequest& request) const;
RefuseDemandOutcome refuseDemand(const Model::RefuseDemandRequest &request)const;
void refuseDemandAsync(const Model::RefuseDemandRequest& request, const RefuseDemandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RefuseDemandOutcomeCallable refuseDemandCallable(const Model::RefuseDemandRequest& request) const;
TransferInReenterTransferAuthorizationCodeOutcome transferInReenterTransferAuthorizationCode(const Model::TransferInReenterTransferAuthorizationCodeRequest &request)const;
void transferInReenterTransferAuthorizationCodeAsync(const Model::TransferInReenterTransferAuthorizationCodeRequest& request, const TransferInReenterTransferAuthorizationCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TransferInReenterTransferAuthorizationCodeOutcomeCallable transferInReenterTransferAuthorizationCodeCallable(const Model::TransferInReenterTransferAuthorizationCodeRequest& request) const;
@@ -650,6 +711,9 @@ namespace AlibabaCloud
DeleteRegistrantProfileOutcome deleteRegistrantProfile(const Model::DeleteRegistrantProfileRequest &request)const;
void deleteRegistrantProfileAsync(const Model::DeleteRegistrantProfileRequest& request, const DeleteRegistrantProfileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteRegistrantProfileOutcomeCallable deleteRegistrantProfileCallable(const Model::DeleteRegistrantProfileRequest& request) const;
QueryBrokerDemandRecordOutcome queryBrokerDemandRecord(const Model::QueryBrokerDemandRecordRequest &request)const;
void queryBrokerDemandRecordAsync(const Model::QueryBrokerDemandRecordRequest& request, const QueryBrokerDemandRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryBrokerDemandRecordOutcomeCallable queryBrokerDemandRecordCallable(const Model::QueryBrokerDemandRecordRequest& request) const;
QueryTaskInfoHistoryOutcome queryTaskInfoHistory(const Model::QueryTaskInfoHistoryRequest &request)const;
void queryTaskInfoHistoryAsync(const Model::QueryTaskInfoHistoryRequest& request, const QueryTaskInfoHistoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryTaskInfoHistoryOutcomeCallable queryTaskInfoHistoryCallable(const Model::QueryTaskInfoHistoryRequest& request) const;

View File

@@ -0,0 +1,51 @@
/*
* 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_DOMAIN_MODEL_ACCEPTDEMANDREQUEST_H_
#define ALIBABACLOUD_DOMAIN_MODEL_ACCEPTDEMANDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT AcceptDemandRequest : public RpcServiceRequest
{
public:
AcceptDemandRequest();
~AcceptDemandRequest();
std::string getBizId()const;
void setBizId(const std::string& bizId);
std::string getMessage()const;
void setMessage(const std::string& message);
private:
std::string bizId_;
std::string message_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_ACCEPTDEMANDREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_DOMAIN_MODEL_ACCEPTDEMANDRESULT_H_
#define ALIBABACLOUD_DOMAIN_MODEL_ACCEPTDEMANDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT AcceptDemandResult : public ServiceResult
{
public:
AcceptDemandResult();
explicit AcceptDemandResult(const std::string &payload);
~AcceptDemandResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_ACCEPTDEMANDRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* 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_DOMAIN_MODEL_FAILDEMANDREQUEST_H_
#define ALIBABACLOUD_DOMAIN_MODEL_FAILDEMANDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT FailDemandRequest : public RpcServiceRequest
{
public:
FailDemandRequest();
~FailDemandRequest();
std::string getBizId()const;
void setBizId(const std::string& bizId);
std::string getMessage()const;
void setMessage(const std::string& message);
private:
std::string bizId_;
std::string message_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_FAILDEMANDREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_DOMAIN_MODEL_FAILDEMANDRESULT_H_
#define ALIBABACLOUD_DOMAIN_MODEL_FAILDEMANDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT FailDemandResult : public ServiceResult
{
public:
FailDemandResult();
explicit FailDemandResult(const std::string &payload);
~FailDemandResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_FAILDEMANDRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* 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_DOMAIN_MODEL_FINISHDEMANDREQUEST_H_
#define ALIBABACLOUD_DOMAIN_MODEL_FINISHDEMANDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT FinishDemandRequest : public RpcServiceRequest
{
public:
FinishDemandRequest();
~FinishDemandRequest();
std::string getBizId()const;
void setBizId(const std::string& bizId);
std::string getMessage()const;
void setMessage(const std::string& message);
private:
std::string bizId_;
std::string message_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_FINISHDEMANDREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_DOMAIN_MODEL_FINISHDEMANDRESULT_H_
#define ALIBABACLOUD_DOMAIN_MODEL_FINISHDEMANDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT FinishDemandResult : public ServiceResult
{
public:
FinishDemandResult();
explicit FinishDemandResult(const std::string &payload);
~FinishDemandResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_FINISHDEMANDRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* 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_DOMAIN_MODEL_QUERYBROKERDEMANDRECORDREQUEST_H_
#define ALIBABACLOUD_DOMAIN_MODEL_QUERYBROKERDEMANDRECORDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT QueryBrokerDemandRecordRequest : public RpcServiceRequest
{
public:
QueryBrokerDemandRecordRequest();
~QueryBrokerDemandRecordRequest();
int getPageSize()const;
void setPageSize(int pageSize);
std::string getBizId()const;
void setBizId(const std::string& bizId);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
private:
int pageSize_;
std::string bizId_;
int currentPage_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_QUERYBROKERDEMANDRECORDREQUEST_H_

View File

@@ -0,0 +1,65 @@
/*
* 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_DOMAIN_MODEL_QUERYBROKERDEMANDRECORDRESULT_H_
#define ALIBABACLOUD_DOMAIN_MODEL_QUERYBROKERDEMANDRECORDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT QueryBrokerDemandRecordResult : public ServiceResult
{
public:
struct BrokerDemandRecord
{
std::string description;
long createTime;
std::string bizId;
};
QueryBrokerDemandRecordResult();
explicit QueryBrokerDemandRecordResult(const std::string &payload);
~QueryBrokerDemandRecordResult();
int getCurrentPageNum()const;
int getPageSize()const;
int getTotalPageNum()const;
std::vector<BrokerDemandRecord> getData()const;
int getTotalItemNum()const;
protected:
void parse(const std::string &payload);
private:
int currentPageNum_;
int pageSize_;
int totalPageNum_;
std::vector<BrokerDemandRecord> data_;
int totalItemNum_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_QUERYBROKERDEMANDRECORDRESULT_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_DOMAIN_MODEL_QUERYBROKERDEMANDREQUEST_H_
#define ALIBABACLOUD_DOMAIN_MODEL_QUERYBROKERDEMANDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT QueryBrokerDemandRequest : public RpcServiceRequest
{
public:
QueryBrokerDemandRequest();
~QueryBrokerDemandRequest();
int getPageSize()const;
void setPageSize(int pageSize);
std::string getBizId()const;
void setBizId(const std::string& bizId);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getStatus()const;
void setStatus(const std::string& status);
private:
int pageSize_;
std::string bizId_;
int currentPage_;
std::string status_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_QUERYBROKERDEMANDREQUEST_H_

View File

@@ -0,0 +1,73 @@
/*
* 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_DOMAIN_MODEL_QUERYBROKERDEMANDRESULT_H_
#define ALIBABACLOUD_DOMAIN_MODEL_QUERYBROKERDEMANDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT QueryBrokerDemandResult : public ServiceResult
{
public:
struct Demand
{
std::string status;
float payPrice;
float demandPrice;
std::string description;
std::string payDomain;
int produceType;
std::string demandDomain;
long publishTime;
long payTime;
std::string bizId;
std::string mobile;
};
QueryBrokerDemandResult();
explicit QueryBrokerDemandResult(const std::string &payload);
~QueryBrokerDemandResult();
int getCurrentPageNum()const;
int getPageSize()const;
int getTotalPageNum()const;
std::vector<Demand> getData()const;
int getTotalItemNum()const;
protected:
void parse(const std::string &payload);
private:
int currentPageNum_;
int pageSize_;
int totalPageNum_;
std::vector<Demand> data_;
int totalItemNum_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_QUERYBROKERDEMANDRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* 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_DOMAIN_MODEL_RECORDDEMANDREQUEST_H_
#define ALIBABACLOUD_DOMAIN_MODEL_RECORDDEMANDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT RecordDemandRequest : public RpcServiceRequest
{
public:
RecordDemandRequest();
~RecordDemandRequest();
std::string getBizId()const;
void setBizId(const std::string& bizId);
std::string getMessage()const;
void setMessage(const std::string& message);
private:
std::string bizId_;
std::string message_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_RECORDDEMANDREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_DOMAIN_MODEL_RECORDDEMANDRESULT_H_
#define ALIBABACLOUD_DOMAIN_MODEL_RECORDDEMANDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT RecordDemandResult : public ServiceResult
{
public:
RecordDemandResult();
explicit RecordDemandResult(const std::string &payload);
~RecordDemandResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_RECORDDEMANDRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* 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_DOMAIN_MODEL_REFUSEDEMANDREQUEST_H_
#define ALIBABACLOUD_DOMAIN_MODEL_REFUSEDEMANDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT RefuseDemandRequest : public RpcServiceRequest
{
public:
RefuseDemandRequest();
~RefuseDemandRequest();
std::string getBizId()const;
void setBizId(const std::string& bizId);
std::string getMessage()const;
void setMessage(const std::string& message);
private:
std::string bizId_;
std::string message_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_REFUSEDEMANDREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_DOMAIN_MODEL_REFUSEDEMANDRESULT_H_
#define ALIBABACLOUD_DOMAIN_MODEL_REFUSEDEMANDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT RefuseDemandResult : public ServiceResult
{
public:
RefuseDemandResult();
explicit RefuseDemandResult(const std::string &payload);
~RefuseDemandResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_REFUSEDEMANDRESULT_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_DOMAIN_MODEL_REQUESTPAYDEMANDREQUEST_H_
#define ALIBABACLOUD_DOMAIN_MODEL_REQUESTPAYDEMANDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT RequestPayDemandRequest : public RpcServiceRequest
{
public:
RequestPayDemandRequest();
~RequestPayDemandRequest();
float getPrice()const;
void setPrice(float price);
std::string getBizId()const;
void setBizId(const std::string& bizId);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
int getProduceType()const;
void setProduceType(int produceType);
std::string getMessage()const;
void setMessage(const std::string& message);
private:
float price_;
std::string bizId_;
std::string domainName_;
int produceType_;
std::string message_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_REQUESTPAYDEMANDREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_DOMAIN_MODEL_REQUESTPAYDEMANDRESULT_H_
#define ALIBABACLOUD_DOMAIN_MODEL_REQUESTPAYDEMANDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT RequestPayDemandResult : public ServiceResult
{
public:
RequestPayDemandResult();
explicit RequestPayDemandResult(const std::string &payload);
~RequestPayDemandResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_REQUESTPAYDEMANDRESULT_H_

View File

@@ -195,6 +195,42 @@ DomainClient::QueryBookingDomainInfoOutcomeCallable DomainClient::queryBookingDo
return task->get_future();
}
DomainClient::AcceptDemandOutcome DomainClient::acceptDemand(const AcceptDemandRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AcceptDemandOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return AcceptDemandOutcome(AcceptDemandResult(outcome.result()));
else
return AcceptDemandOutcome(outcome.error());
}
void DomainClient::acceptDemandAsync(const AcceptDemandRequest& request, const AcceptDemandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, acceptDemand(request), context);
};
asyncExecute(new Runnable(fn));
}
DomainClient::AcceptDemandOutcomeCallable DomainClient::acceptDemandCallable(const AcceptDemandRequest &request) const
{
auto task = std::make_shared<std::packaged_task<AcceptDemandOutcome()>>(
[this, request]()
{
return this->acceptDemand(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DomainClient::SaveSingleTaskForSynchronizingDnsHostOutcome DomainClient::saveSingleTaskForSynchronizingDnsHost(const SaveSingleTaskForSynchronizingDnsHostRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -591,6 +627,42 @@ DomainClient::QueryAdvancedDomainListOutcomeCallable DomainClient::queryAdvanced
return task->get_future();
}
DomainClient::RequestPayDemandOutcome DomainClient::requestPayDemand(const RequestPayDemandRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RequestPayDemandOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return RequestPayDemandOutcome(RequestPayDemandResult(outcome.result()));
else
return RequestPayDemandOutcome(outcome.error());
}
void DomainClient::requestPayDemandAsync(const RequestPayDemandRequest& request, const RequestPayDemandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, requestPayDemand(request), context);
};
asyncExecute(new Runnable(fn));
}
DomainClient::RequestPayDemandOutcomeCallable DomainClient::requestPayDemandCallable(const RequestPayDemandRequest &request) const
{
auto task = std::make_shared<std::packaged_task<RequestPayDemandOutcome()>>(
[this, request]()
{
return this->requestPayDemand(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DomainClient::QueryTransferOutInfoOutcome DomainClient::queryTransferOutInfo(const QueryTransferOutInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -699,6 +771,42 @@ DomainClient::SaveSingleTaskForCreatingOrderRedeemOutcomeCallable DomainClient::
return task->get_future();
}
DomainClient::QueryBrokerDemandOutcome DomainClient::queryBrokerDemand(const QueryBrokerDemandRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryBrokerDemandOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryBrokerDemandOutcome(QueryBrokerDemandResult(outcome.result()));
else
return QueryBrokerDemandOutcome(outcome.error());
}
void DomainClient::queryBrokerDemandAsync(const QueryBrokerDemandRequest& request, const QueryBrokerDemandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryBrokerDemand(request), context);
};
asyncExecute(new Runnable(fn));
}
DomainClient::QueryBrokerDemandOutcomeCallable DomainClient::queryBrokerDemandCallable(const QueryBrokerDemandRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryBrokerDemandOutcome()>>(
[this, request]()
{
return this->queryBrokerDemand(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DomainClient::QueryTaskDetailListOutcome DomainClient::queryTaskDetailList(const QueryTaskDetailListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -807,6 +915,42 @@ DomainClient::VerifyContactFieldOutcomeCallable DomainClient::verifyContactField
return task->get_future();
}
DomainClient::FinishDemandOutcome DomainClient::finishDemand(const FinishDemandRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return FinishDemandOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return FinishDemandOutcome(FinishDemandResult(outcome.result()));
else
return FinishDemandOutcome(outcome.error());
}
void DomainClient::finishDemandAsync(const FinishDemandRequest& request, const FinishDemandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, finishDemand(request), context);
};
asyncExecute(new Runnable(fn));
}
DomainClient::FinishDemandOutcomeCallable DomainClient::finishDemandCallable(const FinishDemandRequest &request) const
{
auto task = std::make_shared<std::packaged_task<FinishDemandOutcome()>>(
[this, request]()
{
return this->finishDemand(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DomainClient::RegistrantProfileRealNameVerificationOutcome DomainClient::registrantProfileRealNameVerification(const RegistrantProfileRealNameVerificationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -879,6 +1023,42 @@ DomainClient::QueryBidRecordsOutcomeCallable DomainClient::queryBidRecordsCallab
return task->get_future();
}
DomainClient::RecordDemandOutcome DomainClient::recordDemand(const RecordDemandRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RecordDemandOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return RecordDemandOutcome(RecordDemandResult(outcome.result()));
else
return RecordDemandOutcome(outcome.error());
}
void DomainClient::recordDemandAsync(const RecordDemandRequest& request, const RecordDemandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, recordDemand(request), context);
};
asyncExecute(new Runnable(fn));
}
DomainClient::RecordDemandOutcomeCallable DomainClient::recordDemandCallable(const RecordDemandRequest &request) const
{
auto task = std::make_shared<std::packaged_task<RecordDemandOutcome()>>(
[this, request]()
{
return this->recordDemand(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DomainClient::SaveBatchTaskForCreatingOrderActivateOutcome DomainClient::saveBatchTaskForCreatingOrderActivate(const SaveBatchTaskForCreatingOrderActivateRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2283,6 +2463,42 @@ DomainClient::QueryRegistrantProfilesOutcomeCallable DomainClient::queryRegistra
return task->get_future();
}
DomainClient::FailDemandOutcome DomainClient::failDemand(const FailDemandRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return FailDemandOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return FailDemandOutcome(FailDemandResult(outcome.result()));
else
return FailDemandOutcome(outcome.error());
}
void DomainClient::failDemandAsync(const FailDemandRequest& request, const FailDemandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, failDemand(request), context);
};
asyncExecute(new Runnable(fn));
}
DomainClient::FailDemandOutcomeCallable DomainClient::failDemandCallable(const FailDemandRequest &request) const
{
auto task = std::make_shared<std::packaged_task<FailDemandOutcome()>>(
[this, request]()
{
return this->failDemand(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DomainClient::SaveSingleTaskForCancelingTransferInOutcome DomainClient::saveSingleTaskForCancelingTransferIn(const SaveSingleTaskForCancelingTransferInRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2499,6 +2715,42 @@ DomainClient::SaveBatchTaskForTransferProhibitionLockOutcomeCallable DomainClien
return task->get_future();
}
DomainClient::RefuseDemandOutcome DomainClient::refuseDemand(const RefuseDemandRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RefuseDemandOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return RefuseDemandOutcome(RefuseDemandResult(outcome.result()));
else
return RefuseDemandOutcome(outcome.error());
}
void DomainClient::refuseDemandAsync(const RefuseDemandRequest& request, const RefuseDemandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, refuseDemand(request), context);
};
asyncExecute(new Runnable(fn));
}
DomainClient::RefuseDemandOutcomeCallable DomainClient::refuseDemandCallable(const RefuseDemandRequest &request) const
{
auto task = std::make_shared<std::packaged_task<RefuseDemandOutcome()>>(
[this, request]()
{
return this->refuseDemand(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DomainClient::TransferInReenterTransferAuthorizationCodeOutcome DomainClient::transferInReenterTransferAuthorizationCode(const TransferInReenterTransferAuthorizationCodeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2679,6 +2931,42 @@ DomainClient::DeleteRegistrantProfileOutcomeCallable DomainClient::deleteRegistr
return task->get_future();
}
DomainClient::QueryBrokerDemandRecordOutcome DomainClient::queryBrokerDemandRecord(const QueryBrokerDemandRecordRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryBrokerDemandRecordOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryBrokerDemandRecordOutcome(QueryBrokerDemandRecordResult(outcome.result()));
else
return QueryBrokerDemandRecordOutcome(outcome.error());
}
void DomainClient::queryBrokerDemandRecordAsync(const QueryBrokerDemandRecordRequest& request, const QueryBrokerDemandRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryBrokerDemandRecord(request), context);
};
asyncExecute(new Runnable(fn));
}
DomainClient::QueryBrokerDemandRecordOutcomeCallable DomainClient::queryBrokerDemandRecordCallable(const QueryBrokerDemandRecordRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryBrokerDemandRecordOutcome()>>(
[this, request]()
{
return this->queryBrokerDemandRecord(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DomainClient::QueryTaskInfoHistoryOutcome DomainClient::queryTaskInfoHistory(const QueryTaskInfoHistoryRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/domain/model/AcceptDemandRequest.h>
using AlibabaCloud::Domain::Model::AcceptDemandRequest;
AcceptDemandRequest::AcceptDemandRequest() :
RpcServiceRequest("domain", "2018-02-08", "AcceptDemand")
{}
AcceptDemandRequest::~AcceptDemandRequest()
{}
std::string AcceptDemandRequest::getBizId()const
{
return bizId_;
}
void AcceptDemandRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setParameter("BizId", bizId);
}
std::string AcceptDemandRequest::getMessage()const
{
return message_;
}
void AcceptDemandRequest::setMessage(const std::string& message)
{
message_ = message;
setParameter("Message", message);
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/domain/model/AcceptDemandResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Domain;
using namespace AlibabaCloud::Domain::Model;
AcceptDemandResult::AcceptDemandResult() :
ServiceResult()
{}
AcceptDemandResult::AcceptDemandResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AcceptDemandResult::~AcceptDemandResult()
{}
void AcceptDemandResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/domain/model/FailDemandRequest.h>
using AlibabaCloud::Domain::Model::FailDemandRequest;
FailDemandRequest::FailDemandRequest() :
RpcServiceRequest("domain", "2018-02-08", "FailDemand")
{}
FailDemandRequest::~FailDemandRequest()
{}
std::string FailDemandRequest::getBizId()const
{
return bizId_;
}
void FailDemandRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setParameter("BizId", bizId);
}
std::string FailDemandRequest::getMessage()const
{
return message_;
}
void FailDemandRequest::setMessage(const std::string& message)
{
message_ = message;
setParameter("Message", message);
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/domain/model/FailDemandResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Domain;
using namespace AlibabaCloud::Domain::Model;
FailDemandResult::FailDemandResult() :
ServiceResult()
{}
FailDemandResult::FailDemandResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
FailDemandResult::~FailDemandResult()
{}
void FailDemandResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/domain/model/FinishDemandRequest.h>
using AlibabaCloud::Domain::Model::FinishDemandRequest;
FinishDemandRequest::FinishDemandRequest() :
RpcServiceRequest("domain", "2018-02-08", "FinishDemand")
{}
FinishDemandRequest::~FinishDemandRequest()
{}
std::string FinishDemandRequest::getBizId()const
{
return bizId_;
}
void FinishDemandRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setParameter("BizId", bizId);
}
std::string FinishDemandRequest::getMessage()const
{
return message_;
}
void FinishDemandRequest::setMessage(const std::string& message)
{
message_ = message;
setParameter("Message", message);
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/domain/model/FinishDemandResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Domain;
using namespace AlibabaCloud::Domain::Model;
FinishDemandResult::FinishDemandResult() :
ServiceResult()
{}
FinishDemandResult::FinishDemandResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
FinishDemandResult::~FinishDemandResult()
{}
void FinishDemandResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/domain/model/QueryBrokerDemandRecordRequest.h>
using AlibabaCloud::Domain::Model::QueryBrokerDemandRecordRequest;
QueryBrokerDemandRecordRequest::QueryBrokerDemandRecordRequest() :
RpcServiceRequest("domain", "2018-02-08", "QueryBrokerDemandRecord")
{}
QueryBrokerDemandRecordRequest::~QueryBrokerDemandRecordRequest()
{}
int QueryBrokerDemandRecordRequest::getPageSize()const
{
return pageSize_;
}
void QueryBrokerDemandRecordRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string QueryBrokerDemandRecordRequest::getBizId()const
{
return bizId_;
}
void QueryBrokerDemandRecordRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setParameter("BizId", bizId);
}
int QueryBrokerDemandRecordRequest::getCurrentPage()const
{
return currentPage_;
}
void QueryBrokerDemandRecordRequest::setCurrentPage(int currentPage)
{
currentPage_ = currentPage;
setParameter("CurrentPage", std::to_string(currentPage));
}

View File

@@ -0,0 +1,90 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/domain/model/QueryBrokerDemandRecordResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Domain;
using namespace AlibabaCloud::Domain::Model;
QueryBrokerDemandRecordResult::QueryBrokerDemandRecordResult() :
ServiceResult()
{}
QueryBrokerDemandRecordResult::QueryBrokerDemandRecordResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryBrokerDemandRecordResult::~QueryBrokerDemandRecordResult()
{}
void QueryBrokerDemandRecordResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allData = value["Data"]["BrokerDemandRecord"];
for (auto value : allData)
{
BrokerDemandRecord dataObject;
if(!value["BizId"].isNull())
dataObject.bizId = value["BizId"].asString();
if(!value["Description"].isNull())
dataObject.description = value["Description"].asString();
if(!value["CreateTime"].isNull())
dataObject.createTime = std::stol(value["CreateTime"].asString());
data_.push_back(dataObject);
}
if(!value["TotalItemNum"].isNull())
totalItemNum_ = std::stoi(value["TotalItemNum"].asString());
if(!value["CurrentPageNum"].isNull())
currentPageNum_ = std::stoi(value["CurrentPageNum"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
if(!value["TotalPageNum"].isNull())
totalPageNum_ = std::stoi(value["TotalPageNum"].asString());
}
int QueryBrokerDemandRecordResult::getCurrentPageNum()const
{
return currentPageNum_;
}
int QueryBrokerDemandRecordResult::getPageSize()const
{
return pageSize_;
}
int QueryBrokerDemandRecordResult::getTotalPageNum()const
{
return totalPageNum_;
}
std::vector<QueryBrokerDemandRecordResult::BrokerDemandRecord> QueryBrokerDemandRecordResult::getData()const
{
return data_;
}
int QueryBrokerDemandRecordResult::getTotalItemNum()const
{
return totalItemNum_;
}

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/domain/model/QueryBrokerDemandRequest.h>
using AlibabaCloud::Domain::Model::QueryBrokerDemandRequest;
QueryBrokerDemandRequest::QueryBrokerDemandRequest() :
RpcServiceRequest("domain", "2018-02-08", "QueryBrokerDemand")
{}
QueryBrokerDemandRequest::~QueryBrokerDemandRequest()
{}
int QueryBrokerDemandRequest::getPageSize()const
{
return pageSize_;
}
void QueryBrokerDemandRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string QueryBrokerDemandRequest::getBizId()const
{
return bizId_;
}
void QueryBrokerDemandRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setParameter("BizId", bizId);
}
int QueryBrokerDemandRequest::getCurrentPage()const
{
return currentPage_;
}
void QueryBrokerDemandRequest::setCurrentPage(int currentPage)
{
currentPage_ = currentPage;
setParameter("CurrentPage", std::to_string(currentPage));
}
std::string QueryBrokerDemandRequest::getStatus()const
{
return status_;
}
void QueryBrokerDemandRequest::setStatus(const std::string& status)
{
status_ = status;
setParameter("Status", status);
}

View File

@@ -0,0 +1,106 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/domain/model/QueryBrokerDemandResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Domain;
using namespace AlibabaCloud::Domain::Model;
QueryBrokerDemandResult::QueryBrokerDemandResult() :
ServiceResult()
{}
QueryBrokerDemandResult::QueryBrokerDemandResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryBrokerDemandResult::~QueryBrokerDemandResult()
{}
void QueryBrokerDemandResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allData = value["Data"]["Demand"];
for (auto value : allData)
{
Demand dataObject;
if(!value["BizId"].isNull())
dataObject.bizId = value["BizId"].asString();
if(!value["Status"].isNull())
dataObject.status = value["Status"].asString();
if(!value["DemandDomain"].isNull())
dataObject.demandDomain = value["DemandDomain"].asString();
if(!value["DemandPrice"].isNull())
dataObject.demandPrice = std::stof(value["DemandPrice"].asString());
if(!value["Mobile"].isNull())
dataObject.mobile = value["Mobile"].asString();
if(!value["Description"].isNull())
dataObject.description = value["Description"].asString();
if(!value["PublishTime"].isNull())
dataObject.publishTime = std::stol(value["PublishTime"].asString());
if(!value["PayDomain"].isNull())
dataObject.payDomain = value["PayDomain"].asString();
if(!value["PayPrice"].isNull())
dataObject.payPrice = std::stof(value["PayPrice"].asString());
if(!value["PayTime"].isNull())
dataObject.payTime = std::stol(value["PayTime"].asString());
if(!value["ProduceType"].isNull())
dataObject.produceType = std::stoi(value["ProduceType"].asString());
data_.push_back(dataObject);
}
if(!value["TotalItemNum"].isNull())
totalItemNum_ = std::stoi(value["TotalItemNum"].asString());
if(!value["CurrentPageNum"].isNull())
currentPageNum_ = std::stoi(value["CurrentPageNum"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
if(!value["TotalPageNum"].isNull())
totalPageNum_ = std::stoi(value["TotalPageNum"].asString());
}
int QueryBrokerDemandResult::getCurrentPageNum()const
{
return currentPageNum_;
}
int QueryBrokerDemandResult::getPageSize()const
{
return pageSize_;
}
int QueryBrokerDemandResult::getTotalPageNum()const
{
return totalPageNum_;
}
std::vector<QueryBrokerDemandResult::Demand> QueryBrokerDemandResult::getData()const
{
return data_;
}
int QueryBrokerDemandResult::getTotalItemNum()const
{
return totalItemNum_;
}

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/domain/model/RecordDemandRequest.h>
using AlibabaCloud::Domain::Model::RecordDemandRequest;
RecordDemandRequest::RecordDemandRequest() :
RpcServiceRequest("domain", "2018-02-08", "RecordDemand")
{}
RecordDemandRequest::~RecordDemandRequest()
{}
std::string RecordDemandRequest::getBizId()const
{
return bizId_;
}
void RecordDemandRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setParameter("BizId", bizId);
}
std::string RecordDemandRequest::getMessage()const
{
return message_;
}
void RecordDemandRequest::setMessage(const std::string& message)
{
message_ = message;
setParameter("Message", message);
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/domain/model/RecordDemandResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Domain;
using namespace AlibabaCloud::Domain::Model;
RecordDemandResult::RecordDemandResult() :
ServiceResult()
{}
RecordDemandResult::RecordDemandResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
RecordDemandResult::~RecordDemandResult()
{}
void RecordDemandResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/domain/model/RefuseDemandRequest.h>
using AlibabaCloud::Domain::Model::RefuseDemandRequest;
RefuseDemandRequest::RefuseDemandRequest() :
RpcServiceRequest("domain", "2018-02-08", "RefuseDemand")
{}
RefuseDemandRequest::~RefuseDemandRequest()
{}
std::string RefuseDemandRequest::getBizId()const
{
return bizId_;
}
void RefuseDemandRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setParameter("BizId", bizId);
}
std::string RefuseDemandRequest::getMessage()const
{
return message_;
}
void RefuseDemandRequest::setMessage(const std::string& message)
{
message_ = message;
setParameter("Message", message);
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/domain/model/RefuseDemandResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Domain;
using namespace AlibabaCloud::Domain::Model;
RefuseDemandResult::RefuseDemandResult() :
ServiceResult()
{}
RefuseDemandResult::RefuseDemandResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
RefuseDemandResult::~RefuseDemandResult()
{}
void RefuseDemandResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,82 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/domain/model/RequestPayDemandRequest.h>
using AlibabaCloud::Domain::Model::RequestPayDemandRequest;
RequestPayDemandRequest::RequestPayDemandRequest() :
RpcServiceRequest("domain", "2018-02-08", "RequestPayDemand")
{}
RequestPayDemandRequest::~RequestPayDemandRequest()
{}
float RequestPayDemandRequest::getPrice()const
{
return price_;
}
void RequestPayDemandRequest::setPrice(float price)
{
price_ = price;
setParameter("Price", std::to_string(price));
}
std::string RequestPayDemandRequest::getBizId()const
{
return bizId_;
}
void RequestPayDemandRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setParameter("BizId", bizId);
}
std::string RequestPayDemandRequest::getDomainName()const
{
return domainName_;
}
void RequestPayDemandRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
int RequestPayDemandRequest::getProduceType()const
{
return produceType_;
}
void RequestPayDemandRequest::setProduceType(int produceType)
{
produceType_ = produceType;
setParameter("ProduceType", std::to_string(produceType));
}
std::string RequestPayDemandRequest::getMessage()const
{
return message_;
}
void RequestPayDemandRequest::setMessage(const std::string& message)
{
message_ = message;
setParameter("Message", message);
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/domain/model/RequestPayDemandResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Domain;
using namespace AlibabaCloud::Domain::Model;
RequestPayDemandResult::RequestPayDemandResult() :
ServiceResult()
{}
RequestPayDemandResult::RequestPayDemandResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
RequestPayDemandResult::~RequestPayDemandResult()
{}
void RequestPayDemandResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}