CreateDocIndexTaskRequest.cc 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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. #include <alibabacloud/imm/model/CreateDocIndexTaskRequest.h>
  17. using AlibabaCloud::Imm::Model::CreateDocIndexTaskRequest;
  18. CreateDocIndexTaskRequest::CreateDocIndexTaskRequest() :
  19. RpcServiceRequest("imm", "2017-09-06", "CreateDocIndexTask")
  20. {
  21. setMethod(HttpRequest::Method::Post);
  22. }
  23. CreateDocIndexTaskRequest::~CreateDocIndexTaskRequest()
  24. {}
  25. std::string CreateDocIndexTaskRequest::getProject()const
  26. {
  27. return project_;
  28. }
  29. void CreateDocIndexTaskRequest::setProject(const std::string& project)
  30. {
  31. project_ = project;
  32. setParameter("Project", project);
  33. }
  34. std::string CreateDocIndexTaskRequest::getUniqueId()const
  35. {
  36. return uniqueId_;
  37. }
  38. void CreateDocIndexTaskRequest::setUniqueId(const std::string& uniqueId)
  39. {
  40. uniqueId_ = uniqueId;
  41. setParameter("UniqueId", uniqueId);
  42. }
  43. std::string CreateDocIndexTaskRequest::getCustomKey1()const
  44. {
  45. return customKey1_;
  46. }
  47. void CreateDocIndexTaskRequest::setCustomKey1(const std::string& customKey1)
  48. {
  49. customKey1_ = customKey1;
  50. setParameter("CustomKey1", customKey1);
  51. }
  52. std::string CreateDocIndexTaskRequest::getSet()const
  53. {
  54. return set_;
  55. }
  56. void CreateDocIndexTaskRequest::setSet(const std::string& set)
  57. {
  58. set_ = set;
  59. setParameter("Set", set);
  60. }
  61. std::string CreateDocIndexTaskRequest::getCustomKey5()const
  62. {
  63. return customKey5_;
  64. }
  65. void CreateDocIndexTaskRequest::setCustomKey5(const std::string& customKey5)
  66. {
  67. customKey5_ = customKey5;
  68. setParameter("CustomKey5", customKey5);
  69. }
  70. std::string CreateDocIndexTaskRequest::getCustomKey4()const
  71. {
  72. return customKey4_;
  73. }
  74. void CreateDocIndexTaskRequest::setCustomKey4(const std::string& customKey4)
  75. {
  76. customKey4_ = customKey4;
  77. setParameter("CustomKey4", customKey4);
  78. }
  79. std::string CreateDocIndexTaskRequest::getCustomKey3()const
  80. {
  81. return customKey3_;
  82. }
  83. void CreateDocIndexTaskRequest::setCustomKey3(const std::string& customKey3)
  84. {
  85. customKey3_ = customKey3;
  86. setParameter("CustomKey3", customKey3);
  87. }
  88. std::string CreateDocIndexTaskRequest::getCustomKey2()const
  89. {
  90. return customKey2_;
  91. }
  92. void CreateDocIndexTaskRequest::setCustomKey2(const std::string& customKey2)
  93. {
  94. customKey2_ = customKey2;
  95. setParameter("CustomKey2", customKey2);
  96. }
  97. std::string CreateDocIndexTaskRequest::getCustomKey6()const
  98. {
  99. return customKey6_;
  100. }
  101. void CreateDocIndexTaskRequest::setCustomKey6(const std::string& customKey6)
  102. {
  103. customKey6_ = customKey6;
  104. setParameter("CustomKey6", customKey6);
  105. }
  106. std::string CreateDocIndexTaskRequest::getContentType()const
  107. {
  108. return contentType_;
  109. }
  110. void CreateDocIndexTaskRequest::setContentType(const std::string& contentType)
  111. {
  112. contentType_ = contentType;
  113. setParameter("ContentType", contentType);
  114. }
  115. std::string CreateDocIndexTaskRequest::getName()const
  116. {
  117. return name_;
  118. }
  119. void CreateDocIndexTaskRequest::setName(const std::string& name)
  120. {
  121. name_ = name;
  122. setParameter("Name", name);
  123. }
  124. std::string CreateDocIndexTaskRequest::getSrcUri()const
  125. {
  126. return srcUri_;
  127. }
  128. void CreateDocIndexTaskRequest::setSrcUri(const std::string& srcUri)
  129. {
  130. srcUri_ = srcUri;
  131. setParameter("SrcUri", srcUri);
  132. }