Support encrypt and decrypt.

This commit is contained in:
sdk-team
2022-11-03 10:52:42 +00:00
parent d0b808cbaa
commit a493636d49
275 changed files with 4250 additions and 16044 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/CancelCertificateForPackageRequestRequest.h>
using AlibabaCloud::Cas::Model::CancelCertificateForPackageRequestRequest;
CancelCertificateForPackageRequestRequest::CancelCertificateForPackageRequestRequest()
: RpcServiceRequest("cas", "2020-04-07", "CancelCertificateForPackageRequest") {
setMethod(HttpRequest::Method::Post);
}
CancelCertificateForPackageRequestRequest::~CancelCertificateForPackageRequestRequest() {}
long CancelCertificateForPackageRequestRequest::getOrderId() const {
return orderId_;
}
void CancelCertificateForPackageRequestRequest::setOrderId(long orderId) {
orderId_ = orderId;
setParameter(std::string("OrderId"), std::to_string(orderId));
}
std::string CancelCertificateForPackageRequestRequest::getSourceIp() const {
return sourceIp_;
}
void CancelCertificateForPackageRequestRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}

View File

@@ -14,26 +14,26 @@
* limitations under the License.
*/
#include <alibabacloud/cas/model/CreateFilingSignatureDocumentResult.h>
#include <alibabacloud/cas/model/CancelCertificateForPackageRequestResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cas;
using namespace AlibabaCloud::Cas::Model;
CreateFilingSignatureDocumentResult::CreateFilingSignatureDocumentResult() :
CancelCertificateForPackageRequestResult::CancelCertificateForPackageRequestResult() :
ServiceResult()
{}
CreateFilingSignatureDocumentResult::CreateFilingSignatureDocumentResult(const std::string &payload) :
CancelCertificateForPackageRequestResult::CancelCertificateForPackageRequestResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateFilingSignatureDocumentResult::~CreateFilingSignatureDocumentResult()
CancelCertificateForPackageRequestResult::~CancelCertificateForPackageRequestResult()
{}
void CreateFilingSignatureDocumentResult::parse(const std::string &payload)
void CancelCertificateForPackageRequestResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/CancelOrderRequestRequest.h>
using AlibabaCloud::Cas::Model::CancelOrderRequestRequest;
CancelOrderRequestRequest::CancelOrderRequestRequest()
: RpcServiceRequest("cas", "2020-04-07", "CancelOrderRequest") {
setMethod(HttpRequest::Method::Post);
}
CancelOrderRequestRequest::~CancelOrderRequestRequest() {}
long CancelOrderRequestRequest::getOrderId() const {
return orderId_;
}
void CancelOrderRequestRequest::setOrderId(long orderId) {
orderId_ = orderId;
setParameter(std::string("OrderId"), std::to_string(orderId));
}
std::string CancelOrderRequestRequest::getSourceIp() const {
return sourceIp_;
}
void CancelOrderRequestRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}

View File

@@ -14,26 +14,26 @@
* limitations under the License.
*/
#include <alibabacloud/cas/model/CreateWebSignatureResult.h>
#include <alibabacloud/cas/model/CancelOrderRequestResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cas;
using namespace AlibabaCloud::Cas::Model;
CreateWebSignatureResult::CreateWebSignatureResult() :
CancelOrderRequestResult::CancelOrderRequestResult() :
ServiceResult()
{}
CreateWebSignatureResult::CreateWebSignatureResult(const std::string &payload) :
CancelOrderRequestResult::CancelOrderRequestResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateWebSignatureResult::~CreateWebSignatureResult()
CancelOrderRequestResult::~CancelOrderRequestResult()
{}
void CreateWebSignatureResult::parse(const std::string &payload)
void CancelOrderRequestResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;

View File

@@ -1,84 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/CreateAliDnsRecordIdRequest.h>
using AlibabaCloud::Cas::Model::CreateAliDnsRecordIdRequest;
CreateAliDnsRecordIdRequest::CreateAliDnsRecordIdRequest() :
RpcServiceRequest("cas", "2018-08-13", "CreateAliDnsRecordId")
{
setMethod(HttpRequest::Method::Post);
}
CreateAliDnsRecordIdRequest::~CreateAliDnsRecordIdRequest()
{}
long CreateAliDnsRecordIdRequest::getOrderId()const
{
return orderId_;
}
void CreateAliDnsRecordIdRequest::setOrderId(long orderId)
{
orderId_ = orderId;
setParameter("OrderId", std::to_string(orderId));
}
std::string CreateAliDnsRecordIdRequest::getRecordId()const
{
return recordId_;
}
void CreateAliDnsRecordIdRequest::setRecordId(const std::string& recordId)
{
recordId_ = recordId;
setParameter("RecordId", recordId);
}
std::string CreateAliDnsRecordIdRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void CreateAliDnsRecordIdRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateAliDnsRecordIdRequest::getSourceIp()const
{
return sourceIp_;
}
void CreateAliDnsRecordIdRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string CreateAliDnsRecordIdRequest::getLang()const
{
return lang_;
}
void CreateAliDnsRecordIdRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

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

View File

@@ -0,0 +1,108 @@
/*
* 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/cas/model/CreateCertificateForPackageRequestRequest.h>
using AlibabaCloud::Cas::Model::CreateCertificateForPackageRequestRequest;
CreateCertificateForPackageRequestRequest::CreateCertificateForPackageRequestRequest()
: RpcServiceRequest("cas", "2020-04-07", "CreateCertificateForPackageRequest") {
setMethod(HttpRequest::Method::Post);
}
CreateCertificateForPackageRequestRequest::~CreateCertificateForPackageRequestRequest() {}
std::string CreateCertificateForPackageRequestRequest::getProductCode() const {
return productCode_;
}
void CreateCertificateForPackageRequestRequest::setProductCode(const std::string &productCode) {
productCode_ = productCode;
setParameter(std::string("ProductCode"), productCode);
}
std::string CreateCertificateForPackageRequestRequest::getCsr() const {
return csr_;
}
void CreateCertificateForPackageRequestRequest::setCsr(const std::string &csr) {
csr_ = csr;
setParameter(std::string("Csr"), csr);
}
std::string CreateCertificateForPackageRequestRequest::getValidateType() const {
return validateType_;
}
void CreateCertificateForPackageRequestRequest::setValidateType(const std::string &validateType) {
validateType_ = validateType;
setParameter(std::string("ValidateType"), validateType);
}
std::string CreateCertificateForPackageRequestRequest::getSourceIp() const {
return sourceIp_;
}
void CreateCertificateForPackageRequestRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
std::string CreateCertificateForPackageRequestRequest::getEmail() const {
return email_;
}
void CreateCertificateForPackageRequestRequest::setEmail(const std::string &email) {
email_ = email;
setParameter(std::string("Email"), email);
}
std::string CreateCertificateForPackageRequestRequest::getPhone() const {
return phone_;
}
void CreateCertificateForPackageRequestRequest::setPhone(const std::string &phone) {
phone_ = phone;
setParameter(std::string("Phone"), phone);
}
std::string CreateCertificateForPackageRequestRequest::getCompanyName() const {
return companyName_;
}
void CreateCertificateForPackageRequestRequest::setCompanyName(const std::string &companyName) {
companyName_ = companyName;
setParameter(std::string("CompanyName"), companyName);
}
std::string CreateCertificateForPackageRequestRequest::getDomain() const {
return domain_;
}
void CreateCertificateForPackageRequestRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}
std::string CreateCertificateForPackageRequestRequest::getUsername() const {
return username_;
}
void CreateCertificateForPackageRequestRequest::setUsername(const std::string &username) {
username_ = username;
setParameter(std::string("Username"), username);
}

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/cas/model/CreateCertificateForPackageRequestResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cas;
using namespace AlibabaCloud::Cas::Model;
CreateCertificateForPackageRequestResult::CreateCertificateForPackageRequestResult() :
ServiceResult()
{}
CreateCertificateForPackageRequestResult::CreateCertificateForPackageRequestResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateCertificateForPackageRequestResult::~CreateCertificateForPackageRequestResult()
{}
void CreateCertificateForPackageRequestResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["OrderId"].isNull())
orderId_ = std::stol(value["OrderId"].asString());
}
long CreateCertificateForPackageRequestResult::getOrderId()const
{
return orderId_;
}

View File

@@ -1,84 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/CreateCertificateNameRequest.h>
using AlibabaCloud::Cas::Model::CreateCertificateNameRequest;
CreateCertificateNameRequest::CreateCertificateNameRequest() :
RpcServiceRequest("cas", "2018-08-13", "CreateCertificateName")
{
setMethod(HttpRequest::Method::Post);
}
CreateCertificateNameRequest::~CreateCertificateNameRequest()
{}
long CreateCertificateNameRequest::getCertificateId()const
{
return certificateId_;
}
void CreateCertificateNameRequest::setCertificateId(long certificateId)
{
certificateId_ = certificateId;
setParameter("CertificateId", std::to_string(certificateId));
}
std::string CreateCertificateNameRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void CreateCertificateNameRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateCertificateNameRequest::getSourceIp()const
{
return sourceIp_;
}
void CreateCertificateNameRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string CreateCertificateNameRequest::getName()const
{
return name_;
}
void CreateCertificateNameRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}
std::string CreateCertificateNameRequest::getLang()const
{
return lang_;
}
void CreateCertificateNameRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

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

View File

@@ -1,95 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/CreateCertificateRequest.h>
using AlibabaCloud::Cas::Model::CreateCertificateRequest;
CreateCertificateRequest::CreateCertificateRequest() :
RpcServiceRequest("cas", "2018-08-13", "CreateCertificate")
{
setMethod(HttpRequest::Method::Post);
}
CreateCertificateRequest::~CreateCertificateRequest()
{}
std::string CreateCertificateRequest::getCert()const
{
return cert_;
}
void CreateCertificateRequest::setCert(const std::string& cert)
{
cert_ = cert;
setParameter("Cert", cert);
}
std::string CreateCertificateRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void CreateCertificateRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateCertificateRequest::getSourceIp()const
{
return sourceIp_;
}
void CreateCertificateRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string CreateCertificateRequest::getLang()const
{
return lang_;
}
void CreateCertificateRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}
std::string CreateCertificateRequest::getKey()const
{
return key_;
}
void CreateCertificateRequest::setKey(const std::string& key)
{
key_ = key;
setParameter("Key", key);
}
std::string CreateCertificateRequest::getName()const
{
return name_;
}
void CreateCertificateRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}

View File

@@ -0,0 +1,90 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/CreateCertificateRequestRequest.h>
using AlibabaCloud::Cas::Model::CreateCertificateRequestRequest;
CreateCertificateRequestRequest::CreateCertificateRequestRequest()
: RpcServiceRequest("cas", "2020-04-07", "CreateCertificateRequest") {
setMethod(HttpRequest::Method::Post);
}
CreateCertificateRequestRequest::~CreateCertificateRequestRequest() {}
std::string CreateCertificateRequestRequest::getSourceIp() const {
return sourceIp_;
}
void CreateCertificateRequestRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
std::string CreateCertificateRequestRequest::getProductCode() const {
return productCode_;
}
void CreateCertificateRequestRequest::setProductCode(const std::string &productCode) {
productCode_ = productCode;
setParameter(std::string("ProductCode"), productCode);
}
std::string CreateCertificateRequestRequest::getUsername() const {
return username_;
}
void CreateCertificateRequestRequest::setUsername(const std::string &username) {
username_ = username;
setParameter(std::string("Username"), username);
}
std::string CreateCertificateRequestRequest::getPhone() const {
return phone_;
}
void CreateCertificateRequestRequest::setPhone(const std::string &phone) {
phone_ = phone;
setParameter(std::string("Phone"), phone);
}
std::string CreateCertificateRequestRequest::getEmail() const {
return email_;
}
void CreateCertificateRequestRequest::setEmail(const std::string &email) {
email_ = email;
setParameter(std::string("Email"), email);
}
std::string CreateCertificateRequestRequest::getDomain() const {
return domain_;
}
void CreateCertificateRequestRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}
std::string CreateCertificateRequestRequest::getValidateType() const {
return validateType_;
}
void CreateCertificateRequestRequest::setValidateType(const std::string &validateType) {
validateType_ = validateType;
setParameter(std::string("ValidateType"), validateType);
}

View File

@@ -14,26 +14,26 @@
* limitations under the License.
*/
#include <alibabacloud/cas/model/CreateCooperationOrderResult.h>
#include <alibabacloud/cas/model/CreateCertificateRequestResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cas;
using namespace AlibabaCloud::Cas::Model;
CreateCooperationOrderResult::CreateCooperationOrderResult() :
CreateCertificateRequestResult::CreateCertificateRequestResult() :
ServiceResult()
{}
CreateCooperationOrderResult::CreateCooperationOrderResult(const std::string &payload) :
CreateCertificateRequestResult::CreateCertificateRequestResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateCooperationOrderResult::~CreateCooperationOrderResult()
CreateCertificateRequestResult::~CreateCertificateRequestResult()
{}
void CreateCooperationOrderResult::parse(const std::string &payload)
void CreateCertificateRequestResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
@@ -44,7 +44,7 @@ void CreateCooperationOrderResult::parse(const std::string &payload)
}
long CreateCooperationOrderResult::getOrderId()const
long CreateCertificateRequestResult::getOrderId()const
{
return orderId_;
}

View File

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

View File

@@ -0,0 +1,90 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/CreateCertificateWithCsrRequestRequest.h>
using AlibabaCloud::Cas::Model::CreateCertificateWithCsrRequestRequest;
CreateCertificateWithCsrRequestRequest::CreateCertificateWithCsrRequestRequest()
: RpcServiceRequest("cas", "2020-04-07", "CreateCertificateWithCsrRequest") {
setMethod(HttpRequest::Method::Post);
}
CreateCertificateWithCsrRequestRequest::~CreateCertificateWithCsrRequestRequest() {}
std::string CreateCertificateWithCsrRequestRequest::getSourceIp() const {
return sourceIp_;
}
void CreateCertificateWithCsrRequestRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
std::string CreateCertificateWithCsrRequestRequest::getCsr() const {
return csr_;
}
void CreateCertificateWithCsrRequestRequest::setCsr(const std::string &csr) {
csr_ = csr;
setParameter(std::string("Csr"), csr);
}
std::string CreateCertificateWithCsrRequestRequest::getProductCode() const {
return productCode_;
}
void CreateCertificateWithCsrRequestRequest::setProductCode(const std::string &productCode) {
productCode_ = productCode;
setParameter(std::string("ProductCode"), productCode);
}
std::string CreateCertificateWithCsrRequestRequest::getUsername() const {
return username_;
}
void CreateCertificateWithCsrRequestRequest::setUsername(const std::string &username) {
username_ = username;
setParameter(std::string("Username"), username);
}
std::string CreateCertificateWithCsrRequestRequest::getPhone() const {
return phone_;
}
void CreateCertificateWithCsrRequestRequest::setPhone(const std::string &phone) {
phone_ = phone;
setParameter(std::string("Phone"), phone);
}
std::string CreateCertificateWithCsrRequestRequest::getEmail() const {
return email_;
}
void CreateCertificateWithCsrRequestRequest::setEmail(const std::string &email) {
email_ = email;
setParameter(std::string("Email"), email);
}
std::string CreateCertificateWithCsrRequestRequest::getValidateType() const {
return validateType_;
}
void CreateCertificateWithCsrRequestRequest::setValidateType(const std::string &validateType) {
validateType_ = validateType;
setParameter(std::string("ValidateType"), validateType);
}

View File

