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_AMS_V20201229_MODEL_DESCRIBETASKSRESPONSE_H_
  #define TENCENTCLOUD_AMS_V20201229_MODEL_DESCRIBETASKSRESPONSE_H_
  
  #include <string>
  #include <vector>
  #include <map>
  #include <tencentcloud/core/AbstractModel.h>
  #include <tencentcloud/ams/v20201229/model/TaskData.h>
  
  
  namespace TencentCloud
  {
      namespace Ams
      {
          namespace V20201229
          {
              namespace Model
              {
                  /**
                  * DescribeTasks response structure.
                  */
                  class DescribeTasksResponse : public AbstractModel
                  {
                  public:
                      DescribeTasksResponse();
                      ~DescribeTasksResponse() = default;
                      CoreInternalOutcome Deserialize(const std::string &payload);
                      std::string ToJsonString() const;
  
  
                      /**
                       * 获取This field is used to return the total number of queried tasks in the format of `int` string.
  Note: this field may return null, indicating that no valid values can be obtained.
                       * @return Total This field is used to return the total number of queried tasks in the format of `int` string.
  Note: this field may return null, indicating that no valid values can be obtained.
                       */
                      std::string GetTotal() const;
  
                      /**
                       * 判断参数 Total 是否已赋值
                       * @return Total 是否已赋值
                       */
                      bool TotalHasBeenSet() const;
  
                      /**
                       * 获取This field is used to return the detailed data of the tasks on the current page. For the specific output content, see the detailed description of the `TaskData` data structure.
  Note: this field may return null, indicating that no valid values can be obtained.
                       * @return Data This field is used to return the detailed data of the tasks on the current page. For the specific output content, see the detailed description of the `TaskData` data structure.
  Note: this field may return null, indicating that no valid values can be obtained.
                       */
                      std::vector<TaskData> GetData() const;
  
                      /**
                       * 判断参数 Data 是否已赋值
                       * @return Data 是否已赋值
                       */
                      bool DataHasBeenSet() const;
  
                      /**
                       * 获取This field is used to return the `Token` information used during pagination. It is automatically generated by the system and will be passed to the next generated page for easy and fast pagination. When you turn to the last page, this field will be empty.
  Note: this field may return null, indicating that no valid values can be obtained.
                       * @return PageToken This field is used to return the `Token` information used during pagination. It is automatically generated by the system and will be passed to the next generated page for easy and fast pagination. When you turn to the last page, this field will be empty.
  Note: this field may return null, indicating that no valid values can be obtained.
                       */
                      std::string GetPageToken() const;
  
                      /**
                       * 判断参数 PageToken 是否已赋值
                       * @return PageToken 是否已赋值
                       */
                      bool PageTokenHasBeenSet() const;
  
                  private:
  
                      /**
                       * This field is used to return the total number of queried tasks in the format of `int` string.
  Note: this field may return null, indicating that no valid values can be obtained.
                       */
                      std::string m_total;
                      bool m_totalHasBeenSet;
  
                      /**
                       * This field is used to return the detailed data of the tasks on the current page. For the specific output content, see the detailed description of the `TaskData` data structure.
  Note: this field may return null, indicating that no valid values can be obtained.
                       */
                      std::vector<TaskData> m_data;
                      bool m_dataHasBeenSet;
  
                      /**
                       * This field is used to return the `Token` information used during pagination. It is automatically generated by the system and will be passed to the next generated page for easy and fast pagination. When you turn to the last page, this field will be empty.
  Note: this field may return null, indicating that no valid values can be obtained.
                       */
                      std::string m_pageToken;
                      bool m_pageTokenHasBeenSet;
  
                  };
              }
          }
      }
  }
  
  #endif // !TENCENTCLOUD_AMS_V20201229_MODEL_DESCRIBETASKSRESPONSE_H_
  