CreateARMServerInstancesRequest.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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_ENS_MODEL_CREATEARMSERVERINSTANCESREQUEST_H_
  17. #define ALIBABACLOUD_ENS_MODEL_CREATEARMSERVERINSTANCESREQUEST_H_
  18. #include <alibabacloud/ens/EnsExport.h>
  19. #include <alibabacloud/core/RpcServiceRequest.h>
  20. #include <string>
  21. #include <vector>
  22. #include <map>
  23. namespace AlibabaCloud {
  24. namespace Ens {
  25. namespace Model {
  26. class ALIBABACLOUD_ENS_EXPORT CreateARMServerInstancesRequest : public RpcServiceRequest {
  27. public:
  28. CreateARMServerInstancesRequest();
  29. ~CreateARMServerInstancesRequest();
  30. std::string getKeyPairName() const;
  31. void setKeyPairName(const std::string &keyPairName);
  32. std::string getResolution() const;
  33. void setResolution(const std::string &resolution);
  34. int getFrequency() const;
  35. void setFrequency(int frequency);
  36. std::string getEnsRegionId() const;
  37. void setEnsRegionId(const std::string &ensRegionId);
  38. int getPeriod() const;
  39. void setPeriod(int period);
  40. std::string getPeriodUnit() const;
  41. void setPeriodUnit(const std::string &periodUnit);
  42. bool getAutoRenew() const;
  43. void setAutoRenew(bool autoRenew);
  44. std::string getImageId() const;
  45. void setImageId(const std::string &imageId);
  46. std::string getServerType() const;
  47. void setServerType(const std::string &serverType);
  48. std::string getInstanceType() const;
  49. void setInstanceType(const std::string &instanceType);
  50. int getAmount() const;
  51. void setAmount(int amount);
  52. std::string get_NameSpace() const;
  53. void set_NameSpace(const std::string &_nameSpace);
  54. std::string getPayType() const;
  55. void setPayType(const std::string &payType);
  56. private:
  57. std::string keyPairName_;
  58. std::string resolution_;
  59. int frequency_;
  60. std::string ensRegionId_;
  61. int period_;
  62. std::string periodUnit_;
  63. bool autoRenew_;
  64. std::string imageId_;
  65. std::string serverType_;
  66. std::string instanceType_;
  67. int amount_;
  68. std::string _nameSpace_;
  69. std::string payType_;
  70. };
  71. } // namespace Model
  72. } // namespace Ens
  73. } // namespace AlibabaCloud
  74. #endif // !ALIBABACLOUD_ENS_MODEL_CREATEARMSERVERINSTANCESREQUEST_H_