DescribeDataSetReportResult.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /*
  2. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. #ifndef ALIBABACLOUD_AIREC_MODEL_DESCRIBEDATASETREPORTRESULT_H_
  17. #define ALIBABACLOUD_AIREC_MODEL_DESCRIBEDATASETREPORTRESULT_H_
  18. #include <string>
  19. #include <vector>
  20. #include <utility>
  21. #include <alibabacloud/core/ServiceResult.h>
  22. #include <alibabacloud/airec/AirecExport.h>
  23. namespace AlibabaCloud
  24. {
  25. namespace Airec
  26. {
  27. namespace Model
  28. {
  29. class ALIBABACLOUD_AIREC_EXPORT DescribeDataSetReportResult : public ServiceResult
  30. {
  31. public:
  32. struct Result
  33. {
  34. struct Overall
  35. {
  36. float itemCompleteRate;
  37. float itemLoginRate;
  38. float itemLegalRate;
  39. int userUserCount;
  40. float userCompleteRate;
  41. int itemItemCount;
  42. int bhvCount;
  43. float userLoginRate;
  44. float userLegalRate;
  45. float userRepetitiveRate;
  46. float bhvLegalRate;
  47. float itemRepetitiveRate;
  48. };
  49. struct DetailItem
  50. {
  51. float ctr;
  52. long uv;
  53. long clickUser;
  54. float perUvBhv;
  55. float perUvClick;
  56. float uvCtr;
  57. long pv;
  58. long activeItem;
  59. long click;
  60. long bizDate;
  61. };
  62. Overall overall;
  63. std::vector<DetailItem> detail;
  64. };
  65. DescribeDataSetReportResult();
  66. explicit DescribeDataSetReportResult(const std::string &payload);
  67. ~DescribeDataSetReportResult();
  68. std::string getMessage()const;
  69. std::string getCode()const;
  70. Result getResult()const;
  71. protected:
  72. void parse(const std::string &payload);
  73. private:
  74. std::string message_;
  75. std::string code_;
  76. Result result_;
  77. };
  78. }
  79. }
  80. }
  81. #endif // !ALIBABACLOUD_AIREC_MODEL_DESCRIBEDATASETREPORTRESULT_H_