@@ -14,26 +14,26 @@
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeRenewOrderResult.h>
#include <alibabacloud/cas/model/CreateCertificateWithCsrRequestResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cas;
using namespace AlibabaCloud::Cas::Model;
DescribeRenewOrderResult::DescribeRenewOrderResult() :
CreateCertificateWithCsrRequestResult::CreateCertificateWithCsrRequestResult() :
ServiceResult()
{}
DescribeRenewOrderResult::DescribeRenewOrderResult(const std::string &payload) :
CreateCertificateWithCsrRequestResult::CreateCertificateWithCsrRequestResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeRenewOrderResult::~DescribeRenewOrderResult()
CreateCertificateWithCsrRequestResult::~CreateCertificateWithCsrRequestResult()
{}
void DescribeRenewOrderResult::parse(const std::string &payload)
void CreateCertificateWithCsrRequestResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
@@ -44,7 +44,7 @@ void DescribeRenewOrderResult::parse(const std::string &payload)
}
long DescribeRenewOrderResult::getOrderId()const
long CreateCertificateWithCsrRequestResult::getOrderId()const
{
return orderId_;
}

View File

@@ -1,95 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/CreateCooperationOrderRequest.h>
using AlibabaCloud::Cas::Model::CreateCooperationOrderRequest;
CreateCooperationOrderRequest::CreateCooperationOrderRequest() :
RpcServiceRequest("cas", "2018-08-13", "CreateCooperationOrder")
{
setMethod(HttpRequest::Method::Post);
}
CreateCooperationOrderRequest::~CreateCooperationOrderRequest()
{}
std::string CreateCooperationOrderRequest::getProductCode()const
{
return productCode_;
}
void CreateCooperationOrderRequest::setProductCode(const std::string& productCode)
{
productCode_ = productCode;
setParameter("ProductCode", productCode);
}
std::string CreateCooperationOrderRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void CreateCooperationOrderRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateCooperationOrderRequest::getSourceIp()const
{
return sourceIp_;
}
void CreateCooperationOrderRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string CreateCooperationOrderRequest::getFrom()const
{
return from_;
}
void CreateCooperationOrderRequest::setFrom(const std::string& from)
{
from_ = from;
setParameter("From", from);
}
std::string CreateCooperationOrderRequest::getLang()const
{
return lang_;
}
void CreateCooperationOrderRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}
std::string CreateCooperationOrderRequest::getDomain()const
{
return domain_;
}
void CreateCooperationOrderRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
}

View File

@@ -1,106 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/CreateDeploymentRequest.h>
using AlibabaCloud::Cas::Model::CreateDeploymentRequest;
CreateDeploymentRequest::CreateDeploymentRequest() :
RpcServiceRequest("cas", "2018-08-13", "CreateDeployment")
{
setMethod(HttpRequest::Method::Post);
}
CreateDeploymentRequest::~CreateDeploymentRequest()
{}
std::string CreateDeploymentRequest::getCloudProduct()const
{
return cloudProduct_;
}
void CreateDeploymentRequest::setCloudProduct(const std::string& cloudProduct)
{
cloudProduct_ = cloudProduct;
setParameter("CloudProduct", cloudProduct);
}
std::string CreateDeploymentRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void CreateDeploymentRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateDeploymentRequest::getSourceIp()const
{
return sourceIp_;
}
void CreateDeploymentRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string CreateDeploymentRequest::getLang()const
{
return lang_;
}
void CreateDeploymentRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}
long CreateDeploymentRequest::getCertificateId()const
{
return certificateId_;
}
void CreateDeploymentRequest::setCertificateId(long certificateId)
{
certificateId_ = certificateId;
setParameter("CertificateId", std::to_string(certificateId));
}
std::string CreateDeploymentRequest::getDomain()const
{
return domain_;
}
void CreateDeploymentRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
}
std::string CreateDeploymentRequest::getRegion()const
{
return region_;
}
void CreateDeploymentRequest::setRegion(const std::string& region)
{
region_ = region;
setParameter("Region", region);
}

View File

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

View File

@@ -1,84 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/CreateDomainVerifyConfigurationStatusRequest.h>
using AlibabaCloud::Cas::Model::CreateDomainVerifyConfigurationStatusRequest;
CreateDomainVerifyConfigurationStatusRequest::CreateDomainVerifyConfigurationStatusRequest() :
RpcServiceRequest("cas", "2018-08-13", "CreateDomainVerifyConfigurationStatus")
{
setMethod(HttpRequest::Method::Post);
}
CreateDomainVerifyConfigurationStatusRequest::~CreateDomainVerifyConfigurationStatusRequest()
{}
long CreateDomainVerifyConfigurationStatusRequest::getOrderId()const
{
return orderId_;
}
void CreateDomainVerifyConfigurationStatusRequest::setOrderId(long orderId)
{
orderId_ = orderId;
setParameter("OrderId", std::to_string(orderId));
}
std::string CreateDomainVerifyConfigurationStatusRequest::getType()const
{
return type_;
}
void CreateDomainVerifyConfigurationStatusRequest::setType(const std::string& type)
{
type_ = type;
setParameter("Type", type);
}
std::string CreateDomainVerifyConfigurationStatusRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void CreateDomainVerifyConfigurationStatusRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateDomainVerifyConfigurationStatusRequest::getSourceIp()const
{
return sourceIp_;
}
void CreateDomainVerifyConfigurationStatusRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string CreateDomainVerifyConfigurationStatusRequest::getLang()const
{
return lang_;
}
void CreateDomainVerifyConfigurationStatusRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

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

View File

@@ -1,73 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/CreateFilingSignatureDocumentRequest.h>
using AlibabaCloud::Cas::Model::CreateFilingSignatureDocumentRequest;
CreateFilingSignatureDocumentRequest::CreateFilingSignatureDocumentRequest() :
RpcServiceRequest("cas", "2018-08-13", "CreateFilingSignatureDocument")
{
setMethod(HttpRequest::Method::Post);
}
CreateFilingSignatureDocumentRequest::~CreateFilingSignatureDocumentRequest()
{}
std::string CreateFilingSignatureDocumentRequest::getDocId()const
{
return docId_;
}
void CreateFilingSignatureDocumentRequest::setDocId(const std::string& docId)
{
docId_ = docId;
setParameter("DocId", docId);
}
std::string CreateFilingSignatureDocumentRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void CreateFilingSignatureDocumentRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateFilingSignatureDocumentRequest::getSourceIp()const
{
return sourceIp_;
}
void CreateFilingSignatureDocumentRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string CreateFilingSignatureDocumentRequest::getLang()const
{
return lang_;
}
void CreateFilingSignatureDocumentRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

@@ -1,84 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/CreateOrderAuditRequest.h>
using AlibabaCloud::Cas::Model::CreateOrderAuditRequest;
CreateOrderAuditRequest::CreateOrderAuditRequest() :
RpcServiceRequest("cas", "2018-08-13", "CreateOrderAudit")
{
setMethod(HttpRequest::Method::Post);
}
CreateOrderAuditRequest::~CreateOrderAuditRequest()
{}
long CreateOrderAuditRequest::getOrderId()const
{
return orderId_;
}
void CreateOrderAuditRequest::setOrderId(long orderId)
{
orderId_ = orderId;
setParameter("OrderId", std::to_string(orderId));
}
std::string CreateOrderAuditRequest::getType()const
{
return type_;
}
void CreateOrderAuditRequest::setType(const std::string& type)
{
type_ = type;
setParameter("Type", type);
}
std::string CreateOrderAuditRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void CreateOrderAuditRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateOrderAuditRequest::getSourceIp()const
{
return sourceIp_;
}
void CreateOrderAuditRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string CreateOrderAuditRequest::getLang()const
{
return lang_;
}
void CreateOrderAuditRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

@@ -1,93 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/CreateOrderAuditResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cas;
using namespace AlibabaCloud::Cas::Model;
CreateOrderAuditResult::CreateOrderAuditResult() :
ServiceResult()
{}
CreateOrderAuditResult::CreateOrderAuditResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateOrderAuditResult::~CreateOrderAuditResult()
{}
void CreateOrderAuditResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Type"].isNull())
type_ = value["Type"].asString();
if(!value["CheckName"].isNull())
checkName_ = value["CheckName"].asString();
if(!value["CheckValue"].isNull())
checkValue_ = value["CheckValue"].asString();
if(!value["ModifiedTime"].isNull())
modifiedTime_ = value["ModifiedTime"].asString();
if(!value["CheckType"].isNull())
checkType_ = value["CheckType"].asString();
if(!value["CheckName1"].isNull())
checkName1_ = value["CheckName1"].asString();
if(!value["CheckName2"].isNull())
checkName2_ = value["CheckName2"].asString();
}
std::string CreateOrderAuditResult::getType()const
{
return type_;
}
std::string CreateOrderAuditResult::getCheckName()const
{
return checkName_;
}
std::string CreateOrderAuditResult::getModifiedTime()const
{
return modifiedTime_;
}
std::string CreateOrderAuditResult::getCheckType()const
{
return checkType_;
}
std::string CreateOrderAuditResult::getCheckName1()const
{
return checkName1_;
}
std::string CreateOrderAuditResult::getCheckName2()const
{
return checkName2_;
}
std::string CreateOrderAuditResult::getCheckValue()const
{
return checkValue_;
}

View File

@@ -1,73 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/CreateOrderCancelRequest.h>
using AlibabaCloud::Cas::Model::CreateOrderCancelRequest;
CreateOrderCancelRequest::CreateOrderCancelRequest() :
RpcServiceRequest("cas", "2018-08-13", "CreateOrderCancel")
{
setMethod(HttpRequest::Method::Post);
}
CreateOrderCancelRequest::~CreateOrderCancelRequest()
{}
long CreateOrderCancelRequest::getOrderId()const
{
return orderId_;
}
void CreateOrderCancelRequest::setOrderId(long orderId)
{
orderId_ = orderId;
setParameter("OrderId", std::to_string(orderId));
}
std::string CreateOrderCancelRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void CreateOrderCancelRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateOrderCancelRequest::getSourceIp()const
{
return sourceIp_;
}
void CreateOrderCancelRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string CreateOrderCancelRequest::getLang()const
{
return lang_;
}
void CreateOrderCancelRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

@@ -1,106 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/CreateOrderDocumentRequest.h>
using AlibabaCloud::Cas::Model::CreateOrderDocumentRequest;
CreateOrderDocumentRequest::CreateOrderDocumentRequest() :
RpcServiceRequest("cas", "2018-08-13", "CreateOrderDocument")
{
setMethod(HttpRequest::Method::Post);
}
CreateOrderDocumentRequest::~CreateOrderDocumentRequest()
{}
std::string CreateOrderDocumentRequest::getOssKey()const
{
return ossKey_;
}
void CreateOrderDocumentRequest::setOssKey(const std::string& ossKey)
{
ossKey_ = ossKey;
setParameter("OssKey", ossKey);
}
std::string CreateOrderDocumentRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void CreateOrderDocumentRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateOrderDocumentRequest::getSourceIp()const
{
return sourceIp_;
}
void CreateOrderDocumentRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string CreateOrderDocumentRequest::getLang()const
{
return lang_;
}
void CreateOrderDocumentRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}
std::string CreateOrderDocumentRequest::getExtName()const
{
return extName_;
}
void CreateOrderDocumentRequest::setExtName(const std::string& extName)
{
extName_ = extName;
setParameter("ExtName", extName);
}
long CreateOrderDocumentRequest::getOrderId()const
{
return orderId_;
}
void CreateOrderDocumentRequest::setOrderId(long orderId)
{
orderId_ = orderId;
setParameter("OrderId", std::to_string(orderId));
}
int CreateOrderDocumentRequest::getDocumentType()const
{
return documentType_;
}
void CreateOrderDocumentRequest::setDocumentType(int documentType)
{
documentType_ = documentType;
setParameter("DocumentType", std::to_string(documentType));
}

View File

@@ -1,326 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/CreateOrderMaterialRequest.h>
using AlibabaCloud::Cas::Model::CreateOrderMaterialRequest;
CreateOrderMaterialRequest::CreateOrderMaterialRequest() :
RpcServiceRequest("cas", "2018-08-13", "CreateOrderMaterial")
{
setMethod(HttpRequest::Method::Post);
}
CreateOrderMaterialRequest::~CreateOrderMaterialRequest()
{}
std::string CreateOrderMaterialRequest::getLeaderName()const
{
return leaderName_;
}
void CreateOrderMaterialRequest::setLeaderName(const std::string& leaderName)
{
leaderName_ = leaderName;
setParameter("LeaderName", leaderName);
}
std::string CreateOrderMaterialRequest::getCity()const
{
return city_;
}
void CreateOrderMaterialRequest::setCity(const std::string& city)
{
city_ = city;
setParameter("City", city);
}
std::string CreateOrderMaterialRequest::getCountryCode()const
{
return countryCode_;
}
void CreateOrderMaterialRequest::setCountryCode(const std::string& countryCode)
{
countryCode_ = countryCode;
setParameter("CountryCode", countryCode);
}
std::string CreateOrderMaterialRequest::getLeaderEmail()const
{
return leaderEmail_;
}
void CreateOrderMaterialRequest::setLeaderEmail(const std::string& leaderEmail)
{
leaderEmail_ = leaderEmail;
setParameter("LeaderEmail", leaderEmail);
}
std::string CreateOrderMaterialRequest::getCompanyAddress()const
{
return companyAddress_;
}
void CreateOrderMaterialRequest::setCompanyAddress(const std::string& companyAddress)
{
companyAddress_ = companyAddress;
setParameter("CompanyAddress", companyAddress);
}
std::string CreateOrderMaterialRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void CreateOrderMaterialRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateOrderMaterialRequest::getCompanyCode()const
{
return companyCode_;
}
void CreateOrderMaterialRequest::setCompanyCode(const std::string& companyCode)
{
companyCode_ = companyCode;
setParameter("CompanyCode", companyCode);
}
std::string CreateOrderMaterialRequest::getPersonEmail()const
{
return personEmail_;
}
void CreateOrderMaterialRequest::setPersonEmail(const std::string& personEmail)
{
personEmail_ = personEmail;
setParameter("PersonEmail", personEmail);
}
std::string CreateOrderMaterialRequest::getProvince()const
{
return province_;
}
void CreateOrderMaterialRequest::setProvince(const std::string& province)
{
province_ = province;
setParameter("Province", province);
}
int CreateOrderMaterialRequest::getDomainAuthType()const
{
return domainAuthType_;
}
void CreateOrderMaterialRequest::setDomainAuthType(int domainAuthType)
{
domainAuthType_ = domainAuthType;
setParameter("DomainAuthType", std::to_string(domainAuthType));
}
std::string CreateOrderMaterialRequest::getLeaderPhone()const
{
return leaderPhone_;
}
void CreateOrderMaterialRequest::setLeaderPhone(const std::string& leaderPhone)
{
leaderPhone_ = leaderPhone;
setParameter("LeaderPhone", leaderPhone);
}
std::string CreateOrderMaterialRequest::getSourceIp()const
{
return sourceIp_;
}
void CreateOrderMaterialRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string CreateOrderMaterialRequest::getCsrContent()const
{
return csrContent_;
}
void CreateOrderMaterialRequest::setCsrContent(const std::string& csrContent)
{
csrContent_ = csrContent;
setParameter("CsrContent", csrContent);
}
std::string CreateOrderMaterialRequest::getLang()const
{
return lang_;
}
void CreateOrderMaterialRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}
std::string CreateOrderMaterialRequest::getPersonName()const
{
return personName_;
}
void CreateOrderMaterialRequest::setPersonName(const std::string& personName)
{
personName_ = personName;
setParameter("PersonName", personName);
}
std::string CreateOrderMaterialRequest::getPersonIdCardNumber()const
{
return personIdCardNumber_;
}
void CreateOrderMaterialRequest::setPersonIdCardNumber(const std::string& personIdCardNumber)
{
personIdCardNumber_ = personIdCardNumber;
setParameter("PersonIdCardNumber", personIdCardNumber);
}
long CreateOrderMaterialRequest::getOrderId()const
{
return orderId_;
}
void CreateOrderMaterialRequest::setOrderId(long orderId)
{
orderId_ = orderId;
setParameter("OrderId", std::to_string(orderId));
}
std::string CreateOrderMaterialRequest::getLeaderTitle()const
{
return leaderTitle_;
}
void CreateOrderMaterialRequest::setLeaderTitle(const std::string& leaderTitle)
{
leaderTitle_ = leaderTitle;
setParameter("LeaderTitle", leaderTitle);
}
std::string CreateOrderMaterialRequest::getPersonTitle()const
{
return personTitle_;
}
void CreateOrderMaterialRequest::setPersonTitle(const std::string& personTitle)
{
personTitle_ = personTitle;
setParameter("PersonTitle", personTitle);
}
std::string CreateOrderMaterialRequest::getPostCode()const
{
return postCode_;
}
void CreateOrderMaterialRequest::setPostCode(const std::string& postCode)
{
postCode_ = postCode;
setParameter("PostCode", postCode);
}
int CreateOrderMaterialRequest::getCreateCsr()const
{
return createCsr_;
}
void CreateOrderMaterialRequest::setCreateCsr(int createCsr)
{
createCsr_ = createCsr;
setParameter("CreateCsr", std::to_string(createCsr));
}
std::string CreateOrderMaterialRequest::getPersonPhone()const
{
return personPhone_;
}
void CreateOrderMaterialRequest::setPersonPhone(const std::string& personPhone)
{
personPhone_ = personPhone;
setParameter("PersonPhone", personPhone);
}
std::string CreateOrderMaterialRequest::getCompanyName()const
{
return companyName_;
}
void CreateOrderMaterialRequest::setCompanyName(const std::string& companyName)
{
companyName_ = companyName;
setParameter("CompanyName", companyName);
}
std::string CreateOrderMaterialRequest::getCompanyPhone()const
{
return companyPhone_;
}
void CreateOrderMaterialRequest::setCompanyPhone(const std::string& companyPhone)
{
companyPhone_ = companyPhone;
setParameter("CompanyPhone", companyPhone);
}
int CreateOrderMaterialRequest::getCompanyType()const
{
return companyType_;
}
void CreateOrderMaterialRequest::setCompanyType(int companyType)
{
companyType_ = companyType;
setParameter("CompanyType", std::to_string(companyType));
}
std::string CreateOrderMaterialRequest::getDomain()const
{
return domain_;
}
void CreateOrderMaterialRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
}
std::string CreateOrderMaterialRequest::getPersonDepartment()const
{
return personDepartment_;
}
void CreateOrderMaterialRequest::setPersonDepartment(const std::string& personDepartment)
{
personDepartment_ = personDepartment;
setParameter("PersonDepartment", personDepartment);
}

