GetSubscriptionPriceRequest.h 2.7 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_BSSOPENAPI_MODEL_GETSUBSCRIPTIONPRICEREQUEST_H_
  17. #define ALIBABACLOUD_BSSOPENAPI_MODEL_GETSUBSCRIPTIONPRICEREQUEST_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 GetSubscriptionPriceRequest : public RpcServiceRequest {
  27. public:
  28. struct ModuleList {
  29. std::string moduleCode;
  30. int moduleStatus;
  31. std::string tag;
  32. std::string config;
  33. };
  34. GetSubscriptionPriceRequest();
  35. ~GetSubscriptionPriceRequest();
  36. std::string getProductCode() const;
  37. void setProductCode(const std::string &productCode);
  38. int getQuantity() const;
  39. void setQuantity(int quantity);
  40. std::string getSubscriptionType() const;
  41. void setSubscriptionType(const std::string &subscriptionType);
  42. std::vector<ModuleList> getModuleList() const;
  43. void setModuleList(const std::vector<ModuleList> &moduleList);
  44. long getOwnerId() const;
  45. void setOwnerId(long ownerId);
  46. std::string getProductType() const;
  47. void setProductType(const std::string &productType);
  48. int getServicePeriodQuantity() const;
  49. void setServicePeriodQuantity(int servicePeriodQuantity);
  50. std::string getInstanceId() const;
  51. void setInstanceId(const std::string &instanceId);
  52. std::string getServicePeriodUnit() const;
  53. void setServicePeriodUnit(const std::string &servicePeriodUnit);
  54. std::string getRegion() const;
  55. void setRegion(const std::string &region);
  56. std::string getOrderType() const;
  57. void setOrderType(const std::string &orderType);
  58. private:
  59. std::string productCode_;
  60. int quantity_;
  61. std::string subscriptionType_;
  62. std::vector<ModuleList> moduleList_;
  63. long ownerId_;
  64. std::string productType_;
  65. int servicePeriodQuantity_;
  66. std::string instanceId_;
  67. std::string servicePeriodUnit_;
  68. std::string region_;
  69. std::string orderType_;
  70. };
  71. } // namespace Model
  72. } // namespace BssOpenApi
  73. } // namespace AlibabaCloud
  74. #endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_GETSUBSCRIPTIONPRICEREQUEST_H_