DescribeApiGroupsRequest.h 2.3 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_CLOUDAPI_MODEL_DESCRIBEAPIGROUPSREQUEST_H_
  17. #define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIGROUPSREQUEST_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 DescribeApiGroupsRequest : public RpcServiceRequest
  29. {
  30. public:
  31. struct Tag
  32. {
  33. std::string value;
  34. std::string key;
  35. };
  36. public:
  37. DescribeApiGroupsRequest();
  38. ~DescribeApiGroupsRequest();
  39. std::string getGroupId()const;
  40. void setGroupId(const std::string& groupId);
  41. bool getEnableTagAuth()const;
  42. void setEnableTagAuth(bool enableTagAuth);
  43. std::string getGroupName()const;
  44. void setGroupName(const std::string& groupName);
  45. int getPageNumber()const;
  46. void setPageNumber(int pageNumber);
  47. std::string getAccessKeyId()const;
  48. void setAccessKeyId(const std::string& accessKeyId);
  49. std::string getInstanceId()const;
  50. void setInstanceId(const std::string& instanceId);
  51. std::string getSecurityToken()const;
  52. void setSecurityToken(const std::string& securityToken);
  53. int getPageSize()const;
  54. void setPageSize(int pageSize);
  55. std::vector<Tag> getTag()const;
  56. void setTag(const std::vector<Tag>& tag);
  57. private:
  58. std::string groupId_;
  59. bool enableTagAuth_;
  60. std::string groupName_;
  61. int pageNumber_;
  62. std::string accessKeyId_;
  63. std::string instanceId_;
  64. std::string securityToken_;
  65. int pageSize_;
  66. std::vector<Tag> tag_;
  67. };
  68. }
  69. }
  70. }
  71. #endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIGROUPSREQUEST_H_