| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- /*
- * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- #ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEREQUEST_H_
- #define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEREQUEST_H_
- #include <string>
- #include <vector>
- #include <alibabacloud/core/RpcServiceRequest.h>
- #include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
- namespace AlibabaCloud
- {
- namespace Dataworks_public
- {
- namespace Model
- {
- class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateTableRequest : public RpcServiceRequest
- {
- public:
- struct Columns
- {
- int seqNumber;
- bool isPartitionCol;
- std::string columnNameCn;
- int length;
- std::string comment;
- std::string columnName;
- std::string columnType;
- };
- struct Themes
- {
- int themeLevel;
- long themeId;
- };
- public:
- UpdateTableRequest();
- ~UpdateTableRequest();
- int getVisibility()const;
- void setVisibility(int visibility);
- long getPhysicsLevelId()const;
- void setPhysicsLevelId(long physicsLevelId);
- std::vector<Columns> getColumns()const;
- void setColumns(const std::vector<Columns>& columns);
- std::string getOwnerId()const;
- void setOwnerId(const std::string& ownerId);
- int getLifeCycle()const;
- void setLifeCycle(int lifeCycle);
- std::vector<Themes> getThemes()const;
- void setThemes(const std::vector<Themes>& themes);
- long getLogicalLevelId()const;
- void setLogicalLevelId(long logicalLevelId);
- std::string getEndpoint()const;
- void setEndpoint(const std::string& endpoint);
- int getIsView()const;
- void setIsView(int isView);
- std::string getExternalTableType()const;
- void setExternalTableType(const std::string& externalTableType);
- int getEnvType()const;
- void setEnvType(int envType);
- std::string getLocation()const;
- void setLocation(const std::string& location);
- int getHasPart()const;
- void setHasPart(int hasPart);
- std::string getTableName()const;
- void setTableName(const std::string& tableName);
- std::string getAppGuid()const;
- void setAppGuid(const std::string& appGuid);
- long getProjectId()const;
- void setProjectId(long projectId);
- long getCategoryId()const;
- void setCategoryId(long categoryId);
- bool getCreateIfNotExists()const;
- void setCreateIfNotExists(bool createIfNotExists);
- private:
- int visibility_;
- long physicsLevelId_;
- std::vector<Columns> columns_;
- std::string ownerId_;
- int lifeCycle_;
- std::vector<Themes> themes_;
- long logicalLevelId_;
- std::string endpoint_;
- int isView_;
- std::string externalTableType_;
- int envType_;
- std::string location_;
- int hasPart_;
- std::string tableName_;
- std::string appGuid_;
- long projectId_;
- long categoryId_;
- bool createIfNotExists_;
- };
- }
- }
- }
- #endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEREQUEST_H_
|