ListCustomImagesRequest.h 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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_SWAS_OPEN_MODEL_LISTCUSTOMIMAGESREQUEST_H_
  17. #define ALIBABACLOUD_SWAS_OPEN_MODEL_LISTCUSTOMIMAGESREQUEST_H_
  18. #include <alibabacloud/swas-open/SWAS_OPENExport.h>
  19. #include <alibabacloud/core/RpcServiceRequest.h>
  20. #include <string>
  21. #include <vector>
  22. #include <map>
  23. namespace AlibabaCloud {
  24. namespace SWAS_OPEN {
  25. namespace Model {
  26. class ALIBABACLOUD_SWAS_OPEN_EXPORT ListCustomImagesRequest : public RpcServiceRequest {
  27. public:
  28. struct Tag {
  29. std::string key;
  30. std::string value;
  31. };
  32. ListCustomImagesRequest();
  33. ~ListCustomImagesRequest();
  34. std::string getSystemSnapshotId() const;
  35. void setSystemSnapshotId(const std::string &systemSnapshotId);
  36. std::string getDataSnapshotId() const;
  37. void setDataSnapshotId(const std::string &dataSnapshotId);
  38. std::string getClientToken() const;
  39. void setClientToken(const std::string &clientToken);
  40. std::string getImageNames() const;
  41. void setImageNames(const std::string &imageNames);
  42. int getPageNumber() const;
  43. void setPageNumber(int pageNumber);
  44. std::string getResourceGroupId() const;
  45. void setResourceGroupId(const std::string &resourceGroupId);
  46. std::string getRegionId() const;
  47. void setRegionId(const std::string &regionId);
  48. int getPageSize() const;
  49. void setPageSize(int pageSize);
  50. bool getShare() const;
  51. void setShare(bool share);
  52. std::vector<Tag> getTag() const;
  53. void setTag(const std::vector<Tag> &tag);
  54. std::string getInstanceId() const;
  55. void setInstanceId(const std::string &instanceId);
  56. std::string getImageIds() const;
  57. void setImageIds(const std::string &imageIds);
  58. private:
  59. std::string systemSnapshotId_;
  60. std::string dataSnapshotId_;
  61. std::string clientToken_;
  62. std::string imageNames_;
  63. int pageNumber_;
  64. std::string resourceGroupId_;
  65. std::string regionId_;
  66. int pageSize_;
  67. bool share_;
  68. std::vector<Tag> tag_;
  69. std::string instanceId_;
  70. std::string imageIds_;
  71. };
  72. } // namespace Model
  73. } // namespace SWAS_OPEN
  74. } // namespace AlibabaCloud
  75. #endif // !ALIBABACLOUD_SWAS_OPEN_MODEL_LISTCUSTOMIMAGESREQUEST_H_