CreateDocIndexTaskRequest.cc 3.7 KB

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