ModifyReservedInstanceAutoRenewAttributeRequest.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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_MODIFYRESERVEDINSTANCEAUTORENEWATTRIBUTEREQUEST_H_
  17. #define ALIBABACLOUD_ECS_MODEL_MODIFYRESERVEDINSTANCEAUTORENEWATTRIBUTEREQUEST_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 ModifyReservedInstanceAutoRenewAttributeRequest : public RpcServiceRequest {
  27. public:
  28. ModifyReservedInstanceAutoRenewAttributeRequest();
  29. ~ModifyReservedInstanceAutoRenewAttributeRequest();
  30. long getResourceOwnerId() const;
  31. void setResourceOwnerId(long resourceOwnerId);
  32. std::string getRegionId() const;
  33. void setRegionId(const std::string &regionId);
  34. std::string getRenewalStatus() const;
  35. void setRenewalStatus(const std::string &renewalStatus);
  36. int getPeriod() const;
  37. void setPeriod(int period);
  38. std::string getResourceOwnerAccount() const;
  39. void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
  40. std::string getOwnerAccount() const;
  41. void setOwnerAccount(const std::string &ownerAccount);
  42. long getOwnerId() const;
  43. void setOwnerId(long ownerId);
  44. std::string getPeriodUnit() const;
  45. void setPeriodUnit(const std::string &periodUnit);
  46. std::vector<std::string> getReservedInstanceId() const;
  47. void setReservedInstanceId(const std::vector<std::string> &reservedInstanceId);
  48. private:
  49. long resourceOwnerId_;
  50. std::string regionId_;
  51. std::string renewalStatus_;
  52. int period_;
  53. std::string resourceOwnerAccount_;
  54. std::string ownerAccount_;
  55. long ownerId_;
  56. std::string periodUnit_;
  57. std::vector<std::string> reservedInstanceId_;
  58. };
  59. } // namespace Model
  60. } // namespace Ecs
  61. } // namespace AlibabaCloud
  62. #endif // !ALIBABACLOUD_ECS_MODEL_MODIFYRESERVEDINSTANCEAUTORENEWATTRIBUTEREQUEST_H_