CreateImageComponentRequest.h 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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_ECS_MODEL_CREATEIMAGECOMPONENTREQUEST_H_
  17. #define ALIBABACLOUD_ECS_MODEL_CREATEIMAGECOMPONENTREQUEST_H_
  18. #include <alibabacloud/ecs/EcsExport.h>
  19. #include <alibabacloud/core/RpcServiceRequest.h>
  20. #include <string>
  21. #include <vector>
  22. #include <map>
  23. namespace AlibabaCloud {
  24. namespace Ecs {
  25. namespace Model {
  26. class ALIBABACLOUD_ECS_EXPORT CreateImageComponentRequest : public RpcServiceRequest {
  27. public:
  28. struct Tag {
  29. std::string key;
  30. std::string value;
  31. };
  32. CreateImageComponentRequest();
  33. ~CreateImageComponentRequest();
  34. long getResourceOwnerId() const;
  35. void setResourceOwnerId(long resourceOwnerId);
  36. std::string getClientToken() const;
  37. void setClientToken(const std::string &clientToken);
  38. std::string getDescription() const;
  39. void setDescription(const std::string &description);
  40. std::string getSystemType() const;
  41. void setSystemType(const std::string &systemType);
  42. std::string getComponentVersion() const;
  43. void setComponentVersion(const std::string &componentVersion);
  44. std::string getContent() const;
  45. void setContent(const std::string &content);
  46. std::string getResourceGroupId() const;
  47. void setResourceGroupId(const std::string &resourceGroupId);
  48. std::string getRegionId() const;
  49. void setRegionId(const std::string &regionId);
  50. std::vector<Tag> getTag() const;
  51. void setTag(const std::vector<Tag> &tag);
  52. std::string getResourceOwnerAccount() const;
  53. void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
  54. std::string getOwnerAccount() const;
  55. void setOwnerAccount(const std::string &ownerAccount);
  56. long getOwnerId() const;
  57. void setOwnerId(long ownerId);
  58. std::string getComponentType() const;
  59. void setComponentType(const std::string &componentType);
  60. std::string getName() const;
  61. void setName(const std::string &name);
  62. private:
  63. long resourceOwnerId_;
  64. std::string clientToken_;
  65. std::string description_;
  66. std::string systemType_;
  67. std::string componentVersion_;
  68. std::string content_;
  69. std::string resourceGroupId_;
  70. std::string regionId_;
  71. std::vector<Tag> tag_;
  72. std::string resourceOwnerAccount_;
  73. std::string ownerAccount_;
  74. long ownerId_;
  75. std::string componentType_;
  76. std::string name_;
  77. };
  78. } // namespace Model
  79. } // namespace Ecs
  80. } // namespace AlibabaCloud
  81. #endif // !ALIBABACLOUD_ECS_MODEL_CREATEIMAGECOMPONENTREQUEST_H_