| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- /*
- * 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/facebody/model/CompareFaceRequest.h>
- using AlibabaCloud::Facebody::Model::CompareFaceRequest;
- CompareFaceRequest::CompareFaceRequest() :
- RpcServiceRequest("facebody", "2019-12-30", "CompareFace")
- {
- setMethod(HttpRequest::Method::Post);
- }
- CompareFaceRequest::~CompareFaceRequest()
- {}
- std::string CompareFaceRequest::getImageDataA()const
- {
- return imageDataA_;
- }
- void CompareFaceRequest::setImageDataA(const std::string& imageDataA)
- {
- imageDataA_ = imageDataA;
- setBodyParameter("ImageDataA", imageDataA);
- }
- std::string CompareFaceRequest::getImageDataB()const
- {
- return imageDataB_;
- }
- void CompareFaceRequest::setImageDataB(const std::string& imageDataB)
- {
- imageDataB_ = imageDataB;
- setBodyParameter("ImageDataB", imageDataB);
- }
- float CompareFaceRequest::getQualityScoreThreshold()const
- {
- return qualityScoreThreshold_;
- }
- void CompareFaceRequest::setQualityScoreThreshold(float qualityScoreThreshold)
- {
- qualityScoreThreshold_ = qualityScoreThreshold;
- setBodyParameter("QualityScoreThreshold", std::to_string(qualityScoreThreshold));
- }
- std::string CompareFaceRequest::getImageURLB()const
- {
- return imageURLB_;
- }
- void CompareFaceRequest::setImageURLB(const std::string& imageURLB)
- {
- imageURLB_ = imageURLB;
- setBodyParameter("ImageURLB", imageURLB);
- }
- std::string CompareFaceRequest::getImageURLA()const
- {
- return imageURLA_;
- }
- void CompareFaceRequest::setImageURLA(const std::string& imageURLA)
- {
- imageURLA_ = imageURLA;
- setBodyParameter("ImageURLA", imageURLA);
- }
- int CompareFaceRequest::getImageType()const
- {
- return imageType_;
- }
- void CompareFaceRequest::setImageType(int imageType)
- {
- imageType_ = imageType;
- setBodyParameter("ImageType", std::to_string(imageType));
- }
|