GetMetaTablePartitionRequest.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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_DATAWORKS_PUBLIC_MODEL_GETMETATABLEPARTITIONREQUEST_H_
  17. #define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEPARTITIONREQUEST_H_
  18. #include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
  19. #include <alibabacloud/core/RpcServiceRequest.h>
  20. #include <string>
  21. #include <vector>
  22. #include <map>
  23. namespace AlibabaCloud {
  24. namespace Dataworks_public {
  25. namespace Model {
  26. class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTablePartitionRequest : public RpcServiceRequest {
  27. public:
  28. struct SortCriterion {
  29. std::string sortField;
  30. std::string order;
  31. };
  32. GetMetaTablePartitionRequest();
  33. ~GetMetaTablePartitionRequest();
  34. SortCriterion getSortCriterion() const;
  35. void setSortCriterion(const SortCriterion &sortCriterion);
  36. std::string getDataSourceType() const;
  37. void setDataSourceType(const std::string &dataSourceType);
  38. std::string getClusterId() const;
  39. void setClusterId(const std::string &clusterId);
  40. int getPageNumber() const;
  41. void setPageNumber(int pageNumber);
  42. std::string getTableGuid() const;
  43. void setTableGuid(const std::string &tableGuid);
  44. std::string getDatabaseName() const;
  45. void setDatabaseName(const std::string &databaseName);
  46. int getPageSize() const;
  47. void setPageSize(int pageSize);
  48. std::string getTableName() const;
  49. void setTableName(const std::string &tableName);
  50. private:
  51. SortCriterion sortCriterion_;
  52. std::string dataSourceType_;
  53. std::string clusterId_;
  54. int pageNumber_;
  55. std::string tableGuid_;
  56. std::string databaseName_;
  57. int pageSize_;
  58. std::string tableName_;
  59. };
  60. } // namespace Model
  61. } // namespace Dataworks_public
  62. } // namespace AlibabaCloud
  63. #endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEPARTITIONREQUEST_H_