ModifyInstanceAttributeRequest.h 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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_MODIFYINSTANCEATTRIBUTEREQUEST_H_
  17. #define ALIBABACLOUD_ECS_MODEL_MODIFYINSTANCEATTRIBUTEREQUEST_H_
  18. #include <string>
  19. #include <vector>
  20. #include <alibabacloud/core/RpcServiceRequest.h>
  21. #include <alibabacloud/ecs/EcsExport.h>
  22. namespace AlibabaCloud
  23. {
  24. namespace Ecs
  25. {
  26. namespace Model
  27. {
  28. class ALIBABACLOUD_ECS_EXPORT ModifyInstanceAttributeRequest : public RpcServiceRequest
  29. {
  30. public:
  31. ModifyInstanceAttributeRequest();
  32. ~ModifyInstanceAttributeRequest();
  33. long getResourceOwnerId()const;
  34. void setResourceOwnerId(long resourceOwnerId);
  35. bool getRecyclable()const;
  36. void setRecyclable(bool recyclable);
  37. int getNetworkInterfaceQueueNumber()const;
  38. void setNetworkInterfaceQueueNumber(int networkInterfaceQueueNumber);
  39. std::string getDescription()const;
  40. void setDescription(const std::string& description);
  41. bool getDeletionProtection()const;
  42. void setDeletionProtection(bool deletionProtection);
  43. std::string getUserData()const;
  44. void setUserData(const std::string& userData);
  45. std::string getPassword()const;
  46. void setPassword(const std::string& password);
  47. std::string getHostName()const;
  48. void setHostName(const std::string& hostName);
  49. std::string getResourceOwnerAccount()const;
  50. void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
  51. std::string getOwnerAccount()const;
  52. void setOwnerAccount(const std::string& ownerAccount);
  53. std::string getCreditSpecification()const;
  54. void setCreditSpecification(const std::string& creditSpecification);
  55. long getOwnerId()const;
  56. void setOwnerId(long ownerId);
  57. std::vector<std::string> getSecurityGroupIds()const;
  58. void setSecurityGroupIds(const std::vector<std::string>& securityGroupIds);
  59. std::string getInstanceId()const;
  60. void setInstanceId(const std::string& instanceId);
  61. std::string getInstanceName()const;
  62. void setInstanceName(const std::string& instanceName);
  63. private:
  64. long resourceOwnerId_;
  65. bool recyclable_;
  66. int networkInterfaceQueueNumber_;
  67. std::string description_;
  68. bool deletionProtection_;
  69. std::string userData_;
  70. std::string password_;
  71. std::string hostName_;
  72. std::string resourceOwnerAccount_;
  73. std::string ownerAccount_;
  74. std::string creditSpecification_;
  75. long ownerId_;
  76. std::vector<std::string> securityGroupIds_;
  77. std::string instanceId_;
  78. std::string instanceName_;
  79. };
  80. }
  81. }
  82. }
  83. #endif // !ALIBABACLOUD_ECS_MODEL_MODIFYINSTANCEATTRIBUTEREQUEST_H_