Release RecognizeVATInvoice.
This commit is contained in:
@@ -1,42 +1,48 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_DETECTCARDSCREENSHOTREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_DETECTCARDSCREENSHOTREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_DETECTCARDSCREENSHOTREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_DETECTCARDSCREENSHOTREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT DetectCardScreenshotRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
DetectCardScreenshotRequest();
|
class ALIBABACLOUD_OCR_EXPORT DetectCardScreenshotRequest : public RpcServiceRequest
|
||||||
~DetectCardScreenshotRequest();
|
{
|
||||||
std::string getImageURL() const;
|
|
||||||
void setImageURL(const std::string &imageURL);
|
public:
|
||||||
|
DetectCardScreenshotRequest();
|
||||||
private:
|
~DetectCardScreenshotRequest();
|
||||||
std::string imageURL_;
|
|
||||||
};
|
std::string getImageURL()const;
|
||||||
} // namespace Model
|
void setImageURL(const std::string& imageURL);
|
||||||
} // namespace Ocr
|
|
||||||
} // namespace AlibabaCloud
|
private:
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_DETECTCARDSCREENSHOTREQUEST_H_
|
std::string imageURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_DETECTCARDSCREENSHOTREQUEST_H_
|
||||||
@@ -1,45 +1,51 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_GETASYNCJOBRESULTREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_GETASYNCJOBRESULTREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_GETASYNCJOBRESULTREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_GETASYNCJOBRESULTREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT GetAsyncJobResultRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
GetAsyncJobResultRequest();
|
class ALIBABACLOUD_OCR_EXPORT GetAsyncJobResultRequest : public RpcServiceRequest
|
||||||
~GetAsyncJobResultRequest();
|
{
|
||||||
std::string getJobId() const;
|
|
||||||
void setJobId(const std::string &jobId);
|
public:
|
||||||
bool getAsync() const;
|
GetAsyncJobResultRequest();
|
||||||
void setAsync(bool async);
|
~GetAsyncJobResultRequest();
|
||||||
|
|
||||||
private:
|
std::string getJobId()const;
|
||||||
std::string jobId_;
|
void setJobId(const std::string& jobId);
|
||||||
bool async_;
|
bool getAsync()const;
|
||||||
};
|
void setAsync(bool async);
|
||||||
} // namespace Model
|
|
||||||
} // namespace Ocr
|
private:
|
||||||
} // namespace AlibabaCloud
|
std::string jobId_;
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_GETASYNCJOBRESULTREQUEST_H_
|
bool async_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_GETASYNCJOBRESULTREQUEST_H_
|
||||||
@@ -1,45 +1,51 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEACCOUNTPAGEREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEACCOUNTPAGEREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEACCOUNTPAGEREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEACCOUNTPAGEREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeAccountPageRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeAccountPageRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeAccountPageRequest : public RpcServiceRequest
|
||||||
~RecognizeAccountPageRequest();
|
{
|
||||||
int getImageType() const;
|
|
||||||
void setImageType(int imageType);
|
public:
|
||||||
std::string getImageURL() const;
|
RecognizeAccountPageRequest();
|
||||||
void setImageURL(const std::string &imageURL);
|
~RecognizeAccountPageRequest();
|
||||||
|
|
||||||
private:
|
int getImageType()const;
|
||||||
int imageType_;
|
void setImageType(int imageType);
|
||||||
std::string imageURL_;
|
std::string getImageURL()const;
|
||||||
};
|
void setImageURL(const std::string& imageURL);
|
||||||
} // namespace Model
|
|
||||||
} // namespace Ocr
|
private:
|
||||||
} // namespace AlibabaCloud
|
int imageType_;
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEACCOUNTPAGEREQUEST_H_
|
std::string imageURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEACCOUNTPAGEREQUEST_H_
|
||||||
@@ -1,45 +1,51 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEBANKCARDREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEBANKCARDREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEBANKCARDREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEBANKCARDREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeBankCardRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeBankCardRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeBankCardRequest : public RpcServiceRequest
|
||||||
~RecognizeBankCardRequest();
|
{
|
||||||
int getImageType() const;
|
|
||||||
void setImageType(int imageType);
|
public:
|
||||||
std::string getImageURL() const;
|
RecognizeBankCardRequest();
|
||||||
void setImageURL(const std::string &imageURL);
|
~RecognizeBankCardRequest();
|
||||||
|
|
||||||
private:
|
int getImageType()const;
|
||||||
int imageType_;
|
void setImageType(int imageType);
|
||||||
std::string imageURL_;
|
std::string getImageURL()const;
|
||||||
};
|
void setImageURL(const std::string& imageURL);
|
||||||
} // namespace Model
|
|
||||||
} // namespace Ocr
|
private:
|
||||||
} // namespace AlibabaCloud
|
int imageType_;
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEBANKCARDREQUEST_H_
|
std::string imageURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEBANKCARDREQUEST_H_
|
||||||
@@ -1,45 +1,51 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEBUSINESSCARDREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEBUSINESSCARDREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEBUSINESSCARDREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEBUSINESSCARDREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeBusinessCardRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeBusinessCardRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeBusinessCardRequest : public RpcServiceRequest
|
||||||
~RecognizeBusinessCardRequest();
|
{
|
||||||
int getImageType() const;
|
|
||||||
void setImageType(int imageType);
|
public:
|
||||||
std::string getImageURL() const;
|
RecognizeBusinessCardRequest();
|
||||||
void setImageURL(const std::string &imageURL);
|
~RecognizeBusinessCardRequest();
|
||||||
|
|
||||||
private:
|
int getImageType()const;
|
||||||
int imageType_;
|
void setImageType(int imageType);
|
||||||
std::string imageURL_;
|
std::string getImageURL()const;
|
||||||
};
|
void setImageURL(const std::string& imageURL);
|
||||||
} // namespace Model
|
|
||||||
} // namespace Ocr
|
private:
|
||||||
} // namespace AlibabaCloud
|
int imageType_;
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEBUSINESSCARDREQUEST_H_
|
std::string imageURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEBUSINESSCARDREQUEST_H_
|
||||||
@@ -1,45 +1,51 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEBUSINESSLICENSEREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEBUSINESSLICENSEREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEBUSINESSLICENSEREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEBUSINESSLICENSEREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeBusinessLicenseRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeBusinessLicenseRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeBusinessLicenseRequest : public RpcServiceRequest
|
||||||
~RecognizeBusinessLicenseRequest();
|
{
|
||||||
int getImageType() const;
|
|
||||||
void setImageType(int imageType);
|
public:
|
||||||
std::string getImageURL() const;
|
RecognizeBusinessLicenseRequest();
|
||||||
void setImageURL(const std::string &imageURL);
|
~RecognizeBusinessLicenseRequest();
|
||||||
|
|
||||||
private:
|
int getImageType()const;
|
||||||
int imageType_;
|
void setImageType(int imageType);
|
||||||
std::string imageURL_;
|
std::string getImageURL()const;
|
||||||
};
|
void setImageURL(const std::string& imageURL);
|
||||||
} // namespace Model
|
|
||||||
} // namespace Ocr
|
private:
|
||||||
} // namespace AlibabaCloud
|
int imageType_;
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEBUSINESSLICENSEREQUEST_H_
|
std::string imageURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEBUSINESSLICENSEREQUEST_H_
|
||||||
@@ -1,51 +1,66 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZECHARACTERREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZECHARACTERREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZECHARACTERREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZECHARACTERREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeCharacterRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeCharacterRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeCharacterRequest : public RpcServiceRequest
|
||||||
~RecognizeCharacterRequest();
|
{
|
||||||
int getMinHeight() const;
|
|
||||||
void setMinHeight(int minHeight);
|
public:
|
||||||
int getImageType() const;
|
RecognizeCharacterRequest();
|
||||||
void setImageType(int imageType);
|
~RecognizeCharacterRequest();
|
||||||
bool getOutputProbability() const;
|
|
||||||
void setOutputProbability(bool outputProbability);
|
bool getFormatResultToJson()const;
|
||||||
std::string getImageURL() const;
|
void setFormatResultToJson(bool formatResultToJson);
|
||||||
void setImageURL(const std::string &imageURL);
|
int getMinHeight()const;
|
||||||
|
void setMinHeight(int minHeight);
|
||||||
private:
|
std::string getOssFile()const;
|
||||||
int minHeight_;
|
void setOssFile(const std::string& ossFile);
|
||||||
int imageType_;
|
int getImageType()const;
|
||||||
bool outputProbability_;
|
void setImageType(int imageType);
|
||||||
std::string imageURL_;
|
std::string getRequestProxyBy()const;
|
||||||
};
|
void setRequestProxyBy(const std::string& requestProxyBy);
|
||||||
} // namespace Model
|
bool getOutputProbability()const;
|
||||||
} // namespace Ocr
|
void setOutputProbability(bool outputProbability);
|
||||||
} // namespace AlibabaCloud
|
std::string getImageURL()const;
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZECHARACTERREQUEST_H_
|
void setImageURL(const std::string& imageURL);
|
||||||
|
|
||||||
|
private:
|
||||||
|
bool formatResultToJson_;
|
||||||
|
int minHeight_;
|
||||||
|
std::string ossFile_;
|
||||||
|
int imageType_;
|
||||||
|
std::string requestProxyBy_;
|
||||||
|
bool outputProbability_;
|
||||||
|
std::string imageURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZECHARACTERREQUEST_H_
|
||||||
@@ -1,42 +1,48 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZECHINAPASSPORTREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZECHINAPASSPORTREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZECHINAPASSPORTREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZECHINAPASSPORTREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeChinapassportRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeChinapassportRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeChinapassportRequest : public RpcServiceRequest
|
||||||
~RecognizeChinapassportRequest();
|
{
|
||||||
std::string getImageURL() const;
|
|
||||||
void setImageURL(const std::string &imageURL);
|
public:
|
||||||
|
RecognizeChinapassportRequest();
|
||||||
private:
|
~RecognizeChinapassportRequest();
|
||||||
std::string imageURL_;
|
|
||||||
};
|
std::string getImageURL()const;
|
||||||
} // namespace Model
|
void setImageURL(const std::string& imageURL);
|
||||||
} // namespace Ocr
|
|
||||||
} // namespace AlibabaCloud
|
private:
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZECHINAPASSPORTREQUEST_H_
|
std::string imageURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZECHINAPASSPORTREQUEST_H_
|
||||||
@@ -1,48 +1,54 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEDRIVERLICENSEREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEDRIVERLICENSEREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEDRIVERLICENSEREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEDRIVERLICENSEREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeDriverLicenseRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeDriverLicenseRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeDriverLicenseRequest : public RpcServiceRequest
|
||||||
~RecognizeDriverLicenseRequest();
|
{
|
||||||
int getImageType() const;
|
|
||||||
void setImageType(int imageType);
|
public:
|
||||||
std::string getSide() const;
|
RecognizeDriverLicenseRequest();
|
||||||
void setSide(const std::string &side);
|
~RecognizeDriverLicenseRequest();
|
||||||
std::string getImageURL() const;
|
|
||||||
void setImageURL(const std::string &imageURL);
|
int getImageType()const;
|
||||||
|
void setImageType(int imageType);
|
||||||
private:
|
std::string getSide()const;
|
||||||
int imageType_;
|
void setSide(const std::string& side);
|
||||||
std::string side_;
|
std::string getImageURL()const;
|
||||||
std::string imageURL_;
|
void setImageURL(const std::string& imageURL);
|
||||||
};
|
|
||||||
} // namespace Model
|
private:
|
||||||
} // namespace Ocr
|
int imageType_;
|
||||||
} // namespace AlibabaCloud
|
std::string side_;
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEDRIVERLICENSEREQUEST_H_
|
std::string imageURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEDRIVERLICENSEREQUEST_H_
|
||||||
@@ -1,48 +1,54 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEDRIVINGLICENSEREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEDRIVINGLICENSEREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEDRIVINGLICENSEREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEDRIVINGLICENSEREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeDrivingLicenseRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeDrivingLicenseRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeDrivingLicenseRequest : public RpcServiceRequest
|
||||||
~RecognizeDrivingLicenseRequest();
|
{
|
||||||
int getImageType() const;
|
|
||||||
void setImageType(int imageType);
|
public:
|
||||||
std::string getSide() const;
|
RecognizeDrivingLicenseRequest();
|
||||||
void setSide(const std::string &side);
|
~RecognizeDrivingLicenseRequest();
|
||||||
std::string getImageURL() const;
|
|
||||||
void setImageURL(const std::string &imageURL);
|
int getImageType()const;
|
||||||
|
void setImageType(int imageType);
|
||||||
private:
|
std::string getSide()const;
|
||||||
int imageType_;
|
void setSide(const std::string& side);
|
||||||
std::string side_;
|
std::string getImageURL()const;
|
||||||
std::string imageURL_;
|
void setImageURL(const std::string& imageURL);
|
||||||
};
|
|
||||||
} // namespace Model
|
private:
|
||||||
} // namespace Ocr
|
int imageType_;
|
||||||
} // namespace AlibabaCloud
|
std::string side_;
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEDRIVINGLICENSEREQUEST_H_
|
std::string imageURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEDRIVINGLICENSEREQUEST_H_
|
||||||
@@ -1,48 +1,54 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEIDENTITYCARDREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEIDENTITYCARDREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEIDENTITYCARDREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEIDENTITYCARDREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeIdentityCardRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeIdentityCardRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeIdentityCardRequest : public RpcServiceRequest
|
||||||
~RecognizeIdentityCardRequest();
|
{
|
||||||
int getImageType() const;
|
|
||||||
void setImageType(int imageType);
|
public:
|
||||||
std::string getSide() const;
|
RecognizeIdentityCardRequest();
|
||||||
void setSide(const std::string &side);
|
~RecognizeIdentityCardRequest();
|
||||||
std::string getImageURL() const;
|
|
||||||
void setImageURL(const std::string &imageURL);
|
int getImageType()const;
|
||||||
|
void setImageType(int imageType);
|
||||||
private:
|
std::string getSide()const;
|
||||||
int imageType_;
|
void setSide(const std::string& side);
|
||||||
std::string side_;
|
std::string getImageURL()const;
|
||||||
std::string imageURL_;
|
void setImageURL(const std::string& imageURL);
|
||||||
};
|
|
||||||
} // namespace Model
|
private:
|
||||||
} // namespace Ocr
|
int imageType_;
|
||||||
} // namespace AlibabaCloud
|
std::string side_;
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEIDENTITYCARDREQUEST_H_
|
std::string imageURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEIDENTITYCARDREQUEST_H_
|
||||||
@@ -1,42 +1,48 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEINDONESIAIDENTITYCARDREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEINDONESIAIDENTITYCARDREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEINDONESIAIDENTITYCARDREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEINDONESIAIDENTITYCARDREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeIndonesiaIdentityCardRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeIndonesiaIdentityCardRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeIndonesiaIdentityCardRequest : public RpcServiceRequest
|
||||||
~RecognizeIndonesiaIdentityCardRequest();
|
{
|
||||||
std::string getImageUrl() const;
|
|
||||||
void setImageUrl(const std::string &imageUrl);
|
public:
|
||||||
|
RecognizeIndonesiaIdentityCardRequest();
|
||||||
private:
|
~RecognizeIndonesiaIdentityCardRequest();
|
||||||
std::string imageUrl_;
|
|
||||||
};
|
std::string getImageUrl()const;
|
||||||
} // namespace Model
|
void setImageUrl(const std::string& imageUrl);
|
||||||
} // namespace Ocr
|
|
||||||
} // namespace AlibabaCloud
|
private:
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEINDONESIAIDENTITYCARDREQUEST_H_
|
std::string imageUrl_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEINDONESIAIDENTITYCARDREQUEST_H_
|
||||||
@@ -1,45 +1,51 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZELICENSEPLATEREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZELICENSEPLATEREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZELICENSEPLATEREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZELICENSEPLATEREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeLicensePlateRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeLicensePlateRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeLicensePlateRequest : public RpcServiceRequest
|
||||||
~RecognizeLicensePlateRequest();
|
{
|
||||||
int getImageType() const;
|
|
||||||
void setImageType(int imageType);
|
public:
|
||||||
std::string getImageURL() const;
|
RecognizeLicensePlateRequest();
|
||||||
void setImageURL(const std::string &imageURL);
|
~RecognizeLicensePlateRequest();
|
||||||
|
|
||||||
private:
|
int getImageType()const;
|
||||||
int imageType_;
|
void setImageType(int imageType);
|
||||||
std::string imageURL_;
|
std::string getImageURL()const;
|
||||||
};
|
void setImageURL(const std::string& imageURL);
|
||||||
} // namespace Model
|
|
||||||
} // namespace Ocr
|
private:
|
||||||
} // namespace AlibabaCloud
|
int imageType_;
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZELICENSEPLATEREQUEST_H_
|
std::string imageURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZELICENSEPLATEREQUEST_H_
|
||||||
@@ -1,42 +1,48 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEMALAYSIAIDENTITYCARDREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEMALAYSIAIDENTITYCARDREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEMALAYSIAIDENTITYCARDREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEMALAYSIAIDENTITYCARDREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeMalaysiaIdentityCardRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeMalaysiaIdentityCardRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeMalaysiaIdentityCardRequest : public RpcServiceRequest
|
||||||
~RecognizeMalaysiaIdentityCardRequest();
|
{
|
||||||
std::string getImageUrl() const;
|
|
||||||
void setImageUrl(const std::string &imageUrl);
|
public:
|
||||||
|
RecognizeMalaysiaIdentityCardRequest();
|
||||||
private:
|
~RecognizeMalaysiaIdentityCardRequest();
|
||||||
std::string imageUrl_;
|
|
||||||
};
|
std::string getImageUrl()const;
|
||||||
} // namespace Model
|
void setImageUrl(const std::string& imageUrl);
|
||||||
} // namespace Ocr
|
|
||||||
} // namespace AlibabaCloud
|
private:
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEMALAYSIAIDENTITYCARDREQUEST_H_
|
std::string imageUrl_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEMALAYSIAIDENTITYCARDREQUEST_H_
|
||||||
@@ -1,42 +1,48 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEPASSPORTMRZREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEPASSPORTMRZREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEPASSPORTMRZREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEPASSPORTMRZREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizePassportMRZRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizePassportMRZRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizePassportMRZRequest : public RpcServiceRequest
|
||||||
~RecognizePassportMRZRequest();
|
{
|
||||||
std::string getImageURL() const;
|
|
||||||
void setImageURL(const std::string &imageURL);
|
public:
|
||||||
|
RecognizePassportMRZRequest();
|
||||||
private:
|
~RecognizePassportMRZRequest();
|
||||||
std::string imageURL_;
|
|
||||||
};
|
std::string getImageURL()const;
|
||||||
} // namespace Model
|
void setImageURL(const std::string& imageURL);
|
||||||
} // namespace Ocr
|
|
||||||
} // namespace AlibabaCloud
|
private:
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEPASSPORTMRZREQUEST_H_
|
std::string imageURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEPASSPORTMRZREQUEST_H_
|
||||||
@@ -1,42 +1,48 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEPDFREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEPDFREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEPDFREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEPDFREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizePdfRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizePdfRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizePdfRequest : public RpcServiceRequest
|
||||||
~RecognizePdfRequest();
|
{
|
||||||
std::string getFileURL() const;
|
|
||||||
void setFileURL(const std::string &fileURL);
|
public:
|
||||||
|
RecognizePdfRequest();
|
||||||
private:
|
~RecognizePdfRequest();
|
||||||
std::string fileURL_;
|
|
||||||
};
|
std::string getFileURL()const;
|
||||||
} // namespace Model
|
void setFileURL(const std::string& fileURL);
|
||||||
} // namespace Ocr
|
|
||||||
} // namespace AlibabaCloud
|
private:
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEPDFREQUEST_H_
|
std::string fileURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEPDFREQUEST_H_
|
||||||
@@ -1,42 +1,48 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEPOINAMEREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEPOINAMEREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEPOINAMEREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEPOINAMEREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizePoiNameRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizePoiNameRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizePoiNameRequest : public RpcServiceRequest
|
||||||
~RecognizePoiNameRequest();
|
{
|
||||||
std::string getImageURL() const;
|
|
||||||
void setImageURL(const std::string &imageURL);
|
public:
|
||||||
|
RecognizePoiNameRequest();
|
||||||
private:
|
~RecognizePoiNameRequest();
|
||||||
std::string imageURL_;
|
|
||||||
};
|
std::string getImageURL()const;
|
||||||
} // namespace Model
|
void setImageURL(const std::string& imageURL);
|
||||||
} // namespace Ocr
|
|
||||||
} // namespace AlibabaCloud
|
private:
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEPOINAMEREQUEST_H_
|
std::string imageURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEPOINAMEREQUEST_H_
|
||||||
@@ -1,45 +1,62 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEQRCODEREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEQRCODEREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEQRCODEREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEQRCODEREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeQrCodeRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
struct Tasks {
|
class ALIBABACLOUD_OCR_EXPORT RecognizeQrCodeRequest : public RpcServiceRequest
|
||||||
std::string imageURL;
|
{
|
||||||
};
|
public:
|
||||||
RecognizeQrCodeRequest();
|
struct Tasks
|
||||||
~RecognizeQrCodeRequest();
|
{
|
||||||
std::vector<Tasks> getTasks() const;
|
std::string imageURL;
|
||||||
void setTasks(const std::vector<Tasks> &tasks);
|
};
|
||||||
|
|
||||||
private:
|
public:
|
||||||
std::vector<Tasks> tasks_;
|
RecognizeQrCodeRequest();
|
||||||
};
|
~RecognizeQrCodeRequest();
|
||||||
} // namespace Model
|
|
||||||
} // namespace Ocr
|
bool getFormatResultToJson()const;
|
||||||
} // namespace AlibabaCloud
|
void setFormatResultToJson(bool formatResultToJson);
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEQRCODEREQUEST_H_
|
std::string getOssFile()const;
|
||||||
|
void setOssFile(const std::string& ossFile);
|
||||||
|
std::vector<Tasks> getTasks()const;
|
||||||
|
void setTasks(const std::vector<Tasks>& tasks);
|
||||||
|
std::string getRequestProxyBy()const;
|
||||||
|
void setRequestProxyBy(const std::string& requestProxyBy);
|
||||||
|
|
||||||
|
private:
|
||||||
|
bool formatResultToJson_;
|
||||||
|
std::string ossFile_;
|
||||||
|
std::vector<Tasks> tasks_;
|
||||||
|
std::string requestProxyBy_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEQRCODEREQUEST_H_
|
||||||
@@ -1,42 +1,48 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEQUOTAINVOICEREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEQUOTAINVOICEREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEQUOTAINVOICEREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEQUOTAINVOICEREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeQuotaInvoiceRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeQuotaInvoiceRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeQuotaInvoiceRequest : public RpcServiceRequest
|
||||||
~RecognizeQuotaInvoiceRequest();
|
{
|
||||||
std::string getImageURL() const;
|
|
||||||
void setImageURL(const std::string &imageURL);
|
public:
|
||||||
|
RecognizeQuotaInvoiceRequest();
|
||||||
private:
|
~RecognizeQuotaInvoiceRequest();
|
||||||
std::string imageURL_;
|
|
||||||
};
|
std::string getImageURL()const;
|
||||||
} // namespace Model
|
void setImageURL(const std::string& imageURL);
|
||||||
} // namespace Ocr
|
|
||||||
} // namespace AlibabaCloud
|
private:
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEQUOTAINVOICEREQUEST_H_
|
std::string imageURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEQUOTAINVOICEREQUEST_H_
|
||||||
@@ -1,42 +1,48 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZERUSSIAIDENTITYCARDREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZERUSSIAIDENTITYCARDREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZERUSSIAIDENTITYCARDREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZERUSSIAIDENTITYCARDREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeRussiaIdentityCardRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeRussiaIdentityCardRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeRussiaIdentityCardRequest : public RpcServiceRequest
|
||||||
~RecognizeRussiaIdentityCardRequest();
|
{
|
||||||
std::string getImageUrl() const;
|
|
||||||
void setImageUrl(const std::string &imageUrl);
|
public:
|
||||||
|
RecognizeRussiaIdentityCardRequest();
|
||||||
private:
|
~RecognizeRussiaIdentityCardRequest();
|
||||||
std::string imageUrl_;
|
|
||||||
};
|
std::string getImageUrl()const;
|
||||||
} // namespace Model
|
void setImageUrl(const std::string& imageUrl);
|
||||||
} // namespace Ocr
|
|
||||||
} // namespace AlibabaCloud
|
private:
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZERUSSIAIDENTITYCARDREQUEST_H_
|
std::string imageUrl_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZERUSSIAIDENTITYCARDREQUEST_H_
|
||||||
@@ -1,45 +1,51 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZESTAMPREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZESTAMPREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZESTAMPREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZESTAMPREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeStampRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeStampRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeStampRequest : public RpcServiceRequest
|
||||||
~RecognizeStampRequest();
|
{
|
||||||
int getImageType() const;
|
|
||||||
void setImageType(int imageType);
|
public:
|
||||||
std::string getImageURL() const;
|
RecognizeStampRequest();
|
||||||
void setImageURL(const std::string &imageURL);
|
~RecognizeStampRequest();
|
||||||
|
|
||||||
private:
|
int getImageType()const;
|
||||||
int imageType_;
|
void setImageType(int imageType);
|
||||||
std::string imageURL_;
|
std::string getImageURL()const;
|
||||||
};
|
void setImageURL(const std::string& imageURL);
|
||||||
} // namespace Model
|
|
||||||
} // namespace Ocr
|
private:
|
||||||
} // namespace AlibabaCloud
|
int imageType_;
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZESTAMPREQUEST_H_
|
std::string imageURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZESTAMPREQUEST_H_
|
||||||
@@ -1,60 +1,66 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZETABLEREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZETABLEREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZETABLEREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZETABLEREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeTableRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeTableRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeTableRequest : public RpcServiceRequest
|
||||||
~RecognizeTableRequest();
|
{
|
||||||
bool getUseFinanceModel() const;
|
|
||||||
void setUseFinanceModel(bool useFinanceModel);
|
public:
|
||||||
bool getSkipDetection() const;
|
RecognizeTableRequest();
|
||||||
void setSkipDetection(bool skipDetection);
|
~RecognizeTableRequest();
|
||||||
std::string getOutputFormat() const;
|
|
||||||
void setOutputFormat(const std::string &outputFormat);
|
bool getUseFinanceModel()const;
|
||||||
bool getAssureDirection() const;
|
void setUseFinanceModel(bool useFinanceModel);
|
||||||
void setAssureDirection(bool assureDirection);
|
bool getSkipDetection()const;
|
||||||
bool getHasLine() const;
|
void setSkipDetection(bool skipDetection);
|
||||||
void setHasLine(bool hasLine);
|
std::string getOutputFormat()const;
|
||||||
int getImageType() const;
|
void setOutputFormat(const std::string& outputFormat);
|
||||||
void setImageType(int imageType);
|
bool getAssureDirection()const;
|
||||||
std::string getImageURL() const;
|
void setAssureDirection(bool assureDirection);
|
||||||
void setImageURL(const std::string &imageURL);
|
bool getHasLine()const;
|
||||||
|
void setHasLine(bool hasLine);
|
||||||
private:
|
int getImageType()const;
|
||||||
bool useFinanceModel_;
|
void setImageType(int imageType);
|
||||||
bool skipDetection_;
|
std::string getImageURL()const;
|
||||||
std::string outputFormat_;
|
void setImageURL(const std::string& imageURL);
|
||||||
bool assureDirection_;
|
|
||||||
bool hasLine_;
|
private:
|
||||||
int imageType_;
|
bool useFinanceModel_;
|
||||||
std::string imageURL_;
|
bool skipDetection_;
|
||||||
};
|
std::string outputFormat_;
|
||||||
} // namespace Model
|
bool assureDirection_;
|
||||||
} // namespace Ocr
|
bool hasLine_;
|
||||||
} // namespace AlibabaCloud
|
int imageType_;
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZETABLEREQUEST_H_
|
std::string imageURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZETABLEREQUEST_H_
|
||||||
@@ -1,42 +1,48 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZETAKEOUTORDERREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZETAKEOUTORDERREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZETAKEOUTORDERREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZETAKEOUTORDERREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeTakeoutOrderRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeTakeoutOrderRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeTakeoutOrderRequest : public RpcServiceRequest
|
||||||
~RecognizeTakeoutOrderRequest();
|
{
|
||||||
std::string getImageURL() const;
|
|
||||||
void setImageURL(const std::string &imageURL);
|
public:
|
||||||
|
RecognizeTakeoutOrderRequest();
|
||||||
private:
|
~RecognizeTakeoutOrderRequest();
|
||||||
std::string imageURL_;
|
|
||||||
};
|
std::string getImageURL()const;
|
||||||
} // namespace Model
|
void setImageURL(const std::string& imageURL);
|
||||||
} // namespace Ocr
|
|
||||||
} // namespace AlibabaCloud
|
private:
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZETAKEOUTORDERREQUEST_H_
|
std::string imageURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZETAKEOUTORDERREQUEST_H_
|
||||||
@@ -1,45 +1,51 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZETAXIINVOICEREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZETAXIINVOICEREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZETAXIINVOICEREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZETAXIINVOICEREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeTaxiInvoiceRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeTaxiInvoiceRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeTaxiInvoiceRequest : public RpcServiceRequest
|
||||||
~RecognizeTaxiInvoiceRequest();
|
{
|
||||||
int getImageType() const;
|
|
||||||
void setImageType(int imageType);
|
public:
|
||||||
std::string getImageURL() const;
|
RecognizeTaxiInvoiceRequest();
|
||||||
void setImageURL(const std::string &imageURL);
|
~RecognizeTaxiInvoiceRequest();
|
||||||
|
|
||||||
private:
|
int getImageType()const;
|
||||||
int imageType_;
|
void setImageType(int imageType);
|
||||||
std::string imageURL_;
|
std::string getImageURL()const;
|
||||||
};
|
void setImageURL(const std::string& imageURL);
|
||||||
} // namespace Model
|
|
||||||
} // namespace Ocr
|
private:
|
||||||
} // namespace AlibabaCloud
|
int imageType_;
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZETAXIINVOICEREQUEST_H_
|
std::string imageURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZETAXIINVOICEREQUEST_H_
|
||||||
@@ -1,42 +1,48 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZETICKETINVOICEREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZETICKETINVOICEREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZETICKETINVOICEREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZETICKETINVOICEREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeTicketInvoiceRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeTicketInvoiceRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeTicketInvoiceRequest : public RpcServiceRequest
|
||||||
~RecognizeTicketInvoiceRequest();
|
{
|
||||||
std::string getImageURL() const;
|
|
||||||
void setImageURL(const std::string &imageURL);
|
public:
|
||||||
|
RecognizeTicketInvoiceRequest();
|
||||||
private:
|
~RecognizeTicketInvoiceRequest();
|
||||||
std::string imageURL_;
|
|
||||||
};
|
std::string getImageURL()const;
|
||||||
} // namespace Model
|
void setImageURL(const std::string& imageURL);
|
||||||
} // namespace Ocr
|
|
||||||
} // namespace AlibabaCloud
|
private:
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZETICKETINVOICEREQUEST_H_
|
std::string imageURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZETICKETINVOICEREQUEST_H_
|
||||||
@@ -1,45 +1,51 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZETRAINTICKETREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZETRAINTICKETREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZETRAINTICKETREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZETRAINTICKETREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeTrainTicketRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeTrainTicketRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeTrainTicketRequest : public RpcServiceRequest
|
||||||
~RecognizeTrainTicketRequest();
|
{
|
||||||
int getImageType() const;
|
|
||||||
void setImageType(int imageType);
|
public:
|
||||||
std::string getImageURL() const;
|
RecognizeTrainTicketRequest();
|
||||||
void setImageURL(const std::string &imageURL);
|
~RecognizeTrainTicketRequest();
|
||||||
|
|
||||||
private:
|
int getImageType()const;
|
||||||
int imageType_;
|
void setImageType(int imageType);
|
||||||
std::string imageURL_;
|
std::string getImageURL()const;
|
||||||
};
|
void setImageURL(const std::string& imageURL);
|
||||||
} // namespace Model
|
|
||||||
} // namespace Ocr
|
private:
|
||||||
} // namespace AlibabaCloud
|
int imageType_;
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZETRAINTICKETREQUEST_H_
|
std::string imageURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZETRAINTICKETREQUEST_H_
|
||||||
@@ -40,8 +40,8 @@ namespace AlibabaCloud
|
|||||||
float price;
|
float price;
|
||||||
std::string level;
|
std::string level;
|
||||||
std::string date;
|
std::string date;
|
||||||
std::string departureStation;
|
|
||||||
std::string name;
|
std::string name;
|
||||||
|
std::string departureStation;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,42 +1,48 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZETURKEYIDENTITYCARDREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZETURKEYIDENTITYCARDREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZETURKEYIDENTITYCARDREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZETURKEYIDENTITYCARDREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeTurkeyIdentityCardRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeTurkeyIdentityCardRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeTurkeyIdentityCardRequest : public RpcServiceRequest
|
||||||
~RecognizeTurkeyIdentityCardRequest();
|
{
|
||||||
std::string getImageUrl() const;
|
|
||||||
void setImageUrl(const std::string &imageUrl);
|
public:
|
||||||
|
RecognizeTurkeyIdentityCardRequest();
|
||||||
private:
|
~RecognizeTurkeyIdentityCardRequest();
|
||||||
std::string imageUrl_;
|
|
||||||
};
|
std::string getImageUrl()const;
|
||||||
} // namespace Model
|
void setImageUrl(const std::string& imageUrl);
|
||||||
} // namespace Ocr
|
|
||||||
} // namespace AlibabaCloud
|
private:
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZETURKEYIDENTITYCARDREQUEST_H_
|
std::string imageUrl_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZETURKEYIDENTITYCARDREQUEST_H_
|
||||||
@@ -1,42 +1,48 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEUKRAINEIDENTITYCARDREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEUKRAINEIDENTITYCARDREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEUKRAINEIDENTITYCARDREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEUKRAINEIDENTITYCARDREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeUkraineIdentityCardRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeUkraineIdentityCardRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeUkraineIdentityCardRequest : public RpcServiceRequest
|
||||||
~RecognizeUkraineIdentityCardRequest();
|
{
|
||||||
std::string getImageUrl() const;
|
|
||||||
void setImageUrl(const std::string &imageUrl);
|
public:
|
||||||
|
RecognizeUkraineIdentityCardRequest();
|
||||||
private:
|
~RecognizeUkraineIdentityCardRequest();
|
||||||
std::string imageUrl_;
|
|
||||||
};
|
std::string getImageUrl()const;
|
||||||
} // namespace Model
|
void setImageUrl(const std::string& imageUrl);
|
||||||
} // namespace Ocr
|
|
||||||
} // namespace AlibabaCloud
|
private:
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEUKRAINEIDENTITYCARDREQUEST_H_
|
std::string imageUrl_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEUKRAINEIDENTITYCARDREQUEST_H_
|
||||||
@@ -1,45 +1,51 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEVATINVOICEREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEVATINVOICEREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEVATINVOICEREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEVATINVOICEREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeVATInvoiceRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeVATInvoiceRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeVATInvoiceRequest : public RpcServiceRequest
|
||||||
~RecognizeVATInvoiceRequest();
|
{
|
||||||
std::string getFileType() const;
|
|
||||||
void setFileType(const std::string &fileType);
|
public:
|
||||||
std::string getFileURL() const;
|
RecognizeVATInvoiceRequest();
|
||||||
void setFileURL(const std::string &fileURL);
|
~RecognizeVATInvoiceRequest();
|
||||||
|
|
||||||
private:
|
std::string getFileType()const;
|
||||||
std::string fileType_;
|
void setFileType(const std::string& fileType);
|
||||||
std::string fileURL_;
|
std::string getFileURL()const;
|
||||||
};
|
void setFileURL(const std::string& fileURL);
|
||||||
} // namespace Model
|
|
||||||
} // namespace Ocr
|
private:
|
||||||
} // namespace AlibabaCloud
|
std::string fileType_;
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEVATINVOICEREQUEST_H_
|
std::string fileURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEVATINVOICEREQUEST_H_
|
||||||
@@ -1,45 +1,51 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEVINCODEREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEVINCODEREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEVINCODEREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEVINCODEREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeVINCodeRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeVINCodeRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeVINCodeRequest : public RpcServiceRequest
|
||||||
~RecognizeVINCodeRequest();
|
{
|
||||||
int getImageType() const;
|
|
||||||
void setImageType(int imageType);
|
public:
|
||||||
std::string getImageURL() const;
|
RecognizeVINCodeRequest();
|
||||||
void setImageURL(const std::string &imageURL);
|
~RecognizeVINCodeRequest();
|
||||||
|
|
||||||
private:
|
int getImageType()const;
|
||||||
int imageType_;
|
void setImageType(int imageType);
|
||||||
std::string imageURL_;
|
std::string getImageURL()const;
|
||||||
};
|
void setImageURL(const std::string& imageURL);
|
||||||
} // namespace Model
|
|
||||||
} // namespace Ocr
|
private:
|
||||||
} // namespace AlibabaCloud
|
int imageType_;
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEVINCODEREQUEST_H_
|
std::string imageURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEVINCODEREQUEST_H_
|
||||||
@@ -1,42 +1,48 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEVERIFICATIONCODEREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEVERIFICATIONCODEREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEVERIFICATIONCODEREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEVERIFICATIONCODEREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeVerificationcodeRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeVerificationcodeRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeVerificationcodeRequest : public RpcServiceRequest
|
||||||
~RecognizeVerificationcodeRequest();
|
{
|
||||||
std::string getImageURL() const;
|
|
||||||
void setImageURL(const std::string &imageURL);
|
public:
|
||||||
|
RecognizeVerificationcodeRequest();
|
||||||
private:
|
~RecognizeVerificationcodeRequest();
|
||||||
std::string imageURL_;
|
|
||||||
};
|
std::string getImageURL()const;
|
||||||
} // namespace Model
|
void setImageURL(const std::string& imageURL);
|
||||||
} // namespace Ocr
|
|
||||||
} // namespace AlibabaCloud
|
private:
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEVERIFICATIONCODEREQUEST_H_
|
std::string imageURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEVERIFICATIONCODEREQUEST_H_
|
||||||
@@ -1,54 +1,57 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEVIDEOCASTCREWLISTREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEVIDEOCASTCREWLISTREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEVIDEOCASTCREWLISTREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEVIDEOCASTCREWLISTREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeVideoCastCrewListRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
struct Params {
|
class ALIBABACLOUD_OCR_EXPORT RecognizeVideoCastCrewListRequest : public RpcServiceRequest
|
||||||
std::string type;
|
{
|
||||||
};
|
|
||||||
RecognizeVideoCastCrewListRequest();
|
public:
|
||||||
~RecognizeVideoCastCrewListRequest();
|
RecognizeVideoCastCrewListRequest();
|
||||||
std::vector<Params> getParams() const;
|
~RecognizeVideoCastCrewListRequest();
|
||||||
void setParams(const std::vector<Params> ¶ms);
|
|
||||||
bool getAsync() const;
|
Array getParams()const;
|
||||||
void setAsync(bool async);
|
void setParams(const Array& params);
|
||||||
std::string getRegisterUrl() const;
|
bool getAsync()const;
|
||||||
void setRegisterUrl(const std::string ®isterUrl);
|
void setAsync(bool async);
|
||||||
std::string getVideoUrl() const;
|
std::string getRegisterUrl()const;
|
||||||
void setVideoUrl(const std::string &videoUrl);
|
void setRegisterUrl(const std::string& registerUrl);
|
||||||
|
std::string getVideoUrl()const;
|
||||||
private:
|
void setVideoUrl(const std::string& videoUrl);
|
||||||
std::vector<Params> params_;
|
|
||||||
bool async_;
|
private:
|
||||||
std::string registerUrl_;
|
Array params_;
|
||||||
std::string videoUrl_;
|
bool async_;
|
||||||
};
|
std::string registerUrl_;
|
||||||
} // namespace Model
|
std::string videoUrl_;
|
||||||
} // namespace Ocr
|
|
||||||
} // namespace AlibabaCloud
|
};
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEVIDEOCASTCREWLISTREQUEST_H_
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEVIDEOCASTCREWLISTREQUEST_H_
|
||||||
@@ -1,45 +1,51 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEVIDEOCHARACTERREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEVIDEOCHARACTERREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEVIDEOCHARACTERREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEVIDEOCHARACTERREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeVideoCharacterRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeVideoCharacterRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeVideoCharacterRequest : public RpcServiceRequest
|
||||||
~RecognizeVideoCharacterRequest();
|
{
|
||||||
bool getAsync() const;
|
|
||||||
void setAsync(bool async);
|
public:
|
||||||
std::string getVideoURL() const;
|
RecognizeVideoCharacterRequest();
|
||||||
void setVideoURL(const std::string &videoURL);
|
~RecognizeVideoCharacterRequest();
|
||||||
|
|
||||||
private:
|
bool getAsync()const;
|
||||||
bool async_;
|
void setAsync(bool async);
|
||||||
std::string videoURL_;
|
std::string getVideoURL()const;
|
||||||
};
|
void setVideoURL(const std::string& videoURL);
|
||||||
} // namespace Model
|
|
||||||
} // namespace Ocr
|
private:
|
||||||
} // namespace AlibabaCloud
|
bool async_;
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEVIDEOCHARACTERREQUEST_H_
|
std::string videoURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEVIDEOCHARACTERREQUEST_H_
|
||||||
@@ -63,12 +63,16 @@ namespace AlibabaCloud
|
|||||||
RecognizeVideoCharacterResult();
|
RecognizeVideoCharacterResult();
|
||||||
explicit RecognizeVideoCharacterResult(const std::string &payload);
|
explicit RecognizeVideoCharacterResult(const std::string &payload);
|
||||||
~RecognizeVideoCharacterResult();
|
~RecognizeVideoCharacterResult();
|
||||||
|
std::string getMessage()const;
|
||||||
Data getData()const;
|
Data getData()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
|
std::string message_;
|
||||||
Data data_;
|
Data data_;
|
||||||
|
std::string code_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,42 +1,48 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEVIETNAMIDENTITYCARDREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEVIETNAMIDENTITYCARDREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEVIETNAMIDENTITYCARDREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEVIETNAMIDENTITYCARDREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT RecognizeVietnamIdentityCardRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
RecognizeVietnamIdentityCardRequest();
|
class ALIBABACLOUD_OCR_EXPORT RecognizeVietnamIdentityCardRequest : public RpcServiceRequest
|
||||||
~RecognizeVietnamIdentityCardRequest();
|
{
|
||||||
std::string getImageUrl() const;
|
|
||||||
void setImageUrl(const std::string &imageUrl);
|
public:
|
||||||
|
RecognizeVietnamIdentityCardRequest();
|
||||||
private:
|
~RecognizeVietnamIdentityCardRequest();
|
||||||
std::string imageUrl_;
|
|
||||||
};
|
std::string getImageUrl()const;
|
||||||
} // namespace Model
|
void setImageUrl(const std::string& imageUrl);
|
||||||
} // namespace Ocr
|
|
||||||
} // namespace AlibabaCloud
|
private:
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEVIETNAMIDENTITYCARDREQUEST_H_
|
std::string imageUrl_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEVIETNAMIDENTITYCARDREQUEST_H_
|
||||||
@@ -1,51 +1,57 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_OCR_MODEL_TRIMDOCUMENTREQUEST_H_
|
#ifndef ALIBABACLOUD_OCR_MODEL_TRIMDOCUMENTREQUEST_H_
|
||||||
#define ALIBABACLOUD_OCR_MODEL_TRIMDOCUMENTREQUEST_H_
|
#define ALIBABACLOUD_OCR_MODEL_TRIMDOCUMENTREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/ocr/OcrExport.h>
|
#include <string>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <vector>
|
||||||
#include <string>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <vector>
|
#include <alibabacloud/ocr/OcrExport.h>
|
||||||
#include <map>
|
|
||||||
|
namespace AlibabaCloud
|
||||||
namespace AlibabaCloud {
|
{
|
||||||
namespace Ocr {
|
namespace Ocr
|
||||||
namespace Model {
|
{
|
||||||
class ALIBABACLOUD_OCR_EXPORT TrimDocumentRequest : public RpcServiceRequest {
|
namespace Model
|
||||||
public:
|
{
|
||||||
TrimDocumentRequest();
|
class ALIBABACLOUD_OCR_EXPORT TrimDocumentRequest : public RpcServiceRequest
|
||||||
~TrimDocumentRequest();
|
{
|
||||||
std::string getFileType() const;
|
|
||||||
void setFileType(const std::string &fileType);
|
public:
|
||||||
std::string getOutputType() const;
|
TrimDocumentRequest();
|
||||||
void setOutputType(const std::string &outputType);
|
~TrimDocumentRequest();
|
||||||
bool getAsync() const;
|
|
||||||
void setAsync(bool async);
|
std::string getFileType()const;
|
||||||
std::string getFileURL() const;
|
void setFileType(const std::string& fileType);
|
||||||
void setFileURL(const std::string &fileURL);
|
std::string getOutputType()const;
|
||||||
|
void setOutputType(const std::string& outputType);
|
||||||
private:
|
bool getAsync()const;
|
||||||
std::string fileType_;
|
void setAsync(bool async);
|
||||||
std::string outputType_;
|
std::string getFileURL()const;
|
||||||
bool async_;
|
void setFileURL(const std::string& fileURL);
|
||||||
std::string fileURL_;
|
|
||||||
};
|
private:
|
||||||
} // namespace Model
|
std::string fileType_;
|
||||||
} // namespace Ocr
|
std::string outputType_;
|
||||||
} // namespace AlibabaCloud
|
bool async_;
|
||||||
#endif // !ALIBABACLOUD_OCR_MODEL_TRIMDOCUMENTREQUEST_H_
|
std::string fileURL_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_OCR_MODEL_TRIMDOCUMENTREQUEST_H_
|
||||||
@@ -41,12 +41,16 @@ namespace AlibabaCloud
|
|||||||
TrimDocumentResult();
|
TrimDocumentResult();
|
||||||
explicit TrimDocumentResult(const std::string &payload);
|
explicit TrimDocumentResult(const std::string &payload);
|
||||||
~TrimDocumentResult();
|
~TrimDocumentResult();
|
||||||
|
std::string getMessage()const;
|
||||||
Data getData()const;
|
Data getData()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
|
std::string message_;
|
||||||
Data data_;
|
Data data_;
|
||||||
|
std::string code_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,36 +1,40 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/DetectCardScreenshotRequest.h>
|
#include <alibabacloud/ocr/model/DetectCardScreenshotRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::DetectCardScreenshotRequest;
|
using AlibabaCloud::Ocr::Model::DetectCardScreenshotRequest;
|
||||||
|
|
||||||
DetectCardScreenshotRequest::DetectCardScreenshotRequest()
|
DetectCardScreenshotRequest::DetectCardScreenshotRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "DetectCardScreenshot") {
|
RpcServiceRequest("ocr", "2019-12-30", "DetectCardScreenshot")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DetectCardScreenshotRequest::~DetectCardScreenshotRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DetectCardScreenshotRequest::getImageURL()const
|
||||||
|
{
|
||||||
|
return imageURL_;
|
||||||
}
|
}
|
||||||
|
|
||||||
DetectCardScreenshotRequest::~DetectCardScreenshotRequest() {}
|
void DetectCardScreenshotRequest::setImageURL(const std::string& imageURL)
|
||||||
|
{
|
||||||
std::string DetectCardScreenshotRequest::getImageURL() const {
|
imageURL_ = imageURL;
|
||||||
return imageURL_;
|
setBodyParameter("ImageURL", imageURL);
|
||||||
}
|
|
||||||
|
|
||||||
void DetectCardScreenshotRequest::setImageURL(const std::string &imageURL) {
|
|
||||||
imageURL_ = imageURL;
|
|
||||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,45 +1,51 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/GetAsyncJobResultRequest.h>
|
#include <alibabacloud/ocr/model/GetAsyncJobResultRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::GetAsyncJobResultRequest;
|
using AlibabaCloud::Ocr::Model::GetAsyncJobResultRequest;
|
||||||
|
|
||||||
GetAsyncJobResultRequest::GetAsyncJobResultRequest()
|
GetAsyncJobResultRequest::GetAsyncJobResultRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "GetAsyncJobResult") {
|
RpcServiceRequest("ocr", "2019-12-30", "GetAsyncJobResult")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
GetAsyncJobResultRequest::~GetAsyncJobResultRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string GetAsyncJobResultRequest::getJobId()const
|
||||||
|
{
|
||||||
|
return jobId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
GetAsyncJobResultRequest::~GetAsyncJobResultRequest() {}
|
void GetAsyncJobResultRequest::setJobId(const std::string& jobId)
|
||||||
|
{
|
||||||
std::string GetAsyncJobResultRequest::getJobId() const {
|
jobId_ = jobId;
|
||||||
return jobId_;
|
setBodyParameter("JobId", jobId);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GetAsyncJobResultRequest::setJobId(const std::string &jobId) {
|
bool GetAsyncJobResultRequest::getAsync()const
|
||||||
jobId_ = jobId;
|
{
|
||||||
setBodyParameter(std::string("JobId"), jobId);
|
return async_;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool GetAsyncJobResultRequest::getAsync() const {
|
void GetAsyncJobResultRequest::setAsync(bool async)
|
||||||
return async_;
|
{
|
||||||
}
|
async_ = async;
|
||||||
|
setBodyParameter("Async", async ? "true" : "false");
|
||||||
void GetAsyncJobResultRequest::setAsync(bool async) {
|
|
||||||
async_ = async;
|
|
||||||
setBodyParameter(std::string("Async"), async ? "true" : "false");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,45 +1,51 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeAccountPageRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeAccountPageRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeAccountPageRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeAccountPageRequest;
|
||||||
|
|
||||||
RecognizeAccountPageRequest::RecognizeAccountPageRequest()
|
RecognizeAccountPageRequest::RecognizeAccountPageRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeAccountPage") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeAccountPage")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeAccountPageRequest::~RecognizeAccountPageRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
int RecognizeAccountPageRequest::getImageType()const
|
||||||
|
{
|
||||||
|
return imageType_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeAccountPageRequest::~RecognizeAccountPageRequest() {}
|
void RecognizeAccountPageRequest::setImageType(int imageType)
|
||||||
|
{
|
||||||
int RecognizeAccountPageRequest::getImageType() const {
|
imageType_ = imageType;
|
||||||
return imageType_;
|
setBodyParameter("ImageType", std::to_string(imageType));
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeAccountPageRequest::setImageType(int imageType) {
|
std::string RecognizeAccountPageRequest::getImageURL()const
|
||||||
imageType_ = imageType;
|
{
|
||||||
setBodyParameter(std::string("ImageType"), std::to_string(imageType));
|
return imageURL_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string RecognizeAccountPageRequest::getImageURL() const {
|
void RecognizeAccountPageRequest::setImageURL(const std::string& imageURL)
|
||||||
return imageURL_;
|
{
|
||||||
}
|
imageURL_ = imageURL;
|
||||||
|
setBodyParameter("ImageURL", imageURL);
|
||||||
void RecognizeAccountPageRequest::setImageURL(const std::string &imageURL) {
|
|
||||||
imageURL_ = imageURL;
|
|
||||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,45 +1,51 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeBankCardRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeBankCardRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeBankCardRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeBankCardRequest;
|
||||||
|
|
||||||
RecognizeBankCardRequest::RecognizeBankCardRequest()
|
RecognizeBankCardRequest::RecognizeBankCardRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeBankCard") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeBankCard")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeBankCardRequest::~RecognizeBankCardRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
int RecognizeBankCardRequest::getImageType()const
|
||||||
|
{
|
||||||
|
return imageType_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeBankCardRequest::~RecognizeBankCardRequest() {}
|
void RecognizeBankCardRequest::setImageType(int imageType)
|
||||||
|
{
|
||||||
int RecognizeBankCardRequest::getImageType() const {
|
imageType_ = imageType;
|
||||||
return imageType_;
|
setBodyParameter("ImageType", std::to_string(imageType));
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeBankCardRequest::setImageType(int imageType) {
|
std::string RecognizeBankCardRequest::getImageURL()const
|
||||||
imageType_ = imageType;
|
{
|
||||||
setBodyParameter(std::string("ImageType"), std::to_string(imageType));
|
return imageURL_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string RecognizeBankCardRequest::getImageURL() const {
|
void RecognizeBankCardRequest::setImageURL(const std::string& imageURL)
|
||||||
return imageURL_;
|
{
|
||||||
}
|
imageURL_ = imageURL;
|
||||||
|
setBodyParameter("ImageURL", imageURL);
|
||||||
void RecognizeBankCardRequest::setImageURL(const std::string &imageURL) {
|
|
||||||
imageURL_ = imageURL;
|
|
||||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,45 +1,51 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeBusinessCardRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeBusinessCardRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeBusinessCardRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeBusinessCardRequest;
|
||||||
|
|
||||||
RecognizeBusinessCardRequest::RecognizeBusinessCardRequest()
|
RecognizeBusinessCardRequest::RecognizeBusinessCardRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeBusinessCard") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeBusinessCard")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeBusinessCardRequest::~RecognizeBusinessCardRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
int RecognizeBusinessCardRequest::getImageType()const
|
||||||
|
{
|
||||||
|
return imageType_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeBusinessCardRequest::~RecognizeBusinessCardRequest() {}
|
void RecognizeBusinessCardRequest::setImageType(int imageType)
|
||||||
|
{
|
||||||
int RecognizeBusinessCardRequest::getImageType() const {
|
imageType_ = imageType;
|
||||||
return imageType_;
|
setBodyParameter("ImageType", std::to_string(imageType));
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeBusinessCardRequest::setImageType(int imageType) {
|
std::string RecognizeBusinessCardRequest::getImageURL()const
|
||||||
imageType_ = imageType;
|
{
|
||||||
setBodyParameter(std::string("ImageType"), std::to_string(imageType));
|
return imageURL_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string RecognizeBusinessCardRequest::getImageURL() const {
|
void RecognizeBusinessCardRequest::setImageURL(const std::string& imageURL)
|
||||||
return imageURL_;
|
{
|
||||||
}
|
imageURL_ = imageURL;
|
||||||
|
setBodyParameter("ImageURL", imageURL);
|
||||||
void RecognizeBusinessCardRequest::setImageURL(const std::string &imageURL) {
|
|
||||||
imageURL_ = imageURL;
|
|
||||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,45 +1,51 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeBusinessLicenseRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeBusinessLicenseRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeBusinessLicenseRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeBusinessLicenseRequest;
|
||||||
|
|
||||||
RecognizeBusinessLicenseRequest::RecognizeBusinessLicenseRequest()
|
RecognizeBusinessLicenseRequest::RecognizeBusinessLicenseRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeBusinessLicense") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeBusinessLicense")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeBusinessLicenseRequest::~RecognizeBusinessLicenseRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
int RecognizeBusinessLicenseRequest::getImageType()const
|
||||||
|
{
|
||||||
|
return imageType_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeBusinessLicenseRequest::~RecognizeBusinessLicenseRequest() {}
|
void RecognizeBusinessLicenseRequest::setImageType(int imageType)
|
||||||
|
{
|
||||||
int RecognizeBusinessLicenseRequest::getImageType() const {
|
imageType_ = imageType;
|
||||||
return imageType_;
|
setBodyParameter("ImageType", std::to_string(imageType));
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeBusinessLicenseRequest::setImageType(int imageType) {
|
std::string RecognizeBusinessLicenseRequest::getImageURL()const
|
||||||
imageType_ = imageType;
|
{
|
||||||
setBodyParameter(std::string("ImageType"), std::to_string(imageType));
|
return imageURL_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string RecognizeBusinessLicenseRequest::getImageURL() const {
|
void RecognizeBusinessLicenseRequest::setImageURL(const std::string& imageURL)
|
||||||
return imageURL_;
|
{
|
||||||
}
|
imageURL_ = imageURL;
|
||||||
|
setBodyParameter("ImageURL", imageURL);
|
||||||
void RecognizeBusinessLicenseRequest::setImageURL(const std::string &imageURL) {
|
|
||||||
imageURL_ = imageURL;
|
|
||||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,63 +1,106 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeCharacterRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeCharacterRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeCharacterRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeCharacterRequest;
|
||||||
|
|
||||||
RecognizeCharacterRequest::RecognizeCharacterRequest()
|
RecognizeCharacterRequest::RecognizeCharacterRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeCharacter") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeCharacter")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeCharacterRequest::~RecognizeCharacterRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
bool RecognizeCharacterRequest::getFormatResultToJson()const
|
||||||
|
{
|
||||||
|
return formatResultToJson_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeCharacterRequest::~RecognizeCharacterRequest() {}
|
void RecognizeCharacterRequest::setFormatResultToJson(bool formatResultToJson)
|
||||||
|
{
|
||||||
int RecognizeCharacterRequest::getMinHeight() const {
|
formatResultToJson_ = formatResultToJson;
|
||||||
return minHeight_;
|
setParameter("FormatResultToJson", formatResultToJson ? "true" : "false");
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeCharacterRequest::setMinHeight(int minHeight) {
|
int RecognizeCharacterRequest::getMinHeight()const
|
||||||
minHeight_ = minHeight;
|
{
|
||||||
setBodyParameter(std::string("MinHeight"), std::to_string(minHeight));
|
return minHeight_;
|
||||||
}
|
}
|
||||||
|
|
||||||
int RecognizeCharacterRequest::getImageType() const {
|
void RecognizeCharacterRequest::setMinHeight(int minHeight)
|
||||||
return imageType_;
|
{
|
||||||
|
minHeight_ = minHeight;
|
||||||
|
setBodyParameter("MinHeight", std::to_string(minHeight));
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeCharacterRequest::setImageType(int imageType) {
|
std::string RecognizeCharacterRequest::getOssFile()const
|
||||||
imageType_ = imageType;
|
{
|
||||||
setBodyParameter(std::string("ImageType"), std::to_string(imageType));
|
return ossFile_;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool RecognizeCharacterRequest::getOutputProbability() const {
|
void RecognizeCharacterRequest::setOssFile(const std::string& ossFile)
|
||||||
return outputProbability_;
|
{
|
||||||
|
ossFile_ = ossFile;
|
||||||
|
setParameter("OssFile", ossFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeCharacterRequest::setOutputProbability(bool outputProbability) {
|
int RecognizeCharacterRequest::getImageType()const
|
||||||
outputProbability_ = outputProbability;
|
{
|
||||||
setBodyParameter(std::string("OutputProbability"), outputProbability ? "true" : "false");
|
return imageType_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string RecognizeCharacterRequest::getImageURL() const {
|
void RecognizeCharacterRequest::setImageType(int imageType)
|
||||||
return imageURL_;
|
{
|
||||||
|
imageType_ = imageType;
|
||||||
|
setBodyParameter("ImageType", std::to_string(imageType));
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeCharacterRequest::setImageURL(const std::string &imageURL) {
|
std::string RecognizeCharacterRequest::getRequestProxyBy()const
|
||||||
imageURL_ = imageURL;
|
{
|
||||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
return requestProxyBy_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void RecognizeCharacterRequest::setRequestProxyBy(const std::string& requestProxyBy)
|
||||||
|
{
|
||||||
|
requestProxyBy_ = requestProxyBy;
|
||||||
|
setParameter("RequestProxyBy", requestProxyBy);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool RecognizeCharacterRequest::getOutputProbability()const
|
||||||
|
{
|
||||||
|
return outputProbability_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void RecognizeCharacterRequest::setOutputProbability(bool outputProbability)
|
||||||
|
{
|
||||||
|
outputProbability_ = outputProbability;
|
||||||
|
setBodyParameter("OutputProbability", outputProbability ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string RecognizeCharacterRequest::getImageURL()const
|
||||||
|
{
|
||||||
|
return imageURL_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void RecognizeCharacterRequest::setImageURL(const std::string& imageURL)
|
||||||
|
{
|
||||||
|
imageURL_ = imageURL;
|
||||||
|
setBodyParameter("ImageURL", imageURL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,36 +1,40 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeChinapassportRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeChinapassportRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeChinapassportRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeChinapassportRequest;
|
||||||
|
|
||||||
RecognizeChinapassportRequest::RecognizeChinapassportRequest()
|
RecognizeChinapassportRequest::RecognizeChinapassportRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeChinapassport") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeChinapassport")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeChinapassportRequest::~RecognizeChinapassportRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string RecognizeChinapassportRequest::getImageURL()const
|
||||||
|
{
|
||||||
|
return imageURL_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeChinapassportRequest::~RecognizeChinapassportRequest() {}
|
void RecognizeChinapassportRequest::setImageURL(const std::string& imageURL)
|
||||||
|
{
|
||||||
std::string RecognizeChinapassportRequest::getImageURL() const {
|
imageURL_ = imageURL;
|
||||||
return imageURL_;
|
setBodyParameter("ImageURL", imageURL);
|
||||||
}
|
|
||||||
|
|
||||||
void RecognizeChinapassportRequest::setImageURL(const std::string &imageURL) {
|
|
||||||
imageURL_ = imageURL;
|
|
||||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,54 +1,62 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeDriverLicenseRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeDriverLicenseRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeDriverLicenseRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeDriverLicenseRequest;
|
||||||
|
|
||||||
RecognizeDriverLicenseRequest::RecognizeDriverLicenseRequest()
|
RecognizeDriverLicenseRequest::RecognizeDriverLicenseRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeDriverLicense") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeDriverLicense")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeDriverLicenseRequest::~RecognizeDriverLicenseRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
int RecognizeDriverLicenseRequest::getImageType()const
|
||||||
|
{
|
||||||
|
return imageType_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeDriverLicenseRequest::~RecognizeDriverLicenseRequest() {}
|
void RecognizeDriverLicenseRequest::setImageType(int imageType)
|
||||||
|
{
|
||||||
int RecognizeDriverLicenseRequest::getImageType() const {
|
imageType_ = imageType;
|
||||||
return imageType_;
|
setBodyParameter("ImageType", std::to_string(imageType));
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeDriverLicenseRequest::setImageType(int imageType) {
|
std::string RecognizeDriverLicenseRequest::getSide()const
|
||||||
imageType_ = imageType;
|
{
|
||||||
setBodyParameter(std::string("ImageType"), std::to_string(imageType));
|
return side_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string RecognizeDriverLicenseRequest::getSide() const {
|
void RecognizeDriverLicenseRequest::setSide(const std::string& side)
|
||||||
return side_;
|
{
|
||||||
|
side_ = side;
|
||||||
|
setBodyParameter("Side", side);
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeDriverLicenseRequest::setSide(const std::string &side) {
|
std::string RecognizeDriverLicenseRequest::getImageURL()const
|
||||||
side_ = side;
|
{
|
||||||
setBodyParameter(std::string("Side"), side);
|
return imageURL_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string RecognizeDriverLicenseRequest::getImageURL() const {
|
void RecognizeDriverLicenseRequest::setImageURL(const std::string& imageURL)
|
||||||
return imageURL_;
|
{
|
||||||
}
|
imageURL_ = imageURL;
|
||||||
|
setBodyParameter("ImageURL", imageURL);
|
||||||
void RecognizeDriverLicenseRequest::setImageURL(const std::string &imageURL) {
|
|
||||||
imageURL_ = imageURL;
|
|
||||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,54 +1,62 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeDrivingLicenseRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeDrivingLicenseRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeDrivingLicenseRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeDrivingLicenseRequest;
|
||||||
|
|
||||||
RecognizeDrivingLicenseRequest::RecognizeDrivingLicenseRequest()
|
RecognizeDrivingLicenseRequest::RecognizeDrivingLicenseRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeDrivingLicense") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeDrivingLicense")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeDrivingLicenseRequest::~RecognizeDrivingLicenseRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
int RecognizeDrivingLicenseRequest::getImageType()const
|
||||||
|
{
|
||||||
|
return imageType_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeDrivingLicenseRequest::~RecognizeDrivingLicenseRequest() {}
|
void RecognizeDrivingLicenseRequest::setImageType(int imageType)
|
||||||
|
{
|
||||||
int RecognizeDrivingLicenseRequest::getImageType() const {
|
imageType_ = imageType;
|
||||||
return imageType_;
|
setBodyParameter("ImageType", std::to_string(imageType));
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeDrivingLicenseRequest::setImageType(int imageType) {
|
std::string RecognizeDrivingLicenseRequest::getSide()const
|
||||||
imageType_ = imageType;
|
{
|
||||||
setBodyParameter(std::string("ImageType"), std::to_string(imageType));
|
return side_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string RecognizeDrivingLicenseRequest::getSide() const {
|
void RecognizeDrivingLicenseRequest::setSide(const std::string& side)
|
||||||
return side_;
|
{
|
||||||
|
side_ = side;
|
||||||
|
setBodyParameter("Side", side);
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeDrivingLicenseRequest::setSide(const std::string &side) {
|
std::string RecognizeDrivingLicenseRequest::getImageURL()const
|
||||||
side_ = side;
|
{
|
||||||
setBodyParameter(std::string("Side"), side);
|
return imageURL_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string RecognizeDrivingLicenseRequest::getImageURL() const {
|
void RecognizeDrivingLicenseRequest::setImageURL(const std::string& imageURL)
|
||||||
return imageURL_;
|
{
|
||||||
}
|
imageURL_ = imageURL;
|
||||||
|
setBodyParameter("ImageURL", imageURL);
|
||||||
void RecognizeDrivingLicenseRequest::setImageURL(const std::string &imageURL) {
|
|
||||||
imageURL_ = imageURL;
|
|
||||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,54 +1,62 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeIdentityCardRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeIdentityCardRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeIdentityCardRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeIdentityCardRequest;
|
||||||
|
|
||||||
RecognizeIdentityCardRequest::RecognizeIdentityCardRequest()
|
RecognizeIdentityCardRequest::RecognizeIdentityCardRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeIdentityCard") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeIdentityCard")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeIdentityCardRequest::~RecognizeIdentityCardRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
int RecognizeIdentityCardRequest::getImageType()const
|
||||||
|
{
|
||||||
|
return imageType_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeIdentityCardRequest::~RecognizeIdentityCardRequest() {}
|
void RecognizeIdentityCardRequest::setImageType(int imageType)
|
||||||
|
{
|
||||||
int RecognizeIdentityCardRequest::getImageType() const {
|
imageType_ = imageType;
|
||||||
return imageType_;
|
setBodyParameter("ImageType", std::to_string(imageType));
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeIdentityCardRequest::setImageType(int imageType) {
|
std::string RecognizeIdentityCardRequest::getSide()const
|
||||||
imageType_ = imageType;
|
{
|
||||||
setBodyParameter(std::string("ImageType"), std::to_string(imageType));
|
return side_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string RecognizeIdentityCardRequest::getSide() const {
|
void RecognizeIdentityCardRequest::setSide(const std::string& side)
|
||||||
return side_;
|
{
|
||||||
|
side_ = side;
|
||||||
|
setBodyParameter("Side", side);
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeIdentityCardRequest::setSide(const std::string &side) {
|
std::string RecognizeIdentityCardRequest::getImageURL()const
|
||||||
side_ = side;
|
{
|
||||||
setBodyParameter(std::string("Side"), side);
|
return imageURL_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string RecognizeIdentityCardRequest::getImageURL() const {
|
void RecognizeIdentityCardRequest::setImageURL(const std::string& imageURL)
|
||||||
return imageURL_;
|
{
|
||||||
}
|
imageURL_ = imageURL;
|
||||||
|
setBodyParameter("ImageURL", imageURL);
|
||||||
void RecognizeIdentityCardRequest::setImageURL(const std::string &imageURL) {
|
|
||||||
imageURL_ = imageURL;
|
|
||||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,36 +1,40 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeIndonesiaIdentityCardRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeIndonesiaIdentityCardRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeIndonesiaIdentityCardRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeIndonesiaIdentityCardRequest;
|
||||||
|
|
||||||
RecognizeIndonesiaIdentityCardRequest::RecognizeIndonesiaIdentityCardRequest()
|
RecognizeIndonesiaIdentityCardRequest::RecognizeIndonesiaIdentityCardRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeIndonesiaIdentityCard") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeIndonesiaIdentityCard")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeIndonesiaIdentityCardRequest::~RecognizeIndonesiaIdentityCardRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string RecognizeIndonesiaIdentityCardRequest::getImageUrl()const
|
||||||
|
{
|
||||||
|
return imageUrl_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeIndonesiaIdentityCardRequest::~RecognizeIndonesiaIdentityCardRequest() {}
|
void RecognizeIndonesiaIdentityCardRequest::setImageUrl(const std::string& imageUrl)
|
||||||
|
{
|
||||||
std::string RecognizeIndonesiaIdentityCardRequest::getImageUrl() const {
|
imageUrl_ = imageUrl;
|
||||||
return imageUrl_;
|
setBodyParameter("ImageUrl", imageUrl);
|
||||||
}
|
|
||||||
|
|
||||||
void RecognizeIndonesiaIdentityCardRequest::setImageUrl(const std::string &imageUrl) {
|
|
||||||
imageUrl_ = imageUrl;
|
|
||||||
setBodyParameter(std::string("ImageUrl"), imageUrl);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,45 +1,51 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeLicensePlateRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeLicensePlateRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeLicensePlateRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeLicensePlateRequest;
|
||||||
|
|
||||||
RecognizeLicensePlateRequest::RecognizeLicensePlateRequest()
|
RecognizeLicensePlateRequest::RecognizeLicensePlateRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeLicensePlate") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeLicensePlate")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeLicensePlateRequest::~RecognizeLicensePlateRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
int RecognizeLicensePlateRequest::getImageType()const
|
||||||
|
{
|
||||||
|
return imageType_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeLicensePlateRequest::~RecognizeLicensePlateRequest() {}
|
void RecognizeLicensePlateRequest::setImageType(int imageType)
|
||||||
|
{
|
||||||
int RecognizeLicensePlateRequest::getImageType() const {
|
imageType_ = imageType;
|
||||||
return imageType_;
|
setBodyParameter("ImageType", std::to_string(imageType));
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeLicensePlateRequest::setImageType(int imageType) {
|
std::string RecognizeLicensePlateRequest::getImageURL()const
|
||||||
imageType_ = imageType;
|
{
|
||||||
setBodyParameter(std::string("ImageType"), std::to_string(imageType));
|
return imageURL_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string RecognizeLicensePlateRequest::getImageURL() const {
|
void RecognizeLicensePlateRequest::setImageURL(const std::string& imageURL)
|
||||||
return imageURL_;
|
{
|
||||||
}
|
imageURL_ = imageURL;
|
||||||
|
setBodyParameter("ImageURL", imageURL);
|
||||||
void RecognizeLicensePlateRequest::setImageURL(const std::string &imageURL) {
|
|
||||||
imageURL_ = imageURL;
|
|
||||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,36 +1,40 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeMalaysiaIdentityCardRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeMalaysiaIdentityCardRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeMalaysiaIdentityCardRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeMalaysiaIdentityCardRequest;
|
||||||
|
|
||||||
RecognizeMalaysiaIdentityCardRequest::RecognizeMalaysiaIdentityCardRequest()
|
RecognizeMalaysiaIdentityCardRequest::RecognizeMalaysiaIdentityCardRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeMalaysiaIdentityCard") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeMalaysiaIdentityCard")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeMalaysiaIdentityCardRequest::~RecognizeMalaysiaIdentityCardRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string RecognizeMalaysiaIdentityCardRequest::getImageUrl()const
|
||||||
|
{
|
||||||
|
return imageUrl_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeMalaysiaIdentityCardRequest::~RecognizeMalaysiaIdentityCardRequest() {}
|
void RecognizeMalaysiaIdentityCardRequest::setImageUrl(const std::string& imageUrl)
|
||||||
|
{
|
||||||
std::string RecognizeMalaysiaIdentityCardRequest::getImageUrl() const {
|
imageUrl_ = imageUrl;
|
||||||
return imageUrl_;
|
setBodyParameter("ImageUrl", imageUrl);
|
||||||
}
|
|
||||||
|
|
||||||
void RecognizeMalaysiaIdentityCardRequest::setImageUrl(const std::string &imageUrl) {
|
|
||||||
imageUrl_ = imageUrl;
|
|
||||||
setBodyParameter(std::string("ImageUrl"), imageUrl);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,36 +1,40 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizePassportMRZRequest.h>
|
#include <alibabacloud/ocr/model/RecognizePassportMRZRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizePassportMRZRequest;
|
using AlibabaCloud::Ocr::Model::RecognizePassportMRZRequest;
|
||||||
|
|
||||||
RecognizePassportMRZRequest::RecognizePassportMRZRequest()
|
RecognizePassportMRZRequest::RecognizePassportMRZRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizePassportMRZ") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizePassportMRZ")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizePassportMRZRequest::~RecognizePassportMRZRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string RecognizePassportMRZRequest::getImageURL()const
|
||||||
|
{
|
||||||
|
return imageURL_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizePassportMRZRequest::~RecognizePassportMRZRequest() {}
|
void RecognizePassportMRZRequest::setImageURL(const std::string& imageURL)
|
||||||
|
{
|
||||||
std::string RecognizePassportMRZRequest::getImageURL() const {
|
imageURL_ = imageURL;
|
||||||
return imageURL_;
|
setBodyParameter("ImageURL", imageURL);
|
||||||
}
|
|
||||||
|
|
||||||
void RecognizePassportMRZRequest::setImageURL(const std::string &imageURL) {
|
|
||||||
imageURL_ = imageURL;
|
|
||||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,36 +1,40 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizePdfRequest.h>
|
#include <alibabacloud/ocr/model/RecognizePdfRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizePdfRequest;
|
using AlibabaCloud::Ocr::Model::RecognizePdfRequest;
|
||||||
|
|
||||||
RecognizePdfRequest::RecognizePdfRequest()
|
RecognizePdfRequest::RecognizePdfRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizePdf") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizePdf")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizePdfRequest::~RecognizePdfRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string RecognizePdfRequest::getFileURL()const
|
||||||
|
{
|
||||||
|
return fileURL_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizePdfRequest::~RecognizePdfRequest() {}
|
void RecognizePdfRequest::setFileURL(const std::string& fileURL)
|
||||||
|
{
|
||||||
std::string RecognizePdfRequest::getFileURL() const {
|
fileURL_ = fileURL;
|
||||||
return fileURL_;
|
setBodyParameter("FileURL", fileURL);
|
||||||
}
|
|
||||||
|
|
||||||
void RecognizePdfRequest::setFileURL(const std::string &fileURL) {
|
|
||||||
fileURL_ = fileURL;
|
|
||||||
setBodyParameter(std::string("FileURL"), fileURL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,36 +1,40 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizePoiNameRequest.h>
|
#include <alibabacloud/ocr/model/RecognizePoiNameRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizePoiNameRequest;
|
using AlibabaCloud::Ocr::Model::RecognizePoiNameRequest;
|
||||||
|
|
||||||
RecognizePoiNameRequest::RecognizePoiNameRequest()
|
RecognizePoiNameRequest::RecognizePoiNameRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizePoiName") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizePoiName")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizePoiNameRequest::~RecognizePoiNameRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string RecognizePoiNameRequest::getImageURL()const
|
||||||
|
{
|
||||||
|
return imageURL_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizePoiNameRequest::~RecognizePoiNameRequest() {}
|
void RecognizePoiNameRequest::setImageURL(const std::string& imageURL)
|
||||||
|
{
|
||||||
std::string RecognizePoiNameRequest::getImageURL() const {
|
imageURL_ = imageURL;
|
||||||
return imageURL_;
|
setBodyParameter("ImageURL", imageURL);
|
||||||
}
|
|
||||||
|
|
||||||
void RecognizePoiNameRequest::setImageURL(const std::string &imageURL) {
|
|
||||||
imageURL_ = imageURL;
|
|
||||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,40 +1,77 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeQrCodeRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeQrCodeRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeQrCodeRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeQrCodeRequest;
|
||||||
|
|
||||||
RecognizeQrCodeRequest::RecognizeQrCodeRequest()
|
RecognizeQrCodeRequest::RecognizeQrCodeRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeQrCode") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeQrCode")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeQrCodeRequest::~RecognizeQrCodeRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
bool RecognizeQrCodeRequest::getFormatResultToJson()const
|
||||||
|
{
|
||||||
|
return formatResultToJson_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeQrCodeRequest::~RecognizeQrCodeRequest() {}
|
void RecognizeQrCodeRequest::setFormatResultToJson(bool formatResultToJson)
|
||||||
|
{
|
||||||
std::vector<RecognizeQrCodeRequest::Tasks> RecognizeQrCodeRequest::getTasks() const {
|
formatResultToJson_ = formatResultToJson;
|
||||||
return tasks_;
|
setParameter("FormatResultToJson", formatResultToJson ? "true" : "false");
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeQrCodeRequest::setTasks(const std::vector<RecognizeQrCodeRequest::Tasks> &tasks) {
|
std::string RecognizeQrCodeRequest::getOssFile()const
|
||||||
tasks_ = tasks;
|
{
|
||||||
for(int dep1 = 0; dep1 != tasks.size(); dep1++) {
|
return ossFile_;
|
||||||
auto tasksObj = tasks.at(dep1);
|
}
|
||||||
std::string tasksObjStr = std::string("Tasks") + "." + std::to_string(dep1 + 1);
|
|
||||||
setBodyParameter(tasksObjStr + ".ImageURL", tasksObj.imageURL);
|
void RecognizeQrCodeRequest::setOssFile(const std::string& ossFile)
|
||||||
}
|
{
|
||||||
|
ossFile_ = ossFile;
|
||||||
|
setParameter("OssFile", ossFile);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<RecognizeQrCodeRequest::Tasks> RecognizeQrCodeRequest::getTasks()const
|
||||||
|
{
|
||||||
|
return tasks_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void RecognizeQrCodeRequest::setTasks(const std::vector<Tasks>& tasks)
|
||||||
|
{
|
||||||
|
tasks_ = tasks;
|
||||||
|
for(int dep1 = 0; dep1!= tasks.size(); dep1++) {
|
||||||
|
auto tasksObj = tasks.at(dep1);
|
||||||
|
std::string tasksObjStr = "Tasks." + std::to_string(dep1 + 1);
|
||||||
|
setParameter(tasksObjStr + ".ImageURL", tasksObj.imageURL);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string RecognizeQrCodeRequest::getRequestProxyBy()const
|
||||||
|
{
|
||||||
|
return requestProxyBy_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void RecognizeQrCodeRequest::setRequestProxyBy(const std::string& requestProxyBy)
|
||||||
|
{
|
||||||
|
requestProxyBy_ = requestProxyBy;
|
||||||
|
setParameter("RequestProxyBy", requestProxyBy);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,36 +1,40 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeQuotaInvoiceRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeQuotaInvoiceRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeQuotaInvoiceRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeQuotaInvoiceRequest;
|
||||||
|
|
||||||
RecognizeQuotaInvoiceRequest::RecognizeQuotaInvoiceRequest()
|
RecognizeQuotaInvoiceRequest::RecognizeQuotaInvoiceRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeQuotaInvoice") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeQuotaInvoice")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeQuotaInvoiceRequest::~RecognizeQuotaInvoiceRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string RecognizeQuotaInvoiceRequest::getImageURL()const
|
||||||
|
{
|
||||||
|
return imageURL_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeQuotaInvoiceRequest::~RecognizeQuotaInvoiceRequest() {}
|
void RecognizeQuotaInvoiceRequest::setImageURL(const std::string& imageURL)
|
||||||
|
{
|
||||||
std::string RecognizeQuotaInvoiceRequest::getImageURL() const {
|
imageURL_ = imageURL;
|
||||||
return imageURL_;
|
setBodyParameter("ImageURL", imageURL);
|
||||||
}
|
|
||||||
|
|
||||||
void RecognizeQuotaInvoiceRequest::setImageURL(const std::string &imageURL) {
|
|
||||||
imageURL_ = imageURL;
|
|
||||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,36 +1,40 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeRussiaIdentityCardRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeRussiaIdentityCardRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeRussiaIdentityCardRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeRussiaIdentityCardRequest;
|
||||||
|
|
||||||
RecognizeRussiaIdentityCardRequest::RecognizeRussiaIdentityCardRequest()
|
RecognizeRussiaIdentityCardRequest::RecognizeRussiaIdentityCardRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeRussiaIdentityCard") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeRussiaIdentityCard")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeRussiaIdentityCardRequest::~RecognizeRussiaIdentityCardRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string RecognizeRussiaIdentityCardRequest::getImageUrl()const
|
||||||
|
{
|
||||||
|
return imageUrl_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeRussiaIdentityCardRequest::~RecognizeRussiaIdentityCardRequest() {}
|
void RecognizeRussiaIdentityCardRequest::setImageUrl(const std::string& imageUrl)
|
||||||
|
{
|
||||||
std::string RecognizeRussiaIdentityCardRequest::getImageUrl() const {
|
imageUrl_ = imageUrl;
|
||||||
return imageUrl_;
|
setBodyParameter("ImageUrl", imageUrl);
|
||||||
}
|
|
||||||
|
|
||||||
void RecognizeRussiaIdentityCardRequest::setImageUrl(const std::string &imageUrl) {
|
|
||||||
imageUrl_ = imageUrl;
|
|
||||||
setBodyParameter(std::string("ImageUrl"), imageUrl);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,45 +1,51 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeStampRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeStampRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeStampRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeStampRequest;
|
||||||
|
|
||||||
RecognizeStampRequest::RecognizeStampRequest()
|
RecognizeStampRequest::RecognizeStampRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeStamp") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeStamp")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeStampRequest::~RecognizeStampRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
int RecognizeStampRequest::getImageType()const
|
||||||
|
{
|
||||||
|
return imageType_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeStampRequest::~RecognizeStampRequest() {}
|
void RecognizeStampRequest::setImageType(int imageType)
|
||||||
|
{
|
||||||
int RecognizeStampRequest::getImageType() const {
|
imageType_ = imageType;
|
||||||
return imageType_;
|
setBodyParameter("ImageType", std::to_string(imageType));
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeStampRequest::setImageType(int imageType) {
|
std::string RecognizeStampRequest::getImageURL()const
|
||||||
imageType_ = imageType;
|
{
|
||||||
setBodyParameter(std::string("ImageType"), std::to_string(imageType));
|
return imageURL_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string RecognizeStampRequest::getImageURL() const {
|
void RecognizeStampRequest::setImageURL(const std::string& imageURL)
|
||||||
return imageURL_;
|
{
|
||||||
}
|
imageURL_ = imageURL;
|
||||||
|
setBodyParameter("ImageURL", imageURL);
|
||||||
void RecognizeStampRequest::setImageURL(const std::string &imageURL) {
|
|
||||||
imageURL_ = imageURL;
|
|
||||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,90 +1,106 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeTableRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeTableRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeTableRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeTableRequest;
|
||||||
|
|
||||||
RecognizeTableRequest::RecognizeTableRequest()
|
RecognizeTableRequest::RecognizeTableRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeTable") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeTable")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeTableRequest::~RecognizeTableRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
bool RecognizeTableRequest::getUseFinanceModel()const
|
||||||
|
{
|
||||||
|
return useFinanceModel_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeTableRequest::~RecognizeTableRequest() {}
|
void RecognizeTableRequest::setUseFinanceModel(bool useFinanceModel)
|
||||||
|
{
|
||||||
bool RecognizeTableRequest::getUseFinanceModel() const {
|
useFinanceModel_ = useFinanceModel;
|
||||||
return useFinanceModel_;
|
setBodyParameter("UseFinanceModel", useFinanceModel ? "true" : "false");
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeTableRequest::setUseFinanceModel(bool useFinanceModel) {
|
bool RecognizeTableRequest::getSkipDetection()const
|
||||||
useFinanceModel_ = useFinanceModel;
|
{
|
||||||
setBodyParameter(std::string("UseFinanceModel"), useFinanceModel ? "true" : "false");
|
return skipDetection_;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool RecognizeTableRequest::getSkipDetection() const {
|
void RecognizeTableRequest::setSkipDetection(bool skipDetection)
|
||||||
return skipDetection_;
|
{
|
||||||
|
skipDetection_ = skipDetection;
|
||||||
|
setBodyParameter("SkipDetection", skipDetection ? "true" : "false");
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeTableRequest::setSkipDetection(bool skipDetection) {
|
std::string RecognizeTableRequest::getOutputFormat()const
|
||||||
skipDetection_ = skipDetection;
|
{
|
||||||
setBodyParameter(std::string("SkipDetection"), skipDetection ? "true" : "false");
|
return outputFormat_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string RecognizeTableRequest::getOutputFormat() const {
|
void RecognizeTableRequest::setOutputFormat(const std::string& outputFormat)
|
||||||
return outputFormat_;
|
{
|
||||||
|
outputFormat_ = outputFormat;
|
||||||
|
setBodyParameter("OutputFormat", outputFormat);
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeTableRequest::setOutputFormat(const std::string &outputFormat) {
|
bool RecognizeTableRequest::getAssureDirection()const
|
||||||
outputFormat_ = outputFormat;
|
{
|
||||||
setBodyParameter(std::string("OutputFormat"), outputFormat);
|
return assureDirection_;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool RecognizeTableRequest::getAssureDirection() const {
|
void RecognizeTableRequest::setAssureDirection(bool assureDirection)
|
||||||
return assureDirection_;
|
{
|
||||||
|
assureDirection_ = assureDirection;
|
||||||
|
setBodyParameter("AssureDirection", assureDirection ? "true" : "false");
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeTableRequest::setAssureDirection(bool assureDirection) {
|
bool RecognizeTableRequest::getHasLine()const
|
||||||
assureDirection_ = assureDirection;
|
{
|
||||||
setBodyParameter(std::string("AssureDirection"), assureDirection ? "true" : "false");
|
return hasLine_;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool RecognizeTableRequest::getHasLine() const {
|
void RecognizeTableRequest::setHasLine(bool hasLine)
|
||||||
return hasLine_;
|
{
|
||||||
|
hasLine_ = hasLine;
|
||||||
|
setBodyParameter("HasLine", hasLine ? "true" : "false");
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeTableRequest::setHasLine(bool hasLine) {
|
int RecognizeTableRequest::getImageType()const
|
||||||
hasLine_ = hasLine;
|
{
|
||||||
setBodyParameter(std::string("HasLine"), hasLine ? "true" : "false");
|
return imageType_;
|
||||||
}
|
}
|
||||||
|
|
||||||
int RecognizeTableRequest::getImageType() const {
|
void RecognizeTableRequest::setImageType(int imageType)
|
||||||
return imageType_;
|
{
|
||||||
|
imageType_ = imageType;
|
||||||
|
setBodyParameter("ImageType", std::to_string(imageType));
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeTableRequest::setImageType(int imageType) {
|
std::string RecognizeTableRequest::getImageURL()const
|
||||||
imageType_ = imageType;
|
{
|
||||||
setBodyParameter(std::string("ImageType"), std::to_string(imageType));
|
return imageURL_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string RecognizeTableRequest::getImageURL() const {
|
void RecognizeTableRequest::setImageURL(const std::string& imageURL)
|
||||||
return imageURL_;
|
{
|
||||||
}
|
imageURL_ = imageURL;
|
||||||
|
setBodyParameter("ImageURL", imageURL);
|
||||||
void RecognizeTableRequest::setImageURL(const std::string &imageURL) {
|
|
||||||
imageURL_ = imageURL;
|
|
||||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,36 +1,40 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeTakeoutOrderRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeTakeoutOrderRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeTakeoutOrderRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeTakeoutOrderRequest;
|
||||||
|
|
||||||
RecognizeTakeoutOrderRequest::RecognizeTakeoutOrderRequest()
|
RecognizeTakeoutOrderRequest::RecognizeTakeoutOrderRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeTakeoutOrder") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeTakeoutOrder")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeTakeoutOrderRequest::~RecognizeTakeoutOrderRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string RecognizeTakeoutOrderRequest::getImageURL()const
|
||||||
|
{
|
||||||
|
return imageURL_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeTakeoutOrderRequest::~RecognizeTakeoutOrderRequest() {}
|
void RecognizeTakeoutOrderRequest::setImageURL(const std::string& imageURL)
|
||||||
|
{
|
||||||
std::string RecognizeTakeoutOrderRequest::getImageURL() const {
|
imageURL_ = imageURL;
|
||||||
return imageURL_;
|
setBodyParameter("ImageURL", imageURL);
|
||||||
}
|
|
||||||
|
|
||||||
void RecognizeTakeoutOrderRequest::setImageURL(const std::string &imageURL) {
|
|
||||||
imageURL_ = imageURL;
|
|
||||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,45 +1,51 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeTaxiInvoiceRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeTaxiInvoiceRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeTaxiInvoiceRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeTaxiInvoiceRequest;
|
||||||
|
|
||||||
RecognizeTaxiInvoiceRequest::RecognizeTaxiInvoiceRequest()
|
RecognizeTaxiInvoiceRequest::RecognizeTaxiInvoiceRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeTaxiInvoice") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeTaxiInvoice")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeTaxiInvoiceRequest::~RecognizeTaxiInvoiceRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
int RecognizeTaxiInvoiceRequest::getImageType()const
|
||||||
|
{
|
||||||
|
return imageType_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeTaxiInvoiceRequest::~RecognizeTaxiInvoiceRequest() {}
|
void RecognizeTaxiInvoiceRequest::setImageType(int imageType)
|
||||||
|
{
|
||||||
int RecognizeTaxiInvoiceRequest::getImageType() const {
|
imageType_ = imageType;
|
||||||
return imageType_;
|
setBodyParameter("ImageType", std::to_string(imageType));
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeTaxiInvoiceRequest::setImageType(int imageType) {
|
std::string RecognizeTaxiInvoiceRequest::getImageURL()const
|
||||||
imageType_ = imageType;
|
{
|
||||||
setBodyParameter(std::string("ImageType"), std::to_string(imageType));
|
return imageURL_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string RecognizeTaxiInvoiceRequest::getImageURL() const {
|
void RecognizeTaxiInvoiceRequest::setImageURL(const std::string& imageURL)
|
||||||
return imageURL_;
|
{
|
||||||
}
|
imageURL_ = imageURL;
|
||||||
|
setBodyParameter("ImageURL", imageURL);
|
||||||
void RecognizeTaxiInvoiceRequest::setImageURL(const std::string &imageURL) {
|
|
||||||
imageURL_ = imageURL;
|
|
||||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,36 +1,40 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeTicketInvoiceRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeTicketInvoiceRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeTicketInvoiceRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeTicketInvoiceRequest;
|
||||||
|
|
||||||
RecognizeTicketInvoiceRequest::RecognizeTicketInvoiceRequest()
|
RecognizeTicketInvoiceRequest::RecognizeTicketInvoiceRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeTicketInvoice") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeTicketInvoice")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeTicketInvoiceRequest::~RecognizeTicketInvoiceRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string RecognizeTicketInvoiceRequest::getImageURL()const
|
||||||
|
{
|
||||||
|
return imageURL_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeTicketInvoiceRequest::~RecognizeTicketInvoiceRequest() {}
|
void RecognizeTicketInvoiceRequest::setImageURL(const std::string& imageURL)
|
||||||
|
{
|
||||||
std::string RecognizeTicketInvoiceRequest::getImageURL() const {
|
imageURL_ = imageURL;
|
||||||
return imageURL_;
|
setBodyParameter("ImageURL", imageURL);
|
||||||
}
|
|
||||||
|
|
||||||
void RecognizeTicketInvoiceRequest::setImageURL(const std::string &imageURL) {
|
|
||||||
imageURL_ = imageURL;
|
|
||||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,45 +1,51 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeTrainTicketRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeTrainTicketRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeTrainTicketRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeTrainTicketRequest;
|
||||||
|
|
||||||
RecognizeTrainTicketRequest::RecognizeTrainTicketRequest()
|
RecognizeTrainTicketRequest::RecognizeTrainTicketRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeTrainTicket") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeTrainTicket")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeTrainTicketRequest::~RecognizeTrainTicketRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
int RecognizeTrainTicketRequest::getImageType()const
|
||||||
|
{
|
||||||
|
return imageType_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeTrainTicketRequest::~RecognizeTrainTicketRequest() {}
|
void RecognizeTrainTicketRequest::setImageType(int imageType)
|
||||||
|
{
|
||||||
int RecognizeTrainTicketRequest::getImageType() const {
|
imageType_ = imageType;
|
||||||
return imageType_;
|
setBodyParameter("ImageType", std::to_string(imageType));
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeTrainTicketRequest::setImageType(int imageType) {
|
std::string RecognizeTrainTicketRequest::getImageURL()const
|
||||||
imageType_ = imageType;
|
{
|
||||||
setBodyParameter(std::string("ImageType"), std::to_string(imageType));
|
return imageURL_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string RecognizeTrainTicketRequest::getImageURL() const {
|
void RecognizeTrainTicketRequest::setImageURL(const std::string& imageURL)
|
||||||
return imageURL_;
|
{
|
||||||
}
|
imageURL_ = imageURL;
|
||||||
|
setBodyParameter("ImageURL", imageURL);
|
||||||
void RecognizeTrainTicketRequest::setImageURL(const std::string &imageURL) {
|
|
||||||
imageURL_ = imageURL;
|
|
||||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -40,22 +40,22 @@ void RecognizeTrainTicketResult::parse(const std::string &payload)
|
|||||||
reader.parse(payload, value);
|
reader.parse(payload, value);
|
||||||
setRequestId(value["RequestId"].asString());
|
setRequestId(value["RequestId"].asString());
|
||||||
auto dataNode = value["Data"];
|
auto dataNode = value["Data"];
|
||||||
if(!dataNode["Price"].isNull())
|
|
||||||
data_.price = std::stof(dataNode["Price"].asString());
|
|
||||||
if(!dataNode["Destination"].isNull())
|
|
||||||
data_.destination = dataNode["Destination"].asString();
|
|
||||||
if(!dataNode["DepartureStation"].isNull())
|
|
||||||
data_.departureStation = dataNode["DepartureStation"].asString();
|
|
||||||
if(!dataNode["Date"].isNull())
|
if(!dataNode["Date"].isNull())
|
||||||
data_.date = dataNode["Date"].asString();
|
data_.date = dataNode["Date"].asString();
|
||||||
if(!dataNode["Number"].isNull())
|
if(!dataNode["Destination"].isNull())
|
||||||
data_.number = dataNode["Number"].asString();
|
data_.destination = dataNode["Destination"].asString();
|
||||||
if(!dataNode["Seat"].isNull())
|
|
||||||
data_.seat = dataNode["Seat"].asString();
|
|
||||||
if(!dataNode["Name"].isNull())
|
|
||||||
data_.name = dataNode["Name"].asString();
|
|
||||||
if(!dataNode["Level"].isNull())
|
if(!dataNode["Level"].isNull())
|
||||||
data_.level = dataNode["Level"].asString();
|
data_.level = dataNode["Level"].asString();
|
||||||
|
if(!dataNode["Number"].isNull())
|
||||||
|
data_.number = dataNode["Number"].asString();
|
||||||
|
if(!dataNode["Name"].isNull())
|
||||||
|
data_.name = dataNode["Name"].asString();
|
||||||
|
if(!dataNode["DepartureStation"].isNull())
|
||||||
|
data_.departureStation = dataNode["DepartureStation"].asString();
|
||||||
|
if(!dataNode["Seat"].isNull())
|
||||||
|
data_.seat = dataNode["Seat"].asString();
|
||||||
|
if(!dataNode["Price"].isNull())
|
||||||
|
data_.price = std::stof(dataNode["Price"].asString());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,36 +1,40 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeTurkeyIdentityCardRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeTurkeyIdentityCardRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeTurkeyIdentityCardRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeTurkeyIdentityCardRequest;
|
||||||
|
|
||||||
RecognizeTurkeyIdentityCardRequest::RecognizeTurkeyIdentityCardRequest()
|
RecognizeTurkeyIdentityCardRequest::RecognizeTurkeyIdentityCardRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeTurkeyIdentityCard") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeTurkeyIdentityCard")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeTurkeyIdentityCardRequest::~RecognizeTurkeyIdentityCardRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string RecognizeTurkeyIdentityCardRequest::getImageUrl()const
|
||||||
|
{
|
||||||
|
return imageUrl_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeTurkeyIdentityCardRequest::~RecognizeTurkeyIdentityCardRequest() {}
|
void RecognizeTurkeyIdentityCardRequest::setImageUrl(const std::string& imageUrl)
|
||||||
|
{
|
||||||
std::string RecognizeTurkeyIdentityCardRequest::getImageUrl() const {
|
imageUrl_ = imageUrl;
|
||||||
return imageUrl_;
|
setBodyParameter("ImageUrl", imageUrl);
|
||||||
}
|
|
||||||
|
|
||||||
void RecognizeTurkeyIdentityCardRequest::setImageUrl(const std::string &imageUrl) {
|
|
||||||
imageUrl_ = imageUrl;
|
|
||||||
setBodyParameter(std::string("ImageUrl"), imageUrl);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,36 +1,40 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeUkraineIdentityCardRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeUkraineIdentityCardRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeUkraineIdentityCardRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeUkraineIdentityCardRequest;
|
||||||
|
|
||||||
RecognizeUkraineIdentityCardRequest::RecognizeUkraineIdentityCardRequest()
|
RecognizeUkraineIdentityCardRequest::RecognizeUkraineIdentityCardRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeUkraineIdentityCard") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeUkraineIdentityCard")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeUkraineIdentityCardRequest::~RecognizeUkraineIdentityCardRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string RecognizeUkraineIdentityCardRequest::getImageUrl()const
|
||||||
|
{
|
||||||
|
return imageUrl_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeUkraineIdentityCardRequest::~RecognizeUkraineIdentityCardRequest() {}
|
void RecognizeUkraineIdentityCardRequest::setImageUrl(const std::string& imageUrl)
|
||||||
|
{
|
||||||
std::string RecognizeUkraineIdentityCardRequest::getImageUrl() const {
|
imageUrl_ = imageUrl;
|
||||||
return imageUrl_;
|
setBodyParameter("ImageUrl", imageUrl);
|
||||||
}
|
|
||||||
|
|
||||||
void RecognizeUkraineIdentityCardRequest::setImageUrl(const std::string &imageUrl) {
|
|
||||||
imageUrl_ = imageUrl;
|
|
||||||
setBodyParameter(std::string("ImageUrl"), imageUrl);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,45 +1,51 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeVATInvoiceRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeVATInvoiceRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeVATInvoiceRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeVATInvoiceRequest;
|
||||||
|
|
||||||
RecognizeVATInvoiceRequest::RecognizeVATInvoiceRequest()
|
RecognizeVATInvoiceRequest::RecognizeVATInvoiceRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeVATInvoice") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeVATInvoice")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeVATInvoiceRequest::~RecognizeVATInvoiceRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string RecognizeVATInvoiceRequest::getFileType()const
|
||||||
|
{
|
||||||
|
return fileType_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeVATInvoiceRequest::~RecognizeVATInvoiceRequest() {}
|
void RecognizeVATInvoiceRequest::setFileType(const std::string& fileType)
|
||||||
|
{
|
||||||
std::string RecognizeVATInvoiceRequest::getFileType() const {
|
fileType_ = fileType;
|
||||||
return fileType_;
|
setBodyParameter("FileType", fileType);
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeVATInvoiceRequest::setFileType(const std::string &fileType) {
|
std::string RecognizeVATInvoiceRequest::getFileURL()const
|
||||||
fileType_ = fileType;
|
{
|
||||||
setBodyParameter(std::string("FileType"), fileType);
|
return fileURL_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string RecognizeVATInvoiceRequest::getFileURL() const {
|
void RecognizeVATInvoiceRequest::setFileURL(const std::string& fileURL)
|
||||||
return fileURL_;
|
{
|
||||||
}
|
fileURL_ = fileURL;
|
||||||
|
setBodyParameter("FileURL", fileURL);
|
||||||
void RecognizeVATInvoiceRequest::setFileURL(const std::string &fileURL) {
|
|
||||||
fileURL_ = fileURL;
|
|
||||||
setBodyParameter(std::string("FileURL"), fileURL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,45 +1,51 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeVINCodeRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeVINCodeRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeVINCodeRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeVINCodeRequest;
|
||||||
|
|
||||||
RecognizeVINCodeRequest::RecognizeVINCodeRequest()
|
RecognizeVINCodeRequest::RecognizeVINCodeRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeVINCode") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeVINCode")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeVINCodeRequest::~RecognizeVINCodeRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
int RecognizeVINCodeRequest::getImageType()const
|
||||||
|
{
|
||||||
|
return imageType_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeVINCodeRequest::~RecognizeVINCodeRequest() {}
|
void RecognizeVINCodeRequest::setImageType(int imageType)
|
||||||
|
{
|
||||||
int RecognizeVINCodeRequest::getImageType() const {
|
imageType_ = imageType;
|
||||||
return imageType_;
|
setParameter("ImageType", std::to_string(imageType));
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeVINCodeRequest::setImageType(int imageType) {
|
std::string RecognizeVINCodeRequest::getImageURL()const
|
||||||
imageType_ = imageType;
|
{
|
||||||
setParameter(std::string("ImageType"), std::to_string(imageType));
|
return imageURL_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string RecognizeVINCodeRequest::getImageURL() const {
|
void RecognizeVINCodeRequest::setImageURL(const std::string& imageURL)
|
||||||
return imageURL_;
|
{
|
||||||
}
|
imageURL_ = imageURL;
|
||||||
|
setParameter("ImageURL", imageURL);
|
||||||
void RecognizeVINCodeRequest::setImageURL(const std::string &imageURL) {
|
|
||||||
imageURL_ = imageURL;
|
|
||||||
setParameter(std::string("ImageURL"), imageURL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,36 +1,40 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeVerificationcodeRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeVerificationcodeRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeVerificationcodeRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeVerificationcodeRequest;
|
||||||
|
|
||||||
RecognizeVerificationcodeRequest::RecognizeVerificationcodeRequest()
|
RecognizeVerificationcodeRequest::RecognizeVerificationcodeRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeVerificationcode") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeVerificationcode")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeVerificationcodeRequest::~RecognizeVerificationcodeRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string RecognizeVerificationcodeRequest::getImageURL()const
|
||||||
|
{
|
||||||
|
return imageURL_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeVerificationcodeRequest::~RecognizeVerificationcodeRequest() {}
|
void RecognizeVerificationcodeRequest::setImageURL(const std::string& imageURL)
|
||||||
|
{
|
||||||
std::string RecognizeVerificationcodeRequest::getImageURL() const {
|
imageURL_ = imageURL;
|
||||||
return imageURL_;
|
setBodyParameter("ImageURL", imageURL);
|
||||||
}
|
|
||||||
|
|
||||||
void RecognizeVerificationcodeRequest::setImageURL(const std::string &imageURL) {
|
|
||||||
imageURL_ = imageURL;
|
|
||||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,65 +1,73 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeVideoCastCrewListRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeVideoCastCrewListRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeVideoCastCrewListRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeVideoCastCrewListRequest;
|
||||||
|
|
||||||
RecognizeVideoCastCrewListRequest::RecognizeVideoCastCrewListRequest()
|
RecognizeVideoCastCrewListRequest::RecognizeVideoCastCrewListRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeVideoCastCrewList") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeVideoCastCrewList")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeVideoCastCrewListRequest::~RecognizeVideoCastCrewListRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
Array RecognizeVideoCastCrewListRequest::getParams()const
|
||||||
|
{
|
||||||
|
return params_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeVideoCastCrewListRequest::~RecognizeVideoCastCrewListRequest() {}
|
void RecognizeVideoCastCrewListRequest::setParams(const Array& params)
|
||||||
|
{
|
||||||
std::vector<RecognizeVideoCastCrewListRequest::Params> RecognizeVideoCastCrewListRequest::getParams() const {
|
params_ = params;
|
||||||
return params_;
|
setBodyParameter("Params", std::to_string(params));
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeVideoCastCrewListRequest::setParams(const std::vector<RecognizeVideoCastCrewListRequest::Params> ¶ms) {
|
bool RecognizeVideoCastCrewListRequest::getAsync()const
|
||||||
params_ = params;
|
{
|
||||||
for(int dep1 = 0; dep1 != params.size(); dep1++) {
|
return async_;
|
||||||
setBodyParameter(std::string("Params") + "." + std::to_string(dep1 + 1) + ".Type", params[dep1].type);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool RecognizeVideoCastCrewListRequest::getAsync() const {
|
void RecognizeVideoCastCrewListRequest::setAsync(bool async)
|
||||||
return async_;
|
{
|
||||||
|
async_ = async;
|
||||||
|
setBodyParameter("Async", async ? "true" : "false");
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeVideoCastCrewListRequest::setAsync(bool async) {
|
std::string RecognizeVideoCastCrewListRequest::getRegisterUrl()const
|
||||||
async_ = async;
|
{
|
||||||
setBodyParameter(std::string("Async"), async ? "true" : "false");
|
return registerUrl_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string RecognizeVideoCastCrewListRequest::getRegisterUrl() const {
|
void RecognizeVideoCastCrewListRequest::setRegisterUrl(const std::string& registerUrl)
|
||||||
return registerUrl_;
|
{
|
||||||
|
registerUrl_ = registerUrl;
|
||||||
|
setBodyParameter("RegisterUrl", registerUrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeVideoCastCrewListRequest::setRegisterUrl(const std::string ®isterUrl) {
|
std::string RecognizeVideoCastCrewListRequest::getVideoUrl()const
|
||||||
registerUrl_ = registerUrl;
|
{
|
||||||
setBodyParameter(std::string("RegisterUrl"), registerUrl);
|
return videoUrl_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string RecognizeVideoCastCrewListRequest::getVideoUrl() const {
|
void RecognizeVideoCastCrewListRequest::setVideoUrl(const std::string& videoUrl)
|
||||||
return videoUrl_;
|
{
|
||||||
}
|
videoUrl_ = videoUrl;
|
||||||
|
setBodyParameter("VideoUrl", videoUrl);
|
||||||
void RecognizeVideoCastCrewListRequest::setVideoUrl(const std::string &videoUrl) {
|
|
||||||
videoUrl_ = videoUrl;
|
|
||||||
setBodyParameter(std::string("VideoUrl"), videoUrl);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,45 +1,51 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeVideoCharacterRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeVideoCharacterRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeVideoCharacterRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeVideoCharacterRequest;
|
||||||
|
|
||||||
RecognizeVideoCharacterRequest::RecognizeVideoCharacterRequest()
|
RecognizeVideoCharacterRequest::RecognizeVideoCharacterRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeVideoCharacter") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeVideoCharacter")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeVideoCharacterRequest::~RecognizeVideoCharacterRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
bool RecognizeVideoCharacterRequest::getAsync()const
|
||||||
|
{
|
||||||
|
return async_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeVideoCharacterRequest::~RecognizeVideoCharacterRequest() {}
|
void RecognizeVideoCharacterRequest::setAsync(bool async)
|
||||||
|
{
|
||||||
bool RecognizeVideoCharacterRequest::getAsync() const {
|
async_ = async;
|
||||||
return async_;
|
setBodyParameter("Async", async ? "true" : "false");
|
||||||
}
|
}
|
||||||
|
|
||||||
void RecognizeVideoCharacterRequest::setAsync(bool async) {
|
std::string RecognizeVideoCharacterRequest::getVideoURL()const
|
||||||
async_ = async;
|
{
|
||||||
setBodyParameter(std::string("Async"), async ? "true" : "false");
|
return videoURL_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string RecognizeVideoCharacterRequest::getVideoURL() const {
|
void RecognizeVideoCharacterRequest::setVideoURL(const std::string& videoURL)
|
||||||
return videoURL_;
|
{
|
||||||
}
|
videoURL_ = videoURL;
|
||||||
|
setBodyParameter("VideoURL", videoURL);
|
||||||
void RecognizeVideoCharacterRequest::setVideoURL(const std::string &videoURL) {
|
|
||||||
videoURL_ = videoURL;
|
|
||||||
setBodyParameter(std::string("VideoURL"), videoURL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -80,11 +80,25 @@ void RecognizeVideoCharacterResult::parse(const std::string &payload)
|
|||||||
}
|
}
|
||||||
data_.frames.push_back(frameObject);
|
data_.frames.push_back(frameObject);
|
||||||
}
|
}
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = value["Code"].asString();
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string RecognizeVideoCharacterResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
RecognizeVideoCharacterResult::Data RecognizeVideoCharacterResult::getData()const
|
RecognizeVideoCharacterResult::Data RecognizeVideoCharacterResult::getData()const
|
||||||
{
|
{
|
||||||
return data_;
|
return data_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string RecognizeVideoCharacterResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,36 +1,40 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/RecognizeVietnamIdentityCardRequest.h>
|
#include <alibabacloud/ocr/model/RecognizeVietnamIdentityCardRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::RecognizeVietnamIdentityCardRequest;
|
using AlibabaCloud::Ocr::Model::RecognizeVietnamIdentityCardRequest;
|
||||||
|
|
||||||
RecognizeVietnamIdentityCardRequest::RecognizeVietnamIdentityCardRequest()
|
RecognizeVietnamIdentityCardRequest::RecognizeVietnamIdentityCardRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "RecognizeVietnamIdentityCard") {
|
RpcServiceRequest("ocr", "2019-12-30", "RecognizeVietnamIdentityCard")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
RecognizeVietnamIdentityCardRequest::~RecognizeVietnamIdentityCardRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string RecognizeVietnamIdentityCardRequest::getImageUrl()const
|
||||||
|
{
|
||||||
|
return imageUrl_;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecognizeVietnamIdentityCardRequest::~RecognizeVietnamIdentityCardRequest() {}
|
void RecognizeVietnamIdentityCardRequest::setImageUrl(const std::string& imageUrl)
|
||||||
|
{
|
||||||
std::string RecognizeVietnamIdentityCardRequest::getImageUrl() const {
|
imageUrl_ = imageUrl;
|
||||||
return imageUrl_;
|
setBodyParameter("ImageUrl", imageUrl);
|
||||||
}
|
|
||||||
|
|
||||||
void RecognizeVietnamIdentityCardRequest::setImageUrl(const std::string &imageUrl) {
|
|
||||||
imageUrl_ = imageUrl;
|
|
||||||
setBodyParameter(std::string("ImageUrl"), imageUrl);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,63 +1,73 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/ocr/model/TrimDocumentRequest.h>
|
#include <alibabacloud/ocr/model/TrimDocumentRequest.h>
|
||||||
|
|
||||||
using AlibabaCloud::Ocr::Model::TrimDocumentRequest;
|
using AlibabaCloud::Ocr::Model::TrimDocumentRequest;
|
||||||
|
|
||||||
TrimDocumentRequest::TrimDocumentRequest()
|
TrimDocumentRequest::TrimDocumentRequest() :
|
||||||
: RpcServiceRequest("ocr", "2019-12-30", "TrimDocument") {
|
RpcServiceRequest("ocr", "2019-12-30", "TrimDocument")
|
||||||
setMethod(HttpRequest::Method::Post);
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
TrimDocumentRequest::~TrimDocumentRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string TrimDocumentRequest::getFileType()const
|
||||||
|
{
|
||||||
|
return fileType_;
|
||||||
}
|
}
|
||||||
|
|
||||||
TrimDocumentRequest::~TrimDocumentRequest() {}
|
void TrimDocumentRequest::setFileType(const std::string& fileType)
|
||||||
|
{
|
||||||
std::string TrimDocumentRequest::getFileType() const {
|
fileType_ = fileType;
|
||||||
return fileType_;
|
setBodyParameter("FileType", fileType);
|
||||||
}
|
}
|
||||||
|
|
||||||
void TrimDocumentRequest::setFileType(const std::string &fileType) {
|
std::string TrimDocumentRequest::getOutputType()const
|
||||||
fileType_ = fileType;
|
{
|
||||||
setBodyParameter(std::string("FileType"), fileType);
|
return outputType_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string TrimDocumentRequest::getOutputType() const {
|
void TrimDocumentRequest::setOutputType(const std::string& outputType)
|
||||||
return outputType_;
|
{
|
||||||
|
outputType_ = outputType;
|
||||||
|
setBodyParameter("OutputType", outputType);
|
||||||
}
|
}
|
||||||
|
|
||||||
void TrimDocumentRequest::setOutputType(const std::string &outputType) {
|
bool TrimDocumentRequest::getAsync()const
|
||||||
outputType_ = outputType;
|
{
|
||||||
setBodyParameter(std::string("OutputType"), outputType);
|
return async_;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool TrimDocumentRequest::getAsync() const {
|
void TrimDocumentRequest::setAsync(bool async)
|
||||||
return async_;
|
{
|
||||||
|
async_ = async;
|
||||||
|
setBodyParameter("Async", async ? "true" : "false");
|
||||||
}
|
}
|
||||||
|
|
||||||
void TrimDocumentRequest::setAsync(bool async) {
|
std::string TrimDocumentRequest::getFileURL()const
|
||||||
async_ = async;
|
{
|
||||||
setBodyParameter(std::string("Async"), async ? "true" : "false");
|
return fileURL_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string TrimDocumentRequest::getFileURL() const {
|
void TrimDocumentRequest::setFileURL(const std::string& fileURL)
|
||||||
return fileURL_;
|
{
|
||||||
}
|
fileURL_ = fileURL;
|
||||||
|
setBodyParameter("FileURL", fileURL);
|
||||||
void TrimDocumentRequest::setFileURL(const std::string &fileURL) {
|
|
||||||
fileURL_ = fileURL;
|
|
||||||
setBodyParameter(std::string("FileURL"), fileURL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -42,11 +42,25 @@ void TrimDocumentResult::parse(const std::string &payload)
|
|||||||
auto dataNode = value["Data"];
|
auto dataNode = value["Data"];
|
||||||
if(!dataNode["Content"].isNull())
|
if(!dataNode["Content"].isNull())
|
||||||
data_.content = dataNode["Content"].asString();
|
data_.content = dataNode["Content"].asString();
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = value["Code"].asString();
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string TrimDocumentResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
TrimDocumentResult::Data TrimDocumentResult::getData()const
|
TrimDocumentResult::Data TrimDocumentResult::getData()const
|
||||||
{
|
{
|
||||||
return data_;
|
return data_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string TrimDocumentResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user