CreateInstanceRequest.h 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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_AMQP_OPEN_MODEL_CREATEINSTANCEREQUEST_H_
  17. #define ALIBABACLOUD_AMQP_OPEN_MODEL_CREATEINSTANCEREQUEST_H_
  18. #include <alibabacloud/amqp-open/Amqp_openExport.h>
  19. #include <alibabacloud/core/RpcServiceRequest.h>
  20. #include <string>
  21. #include <vector>
  22. #include <map>
  23. namespace AlibabaCloud {
  24. namespace Amqp_open {
  25. namespace Model {
  26. class ALIBABACLOUD_AMQP_OPEN_EXPORT CreateInstanceRequest : public RpcServiceRequest {
  27. public:
  28. CreateInstanceRequest();
  29. ~CreateInstanceRequest();
  30. long getMaxPrivateTps() const;
  31. void setMaxPrivateTps(long maxPrivateTps);
  32. std::string getClientToken() const;
  33. void setClientToken(const std::string &clientToken);
  34. std::string getPeriodCycle() const;
  35. void setPeriodCycle(const std::string &periodCycle);
  36. int getStorageSize() const;
  37. void setStorageSize(int storageSize);
  38. int getQueueCapacity() const;
  39. void setQueueCapacity(int queueCapacity);
  40. int getTracingStorageTime() const;
  41. void setTracingStorageTime(int tracingStorageTime);
  42. int getMaxConnections() const;
  43. void setMaxConnections(int maxConnections);
  44. bool getSupportTracing() const;
  45. void setSupportTracing(bool supportTracing);
  46. std::string getInstanceType() const;
  47. void setInstanceType(const std::string &instanceType);
  48. int getAutoRenewPeriod() const;
  49. void setAutoRenewPeriod(int autoRenewPeriod);
  50. int getPeriod() const;
  51. void setPeriod(int period);
  52. bool getAutoRenew() const;
  53. void setAutoRenew(bool autoRenew);
  54. bool getSupportEip() const;
  55. void setSupportEip(bool supportEip);
  56. long getMaxEipTps() const;
  57. void setMaxEipTps(long maxEipTps);
  58. std::string getPaymentType() const;
  59. void setPaymentType(const std::string &paymentType);
  60. private:
  61. long maxPrivateTps_;
  62. std::string clientToken_;
  63. std::string periodCycle_;
  64. int storageSize_;
  65. int queueCapacity_;
  66. int tracingStorageTime_;
  67. int maxConnections_;
  68. bool supportTracing_;
  69. std::string instanceType_;
  70. int autoRenewPeriod_;
  71. int period_;
  72. bool autoRenew_;
  73. bool supportEip_;
  74. long maxEipTps_;
  75. std::string paymentType_;
  76. };
  77. } // namespace Model
  78. } // namespace Amqp_open
  79. } // namespace AlibabaCloud
  80. #endif // !ALIBABACLOUD_AMQP_OPEN_MODEL_CREATEINSTANCEREQUEST_H_