CreateApiRequest.h 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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_CLOUDAPI_MODEL_CREATEAPIREQUEST_H_
  17. #define ALIBABACLOUD_CLOUDAPI_MODEL_CREATEAPIREQUEST_H_
  18. #include <string>
  19. #include <vector>
  20. #include <alibabacloud/core/RpcServiceRequest.h>
  21. #include <alibabacloud/cloudapi/CloudAPIExport.h>
  22. namespace AlibabaCloud
  23. {
  24. namespace CloudAPI
  25. {
  26. namespace Model
  27. {
  28. class ALIBABACLOUD_CLOUDAPI_EXPORT CreateApiRequest : public RpcServiceRequest
  29. {
  30. public:
  31. CreateApiRequest();
  32. ~CreateApiRequest();
  33. std::string getWebSocketApiType()const;
  34. void setWebSocketApiType(const std::string& webSocketApiType);
  35. std::string getErrorCodeSamples()const;
  36. void setErrorCodeSamples(const std::string& errorCodeSamples);
  37. std::string getAppCodeAuthType()const;
  38. void setAppCodeAuthType(const std::string& appCodeAuthType);
  39. std::string getDescription()const;
  40. void setDescription(const std::string& description);
  41. bool getDisableInternet()const;
  42. void setDisableInternet(bool disableInternet);
  43. std::string getConstantParameters()const;
  44. void setConstantParameters(const std::string& constantParameters);
  45. std::string getAccessKeyId()const;
  46. void setAccessKeyId(const std::string& accessKeyId);
  47. std::string getAuthType()const;
  48. void setAuthType(const std::string& authType);
  49. std::string getAllowSignatureMethod()const;
  50. void setAllowSignatureMethod(const std::string& allowSignatureMethod);
  51. std::string getServiceParameters()const;
  52. void setServiceParameters(const std::string& serviceParameters);
  53. std::string getFailResultSample()const;
  54. void setFailResultSample(const std::string& failResultSample);
  55. std::string getResourceOwnerToken()const;
  56. void setResourceOwnerToken(const std::string& resourceOwnerToken);
  57. std::string getSystemParameters()const;
  58. void setSystemParameters(const std::string& systemParameters);
  59. std::string getServiceParametersMap()const;
  60. void setServiceParametersMap(const std::string& serviceParametersMap);
  61. std::string getSecurityToken()const;
  62. void setSecurityToken(const std::string& securityToken);
  63. std::string getOpenIdConnectConfig()const;
  64. void setOpenIdConnectConfig(const std::string& openIdConnectConfig);
  65. std::string getRequestParameters()const;
  66. void setRequestParameters(const std::string& requestParameters);
  67. std::string getResultDescriptions()const;
  68. void setResultDescriptions(const std::string& resultDescriptions);
  69. std::string getVisibility()const;
  70. void setVisibility(const std::string& visibility);
  71. std::string getGroupId()const;
  72. void setGroupId(const std::string& groupId);
  73. std::string getServiceConfig()const;
  74. void setServiceConfig(const std::string& serviceConfig);
  75. std::string getResultType()const;
  76. void setResultType(const std::string& resultType);
  77. std::string getApiName()const;
  78. void setApiName(const std::string& apiName);
  79. std::string getResultSample()const;
  80. void setResultSample(const std::string& resultSample);
  81. bool getForceNonceCheck()const;
  82. void setForceNonceCheck(bool forceNonceCheck);
  83. std::string getRequestConfig()const;
  84. void setRequestConfig(const std::string& requestConfig);
  85. std::string getResultBodyModel()const;
  86. void setResultBodyModel(const std::string& resultBodyModel);
  87. private:
  88. std::string webSocketApiType_;
  89. std::string errorCodeSamples_;
  90. std::string appCodeAuthType_;
  91. std::string description_;
  92. bool disableInternet_;
  93. std::string constantParameters_;
  94. std::string accessKeyId_;
  95. std::string authType_;
  96. std::string allowSignatureMethod_;
  97. std::string serviceParameters_;
  98. std::string failResultSample_;
  99. std::string resourceOwnerToken_;
  100. std::string systemParameters_;
  101. std::string serviceParametersMap_;
  102. std::string securityToken_;
  103. std::string openIdConnectConfig_;
  104. std::string requestParameters_;
  105. std::string resultDescriptions_;
  106. std::string visibility_;
  107. std::string groupId_;
  108. std::string serviceConfig_;
  109. std::string resultType_;
  110. std::string apiName_;
  111. std::string resultSample_;
  112. bool forceNonceCheck_;
  113. std::string requestConfig_;
  114. std::string resultBodyModel_;
  115. };
  116. }
  117. }
  118. }
  119. #endif // !ALIBABACLOUD_CLOUDAPI_MODEL_CREATEAPIREQUEST_H_