Files
aliyun-openapi-cpp-sdk/cas/src/model/DecryptRequest.cc
2022-11-03 10:52:42 +00:00

73 lines
2.1 KiB
C++

/*
* 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);
}