View File

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

View File

@@ -1,73 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/CreateOrderRefundRecordRequest.h>
using AlibabaCloud::Cas::Model::CreateOrderRefundRecordRequest;
CreateOrderRefundRecordRequest::CreateOrderRefundRecordRequest() :
RpcServiceRequest("cas", "2018-08-13", "CreateOrderRefundRecord")
{
setMethod(HttpRequest::Method::Post);
}
CreateOrderRefundRecordRequest::~CreateOrderRefundRecordRequest()
{}
std::string CreateOrderRefundRecordRequest::getReason()const
{
return reason_;
}
void CreateOrderRefundRecordRequest::setReason(const std::string& reason)
{
reason_ = reason;
setParameter("Reason", reason);
}
long CreateOrderRefundRecordRequest::getOrderId()const
{
return orderId_;
}
void CreateOrderRefundRecordRequest::setOrderId(long orderId)
{
orderId_ = orderId;
setParameter("OrderId", std::to_string(orderId));
}
std::string CreateOrderRefundRecordRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void CreateOrderRefundRecordRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateOrderRefundRecordRequest::getSourceIp()const
{
return sourceIp_;
}
void CreateOrderRefundRecordRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}

View File

@@ -1,84 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/CreateOrderRevokeRequest.h>
using AlibabaCloud::Cas::Model::CreateOrderRevokeRequest;
CreateOrderRevokeRequest::CreateOrderRevokeRequest() :
RpcServiceRequest("cas", "2018-08-13", "CreateOrderRevoke")
{
setMethod(HttpRequest::Method::Post);
}
CreateOrderRevokeRequest::~CreateOrderRevokeRequest()
{}
std::string CreateOrderRevokeRequest::getReason()const
{
return reason_;
}
void CreateOrderRevokeRequest::setReason(const std::string& reason)
{
reason_ = reason;
setParameter("Reason", reason);
}
long CreateOrderRevokeRequest::getOrderId()const
{
return orderId_;
}
void CreateOrderRevokeRequest::setOrderId(long orderId)
{
orderId_ = orderId;
setParameter("OrderId", std::to_string(orderId));
}
std::string CreateOrderRevokeRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void CreateOrderRevokeRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateOrderRevokeRequest::getSourceIp()const
{
return sourceIp_;
}
void CreateOrderRevokeRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string CreateOrderRevokeRequest::getLang()const
{
return lang_;
}
void CreateOrderRevokeRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

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

View File

@@ -1,84 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/CreateSignatureDocumentRequest.h>
using AlibabaCloud::Cas::Model::CreateSignatureDocumentRequest;
CreateSignatureDocumentRequest::CreateSignatureDocumentRequest() :
RpcServiceRequest("cas", "2018-08-13", "CreateSignatureDocument")
{
setMethod(HttpRequest::Method::Post);
}
CreateSignatureDocumentRequest::~CreateSignatureDocumentRequest()
{}
std::string CreateSignatureDocumentRequest::getDocContent()const
{
return docContent_;
}
void CreateSignatureDocumentRequest::setDocContent(const std::string& docContent)
{
docContent_ = docContent;
setBodyParameter("DocContent", docContent);
}
std::string CreateSignatureDocumentRequest::getDocTitle()const
{
return docTitle_;
}
void CreateSignatureDocumentRequest::setDocTitle(const std::string& docTitle)
{
docTitle_ = docTitle;
setParameter("DocTitle", docTitle);
}
std::string CreateSignatureDocumentRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void CreateSignatureDocumentRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateSignatureDocumentRequest::getSourceIp()const
{
return sourceIp_;
}
void CreateSignatureDocumentRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string CreateSignatureDocumentRequest::getLang()const
{
return lang_;
}
void CreateSignatureDocumentRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

@@ -1,106 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/CreateSignaturePeopleCertificateRequest.h>
using AlibabaCloud::Cas::Model::CreateSignaturePeopleCertificateRequest;
CreateSignaturePeopleCertificateRequest::CreateSignaturePeopleCertificateRequest() :
RpcServiceRequest("cas", "2018-08-13", "CreateSignaturePeopleCertificate")
{
setMethod(HttpRequest::Method::Post);
}
CreateSignaturePeopleCertificateRequest::~CreateSignaturePeopleCertificateRequest()
{}
std::string CreateSignaturePeopleCertificateRequest::getIdentityNumber()const
{
return identityNumber_;
}
void CreateSignaturePeopleCertificateRequest::setIdentityNumber(const std::string& identityNumber)
{
identityNumber_ = identityNumber;
setParameter("IdentityNumber", identityNumber);
}
std::string CreateSignaturePeopleCertificateRequest::getPeopleName()const
{
return peopleName_;
}
void CreateSignaturePeopleCertificateRequest::setPeopleName(const std::string& peopleName)
{
peopleName_ = peopleName;
setParameter("PeopleName", peopleName);
}
std::string CreateSignaturePeopleCertificateRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void CreateSignaturePeopleCertificateRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateSignaturePeopleCertificateRequest::getSourceIp()const
{
return sourceIp_;
}
void CreateSignaturePeopleCertificateRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string CreateSignaturePeopleCertificateRequest::getLang()const
{
return lang_;
}
void CreateSignaturePeopleCertificateRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}
std::string CreateSignaturePeopleCertificateRequest::getEmail()const
{
return email_;
}
void CreateSignaturePeopleCertificateRequest::setEmail(const std::string& email)
{
email_ = email;
setParameter("Email", email);
}
std::string CreateSignaturePeopleCertificateRequest::getMobile()const
{
return mobile_;
}
void CreateSignaturePeopleCertificateRequest::setMobile(const std::string& mobile)
{
mobile_ = mobile;
setParameter("Mobile", mobile);
}

View File

@@ -1,238 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/CreateSignatureRequest.h>
using AlibabaCloud::Cas::Model::CreateSignatureRequest;
CreateSignatureRequest::CreateSignatureRequest() :
RpcServiceRequest("cas", "2018-08-13", "CreateSignature")
{
setMethod(HttpRequest::Method::Post);
}
CreateSignatureRequest::~CreateSignatureRequest()
{}
std::string CreateSignatureRequest::getIconId()const
{
return iconId_;
}
void CreateSignatureRequest::setIconId(const std::string& iconId)
{
iconId_ = iconId;
setParameter("IconId", iconId);
}
std::string CreateSignatureRequest::getHandSignImg()const
{
return handSignImg_;
}
void CreateSignatureRequest::setHandSignImg(const std::string& handSignImg)
{
handSignImg_ = handSignImg;
setParameter("HandSignImg", handSignImg);
}
std::string CreateSignatureRequest::getCustomApi()const
{
return customApi_;
}
void CreateSignatureRequest::setCustomApi(const std::string& customApi)
{
customApi_ = customApi;
setParameter("CustomApi", customApi);
}
std::string CreateSignatureRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void CreateSignatureRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateSignatureRequest::getSourceIp()const
{
return sourceIp_;
}
void CreateSignatureRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string CreateSignatureRequest::getSignKeyword()const
{
return signKeyword_;
}
void CreateSignatureRequest::setSignKeyword(const std::string& signKeyword)
{
signKeyword_ = signKeyword;
setParameter("SignKeyword", signKeyword);
}
std::string CreateSignatureRequest::getNotifyUrl()const
{
return notifyUrl_;
}
void CreateSignatureRequest::setNotifyUrl(const std::string& notifyUrl)
{
notifyUrl_ = notifyUrl;
setParameter("NotifyUrl", notifyUrl);
}
std::string CreateSignatureRequest::getLang()const
{
return lang_;
}
void CreateSignatureRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}
int CreateSignatureRequest::getQuantity()const
{
return quantity_;
}
void CreateSignatureRequest::setQuantity(int quantity)
{
quantity_ = quantity;
setParameter("Quantity", std::to_string(quantity));
}
std::string CreateSignatureRequest::getDocId()const
{
return docId_;
}
void CreateSignatureRequest::setDocId(const std::string& docId)
{
docId_ = docId;
setParameter("DocId", docId);
}
int CreateSignatureRequest::getPositionPage()const
{
return positionPage_;
}
void CreateSignatureRequest::setPositionPage(int positionPage)
{
positionPage_ = positionPage;
setParameter("PositionPage", std::to_string(positionPage));
}
std::string CreateSignatureRequest::getDocTitle()const
{
return docTitle_;
}
void CreateSignatureRequest::setDocTitle(const std::string& docTitle)
{
docTitle_ = docTitle;
setParameter("DocTitle", docTitle);
}
int CreateSignatureRequest::getPositionX()const
{
return positionX_;
}
void CreateSignatureRequest::setPositionX(int positionX)
{
positionX_ = positionX;
setParameter("PositionX", std::to_string(positionX));
}
int CreateSignatureRequest::getPositionY()const
{
return positionY_;
}
void CreateSignatureRequest::setPositionY(int positionY)
{
positionY_ = positionY;
setParameter("PositionY", std::to_string(positionY));
}
std::string CreateSignatureRequest::getPeopleId()const
{
return peopleId_;
}
void CreateSignatureRequest::setPeopleId(const std::string& peopleId)
{
peopleId_ = peopleId;
setParameter("PeopleId", peopleId);
}
int CreateSignatureRequest::getPositionType()const
{
return positionType_;
}
void CreateSignatureRequest::setPositionType(int positionType)
{
positionType_ = positionType;
setParameter("PositionType", std::to_string(positionType));
}
int CreateSignatureRequest::getValidity()const
{
return validity_;
}
void CreateSignatureRequest::setValidity(int validity)
{
validity_ = validity;
setParameter("Validity", std::to_string(validity));
}
std::string CreateSignatureRequest::getReturnUrl()const
{
return returnUrl_;
}
void CreateSignatureRequest::setReturnUrl(const std::string& returnUrl)
{
returnUrl_ = returnUrl;
setParameter("ReturnUrl", returnUrl);
}
int CreateSignatureRequest::getKeywordStrategy()const
{
return keywordStrategy_;
}
void CreateSignatureRequest::setKeywordStrategy(int keywordStrategy)
{
keywordStrategy_ = keywordStrategy;
setParameter("KeywordStrategy", std::to_string(keywordStrategy));
}

View File

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

View File

@@ -1,73 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/CreateUnDeploymentRequest.h>
using AlibabaCloud::Cas::Model::CreateUnDeploymentRequest;
CreateUnDeploymentRequest::CreateUnDeploymentRequest() :
RpcServiceRequest("cas", "2018-08-13", "CreateUnDeployment")
{
setMethod(HttpRequest::Method::Post);
}
CreateUnDeploymentRequest::~CreateUnDeploymentRequest()
{}
std::string CreateUnDeploymentRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void CreateUnDeploymentRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateUnDeploymentRequest::getSourceIp()const
{
return sourceIp_;
}
void CreateUnDeploymentRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
long CreateUnDeploymentRequest::getDeploymentId()const
{
return deploymentId_;
}
void CreateUnDeploymentRequest::setDeploymentId(long deploymentId)
{
deploymentId_ = deploymentId;
setParameter("DeploymentId", std::to_string(deploymentId));
}
std::string CreateUnDeploymentRequest::getLang()const
{
return lang_;
}
void CreateUnDeploymentRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

