CreateInstanceRequest.h 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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_BSSOPENAPI_MODEL_CREATEINSTANCEREQUEST_H_
  17. #define ALIBABACLOUD_BSSOPENAPI_MODEL_CREATEINSTANCEREQUEST_H_
  18. #include <alibabacloud/bssopenapi/BssOpenApiExport.h>
  19. #include <alibabacloud/core/RpcServiceRequest.h>
  20. #include <string>
  21. #include <vector>
  22. #include <map>
  23. namespace AlibabaCloud {
  24. namespace BssOpenApi {
  25. namespace Model {
  26. class ALIBABACLOUD_BSSOPENAPI_EXPORT CreateInstanceRequest : public RpcServiceRequest {
  27. public:
  28. struct _Parameter {
  29. std::string code;
  30. std::string value;
  31. };
  32. CreateInstanceRequest();
  33. ~CreateInstanceRequest();
  34. std::string getProductCode() const;
  35. void setProductCode(const std::string &productCode);
  36. int getPeriod() const;
  37. void setPeriod(int period);
  38. std::string getClientToken() const;
  39. void setClientToken(const std::string &clientToken);
  40. std::string getSubscriptionType() const;
  41. void setSubscriptionType(const std::string &subscriptionType);
  42. std::string getLogistics() const;
  43. void setLogistics(const std::string &logistics);
  44. long getOwnerId() const;
  45. void setOwnerId(long ownerId);
  46. std::string getProductType() const;
  47. void setProductType(const std::string &productType);
  48. int getRenewPeriod() const;
  49. void setRenewPeriod(int renewPeriod);
  50. std::string getRenewalStatus() const;
  51. void setRenewalStatus(const std::string &renewalStatus);
  52. std::vector<_Parameter> get_Parameter() const;
  53. void set_Parameter(const std::vector<_Parameter> &_parameter);
  54. private:
  55. std::string productCode_;
  56. int period_;
  57. std::string clientToken_;
  58. std::string subscriptionType_;
  59. std::string logistics_;
  60. long ownerId_;
  61. std::string productType_;
  62. int renewPeriod_;
  63. std::string renewalStatus_;
  64. std::vector<_Parameter> _parameter_;
  65. };
  66. } // namespace Model
  67. } // namespace BssOpenApi
  68. } // namespace AlibabaCloud
  69. #endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CREATEINSTANCEREQUEST_H_