DOMAIN SDK Auto Released By lukang.zlh,Version:1.31.0

Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
This commit is contained in:
yixiong.jxy
2018-11-13 14:39:51 +08:00
parent cb0d2daccc
commit 6072a0309b
17 changed files with 599 additions and 55 deletions

View File

@@ -98,6 +98,8 @@
#include "model/QueryDnsHostResult.h"
#include "model/QueryRegistrantProfileRealNameVerificationInfoRequest.h"
#include "model/QueryRegistrantProfileRealNameVerificationInfoResult.h"
#include "model/FuzzyMatchDomainSensitiveWordRequest.h"
#include "model/FuzzyMatchDomainSensitiveWordResult.h"
#include "model/FailDemandRequest.h"
#include "model/FailDemandResult.h"
#include "model/SaveSingleTaskForCancelingTransferInRequest.h"
@@ -122,6 +124,8 @@
#include "model/SaveBatchTaskForCreatingOrderRenewResult.h"
#include "model/QueryServerLockRequest.h"
#include "model/QueryServerLockResult.h"
#include "model/BatchFuzzyMatchDomainSensitiveWordRequest.h"
#include "model/BatchFuzzyMatchDomainSensitiveWordResult.h"
#include "model/SaveSingleTaskForModifyingDnsHostRequest.h"
#include "model/SaveSingleTaskForModifyingDnsHostResult.h"
#include "model/QueryBookingDomainInfoRequest.h"
@@ -359,6 +363,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryRegistrantProfileRealNameVerificationInfoResult> QueryRegistrantProfileRealNameVerificationInfoOutcome;
typedef std::future<QueryRegistrantProfileRealNameVerificationInfoOutcome> QueryRegistrantProfileRealNameVerificationInfoOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::QueryRegistrantProfileRealNameVerificationInfoRequest&, const QueryRegistrantProfileRealNameVerificationInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryRegistrantProfileRealNameVerificationInfoAsyncHandler;
typedef Outcome<Error, Model::FuzzyMatchDomainSensitiveWordResult> FuzzyMatchDomainSensitiveWordOutcome;
typedef std::future<FuzzyMatchDomainSensitiveWordOutcome> FuzzyMatchDomainSensitiveWordOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::FuzzyMatchDomainSensitiveWordRequest&, const FuzzyMatchDomainSensitiveWordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FuzzyMatchDomainSensitiveWordAsyncHandler;
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;
@@ -395,6 +402,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryServerLockResult> QueryServerLockOutcome;
typedef std::future<QueryServerLockOutcome> QueryServerLockOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::QueryServerLockRequest&, const QueryServerLockOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryServerLockAsyncHandler;
typedef Outcome<Error, Model::BatchFuzzyMatchDomainSensitiveWordResult> BatchFuzzyMatchDomainSensitiveWordOutcome;
typedef std::future<BatchFuzzyMatchDomainSensitiveWordOutcome> BatchFuzzyMatchDomainSensitiveWordOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::BatchFuzzyMatchDomainSensitiveWordRequest&, const BatchFuzzyMatchDomainSensitiveWordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchFuzzyMatchDomainSensitiveWordAsyncHandler;
typedef Outcome<Error, Model::SaveSingleTaskForModifyingDnsHostResult> SaveSingleTaskForModifyingDnsHostOutcome;
typedef std::future<SaveSingleTaskForModifyingDnsHostOutcome> SaveSingleTaskForModifyingDnsHostOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::SaveSingleTaskForModifyingDnsHostRequest&, const SaveSingleTaskForModifyingDnsHostOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveSingleTaskForModifyingDnsHostAsyncHandler;
@@ -685,6 +695,9 @@ namespace AlibabaCloud
QueryRegistrantProfileRealNameVerificationInfoOutcome queryRegistrantProfileRealNameVerificationInfo(const Model::QueryRegistrantProfileRealNameVerificationInfoRequest &request)const;
void queryRegistrantProfileRealNameVerificationInfoAsync(const Model::QueryRegistrantProfileRealNameVerificationInfoRequest& request, const QueryRegistrantProfileRealNameVerificationInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryRegistrantProfileRealNameVerificationInfoOutcomeCallable queryRegistrantProfileRealNameVerificationInfoCallable(const Model::QueryRegistrantProfileRealNameVerificationInfoRequest& request) const;
FuzzyMatchDomainSensitiveWordOutcome fuzzyMatchDomainSensitiveWord(const Model::FuzzyMatchDomainSensitiveWordRequest &request)const;
void fuzzyMatchDomainSensitiveWordAsync(const Model::FuzzyMatchDomainSensitiveWordRequest& request, const FuzzyMatchDomainSensitiveWordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FuzzyMatchDomainSensitiveWordOutcomeCallable fuzzyMatchDomainSensitiveWordCallable(const Model::FuzzyMatchDomainSensitiveWordRequest& 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;
@@ -721,6 +734,9 @@ namespace AlibabaCloud
QueryServerLockOutcome queryServerLock(const Model::QueryServerLockRequest &request)const;
void queryServerLockAsync(const Model::QueryServerLockRequest& request, const QueryServerLockAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryServerLockOutcomeCallable queryServerLockCallable(const Model::QueryServerLockRequest& request) const;
BatchFuzzyMatchDomainSensitiveWordOutcome batchFuzzyMatchDomainSensitiveWord(const Model::BatchFuzzyMatchDomainSensitiveWordRequest &request)const;
void batchFuzzyMatchDomainSensitiveWordAsync(const Model::BatchFuzzyMatchDomainSensitiveWordRequest& request, const BatchFuzzyMatchDomainSensitiveWordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchFuzzyMatchDomainSensitiveWordOutcomeCallable batchFuzzyMatchDomainSensitiveWordCallable(const Model::BatchFuzzyMatchDomainSensitiveWordRequest& request) const;
SaveSingleTaskForModifyingDnsHostOutcome saveSingleTaskForModifyingDnsHost(const Model::SaveSingleTaskForModifyingDnsHostRequest &request)const;
void saveSingleTaskForModifyingDnsHostAsync(const Model::SaveSingleTaskForModifyingDnsHostRequest& request, const SaveSingleTaskForModifyingDnsHostAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SaveSingleTaskForModifyingDnsHostOutcomeCallable saveSingleTaskForModifyingDnsHostCallable(const Model::SaveSingleTaskForModifyingDnsHostRequest& request) const;

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_BATCHFUZZYMATCHDOMAINSENSITIVEWORDREQUEST_H_
#define ALIBABACLOUD_DOMAIN_MODEL_BATCHFUZZYMATCHDOMAINSENSITIVEWORDREQUEST_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 BatchFuzzyMatchDomainSensitiveWordRequest : public RpcServiceRequest
{
public:
BatchFuzzyMatchDomainSensitiveWordRequest();
~BatchFuzzyMatchDomainSensitiveWordRequest();
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::string getKeyword()const;
void setKeyword(const std::string& keyword);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string userClientIp_;
std::string keyword_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_BATCHFUZZYMATCHDOMAINSENSITIVEWORDREQUEST_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_DOMAIN_MODEL_BATCHFUZZYMATCHDOMAINSENSITIVEWORDRESULT_H_
#define ALIBABACLOUD_DOMAIN_MODEL_BATCHFUZZYMATCHDOMAINSENSITIVEWORDRESULT_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 BatchFuzzyMatchDomainSensitiveWordResult : public ServiceResult
{
public:
struct SensitiveWordMatchResult
{
struct MatchedSensitiveWord
{
std::string word;
};
bool exist;
std::string keyword;
std::vector<SensitiveWordMatchResult::MatchedSensitiveWord> matchedSentiveWords;
};
BatchFuzzyMatchDomainSensitiveWordResult();
explicit BatchFuzzyMatchDomainSensitiveWordResult(const std::string &payload);
~BatchFuzzyMatchDomainSensitiveWordResult();
std::vector<SensitiveWordMatchResult> getSensitiveWordMatchResultList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<SensitiveWordMatchResult> sensitiveWordMatchResultList_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_BATCHFUZZYMATCHDOMAINSENSITIVEWORDRESULT_H_

View File

@@ -41,6 +41,7 @@ namespace AlibabaCloud
std::string getDomainName()const;
long getPrice()const;
std::string getPremium()const;
bool getDynamicCheck()const;
std::string getReason()const;
protected:
@@ -50,6 +51,7 @@ namespace AlibabaCloud
std::string domainName_;
long price_;
std::string premium_;
bool dynamicCheck_;
std::string reason_;
};

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_FUZZYMATCHDOMAINSENSITIVEWORDREQUEST_H_
#define ALIBABACLOUD_DOMAIN_MODEL_FUZZYMATCHDOMAINSENSITIVEWORDREQUEST_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 FuzzyMatchDomainSensitiveWordRequest : public RpcServiceRequest
{
public:
FuzzyMatchDomainSensitiveWordRequest();
~FuzzyMatchDomainSensitiveWordRequest();
std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp);
std::string getKeyword()const;
void setKeyword(const std::string& keyword);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string userClientIp_;
std::string keyword_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_FUZZYMATCHDOMAINSENSITIVEWORDREQUEST_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_DOMAIN_MODEL_FUZZYMATCHDOMAINSENSITIVEWORDRESULT_H_
#define ALIBABACLOUD_DOMAIN_MODEL_FUZZYMATCHDOMAINSENSITIVEWORDRESULT_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 FuzzyMatchDomainSensitiveWordResult : public ServiceResult
{
public:
struct MatchedSensitiveWord
{
std::string word;
};
FuzzyMatchDomainSensitiveWordResult();
explicit FuzzyMatchDomainSensitiveWordResult(const std::string &payload);
~FuzzyMatchDomainSensitiveWordResult();
bool getExist()const;
std::string getKeyword()const;
std::vector<MatchedSensitiveWord> getMatchedSentiveWords()const;
protected:
void parse(const std::string &payload);
private:
bool exist_;
std::string keyword_;
std::vector<MatchedSensitiveWord> matchedSentiveWords_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_FUZZYMATCHDOMAINSENSITIVEWORDRESULT_H_

View File

@@ -46,23 +46,11 @@ namespace AlibabaCloud
QueryDomainAdminDivisionResult();
explicit QueryDomainAdminDivisionResult(const std::string &payload);
~QueryDomainAdminDivisionResult();
bool getPrePage()const;
int getCurrentPageNum()const;
int getPageSize()const;
int getTotalPageNum()const;
int getTotalItemNum()const;
bool getNextPage()const;
std::vector<AdminDivision> getAdminDivisions()const;
protected:
void parse(const std::string &payload);
private:
bool prePage_;
int currentPageNum_;
int pageSize_;
int totalPageNum_;
int totalItemNum_;
bool nextPage_;
std::vector<AdminDivision> adminDivisions_;
};