@@ -0,0 +1,180 @@
/*
* 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/cas/model/CreateWHCertificateWithExtensionRequest.h>
using AlibabaCloud::Cas::Model::CreateWHCertificateWithExtensionRequest;
CreateWHCertificateWithExtensionRequest::CreateWHCertificateWithExtensionRequest()
: RpcServiceRequest("cas", "2020-04-07", "CreateWHCertificateWithExtension") {
setMethod(HttpRequest::Method::Post);
}
CreateWHCertificateWithExtensionRequest::~CreateWHCertificateWithExtensionRequest() {}
bool CreateWHCertificateWithExtensionRequest::getAppendCrl() const {
return appendCrl_;
}
void CreateWHCertificateWithExtensionRequest::setAppendCrl(bool appendCrl) {
appendCrl_ = appendCrl;
setParameter(std::string("AppendCrl"), appendCrl ? "true" : "false");
}
std::string CreateWHCertificateWithExtensionRequest::getCountryCode() const {
return countryCode_;
}
void CreateWHCertificateWithExtensionRequest::setCountryCode(const std::string &countryCode) {
countryCode_ = countryCode;
setParameter(std::string("CountryCode"), countryCode);
}
std::string CreateWHCertificateWithExtensionRequest::getCommonName() const {
return commonName_;
}
void CreateWHCertificateWithExtensionRequest::setCommonName(const std::string &commonName) {
commonName_ = commonName;
setParameter(std::string("CommonName"), commonName);
}
std::string CreateWHCertificateWithExtensionRequest::getSourceIp() const {
return sourceIp_;
}
void CreateWHCertificateWithExtensionRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
std::string CreateWHCertificateWithExtensionRequest::getCertType() const {
return certType_;
}
void CreateWHCertificateWithExtensionRequest::setCertType(const std::string &certType) {
certType_ = certType;
setParameter(std::string("CertType"), certType);
}
std::string CreateWHCertificateWithExtensionRequest::getState() const {
return state_;
}
void CreateWHCertificateWithExtensionRequest::setState(const std::string &state) {
state_ = state;
setParameter(std::string("State"), state);
}
std::string CreateWHCertificateWithExtensionRequest::getCsrPemString() const {
return csrPemString_;
}
void CreateWHCertificateWithExtensionRequest::setCsrPemString(const std::string &csrPemString) {
csrPemString_ = csrPemString;
setParameter(std::string("CsrPemString"), csrPemString);
}
std::string CreateWHCertificateWithExtensionRequest::getAlgorithmKeySize() const {
return algorithmKeySize_;
}
void CreateWHCertificateWithExtensionRequest::setAlgorithmKeySize(const std::string &algorithmKeySize) {
algorithmKeySize_ = algorithmKeySize;
setParameter(std::string("AlgorithmKeySize"), algorithmKeySize);
}
long CreateWHCertificateWithExtensionRequest::getAfterTime() const {
return afterTime_;
}
void CreateWHCertificateWithExtensionRequest::setAfterTime(long afterTime) {
afterTime_ = afterTime;
setParameter(std::string("AfterTime"), std::to_string(afterTime));
}
std::string CreateWHCertificateWithExtensionRequest::getSans() const {
return sans_;
}
void CreateWHCertificateWithExtensionRequest::setSans(const std::string &sans) {
sans_ = sans;
setParameter(std::string("Sans"), sans);
}
std::string CreateWHCertificateWithExtensionRequest::getLocality() const {
return locality_;
}
void CreateWHCertificateWithExtensionRequest::setLocality(const std::string &locality) {
locality_ = locality;
setParameter(std::string("Locality"), locality);
}
bool CreateWHCertificateWithExtensionRequest::getBasicConstraintsCritical() const {
return basicConstraintsCritical_;
}
void CreateWHCertificateWithExtensionRequest::setBasicConstraintsCritical(bool basicConstraintsCritical) {
basicConstraintsCritical_ = basicConstraintsCritical;
setParameter(std::string("BasicConstraintsCritical"), basicConstraintsCritical ? "true" : "false");
}
std::string CreateWHCertificateWithExtensionRequest::getAliasName() const {
return aliasName_;
}
void CreateWHCertificateWithExtensionRequest::setAliasName(const std::string &aliasName) {
aliasName_ = aliasName;
setParameter(std::string("AliasName"), aliasName);
}
std::string CreateWHCertificateWithExtensionRequest::getOrganization() const {
return organization_;
}
void CreateWHCertificateWithExtensionRequest::setOrganization(const std::string &organization) {
organization_ = organization;
setParameter(std::string("Organization"), organization);
}
long CreateWHCertificateWithExtensionRequest::getBeforeTime() const {
return beforeTime_;
}
void CreateWHCertificateWithExtensionRequest::setBeforeTime(long beforeTime) {
beforeTime_ = beforeTime;
setParameter(std::string("BeforeTime"), std::to_string(beforeTime));
}
std::string CreateWHCertificateWithExtensionRequest::getParentIdentifier() const {
return parentIdentifier_;
}
void CreateWHCertificateWithExtensionRequest::setParentIdentifier(const std::string &parentIdentifier) {
parentIdentifier_ = parentIdentifier;
setParameter(std::string("ParentIdentifier"), parentIdentifier);
}
std::string CreateWHCertificateWithExtensionRequest::getOrganizationUnit() const {
return organizationUnit_;
}
void CreateWHCertificateWithExtensionRequest::setOrganizationUnit(const std::string &organizationUnit) {
organizationUnit_ = organizationUnit;
setParameter(std::string("OrganizationUnit"), organizationUnit);
}

View File

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

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.
*/
#include <alibabacloud/cas/model/CreateWHClientCertificateRequest.h>
using AlibabaCloud::Cas::Model::CreateWHClientCertificateRequest;
CreateWHClientCertificateRequest::CreateWHClientCertificateRequest()
: RpcServiceRequest("cas", "2020-04-07", "CreateWHClientCertificate") {
setMethod(HttpRequest::Method::Post);
}
CreateWHClientCertificateRequest::~CreateWHClientCertificateRequest() {}
std::string CreateWHClientCertificateRequest::getCsr() const {
return csr_;
}
void CreateWHClientCertificateRequest::setCsr(const std::string &csr) {
csr_ = csr;
setParameter(std::string("Csr"), csr);
}
std::string CreateWHClientCertificateRequest::getCommonName() const {
return commonName_;
}
void CreateWHClientCertificateRequest::setCommonName(const std::string &commonName) {
commonName_ = commonName;
setParameter(std::string("CommonName"), commonName);
}
std::string CreateWHClientCertificateRequest::getSourceIp() const {
return sourceIp_;
}
void CreateWHClientCertificateRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
std::string CreateWHClientCertificateRequest::getSanValue() const {
return sanValue_;
}
void CreateWHClientCertificateRequest::setSanValue(const std::string &sanValue) {
sanValue_ = sanValue;
setParameter(std::string("SanValue"), sanValue);
}
std::string CreateWHClientCertificateRequest::getAlgorithm() const {
return algorithm_;
}
void CreateWHClientCertificateRequest::setAlgorithm(const std::string &algorithm) {
algorithm_ = algorithm;
setParameter(std::string("Algorithm"), algorithm);
}
long CreateWHClientCertificateRequest::getAfterTime() const {
return afterTime_;
}
void CreateWHClientCertificateRequest::setAfterTime(long afterTime) {
afterTime_ = afterTime;
setParameter(std::string("AfterTime"), std::to_string(afterTime));
}
long CreateWHClientCertificateRequest::getSanType() const {
return sanType_;
}
void CreateWHClientCertificateRequest::setSanType(long sanType) {
sanType_ = sanType;
setParameter(std::string("SanType"), std::to_string(sanType));
}
long CreateWHClientCertificateRequest::getDays() const {
return days_;
}
void CreateWHClientCertificateRequest::setDays(long days) {
days_ = days;
setParameter(std::string("Days"), std::to_string(days));
}
long CreateWHClientCertificateRequest::getBeforeTime() const {
return beforeTime_;
}
void CreateWHClientCertificateRequest::setBeforeTime(long beforeTime) {
beforeTime_ = beforeTime;
setParameter(std::string("BeforeTime"), std::to_string(beforeTime));
}
std::string CreateWHClientCertificateRequest::getParentIdentifier() const {
return parentIdentifier_;
}
void CreateWHClientCertificateRequest::setParentIdentifier(const std::string &parentIdentifier) {
parentIdentifier_ = parentIdentifier;
setParameter(std::string("ParentIdentifier"), parentIdentifier);
}

View File

@@ -0,0 +1,79 @@
/*
* 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/cas/model/CreateWHClientCertificateResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cas;
using namespace AlibabaCloud::Cas::Model;
CreateWHClientCertificateResult::CreateWHClientCertificateResult() :
ServiceResult()
{}
CreateWHClientCertificateResult::CreateWHClientCertificateResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateWHClientCertificateResult::~CreateWHClientCertificateResult()
{}
void CreateWHClientCertificateResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Identifier"].isNull())
identifier_ = value["Identifier"].asString();
if(!value["RootX509Certificate"].isNull())
rootX509Certificate_ = value["RootX509Certificate"].asString();
if(!value["ParentX509Certificate"].isNull())
parentX509Certificate_ = value["ParentX509Certificate"].asString();
if(!value["X509Certificate"].isNull())
x509Certificate_ = value["X509Certificate"].asString();
if(!value["CertificateChain"].isNull())
certificateChain_ = value["CertificateChain"].asString();
}
std::string CreateWHClientCertificateResult::getIdentifier()const
{
return identifier_;
}
std::string CreateWHClientCertificateResult::getParentX509Certificate()const
{
return parentX509Certificate_;
}
std::string CreateWHClientCertificateResult::getCertificateChain()const
{
return certificateChain_;
}
std::string CreateWHClientCertificateResult::getRootX509Certificate()const
{
return rootX509Certificate_;
}
std::string CreateWHClientCertificateResult::getX509Certificate()const
{
return x509Certificate_;
}

View File

@@ -1,227 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/CreateWebSignatureRequest.h>
using AlibabaCloud::Cas::Model::CreateWebSignatureRequest;
CreateWebSignatureRequest::CreateWebSignatureRequest() :
RpcServiceRequest("cas", "2018-08-13", "CreateWebSignature")
{
setMethod(HttpRequest::Method::Post);
}
CreateWebSignatureRequest::~CreateWebSignatureRequest()
{}
std::string CreateWebSignatureRequest::getHandSignImg()const
{
return handSignImg_;
}
void CreateWebSignatureRequest::setHandSignImg(const std::string& handSignImg)
{
handSignImg_ = handSignImg;
setParameter("HandSignImg", handSignImg);
}
std::string CreateWebSignatureRequest::getCustomApi()const
{
return customApi_;
}
void CreateWebSignatureRequest::setCustomApi(const std::string& customApi)
{
customApi_ = customApi;
setParameter("CustomApi", customApi);
}
std::string CreateWebSignatureRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void CreateWebSignatureRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateWebSignatureRequest::getSourceIp()const
{
return sourceIp_;
}
void CreateWebSignatureRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string CreateWebSignatureRequest::getSignKeyword()const
{
return signKeyword_;
}
void CreateWebSignatureRequest::setSignKeyword(const std::string& signKeyword)
{
signKeyword_ = signKeyword;
setParameter("SignKeyword", signKeyword);
}
std::string CreateWebSignatureRequest::getNotifyUrl()const
{
return notifyUrl_;
}
void CreateWebSignatureRequest::setNotifyUrl(const std::string& notifyUrl)
{
notifyUrl_ = notifyUrl;
setParameter("NotifyUrl", notifyUrl);
}
std::string CreateWebSignatureRequest::getLang()const
{
return lang_;
}
void CreateWebSignatureRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}
int CreateWebSignatureRequest::getQuantity()const
{
return quantity_;
}
void CreateWebSignatureRequest::setQuantity(int quantity)
{
quantity_ = quantity;
setParameter("Quantity", std::to_string(quantity));
}
std::string CreateWebSignatureRequest::getDocId()const
{
return docId_;
}
void CreateWebSignatureRequest::setDocId(const std::string& docId)
{
docId_ = docId;
setParameter("DocId", docId);
}
int CreateWebSignatureRequest::getPositionPage()const
{
return positionPage_;
}
void CreateWebSignatureRequest::setPositionPage(int positionPage)
{
positionPage_ = positionPage;
setParameter("PositionPage", std::to_string(positionPage));
}
std::string CreateWebSignatureRequest::getDocTitle()const
{
return docTitle_;
}
void CreateWebSignatureRequest::setDocTitle(const std::string& docTitle)
{
docTitle_ = docTitle;
setParameter("DocTitle", docTitle);
}
int CreateWebSignatureRequest::getPositionX()const
{
return positionX_;
}
void CreateWebSignatureRequest::setPositionX(int positionX)
{
positionX_ = positionX;
setParameter("PositionX", std::to_string(positionX));
}
int CreateWebSignatureRequest::getPositionY()const
{
return positionY_;
}
void CreateWebSignatureRequest::setPositionY(int positionY)
{
positionY_ = positionY;
setParameter("PositionY", std::to_string(positionY));
}
std::string CreateWebSignatureRequest::getPeopleId()const
{
return peopleId_;
}
void CreateWebSignatureRequest::setPeopleId(const std::string& peopleId)
{
peopleId_ = peopleId;
setParameter("PeopleId", peopleId);
}
int CreateWebSignatureRequest::getPositionType()const
{
return positionType_;
}
void CreateWebSignatureRequest::setPositionType(int positionType)
{
positionType_ = positionType;
setParameter("PositionType", std::to_string(positionType));
}
int CreateWebSignatureRequest::getValidity()const
{
return validity_;
}
void CreateWebSignatureRequest::setValidity(int validity)
{
validity_ = validity;
setParameter("Validity", std::to_string(validity));
}
std::string CreateWebSignatureRequest::getReturnUrl()const
{
return returnUrl_;
}
void CreateWebSignatureRequest::setReturnUrl(const std::string& returnUrl)
{
returnUrl_ = returnUrl;
setParameter("ReturnUrl", returnUrl);
}
int CreateWebSignatureRequest::getKeywordStrategy()const
{
return keywordStrategy_;
}
void CreateWebSignatureRequest::setKeywordStrategy(int keywordStrategy)
{
keywordStrategy_ = keywordStrategy;
setParameter("KeywordStrategy", std::to_string(keywordStrategy));
}

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DecryptRequest.h>
using AlibabaCloud::Cas::Model::DecryptRequest;
DecryptRequest::DecryptRequest()
: RpcServiceRequest("cas", "2020-04-07", "Decrypt") {
setMethod(HttpRequest::Method::Post);
}
DecryptRequest::~DecryptRequest() {}
std::string DecryptRequest::getMessageType() const {
return messageType_;
}
void DecryptRequest::setMessageType(const std::string &messageType) {
messageType_ = messageType;
setParameter(std::string("MessageType"), messageType);
}
std::string DecryptRequest::getSourceIp() const {
return sourceIp_;
}
void DecryptRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
std::string DecryptRequest::getCertIdentifier() const {
return certIdentifier_;
}
void DecryptRequest::setCertIdentifier(const std::string &certIdentifier) {
certIdentifier_ = certIdentifier;
setParameter(std::string("CertIdentifier"), certIdentifier);
}
std::string DecryptRequest::getAlgorithm() const {
return algorithm_;
}
void DecryptRequest::setAlgorithm(const std::string &algorithm) {
algorithm_ = algorithm;
setParameter(std::string("Algorithm"), algorithm);
}
std::string DecryptRequest::getCiphertextBlob() const {
return ciphertextBlob_;
}
void DecryptRequest::setCiphertextBlob(const std::string &ciphertextBlob) {
ciphertextBlob_ = ciphertextBlob;
setParameter(std::string("CiphertextBlob"), ciphertextBlob);
}

View File

@@ -14,38 +14,45 @@
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeOSSDownloadInfoResult.h>
#include <alibabacloud/cas/model/DecryptResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cas;
using namespace AlibabaCloud::Cas::Model;
DescribeOSSDownloadInfoResult::DescribeOSSDownloadInfoResult() :
DecryptResult::DecryptResult() :
ServiceResult()
{}
DescribeOSSDownloadInfoResult::DescribeOSSDownloadInfoResult(const std::string &payload) :
DecryptResult::DecryptResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeOSSDownloadInfoResult::~DescribeOSSDownloadInfoResult()
DecryptResult::~DecryptResult()
{}
void DescribeOSSDownloadInfoResult::parse(const std::string &payload)
void DecryptResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["DownloadUrl"].isNull())
downloadUrl_ = value["DownloadUrl"].asString();
if(!value["Plaintext"].isNull())
plaintext_ = value["Plaintext"].asString();
if(!value["CertIdentifier"].isNull())
certIdentifier_ = value["CertIdentifier"].asString();
}
std::string DescribeOSSDownloadInfoResult::getDownloadUrl()const
std::string DecryptResult::getPlaintext()const
{
return downloadUrl_;
return plaintext_;
}
std::string DecryptResult::getCertIdentifier()const
{
return certIdentifier_;
}

View File

@@ -1,73 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DeleteCertificateRequest.h>
using AlibabaCloud::Cas::Model::DeleteCertificateRequest;
DeleteCertificateRequest::DeleteCertificateRequest() :
RpcServiceRequest("cas", "2018-08-13", "DeleteCertificate")
{
setMethod(HttpRequest::Method::Post);
}
DeleteCertificateRequest::~DeleteCertificateRequest()
{}
long DeleteCertificateRequest::getCertificateId()const
{
return certificateId_;
}
void DeleteCertificateRequest::setCertificateId(long certificateId)
{
certificateId_ = certificateId;
setParameter("CertificateId", std::to_string(certificateId));
}
std::string DeleteCertificateRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DeleteCertificateRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DeleteCertificateRequest::getSourceIp()const
{
return sourceIp_;
}
void DeleteCertificateRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string DeleteCertificateRequest::getLang()const
{
return lang_;
}
void DeleteCertificateRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DeleteCertificateRequestRequest.h>
using AlibabaCloud::Cas::Model::DeleteCertificateRequestRequest;
DeleteCertificateRequestRequest::DeleteCertificateRequestRequest()
: RpcServiceRequest("cas", "2020-04-07", "DeleteCertificateRequest") {
setMethod(HttpRequest::Method::Post);
}
DeleteCertificateRequestRequest::~DeleteCertificateRequestRequest() {}
std::string DeleteCertificateRequestRequest::getSourceIp() const {
return sourceIp_;
}
void DeleteCertificateRequestRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
long DeleteCertificateRequestRequest::getOrderId() const {
return orderId_;
}
void DeleteCertificateRequestRequest::setOrderId(long orderId) {
orderId_ = orderId;
setParameter(std::string("OrderId"), std::to_string(orderId));
}

View File

@@ -14,26 +14,26 @@
* limitations under the License.
*/
#include <alibabacloud/cas/model/CreateOrderDocumentResult.h>
#include <alibabacloud/cas/model/DeleteCertificateRequestResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cas;
using namespace AlibabaCloud::Cas::Model;
CreateOrderDocumentResult::CreateOrderDocumentResult() :
DeleteCertificateRequestResult::DeleteCertificateRequestResult() :
ServiceResult()
{}
CreateOrderDocumentResult::CreateOrderDocumentResult(const std::string &payload) :
DeleteCertificateRequestResult::DeleteCertificateRequestResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateOrderDocumentResult::~CreateOrderDocumentResult()
DeleteCertificateRequestResult::~DeleteCertificateRequestResult()
{}
void CreateOrderDocumentResult::parse(const std::string &payload)
void DeleteCertificateRequestResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;

