DescribeApisRequest.h 2.5 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_CLOUDAPI_MODEL_DESCRIBEAPISREQUEST_H_
  17. #define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISREQUEST_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 DescribeApisRequest : public RpcServiceRequest
  29. {
  30. public:
  31. struct Tag
  32. {
  33. std::string value;
  34. std::string key;
  35. };
  36. public:
  37. DescribeApisRequest();
  38. ~DescribeApisRequest();
  39. std::string getVisibility()const;
  40. void setVisibility(const std::string& visibility);
  41. std::string getGroupId()const;
  42. void setGroupId(const std::string& groupId);
  43. bool getEnableTagAuth()const;
  44. void setEnableTagAuth(bool enableTagAuth);
  45. int getPageNumber()const;
  46. void setPageNumber(int pageNumber);
  47. std::string getAccessKeyId()const;
  48. void setAccessKeyId(const std::string& accessKeyId);
  49. std::string getApiName()const;
  50. void setApiName(const std::string& apiName);
  51. std::string getCatalogId()const;
  52. void setCatalogId(const std::string& catalogId);
  53. std::string getSecurityToken()const;
  54. void setSecurityToken(const std::string& securityToken);
  55. int getPageSize()const;
  56. void setPageSize(int pageSize);
  57. std::vector<Tag> getTag()const;
  58. void setTag(const std::vector<Tag>& tag);
  59. std::string getApiId()const;
  60. void setApiId(const std::string& apiId);
  61. private:
  62. std::string visibility_;
  63. std::string groupId_;
  64. bool enableTagAuth_;
  65. int pageNumber_;
  66. std::string accessKeyId_;
  67. std::string apiName_;
  68. std::string catalogId_;
  69. std::string securityToken_;
  70. int pageSize_;
  71. std::vector<Tag> tag_;
  72. std::string apiId_;
  73. };
  74. }
  75. }
  76. }
  77. #endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISREQUEST_H_