Compare commits

..

1 Commits

Author SHA1 Message Date
sdk-team
6a93a60bb8 Supported batch delete for contact template. 2021-03-12 02:46:52 +00:00
16 changed files with 1054 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
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.

View File

@@ -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

View File

@@ -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;

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DOMAIN_MODEL_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_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DOMAIN_MODEL_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_

View File

@@ -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_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DOMAIN_MODEL_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_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DOMAIN_MODEL_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_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DOMAIN_MODEL_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_

View File

@@ -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();

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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);
}

View 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());
}

View File

@@ -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);
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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_;
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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);
}

View 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());
}