View File

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

View File

@@ -1,73 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DeleteOrderRequest.h>
using AlibabaCloud::Cas::Model::DeleteOrderRequest;
DeleteOrderRequest::DeleteOrderRequest() :
RpcServiceRequest("cas", "2018-08-13", "DeleteOrder")
{
setMethod(HttpRequest::Method::Post);
}
DeleteOrderRequest::~DeleteOrderRequest()
{}
long DeleteOrderRequest::getOrderId()const
{
return orderId_;
}
void DeleteOrderRequest::setOrderId(long orderId)
{
orderId_ = orderId;
setParameter("OrderId", std::to_string(orderId));
}
std::string DeleteOrderRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DeleteOrderRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DeleteOrderRequest::getSourceIp()const
{
return sourceIp_;
}
void DeleteOrderRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string DeleteOrderRequest::getLang()const
{
return lang_;
}
void DeleteOrderRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DeletePCACertRequest.h>
using AlibabaCloud::Cas::Model::DeletePCACertRequest;
DeletePCACertRequest::DeletePCACertRequest()
: RpcServiceRequest("cas", "2020-04-07", "DeletePCACert") {
setMethod(HttpRequest::Method::Post);
}
DeletePCACertRequest::~DeletePCACertRequest() {}
std::string DeletePCACertRequest::getIdentifier() const {
return identifier_;
}
void DeletePCACertRequest::setIdentifier(const std::string &identifier) {
identifier_ = identifier;
setParameter(std::string("Identifier"), identifier);
}
std::string DeletePCACertRequest::getSourceIp() const {
return sourceIp_;
}
void DeletePCACertRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}

View File

@@ -14,26 +14,26 @@
* limitations under the License.
*/
#include <alibabacloud/cas/model/DeleteOrderResult.h>
#include <alibabacloud/cas/model/DeletePCACertResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cas;
using namespace AlibabaCloud::Cas::Model;
DeleteOrderResult::DeleteOrderResult() :
DeletePCACertResult::DeletePCACertResult() :
ServiceResult()
{}
DeleteOrderResult::DeleteOrderResult(const std::string &payload) :
DeletePCACertResult::DeletePCACertResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteOrderResult::~DeleteOrderResult()
DeletePCACertResult::~DeletePCACertResult()
{}
void DeleteOrderResult::parse(const std::string &payload)
void DeletePCACertResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;

View File

@@ -1,62 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeCertificateBrandListRequest.h>
using AlibabaCloud::Cas::Model::DescribeCertificateBrandListRequest;
DescribeCertificateBrandListRequest::DescribeCertificateBrandListRequest() :
RpcServiceRequest("cas", "2018-08-13", "DescribeCertificateBrandList")
{
setMethod(HttpRequest::Method::Post);
}
DescribeCertificateBrandListRequest::~DescribeCertificateBrandListRequest()
{}
std::string DescribeCertificateBrandListRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeCertificateBrandListRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeCertificateBrandListRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeCertificateBrandListRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string DescribeCertificateBrandListRequest::getLang()const
{
return lang_;
}
void DescribeCertificateBrandListRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

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

View File

@@ -1,73 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeCertificateDetailRequest.h>
using AlibabaCloud::Cas::Model::DescribeCertificateDetailRequest;
DescribeCertificateDetailRequest::DescribeCertificateDetailRequest() :
RpcServiceRequest("cas", "2018-08-13", "DescribeCertificateDetail")
{
setMethod(HttpRequest::Method::Post);
}
DescribeCertificateDetailRequest::~DescribeCertificateDetailRequest()
{}
long DescribeCertificateDetailRequest::getCertificateId()const
{
return certificateId_;
}
void DescribeCertificateDetailRequest::setCertificateId(long certificateId)
{
certificateId_ = certificateId;
setParameter("CertificateId", std::to_string(certificateId));
}
std::string DescribeCertificateDetailRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeCertificateDetailRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeCertificateDetailRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeCertificateDetailRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string DescribeCertificateDetailRequest::getLang()const
{
return lang_;
}
void DescribeCertificateDetailRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

@@ -1,149 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeCertificateDetailResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cas;
using namespace AlibabaCloud::Cas::Model;
DescribeCertificateDetailResult::DescribeCertificateDetailResult() :
ServiceResult()
{}
DescribeCertificateDetailResult::DescribeCertificateDetailResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeCertificateDetailResult::~DescribeCertificateDetailResult()
{}
void DescribeCertificateDetailResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Id"].isNull())
id_ = std::stol(value["Id"].asString());
if(!value["SourceType"].isNull())
sourceType_ = value["SourceType"].asString();
if(!value["InstanceId"].isNull())
instanceId_ = value["InstanceId"].asString();
if(!value["Name"].isNull())
name_ = value["Name"].asString();
if(!value["OrderId"].isNull())
orderId_ = std::stol(value["OrderId"].asString());
if(!value["Year"].isNull())
year_ = std::stoi(value["Year"].asString());
if(!value["BeforeDate"].isNull())
beforeDate_ = std::stol(value["BeforeDate"].asString());
if(!value["AfterDate"].isNull())
afterDate_ = std::stol(value["AfterDate"].asString());
if(!value["FingerPrint"].isNull())
fingerPrint_ = value["FingerPrint"].asString();
if(!value["Domains"].isNull())
domains_ = value["Domains"].asString();
if(!value["StatusCode"].isNull())
statusCode_ = value["StatusCode"].asString();
if(!value["BrandName"].isNull())
brandName_ = value["BrandName"].asString();
if(!value["CertType"].isNull())
certType_ = value["CertType"].asString();
if(!value["RemainingDays"].isNull())
remainingDays_ = std::stoi(value["RemainingDays"].asString());
if(!value["AccessDownload"].isNull())
accessDownload_ = std::stoi(value["AccessDownload"].asString());
}
long DescribeCertificateDetailResult::getAfterDate()const
{
return afterDate_;
}
std::string DescribeCertificateDetailResult::getInstanceId()const
{
return instanceId_;
}
std::string DescribeCertificateDetailResult::getSourceType()const
{
return sourceType_;
}
std::string DescribeCertificateDetailResult::getFingerPrint()const
{
return fingerPrint_;
}
std::string DescribeCertificateDetailResult::getCertType()const
{
return certType_;
}
int DescribeCertificateDetailResult::getRemainingDays()const
{
return remainingDays_;
}
long DescribeCertificateDetailResult::getOrderId()const
{
return orderId_;
}
std::string DescribeCertificateDetailResult::getStatusCode()const
{
return statusCode_;
}
std::string DescribeCertificateDetailResult::getName()const
{
return name_;
}
std::string DescribeCertificateDetailResult::getDomains()const
{
return domains_;
}
std::string DescribeCertificateDetailResult::getBrandName()const
{
return brandName_;
}
int DescribeCertificateDetailResult::getYear()const
{
return year_;
}
int DescribeCertificateDetailResult::getAccessDownload()const
{
return accessDownload_;
}
long DescribeCertificateDetailResult::getId()const
{
return id_;
}
long DescribeCertificateDetailResult::getBeforeDate()const
{
return beforeDate_;
}

View File

@@ -1,144 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeCertificateListRequest.h>
using AlibabaCloud::Cas::Model::DescribeCertificateListRequest;
DescribeCertificateListRequest::DescribeCertificateListRequest() :
RpcServiceRequest("cas", "2018-08-13", "DescribeCertificateList")
{
setMethod(HttpRequest::Method::Post);
}
DescribeCertificateListRequest::~DescribeCertificateListRequest()
{}
std::string DescribeCertificateListRequest::getSortType()const
{
return sortType_;
}
void DescribeCertificateListRequest::setSortType(const std::string& sortType)
{
sortType_ = sortType;
setParameter("SortType", sortType);
}
std::string DescribeCertificateListRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeCertificateListRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeCertificateListRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeCertificateListRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::vector<DescribeCertificateListRequest::Tag> DescribeCertificateListRequest::getTag()const
{
return tag_;
}
void DescribeCertificateListRequest::setTag(const std::vector<Tag>& tag)
{
tag_ = tag;
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
auto tagObj = tag.at(dep1);
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
setParameter(tagObjStr + ".Value", tagObj.value);
setParameter(tagObjStr + ".Key", tagObj.key);
}
}
std::string DescribeCertificateListRequest::getLang()const
{
return lang_;
}
void DescribeCertificateListRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}
std::string DescribeCertificateListRequest::getKeyword()const
{
return keyword_;
}
void DescribeCertificateListRequest::setKeyword(const std::string& keyword)
{
keyword_ = keyword;
setParameter("Keyword", keyword);
}
int DescribeCertificateListRequest::getShowSize()const
{
return showSize_;
}
void DescribeCertificateListRequest::setShowSize(int showSize)
{
showSize_ = showSize;
setParameter("ShowSize", std::to_string(showSize));
}
int DescribeCertificateListRequest::getCurrentPage()const
{
return currentPage_;
}
void DescribeCertificateListRequest::setCurrentPage(int currentPage)
{
currentPage_ = currentPage;
setParameter("CurrentPage", std::to_string(currentPage));
}
std::string DescribeCertificateListRequest::getSortColumn()const
{
return sortColumn_;
}
void DescribeCertificateListRequest::setSortColumn(const std::string& sortColumn)
{
sortColumn_ = sortColumn;
setParameter("SortColumn", sortColumn);
}
std::string DescribeCertificateListRequest::getStatus()const
{
return status_;
}
void DescribeCertificateListRequest::setStatus(const std::string& status)
{
status_ = status;
setParameter("Status", status);
}

View File

