text: /*
   * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
   *
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   *    http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  
  #ifndef TENCENTCLOUD_OCR_V20181119_MODEL_ENGLISHOCRRESPONSE_H_
  #define TENCENTCLOUD_OCR_V20181119_MODEL_ENGLISHOCRRESPONSE_H_
  
  #include <string>
  #include <vector>
  #include <map>
  #include <tencentcloud/core/AbstractModel.h>
  #include <tencentcloud/ocr/v20181119/model/TextDetectionEn.h>
  
  
  namespace TencentCloud
  {
      namespace Ocr
      {
          namespace V20181119
          {
              namespace Model
              {
                  /**
                  * EnglishOCR返回参数结构体
                  */
                  class EnglishOCRResponse : public AbstractModel
                  {
                  public:
                      EnglishOCRResponse();
                      ~EnglishOCRResponse() = default;
                      CoreInternalOutcome Deserialize(const std::string &payload);
  
  
                      /**
                       * 获取检测到的文本信息，具体内容请点击左侧链接。
                       * @return TextDetections 检测到的文本信息，具体内容请点击左侧链接。
                       */
                      std::vector<TextDetectionEn> GetTextDetections() const;
  
                      /**
                       * 判断参数 TextDetections 是否已赋值
                       * @return TextDetections 是否已赋值
                       */
                      bool TextDetectionsHasBeenSet() const;
  
                      /**
                       * 获取图片旋转角度（角度制），文本的水平方向为0°；顺时针为正，逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
                       * @return Angel 图片旋转角度（角度制），文本的水平方向为0°；顺时针为正，逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
                       */
                      double GetAngel() const;
  
                      /**
                       * 判断参数 Angel 是否已赋值
                       * @return Angel 是否已赋值
                       */
                      bool AngelHasBeenSet() const;
  
                  private:
  
                      /**
                       * 检测到的文本信息，具体内容请点击左侧链接。
                       */
                      std::vector<TextDetectionEn> m_textDetections;
                      bool m_textDetectionsHasBeenSet;
  
                      /**
                       * 图片旋转角度（角度制），文本的水平方向为0°；顺时针为正，逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
                       */
                      double m_angel;
                      bool m_angelHasBeenSet;
  
                  };
              }
          }
      }
  }
  
  #endif // !TENCENTCLOUD_OCR_V20181119_MODEL_ENGLISHOCRRESPONSE_H_
  