Compare commits
2 Commits
facebody-p
...
R-kvstore-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
73de909903 | ||
|
|
6a93a60bb8 |
@@ -1,3 +1,12 @@
|
||||
2021-03-12 Version: patch
|
||||
- Add EnableAdditionalBandwidth API.
|
||||
- Add CreateTairInstance API.
|
||||
|
||||
2021-03-12 Version: patch
|
||||
- Supported batch delete for contact template.
|
||||
- Supported save for contact template.
|
||||
- Supported set default for contact template.
|
||||
|
||||
2021-03-11 Version: patch
|
||||
- Update DetectIPCPedestrian.
|
||||
|
||||
|
||||
@@ -51,6 +51,8 @@ set(domain_public_header_model
|
||||
include/alibabacloud/domain/model/CheckTransferInFeasibilityResult.h
|
||||
include/alibabacloud/domain/model/ConfirmTransferInEmailRequest.h
|
||||
include/alibabacloud/domain/model/ConfirmTransferInEmailResult.h
|
||||
include/alibabacloud/domain/model/DeleteContactTemplatesRequest.h
|
||||
include/alibabacloud/domain/model/DeleteContactTemplatesResult.h
|
||||
include/alibabacloud/domain/model/DeleteDomainGroupRequest.h
|
||||
include/alibabacloud/domain/model/DeleteDomainGroupResult.h
|
||||
include/alibabacloud/domain/model/DeleteEmailVerificationRequest.h
|
||||
@@ -199,6 +201,8 @@ set(domain_public_header_model
|
||||
include/alibabacloud/domain/model/SaveDomainGroupResult.h
|
||||
include/alibabacloud/domain/model/SaveRegistrantProfileRequest.h
|
||||
include/alibabacloud/domain/model/SaveRegistrantProfileResult.h
|
||||
include/alibabacloud/domain/model/SaveRegistrantProfileRealNameVerificationRequest.h
|
||||
include/alibabacloud/domain/model/SaveRegistrantProfileRealNameVerificationResult.h
|
||||
include/alibabacloud/domain/model/SaveSingleTaskForAddingDSRecordRequest.h
|
||||
include/alibabacloud/domain/model/SaveSingleTaskForAddingDSRecordResult.h
|
||||
include/alibabacloud/domain/model/SaveSingleTaskForApprovingTransferOutRequest.h
|
||||
@@ -257,6 +261,8 @@ set(domain_public_header_model
|
||||
include/alibabacloud/domain/model/SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDResult.h
|
||||
include/alibabacloud/domain/model/ScrollDomainListRequest.h
|
||||
include/alibabacloud/domain/model/ScrollDomainListResult.h
|
||||
include/alibabacloud/domain/model/SetDefaultRegistrantProfileRequest.h
|
||||
include/alibabacloud/domain/model/SetDefaultRegistrantProfileResult.h
|
||||
include/alibabacloud/domain/model/SubmitEmailVerificationRequest.h
|
||||
include/alibabacloud/domain/model/SubmitEmailVerificationResult.h
|
||||
include/alibabacloud/domain/model/SubmitOperationAuditInfoRequest.h
|
||||
@@ -310,6 +316,8 @@ set(domain_src
|
||||
src/model/CheckTransferInFeasibilityResult.cc
|
||||
src/model/ConfirmTransferInEmailRequest.cc
|
||||
src/model/ConfirmTransferInEmailResult.cc
|
||||
src/model/DeleteContactTemplatesRequest.cc
|
||||
src/model/DeleteContactTemplatesResult.cc
|
||||
src/model/DeleteDomainGroupRequest.cc
|
||||
src/model/DeleteDomainGroupResult.cc
|
||||
src/model/DeleteEmailVerificationRequest.cc
|
||||
@@ -458,6 +466,8 @@ set(domain_src
|
||||
src/model/SaveDomainGroupResult.cc
|
||||
src/model/SaveRegistrantProfileRequest.cc
|
||||
src/model/SaveRegistrantProfileResult.cc
|
||||
src/model/SaveRegistrantProfileRealNameVerificationRequest.cc
|
||||
src/model/SaveRegistrantProfileRealNameVerificationResult.cc
|
||||
src/model/SaveSingleTaskForAddingDSRecordRequest.cc
|
||||
src/model/SaveSingleTaskForAddingDSRecordResult.cc
|
||||
src/model/SaveSingleTaskForApprovingTransferOutRequest.cc
|
||||
@@ -516,6 +526,8 @@ set(domain_src
|
||||
src/model/SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDResult.cc
|
||||
src/model/ScrollDomainListRequest.cc
|
||||
src/model/ScrollDomainListResult.cc
|
||||
src/model/SetDefaultRegistrantProfileRequest.cc
|
||||
src/model/SetDefaultRegistrantProfileResult.cc
|
||||
src/model/SubmitEmailVerificationRequest.cc
|
||||
src/model/SubmitEmailVerificationResult.cc
|
||||
src/model/SubmitOperationAuditInfoRequest.cc
|
||||
|
||||
@@ -52,6 +52,8 @@
|
||||
#include "model/CheckTransferInFeasibilityResult.h"
|
||||
#include "model/ConfirmTransferInEmailRequest.h"
|
||||
#include "model/ConfirmTransferInEmailResult.h"
|
||||
#include "model/DeleteContactTemplatesRequest.h"
|
||||
#include "model/DeleteContactTemplatesResult.h"
|
||||
#include "model/DeleteDomainGroupRequest.h"
|
||||
#include "model/DeleteDomainGroupResult.h"
|
||||
#include "model/DeleteEmailVerificationRequest.h"
|
||||
@@ -200,6 +202,8 @@
|
||||
#include "model/SaveDomainGroupResult.h"
|
||||
#include "model/SaveRegistrantProfileRequest.h"
|
||||
#include "model/SaveRegistrantProfileResult.h"
|
||||
#include "model/SaveRegistrantProfileRealNameVerificationRequest.h"
|
||||
#include "model/SaveRegistrantProfileRealNameVerificationResult.h"
|
||||
#include "model/SaveSingleTaskForAddingDSRecordRequest.h"
|
||||
#include "model/SaveSingleTaskForAddingDSRecordResult.h"
|
||||
#include "model/SaveSingleTaskForApprovingTransferOutRequest.h"
|
||||
@@ -258,6 +262,8 @@
|
||||
#include "model/SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDResult.h"
|
||||
#include "model/ScrollDomainListRequest.h"
|
||||
#include "model/ScrollDomainListResult.h"
|
||||
#include "model/SetDefaultRegistrantProfileRequest.h"
|
||||
#include "model/SetDefaultRegistrantProfileResult.h"
|
||||
#include "model/SubmitEmailVerificationRequest.h"
|
||||
#include "model/SubmitEmailVerificationResult.h"
|
||||
#include "model/SubmitOperationAuditInfoRequest.h"
|
||||
@@ -332,6 +338,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ConfirmTransferInEmailResult> ConfirmTransferInEmailOutcome;
|
||||
typedef std::future<ConfirmTransferInEmailOutcome> ConfirmTransferInEmailOutcomeCallable;
|
||||
typedef std::function<void(const DomainClient*, const Model::ConfirmTransferInEmailRequest&, const ConfirmTransferInEmailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfirmTransferInEmailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteContactTemplatesResult> DeleteContactTemplatesOutcome;
|
||||
typedef std::future<DeleteContactTemplatesOutcome> DeleteContactTemplatesOutcomeCallable;
|
||||
typedef std::function<void(const DomainClient*, const Model::DeleteContactTemplatesRequest&, const DeleteContactTemplatesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteContactTemplatesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDomainGroupResult> DeleteDomainGroupOutcome;
|
||||
typedef std::future<DeleteDomainGroupOutcome> DeleteDomainGroupOutcomeCallable;
|
||||
typedef std::function<void(const DomainClient*, const Model::DeleteDomainGroupRequest&, const DeleteDomainGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDomainGroupAsyncHandler;
|
||||
@@ -554,6 +563,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SaveRegistrantProfileResult> SaveRegistrantProfileOutcome;
|
||||
typedef std::future<SaveRegistrantProfileOutcome> SaveRegistrantProfileOutcomeCallable;
|
||||
typedef std::function<void(const DomainClient*, const Model::SaveRegistrantProfileRequest&, const SaveRegistrantProfileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveRegistrantProfileAsyncHandler;
|
||||
typedef Outcome<Error, Model::SaveRegistrantProfileRealNameVerificationResult> SaveRegistrantProfileRealNameVerificationOutcome;
|
||||
typedef std::future<SaveRegistrantProfileRealNameVerificationOutcome> SaveRegistrantProfileRealNameVerificationOutcomeCallable;
|
||||
typedef std::function<void(const DomainClient*, const Model::SaveRegistrantProfileRealNameVerificationRequest&, const SaveRegistrantProfileRealNameVerificationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveRegistrantProfileRealNameVerificationAsyncHandler;
|
||||
typedef Outcome<Error, Model::SaveSingleTaskForAddingDSRecordResult> SaveSingleTaskForAddingDSRecordOutcome;
|
||||
typedef std::future<SaveSingleTaskForAddingDSRecordOutcome> SaveSingleTaskForAddingDSRecordOutcomeCallable;
|
||||
typedef std::function<void(const DomainClient*, const Model::SaveSingleTaskForAddingDSRecordRequest&, const SaveSingleTaskForAddingDSRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveSingleTaskForAddingDSRecordAsyncHandler;
|
||||
@@ -641,6 +653,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ScrollDomainListResult> ScrollDomainListOutcome;
|
||||
typedef std::future<ScrollDomainListOutcome> ScrollDomainListOutcomeCallable;
|
||||
typedef std::function<void(const DomainClient*, const Model::ScrollDomainListRequest&, const ScrollDomainListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ScrollDomainListAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetDefaultRegistrantProfileResult> SetDefaultRegistrantProfileOutcome;
|
||||
typedef std::future<SetDefaultRegistrantProfileOutcome> SetDefaultRegistrantProfileOutcomeCallable;
|
||||
typedef std::function<void(const DomainClient*, const Model::SetDefaultRegistrantProfileRequest&, const SetDefaultRegistrantProfileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDefaultRegistrantProfileAsyncHandler;
|
||||
typedef Outcome<Error, Model::SubmitEmailVerificationResult> SubmitEmailVerificationOutcome;
|
||||
typedef std::future<SubmitEmailVerificationOutcome> SubmitEmailVerificationOutcomeCallable;
|
||||
typedef std::function<void(const DomainClient*, const Model::SubmitEmailVerificationRequest&, const SubmitEmailVerificationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitEmailVerificationAsyncHandler;
|
||||
@@ -721,6 +736,9 @@ namespace AlibabaCloud
|
||||
ConfirmTransferInEmailOutcome confirmTransferInEmail(const Model::ConfirmTransferInEmailRequest &request)const;
|
||||
void confirmTransferInEmailAsync(const Model::ConfirmTransferInEmailRequest& request, const ConfirmTransferInEmailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConfirmTransferInEmailOutcomeCallable confirmTransferInEmailCallable(const Model::ConfirmTransferInEmailRequest& request) const;
|
||||
DeleteContactTemplatesOutcome deleteContactTemplates(const Model::DeleteContactTemplatesRequest &request)const;
|
||||
void deleteContactTemplatesAsync(const Model::DeleteContactTemplatesRequest& request, const DeleteContactTemplatesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteContactTemplatesOutcomeCallable deleteContactTemplatesCallable(const Model::DeleteContactTemplatesRequest& request) const;
|
||||
DeleteDomainGroupOutcome deleteDomainGroup(const Model::DeleteDomainGroupRequest &request)const;
|
||||
void deleteDomainGroupAsync(const Model::DeleteDomainGroupRequest& request, const DeleteDomainGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDomainGroupOutcomeCallable deleteDomainGroupCallable(const Model::DeleteDomainGroupRequest& request) const;
|
||||
@@ -943,6 +961,9 @@ namespace AlibabaCloud
|
||||
SaveRegistrantProfileOutcome saveRegistrantProfile(const Model::SaveRegistrantProfileRequest &request)const;
|
||||
void saveRegistrantProfileAsync(const Model::SaveRegistrantProfileRequest& request, const SaveRegistrantProfileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SaveRegistrantProfileOutcomeCallable saveRegistrantProfileCallable(const Model::SaveRegistrantProfileRequest& request) const;
|
||||
SaveRegistrantProfileRealNameVerificationOutcome saveRegistrantProfileRealNameVerification(const Model::SaveRegistrantProfileRealNameVerificationRequest &request)const;
|
||||
void saveRegistrantProfileRealNameVerificationAsync(const Model::SaveRegistrantProfileRealNameVerificationRequest& request, const SaveRegistrantProfileRealNameVerificationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SaveRegistrantProfileRealNameVerificationOutcomeCallable saveRegistrantProfileRealNameVerificationCallable(const Model::SaveRegistrantProfileRealNameVerificationRequest& request) const;
|
||||
SaveSingleTaskForAddingDSRecordOutcome saveSingleTaskForAddingDSRecord(const Model::SaveSingleTaskForAddingDSRecordRequest &request)const;
|
||||
void saveSingleTaskForAddingDSRecordAsync(const Model::SaveSingleTaskForAddingDSRecordRequest& request, const SaveSingleTaskForAddingDSRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SaveSingleTaskForAddingDSRecordOutcomeCallable saveSingleTaskForAddingDSRecordCallable(const Model::SaveSingleTaskForAddingDSRecordRequest& request) const;
|
||||
@@ -1030,6 +1051,9 @@ namespace AlibabaCloud
|
||||
ScrollDomainListOutcome scrollDomainList(const Model::ScrollDomainListRequest &request)const;
|
||||
void scrollDomainListAsync(const Model::ScrollDomainListRequest& request, const ScrollDomainListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ScrollDomainListOutcomeCallable scrollDomainListCallable(const Model::ScrollDomainListRequest& request) const;
|
||||
SetDefaultRegistrantProfileOutcome setDefaultRegistrantProfile(const Model::SetDefaultRegistrantProfileRequest &request)const;
|
||||
void setDefaultRegistrantProfileAsync(const Model::SetDefaultRegistrantProfileRequest& request, const SetDefaultRegistrantProfileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetDefaultRegistrantProfileOutcomeCallable setDefaultRegistrantProfileCallable(const Model::SetDefaultRegistrantProfileRequest& request) const;
|
||||
SubmitEmailVerificationOutcome submitEmailVerification(const Model::SubmitEmailVerificationRequest &request)const;
|
||||
void submitEmailVerificationAsync(const Model::SubmitEmailVerificationRequest& request, const SubmitEmailVerificationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SubmitEmailVerificationOutcomeCallable submitEmailVerificationCallable(const Model::SubmitEmailVerificationRequest& request) const;
|
||||
|
||||
@@ -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_DELETECONTACTTEMPLATESREQUEST_H_
|
||||
#define ALIBABACLOUD_DOMAIN_MODEL_DELETECONTACTTEMPLATESREQUEST_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 DeleteContactTemplatesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteContactTemplatesRequest();
|
||||
~DeleteContactTemplatesRequest();
|
||||
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getRegistrantProfileIds()const;
|
||||
void setRegistrantProfileIds(const std::string& registrantProfileIds);
|
||||
|
||||
private:
|
||||
std::string userClientIp_;
|
||||
std::string registrantProfileIds_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DOMAIN_MODEL_DELETECONTACTTEMPLATESREQUEST_H_
|
||||
@@ -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_DELETECONTACTTEMPLATESRESULT_H_
|
||||
#define ALIBABACLOUD_DOMAIN_MODEL_DELETECONTACTTEMPLATESRESULT_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 DeleteContactTemplatesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteContactTemplatesResult();
|
||||
explicit DeleteContactTemplatesResult(const std::string &payload);
|
||||
~DeleteContactTemplatesResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DOMAIN_MODEL_DELETECONTACTTEMPLATESRESULT_H_
|
||||
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* 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_SAVEREGISTRANTPROFILEREALNAMEVERIFICATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_DOMAIN_MODEL_SAVEREGISTRANTPROFILEREALNAMEVERIFICATIONREQUEST_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 SaveRegistrantProfileRealNameVerificationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SaveRegistrantProfileRealNameVerificationRequest();
|
||||
~SaveRegistrantProfileRealNameVerificationRequest();
|
||||
|
||||
std::string getCountry()const;
|
||||
void setCountry(const std::string& country);
|
||||
std::string getIdentityCredentialType()const;
|
||||
void setIdentityCredentialType(const std::string& identityCredentialType);
|
||||
std::string getCity()const;
|
||||
void setCity(const std::string& city);
|
||||
long getRegistrantProfileId()const;
|
||||
void setRegistrantProfileId(long registrantProfileId);
|
||||
std::string getIdentityCredential()const;
|
||||
void setIdentityCredential(const std::string& identityCredential);
|
||||
std::string getZhCity()const;
|
||||
void setZhCity(const std::string& zhCity);
|
||||
std::string getTelExt()const;
|
||||
void setTelExt(const std::string& telExt);
|
||||
std::string getProvince()const;
|
||||
void setProvince(const std::string& province);
|
||||
std::string getZhRegistrantName()const;
|
||||
void setZhRegistrantName(const std::string& zhRegistrantName);
|
||||
std::string getPostalCode()const;
|
||||
void setPostalCode(const std::string& postalCode);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getEmail()const;
|
||||
void setEmail(const std::string& email);
|
||||
std::string getZhRegistrantOrganization()const;
|
||||
void setZhRegistrantOrganization(const std::string& zhRegistrantOrganization);
|
||||
std::string getAddress()const;
|
||||
void setAddress(const std::string& address);
|
||||
std::string getTelArea()const;
|
||||
void setTelArea(const std::string& telArea);
|
||||
std::string getZhAddress()const;
|
||||
void setZhAddress(const std::string& zhAddress);
|
||||
std::string getRegistrantType()const;
|
||||
void setRegistrantType(const std::string& registrantType);
|
||||
std::string getRegistrantProfileType()const;
|
||||
void setRegistrantProfileType(const std::string& registrantProfileType);
|
||||
std::string getTelephone()const;
|
||||
void setTelephone(const std::string& telephone);
|
||||
std::string getZhProvince()const;
|
||||
void setZhProvince(const std::string& zhProvince);
|
||||
std::string getRegistrantOrganization()const;
|
||||
void setRegistrantOrganization(const std::string& registrantOrganization);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getIdentityCredentialNo()const;
|
||||
void setIdentityCredentialNo(const std::string& identityCredentialNo);
|
||||
std::string getRegistrantName()const;
|
||||
void setRegistrantName(const std::string& registrantName);
|
||||
|
||||
private:
|
||||
std::string country_;
|
||||
std::string identityCredentialType_;
|
||||
std::string city_;
|
||||
long registrantProfileId_;
|
||||
std::string identityCredential_;
|
||||
std::string zhCity_;
|
||||
std::string telExt_;
|
||||
std::string province_;
|
||||
std::string zhRegistrantName_;
|
||||
std::string postalCode_;
|
||||
std::string lang_;
|
||||
std::string email_;
|
||||
std::string zhRegistrantOrganization_;
|
||||
std::string address_;
|
||||
std::string telArea_;
|
||||
std::string zhAddress_;
|
||||
std::string registrantType_;
|
||||
std::string registrantProfileType_;
|
||||
std::string telephone_;
|
||||
std::string zhProvince_;
|
||||
std::string registrantOrganization_;
|
||||
std::string userClientIp_;
|
||||
std::string identityCredentialNo_;
|
||||
std::string registrantName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DOMAIN_MODEL_SAVEREGISTRANTPROFILEREALNAMEVERIFICATIONREQUEST_H_
|
||||
@@ -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_SAVEREGISTRANTPROFILEREALNAMEVERIFICATIONRESULT_H_
|
||||
#define ALIBABACLOUD_DOMAIN_MODEL_SAVEREGISTRANTPROFILEREALNAMEVERIFICATIONRESULT_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 SaveRegistrantProfileRealNameVerificationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SaveRegistrantProfileRealNameVerificationResult();
|
||||
explicit SaveRegistrantProfileRealNameVerificationResult(const std::string &payload);
|
||||
~SaveRegistrantProfileRealNameVerificationResult();
|
||||
long getRegistrantProfileId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long registrantProfileId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DOMAIN_MODEL_SAVEREGISTRANTPROFILEREALNAMEVERIFICATIONRESULT_H_
|
||||
@@ -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_SETDEFAULTREGISTRANTPROFILEREQUEST_H_
|
||||
#define ALIBABACLOUD_DOMAIN_MODEL_SETDEFAULTREGISTRANTPROFILEREQUEST_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 SetDefaultRegistrantProfileRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SetDefaultRegistrantProfileRequest();
|
||||
~SetDefaultRegistrantProfileRequest();
|
||||
|
||||
long getRegistrantProfileId()const;
|
||||
void setRegistrantProfileId(long registrantProfileId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
|
||||
private:
|
||||
long registrantProfileId_;
|
||||
std::string userClientIp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DOMAIN_MODEL_SETDEFAULTREGISTRANTPROFILEREQUEST_H_
|
||||
@@ -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_SETDEFAULTREGISTRANTPROFILERESULT_H_
|
||||
#define ALIBABACLOUD_DOMAIN_MODEL_SETDEFAULTREGISTRANTPROFILERESULT_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 SetDefaultRegistrantProfileResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SetDefaultRegistrantProfileResult();
|
||||
explicit SetDefaultRegistrantProfileResult(const std::string &payload);
|
||||
~SetDefaultRegistrantProfileResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DOMAIN_MODEL_SETDEFAULTREGISTRANTPROFILERESULT_H_
|
||||
@@ -31,21 +31,21 @@ DomainClient::DomainClient(const Credentials &credentials, const ClientConfigura
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "domain");
|
||||
}
|
||||
|
||||
DomainClient::DomainClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "domain");
|
||||
}
|
||||
|
||||
DomainClient::DomainClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "domain");
|
||||
}
|
||||
|
||||
DomainClient::~DomainClient()
|
||||
@@ -591,6 +591,42 @@ DomainClient::ConfirmTransferInEmailOutcomeCallable DomainClient::confirmTransfe
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DomainClient::DeleteContactTemplatesOutcome DomainClient::deleteContactTemplates(const DeleteContactTemplatesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteContactTemplatesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteContactTemplatesOutcome(DeleteContactTemplatesResult(outcome.result()));
|
||||
else
|
||||
return DeleteContactTemplatesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DomainClient::deleteContactTemplatesAsync(const DeleteContactTemplatesRequest& request, const DeleteContactTemplatesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteContactTemplates(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DomainClient::DeleteContactTemplatesOutcomeCallable DomainClient::deleteContactTemplatesCallable(const DeleteContactTemplatesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteContactTemplatesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteContactTemplates(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DomainClient::DeleteDomainGroupOutcome DomainClient::deleteDomainGroup(const DeleteDomainGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3255,6 +3291,42 @@ DomainClient::SaveRegistrantProfileOutcomeCallable DomainClient::saveRegistrantP
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DomainClient::SaveRegistrantProfileRealNameVerificationOutcome DomainClient::saveRegistrantProfileRealNameVerification(const SaveRegistrantProfileRealNameVerificationRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SaveRegistrantProfileRealNameVerificationOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SaveRegistrantProfileRealNameVerificationOutcome(SaveRegistrantProfileRealNameVerificationResult(outcome.result()));
|
||||
else
|
||||
return SaveRegistrantProfileRealNameVerificationOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DomainClient::saveRegistrantProfileRealNameVerificationAsync(const SaveRegistrantProfileRealNameVerificationRequest& request, const SaveRegistrantProfileRealNameVerificationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, saveRegistrantProfileRealNameVerification(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DomainClient::SaveRegistrantProfileRealNameVerificationOutcomeCallable DomainClient::saveRegistrantProfileRealNameVerificationCallable(const SaveRegistrantProfileRealNameVerificationRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SaveRegistrantProfileRealNameVerificationOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->saveRegistrantProfileRealNameVerification(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DomainClient::SaveSingleTaskForAddingDSRecordOutcome DomainClient::saveSingleTaskForAddingDSRecord(const SaveSingleTaskForAddingDSRecordRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4299,6 +4371,42 @@ DomainClient::ScrollDomainListOutcomeCallable DomainClient::scrollDomainListCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DomainClient::SetDefaultRegistrantProfileOutcome DomainClient::setDefaultRegistrantProfile(const SetDefaultRegistrantProfileRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SetDefaultRegistrantProfileOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SetDefaultRegistrantProfileOutcome(SetDefaultRegistrantProfileResult(outcome.result()));
|
||||
else
|
||||
return SetDefaultRegistrantProfileOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DomainClient::setDefaultRegistrantProfileAsync(const SetDefaultRegistrantProfileRequest& request, const SetDefaultRegistrantProfileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, setDefaultRegistrantProfile(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DomainClient::SetDefaultRegistrantProfileOutcomeCallable DomainClient::setDefaultRegistrantProfileCallable(const SetDefaultRegistrantProfileRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SetDefaultRegistrantProfileOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->setDefaultRegistrantProfile(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DomainClient::SubmitEmailVerificationOutcome DomainClient::submitEmailVerification(const SubmitEmailVerificationRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
51
domain/src/model/DeleteContactTemplatesRequest.cc
Normal file
51
domain/src/model/DeleteContactTemplatesRequest.cc
Normal 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/DeleteContactTemplatesRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::DeleteContactTemplatesRequest;
|
||||
|
||||
DeleteContactTemplatesRequest::DeleteContactTemplatesRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "DeleteContactTemplates")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteContactTemplatesRequest::~DeleteContactTemplatesRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteContactTemplatesRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DeleteContactTemplatesRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string DeleteContactTemplatesRequest::getRegistrantProfileIds()const
|
||||
{
|
||||
return registrantProfileIds_;
|
||||
}
|
||||
|
||||
void DeleteContactTemplatesRequest::setRegistrantProfileIds(const std::string& registrantProfileIds)
|
||||
{
|
||||
registrantProfileIds_ = registrantProfileIds;
|
||||
setParameter("RegistrantProfileIds", registrantProfileIds);
|
||||
}
|
||||
|
||||
44
domain/src/model/DeleteContactTemplatesResult.cc
Normal file
44
domain/src/model/DeleteContactTemplatesResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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/DeleteContactTemplatesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
DeleteContactTemplatesResult::DeleteContactTemplatesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteContactTemplatesResult::DeleteContactTemplatesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteContactTemplatesResult::~DeleteContactTemplatesResult()
|
||||
{}
|
||||
|
||||
void DeleteContactTemplatesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,293 @@
|
||||
/*
|
||||
* 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/SaveRegistrantProfileRealNameVerificationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::SaveRegistrantProfileRealNameVerificationRequest;
|
||||
|
||||
SaveRegistrantProfileRealNameVerificationRequest::SaveRegistrantProfileRealNameVerificationRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "SaveRegistrantProfileRealNameVerification")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SaveRegistrantProfileRealNameVerificationRequest::~SaveRegistrantProfileRealNameVerificationRequest()
|
||||
{}
|
||||
|
||||
std::string SaveRegistrantProfileRealNameVerificationRequest::getCountry()const
|
||||
{
|
||||
return country_;
|
||||
}
|
||||
|
||||
void SaveRegistrantProfileRealNameVerificationRequest::setCountry(const std::string& country)
|
||||
{
|
||||
country_ = country;
|
||||
setParameter("Country", country);
|
||||
}
|
||||
|
||||
std::string SaveRegistrantProfileRealNameVerificationRequest::getIdentityCredentialType()const
|
||||
{
|
||||
return identityCredentialType_;
|
||||
}
|
||||
|
||||
void SaveRegistrantProfileRealNameVerificationRequest::setIdentityCredentialType(const std::string& identityCredentialType)
|
||||
{
|
||||
identityCredentialType_ = identityCredentialType;
|
||||
setParameter("IdentityCredentialType", identityCredentialType);
|
||||
}
|
||||
|
||||
std::string SaveRegistrantProfileRealNameVerificationRequest::getCity()const
|
||||
{
|
||||
return city_;
|
||||
}
|
||||
|
||||
void SaveRegistrantProfileRealNameVerificationRequest::setCity(const std::string& city)
|
||||
{
|
||||
city_ = city;
|
||||
setParameter("City", city);
|
||||
}
|
||||
|
||||
long SaveRegistrantProfileRealNameVerificationRequest::getRegistrantProfileId()const
|
||||
{
|
||||
return registrantProfileId_;
|
||||
}
|
||||
|
||||
void SaveRegistrantProfileRealNameVerificationRequest::setRegistrantProfileId(long registrantProfileId)
|
||||
{
|
||||
registrantProfileId_ = registrantProfileId;
|
||||
setParameter("RegistrantProfileId", std::to_string(registrantProfileId));
|
||||
}
|
||||
|
||||
std::string SaveRegistrantProfileRealNameVerificationRequest::getIdentityCredential()const
|
||||
{
|
||||
return identityCredential_;
|
||||
}
|
||||
|
||||
void SaveRegistrantProfileRealNameVerificationRequest::setIdentityCredential(const std::string& identityCredential)
|
||||
{
|
||||
identityCredential_ = identityCredential;
|
||||
setParameter("IdentityCredential", identityCredential);
|
||||
}
|
||||
|
||||
std::string SaveRegistrantProfileRealNameVerificationRequest::getZhCity()const
|
||||
{
|
||||
return zhCity_;
|
||||
}
|
||||
|
||||
void SaveRegistrantProfileRealNameVerificationRequest::setZhCity(const std::string& zhCity)
|
||||
{
|
||||
zhCity_ = zhCity;
|
||||
setParameter("ZhCity", zhCity);
|
||||
}
|
||||
|
||||
std::string SaveRegistrantProfileRealNameVerificationRequest::getTelExt()const
|
||||
{
|
||||
return telExt_;
|
||||
}
|
||||
|
||||
void SaveRegistrantProfileRealNameVerificationRequest::setTelExt(const std::string& telExt)
|
||||
{
|
||||
telExt_ = telExt;
|
||||
setParameter("TelExt", telExt);
|
||||
}
|
||||
|
||||
std::string SaveRegistrantProfileRealNameVerificationRequest::getProvince()const
|
||||
{
|
||||
return province_;
|
||||
}
|
||||
|
||||
void SaveRegistrantProfileRealNameVerificationRequest::setProvince(const std::string& province)
|
||||
{
|
||||
province_ = province;
|
||||
setParameter("Province", province);
|
||||
}
|
||||
|
||||
std::string SaveRegistrantProfileRealNameVerificationRequest::getZhRegistrantName()const
|
||||
{
|
||||
return zhRegistrantName_;
|
||||
}
|
||||
|
||||
void SaveRegistrantProfileRealNameVerificationRequest::setZhRegistrantName(const std::string& zhRegistrantName)
|
||||
{
|
||||
zhRegistrantName_ = zhRegistrantName;
|
||||
setParameter("ZhRegistrantName", zhRegistrantName);
|
||||
}
|
||||
|
||||
std::string SaveRegistrantProfileRealNameVerificationRequest::getPostalCode()const
|
||||
{
|
||||
return postalCode_;
|
||||
}
|
||||
|
||||
void SaveRegistrantProfileRealNameVerificationRequest::setPostalCode(const std::string& postalCode)
|
||||
{
|
||||
postalCode_ = postalCode;
|
||||
setParameter("PostalCode", postalCode);
|
||||
}
|
||||
|
||||
std::string SaveRegistrantProfileRealNameVerificationRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void SaveRegistrantProfileRealNameVerificationRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string SaveRegistrantProfileRealNameVerificationRequest::getEmail()const
|
||||
{
|
||||
return email_;
|
||||
}
|
||||
|
||||
void SaveRegistrantProfileRealNameVerificationRequest::setEmail(const std::string& email)
|
||||
{
|
||||
email_ = email;
|
||||
setParameter("Email", email);
|
||||
}
|
||||
|
||||
std::string SaveRegistrantProfileRealNameVerificationRequest::getZhRegistrantOrganization()const
|
||||
{
|
||||
return zhRegistrantOrganization_;
|
||||
}
|
||||
|
||||
void SaveRegistrantProfileRealNameVerificationRequest::setZhRegistrantOrganization(const std::string& zhRegistrantOrganization)
|
||||
{
|
||||
zhRegistrantOrganization_ = zhRegistrantOrganization;
|
||||
setParameter("ZhRegistrantOrganization", zhRegistrantOrganization);
|
||||
}
|
||||
|
||||
std::string SaveRegistrantProfileRealNameVerificationRequest::getAddress()const
|
||||
{
|
||||
return address_;
|
||||
}
|
||||
|
||||
void SaveRegistrantProfileRealNameVerificationRequest::setAddress(const std::string& address)
|
||||
{
|
||||
address_ = address;
|
||||
setParameter("Address", address);
|
||||
}
|
||||
|
||||
std::string SaveRegistrantProfileRealNameVerificationRequest::getTelArea()const
|
||||
{
|
||||
return telArea_;
|
||||
}
|
||||
|
||||
void SaveRegistrantProfileRealNameVerificationRequest::setTelArea(const std::string& telArea)
|
||||
{
|
||||
telArea_ = telArea;
|
||||
setParameter("TelArea", telArea);
|
||||
}
|
||||
|
||||
std::string SaveRegistrantProfileRealNameVerificationRequest::getZhAddress()const
|
||||
{
|
||||
return zhAddress_;
|
||||
}
|
||||
|
||||
void SaveRegistrantProfileRealNameVerificationRequest::setZhAddress(const std::string& zhAddress)
|
||||
{
|
||||
zhAddress_ = zhAddress;
|
||||
setParameter("ZhAddress", zhAddress);
|
||||
}
|
||||
|
||||
std::string SaveRegistrantProfileRealNameVerificationRequest::getRegistrantType()const
|
||||
{
|
||||
return registrantType_;
|
||||
}
|
||||
|
||||
void SaveRegistrantProfileRealNameVerificationRequest::setRegistrantType(const std::string& registrantType)
|
||||
{
|
||||
registrantType_ = registrantType;
|
||||
setParameter("RegistrantType", registrantType);
|
||||
}
|
||||
|
||||
std::string SaveRegistrantProfileRealNameVerificationRequest::getRegistrantProfileType()const
|
||||
{
|
||||
return registrantProfileType_;
|
||||
}
|
||||
|
||||
void SaveRegistrantProfileRealNameVerificationRequest::setRegistrantProfileType(const std::string& registrantProfileType)
|
||||
{
|
||||
registrantProfileType_ = registrantProfileType;
|
||||
setParameter("RegistrantProfileType", registrantProfileType);
|
||||
}
|
||||
|
||||
std::string SaveRegistrantProfileRealNameVerificationRequest::getTelephone()const
|
||||
{
|
||||
return telephone_;
|
||||
}
|
||||
|
||||
void SaveRegistrantProfileRealNameVerificationRequest::setTelephone(const std::string& telephone)
|
||||
{
|
||||
telephone_ = telephone;
|
||||
setParameter("Telephone", telephone);
|
||||
}
|
||||
|
||||
std::string SaveRegistrantProfileRealNameVerificationRequest::getZhProvince()const
|
||||
{
|
||||
return zhProvince_;
|
||||
}
|
||||
|
||||
void SaveRegistrantProfileRealNameVerificationRequest::setZhProvince(const std::string& zhProvince)
|
||||
{
|
||||
zhProvince_ = zhProvince;
|
||||
setParameter("ZhProvince", zhProvince);
|
||||
}
|
||||
|
||||
std::string SaveRegistrantProfileRealNameVerificationRequest::getRegistrantOrganization()const
|
||||
{
|
||||
return registrantOrganization_;
|
||||
}
|
||||
|
||||
void SaveRegistrantProfileRealNameVerificationRequest::setRegistrantOrganization(const std::string& registrantOrganization)
|
||||
{
|
||||
registrantOrganization_ = registrantOrganization;
|
||||
setParameter("RegistrantOrganization", registrantOrganization);
|
||||
}
|
||||
|
||||
std::string SaveRegistrantProfileRealNameVerificationRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void SaveRegistrantProfileRealNameVerificationRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string SaveRegistrantProfileRealNameVerificationRequest::getIdentityCredentialNo()const
|
||||
{
|
||||
return identityCredentialNo_;
|
||||
}
|
||||
|
||||
void SaveRegistrantProfileRealNameVerificationRequest::setIdentityCredentialNo(const std::string& identityCredentialNo)
|
||||
{
|
||||
identityCredentialNo_ = identityCredentialNo;
|
||||
setParameter("IdentityCredentialNo", identityCredentialNo);
|
||||
}
|
||||
|
||||
std::string SaveRegistrantProfileRealNameVerificationRequest::getRegistrantName()const
|
||||
{
|
||||
return registrantName_;
|
||||
}
|
||||
|
||||
void SaveRegistrantProfileRealNameVerificationRequest::setRegistrantName(const std::string& registrantName)
|
||||
{
|
||||
registrantName_ = registrantName;
|
||||
setParameter("RegistrantName", registrantName);
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/SaveRegistrantProfileRealNameVerificationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
SaveRegistrantProfileRealNameVerificationResult::SaveRegistrantProfileRealNameVerificationResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SaveRegistrantProfileRealNameVerificationResult::SaveRegistrantProfileRealNameVerificationResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SaveRegistrantProfileRealNameVerificationResult::~SaveRegistrantProfileRealNameVerificationResult()
|
||||
{}
|
||||
|
||||
void SaveRegistrantProfileRealNameVerificationResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["RegistrantProfileId"].isNull())
|
||||
registrantProfileId_ = std::stol(value["RegistrantProfileId"].asString());
|
||||
|
||||
}
|
||||
|
||||
long SaveRegistrantProfileRealNameVerificationResult::getRegistrantProfileId()const
|
||||
{
|
||||
return registrantProfileId_;
|
||||
}
|
||||
|
||||
51
domain/src/model/SetDefaultRegistrantProfileRequest.cc
Normal file
51
domain/src/model/SetDefaultRegistrantProfileRequest.cc
Normal 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/SetDefaultRegistrantProfileRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::SetDefaultRegistrantProfileRequest;
|
||||
|
||||
SetDefaultRegistrantProfileRequest::SetDefaultRegistrantProfileRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "SetDefaultRegistrantProfile")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SetDefaultRegistrantProfileRequest::~SetDefaultRegistrantProfileRequest()
|
||||
{}
|
||||
|
||||
long SetDefaultRegistrantProfileRequest::getRegistrantProfileId()const
|
||||
{
|
||||
return registrantProfileId_;
|
||||
}
|
||||
|
||||
void SetDefaultRegistrantProfileRequest::setRegistrantProfileId(long registrantProfileId)
|
||||
{
|
||||
registrantProfileId_ = registrantProfileId;
|
||||
setParameter("RegistrantProfileId", std::to_string(registrantProfileId));
|
||||
}
|
||||
|
||||
std::string SetDefaultRegistrantProfileRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void SetDefaultRegistrantProfileRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
44
domain/src/model/SetDefaultRegistrantProfileResult.cc
Normal file
44
domain/src/model/SetDefaultRegistrantProfileResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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/SetDefaultRegistrantProfileResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
SetDefaultRegistrantProfileResult::SetDefaultRegistrantProfileResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SetDefaultRegistrantProfileResult::SetDefaultRegistrantProfileResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SetDefaultRegistrantProfileResult::~SetDefaultRegistrantProfileResult()
|
||||
{}
|
||||
|
||||
void SetDefaultRegistrantProfileResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -37,6 +37,8 @@ set(r-kvstore_public_header_model
|
||||
include/alibabacloud/r-kvstore/model/CreateGlobalDistributeCacheResult.h
|
||||
include/alibabacloud/r-kvstore/model/CreateInstanceRequest.h
|
||||
include/alibabacloud/r-kvstore/model/CreateInstanceResult.h
|
||||
include/alibabacloud/r-kvstore/model/CreateTairInstanceRequest.h
|
||||
include/alibabacloud/r-kvstore/model/CreateTairInstanceResult.h
|
||||
include/alibabacloud/r-kvstore/model/CreateUserClusterHostRequest.h
|
||||
include/alibabacloud/r-kvstore/model/CreateUserClusterHostResult.h
|
||||
include/alibabacloud/r-kvstore/model/DeleteAccountRequest.h
|
||||
@@ -119,6 +121,8 @@ set(r-kvstore_public_header_model
|
||||
include/alibabacloud/r-kvstore/model/DescribeUserClusterHostInstanceResult.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeZonesRequest.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeZonesResult.h
|
||||
include/alibabacloud/r-kvstore/model/EnableAdditionalBandwidthRequest.h
|
||||
include/alibabacloud/r-kvstore/model/EnableAdditionalBandwidthResult.h
|
||||
include/alibabacloud/r-kvstore/model/FlushExpireKeysRequest.h
|
||||
include/alibabacloud/r-kvstore/model/FlushExpireKeysResult.h
|
||||
include/alibabacloud/r-kvstore/model/FlushInstanceRequest.h
|
||||
@@ -220,6 +224,8 @@ set(r-kvstore_src
|
||||
src/model/CreateGlobalDistributeCacheResult.cc
|
||||
src/model/CreateInstanceRequest.cc
|
||||
src/model/CreateInstanceResult.cc
|
||||
src/model/CreateTairInstanceRequest.cc
|
||||
src/model/CreateTairInstanceResult.cc
|
||||
src/model/CreateUserClusterHostRequest.cc
|
||||
src/model/CreateUserClusterHostResult.cc
|
||||
src/model/DeleteAccountRequest.cc
|
||||
@@ -302,6 +308,8 @@ set(r-kvstore_src
|
||||
src/model/DescribeUserClusterHostInstanceResult.cc
|
||||
src/model/DescribeZonesRequest.cc
|
||||
src/model/DescribeZonesResult.cc
|
||||
src/model/EnableAdditionalBandwidthRequest.cc
|
||||
src/model/EnableAdditionalBandwidthResult.cc
|
||||
src/model/FlushExpireKeysRequest.cc
|
||||
src/model/FlushExpireKeysResult.cc
|
||||
src/model/FlushInstanceRequest.cc
|
||||
|
||||
@@ -38,6 +38,8 @@
|
||||
#include "model/CreateGlobalDistributeCacheResult.h"
|
||||
#include "model/CreateInstanceRequest.h"
|
||||
#include "model/CreateInstanceResult.h"
|
||||
#include "model/CreateTairInstanceRequest.h"
|
||||
#include "model/CreateTairInstanceResult.h"
|
||||
#include "model/CreateUserClusterHostRequest.h"
|
||||
#include "model/CreateUserClusterHostResult.h"
|
||||
#include "model/DeleteAccountRequest.h"
|
||||
@@ -120,6 +122,8 @@
|
||||
#include "model/DescribeUserClusterHostInstanceResult.h"
|
||||
#include "model/DescribeZonesRequest.h"
|
||||
#include "model/DescribeZonesResult.h"
|
||||
#include "model/EnableAdditionalBandwidthRequest.h"
|
||||
#include "model/EnableAdditionalBandwidthResult.h"
|
||||
#include "model/FlushExpireKeysRequest.h"
|
||||
#include "model/FlushExpireKeysResult.h"
|
||||
#include "model/FlushInstanceRequest.h"
|
||||
@@ -235,6 +239,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateInstanceResult> CreateInstanceOutcome;
|
||||
typedef std::future<CreateInstanceOutcome> CreateInstanceOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::CreateInstanceRequest&, const CreateInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateTairInstanceResult> CreateTairInstanceOutcome;
|
||||
typedef std::future<CreateTairInstanceOutcome> CreateTairInstanceOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::CreateTairInstanceRequest&, const CreateTairInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTairInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateUserClusterHostResult> CreateUserClusterHostOutcome;
|
||||
typedef std::future<CreateUserClusterHostOutcome> CreateUserClusterHostOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::CreateUserClusterHostRequest&, const CreateUserClusterHostOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUserClusterHostAsyncHandler;
|
||||
@@ -358,6 +365,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeZonesResult> DescribeZonesOutcome;
|
||||
typedef std::future<DescribeZonesOutcome> DescribeZonesOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::DescribeZonesRequest&, const DescribeZonesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeZonesAsyncHandler;
|
||||
typedef Outcome<Error, Model::EnableAdditionalBandwidthResult> EnableAdditionalBandwidthOutcome;
|
||||
typedef std::future<EnableAdditionalBandwidthOutcome> EnableAdditionalBandwidthOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::EnableAdditionalBandwidthRequest&, const EnableAdditionalBandwidthOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableAdditionalBandwidthAsyncHandler;
|
||||
typedef Outcome<Error, Model::FlushExpireKeysResult> FlushExpireKeysOutcome;
|
||||
typedef std::future<FlushExpireKeysOutcome> FlushExpireKeysOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::FlushExpireKeysRequest&, const FlushExpireKeysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FlushExpireKeysAsyncHandler;
|
||||
@@ -510,6 +520,9 @@ namespace AlibabaCloud
|
||||
CreateInstanceOutcome createInstance(const Model::CreateInstanceRequest &request)const;
|
||||
void createInstanceAsync(const Model::CreateInstanceRequest& request, const CreateInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateInstanceOutcomeCallable createInstanceCallable(const Model::CreateInstanceRequest& request) const;
|
||||
CreateTairInstanceOutcome createTairInstance(const Model::CreateTairInstanceRequest &request)const;
|
||||
void createTairInstanceAsync(const Model::CreateTairInstanceRequest& request, const CreateTairInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateTairInstanceOutcomeCallable createTairInstanceCallable(const Model::CreateTairInstanceRequest& request) const;
|
||||
CreateUserClusterHostOutcome createUserClusterHost(const Model::CreateUserClusterHostRequest &request)const;
|
||||
void createUserClusterHostAsync(const Model::CreateUserClusterHostRequest& request, const CreateUserClusterHostAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateUserClusterHostOutcomeCallable createUserClusterHostCallable(const Model::CreateUserClusterHostRequest& request) const;
|
||||
@@ -633,6 +646,9 @@ namespace AlibabaCloud
|
||||
DescribeZonesOutcome describeZones(const Model::DescribeZonesRequest &request)const;
|
||||
void describeZonesAsync(const Model::DescribeZonesRequest& request, const DescribeZonesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeZonesOutcomeCallable describeZonesCallable(const Model::DescribeZonesRequest& request) const;
|
||||
EnableAdditionalBandwidthOutcome enableAdditionalBandwidth(const Model::EnableAdditionalBandwidthRequest &request)const;
|
||||
void enableAdditionalBandwidthAsync(const Model::EnableAdditionalBandwidthRequest& request, const EnableAdditionalBandwidthAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableAdditionalBandwidthOutcomeCallable enableAdditionalBandwidthCallable(const Model::EnableAdditionalBandwidthRequest& request) const;
|
||||
FlushExpireKeysOutcome flushExpireKeys(const Model::FlushExpireKeysRequest &request)const;
|
||||
void flushExpireKeysAsync(const Model::FlushExpireKeysRequest& request, const FlushExpireKeysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FlushExpireKeysOutcomeCallable flushExpireKeysCallable(const Model::FlushExpireKeysRequest& request) const;
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSecondaryZoneId()const;
|
||||
void setSecondaryZoneId(const std::string& secondaryZoneId);
|
||||
std::string getCouponNo()const;
|
||||
void setCouponNo(const std::string& couponNo);
|
||||
std::string getNetworkType()const;
|
||||
@@ -81,6 +83,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
long getCapacity()const;
|
||||
void setCapacity(long capacity);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getInstanceType()const;
|
||||
void setInstanceType(const std::string& instanceType);
|
||||
std::string getDedicatedHostGroupId()const;
|
||||
@@ -108,6 +112,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string secondaryZoneId_;
|
||||
std::string couponNo_;
|
||||
std::string networkType_;
|
||||
std::string engineVersion_;
|
||||
@@ -130,6 +135,7 @@ namespace AlibabaCloud
|
||||
std::string instanceClass_;
|
||||
std::string accessKeyId_;
|
||||
long capacity_;
|
||||
std::string regionId_;
|
||||
std::string instanceType_;
|
||||
std::string dedicatedHostGroupId_;
|
||||
std::string restoreTime_;
|
||||
|
||||
@@ -0,0 +1,141 @@
|
||||
/*
|
||||
* 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_R_KVSTORE_MODEL_CREATETAIRINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_CREATETAIRINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace R_kvstore
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT CreateTairInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateTairInstanceRequest();
|
||||
~CreateTairInstanceRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getCouponNo()const;
|
||||
void setCouponNo(const std::string& couponNo);
|
||||
std::string getEngineVersion()const;
|
||||
void setEngineVersion(const std::string& engineVersion);
|
||||
std::string getStorageType()const;
|
||||
void setStorageType(const std::string& storageType);
|
||||
int getResourceGroupId()const;
|
||||
void setResourceGroupId(int resourceGroupId);
|
||||
std::string getPassword()const;
|
||||
void setPassword(const std::string& password);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getBusinessInfo()const;
|
||||
void setBusinessInfo(const std::string& businessInfo);
|
||||
int getShardCount()const;
|
||||
void setShardCount(int shardCount);
|
||||
std::string getAutoRenewPeriod()const;
|
||||
void setAutoRenewPeriod(const std::string& autoRenewPeriod);
|
||||
int getPeriod()const;
|
||||
void setPeriod(int period);
|
||||
std::string getBackupId()const;
|
||||
void setBackupId(const std::string& backupId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getShardType()const;
|
||||
void setShardType(const std::string& shardType);
|
||||
std::string getVSwitchId()const;
|
||||
void setVSwitchId(const std::string& vSwitchId);
|
||||
std::string getPrivateIpAddress()const;
|
||||
void setPrivateIpAddress(const std::string& privateIpAddress);
|
||||
std::string getInstanceName()const;
|
||||
void setInstanceName(const std::string& instanceName);
|
||||
std::string getAutoRenew()const;
|
||||
void setAutoRenew(const std::string& autoRenew);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getAutoUseCoupon()const;
|
||||
void setAutoUseCoupon(const std::string& autoUseCoupon);
|
||||
int getStorage()const;
|
||||
void setStorage(int storage);
|
||||
std::string getInstanceClass()const;
|
||||
void setInstanceClass(const std::string& instanceClass);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getInstanceType()const;
|
||||
void setInstanceType(const std::string& instanceType);
|
||||
bool getAutoPay()const;
|
||||
void setAutoPay(bool autoPay);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getSrcDBInstanceId()const;
|
||||
void setSrcDBInstanceId(const std::string& srcDBInstanceId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getVpcId()const;
|
||||
void setVpcId(const std::string& vpcId);
|
||||
std::string getChargeType()const;
|
||||
void setChargeType(const std::string& chargeType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string couponNo_;
|
||||
std::string engineVersion_;
|
||||
std::string storageType_;
|
||||
int resourceGroupId_;
|
||||
std::string password_;
|
||||
std::string securityToken_;
|
||||
std::string businessInfo_;
|
||||
int shardCount_;
|
||||
std::string autoRenewPeriod_;
|
||||
int period_;
|
||||
std::string backupId_;
|
||||
long ownerId_;
|
||||
std::string shardType_;
|
||||
std::string vSwitchId_;
|
||||
std::string privateIpAddress_;
|
||||
std::string instanceName_;
|
||||
std::string autoRenew_;
|
||||
std::string zoneId_;
|
||||
std::string clientToken_;
|
||||
std::string autoUseCoupon_;
|
||||
int storage_;
|
||||
std::string instanceClass_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string instanceType_;
|
||||
bool autoPay_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string srcDBInstanceId_;
|
||||
std::string ownerAccount_;
|
||||
std::string vpcId_;
|
||||
std::string chargeType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_CREATETAIRINSTANCEREQUEST_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_R_KVSTORE_MODEL_CREATETAIRINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_CREATETAIRINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace R_kvstore
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT CreateTairInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateTairInstanceResult();
|
||||
explicit CreateTairInstanceResult(const std::string &payload);
|
||||
~CreateTairInstanceResult();
|
||||
long getConnections()const;
|
||||
std::string getTaskId()const;
|
||||
std::string getZoneId()const;
|
||||
std::string getInstanceId()const;
|
||||
std::string getConfig()const;
|
||||
int getPort()const;
|
||||
std::string getInstanceName()const;
|
||||
std::string getConnectionDomain()const;
|
||||
long getQPS()const;
|
||||
std::string getInstanceStatus()const;
|
||||
std::string getChargeType()const;
|
||||
long getBandwidth()const;
|
||||
std::string getRegionId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long connections_;
|
||||
std::string taskId_;
|
||||
std::string zoneId_;
|
||||
std::string instanceId_;
|
||||
std::string config_;
|
||||
int port_;
|
||||
std::string instanceName_;
|
||||
std::string connectionDomain_;
|
||||
long qPS_;
|
||||
std::string instanceStatus_;
|
||||
std::string chargeType_;
|
||||
long bandwidth_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_CREATETAIRINSTANCERESULT_H_
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getEngine()const;
|
||||
void setEngine(const std::string& engine);
|
||||
std::string getInstanceChargeType()const;
|
||||
@@ -69,6 +71,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string engine_;
|
||||
std::string instanceChargeType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
|
||||
@@ -52,6 +52,7 @@ namespace AlibabaCloud
|
||||
int diskSizeMB;
|
||||
int creator;
|
||||
std::string name;
|
||||
long currentBandWidth;
|
||||
int binlogRetentionDays;
|
||||
long bandWidth;
|
||||
std::string classCode;
|
||||
|
||||
@@ -55,8 +55,10 @@ namespace AlibabaCloud
|
||||
int characterType;
|
||||
std::string vswitchId;
|
||||
int shardCount;
|
||||
long currentBandWidth;
|
||||
std::string instanceName;
|
||||
std::string connectionDomain;
|
||||
long bandWidth;
|
||||
std::string maintainEndTime;
|
||||
std::string vpcId;
|
||||
std::string instanceStatus;
|
||||
|
||||
@@ -61,6 +61,8 @@ namespace AlibabaCloud
|
||||
void setExpired(const std::string& expired);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getInstanceType()const;
|
||||
@@ -105,6 +107,7 @@ namespace AlibabaCloud
|
||||
std::string resourceGroupId_;
|
||||
std::string expired_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string instanceType_;
|
||||
std::string editionType_;
|
||||
|
||||
@@ -38,12 +38,14 @@ namespace AlibabaCloud
|
||||
explicit DescribeIntranetAttributeResult(const std::string &payload);
|
||||
~DescribeIntranetAttributeResult();
|
||||
int getIntranetBandwidth()const;
|
||||
std::string getBandwidthExpireTime()const;
|
||||
std::string getExpireTime()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int intranetBandwidth_;
|
||||
std::string bandwidthExpireTime_;
|
||||
std::string expireTime_;
|
||||
|
||||
};
|
||||
|
||||
@@ -51,6 +51,8 @@ namespace AlibabaCloud
|
||||
void setCapacity(long capacity);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getBusinessInfo()const;
|
||||
void setBusinessInfo(const std::string& businessInfo);
|
||||
long getPeriod()const;
|
||||
@@ -85,6 +87,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
long capacity_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string businessInfo_;
|
||||
long period_;
|
||||
long quantity_;
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getRole()const;
|
||||
void setRole(const std::string& role);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
@@ -62,6 +64,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string role_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
|
||||
@@ -40,13 +40,16 @@ namespace AlibabaCloud
|
||||
float intranetOut;
|
||||
std::string insName;
|
||||
float intranetIn;
|
||||
long currentBandWidth;
|
||||
std::string role;
|
||||
int insType;
|
||||
int isLatestVersion;
|
||||
std::string nodeType;
|
||||
bool isOpenBandWidthService;
|
||||
std::string nodeId;
|
||||
std::string currentMinorVersion;
|
||||
std::string custinsId;
|
||||
long defaultBandWidth;
|
||||
float avgRt;
|
||||
};
|
||||
|
||||
|
||||
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* 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_R_KVSTORE_MODEL_ENABLEADDITIONALBANDWIDTHREQUEST_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_ENABLEADDITIONALBANDWIDTHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace R_kvstore
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT EnableAdditionalBandwidthRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
EnableAdditionalBandwidthRequest();
|
||||
~EnableAdditionalBandwidthRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getCouponNo()const;
|
||||
void setCouponNo(const std::string& couponNo);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getNodeId()const;
|
||||
void setNodeId(const std::string& nodeId);
|
||||
std::string getOrderTimeLength()const;
|
||||
void setOrderTimeLength(const std::string& orderTimeLength);
|
||||
bool getAutoPay()const;
|
||||
void setAutoPay(bool autoPay);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getBandwidth()const;
|
||||
void setBandwidth(const std::string& bandwidth);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string couponNo_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string nodeId_;
|
||||
std::string orderTimeLength_;
|
||||
bool autoPay_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string bandwidth_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_ENABLEADDITIONALBANDWIDTHREQUEST_H_
|
||||
@@ -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_R_KVSTORE_MODEL_ENABLEADDITIONALBANDWIDTHRESULT_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_ENABLEADDITIONALBANDWIDTHRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace R_kvstore
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT EnableAdditionalBandwidthResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
EnableAdditionalBandwidthResult();
|
||||
explicit EnableAdditionalBandwidthResult(const std::string &payload);
|
||||
~EnableAdditionalBandwidthResult();
|
||||
std::string getOrderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string orderId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_ENABLEADDITIONALBANDWIDTHRESULT_H_
|
||||
@@ -41,8 +41,12 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getNodeId()const;
|
||||
void setNodeId(const std::string& nodeId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getBandWidth()const;
|
||||
void setBandWidth(long bandWidth);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
@@ -54,7 +58,9 @@ namespace AlibabaCloud
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string nodeId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long bandWidth_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
|
||||
@@ -339,6 +339,42 @@ R_kvstoreClient::CreateInstanceOutcomeCallable R_kvstoreClient::createInstanceCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
R_kvstoreClient::CreateTairInstanceOutcome R_kvstoreClient::createTairInstance(const CreateTairInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateTairInstanceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateTairInstanceOutcome(CreateTairInstanceResult(outcome.result()));
|
||||
else
|
||||
return CreateTairInstanceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void R_kvstoreClient::createTairInstanceAsync(const CreateTairInstanceRequest& request, const CreateTairInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createTairInstance(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
R_kvstoreClient::CreateTairInstanceOutcomeCallable R_kvstoreClient::createTairInstanceCallable(const CreateTairInstanceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateTairInstanceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createTairInstance(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
R_kvstoreClient::CreateUserClusterHostOutcome R_kvstoreClient::createUserClusterHost(const CreateUserClusterHostRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1815,6 +1851,42 @@ R_kvstoreClient::DescribeZonesOutcomeCallable R_kvstoreClient::describeZonesCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
R_kvstoreClient::EnableAdditionalBandwidthOutcome R_kvstoreClient::enableAdditionalBandwidth(const EnableAdditionalBandwidthRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return EnableAdditionalBandwidthOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return EnableAdditionalBandwidthOutcome(EnableAdditionalBandwidthResult(outcome.result()));
|
||||
else
|
||||
return EnableAdditionalBandwidthOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void R_kvstoreClient::enableAdditionalBandwidthAsync(const EnableAdditionalBandwidthRequest& request, const EnableAdditionalBandwidthAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, enableAdditionalBandwidth(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
R_kvstoreClient::EnableAdditionalBandwidthOutcomeCallable R_kvstoreClient::enableAdditionalBandwidthCallable(const EnableAdditionalBandwidthRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<EnableAdditionalBandwidthOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->enableAdditionalBandwidth(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
R_kvstoreClient::FlushExpireKeysOutcome R_kvstoreClient::flushExpireKeys(const FlushExpireKeysRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -38,6 +38,17 @@ void CreateInstanceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getSecondaryZoneId()const
|
||||
{
|
||||
return secondaryZoneId_;
|
||||
}
|
||||
|
||||
void CreateInstanceRequest::setSecondaryZoneId(const std::string& secondaryZoneId)
|
||||
{
|
||||
secondaryZoneId_ = secondaryZoneId;
|
||||
setParameter("SecondaryZoneId", secondaryZoneId);
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getCouponNo()const
|
||||
{
|
||||
return couponNo_;
|
||||
@@ -280,6 +291,17 @@ void CreateInstanceRequest::setCapacity(long capacity)
|
||||
setParameter("Capacity", std::to_string(capacity));
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateInstanceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getInstanceType()const
|
||||
{
|
||||
return instanceType_;
|
||||
|
||||
381
r-kvstore/src/model/CreateTairInstanceRequest.cc
Normal file
381
r-kvstore/src/model/CreateTairInstanceRequest.cc
Normal file
@@ -0,0 +1,381 @@
|
||||
/*
|
||||
* 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/r-kvstore/model/CreateTairInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::R_kvstore::Model::CreateTairInstanceRequest;
|
||||
|
||||
CreateTairInstanceRequest::CreateTairInstanceRequest() :
|
||||
RpcServiceRequest("r-kvstore", "2015-01-01", "CreateTairInstance")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateTairInstanceRequest::~CreateTairInstanceRequest()
|
||||
{}
|
||||
|
||||
long CreateTairInstanceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getCouponNo()const
|
||||
{
|
||||
return couponNo_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setCouponNo(const std::string& couponNo)
|
||||
{
|
||||
couponNo_ = couponNo;
|
||||
setParameter("CouponNo", couponNo);
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getEngineVersion()const
|
||||
{
|
||||
return engineVersion_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setEngineVersion(const std::string& engineVersion)
|
||||
{
|
||||
engineVersion_ = engineVersion;
|
||||
setParameter("EngineVersion", engineVersion);
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getStorageType()const
|
||||
{
|
||||
return storageType_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setStorageType(const std::string& storageType)
|
||||
{
|
||||
storageType_ = storageType;
|
||||
setParameter("StorageType", storageType);
|
||||
}
|
||||
|
||||
int CreateTairInstanceRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setResourceGroupId(int resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", std::to_string(resourceGroupId));
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getPassword()const
|
||||
{
|
||||
return password_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setPassword(const std::string& password)
|
||||
{
|
||||
password_ = password;
|
||||
setParameter("Password", password);
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getBusinessInfo()const
|
||||
{
|
||||
return businessInfo_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setBusinessInfo(const std::string& businessInfo)
|
||||
{
|
||||
businessInfo_ = businessInfo;
|
||||
setParameter("BusinessInfo", businessInfo);
|
||||
}
|
||||
|
||||
int CreateTairInstanceRequest::getShardCount()const
|
||||
{
|
||||
return shardCount_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setShardCount(int shardCount)
|
||||
{
|
||||
shardCount_ = shardCount;
|
||||
setParameter("ShardCount", std::to_string(shardCount));
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getAutoRenewPeriod()const
|
||||
{
|
||||
return autoRenewPeriod_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setAutoRenewPeriod(const std::string& autoRenewPeriod)
|
||||
{
|
||||
autoRenewPeriod_ = autoRenewPeriod;
|
||||
setParameter("AutoRenewPeriod", autoRenewPeriod);
|
||||
}
|
||||
|
||||
int CreateTairInstanceRequest::getPeriod()const
|
||||
{
|
||||
return period_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setPeriod(int period)
|
||||
{
|
||||
period_ = period;
|
||||
setParameter("Period", std::to_string(period));
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getBackupId()const
|
||||
{
|
||||
return backupId_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setBackupId(const std::string& backupId)
|
||||
{
|
||||
backupId_ = backupId;
|
||||
setParameter("BackupId", backupId);
|
||||
}
|
||||
|
||||
long CreateTairInstanceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getShardType()const
|
||||
{
|
||||
return shardType_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setShardType(const std::string& shardType)
|
||||
{
|
||||
shardType_ = shardType;
|
||||
setParameter("ShardType", shardType);
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getVSwitchId()const
|
||||
{
|
||||
return vSwitchId_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setVSwitchId(const std::string& vSwitchId)
|
||||
{
|
||||
vSwitchId_ = vSwitchId;
|
||||
setParameter("VSwitchId", vSwitchId);
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getPrivateIpAddress()const
|
||||
{
|
||||
return privateIpAddress_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setPrivateIpAddress(const std::string& privateIpAddress)
|
||||
{
|
||||
privateIpAddress_ = privateIpAddress;
|
||||
setParameter("PrivateIpAddress", privateIpAddress);
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getInstanceName()const
|
||||
{
|
||||
return instanceName_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setInstanceName(const std::string& instanceName)
|
||||
{
|
||||
instanceName_ = instanceName;
|
||||
setParameter("InstanceName", instanceName);
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getAutoRenew()const
|
||||
{
|
||||
return autoRenew_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setAutoRenew(const std::string& autoRenew)
|
||||
{
|
||||
autoRenew_ = autoRenew;
|
||||
setParameter("AutoRenew", autoRenew);
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
zoneId_ = zoneId;
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getAutoUseCoupon()const
|
||||
{
|
||||
return autoUseCoupon_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setAutoUseCoupon(const std::string& autoUseCoupon)
|
||||
{
|
||||
autoUseCoupon_ = autoUseCoupon;
|
||||
setParameter("AutoUseCoupon", autoUseCoupon);
|
||||
}
|
||||
|
||||
int CreateTairInstanceRequest::getStorage()const
|
||||
{
|
||||
return storage_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setStorage(int storage)
|
||||
{
|
||||
storage_ = storage;
|
||||
setParameter("Storage", std::to_string(storage));
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getInstanceClass()const
|
||||
{
|
||||
return instanceClass_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setInstanceClass(const std::string& instanceClass)
|
||||
{
|
||||
instanceClass_ = instanceClass;
|
||||
setParameter("InstanceClass", instanceClass);
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getInstanceType()const
|
||||
{
|
||||
return instanceType_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setInstanceType(const std::string& instanceType)
|
||||
{
|
||||
instanceType_ = instanceType;
|
||||
setParameter("InstanceType", instanceType);
|
||||
}
|
||||
|
||||
bool CreateTairInstanceRequest::getAutoPay()const
|
||||
{
|
||||
return autoPay_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setAutoPay(bool autoPay)
|
||||
{
|
||||
autoPay_ = autoPay;
|
||||
setParameter("AutoPay", autoPay ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getSrcDBInstanceId()const
|
||||
{
|
||||
return srcDBInstanceId_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setSrcDBInstanceId(const std::string& srcDBInstanceId)
|
||||
{
|
||||
srcDBInstanceId_ = srcDBInstanceId;
|
||||
setParameter("SrcDBInstanceId", srcDBInstanceId);
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getVpcId()const
|
||||
{
|
||||
return vpcId_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setVpcId(const std::string& vpcId)
|
||||
{
|
||||
vpcId_ = vpcId;
|
||||
setParameter("VpcId", vpcId);
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getChargeType()const
|
||||
{
|
||||
return chargeType_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setChargeType(const std::string& chargeType)
|
||||
{
|
||||
chargeType_ = chargeType;
|
||||
setParameter("ChargeType", chargeType);
|
||||
}
|
||||
|
||||
135
r-kvstore/src/model/CreateTairInstanceResult.cc
Normal file
135
r-kvstore/src/model/CreateTairInstanceResult.cc
Normal file
@@ -0,0 +1,135 @@
|
||||
/*
|
||||
* 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/r-kvstore/model/CreateTairInstanceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::R_kvstore;
|
||||
using namespace AlibabaCloud::R_kvstore::Model;
|
||||
|
||||
CreateTairInstanceResult::CreateTairInstanceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateTairInstanceResult::CreateTairInstanceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateTairInstanceResult::~CreateTairInstanceResult()
|
||||
{}
|
||||
|
||||
void CreateTairInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["InstanceId"].isNull())
|
||||
instanceId_ = value["InstanceId"].asString();
|
||||
if(!value["InstanceName"].isNull())
|
||||
instanceName_ = value["InstanceName"].asString();
|
||||
if(!value["ConnectionDomain"].isNull())
|
||||
connectionDomain_ = value["ConnectionDomain"].asString();
|
||||
if(!value["Port"].isNull())
|
||||
port_ = std::stoi(value["Port"].asString());
|
||||
if(!value["InstanceStatus"].isNull())
|
||||
instanceStatus_ = value["InstanceStatus"].asString();
|
||||
if(!value["RegionId"].isNull())
|
||||
regionId_ = value["RegionId"].asString();
|
||||
if(!value["QPS"].isNull())
|
||||
qPS_ = std::stol(value["QPS"].asString());
|
||||
if(!value["Bandwidth"].isNull())
|
||||
bandwidth_ = std::stol(value["Bandwidth"].asString());
|
||||
if(!value["Connections"].isNull())
|
||||
connections_ = std::stol(value["Connections"].asString());
|
||||
if(!value["ZoneId"].isNull())
|
||||
zoneId_ = value["ZoneId"].asString();
|
||||
if(!value["Config"].isNull())
|
||||
config_ = value["Config"].asString();
|
||||
if(!value["ChargeType"].isNull())
|
||||
chargeType_ = value["ChargeType"].asString();
|
||||
if(!value["TaskId"].isNull())
|
||||
taskId_ = value["TaskId"].asString();
|
||||
|
||||
}
|
||||
|
||||
long CreateTairInstanceResult::getConnections()const
|
||||
{
|
||||
return connections_;
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceResult::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceResult::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceResult::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceResult::getConfig()const
|
||||
{
|
||||
return config_;
|
||||
}
|
||||
|
||||
int CreateTairInstanceResult::getPort()const
|
||||
{
|
||||
return port_;
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceResult::getInstanceName()const
|
||||
{
|
||||
return instanceName_;
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceResult::getConnectionDomain()const
|
||||
{
|
||||
return connectionDomain_;
|
||||
}
|
||||
|
||||
long CreateTairInstanceResult::getQPS()const
|
||||
{
|
||||
return qPS_;
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceResult::getInstanceStatus()const
|
||||
{
|
||||
return instanceStatus_;
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceResult::getChargeType()const
|
||||
{
|
||||
return chargeType_;
|
||||
}
|
||||
|
||||
long CreateTairInstanceResult::getBandwidth()const
|
||||
{
|
||||
return bandwidth_;
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceResult::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
@@ -71,6 +71,17 @@ void DescribeAvailableResourceRequest::setSecurityToken(const std::string& secur
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeAvailableResourceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeAvailableResourceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeAvailableResourceRequest::getEngine()const
|
||||
{
|
||||
return engine_;
|
||||
|
||||
@@ -83,6 +83,8 @@ void DescribeClusterMemberInfoResult::parse(const std::string &payload)
|
||||
clusterChildrenObject.bandWidth = std::stol(valueClusterChildrenChildren["BandWidth"].asString());
|
||||
if(!valueClusterChildrenChildren["Connections"].isNull())
|
||||
clusterChildrenObject.connections = std::stol(valueClusterChildrenChildren["Connections"].asString());
|
||||
if(!valueClusterChildrenChildren["CurrentBandWidth"].isNull())
|
||||
clusterChildrenObject.currentBandWidth = std::stol(valueClusterChildrenChildren["CurrentBandWidth"].asString());
|
||||
auto allItemsNode = valueClusterChildrenChildren["Items"]["Item"];
|
||||
for (auto valueClusterChildrenChildrenItemsItem : allItemsNode)
|
||||
{
|
||||
|
||||
@@ -83,6 +83,10 @@ void DescribeDedicatedClusterInstanceListResult::parse(const std::string &payloa
|
||||
instancesObject.createTime = valueInstancesInstancesItem["CreateTime"].asString();
|
||||
if(!valueInstancesInstancesItem["ShardCount"].isNull())
|
||||
instancesObject.shardCount = std::stoi(valueInstancesInstancesItem["ShardCount"].asString());
|
||||
if(!valueInstancesInstancesItem["CurrentBandWidth"].isNull())
|
||||
instancesObject.currentBandWidth = std::stol(valueInstancesInstancesItem["CurrentBandWidth"].asString());
|
||||
if(!valueInstancesInstancesItem["BandWidth"].isNull())
|
||||
instancesObject.bandWidth = std::stol(valueInstancesInstancesItem["BandWidth"].asString());
|
||||
auto allInstanceNodeListNode = valueInstancesInstancesItem["InstanceNodeList"]["InstanceNodes"];
|
||||
for (auto valueInstancesInstancesItemInstanceNodeListInstanceNodes : allInstanceNodeListNode)
|
||||
{
|
||||
|
||||
@@ -137,6 +137,17 @@ void DescribeInstancesRequest::setSecurityToken(const std::string& securityToken
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
int DescribeInstancesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
|
||||
@@ -43,6 +43,8 @@ void DescribeIntranetAttributeResult::parse(const std::string &payload)
|
||||
intranetBandwidth_ = std::stoi(value["IntranetBandwidth"].asString());
|
||||
if(!value["ExpireTime"].isNull())
|
||||
expireTime_ = value["ExpireTime"].asString();
|
||||
if(!value["BandwidthExpireTime"].isNull())
|
||||
bandwidthExpireTime_ = value["BandwidthExpireTime"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -51,6 +53,11 @@ int DescribeIntranetAttributeResult::getIntranetBandwidth()const
|
||||
return intranetBandwidth_;
|
||||
}
|
||||
|
||||
std::string DescribeIntranetAttributeResult::getBandwidthExpireTime()const
|
||||
{
|
||||
return bandwidthExpireTime_;
|
||||
}
|
||||
|
||||
std::string DescribeIntranetAttributeResult::getExpireTime()const
|
||||
{
|
||||
return expireTime_;
|
||||
|
||||
@@ -115,6 +115,17 @@ void DescribePriceRequest::setSecurityToken(const std::string& securityToken)
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribePriceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribePriceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribePriceRequest::getBusinessInfo()const
|
||||
{
|
||||
return businessInfo_;
|
||||
|
||||
@@ -38,6 +38,17 @@ void DescribeRoleZoneInfoRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeRoleZoneInfoRequest::getRole()const
|
||||
{
|
||||
return role_;
|
||||
}
|
||||
|
||||
void DescribeRoleZoneInfoRequest::setRole(const std::string& role)
|
||||
{
|
||||
role_ = role;
|
||||
setParameter("Role", role);
|
||||
}
|
||||
|
||||
int DescribeRoleZoneInfoRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
|
||||
@@ -71,6 +71,12 @@ void DescribeRoleZoneInfoResult::parse(const std::string &payload)
|
||||
nodeObject.isLatestVersion = std::stoi(valueNodeNodeInfo["IsLatestVersion"].asString());
|
||||
if(!valueNodeNodeInfo["CurrentMinorVersion"].isNull())
|
||||
nodeObject.currentMinorVersion = valueNodeNodeInfo["CurrentMinorVersion"].asString();
|
||||
if(!valueNodeNodeInfo["CurrentBandWidth"].isNull())
|
||||
nodeObject.currentBandWidth = std::stol(valueNodeNodeInfo["CurrentBandWidth"].asString());
|
||||
if(!valueNodeNodeInfo["DefaultBandWidth"].isNull())
|
||||
nodeObject.defaultBandWidth = std::stol(valueNodeNodeInfo["DefaultBandWidth"].asString());
|
||||
if(!valueNodeNodeInfo["IsOpenBandWidthService"].isNull())
|
||||
nodeObject.isOpenBandWidthService = valueNodeNodeInfo["IsOpenBandWidthService"].asString() == "true";
|
||||
node_.push_back(nodeObject);
|
||||
}
|
||||
if(!value["PageNumber"].isNull())
|
||||
|
||||
161
r-kvstore/src/model/EnableAdditionalBandwidthRequest.cc
Normal file
161
r-kvstore/src/model/EnableAdditionalBandwidthRequest.cc
Normal file
@@ -0,0 +1,161 @@
|
||||
/*
|
||||
* 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/r-kvstore/model/EnableAdditionalBandwidthRequest.h>
|
||||
|
||||
using AlibabaCloud::R_kvstore::Model::EnableAdditionalBandwidthRequest;
|
||||
|
||||
EnableAdditionalBandwidthRequest::EnableAdditionalBandwidthRequest() :
|
||||
RpcServiceRequest("r-kvstore", "2015-01-01", "EnableAdditionalBandwidth")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
EnableAdditionalBandwidthRequest::~EnableAdditionalBandwidthRequest()
|
||||
{}
|
||||
|
||||
long EnableAdditionalBandwidthRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void EnableAdditionalBandwidthRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string EnableAdditionalBandwidthRequest::getCouponNo()const
|
||||
{
|
||||
return couponNo_;
|
||||
}
|
||||
|
||||
void EnableAdditionalBandwidthRequest::setCouponNo(const std::string& couponNo)
|
||||
{
|
||||
couponNo_ = couponNo;
|
||||
setParameter("CouponNo", couponNo);
|
||||
}
|
||||
|
||||
std::string EnableAdditionalBandwidthRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void EnableAdditionalBandwidthRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string EnableAdditionalBandwidthRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void EnableAdditionalBandwidthRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string EnableAdditionalBandwidthRequest::getNodeId()const
|
||||
{
|
||||
return nodeId_;
|
||||
}
|
||||
|
||||
void EnableAdditionalBandwidthRequest::setNodeId(const std::string& nodeId)
|
||||
{
|
||||
nodeId_ = nodeId;
|
||||
setParameter("NodeId", nodeId);
|
||||
}
|
||||
|
||||
std::string EnableAdditionalBandwidthRequest::getOrderTimeLength()const
|
||||
{
|
||||
return orderTimeLength_;
|
||||
}
|
||||
|
||||
void EnableAdditionalBandwidthRequest::setOrderTimeLength(const std::string& orderTimeLength)
|
||||
{
|
||||
orderTimeLength_ = orderTimeLength;
|
||||
setParameter("OrderTimeLength", orderTimeLength);
|
||||
}
|
||||
|
||||
bool EnableAdditionalBandwidthRequest::getAutoPay()const
|
||||
{
|
||||
return autoPay_;
|
||||
}
|
||||
|
||||
void EnableAdditionalBandwidthRequest::setAutoPay(bool autoPay)
|
||||
{
|
||||
autoPay_ = autoPay;
|
||||
setParameter("AutoPay", autoPay ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string EnableAdditionalBandwidthRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void EnableAdditionalBandwidthRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string EnableAdditionalBandwidthRequest::getBandwidth()const
|
||||
{
|
||||
return bandwidth_;
|
||||
}
|
||||
|
||||
void EnableAdditionalBandwidthRequest::setBandwidth(const std::string& bandwidth)
|
||||
{
|
||||
bandwidth_ = bandwidth;
|
||||
setParameter("Bandwidth", bandwidth);
|
||||
}
|
||||
|
||||
std::string EnableAdditionalBandwidthRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void EnableAdditionalBandwidthRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long EnableAdditionalBandwidthRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void EnableAdditionalBandwidthRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string EnableAdditionalBandwidthRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void EnableAdditionalBandwidthRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
51
r-kvstore/src/model/EnableAdditionalBandwidthResult.cc
Normal file
51
r-kvstore/src/model/EnableAdditionalBandwidthResult.cc
Normal 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/r-kvstore/model/EnableAdditionalBandwidthResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::R_kvstore;
|
||||
using namespace AlibabaCloud::R_kvstore::Model;
|
||||
|
||||
EnableAdditionalBandwidthResult::EnableAdditionalBandwidthResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
EnableAdditionalBandwidthResult::EnableAdditionalBandwidthResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
EnableAdditionalBandwidthResult::~EnableAdditionalBandwidthResult()
|
||||
{}
|
||||
|
||||
void EnableAdditionalBandwidthResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = value["OrderId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string EnableAdditionalBandwidthResult::getOrderId()const
|
||||
{
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
@@ -60,6 +60,17 @@ void ModifyIntranetAttributeRequest::setSecurityToken(const std::string& securit
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string ModifyIntranetAttributeRequest::getNodeId()const
|
||||
{
|
||||
return nodeId_;
|
||||
}
|
||||
|
||||
void ModifyIntranetAttributeRequest::setNodeId(const std::string& nodeId)
|
||||
{
|
||||
nodeId_ = nodeId;
|
||||
setParameter("NodeId", nodeId);
|
||||
}
|
||||
|
||||
std::string ModifyIntranetAttributeRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -71,6 +82,17 @@ void ModifyIntranetAttributeRequest::setResourceOwnerAccount(const std::string&
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long ModifyIntranetAttributeRequest::getBandWidth()const
|
||||
{
|
||||
return bandWidth_;
|
||||
}
|
||||
|
||||
void ModifyIntranetAttributeRequest::setBandWidth(long bandWidth)
|
||||
{
|
||||
bandWidth_ = bandWidth;
|
||||
setParameter("BandWidth", std::to_string(bandWidth));
|
||||
}
|
||||
|
||||
std::string ModifyIntranetAttributeRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
|
||||
Reference in New Issue
Block a user