1 /* 2 * Copyright 2009-2017 Alibaba Cloud All rights reserved. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 #ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZETABLEREQUEST_H_ 18 #define ALIBABACLOUD_OCR_MODEL_RECOGNIZETABLEREQUEST_H_ 19 20 #include <string> 21 #include <vector> 22 #include <alibabacloud/core/RpcServiceRequest.h> 23 #include <alibabacloud/ocr/OcrExport.h> 24 25 namespace AlibabaCloud 26 { 27 namespace Ocr 28 { 29 namespace Model 30 { 31 class ALIBABACLOUD_OCR_EXPORT RecognizeTableRequest : public RpcServiceRequest 32 { 33 34 public: 35 RecognizeTableRequest(); 36 ~RecognizeTableRequest(); 37 38 int getImageType()const; 39 void setImageType(int imageType); 40 bool getUseFinanceModel()const; 41 void setUseFinanceModel(bool useFinanceModel); 42 bool getSkipDetection()const; 43 void setSkipDetection(bool skipDetection); 44 std::string getImageURL()const; 45 void setImageURL(const std::string& imageURL); 46 std::string getOutputFormat()const; 47 void setOutputFormat(const std::string& outputFormat); 48 bool getAssureDirection()const; 49 void setAssureDirection(bool assureDirection); 50 bool getHasLine()const; 51 void setHasLine(bool hasLine); 52 53 private: 54 int imageType_; 55 bool useFinanceModel_; 56 bool skipDetection_; 57 std::string imageURL_; 58 std::string outputFormat_; 59 bool assureDirection_; 60 bool hasLine_; 61 62 }; 63 } 64 } 65 } 66 #endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZETABLEREQUEST_H_