FindImagesByTagNamesRequest.cc 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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/FindImagesByTagNamesRequest.h>
  17. using AlibabaCloud::Imm::Model::FindImagesByTagNamesRequest;
  18. FindImagesByTagNamesRequest::FindImagesByTagNamesRequest() :
  19. RpcServiceRequest("imm", "2017-09-06", "FindImagesByTagNames")
  20. {}
  21. FindImagesByTagNamesRequest::~FindImagesByTagNamesRequest()
  22. {}
  23. std::string FindImagesByTagNamesRequest::getProject()const
  24. {
  25. return project_;
  26. }
  27. void FindImagesByTagNamesRequest::setProject(const std::string& project)
  28. {
  29. project_ = project;
  30. setCoreParameter("Project", project);
  31. }
  32. std::string FindImagesByTagNamesRequest::getAccessKeyId()const
  33. {
  34. return accessKeyId_;
  35. }
  36. void FindImagesByTagNamesRequest::setAccessKeyId(const std::string& accessKeyId)
  37. {
  38. accessKeyId_ = accessKeyId;
  39. setCoreParameter("AccessKeyId", accessKeyId);
  40. }
  41. int FindImagesByTagNamesRequest::getLimit()const
  42. {
  43. return limit_;
  44. }
  45. void FindImagesByTagNamesRequest::setLimit(int limit)
  46. {
  47. limit_ = limit;
  48. setCoreParameter("Limit", std::to_string(limit));
  49. }
  50. std::string FindImagesByTagNamesRequest::getTagNames()const
  51. {
  52. return tagNames_;
  53. }
  54. void FindImagesByTagNamesRequest::setTagNames(const std::string& tagNames)
  55. {
  56. tagNames_ = tagNames;
  57. setCoreParameter("TagNames", tagNames);
  58. }
  59. std::string FindImagesByTagNamesRequest::getMarker()const
  60. {
  61. return marker_;
  62. }
  63. void FindImagesByTagNamesRequest::setMarker(const std::string& marker)
  64. {
  65. marker_ = marker;
  66. setCoreParameter("Marker", marker);
  67. }
  68. std::string FindImagesByTagNamesRequest::getSetId()const
  69. {
  70. return setId_;
  71. }
  72. void FindImagesByTagNamesRequest::setSetId(const std::string& setId)
  73. {
  74. setId_ = setId;
  75. setCoreParameter("SetId", setId);
  76. }