@@ -1,126 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeCertificateListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cas;
using namespace AlibabaCloud::Cas::Model;
DescribeCertificateListResult::DescribeCertificateListResult() :
ServiceResult()
{}
DescribeCertificateListResult::DescribeCertificateListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeCertificateListResult::~DescribeCertificateListResult()
{}
void DescribeCertificateListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allCertificateListNode = value["CertificateList"]["Certificate"];
for (auto valueCertificateListCertificate : allCertificateListNode)
{
Certificate certificateListObject;
if(!valueCertificateListCertificate["Id"].isNull())
certificateListObject.id = std::stol(valueCertificateListCertificate["Id"].asString());
if(!valueCertificateListCertificate["Name"].isNull())
certificateListObject.name = valueCertificateListCertificate["Name"].asString();
if(!valueCertificateListCertificate["SourceType"].isNull())
certificateListObject.sourceType = valueCertificateListCertificate["SourceType"].asString();
if(!valueCertificateListCertificate["CertType"].isNull())
certificateListObject.certType = valueCertificateListCertificate["CertType"].asString();
if(!valueCertificateListCertificate["InstanceId"].isNull())
certificateListObject.instanceId = valueCertificateListCertificate["InstanceId"].asString();
if(!valueCertificateListCertificate["OrderId"].isNull())
certificateListObject.orderId = std::stol(valueCertificateListCertificate["OrderId"].asString());
if(!valueCertificateListCertificate["OrderType"].isNull())
certificateListObject.orderType = valueCertificateListCertificate["OrderType"].asString();
if(!valueCertificateListCertificate["BrandName"].isNull())
certificateListObject.brandName = valueCertificateListCertificate["BrandName"].asString();
if(!valueCertificateListCertificate["BeforeDate"].isNull())
certificateListObject.beforeDate = std::stol(valueCertificateListCertificate["BeforeDate"].asString());
if(!valueCertificateListCertificate["AfterDate"].isNull())
certificateListObject.afterDate = std::stol(valueCertificateListCertificate["AfterDate"].asString());
if(!valueCertificateListCertificate["Year"].isNull())
certificateListObject.year = std::stoi(valueCertificateListCertificate["Year"].asString());
if(!valueCertificateListCertificate["Domain"].isNull())
certificateListObject.domain = valueCertificateListCertificate["Domain"].asString();
if(!valueCertificateListCertificate["RemainingDays"].isNull())
certificateListObject.remainingDays = std::stoi(valueCertificateListCertificate["RemainingDays"].asString());
if(!valueCertificateListCertificate["DeploymentCloudProduct"].isNull())
certificateListObject.deploymentCloudProduct = valueCertificateListCertificate["DeploymentCloudProduct"].asString();
if(!valueCertificateListCertificate["StatusCode"].isNull())
certificateListObject.statusCode = valueCertificateListCertificate["StatusCode"].asString();
if(!valueCertificateListCertificate["NewBuyCertType"].isNull())
certificateListObject.newBuyCertType = valueCertificateListCertificate["NewBuyCertType"].asString();
if(!valueCertificateListCertificate["NewBuyDomainType"].isNull())
certificateListObject.newBuyDomainType = valueCertificateListCertificate["NewBuyDomainType"].asString();
if(!valueCertificateListCertificate["NewBuyBrand"].isNull())
certificateListObject.newBuyBrand = valueCertificateListCertificate["NewBuyBrand"].asString();
if(!valueCertificateListCertificate["NewBuyDomainCount"].isNull())
certificateListObject.newBuyDomainCount = std::stoi(valueCertificateListCertificate["NewBuyDomainCount"].asString());
if(!valueCertificateListCertificate["ShowDeployment"].isNull())
certificateListObject.showDeployment = std::stoi(valueCertificateListCertificate["ShowDeployment"].asString());
if(!valueCertificateListCertificate["ShowRefund"].isNull())
certificateListObject.showRefund = valueCertificateListCertificate["ShowRefund"].asString() == "true";
if(!valueCertificateListCertificate["AccessDownload"].isNull())
certificateListObject.accessDownload = std::stoi(valueCertificateListCertificate["AccessDownload"].asString());
if(!valueCertificateListCertificate["PartnerOrderId"].isNull())
certificateListObject.partnerOrderId = valueCertificateListCertificate["PartnerOrderId"].asString();
if(!valueCertificateListCertificate["IsFree"].isNull())
certificateListObject.isFree = valueCertificateListCertificate["IsFree"].asString() == "true";
if(!valueCertificateListCertificate["ExpireRenew"].isNull())
certificateListObject.expireRenew = std::stoi(valueCertificateListCertificate["ExpireRenew"].asString());
certificateList_.push_back(certificateListObject);
}
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["ShowSize"].isNull())
showSize_ = std::stoi(value["ShowSize"].asString());
if(!value["CurrentPage"].isNull())
currentPage_ = std::stoi(value["CurrentPage"].asString());
}
int DescribeCertificateListResult::getTotalCount()const
{
return totalCount_;
}
int DescribeCertificateListResult::getCurrentPage()const
{
return currentPage_;
}
std::vector<DescribeCertificateListResult::Certificate> DescribeCertificateListResult::getCertificateList()const
{
return certificateList_;
}
int DescribeCertificateListResult::getShowSize()const
{
return showSize_;
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeCertificateStateRequest.h>
using AlibabaCloud::Cas::Model::DescribeCertificateStateRequest;
DescribeCertificateStateRequest::DescribeCertificateStateRequest()
: RpcServiceRequest("cas", "2020-04-07", "DescribeCertificateState") {
setMethod(HttpRequest::Method::Post);
}
DescribeCertificateStateRequest::~DescribeCertificateStateRequest() {}
std::string DescribeCertificateStateRequest::getSourceIp() const {
return sourceIp_;
}
void DescribeCertificateStateRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
long DescribeCertificateStateRequest::getOrderId() const {
return orderId_;
}
void DescribeCertificateStateRequest::setOrderId(long orderId) {
orderId_ = orderId;
setParameter(std::string("OrderId"), std::to_string(orderId));
}

View File

@@ -0,0 +1,114 @@
/*
* 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/cas/model/DescribeCertificateStateResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cas;
using namespace AlibabaCloud::Cas::Model;
DescribeCertificateStateResult::DescribeCertificateStateResult() :
ServiceResult()
{}
DescribeCertificateStateResult::DescribeCertificateStateResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeCertificateStateResult::~DescribeCertificateStateResult()
{}
void DescribeCertificateStateResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Type"].isNull())
type_ = value["Type"].asString();
if(!value["Domain"].isNull())
domain_ = value["Domain"].asString();
if(!value["RecordType"].isNull())
recordType_ = value["RecordType"].asString();
if(!value["Certificate"].isNull())
certificate_ = value["Certificate"].asString();
if(!value["RecordDomain"].isNull())
recordDomain_ = value["RecordDomain"].asString();
if(!value["PrivateKey"].isNull())
privateKey_ = value["PrivateKey"].asString();
if(!value["ValidateType"].isNull())
validateType_ = value["ValidateType"].asString();
if(!value["RecordValue"].isNull())
recordValue_ = value["RecordValue"].asString();
if(!value["Content"].isNull())
content_ = value["Content"].asString();
if(!value["Uri"].isNull())
uri_ = value["Uri"].asString();
}
std::string DescribeCertificateStateResult::getType()const
{
return type_;
}
std::string DescribeCertificateStateResult::getPrivateKey()const
{
return privateKey_;
}
std::string DescribeCertificateStateResult::getRecordType()const
{
return recordType_;
}
std::string DescribeCertificateStateResult::getContent()const
{
return content_;
}
std::string DescribeCertificateStateResult::getRecordDomain()const
{
return recordDomain_;
}
std::string DescribeCertificateStateResult::getRecordValue()const
{
return recordValue_;
}
std::string DescribeCertificateStateResult::getDomain()const
{
return domain_;
}
std::string DescribeCertificateStateResult::getValidateType()const
{
return validateType_;
}
std::string DescribeCertificateStateResult::getUri()const
{
return uri_;
}
std::string DescribeCertificateStateResult::getCertificate()const
{
return certificate_;
}

View File

@@ -1,78 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeCertificateStatusCountRequest.h>
using AlibabaCloud::Cas::Model::DescribeCertificateStatusCountRequest;
DescribeCertificateStatusCountRequest::DescribeCertificateStatusCountRequest() :
RpcServiceRequest("cas", "2018-08-13", "DescribeCertificateStatusCount")
{
setMethod(HttpRequest::Method::Post);
}
DescribeCertificateStatusCountRequest::~DescribeCertificateStatusCountRequest()
{}
std::string DescribeCertificateStatusCountRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeCertificateStatusCountRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeCertificateStatusCountRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeCertificateStatusCountRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::vector<DescribeCertificateStatusCountRequest::Tag> DescribeCertificateStatusCountRequest::getTag()const
{
return tag_;
}
void DescribeCertificateStatusCountRequest::setTag(const std::vector<Tag>& tag)
{
tag_ = tag;
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
auto tagObj = tag.at(dep1);
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
setParameter(tagObjStr + ".Value", tagObj.value);
setParameter(tagObjStr + ".Key", tagObj.key);
}
}
std::string DescribeCertificateStatusCountRequest::getLang()const
{
return lang_;
}
void DescribeCertificateStatusCountRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

@@ -1,107 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeCertificateStatusCountResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cas;
using namespace AlibabaCloud::Cas::Model;
DescribeCertificateStatusCountResult::DescribeCertificateStatusCountResult() :
ServiceResult()
{}
DescribeCertificateStatusCountResult::DescribeCertificateStatusCountResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeCertificateStatusCountResult::~DescribeCertificateStatusCountResult()
{}
void DescribeCertificateStatusCountResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Payed"].isNull())
payed_ = std::stoi(value["Payed"].asString());
if(!value["Checking"].isNull())
checking_ = std::stoi(value["Checking"].asString());
if(!value["CheckedFail"].isNull())
checkedFail_ = std::stoi(value["CheckedFail"].asString());
if(!value["Issued"].isNull())
issued_ = std::stoi(value["Issued"].asString());
if(!value["Revoked"].isNull())
revoked_ = std::stoi(value["Revoked"].asString());
if(!value["Closed"].isNull())
closed_ = std::stoi(value["Closed"].asString());
if(!value["WillExpired"].isNull())
willExpired_ = std::stoi(value["WillExpired"].asString());
if(!value["Expired"].isNull())
expired_ = std::stoi(value["Expired"].asString());
if(!value["RevokeChecking"].isNull())
revokeChecking_ = std::stoi(value["RevokeChecking"].asString());
}
int DescribeCertificateStatusCountResult::getPayed()const
{
return payed_;
}
int DescribeCertificateStatusCountResult::getRevoked()const
{
return revoked_;
}
int DescribeCertificateStatusCountResult::getClosed()const
{
return closed_;
}
int DescribeCertificateStatusCountResult::getWillExpired()const
{
return willExpired_;
}
int DescribeCertificateStatusCountResult::getIssued()const
{
return issued_;
}
int DescribeCertificateStatusCountResult::getExpired()const
{
return expired_;
}
int DescribeCertificateStatusCountResult::getCheckedFail()const
{
return checkedFail_;
}
int DescribeCertificateStatusCountResult::getChecking()const
{
return checking_;
}
int DescribeCertificateStatusCountResult::getRevokeChecking()const
{
return revokeChecking_;
}

View File

@@ -1,73 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeDeploymentDetailRequest.h>
using AlibabaCloud::Cas::Model::DescribeDeploymentDetailRequest;
DescribeDeploymentDetailRequest::DescribeDeploymentDetailRequest() :
RpcServiceRequest("cas", "2018-08-13", "DescribeDeploymentDetail")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDeploymentDetailRequest::~DescribeDeploymentDetailRequest()
{}
long DescribeDeploymentDetailRequest::getCertificateId()const
{
return certificateId_;
}
void DescribeDeploymentDetailRequest::setCertificateId(long certificateId)
{
certificateId_ = certificateId;
setParameter("CertificateId", std::to_string(certificateId));
}
std::string DescribeDeploymentDetailRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeDeploymentDetailRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeDeploymentDetailRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeDeploymentDetailRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string DescribeDeploymentDetailRequest::getLang()const
{
return lang_;
}
void DescribeDeploymentDetailRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

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

View File

@@ -1,84 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeDeploymentDomainListRequest.h>
using AlibabaCloud::Cas::Model::DescribeDeploymentDomainListRequest;
DescribeDeploymentDomainListRequest::DescribeDeploymentDomainListRequest() :
RpcServiceRequest("cas", "2018-08-13", "DescribeDeploymentDomainList")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDeploymentDomainListRequest::~DescribeDeploymentDomainListRequest()
{}
long DescribeDeploymentDomainListRequest::getCertificateId()const
{
return certificateId_;
}
void DescribeDeploymentDomainListRequest::setCertificateId(long certificateId)
{
certificateId_ = certificateId;
setParameter("CertificateId", std::to_string(certificateId));
}
std::string DescribeDeploymentDomainListRequest::getCloudProduct()const
{
return cloudProduct_;
}
void DescribeDeploymentDomainListRequest::setCloudProduct(const std::string& cloudProduct)
{
cloudProduct_ = cloudProduct;
setParameter("CloudProduct", cloudProduct);
}
std::string DescribeDeploymentDomainListRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeDeploymentDomainListRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeDeploymentDomainListRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeDeploymentDomainListRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string DescribeDeploymentDomainListRequest::getLang()const
{
return lang_;
}
void DescribeDeploymentDomainListRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

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

View File

@@ -1,73 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeDeploymentProductRequest.h>
using AlibabaCloud::Cas::Model::DescribeDeploymentProductRequest;
DescribeDeploymentProductRequest::DescribeDeploymentProductRequest() :
RpcServiceRequest("cas", "2018-08-13", "DescribeDeploymentProduct")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDeploymentProductRequest::~DescribeDeploymentProductRequest()
{}
long DescribeDeploymentProductRequest::getCertificateId()const
{
return certificateId_;
}
void DescribeDeploymentProductRequest::setCertificateId(long certificateId)
{
certificateId_ = certificateId;
setParameter("CertificateId", std::to_string(certificateId));
}
std::string DescribeDeploymentProductRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeDeploymentProductRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeDeploymentProductRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeDeploymentProductRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string DescribeDeploymentProductRequest::getLang()const
{
return lang_;
}
void DescribeDeploymentProductRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

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

View File

@@ -1,84 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeDeploymentRegionListRequest.h>
using AlibabaCloud::Cas::Model::DescribeDeploymentRegionListRequest;
DescribeDeploymentRegionListRequest::DescribeDeploymentRegionListRequest() :
RpcServiceRequest("cas", "2018-08-13", "DescribeDeploymentRegionList")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDeploymentRegionListRequest::~DescribeDeploymentRegionListRequest()
{}
long DescribeDeploymentRegionListRequest::getCertificateId()const
{
return certificateId_;
}
void DescribeDeploymentRegionListRequest::setCertificateId(long certificateId)
{
certificateId_ = certificateId;
setParameter("CertificateId", std::to_string(certificateId));
}
std::string DescribeDeploymentRegionListRequest::getCloudProduct()const
{
return cloudProduct_;
}
void DescribeDeploymentRegionListRequest::setCloudProduct(const std::string& cloudProduct)
{
cloudProduct_ = cloudProduct;
setParameter("CloudProduct", cloudProduct);
}
std::string DescribeDeploymentRegionListRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeDeploymentRegionListRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeDeploymentRegionListRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeDeploymentRegionListRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string DescribeDeploymentRegionListRequest::getLang()const
{
return lang_;
}
void DescribeDeploymentRegionListRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

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

View File

@@ -1,73 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeDomainVerifyConfigurationStatusRequest.h>
using AlibabaCloud::Cas::Model::DescribeDomainVerifyConfigurationStatusRequest;
DescribeDomainVerifyConfigurationStatusRequest::DescribeDomainVerifyConfigurationStatusRequest() :
RpcServiceRequest("cas", "2018-08-13", "DescribeDomainVerifyConfigurationStatus")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDomainVerifyConfigurationStatusRequest::~DescribeDomainVerifyConfigurationStatusRequest()
{}
long DescribeDomainVerifyConfigurationStatusRequest::getOrderId()const
{
return orderId_;
}
void DescribeDomainVerifyConfigurationStatusRequest::setOrderId(long orderId)
{
orderId_ = orderId;
setParameter("OrderId", std::to_string(orderId));
}
std::string DescribeDomainVerifyConfigurationStatusRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeDomainVerifyConfigurationStatusRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeDomainVerifyConfigurationStatusRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeDomainVerifyConfigurationStatusRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string DescribeDomainVerifyConfigurationStatusRequest::getLang()const
{
return lang_;
}
void DescribeDomainVerifyConfigurationStatusRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

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

View File

@@ -1,73 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeDomainVerifyInfoRequest.h>
using AlibabaCloud::Cas::Model::DescribeDomainVerifyInfoRequest;
DescribeDomainVerifyInfoRequest::DescribeDomainVerifyInfoRequest() :
RpcServiceRequest("cas", "2018-08-13", "DescribeDomainVerifyInfo")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDomainVerifyInfoRequest::~DescribeDomainVerifyInfoRequest()
{}
long DescribeDomainVerifyInfoRequest::getOrderId()const
{
return orderId_;
}
void DescribeDomainVerifyInfoRequest::setOrderId(long orderId)
{
orderId_ = orderId;
setParameter("OrderId", std::to_string(orderId));
}
std::string DescribeDomainVerifyInfoRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeDomainVerifyInfoRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeDomainVerifyInfoRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeDomainVerifyInfoRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string DescribeDomainVerifyInfoRequest::getLang()const
{
return lang_;
}
void DescribeDomainVerifyInfoRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

@@ -1,93 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeDomainVerifyInfoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cas;
using namespace AlibabaCloud::Cas::Model;
DescribeDomainVerifyInfoResult::DescribeDomainVerifyInfoResult() :
ServiceResult()
{}
DescribeDomainVerifyInfoResult::DescribeDomainVerifyInfoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDomainVerifyInfoResult::~DescribeDomainVerifyInfoResult()
{}
void DescribeDomainVerifyInfoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Type"].isNull())
type_ = value["Type"].asString();
if(!value["CheckName"].isNull())
checkName_ = value["CheckName"].asString();
if(!value["CheckValue"].isNull())
checkValue_ = value["CheckValue"].asString();
if(!value["ModifiedTime"].isNull())
modifiedTime_ = value["ModifiedTime"].asString();
if(!value["CheckType"].isNull())
checkType_ = value["CheckType"].asString();
if(!value["CheckName1"].isNull())
checkName1_ = value["CheckName1"].asString();
if(!value["CheckName2"].isNull())
checkName2_ = value["CheckName2"].asString();
}
std::string DescribeDomainVerifyInfoResult::getType()const
{
return type_;
}
std::string DescribeDomainVerifyInfoResult::getCheckName()const
{
return checkName_;
}
std::string DescribeDomainVerifyInfoResult::getModifiedTime()const
{
return modifiedTime_;
}
std::string DescribeDomainVerifyInfoResult::getCheckType()const
{
return checkType_;
}
std::string DescribeDomainVerifyInfoResult::getCheckName1()const
{
return checkName1_;
}
std::string DescribeDomainVerifyInfoResult::getCheckName2()const
{
return checkName2_;
}
std::string DescribeDomainVerifyInfoResult::getCheckValue()const
{
return checkValue_;
}

View File

@@ -1,84 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeDownloadCertificateRequest.h>
using AlibabaCloud::Cas::Model::DescribeDownloadCertificateRequest;
DescribeDownloadCertificateRequest::DescribeDownloadCertificateRequest() :
RpcServiceRequest("cas", "2018-08-13", "DescribeDownloadCertificate")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDownloadCertificateRequest::~DescribeDownloadCertificateRequest()
{}
std::string DescribeDownloadCertificateRequest::getServerType()const
{
return serverType_;
}
void DescribeDownloadCertificateRequest::setServerType(const std::string& serverType)
{
serverType_ = serverType;
setParameter("ServerType", serverType);
}
long DescribeDownloadCertificateRequest::getCertificateId()const
{
return certificateId_;
}
void DescribeDownloadCertificateRequest::setCertificateId(long certificateId)
{
certificateId_ = certificateId;
setParameter("CertificateId", std::to_string(certificateId));
}
std::string DescribeDownloadCertificateRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeDownloadCertificateRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeDownloadCertificateRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeDownloadCertificateRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string DescribeDownloadCertificateRequest::getLang()const
{
return lang_;
}
void DescribeDownloadCertificateRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

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

View File

@@ -1,73 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeDownloadDomainVerifyConfigurationRequest.h>
using AlibabaCloud::Cas::Model::DescribeDownloadDomainVerifyConfigurationRequest;
DescribeDownloadDomainVerifyConfigurationRequest::DescribeDownloadDomainVerifyConfigurationRequest() :
RpcServiceRequest("cas", "2018-08-13", "DescribeDownloadDomainVerifyConfiguration")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDownloadDomainVerifyConfigurationRequest::~DescribeDownloadDomainVerifyConfigurationRequest()
{}
long DescribeDownloadDomainVerifyConfigurationRequest::getOrderId()const
{
return orderId_;
}
void DescribeDownloadDomainVerifyConfigurationRequest::setOrderId(long orderId)
{
orderId_ = orderId;
setParameter("OrderId", std::to_string(orderId));
}
std::string DescribeDownloadDomainVerifyConfigurationRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeDownloadDomainVerifyConfigurationRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeDownloadDomainVerifyConfigurationRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeDownloadDomainVerifyConfigurationRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string DescribeDownloadDomainVerifyConfigurationRequest::getLang()const
{
return lang_;
}
void DescribeDownloadDomainVerifyConfigurationRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

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

View File

@@ -1,84 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeExpectationResultRequest.h>
using AlibabaCloud::Cas::Model::DescribeExpectationResultRequest;
DescribeExpectationResultRequest::DescribeExpectationResultRequest() :
RpcServiceRequest("cas", "2018-08-13", "DescribeExpectationResult")
{
setMethod(HttpRequest::Method::Post);
}
DescribeExpectationResultRequest::~DescribeExpectationResultRequest()
{}
long DescribeExpectationResultRequest::getOrderId()const
{
return orderId_;
}
void DescribeExpectationResultRequest::setOrderId(long orderId)
{
orderId_ = orderId;
setParameter("OrderId", std::to_string(orderId));
}
std::string DescribeExpectationResultRequest::getExpectationType()const
{
return expectationType_;
}
void DescribeExpectationResultRequest::setExpectationType(const std::string& expectationType)
{
expectationType_ = expectationType;
setParameter("ExpectationType", expectationType);
}
std::string DescribeExpectationResultRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeExpectationResultRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeExpectationResultRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeExpectationResultRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string DescribeExpectationResultRequest::getLang()const
{
return lang_;
}
void DescribeExpectationResultRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

@@ -1,107 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeExpectationResultResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cas;
using namespace AlibabaCloud::Cas::Model;
DescribeExpectationResultResult::DescribeExpectationResultResult() :
ServiceResult()
{}
DescribeExpectationResultResult::DescribeExpectationResultResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeExpectationResultResult::~DescribeExpectationResultResult()
{}
void DescribeExpectationResultResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ExpectationType"].isNull())
expectationType_ = value["ExpectationType"].asString();
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["ProcessStatus"].isNull())
processStatus_ = value["ProcessStatus"].asString();
if(!value["CheckName"].isNull())
checkName_ = value["CheckName"].asString();
if(!value["CheckValue"].isNull())
checkValue_ = value["CheckValue"].asString();
if(!value["ModifiedTime"].isNull())
modifiedTime_ = value["ModifiedTime"].asString();
if(!value["CheckType"].isNull())
checkType_ = value["CheckType"].asString();
if(!value["CheckName1"].isNull())
checkName1_ = value["CheckName1"].asString();
if(!value["CheckName2"].isNull())
checkName2_ = value["CheckName2"].asString();
}
std::string DescribeExpectationResultResult::getCheckName()const
{
return checkName_;
}
std::string DescribeExpectationResultResult::getModifiedTime()const
{
return modifiedTime_;
}
std::string DescribeExpectationResultResult::getProcessStatus()const
{
return processStatus_;
}
std::string DescribeExpectationResultResult::getExpectationType()const
{
return expectationType_;
}
std::string DescribeExpectationResultResult::getCheckType()const
{
return checkType_;
}
std::string DescribeExpectationResultResult::getCheckName1()const
{
return checkName1_;
}
std::string DescribeExpectationResultResult::getCheckName2()const
{
return checkName2_;
}
std::string DescribeExpectationResultResult::getErrorMessage()const
{
return errorMessage_;
}
std::string DescribeExpectationResultResult::getCheckValue()const
{
return checkValue_;
}

View File

@@ -1,73 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeHelpListRequest.h>
using AlibabaCloud::Cas::Model::DescribeHelpListRequest;
DescribeHelpListRequest::DescribeHelpListRequest() :
RpcServiceRequest("cas", "2018-08-13", "DescribeHelpList")
{
setMethod(HttpRequest::Method::Post);
}
DescribeHelpListRequest::~DescribeHelpListRequest()
{}
std::string DescribeHelpListRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeHelpListRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeHelpListRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeHelpListRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string DescribeHelpListRequest::getCategory()const
{
return category_;
}
void DescribeHelpListRequest::setCategory(const std::string& category)
{
category_ = category;
setParameter("Category", category);
}
std::string DescribeHelpListRequest::getLang()const
{
return lang_;
}
void DescribeHelpListRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

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

View File

@@ -1,62 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeLocationListRequest.h>
using AlibabaCloud::Cas::Model::DescribeLocationListRequest;
DescribeLocationListRequest::DescribeLocationListRequest() :
RpcServiceRequest("cas", "2018-08-13", "DescribeLocationList")
{
setMethod(HttpRequest::Method::Post);
}
DescribeLocationListRequest::~DescribeLocationListRequest()
{}
std::string DescribeLocationListRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeLocationListRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeLocationListRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeLocationListRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string DescribeLocationListRequest::getLang()const
{
return lang_;
}
void DescribeLocationListRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

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

View File

@@ -1,73 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeOSSDownloadInfoRequest.h>
using AlibabaCloud::Cas::Model::DescribeOSSDownloadInfoRequest;
DescribeOSSDownloadInfoRequest::DescribeOSSDownloadInfoRequest() :
RpcServiceRequest("cas", "2018-08-13", "DescribeOSSDownloadInfo")
{
setMethod(HttpRequest::Method::Post);
}
DescribeOSSDownloadInfoRequest::~DescribeOSSDownloadInfoRequest()
{}
std::string DescribeOSSDownloadInfoRequest::getOssKey()const
{
return ossKey_;
}
void DescribeOSSDownloadInfoRequest::setOssKey(const std::string& ossKey)
{
ossKey_ = ossKey;
setParameter("OssKey", ossKey);
}
std::string DescribeOSSDownloadInfoRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeOSSDownloadInfoRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeOSSDownloadInfoRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeOSSDownloadInfoRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string DescribeOSSDownloadInfoRequest::getLang()const
{
return lang_;
}
void DescribeOSSDownloadInfoRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

@@ -1,84 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeOSSUploadInfoRequest.h>
using AlibabaCloud::Cas::Model::DescribeOSSUploadInfoRequest;
DescribeOSSUploadInfoRequest::DescribeOSSUploadInfoRequest() :
RpcServiceRequest("cas", "2018-08-13", "DescribeOSSUploadInfo")
{
setMethod(HttpRequest::Method::Post);
}
DescribeOSSUploadInfoRequest::~DescribeOSSUploadInfoRequest()
{}
long DescribeOSSUploadInfoRequest::getOrderId()const
{
return orderId_;
}
void DescribeOSSUploadInfoRequest::setOrderId(long orderId)
{
orderId_ = orderId;
setParameter("OrderId", std::to_string(orderId));
}
int DescribeOSSUploadInfoRequest::getDocumentType()const
{
return documentType_;
}
void DescribeOSSUploadInfoRequest::setDocumentType(int documentType)
{
documentType_ = documentType;
setParameter("DocumentType", std::to_string(documentType));
}
std::string DescribeOSSUploadInfoRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeOSSUploadInfoRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeOSSUploadInfoRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeOSSUploadInfoRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string DescribeOSSUploadInfoRequest::getLang()const
{
return lang_;
}
void DescribeOSSUploadInfoRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

@@ -1,86 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeOSSUploadInfoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cas;
using namespace AlibabaCloud::Cas::Model;
DescribeOSSUploadInfoResult::DescribeOSSUploadInfoResult() :
ServiceResult()
{}
DescribeOSSUploadInfoResult::DescribeOSSUploadInfoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeOSSUploadInfoResult::~DescribeOSSUploadInfoResult()
{}
void DescribeOSSUploadInfoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["AccessId"].isNull())
accessId_ = value["AccessId"].asString();
if(!value["Policy"].isNull())
policy_ = value["Policy"].asString();
if(!value["Signature"].isNull())
signature_ = value["Signature"].asString();
if(!value["Key"].isNull())
key_ = value["Key"].asString();
if(!value["Host"].isNull())
host_ = value["Host"].asString();
if(!value["Expire"].isNull())
expire_ = std::stoi(value["Expire"].asString());
}
std::string DescribeOSSUploadInfoResult::getPolicy()const
{
return policy_;
}
int DescribeOSSUploadInfoResult::getExpire()const
{
return expire_;
}
std::string DescribeOSSUploadInfoResult::getAccessId()const
{
return accessId_;
}
std::string DescribeOSSUploadInfoResult::getSignature()const
{
return signature_;
}
std::string DescribeOSSUploadInfoResult::getHost()const
{
return host_;
}
std::string DescribeOSSUploadInfoResult::getKey()const
{
return key_;
}

View File

@@ -1,73 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeOrderAuditFailRecordRequest.h>
using AlibabaCloud::Cas::Model::DescribeOrderAuditFailRecordRequest;
DescribeOrderAuditFailRecordRequest::DescribeOrderAuditFailRecordRequest() :
RpcServiceRequest("cas", "2018-08-13", "DescribeOrderAuditFailRecord")
{
setMethod(HttpRequest::Method::Post);
}
DescribeOrderAuditFailRecordRequest::~DescribeOrderAuditFailRecordRequest()
{}
long DescribeOrderAuditFailRecordRequest::getOrderId()const
{
return orderId_;
}
void DescribeOrderAuditFailRecordRequest::setOrderId(long orderId)
{
orderId_ = orderId;
setParameter("OrderId", std::to_string(orderId));
}
std::string DescribeOrderAuditFailRecordRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeOrderAuditFailRecordRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeOrderAuditFailRecordRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeOrderAuditFailRecordRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string DescribeOrderAuditFailRecordRequest::getLang()const
{
return lang_;
}
void DescribeOrderAuditFailRecordRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

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

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeOrderCountForConsoleIndexRequest.h>
using AlibabaCloud::Cas::Model::DescribeOrderCountForConsoleIndexRequest;
DescribeOrderCountForConsoleIndexRequest::DescribeOrderCountForConsoleIndexRequest() :
RpcServiceRequest("cas", "2018-08-13", "DescribeOrderCountForConsoleIndex")
{
setMethod(HttpRequest::Method::Post);
}
DescribeOrderCountForConsoleIndexRequest::~DescribeOrderCountForConsoleIndexRequest()
{}
std::string DescribeOrderCountForConsoleIndexRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeOrderCountForConsoleIndexRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeOrderCountForConsoleIndexRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeOrderCountForConsoleIndexRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}

View File

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

View File

@@ -1,73 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeOrderDetailRequest.h>
using AlibabaCloud::Cas::Model::DescribeOrderDetailRequest;
DescribeOrderDetailRequest::DescribeOrderDetailRequest() :
RpcServiceRequest("cas", "2018-08-13", "DescribeOrderDetail")
{
setMethod(HttpRequest::Method::Post);
}
DescribeOrderDetailRequest::~DescribeOrderDetailRequest()
{}
long DescribeOrderDetailRequest::getOrderId()const
{
return orderId_;
}
void DescribeOrderDetailRequest::setOrderId(long orderId)
{
orderId_ = orderId;
setParameter("OrderId", std::to_string(orderId));
}
std::string DescribeOrderDetailRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeOrderDetailRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeOrderDetailRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeOrderDetailRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string DescribeOrderDetailRequest::getLang()const
{
return lang_;
}
void DescribeOrderDetailRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

@@ -1,184 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeOrderDetailResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cas;
using namespace AlibabaCloud::Cas::Model;
DescribeOrderDetailResult::DescribeOrderDetailResult() :
ServiceResult()
{}
DescribeOrderDetailResult::DescribeOrderDetailResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeOrderDetailResult::~DescribeOrderDetailResult()
{}
void DescribeOrderDetailResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Id"].isNull())
id_ = std::stol(value["Id"].asString());
if(!value["SourceType"].isNull())
sourceType_ = value["SourceType"].asString();
if(!value["CertType"].isNull())
certType_ = value["CertType"].asString();
if(!value["InstanceId"].isNull())
instanceId_ = value["InstanceId"].asString();
if(!value["Year"].isNull())
year_ = std::stol(value["Year"].asString());
if(!value["OrderId"].isNull())
orderId_ = std::stol(value["OrderId"].asString());
if(!value["OrderType"].isNull())
orderType_ = value["OrderType"].asString();
if(!value["BrandName"].isNull())
brandName_ = value["BrandName"].asString();
if(!value["BuyDate"].isNull())
buyDate_ = std::stol(value["BuyDate"].asString());
if(!value["StatusCode"].isNull())
statusCode_ = value["StatusCode"].asString();
if(!value["Domain"].isNull())
domain_ = value["Domain"].asString();
if(!value["ProductAliasName"].isNull())
productAliasName_ = value["ProductAliasName"].asString();
if(!value["DomainCount"].isNull())
domainCount_ = std::stoi(value["DomainCount"].asString());
if(!value["WildDomainCount"].isNull())
wildDomainCount_ = std::stoi(value["WildDomainCount"].asString());
if(!value["VerifyStatus"].isNull())
verifyStatus_ = std::stoi(value["VerifyStatus"].asString());
if(!value["MaybeIssueDate"].isNull())
maybeIssueDate_ = std::stol(value["MaybeIssueDate"].asString());
if(!value["BeforeDate"].isNull())
beforeDate_ = std::stol(value["BeforeDate"].asString());
if(!value["AfterDate"].isNull())
afterDate_ = std::stol(value["AfterDate"].asString());
if(!value["ShowCancel"].isNull())
showCancel_ = value["ShowCancel"].asString() == "true";
if(!value["ShowRefund"].isNull())
showRefund_ = value["ShowRefund"].asString() == "true";
}
int DescribeOrderDetailResult::getVerifyStatus()const
{
return verifyStatus_;
}
long DescribeOrderDetailResult::getAfterDate()const
{
return afterDate_;
}
bool DescribeOrderDetailResult::getShowRefund()const
{
return showRefund_;
}
std::string DescribeOrderDetailResult::getInstanceId()const
{
return instanceId_;
}
std::string DescribeOrderDetailResult::getSourceType()const
{
return sourceType_;
}
std::string DescribeOrderDetailResult::getCertType()const
{
return certType_;
}
int DescribeOrderDetailResult::getWildDomainCount()const
{
return wildDomainCount_;
}
long DescribeOrderDetailResult::getOrderId()const
{
return orderId_;
}
std::string DescribeOrderDetailResult::getStatusCode()const
{
return statusCode_;
}
std::string DescribeOrderDetailResult::getBrandName()const
{
return brandName_;
}
std::string DescribeOrderDetailResult::getOrderType()const
{
return orderType_;
}
long DescribeOrderDetailResult::getYear()const
{
return year_;
}
bool DescribeOrderDetailResult::getShowCancel()const
{
return showCancel_;
}
std::string DescribeOrderDetailResult::getProductAliasName()const
{
return productAliasName_;
}
long DescribeOrderDetailResult::getMaybeIssueDate()const
{
return maybeIssueDate_;
}
long DescribeOrderDetailResult::getId()const
{
return id_;
}
std::string DescribeOrderDetailResult::getDomain()const
{
return domain_;
}
long DescribeOrderDetailResult::getBuyDate()const
{
return buyDate_;
}
int DescribeOrderDetailResult::getDomainCount()const
{
return domainCount_;
}
long DescribeOrderDetailResult::getBeforeDate()const
{
return beforeDate_;
}

View File

@@ -1,84 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeOrderDocumentRequest.h>
using AlibabaCloud::Cas::Model::DescribeOrderDocumentRequest;
DescribeOrderDocumentRequest::DescribeOrderDocumentRequest() :
RpcServiceRequest("cas", "2018-08-13", "DescribeOrderDocument")
{
setMethod(HttpRequest::Method::Post);
}
DescribeOrderDocumentRequest::~DescribeOrderDocumentRequest()
{}
long DescribeOrderDocumentRequest::getOrderId()const
{
return orderId_;
}
void DescribeOrderDocumentRequest::setOrderId(long orderId)
{
orderId_ = orderId;
setParameter("OrderId", std::to_string(orderId));
}
std::string DescribeOrderDocumentRequest::getType()const
{
return type_;
}
void DescribeOrderDocumentRequest::setType(const std::string& type)
{
type_ = type;
setParameter("Type", type);
}
std::string DescribeOrderDocumentRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeOrderDocumentRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeOrderDocumentRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeOrderDocumentRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string DescribeOrderDocumentRequest::getLang()const
{
return lang_;
}
void DescribeOrderDocumentRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

@@ -1,67 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeOrderDocumentResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cas;
using namespace AlibabaCloud::Cas::Model;
DescribeOrderDocumentResult::DescribeOrderDocumentResult() :
ServiceResult()
{}
DescribeOrderDocumentResult::DescribeOrderDocumentResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeOrderDocumentResult::~DescribeOrderDocumentResult()
{}
void DescribeOrderDocumentResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allOrderDocumentListNode = value["OrderDocumentList"]["OrderDocument"];
for (auto valueOrderDocumentListOrderDocument : allOrderDocumentListNode)
{
OrderDocument orderDocumentListObject;
if(!valueOrderDocumentListOrderDocument["DocumentType"].isNull())
orderDocumentListObject.documentType = std::stoi(valueOrderDocumentListOrderDocument["DocumentType"].asString());
if(!valueOrderDocumentListOrderDocument["TplDocNote"].isNull())
orderDocumentListObject.tplDocNote = valueOrderDocumentListOrderDocument["TplDocNote"].asString();
if(!valueOrderDocumentListOrderDocument["TplDocOssKey"].isNull())
orderDocumentListObject.tplDocOssKey = valueOrderDocumentListOrderDocument["TplDocOssKey"].asString();
if(!valueOrderDocumentListOrderDocument["OrderDocOssKey"].isNull())
orderDocumentListObject.orderDocOssKey = valueOrderDocumentListOrderDocument["OrderDocOssKey"].asString();
if(!valueOrderDocumentListOrderDocument["OrderDocDate"].isNull())
orderDocumentListObject.orderDocDate = std::stol(valueOrderDocumentListOrderDocument["OrderDocDate"].asString());
if(!valueOrderDocumentListOrderDocument["OrderDocExt"].isNull())
orderDocumentListObject.orderDocExt = valueOrderDocumentListOrderDocument["OrderDocExt"].asString();
orderDocumentList_.push_back(orderDocumentListObject);
}
}
std::vector<DescribeOrderDocumentResult::OrderDocument> DescribeOrderDocumentResult::getOrderDocumentList()const
{
return orderDocumentList_;
}

View File

@@ -1,133 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeOrderListRequest.h>
using AlibabaCloud::Cas::Model::DescribeOrderListRequest;
DescribeOrderListRequest::DescribeOrderListRequest() :
RpcServiceRequest("cas", "2018-08-13", "DescribeOrderList")
{
setMethod(HttpRequest::Method::Post);
}
DescribeOrderListRequest::~DescribeOrderListRequest()
{}
std::string DescribeOrderListRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeOrderListRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeOrderListRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeOrderListRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
long DescribeOrderListRequest::getBrandId()const
{
return brandId_;
}
void DescribeOrderListRequest::setBrandId(long brandId)
{
brandId_ = brandId;
setParameter("BrandId", std::to_string(brandId));
}
std::vector<DescribeOrderListRequest::Tag> DescribeOrderListRequest::getTag()const
{
return tag_;
}
void DescribeOrderListRequest::setTag(const std::vector<Tag>& tag)
{
tag_ = tag;
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
auto tagObj = tag.at(dep1);
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
setParameter(tagObjStr + ".Value", tagObj.value);
setParameter(tagObjStr + ".Key", tagObj.key);
}
}
std::string DescribeOrderListRequest::getKeyword()const
{
return keyword_;
}
void DescribeOrderListRequest::setKeyword(const std::string& keyword)
{
keyword_ = keyword;
setParameter("Keyword", keyword);
}
std::string DescribeOrderListRequest::getLang()const
{
return lang_;
}
void DescribeOrderListRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}
int DescribeOrderListRequest::getShowSize()const
{
return showSize_;
}
void DescribeOrderListRequest::setShowSize(int showSize)
{
showSize_ = showSize;
setParameter("ShowSize", std::to_string(showSize));
}
int DescribeOrderListRequest::getCurrentPage()const
{
return currentPage_;
}
void DescribeOrderListRequest::setCurrentPage(int currentPage)
{
currentPage_ = currentPage;
setParameter("CurrentPage", std::to_string(currentPage));
}
std::string DescribeOrderListRequest::getStatus()const
{
return status_;
}
void DescribeOrderListRequest::setStatus(const std::string& status)
{
status_ = status;
setParameter("Status", status);
}

View File

@@ -1,120 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeOrderListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cas;
using namespace AlibabaCloud::Cas::Model;
DescribeOrderListResult::DescribeOrderListResult() :
ServiceResult()
{}
DescribeOrderListResult::DescribeOrderListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeOrderListResult::~DescribeOrderListResult()
{}
void DescribeOrderListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allOrderListNode = value["OrderList"]["Order"];
for (auto valueOrderListOrder : allOrderListNode)
{
Order orderListObject;
if(!valueOrderListOrder["Id"].isNull())
orderListObject.id = std::stol(valueOrderListOrder["Id"].asString());
if(!valueOrderListOrder["SourceType"].isNull())
orderListObject.sourceType = valueOrderListOrder["SourceType"].asString();
if(!valueOrderListOrder["CertType"].isNull())
orderListObject.certType = valueOrderListOrder["CertType"].asString();
if(!valueOrderListOrder["InstanceId"].isNull())
orderListObject.instanceId = valueOrderListOrder["InstanceId"].asString();
if(!valueOrderListOrder["Year"].isNull())
orderListObject.year = std::stol(valueOrderListOrder["Year"].asString());
if(!valueOrderListOrder["OrderId"].isNull())
orderListObject.orderId = std::stol(valueOrderListOrder["OrderId"].asString());
if(!valueOrderListOrder["OrderType"].isNull())
orderListObject.orderType = valueOrderListOrder["OrderType"].asString();
if(!valueOrderListOrder["BrandName"].isNull())
orderListObject.brandName = valueOrderListOrder["BrandName"].asString();
if(!valueOrderListOrder["BuyDate"].isNull())
orderListObject.buyDate = std::stol(valueOrderListOrder["BuyDate"].asString());
if(!valueOrderListOrder["StatusCode"].isNull())
orderListObject.statusCode = valueOrderListOrder["StatusCode"].asString();
if(!valueOrderListOrder["Domain"].isNull())
orderListObject.domain = valueOrderListOrder["Domain"].asString();
if(!valueOrderListOrder["ProductAliasName"].isNull())
orderListObject.productAliasName = valueOrderListOrder["ProductAliasName"].asString();
if(!valueOrderListOrder["DomainCount"].isNull())
orderListObject.domainCount = std::stoi(valueOrderListOrder["DomainCount"].asString());
if(!valueOrderListOrder["WildDomainCount"].isNull())
orderListObject.wildDomainCount = std::stoi(valueOrderListOrder["WildDomainCount"].asString());
if(!valueOrderListOrder["VerifyStatus"].isNull())
orderListObject.verifyStatus = std::stoi(valueOrderListOrder["VerifyStatus"].asString());
if(!valueOrderListOrder["MaybeIssueDate"].isNull())
orderListObject.maybeIssueDate = std::stol(valueOrderListOrder["MaybeIssueDate"].asString());
if(!valueOrderListOrder["BeforeDate"].isNull())
orderListObject.beforeDate = std::stol(valueOrderListOrder["BeforeDate"].asString());
if(!valueOrderListOrder["AfterDate"].isNull())
orderListObject.afterDate = std::stol(valueOrderListOrder["AfterDate"].asString());
if(!valueOrderListOrder["ShowCancel"].isNull())
orderListObject.showCancel = valueOrderListOrder["ShowCancel"].asString() == "true";
if(!valueOrderListOrder["ShowRefund"].isNull())
orderListObject.showRefund = valueOrderListOrder["ShowRefund"].asString() == "true";
if(!valueOrderListOrder["PartnerOrderId"].isNull())
orderListObject.partnerOrderId = valueOrderListOrder["PartnerOrderId"].asString();
if(!valueOrderListOrder["IsFree"].isNull())
orderListObject.isFree = valueOrderListOrder["IsFree"].asString() == "true";
orderList_.push_back(orderListObject);
}
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["ShowSize"].isNull())
showSize_ = std::stoi(value["ShowSize"].asString());
if(!value["CurrentPage"].isNull())
currentPage_ = std::stoi(value["CurrentPage"].asString());
}
int DescribeOrderListResult::getTotalCount()const
{
return totalCount_;
}
int DescribeOrderListResult::getCurrentPage()const
{
return currentPage_;
}
int DescribeOrderListResult::getShowSize()const
{
return showSize_;
}
std::vector<DescribeOrderListResult::Order> DescribeOrderListResult::getOrderList()const
{
return orderList_;
}

View File

@@ -1,73 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeOrderMaterialRequest.h>
using AlibabaCloud::Cas::Model::DescribeOrderMaterialRequest;
DescribeOrderMaterialRequest::DescribeOrderMaterialRequest() :
RpcServiceRequest("cas", "2018-08-13", "DescribeOrderMaterial")
{
setMethod(HttpRequest::Method::Post);
}
DescribeOrderMaterialRequest::~DescribeOrderMaterialRequest()
{}
long DescribeOrderMaterialRequest::getOrderId()const
{
return orderId_;
}
void DescribeOrderMaterialRequest::setOrderId(long orderId)
{
orderId_ = orderId;
setParameter("OrderId", std::to_string(orderId));
}
std::string DescribeOrderMaterialRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeOrderMaterialRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeOrderMaterialRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeOrderMaterialRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string DescribeOrderMaterialRequest::getLang()const
{
return lang_;
}
void DescribeOrderMaterialRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

@@ -1,212 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeOrderMaterialResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cas;
using namespace AlibabaCloud::Cas::Model;
DescribeOrderMaterialResult::DescribeOrderMaterialResult() :
ServiceResult()
{}
DescribeOrderMaterialResult::DescribeOrderMaterialResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeOrderMaterialResult::~DescribeOrderMaterialResult()
{}
void DescribeOrderMaterialResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["CompanyName"].isNull())
companyName_ = value["CompanyName"].asString();
if(!value["CompanyPhone"].isNull())
companyPhone_ = value["CompanyPhone"].asString();
if(!value["CompanyCode"].isNull())
companyCode_ = value["CompanyCode"].asString();
if(!value["PersonName"].isNull())
personName_ = value["PersonName"].asString();
if(!value["PersonPhone"].isNull())
personPhone_ = value["PersonPhone"].asString();
if(!value["PersonEmail"].isNull())
personEmail_ = value["PersonEmail"].asString();
if(!value["CompanyEmail"].isNull())
companyEmail_ = value["CompanyEmail"].asString();
if(!value["CompanyAddress"].isNull())
companyAddress_ = value["CompanyAddress"].asString();
if(!value["PersonIdCardNumber"].isNull())
personIdCardNumber_ = value["PersonIdCardNumber"].asString();
if(!value["CompanyType"].isNull())
companyType_ = std::stoi(value["CompanyType"].asString());
if(!value["City"].isNull())
city_ = value["City"].asString();
if(!value["Province"].isNull())
province_ = value["Province"].asString();
if(!value["CreateCsr"].isNull())
createCsr_ = std::stoi(value["CreateCsr"].asString());
if(!value["PostCode"].isNull())
postCode_ = value["PostCode"].asString();
if(!value["CsrContent"].isNull())
csrContent_ = value["CsrContent"].asString();
if(!value["PersonTitle"].isNull())
personTitle_ = value["PersonTitle"].asString();
if(!value["LeaderName"].isNull())
leaderName_ = value["LeaderName"].asString();
if(!value["LeaderTitle"].isNull())
leaderTitle_ = value["LeaderTitle"].asString();
if(!value["LeaderEmail"].isNull())
leaderEmail_ = value["LeaderEmail"].asString();
if(!value["LeaderPhone"].isNull())
leaderPhone_ = value["LeaderPhone"].asString();
if(!value["CountryCode"].isNull())
countryCode_ = value["CountryCode"].asString();
if(!value["PersonDepartment"].isNull())
personDepartment_ = value["PersonDepartment"].asString();
if(!value["DomainAuthType"].isNull())
domainAuthType_ = std::stoi(value["DomainAuthType"].asString());
if(!value["Domain"].isNull())
domain_ = value["Domain"].asString();
}
std::string DescribeOrderMaterialResult::getPersonName()const
{
return personName_;
}
int DescribeOrderMaterialResult::getDomainAuthType()const
{
return domainAuthType_;
}
std::string DescribeOrderMaterialResult::getPersonIdCardNumber()const
{
return personIdCardNumber_;
}
std::string DescribeOrderMaterialResult::getLeaderName()const
{
return leaderName_;
}
std::string DescribeOrderMaterialResult::getCompanyEmail()const
{
return companyEmail_;
}
std::string DescribeOrderMaterialResult::getPersonPhone()const
{
return personPhone_;
}
int DescribeOrderMaterialResult::getCompanyType()const
{
return companyType_;
}
std::string DescribeOrderMaterialResult::getCity()const
{
return city_;
}
std::string DescribeOrderMaterialResult::getLeaderEmail()const
{
return leaderEmail_;
}
std::string DescribeOrderMaterialResult::getProvince()const
{
return province_;
}
std::string DescribeOrderMaterialResult::getPersonTitle()const
{
return personTitle_;
}
std::string DescribeOrderMaterialResult::getCompanyAddress()const
{
return companyAddress_;
}
std::string DescribeOrderMaterialResult::getCompanyName()const
{
return companyName_;
}
std::string DescribeOrderMaterialResult::getPersonDepartment()const
{
return personDepartment_;
}
int DescribeOrderMaterialResult::getCreateCsr()const
{
return createCsr_;
}
std::string DescribeOrderMaterialResult::getCsrContent()const
{
return csrContent_;
}
std::string DescribeOrderMaterialResult::getPostCode()const
{
return postCode_;
}
std::string DescribeOrderMaterialResult::getCountryCode()const
{
return countryCode_;
}
std::string DescribeOrderMaterialResult::getDomain()const
{
return domain_;
}
std::string DescribeOrderMaterialResult::getPersonEmail()const
{
return personEmail_;
}
std::string DescribeOrderMaterialResult::getLeaderPhone()const
{
return leaderPhone_;
}
std::string DescribeOrderMaterialResult::getCompanyPhone()const
{
return companyPhone_;
}
std::string DescribeOrderMaterialResult::getCompanyCode()const
{
return companyCode_;
}
std::string DescribeOrderMaterialResult::getLeaderTitle()const
{
return leaderTitle_;
}

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cas/model/DescribeOrderRefundRecordRequest.h>
using AlibabaCloud::Cas::Model::DescribeOrderRefundRecordRequest;
DescribeOrderRefundRecordRequest::DescribeOrderRefundRecordRequest() :
RpcServiceRequest("cas", "2018-08-13", "DescribeOrderRefundRecord")
{
setMethod(HttpRequest::Method::Post);
}
DescribeOrderRefundRecordRequest::~DescribeOrderRefundRecordRequest()
{}
std::string DescribeOrderRefundRecordRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeOrderRefundRecordRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeOrderRefundRecordRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeOrderRefundRecordRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}

View File

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

Some files were not shown because too many files have changed in this diff Show More