CreateActivationRequest.h 2.7 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_ECS_MODEL_CREATEACTIVATIONREQUEST_H_
  17. #define ALIBABACLOUD_ECS_MODEL_CREATEACTIVATIONREQUEST_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 CreateActivationRequest : public RpcServiceRequest {
  27. public:
  28. struct Tag {
  29. std::string key;
  30. std::string value;
  31. };
  32. CreateActivationRequest();
  33. ~CreateActivationRequest();
  34. long getResourceOwnerId() const;
  35. void setResourceOwnerId(long resourceOwnerId);
  36. std::string getDescription() const;
  37. void setDescription(const std::string &description);
  38. std::string getResourceGroupId() const;
  39. void setResourceGroupId(const std::string &resourceGroupId);
  40. std::string getRegionId() const;
  41. void setRegionId(const std::string &regionId);
  42. int getInstanceCount() const;
  43. void setInstanceCount(int instanceCount);
  44. std::vector<Tag> getTag() const;
  45. void setTag(const std::vector<Tag> &tag);
  46. std::string getResourceOwnerAccount() const;
  47. void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
  48. std::string getOwnerAccount() const;
  49. void setOwnerAccount(const std::string &ownerAccount);
  50. long getOwnerId() const;
  51. void setOwnerId(long ownerId);
  52. std::string getInstanceName() const;
  53. void setInstanceName(const std::string &instanceName);
  54. long getTimeToLiveInHours() const;
  55. void setTimeToLiveInHours(long timeToLiveInHours);
  56. std::string getIpAddressRange() const;
  57. void setIpAddressRange(const std::string &ipAddressRange);
  58. private:
  59. long resourceOwnerId_;
  60. std::string description_;
  61. std::string resourceGroupId_;
  62. std::string regionId_;
  63. int instanceCount_;
  64. std::vector<Tag> tag_;
  65. std::string resourceOwnerAccount_;
  66. std::string ownerAccount_;
  67. long ownerId_;
  68. std::string instanceName_;
  69. long timeToLiveInHours_;
  70. std::string ipAddressRange_;
  71. };
  72. } // namespace Model
  73. } // namespace Ecs
  74. } // namespace AlibabaCloud
  75. #endif // !ALIBABACLOUD_ECS_MODEL_CREATEACTIVATIONREQUEST_H_