diff --git a/CHANGELOG b/CHANGELOG index 50089f263..a3fe4dad2 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2021-10-26 Version: 1.36.911 +- Add QueryEmbedTokenInfo,DeleteEmbedToken,CreateEmbedToken,DelayEmbedToken,BuildSignatureUrl, and update QueryDatasetInfo,AuthorizeMenu,AddUserTagMeta,AddUser. + 2021-10-26 Version: 1.36.910 - Update Dyvmsapi SDK. diff --git a/VERSION b/VERSION index 68e6ac1a6..57b54a95c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.910 \ No newline at end of file +1.36.911 \ No newline at end of file diff --git a/quickbi-public/CMakeLists.txt b/quickbi-public/CMakeLists.txt new file mode 100644 index 000000000..70514fd75 --- /dev/null +++ b/quickbi-public/CMakeLists.txt @@ -0,0 +1,366 @@ +# +# 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. +# + +set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include) + +set(quickbi-public_public_header + include/alibabacloud/quickbi-public/Quickbi_publicClient.h + include/alibabacloud/quickbi-public/Quickbi_publicExport.h ) + +set(quickbi-public_public_header_model + include/alibabacloud/quickbi-public/model/AddDataLevelPermissionRuleUsersRequest.h + include/alibabacloud/quickbi-public/model/AddDataLevelPermissionRuleUsersResult.h + include/alibabacloud/quickbi-public/model/AddDataLevelPermissionWhiteListRequest.h + include/alibabacloud/quickbi-public/model/AddDataLevelPermissionWhiteListResult.h + include/alibabacloud/quickbi-public/model/AddShareReportRequest.h + include/alibabacloud/quickbi-public/model/AddShareReportResult.h + include/alibabacloud/quickbi-public/model/AddUserRequest.h + include/alibabacloud/quickbi-public/model/AddUserResult.h + include/alibabacloud/quickbi-public/model/AddUserGroupMemberRequest.h + include/alibabacloud/quickbi-public/model/AddUserGroupMemberResult.h + include/alibabacloud/quickbi-public/model/AddUserTagMetaRequest.h + include/alibabacloud/quickbi-public/model/AddUserTagMetaResult.h + include/alibabacloud/quickbi-public/model/AddUserToWorkspaceRequest.h + include/alibabacloud/quickbi-public/model/AddUserToWorkspaceResult.h + include/alibabacloud/quickbi-public/model/AddWorkspaceUsersRequest.h + include/alibabacloud/quickbi-public/model/AddWorkspaceUsersResult.h + include/alibabacloud/quickbi-public/model/AuthorizeMenuRequest.h + include/alibabacloud/quickbi-public/model/AuthorizeMenuResult.h + include/alibabacloud/quickbi-public/model/BuildSignatureUrlRequest.h + include/alibabacloud/quickbi-public/model/BuildSignatureUrlResult.h + include/alibabacloud/quickbi-public/model/CancelAuthorizationMenuRequest.h + include/alibabacloud/quickbi-public/model/CancelAuthorizationMenuResult.h + include/alibabacloud/quickbi-public/model/CancelCollectionRequest.h + include/alibabacloud/quickbi-public/model/CancelCollectionResult.h + include/alibabacloud/quickbi-public/model/CancelReportShareRequest.h + include/alibabacloud/quickbi-public/model/CancelReportShareResult.h + include/alibabacloud/quickbi-public/model/ChangeVisibilityModelRequest.h + include/alibabacloud/quickbi-public/model/ChangeVisibilityModelResult.h + include/alibabacloud/quickbi-public/model/CheckReadableRequest.h + include/alibabacloud/quickbi-public/model/CheckReadableResult.h + include/alibabacloud/quickbi-public/model/CreateEmbedTokenRequest.h + include/alibabacloud/quickbi-public/model/CreateEmbedTokenResult.h + include/alibabacloud/quickbi-public/model/CreateUserGroupRequest.h + include/alibabacloud/quickbi-public/model/CreateUserGroupResult.h + include/alibabacloud/quickbi-public/model/DelayEmbedTokenRequest.h + include/alibabacloud/quickbi-public/model/DelayEmbedTokenResult.h + include/alibabacloud/quickbi-public/model/DeleteDataLevelPermissionRuleUsersRequest.h + include/alibabacloud/quickbi-public/model/DeleteDataLevelPermissionRuleUsersResult.h + include/alibabacloud/quickbi-public/model/DeleteDataLevelRuleConfigRequest.h + include/alibabacloud/quickbi-public/model/DeleteDataLevelRuleConfigResult.h + include/alibabacloud/quickbi-public/model/DeleteEmbedTokenRequest.h + include/alibabacloud/quickbi-public/model/DeleteEmbedTokenResult.h + include/alibabacloud/quickbi-public/model/DeleteUserRequest.h + include/alibabacloud/quickbi-public/model/DeleteUserResult.h + include/alibabacloud/quickbi-public/model/DeleteUserFromWorkspaceRequest.h + include/alibabacloud/quickbi-public/model/DeleteUserFromWorkspaceResult.h + include/alibabacloud/quickbi-public/model/DeleteUserGroupRequest.h + include/alibabacloud/quickbi-public/model/DeleteUserGroupResult.h + include/alibabacloud/quickbi-public/model/DeleteUserGroupMemberRequest.h + include/alibabacloud/quickbi-public/model/DeleteUserGroupMemberResult.h + include/alibabacloud/quickbi-public/model/DeleteUserGroupMembersRequest.h + include/alibabacloud/quickbi-public/model/DeleteUserGroupMembersResult.h + include/alibabacloud/quickbi-public/model/DeleteUserTagMetaRequest.h + include/alibabacloud/quickbi-public/model/DeleteUserTagMetaResult.h + include/alibabacloud/quickbi-public/model/GetUserGroupInfoRequest.h + include/alibabacloud/quickbi-public/model/GetUserGroupInfoResult.h + include/alibabacloud/quickbi-public/model/ListByUserGroupIdRequest.h + include/alibabacloud/quickbi-public/model/ListByUserGroupIdResult.h + include/alibabacloud/quickbi-public/model/ListCollectionsRequest.h + include/alibabacloud/quickbi-public/model/ListCollectionsResult.h + include/alibabacloud/quickbi-public/model/ListCubeDataLevelPermissionConfigRequest.h + include/alibabacloud/quickbi-public/model/ListCubeDataLevelPermissionConfigResult.h + include/alibabacloud/quickbi-public/model/ListDataLevelPermissionWhiteListRequest.h + include/alibabacloud/quickbi-public/model/ListDataLevelPermissionWhiteListResult.h + include/alibabacloud/quickbi-public/model/ListPortalMenuAuthorizationRequest.h + include/alibabacloud/quickbi-public/model/ListPortalMenuAuthorizationResult.h + include/alibabacloud/quickbi-public/model/ListPortalMenusRequest.h + include/alibabacloud/quickbi-public/model/ListPortalMenusResult.h + include/alibabacloud/quickbi-public/model/ListUserGroupsByUserIdRequest.h + include/alibabacloud/quickbi-public/model/ListUserGroupsByUserIdResult.h + include/alibabacloud/quickbi-public/model/QueryDataServiceRequest.h + include/alibabacloud/quickbi-public/model/QueryDataServiceResult.h + include/alibabacloud/quickbi-public/model/QueryDatasetDetailInfoRequest.h + include/alibabacloud/quickbi-public/model/QueryDatasetDetailInfoResult.h + include/alibabacloud/quickbi-public/model/QueryDatasetInfoRequest.h + include/alibabacloud/quickbi-public/model/QueryDatasetInfoResult.h + include/alibabacloud/quickbi-public/model/QueryDatasetListRequest.h + include/alibabacloud/quickbi-public/model/QueryDatasetListResult.h + include/alibabacloud/quickbi-public/model/QueryDatasetSwitchInfoRequest.h + include/alibabacloud/quickbi-public/model/QueryDatasetSwitchInfoResult.h + include/alibabacloud/quickbi-public/model/QueryEmbedTokenInfoRequest.h + include/alibabacloud/quickbi-public/model/QueryEmbedTokenInfoResult.h + include/alibabacloud/quickbi-public/model/QueryEmbeddedInfoRequest.h + include/alibabacloud/quickbi-public/model/QueryEmbeddedInfoResult.h + include/alibabacloud/quickbi-public/model/QueryEmbeddedStausRequest.h + include/alibabacloud/quickbi-public/model/QueryEmbeddedStausResult.h + include/alibabacloud/quickbi-public/model/QueryOrganizationWorkspaceListRequest.h + include/alibabacloud/quickbi-public/model/QueryOrganizationWorkspaceListResult.h + include/alibabacloud/quickbi-public/model/QueryReadableResourcesListByUserIdRequest.h + include/alibabacloud/quickbi-public/model/QueryReadableResourcesListByUserIdResult.h + include/alibabacloud/quickbi-public/model/QueryShareListRequest.h + include/alibabacloud/quickbi-public/model/QueryShareListResult.h + include/alibabacloud/quickbi-public/model/QuerySharesToUserListRequest.h + include/alibabacloud/quickbi-public/model/QuerySharesToUserListResult.h + include/alibabacloud/quickbi-public/model/QueryUserGroupListByParentIdRequest.h + include/alibabacloud/quickbi-public/model/QueryUserGroupListByParentIdResult.h + include/alibabacloud/quickbi-public/model/QueryUserGroupMemberRequest.h + include/alibabacloud/quickbi-public/model/QueryUserGroupMemberResult.h + include/alibabacloud/quickbi-public/model/QueryUserInfoByAccountRequest.h + include/alibabacloud/quickbi-public/model/QueryUserInfoByAccountResult.h + include/alibabacloud/quickbi-public/model/QueryUserInfoByUserIdRequest.h + include/alibabacloud/quickbi-public/model/QueryUserInfoByUserIdResult.h + include/alibabacloud/quickbi-public/model/QueryUserListRequest.h + include/alibabacloud/quickbi-public/model/QueryUserListResult.h + include/alibabacloud/quickbi-public/model/QueryUserRoleInfoInWorkspaceRequest.h + include/alibabacloud/quickbi-public/model/QueryUserRoleInfoInWorkspaceResult.h + include/alibabacloud/quickbi-public/model/QueryUserTagMetaListRequest.h + include/alibabacloud/quickbi-public/model/QueryUserTagMetaListResult.h + include/alibabacloud/quickbi-public/model/QueryUserTagValueListRequest.h + include/alibabacloud/quickbi-public/model/QueryUserTagValueListResult.h + include/alibabacloud/quickbi-public/model/QueryWorksByOrganizationRequest.h + include/alibabacloud/quickbi-public/model/QueryWorksByOrganizationResult.h + include/alibabacloud/quickbi-public/model/QueryWorksByWorkspaceRequest.h + include/alibabacloud/quickbi-public/model/QueryWorksByWorkspaceResult.h + include/alibabacloud/quickbi-public/model/QueryWorkspaceUserListRequest.h + include/alibabacloud/quickbi-public/model/QueryWorkspaceUserListResult.h + include/alibabacloud/quickbi-public/model/SaveFavoritesRequest.h + include/alibabacloud/quickbi-public/model/SaveFavoritesResult.h + include/alibabacloud/quickbi-public/model/SetDataLevelPermissionExtraConfigRequest.h + include/alibabacloud/quickbi-public/model/SetDataLevelPermissionExtraConfigResult.h + include/alibabacloud/quickbi-public/model/SetDataLevelPermissionRuleConfigRequest.h + include/alibabacloud/quickbi-public/model/SetDataLevelPermissionRuleConfigResult.h + include/alibabacloud/quickbi-public/model/SetDataLevelPermissionWhiteListRequest.h + include/alibabacloud/quickbi-public/model/SetDataLevelPermissionWhiteListResult.h + include/alibabacloud/quickbi-public/model/UpdateDataLevelPermissionStatusRequest.h + include/alibabacloud/quickbi-public/model/UpdateDataLevelPermissionStatusResult.h + include/alibabacloud/quickbi-public/model/UpdateEmbeddedStatusRequest.h + include/alibabacloud/quickbi-public/model/UpdateEmbeddedStatusResult.h + include/alibabacloud/quickbi-public/model/UpdateUserRequest.h + include/alibabacloud/quickbi-public/model/UpdateUserResult.h + include/alibabacloud/quickbi-public/model/UpdateUserGroupRequest.h + include/alibabacloud/quickbi-public/model/UpdateUserGroupResult.h + include/alibabacloud/quickbi-public/model/UpdateUserTagMetaRequest.h + include/alibabacloud/quickbi-public/model/UpdateUserTagMetaResult.h + include/alibabacloud/quickbi-public/model/UpdateUserTagValueRequest.h + include/alibabacloud/quickbi-public/model/UpdateUserTagValueResult.h + include/alibabacloud/quickbi-public/model/UpdateWorkspaceUserRoleRequest.h + include/alibabacloud/quickbi-public/model/UpdateWorkspaceUserRoleResult.h + include/alibabacloud/quickbi-public/model/UpdateWorkspaceUsersRoleRequest.h + include/alibabacloud/quickbi-public/model/UpdateWorkspaceUsersRoleResult.h + include/alibabacloud/quickbi-public/model/WithdrawAllUserGroupsRequest.h + include/alibabacloud/quickbi-public/model/WithdrawAllUserGroupsResult.h ) + +set(quickbi-public_src + src/Quickbi-publicClient.cc + src/model/AddDataLevelPermissionRuleUsersRequest.cc + src/model/AddDataLevelPermissionRuleUsersResult.cc + src/model/AddDataLevelPermissionWhiteListRequest.cc + src/model/AddDataLevelPermissionWhiteListResult.cc + src/model/AddShareReportRequest.cc + src/model/AddShareReportResult.cc + src/model/AddUserRequest.cc + src/model/AddUserResult.cc + src/model/AddUserGroupMemberRequest.cc + src/model/AddUserGroupMemberResult.cc + src/model/AddUserTagMetaRequest.cc + src/model/AddUserTagMetaResult.cc + src/model/AddUserToWorkspaceRequest.cc + src/model/AddUserToWorkspaceResult.cc + src/model/AddWorkspaceUsersRequest.cc + src/model/AddWorkspaceUsersResult.cc + src/model/AuthorizeMenuRequest.cc + src/model/AuthorizeMenuResult.cc + src/model/BuildSignatureUrlRequest.cc + src/model/BuildSignatureUrlResult.cc + src/model/CancelAuthorizationMenuRequest.cc + src/model/CancelAuthorizationMenuResult.cc + src/model/CancelCollectionRequest.cc + src/model/CancelCollectionResult.cc + src/model/CancelReportShareRequest.cc + src/model/CancelReportShareResult.cc + src/model/ChangeVisibilityModelRequest.cc + src/model/ChangeVisibilityModelResult.cc + src/model/CheckReadableRequest.cc + src/model/CheckReadableResult.cc + src/model/CreateEmbedTokenRequest.cc + src/model/CreateEmbedTokenResult.cc + src/model/CreateUserGroupRequest.cc + src/model/CreateUserGroupResult.cc + src/model/DelayEmbedTokenRequest.cc + src/model/DelayEmbedTokenResult.cc + src/model/DeleteDataLevelPermissionRuleUsersRequest.cc + src/model/DeleteDataLevelPermissionRuleUsersResult.cc + src/model/DeleteDataLevelRuleConfigRequest.cc + src/model/DeleteDataLevelRuleConfigResult.cc + src/model/DeleteEmbedTokenRequest.cc + src/model/DeleteEmbedTokenResult.cc + src/model/DeleteUserRequest.cc + src/model/DeleteUserResult.cc + src/model/DeleteUserFromWorkspaceRequest.cc + src/model/DeleteUserFromWorkspaceResult.cc + src/model/DeleteUserGroupRequest.cc + src/model/DeleteUserGroupResult.cc + src/model/DeleteUserGroupMemberRequest.cc + src/model/DeleteUserGroupMemberResult.cc + src/model/DeleteUserGroupMembersRequest.cc + src/model/DeleteUserGroupMembersResult.cc + src/model/DeleteUserTagMetaRequest.cc + src/model/DeleteUserTagMetaResult.cc + src/model/GetUserGroupInfoRequest.cc + src/model/GetUserGroupInfoResult.cc + src/model/ListByUserGroupIdRequest.cc + src/model/ListByUserGroupIdResult.cc + src/model/ListCollectionsRequest.cc + src/model/ListCollectionsResult.cc + src/model/ListCubeDataLevelPermissionConfigRequest.cc + src/model/ListCubeDataLevelPermissionConfigResult.cc + src/model/ListDataLevelPermissionWhiteListRequest.cc + src/model/ListDataLevelPermissionWhiteListResult.cc + src/model/ListPortalMenuAuthorizationRequest.cc + src/model/ListPortalMenuAuthorizationResult.cc + src/model/ListPortalMenusRequest.cc + src/model/ListPortalMenusResult.cc + src/model/ListUserGroupsByUserIdRequest.cc + src/model/ListUserGroupsByUserIdResult.cc + src/model/QueryDataServiceRequest.cc + src/model/QueryDataServiceResult.cc + src/model/QueryDatasetDetailInfoRequest.cc + src/model/QueryDatasetDetailInfoResult.cc + src/model/QueryDatasetInfoRequest.cc + src/model/QueryDatasetInfoResult.cc + src/model/QueryDatasetListRequest.cc + src/model/QueryDatasetListResult.cc + src/model/QueryDatasetSwitchInfoRequest.cc + src/model/QueryDatasetSwitchInfoResult.cc + src/model/QueryEmbedTokenInfoRequest.cc + src/model/QueryEmbedTokenInfoResult.cc + src/model/QueryEmbeddedInfoRequest.cc + src/model/QueryEmbeddedInfoResult.cc + src/model/QueryEmbeddedStausRequest.cc + src/model/QueryEmbeddedStausResult.cc + src/model/QueryOrganizationWorkspaceListRequest.cc + src/model/QueryOrganizationWorkspaceListResult.cc + src/model/QueryReadableResourcesListByUserIdRequest.cc + src/model/QueryReadableResourcesListByUserIdResult.cc + src/model/QueryShareListRequest.cc + src/model/QueryShareListResult.cc + src/model/QuerySharesToUserListRequest.cc + src/model/QuerySharesToUserListResult.cc + src/model/QueryUserGroupListByParentIdRequest.cc + src/model/QueryUserGroupListByParentIdResult.cc + src/model/QueryUserGroupMemberRequest.cc + src/model/QueryUserGroupMemberResult.cc + src/model/QueryUserInfoByAccountRequest.cc + src/model/QueryUserInfoByAccountResult.cc + src/model/QueryUserInfoByUserIdRequest.cc + src/model/QueryUserInfoByUserIdResult.cc + src/model/QueryUserListRequest.cc + src/model/QueryUserListResult.cc + src/model/QueryUserRoleInfoInWorkspaceRequest.cc + src/model/QueryUserRoleInfoInWorkspaceResult.cc + src/model/QueryUserTagMetaListRequest.cc + src/model/QueryUserTagMetaListResult.cc + src/model/QueryUserTagValueListRequest.cc + src/model/QueryUserTagValueListResult.cc + src/model/QueryWorksByOrganizationRequest.cc + src/model/QueryWorksByOrganizationResult.cc + src/model/QueryWorksByWorkspaceRequest.cc + src/model/QueryWorksByWorkspaceResult.cc + src/model/QueryWorkspaceUserListRequest.cc + src/model/QueryWorkspaceUserListResult.cc + src/model/SaveFavoritesRequest.cc + src/model/SaveFavoritesResult.cc + src/model/SetDataLevelPermissionExtraConfigRequest.cc + src/model/SetDataLevelPermissionExtraConfigResult.cc + src/model/SetDataLevelPermissionRuleConfigRequest.cc + src/model/SetDataLevelPermissionRuleConfigResult.cc + src/model/SetDataLevelPermissionWhiteListRequest.cc + src/model/SetDataLevelPermissionWhiteListResult.cc + src/model/UpdateDataLevelPermissionStatusRequest.cc + src/model/UpdateDataLevelPermissionStatusResult.cc + src/model/UpdateEmbeddedStatusRequest.cc + src/model/UpdateEmbeddedStatusResult.cc + src/model/UpdateUserRequest.cc + src/model/UpdateUserResult.cc + src/model/UpdateUserGroupRequest.cc + src/model/UpdateUserGroupResult.cc + src/model/UpdateUserTagMetaRequest.cc + src/model/UpdateUserTagMetaResult.cc + src/model/UpdateUserTagValueRequest.cc + src/model/UpdateUserTagValueResult.cc + src/model/UpdateWorkspaceUserRoleRequest.cc + src/model/UpdateWorkspaceUserRoleResult.cc + src/model/UpdateWorkspaceUsersRoleRequest.cc + src/model/UpdateWorkspaceUsersRoleResult.cc + src/model/WithdrawAllUserGroupsRequest.cc + src/model/WithdrawAllUserGroupsResult.cc ) + +add_library(quickbi-public ${LIB_TYPE} + ${quickbi-public_public_header} + ${quickbi-public_public_header_model} + ${quickbi-public_src}) + +set_target_properties(quickbi-public + PROPERTIES + LINKER_LANGUAGE CXX + ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin + OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}quickbi-public + ) + +if(${LIB_TYPE} STREQUAL "SHARED") + set_target_properties(quickbi-public + PROPERTIES + DEFINE_SYMBOL ALIBABACLOUD_QUICKBI_PUBLIC_LIBRARY) +endif() + +target_include_directories(quickbi-public + PRIVATE include + ${CMAKE_SOURCE_DIR}/core/include + ) +target_link_libraries(quickbi-public + core) + +if(CMAKE_HOST_WIN32) + ExternalProject_Get_Property(jsoncpp INSTALL_DIR) + set(jsoncpp_install_dir ${INSTALL_DIR}) + add_dependencies(quickbi-public + jsoncpp) + target_include_directories(quickbi-public + PRIVATE ${jsoncpp_install_dir}/include) + target_link_libraries(quickbi-public + ${jsoncpp_install_dir}/lib/jsoncpp.lib) + set_target_properties(quickbi-public + PROPERTIES + COMPILE_OPTIONS "/bigobj") +else() + target_include_directories(quickbi-public + PRIVATE /usr/include/jsoncpp) + target_link_libraries(quickbi-public + jsoncpp) +endif() + +install(FILES ${quickbi-public_public_header} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/quickbi-public) +install(FILES ${quickbi-public_public_header_model} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/quickbi-public/model) +install(TARGETS quickbi-public + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + ) \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/Quickbi_publicClient.h b/quickbi-public/include/alibabacloud/quickbi-public/Quickbi_publicClient.h new file mode 100644 index 000000000..b7cd4eaaa --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/Quickbi_publicClient.h @@ -0,0 +1,614 @@ +/* + * 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_QUICKBI_PUBLIC_QUICKBI_PUBLICCLIENT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_QUICKBI_PUBLICCLIENT_H_ + +#include +#include +#include +#include +#include "Quickbi_publicExport.h" +#include "model/AddDataLevelPermissionRuleUsersRequest.h" +#include "model/AddDataLevelPermissionRuleUsersResult.h" +#include "model/AddDataLevelPermissionWhiteListRequest.h" +#include "model/AddDataLevelPermissionWhiteListResult.h" +#include "model/AddShareReportRequest.h" +#include "model/AddShareReportResult.h" +#include "model/AddUserRequest.h" +#include "model/AddUserResult.h" +#include "model/AddUserGroupMemberRequest.h" +#include "model/AddUserGroupMemberResult.h" +#include "model/AddUserTagMetaRequest.h" +#include "model/AddUserTagMetaResult.h" +#include "model/AddUserToWorkspaceRequest.h" +#include "model/AddUserToWorkspaceResult.h" +#include "model/AddWorkspaceUsersRequest.h" +#include "model/AddWorkspaceUsersResult.h" +#include "model/AuthorizeMenuRequest.h" +#include "model/AuthorizeMenuResult.h" +#include "model/BuildSignatureUrlRequest.h" +#include "model/BuildSignatureUrlResult.h" +#include "model/CancelAuthorizationMenuRequest.h" +#include "model/CancelAuthorizationMenuResult.h" +#include "model/CancelCollectionRequest.h" +#include "model/CancelCollectionResult.h" +#include "model/CancelReportShareRequest.h" +#include "model/CancelReportShareResult.h" +#include "model/ChangeVisibilityModelRequest.h" +#include "model/ChangeVisibilityModelResult.h" +#include "model/CheckReadableRequest.h" +#include "model/CheckReadableResult.h" +#include "model/CreateEmbedTokenRequest.h" +#include "model/CreateEmbedTokenResult.h" +#include "model/CreateUserGroupRequest.h" +#include "model/CreateUserGroupResult.h" +#include "model/DelayEmbedTokenRequest.h" +#include "model/DelayEmbedTokenResult.h" +#include "model/DeleteDataLevelPermissionRuleUsersRequest.h" +#include "model/DeleteDataLevelPermissionRuleUsersResult.h" +#include "model/DeleteDataLevelRuleConfigRequest.h" +#include "model/DeleteDataLevelRuleConfigResult.h" +#include "model/DeleteEmbedTokenRequest.h" +#include "model/DeleteEmbedTokenResult.h" +#include "model/DeleteUserRequest.h" +#include "model/DeleteUserResult.h" +#include "model/DeleteUserFromWorkspaceRequest.h" +#include "model/DeleteUserFromWorkspaceResult.h" +#include "model/DeleteUserGroupRequest.h" +#include "model/DeleteUserGroupResult.h" +#include "model/DeleteUserGroupMemberRequest.h" +#include "model/DeleteUserGroupMemberResult.h" +#include "model/DeleteUserGroupMembersRequest.h" +#include "model/DeleteUserGroupMembersResult.h" +#include "model/DeleteUserTagMetaRequest.h" +#include "model/DeleteUserTagMetaResult.h" +#include "model/GetUserGroupInfoRequest.h" +#include "model/GetUserGroupInfoResult.h" +#include "model/ListByUserGroupIdRequest.h" +#include "model/ListByUserGroupIdResult.h" +#include "model/ListCollectionsRequest.h" +#include "model/ListCollectionsResult.h" +#include "model/ListCubeDataLevelPermissionConfigRequest.h" +#include "model/ListCubeDataLevelPermissionConfigResult.h" +#include "model/ListDataLevelPermissionWhiteListRequest.h" +#include "model/ListDataLevelPermissionWhiteListResult.h" +#include "model/ListPortalMenuAuthorizationRequest.h" +#include "model/ListPortalMenuAuthorizationResult.h" +#include "model/ListPortalMenusRequest.h" +#include "model/ListPortalMenusResult.h" +#include "model/ListUserGroupsByUserIdRequest.h" +#include "model/ListUserGroupsByUserIdResult.h" +#include "model/QueryDataServiceRequest.h" +#include "model/QueryDataServiceResult.h" +#include "model/QueryDatasetDetailInfoRequest.h" +#include "model/QueryDatasetDetailInfoResult.h" +#include "model/QueryDatasetInfoRequest.h" +#include "model/QueryDatasetInfoResult.h" +#include "model/QueryDatasetListRequest.h" +#include "model/QueryDatasetListResult.h" +#include "model/QueryDatasetSwitchInfoRequest.h" +#include "model/QueryDatasetSwitchInfoResult.h" +#include "model/QueryEmbedTokenInfoRequest.h" +#include "model/QueryEmbedTokenInfoResult.h" +#include "model/QueryEmbeddedInfoRequest.h" +#include "model/QueryEmbeddedInfoResult.h" +#include "model/QueryEmbeddedStausRequest.h" +#include "model/QueryEmbeddedStausResult.h" +#include "model/QueryOrganizationWorkspaceListRequest.h" +#include "model/QueryOrganizationWorkspaceListResult.h" +#include "model/QueryReadableResourcesListByUserIdRequest.h" +#include "model/QueryReadableResourcesListByUserIdResult.h" +#include "model/QueryShareListRequest.h" +#include "model/QueryShareListResult.h" +#include "model/QuerySharesToUserListRequest.h" +#include "model/QuerySharesToUserListResult.h" +#include "model/QueryUserGroupListByParentIdRequest.h" +#include "model/QueryUserGroupListByParentIdResult.h" +#include "model/QueryUserGroupMemberRequest.h" +#include "model/QueryUserGroupMemberResult.h" +#include "model/QueryUserInfoByAccountRequest.h" +#include "model/QueryUserInfoByAccountResult.h" +#include "model/QueryUserInfoByUserIdRequest.h" +#include "model/QueryUserInfoByUserIdResult.h" +#include "model/QueryUserListRequest.h" +#include "model/QueryUserListResult.h" +#include "model/QueryUserRoleInfoInWorkspaceRequest.h" +#include "model/QueryUserRoleInfoInWorkspaceResult.h" +#include "model/QueryUserTagMetaListRequest.h" +#include "model/QueryUserTagMetaListResult.h" +#include "model/QueryUserTagValueListRequest.h" +#include "model/QueryUserTagValueListResult.h" +#include "model/QueryWorksByOrganizationRequest.h" +#include "model/QueryWorksByOrganizationResult.h" +#include "model/QueryWorksByWorkspaceRequest.h" +#include "model/QueryWorksByWorkspaceResult.h" +#include "model/QueryWorkspaceUserListRequest.h" +#include "model/QueryWorkspaceUserListResult.h" +#include "model/SaveFavoritesRequest.h" +#include "model/SaveFavoritesResult.h" +#include "model/SetDataLevelPermissionExtraConfigRequest.h" +#include "model/SetDataLevelPermissionExtraConfigResult.h" +#include "model/SetDataLevelPermissionRuleConfigRequest.h" +#include "model/SetDataLevelPermissionRuleConfigResult.h" +#include "model/SetDataLevelPermissionWhiteListRequest.h" +#include "model/SetDataLevelPermissionWhiteListResult.h" +#include "model/UpdateDataLevelPermissionStatusRequest.h" +#include "model/UpdateDataLevelPermissionStatusResult.h" +#include "model/UpdateEmbeddedStatusRequest.h" +#include "model/UpdateEmbeddedStatusResult.h" +#include "model/UpdateUserRequest.h" +#include "model/UpdateUserResult.h" +#include "model/UpdateUserGroupRequest.h" +#include "model/UpdateUserGroupResult.h" +#include "model/UpdateUserTagMetaRequest.h" +#include "model/UpdateUserTagMetaResult.h" +#include "model/UpdateUserTagValueRequest.h" +#include "model/UpdateUserTagValueResult.h" +#include "model/UpdateWorkspaceUserRoleRequest.h" +#include "model/UpdateWorkspaceUserRoleResult.h" +#include "model/UpdateWorkspaceUsersRoleRequest.h" +#include "model/UpdateWorkspaceUsersRoleResult.h" +#include "model/WithdrawAllUserGroupsRequest.h" +#include "model/WithdrawAllUserGroupsResult.h" + + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT Quickbi_publicClient : public RpcServiceClient + { + public: + typedef Outcome AddDataLevelPermissionRuleUsersOutcome; + typedef std::future AddDataLevelPermissionRuleUsersOutcomeCallable; + typedef std::function&)> AddDataLevelPermissionRuleUsersAsyncHandler; + typedef Outcome AddDataLevelPermissionWhiteListOutcome; + typedef std::future AddDataLevelPermissionWhiteListOutcomeCallable; + typedef std::function&)> AddDataLevelPermissionWhiteListAsyncHandler; + typedef Outcome AddShareReportOutcome; + typedef std::future AddShareReportOutcomeCallable; + typedef std::function&)> AddShareReportAsyncHandler; + typedef Outcome AddUserOutcome; + typedef std::future AddUserOutcomeCallable; + typedef std::function&)> AddUserAsyncHandler; + typedef Outcome AddUserGroupMemberOutcome; + typedef std::future AddUserGroupMemberOutcomeCallable; + typedef std::function&)> AddUserGroupMemberAsyncHandler; + typedef Outcome AddUserTagMetaOutcome; + typedef std::future AddUserTagMetaOutcomeCallable; + typedef std::function&)> AddUserTagMetaAsyncHandler; + typedef Outcome AddUserToWorkspaceOutcome; + typedef std::future AddUserToWorkspaceOutcomeCallable; + typedef std::function&)> AddUserToWorkspaceAsyncHandler; + typedef Outcome AddWorkspaceUsersOutcome; + typedef std::future AddWorkspaceUsersOutcomeCallable; + typedef std::function&)> AddWorkspaceUsersAsyncHandler; + typedef Outcome AuthorizeMenuOutcome; + typedef std::future AuthorizeMenuOutcomeCallable; + typedef std::function&)> AuthorizeMenuAsyncHandler; + typedef Outcome BuildSignatureUrlOutcome; + typedef std::future BuildSignatureUrlOutcomeCallable; + typedef std::function&)> BuildSignatureUrlAsyncHandler; + typedef Outcome CancelAuthorizationMenuOutcome; + typedef std::future CancelAuthorizationMenuOutcomeCallable; + typedef std::function&)> CancelAuthorizationMenuAsyncHandler; + typedef Outcome CancelCollectionOutcome; + typedef std::future CancelCollectionOutcomeCallable; + typedef std::function&)> CancelCollectionAsyncHandler; + typedef Outcome CancelReportShareOutcome; + typedef std::future CancelReportShareOutcomeCallable; + typedef std::function&)> CancelReportShareAsyncHandler; + typedef Outcome ChangeVisibilityModelOutcome; + typedef std::future ChangeVisibilityModelOutcomeCallable; + typedef std::function&)> ChangeVisibilityModelAsyncHandler; + typedef Outcome CheckReadableOutcome; + typedef std::future CheckReadableOutcomeCallable; + typedef std::function&)> CheckReadableAsyncHandler; + typedef Outcome CreateEmbedTokenOutcome; + typedef std::future CreateEmbedTokenOutcomeCallable; + typedef std::function&)> CreateEmbedTokenAsyncHandler; + typedef Outcome CreateUserGroupOutcome; + typedef std::future CreateUserGroupOutcomeCallable; + typedef std::function&)> CreateUserGroupAsyncHandler; + typedef Outcome DelayEmbedTokenOutcome; + typedef std::future DelayEmbedTokenOutcomeCallable; + typedef std::function&)> DelayEmbedTokenAsyncHandler; + typedef Outcome DeleteDataLevelPermissionRuleUsersOutcome; + typedef std::future DeleteDataLevelPermissionRuleUsersOutcomeCallable; + typedef std::function&)> DeleteDataLevelPermissionRuleUsersAsyncHandler; + typedef Outcome DeleteDataLevelRuleConfigOutcome; + typedef std::future DeleteDataLevelRuleConfigOutcomeCallable; + typedef std::function&)> DeleteDataLevelRuleConfigAsyncHandler; + typedef Outcome DeleteEmbedTokenOutcome; + typedef std::future DeleteEmbedTokenOutcomeCallable; + typedef std::function&)> DeleteEmbedTokenAsyncHandler; + typedef Outcome DeleteUserOutcome; + typedef std::future DeleteUserOutcomeCallable; + typedef std::function&)> DeleteUserAsyncHandler; + typedef Outcome DeleteUserFromWorkspaceOutcome; + typedef std::future DeleteUserFromWorkspaceOutcomeCallable; + typedef std::function&)> DeleteUserFromWorkspaceAsyncHandler; + typedef Outcome DeleteUserGroupOutcome; + typedef std::future DeleteUserGroupOutcomeCallable; + typedef std::function&)> DeleteUserGroupAsyncHandler; + typedef Outcome DeleteUserGroupMemberOutcome; + typedef std::future DeleteUserGroupMemberOutcomeCallable; + typedef std::function&)> DeleteUserGroupMemberAsyncHandler; + typedef Outcome DeleteUserGroupMembersOutcome; + typedef std::future DeleteUserGroupMembersOutcomeCallable; + typedef std::function&)> DeleteUserGroupMembersAsyncHandler; + typedef Outcome DeleteUserTagMetaOutcome; + typedef std::future DeleteUserTagMetaOutcomeCallable; + typedef std::function&)> DeleteUserTagMetaAsyncHandler; + typedef Outcome GetUserGroupInfoOutcome; + typedef std::future GetUserGroupInfoOutcomeCallable; + typedef std::function&)> GetUserGroupInfoAsyncHandler; + typedef Outcome ListByUserGroupIdOutcome; + typedef std::future ListByUserGroupIdOutcomeCallable; + typedef std::function&)> ListByUserGroupIdAsyncHandler; + typedef Outcome ListCollectionsOutcome; + typedef std::future ListCollectionsOutcomeCallable; + typedef std::function&)> ListCollectionsAsyncHandler; + typedef Outcome ListCubeDataLevelPermissionConfigOutcome; + typedef std::future ListCubeDataLevelPermissionConfigOutcomeCallable; + typedef std::function&)> ListCubeDataLevelPermissionConfigAsyncHandler; + typedef Outcome ListDataLevelPermissionWhiteListOutcome; + typedef std::future ListDataLevelPermissionWhiteListOutcomeCallable; + typedef std::function&)> ListDataLevelPermissionWhiteListAsyncHandler; + typedef Outcome ListPortalMenuAuthorizationOutcome; + typedef std::future ListPortalMenuAuthorizationOutcomeCallable; + typedef std::function&)> ListPortalMenuAuthorizationAsyncHandler; + typedef Outcome ListPortalMenusOutcome; + typedef std::future ListPortalMenusOutcomeCallable; + typedef std::function&)> ListPortalMenusAsyncHandler; + typedef Outcome ListUserGroupsByUserIdOutcome; + typedef std::future ListUserGroupsByUserIdOutcomeCallable; + typedef std::function&)> ListUserGroupsByUserIdAsyncHandler; + typedef Outcome QueryDataServiceOutcome; + typedef std::future QueryDataServiceOutcomeCallable; + typedef std::function&)> QueryDataServiceAsyncHandler; + typedef Outcome QueryDatasetDetailInfoOutcome; + typedef std::future QueryDatasetDetailInfoOutcomeCallable; + typedef std::function&)> QueryDatasetDetailInfoAsyncHandler; + typedef Outcome QueryDatasetInfoOutcome; + typedef std::future QueryDatasetInfoOutcomeCallable; + typedef std::function&)> QueryDatasetInfoAsyncHandler; + typedef Outcome QueryDatasetListOutcome; + typedef std::future QueryDatasetListOutcomeCallable; + typedef std::function&)> QueryDatasetListAsyncHandler; + typedef Outcome QueryDatasetSwitchInfoOutcome; + typedef std::future QueryDatasetSwitchInfoOutcomeCallable; + typedef std::function&)> QueryDatasetSwitchInfoAsyncHandler; + typedef Outcome QueryEmbedTokenInfoOutcome; + typedef std::future QueryEmbedTokenInfoOutcomeCallable; + typedef std::function&)> QueryEmbedTokenInfoAsyncHandler; + typedef Outcome QueryEmbeddedInfoOutcome; + typedef std::future QueryEmbeddedInfoOutcomeCallable; + typedef std::function&)> QueryEmbeddedInfoAsyncHandler; + typedef Outcome QueryEmbeddedStausOutcome; + typedef std::future QueryEmbeddedStausOutcomeCallable; + typedef std::function&)> QueryEmbeddedStausAsyncHandler; + typedef Outcome QueryOrganizationWorkspaceListOutcome; + typedef std::future QueryOrganizationWorkspaceListOutcomeCallable; + typedef std::function&)> QueryOrganizationWorkspaceListAsyncHandler; + typedef Outcome QueryReadableResourcesListByUserIdOutcome; + typedef std::future QueryReadableResourcesListByUserIdOutcomeCallable; + typedef std::function&)> QueryReadableResourcesListByUserIdAsyncHandler; + typedef Outcome QueryShareListOutcome; + typedef std::future QueryShareListOutcomeCallable; + typedef std::function&)> QueryShareListAsyncHandler; + typedef Outcome QuerySharesToUserListOutcome; + typedef std::future QuerySharesToUserListOutcomeCallable; + typedef std::function&)> QuerySharesToUserListAsyncHandler; + typedef Outcome QueryUserGroupListByParentIdOutcome; + typedef std::future QueryUserGroupListByParentIdOutcomeCallable; + typedef std::function&)> QueryUserGroupListByParentIdAsyncHandler; + typedef Outcome QueryUserGroupMemberOutcome; + typedef std::future QueryUserGroupMemberOutcomeCallable; + typedef std::function&)> QueryUserGroupMemberAsyncHandler; + typedef Outcome QueryUserInfoByAccountOutcome; + typedef std::future QueryUserInfoByAccountOutcomeCallable; + typedef std::function&)> QueryUserInfoByAccountAsyncHandler; + typedef Outcome QueryUserInfoByUserIdOutcome; + typedef std::future QueryUserInfoByUserIdOutcomeCallable; + typedef std::function&)> QueryUserInfoByUserIdAsyncHandler; + typedef Outcome QueryUserListOutcome; + typedef std::future QueryUserListOutcomeCallable; + typedef std::function&)> QueryUserListAsyncHandler; + typedef Outcome QueryUserRoleInfoInWorkspaceOutcome; + typedef std::future QueryUserRoleInfoInWorkspaceOutcomeCallable; + typedef std::function&)> QueryUserRoleInfoInWorkspaceAsyncHandler; + typedef Outcome QueryUserTagMetaListOutcome; + typedef std::future QueryUserTagMetaListOutcomeCallable; + typedef std::function&)> QueryUserTagMetaListAsyncHandler; + typedef Outcome QueryUserTagValueListOutcome; + typedef std::future QueryUserTagValueListOutcomeCallable; + typedef std::function&)> QueryUserTagValueListAsyncHandler; + typedef Outcome QueryWorksByOrganizationOutcome; + typedef std::future QueryWorksByOrganizationOutcomeCallable; + typedef std::function&)> QueryWorksByOrganizationAsyncHandler; + typedef Outcome QueryWorksByWorkspaceOutcome; + typedef std::future QueryWorksByWorkspaceOutcomeCallable; + typedef std::function&)> QueryWorksByWorkspaceAsyncHandler; + typedef Outcome QueryWorkspaceUserListOutcome; + typedef std::future QueryWorkspaceUserListOutcomeCallable; + typedef std::function&)> QueryWorkspaceUserListAsyncHandler; + typedef Outcome SaveFavoritesOutcome; + typedef std::future SaveFavoritesOutcomeCallable; + typedef std::function&)> SaveFavoritesAsyncHandler; + typedef Outcome SetDataLevelPermissionExtraConfigOutcome; + typedef std::future SetDataLevelPermissionExtraConfigOutcomeCallable; + typedef std::function&)> SetDataLevelPermissionExtraConfigAsyncHandler; + typedef Outcome SetDataLevelPermissionRuleConfigOutcome; + typedef std::future SetDataLevelPermissionRuleConfigOutcomeCallable; + typedef std::function&)> SetDataLevelPermissionRuleConfigAsyncHandler; + typedef Outcome SetDataLevelPermissionWhiteListOutcome; + typedef std::future SetDataLevelPermissionWhiteListOutcomeCallable; + typedef std::function&)> SetDataLevelPermissionWhiteListAsyncHandler; + typedef Outcome UpdateDataLevelPermissionStatusOutcome; + typedef std::future UpdateDataLevelPermissionStatusOutcomeCallable; + typedef std::function&)> UpdateDataLevelPermissionStatusAsyncHandler; + typedef Outcome UpdateEmbeddedStatusOutcome; + typedef std::future UpdateEmbeddedStatusOutcomeCallable; + typedef std::function&)> UpdateEmbeddedStatusAsyncHandler; + typedef Outcome UpdateUserOutcome; + typedef std::future UpdateUserOutcomeCallable; + typedef std::function&)> UpdateUserAsyncHandler; + typedef Outcome UpdateUserGroupOutcome; + typedef std::future UpdateUserGroupOutcomeCallable; + typedef std::function&)> UpdateUserGroupAsyncHandler; + typedef Outcome UpdateUserTagMetaOutcome; + typedef std::future UpdateUserTagMetaOutcomeCallable; + typedef std::function&)> UpdateUserTagMetaAsyncHandler; + typedef Outcome UpdateUserTagValueOutcome; + typedef std::future UpdateUserTagValueOutcomeCallable; + typedef std::function&)> UpdateUserTagValueAsyncHandler; + typedef Outcome UpdateWorkspaceUserRoleOutcome; + typedef std::future UpdateWorkspaceUserRoleOutcomeCallable; + typedef std::function&)> UpdateWorkspaceUserRoleAsyncHandler; + typedef Outcome UpdateWorkspaceUsersRoleOutcome; + typedef std::future UpdateWorkspaceUsersRoleOutcomeCallable; + typedef std::function&)> UpdateWorkspaceUsersRoleAsyncHandler; + typedef Outcome WithdrawAllUserGroupsOutcome; + typedef std::future WithdrawAllUserGroupsOutcomeCallable; + typedef std::function&)> WithdrawAllUserGroupsAsyncHandler; + + Quickbi_publicClient(const Credentials &credentials, const ClientConfiguration &configuration); + Quickbi_publicClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); + Quickbi_publicClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); + ~Quickbi_publicClient(); + AddDataLevelPermissionRuleUsersOutcome addDataLevelPermissionRuleUsers(const Model::AddDataLevelPermissionRuleUsersRequest &request)const; + void addDataLevelPermissionRuleUsersAsync(const Model::AddDataLevelPermissionRuleUsersRequest& request, const AddDataLevelPermissionRuleUsersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddDataLevelPermissionRuleUsersOutcomeCallable addDataLevelPermissionRuleUsersCallable(const Model::AddDataLevelPermissionRuleUsersRequest& request) const; + AddDataLevelPermissionWhiteListOutcome addDataLevelPermissionWhiteList(const Model::AddDataLevelPermissionWhiteListRequest &request)const; + void addDataLevelPermissionWhiteListAsync(const Model::AddDataLevelPermissionWhiteListRequest& request, const AddDataLevelPermissionWhiteListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddDataLevelPermissionWhiteListOutcomeCallable addDataLevelPermissionWhiteListCallable(const Model::AddDataLevelPermissionWhiteListRequest& request) const; + AddShareReportOutcome addShareReport(const Model::AddShareReportRequest &request)const; + void addShareReportAsync(const Model::AddShareReportRequest& request, const AddShareReportAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddShareReportOutcomeCallable addShareReportCallable(const Model::AddShareReportRequest& request) const; + AddUserOutcome addUser(const Model::AddUserRequest &request)const; + void addUserAsync(const Model::AddUserRequest& request, const AddUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddUserOutcomeCallable addUserCallable(const Model::AddUserRequest& request) const; + AddUserGroupMemberOutcome addUserGroupMember(const Model::AddUserGroupMemberRequest &request)const; + void addUserGroupMemberAsync(const Model::AddUserGroupMemberRequest& request, const AddUserGroupMemberAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddUserGroupMemberOutcomeCallable addUserGroupMemberCallable(const Model::AddUserGroupMemberRequest& request) const; + AddUserTagMetaOutcome addUserTagMeta(const Model::AddUserTagMetaRequest &request)const; + void addUserTagMetaAsync(const Model::AddUserTagMetaRequest& request, const AddUserTagMetaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddUserTagMetaOutcomeCallable addUserTagMetaCallable(const Model::AddUserTagMetaRequest& request) const; + AddUserToWorkspaceOutcome addUserToWorkspace(const Model::AddUserToWorkspaceRequest &request)const; + void addUserToWorkspaceAsync(const Model::AddUserToWorkspaceRequest& request, const AddUserToWorkspaceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddUserToWorkspaceOutcomeCallable addUserToWorkspaceCallable(const Model::AddUserToWorkspaceRequest& request) const; + AddWorkspaceUsersOutcome addWorkspaceUsers(const Model::AddWorkspaceUsersRequest &request)const; + void addWorkspaceUsersAsync(const Model::AddWorkspaceUsersRequest& request, const AddWorkspaceUsersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddWorkspaceUsersOutcomeCallable addWorkspaceUsersCallable(const Model::AddWorkspaceUsersRequest& request) const; + AuthorizeMenuOutcome authorizeMenu(const Model::AuthorizeMenuRequest &request)const; + void authorizeMenuAsync(const Model::AuthorizeMenuRequest& request, const AuthorizeMenuAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AuthorizeMenuOutcomeCallable authorizeMenuCallable(const Model::AuthorizeMenuRequest& request) const; + BuildSignatureUrlOutcome buildSignatureUrl(const Model::BuildSignatureUrlRequest &request)const; + void buildSignatureUrlAsync(const Model::BuildSignatureUrlRequest& request, const BuildSignatureUrlAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BuildSignatureUrlOutcomeCallable buildSignatureUrlCallable(const Model::BuildSignatureUrlRequest& request) const; + CancelAuthorizationMenuOutcome cancelAuthorizationMenu(const Model::CancelAuthorizationMenuRequest &request)const; + void cancelAuthorizationMenuAsync(const Model::CancelAuthorizationMenuRequest& request, const CancelAuthorizationMenuAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CancelAuthorizationMenuOutcomeCallable cancelAuthorizationMenuCallable(const Model::CancelAuthorizationMenuRequest& request) const; + CancelCollectionOutcome cancelCollection(const Model::CancelCollectionRequest &request)const; + void cancelCollectionAsync(const Model::CancelCollectionRequest& request, const CancelCollectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CancelCollectionOutcomeCallable cancelCollectionCallable(const Model::CancelCollectionRequest& request) const; + CancelReportShareOutcome cancelReportShare(const Model::CancelReportShareRequest &request)const; + void cancelReportShareAsync(const Model::CancelReportShareRequest& request, const CancelReportShareAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CancelReportShareOutcomeCallable cancelReportShareCallable(const Model::CancelReportShareRequest& request) const; + ChangeVisibilityModelOutcome changeVisibilityModel(const Model::ChangeVisibilityModelRequest &request)const; + void changeVisibilityModelAsync(const Model::ChangeVisibilityModelRequest& request, const ChangeVisibilityModelAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ChangeVisibilityModelOutcomeCallable changeVisibilityModelCallable(const Model::ChangeVisibilityModelRequest& request) const; + CheckReadableOutcome checkReadable(const Model::CheckReadableRequest &request)const; + void checkReadableAsync(const Model::CheckReadableRequest& request, const CheckReadableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CheckReadableOutcomeCallable checkReadableCallable(const Model::CheckReadableRequest& request) const; + CreateEmbedTokenOutcome createEmbedToken(const Model::CreateEmbedTokenRequest &request)const; + void createEmbedTokenAsync(const Model::CreateEmbedTokenRequest& request, const CreateEmbedTokenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateEmbedTokenOutcomeCallable createEmbedTokenCallable(const Model::CreateEmbedTokenRequest& request) const; + CreateUserGroupOutcome createUserGroup(const Model::CreateUserGroupRequest &request)const; + void createUserGroupAsync(const Model::CreateUserGroupRequest& request, const CreateUserGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateUserGroupOutcomeCallable createUserGroupCallable(const Model::CreateUserGroupRequest& request) const; + DelayEmbedTokenOutcome delayEmbedToken(const Model::DelayEmbedTokenRequest &request)const; + void delayEmbedTokenAsync(const Model::DelayEmbedTokenRequest& request, const DelayEmbedTokenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DelayEmbedTokenOutcomeCallable delayEmbedTokenCallable(const Model::DelayEmbedTokenRequest& request) const; + DeleteDataLevelPermissionRuleUsersOutcome deleteDataLevelPermissionRuleUsers(const Model::DeleteDataLevelPermissionRuleUsersRequest &request)const; + void deleteDataLevelPermissionRuleUsersAsync(const Model::DeleteDataLevelPermissionRuleUsersRequest& request, const DeleteDataLevelPermissionRuleUsersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDataLevelPermissionRuleUsersOutcomeCallable deleteDataLevelPermissionRuleUsersCallable(const Model::DeleteDataLevelPermissionRuleUsersRequest& request) const; + DeleteDataLevelRuleConfigOutcome deleteDataLevelRuleConfig(const Model::DeleteDataLevelRuleConfigRequest &request)const; + void deleteDataLevelRuleConfigAsync(const Model::DeleteDataLevelRuleConfigRequest& request, const DeleteDataLevelRuleConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDataLevelRuleConfigOutcomeCallable deleteDataLevelRuleConfigCallable(const Model::DeleteDataLevelRuleConfigRequest& request) const; + DeleteEmbedTokenOutcome deleteEmbedToken(const Model::DeleteEmbedTokenRequest &request)const; + void deleteEmbedTokenAsync(const Model::DeleteEmbedTokenRequest& request, const DeleteEmbedTokenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteEmbedTokenOutcomeCallable deleteEmbedTokenCallable(const Model::DeleteEmbedTokenRequest& request) const; + DeleteUserOutcome deleteUser(const Model::DeleteUserRequest &request)const; + void deleteUserAsync(const Model::DeleteUserRequest& request, const DeleteUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteUserOutcomeCallable deleteUserCallable(const Model::DeleteUserRequest& request) const; + DeleteUserFromWorkspaceOutcome deleteUserFromWorkspace(const Model::DeleteUserFromWorkspaceRequest &request)const; + void deleteUserFromWorkspaceAsync(const Model::DeleteUserFromWorkspaceRequest& request, const DeleteUserFromWorkspaceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteUserFromWorkspaceOutcomeCallable deleteUserFromWorkspaceCallable(const Model::DeleteUserFromWorkspaceRequest& request) const; + DeleteUserGroupOutcome deleteUserGroup(const Model::DeleteUserGroupRequest &request)const; + void deleteUserGroupAsync(const Model::DeleteUserGroupRequest& request, const DeleteUserGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteUserGroupOutcomeCallable deleteUserGroupCallable(const Model::DeleteUserGroupRequest& request) const; + DeleteUserGroupMemberOutcome deleteUserGroupMember(const Model::DeleteUserGroupMemberRequest &request)const; + void deleteUserGroupMemberAsync(const Model::DeleteUserGroupMemberRequest& request, const DeleteUserGroupMemberAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteUserGroupMemberOutcomeCallable deleteUserGroupMemberCallable(const Model::DeleteUserGroupMemberRequest& request) const; + DeleteUserGroupMembersOutcome deleteUserGroupMembers(const Model::DeleteUserGroupMembersRequest &request)const; + void deleteUserGroupMembersAsync(const Model::DeleteUserGroupMembersRequest& request, const DeleteUserGroupMembersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteUserGroupMembersOutcomeCallable deleteUserGroupMembersCallable(const Model::DeleteUserGroupMembersRequest& request) const; + DeleteUserTagMetaOutcome deleteUserTagMeta(const Model::DeleteUserTagMetaRequest &request)const; + void deleteUserTagMetaAsync(const Model::DeleteUserTagMetaRequest& request, const DeleteUserTagMetaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteUserTagMetaOutcomeCallable deleteUserTagMetaCallable(const Model::DeleteUserTagMetaRequest& request) const; + GetUserGroupInfoOutcome getUserGroupInfo(const Model::GetUserGroupInfoRequest &request)const; + void getUserGroupInfoAsync(const Model::GetUserGroupInfoRequest& request, const GetUserGroupInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetUserGroupInfoOutcomeCallable getUserGroupInfoCallable(const Model::GetUserGroupInfoRequest& request) const; + ListByUserGroupIdOutcome listByUserGroupId(const Model::ListByUserGroupIdRequest &request)const; + void listByUserGroupIdAsync(const Model::ListByUserGroupIdRequest& request, const ListByUserGroupIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListByUserGroupIdOutcomeCallable listByUserGroupIdCallable(const Model::ListByUserGroupIdRequest& request) const; + ListCollectionsOutcome listCollections(const Model::ListCollectionsRequest &request)const; + void listCollectionsAsync(const Model::ListCollectionsRequest& request, const ListCollectionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListCollectionsOutcomeCallable listCollectionsCallable(const Model::ListCollectionsRequest& request) const; + ListCubeDataLevelPermissionConfigOutcome listCubeDataLevelPermissionConfig(const Model::ListCubeDataLevelPermissionConfigRequest &request)const; + void listCubeDataLevelPermissionConfigAsync(const Model::ListCubeDataLevelPermissionConfigRequest& request, const ListCubeDataLevelPermissionConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListCubeDataLevelPermissionConfigOutcomeCallable listCubeDataLevelPermissionConfigCallable(const Model::ListCubeDataLevelPermissionConfigRequest& request) const; + ListDataLevelPermissionWhiteListOutcome listDataLevelPermissionWhiteList(const Model::ListDataLevelPermissionWhiteListRequest &request)const; + void listDataLevelPermissionWhiteListAsync(const Model::ListDataLevelPermissionWhiteListRequest& request, const ListDataLevelPermissionWhiteListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDataLevelPermissionWhiteListOutcomeCallable listDataLevelPermissionWhiteListCallable(const Model::ListDataLevelPermissionWhiteListRequest& request) const; + ListPortalMenuAuthorizationOutcome listPortalMenuAuthorization(const Model::ListPortalMenuAuthorizationRequest &request)const; + void listPortalMenuAuthorizationAsync(const Model::ListPortalMenuAuthorizationRequest& request, const ListPortalMenuAuthorizationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListPortalMenuAuthorizationOutcomeCallable listPortalMenuAuthorizationCallable(const Model::ListPortalMenuAuthorizationRequest& request) const; + ListPortalMenusOutcome listPortalMenus(const Model::ListPortalMenusRequest &request)const; + void listPortalMenusAsync(const Model::ListPortalMenusRequest& request, const ListPortalMenusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListPortalMenusOutcomeCallable listPortalMenusCallable(const Model::ListPortalMenusRequest& request) const; + ListUserGroupsByUserIdOutcome listUserGroupsByUserId(const Model::ListUserGroupsByUserIdRequest &request)const; + void listUserGroupsByUserIdAsync(const Model::ListUserGroupsByUserIdRequest& request, const ListUserGroupsByUserIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListUserGroupsByUserIdOutcomeCallable listUserGroupsByUserIdCallable(const Model::ListUserGroupsByUserIdRequest& request) const; + QueryDataServiceOutcome queryDataService(const Model::QueryDataServiceRequest &request)const; + void queryDataServiceAsync(const Model::QueryDataServiceRequest& request, const QueryDataServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryDataServiceOutcomeCallable queryDataServiceCallable(const Model::QueryDataServiceRequest& request) const; + QueryDatasetDetailInfoOutcome queryDatasetDetailInfo(const Model::QueryDatasetDetailInfoRequest &request)const; + void queryDatasetDetailInfoAsync(const Model::QueryDatasetDetailInfoRequest& request, const QueryDatasetDetailInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryDatasetDetailInfoOutcomeCallable queryDatasetDetailInfoCallable(const Model::QueryDatasetDetailInfoRequest& request) const; + QueryDatasetInfoOutcome queryDatasetInfo(const Model::QueryDatasetInfoRequest &request)const; + void queryDatasetInfoAsync(const Model::QueryDatasetInfoRequest& request, const QueryDatasetInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryDatasetInfoOutcomeCallable queryDatasetInfoCallable(const Model::QueryDatasetInfoRequest& request) const; + QueryDatasetListOutcome queryDatasetList(const Model::QueryDatasetListRequest &request)const; + void queryDatasetListAsync(const Model::QueryDatasetListRequest& request, const QueryDatasetListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryDatasetListOutcomeCallable queryDatasetListCallable(const Model::QueryDatasetListRequest& request) const; + QueryDatasetSwitchInfoOutcome queryDatasetSwitchInfo(const Model::QueryDatasetSwitchInfoRequest &request)const; + void queryDatasetSwitchInfoAsync(const Model::QueryDatasetSwitchInfoRequest& request, const QueryDatasetSwitchInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryDatasetSwitchInfoOutcomeCallable queryDatasetSwitchInfoCallable(const Model::QueryDatasetSwitchInfoRequest& request) const; + QueryEmbedTokenInfoOutcome queryEmbedTokenInfo(const Model::QueryEmbedTokenInfoRequest &request)const; + void queryEmbedTokenInfoAsync(const Model::QueryEmbedTokenInfoRequest& request, const QueryEmbedTokenInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryEmbedTokenInfoOutcomeCallable queryEmbedTokenInfoCallable(const Model::QueryEmbedTokenInfoRequest& request) const; + QueryEmbeddedInfoOutcome queryEmbeddedInfo(const Model::QueryEmbeddedInfoRequest &request)const; + void queryEmbeddedInfoAsync(const Model::QueryEmbeddedInfoRequest& request, const QueryEmbeddedInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryEmbeddedInfoOutcomeCallable queryEmbeddedInfoCallable(const Model::QueryEmbeddedInfoRequest& request) const; + QueryEmbeddedStausOutcome queryEmbeddedStaus(const Model::QueryEmbeddedStausRequest &request)const; + void queryEmbeddedStausAsync(const Model::QueryEmbeddedStausRequest& request, const QueryEmbeddedStausAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryEmbeddedStausOutcomeCallable queryEmbeddedStausCallable(const Model::QueryEmbeddedStausRequest& request) const; + QueryOrganizationWorkspaceListOutcome queryOrganizationWorkspaceList(const Model::QueryOrganizationWorkspaceListRequest &request)const; + void queryOrganizationWorkspaceListAsync(const Model::QueryOrganizationWorkspaceListRequest& request, const QueryOrganizationWorkspaceListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryOrganizationWorkspaceListOutcomeCallable queryOrganizationWorkspaceListCallable(const Model::QueryOrganizationWorkspaceListRequest& request) const; + QueryReadableResourcesListByUserIdOutcome queryReadableResourcesListByUserId(const Model::QueryReadableResourcesListByUserIdRequest &request)const; + void queryReadableResourcesListByUserIdAsync(const Model::QueryReadableResourcesListByUserIdRequest& request, const QueryReadableResourcesListByUserIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryReadableResourcesListByUserIdOutcomeCallable queryReadableResourcesListByUserIdCallable(const Model::QueryReadableResourcesListByUserIdRequest& request) const; + QueryShareListOutcome queryShareList(const Model::QueryShareListRequest &request)const; + void queryShareListAsync(const Model::QueryShareListRequest& request, const QueryShareListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryShareListOutcomeCallable queryShareListCallable(const Model::QueryShareListRequest& request) const; + QuerySharesToUserListOutcome querySharesToUserList(const Model::QuerySharesToUserListRequest &request)const; + void querySharesToUserListAsync(const Model::QuerySharesToUserListRequest& request, const QuerySharesToUserListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QuerySharesToUserListOutcomeCallable querySharesToUserListCallable(const Model::QuerySharesToUserListRequest& request) const; + QueryUserGroupListByParentIdOutcome queryUserGroupListByParentId(const Model::QueryUserGroupListByParentIdRequest &request)const; + void queryUserGroupListByParentIdAsync(const Model::QueryUserGroupListByParentIdRequest& request, const QueryUserGroupListByParentIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryUserGroupListByParentIdOutcomeCallable queryUserGroupListByParentIdCallable(const Model::QueryUserGroupListByParentIdRequest& request) const; + QueryUserGroupMemberOutcome queryUserGroupMember(const Model::QueryUserGroupMemberRequest &request)const; + void queryUserGroupMemberAsync(const Model::QueryUserGroupMemberRequest& request, const QueryUserGroupMemberAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryUserGroupMemberOutcomeCallable queryUserGroupMemberCallable(const Model::QueryUserGroupMemberRequest& request) const; + QueryUserInfoByAccountOutcome queryUserInfoByAccount(const Model::QueryUserInfoByAccountRequest &request)const; + void queryUserInfoByAccountAsync(const Model::QueryUserInfoByAccountRequest& request, const QueryUserInfoByAccountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryUserInfoByAccountOutcomeCallable queryUserInfoByAccountCallable(const Model::QueryUserInfoByAccountRequest& request) const; + QueryUserInfoByUserIdOutcome queryUserInfoByUserId(const Model::QueryUserInfoByUserIdRequest &request)const; + void queryUserInfoByUserIdAsync(const Model::QueryUserInfoByUserIdRequest& request, const QueryUserInfoByUserIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryUserInfoByUserIdOutcomeCallable queryUserInfoByUserIdCallable(const Model::QueryUserInfoByUserIdRequest& request) const; + QueryUserListOutcome queryUserList(const Model::QueryUserListRequest &request)const; + void queryUserListAsync(const Model::QueryUserListRequest& request, const QueryUserListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryUserListOutcomeCallable queryUserListCallable(const Model::QueryUserListRequest& request) const; + QueryUserRoleInfoInWorkspaceOutcome queryUserRoleInfoInWorkspace(const Model::QueryUserRoleInfoInWorkspaceRequest &request)const; + void queryUserRoleInfoInWorkspaceAsync(const Model::QueryUserRoleInfoInWorkspaceRequest& request, const QueryUserRoleInfoInWorkspaceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryUserRoleInfoInWorkspaceOutcomeCallable queryUserRoleInfoInWorkspaceCallable(const Model::QueryUserRoleInfoInWorkspaceRequest& request) const; + QueryUserTagMetaListOutcome queryUserTagMetaList(const Model::QueryUserTagMetaListRequest &request)const; + void queryUserTagMetaListAsync(const Model::QueryUserTagMetaListRequest& request, const QueryUserTagMetaListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryUserTagMetaListOutcomeCallable queryUserTagMetaListCallable(const Model::QueryUserTagMetaListRequest& request) const; + QueryUserTagValueListOutcome queryUserTagValueList(const Model::QueryUserTagValueListRequest &request)const; + void queryUserTagValueListAsync(const Model::QueryUserTagValueListRequest& request, const QueryUserTagValueListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryUserTagValueListOutcomeCallable queryUserTagValueListCallable(const Model::QueryUserTagValueListRequest& request) const; + QueryWorksByOrganizationOutcome queryWorksByOrganization(const Model::QueryWorksByOrganizationRequest &request)const; + void queryWorksByOrganizationAsync(const Model::QueryWorksByOrganizationRequest& request, const QueryWorksByOrganizationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryWorksByOrganizationOutcomeCallable queryWorksByOrganizationCallable(const Model::QueryWorksByOrganizationRequest& request) const; + QueryWorksByWorkspaceOutcome queryWorksByWorkspace(const Model::QueryWorksByWorkspaceRequest &request)const; + void queryWorksByWorkspaceAsync(const Model::QueryWorksByWorkspaceRequest& request, const QueryWorksByWorkspaceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryWorksByWorkspaceOutcomeCallable queryWorksByWorkspaceCallable(const Model::QueryWorksByWorkspaceRequest& request) const; + QueryWorkspaceUserListOutcome queryWorkspaceUserList(const Model::QueryWorkspaceUserListRequest &request)const; + void queryWorkspaceUserListAsync(const Model::QueryWorkspaceUserListRequest& request, const QueryWorkspaceUserListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryWorkspaceUserListOutcomeCallable queryWorkspaceUserListCallable(const Model::QueryWorkspaceUserListRequest& request) const; + SaveFavoritesOutcome saveFavorites(const Model::SaveFavoritesRequest &request)const; + void saveFavoritesAsync(const Model::SaveFavoritesRequest& request, const SaveFavoritesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SaveFavoritesOutcomeCallable saveFavoritesCallable(const Model::SaveFavoritesRequest& request) const; + SetDataLevelPermissionExtraConfigOutcome setDataLevelPermissionExtraConfig(const Model::SetDataLevelPermissionExtraConfigRequest &request)const; + void setDataLevelPermissionExtraConfigAsync(const Model::SetDataLevelPermissionExtraConfigRequest& request, const SetDataLevelPermissionExtraConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetDataLevelPermissionExtraConfigOutcomeCallable setDataLevelPermissionExtraConfigCallable(const Model::SetDataLevelPermissionExtraConfigRequest& request) const; + SetDataLevelPermissionRuleConfigOutcome setDataLevelPermissionRuleConfig(const Model::SetDataLevelPermissionRuleConfigRequest &request)const; + void setDataLevelPermissionRuleConfigAsync(const Model::SetDataLevelPermissionRuleConfigRequest& request, const SetDataLevelPermissionRuleConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetDataLevelPermissionRuleConfigOutcomeCallable setDataLevelPermissionRuleConfigCallable(const Model::SetDataLevelPermissionRuleConfigRequest& request) const; + SetDataLevelPermissionWhiteListOutcome setDataLevelPermissionWhiteList(const Model::SetDataLevelPermissionWhiteListRequest &request)const; + void setDataLevelPermissionWhiteListAsync(const Model::SetDataLevelPermissionWhiteListRequest& request, const SetDataLevelPermissionWhiteListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetDataLevelPermissionWhiteListOutcomeCallable setDataLevelPermissionWhiteListCallable(const Model::SetDataLevelPermissionWhiteListRequest& request) const; + UpdateDataLevelPermissionStatusOutcome updateDataLevelPermissionStatus(const Model::UpdateDataLevelPermissionStatusRequest &request)const; + void updateDataLevelPermissionStatusAsync(const Model::UpdateDataLevelPermissionStatusRequest& request, const UpdateDataLevelPermissionStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateDataLevelPermissionStatusOutcomeCallable updateDataLevelPermissionStatusCallable(const Model::UpdateDataLevelPermissionStatusRequest& request) const; + UpdateEmbeddedStatusOutcome updateEmbeddedStatus(const Model::UpdateEmbeddedStatusRequest &request)const; + void updateEmbeddedStatusAsync(const Model::UpdateEmbeddedStatusRequest& request, const UpdateEmbeddedStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateEmbeddedStatusOutcomeCallable updateEmbeddedStatusCallable(const Model::UpdateEmbeddedStatusRequest& request) const; + UpdateUserOutcome updateUser(const Model::UpdateUserRequest &request)const; + void updateUserAsync(const Model::UpdateUserRequest& request, const UpdateUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateUserOutcomeCallable updateUserCallable(const Model::UpdateUserRequest& request) const; + UpdateUserGroupOutcome updateUserGroup(const Model::UpdateUserGroupRequest &request)const; + void updateUserGroupAsync(const Model::UpdateUserGroupRequest& request, const UpdateUserGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateUserGroupOutcomeCallable updateUserGroupCallable(const Model::UpdateUserGroupRequest& request) const; + UpdateUserTagMetaOutcome updateUserTagMeta(const Model::UpdateUserTagMetaRequest &request)const; + void updateUserTagMetaAsync(const Model::UpdateUserTagMetaRequest& request, const UpdateUserTagMetaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateUserTagMetaOutcomeCallable updateUserTagMetaCallable(const Model::UpdateUserTagMetaRequest& request) const; + UpdateUserTagValueOutcome updateUserTagValue(const Model::UpdateUserTagValueRequest &request)const; + void updateUserTagValueAsync(const Model::UpdateUserTagValueRequest& request, const UpdateUserTagValueAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateUserTagValueOutcomeCallable updateUserTagValueCallable(const Model::UpdateUserTagValueRequest& request) const; + UpdateWorkspaceUserRoleOutcome updateWorkspaceUserRole(const Model::UpdateWorkspaceUserRoleRequest &request)const; + void updateWorkspaceUserRoleAsync(const Model::UpdateWorkspaceUserRoleRequest& request, const UpdateWorkspaceUserRoleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateWorkspaceUserRoleOutcomeCallable updateWorkspaceUserRoleCallable(const Model::UpdateWorkspaceUserRoleRequest& request) const; + UpdateWorkspaceUsersRoleOutcome updateWorkspaceUsersRole(const Model::UpdateWorkspaceUsersRoleRequest &request)const; + void updateWorkspaceUsersRoleAsync(const Model::UpdateWorkspaceUsersRoleRequest& request, const UpdateWorkspaceUsersRoleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateWorkspaceUsersRoleOutcomeCallable updateWorkspaceUsersRoleCallable(const Model::UpdateWorkspaceUsersRoleRequest& request) const; + WithdrawAllUserGroupsOutcome withdrawAllUserGroups(const Model::WithdrawAllUserGroupsRequest &request)const; + void withdrawAllUserGroupsAsync(const Model::WithdrawAllUserGroupsRequest& request, const WithdrawAllUserGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + WithdrawAllUserGroupsOutcomeCallable withdrawAllUserGroupsCallable(const Model::WithdrawAllUserGroupsRequest& request) const; + + private: + std::shared_ptr endpointProvider_; + }; + } +} + +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_QUICKBI_PUBLICCLIENT_H_ diff --git a/quickbi-public/include/alibabacloud/quickbi-public/Quickbi_publicExport.h b/quickbi-public/include/alibabacloud/quickbi-public/Quickbi_publicExport.h new file mode 100644 index 000000000..0dcc49858 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/Quickbi_publicExport.h @@ -0,0 +1,32 @@ +/* + * 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_QUICKBI_PUBLIC_QUICKBI_PUBLICEXPORT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_QUICKBI_PUBLICEXPORT_H_ + +#include + +#if defined(ALIBABACLOUD_SHARED) +# if defined(ALIBABACLOUD_QUICKBI_PUBLIC_LIBRARY) +# define ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT ALIBABACLOUD_DECL_EXPORT +# else +# define ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT ALIBABACLOUD_DECL_IMPORT +# endif +#else +# define ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT +#endif + +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_QUICKBI_PUBLICEXPORT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/AddDataLevelPermissionRuleUsersRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/AddDataLevelPermissionRuleUsersRequest.h new file mode 100644 index 000000000..995e2b5aa --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/AddDataLevelPermissionRuleUsersRequest.h @@ -0,0 +1,57 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_ADDDATALEVELPERMISSIONRULEUSERSREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDDATALEVELPERMISSIONRULEUSERSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT AddDataLevelPermissionRuleUsersRequest : public RpcServiceRequest + { + + public: + AddDataLevelPermissionRuleUsersRequest(); + ~AddDataLevelPermissionRuleUsersRequest(); + + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getAddUserModel()const; + void setAddUserModel(const std::string& addUserModel); + std::string getSignType()const; + void setSignType(const std::string& signType); + + private: + std::string clientToken_; + std::string accessPoint_; + std::string addUserModel_; + std::string signType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDDATALEVELPERMISSIONRULEUSERSREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/AddDataLevelPermissionRuleUsersResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/AddDataLevelPermissionRuleUsersResult.h new file mode 100644 index 000000000..1d71a45d9 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/AddDataLevelPermissionRuleUsersResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_ADDDATALEVELPERMISSIONRULEUSERSRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDDATALEVELPERMISSIONRULEUSERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT AddDataLevelPermissionRuleUsersResult : public ServiceResult + { + public: + + + AddDataLevelPermissionRuleUsersResult(); + explicit AddDataLevelPermissionRuleUsersResult(const std::string &payload); + ~AddDataLevelPermissionRuleUsersResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDDATALEVELPERMISSIONRULEUSERSRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/AddDataLevelPermissionWhiteListRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/AddDataLevelPermissionWhiteListRequest.h new file mode 100644 index 000000000..22137d072 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/AddDataLevelPermissionWhiteListRequest.h @@ -0,0 +1,69 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_ADDDATALEVELPERMISSIONWHITELISTREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDDATALEVELPERMISSIONWHITELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT AddDataLevelPermissionWhiteListRequest : public RpcServiceRequest + { + + public: + AddDataLevelPermissionWhiteListRequest(); + ~AddDataLevelPermissionWhiteListRequest(); + + std::string getTargetType()const; + void setTargetType(const std::string& targetType); + std::string getTargetIds()const; + void setTargetIds(const std::string& targetIds); + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + std::string getRuleType()const; + void setRuleType(const std::string& ruleType); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getOperateType()const; + void setOperateType(const std::string& operateType); + std::string getCubeId()const; + void setCubeId(const std::string& cubeId); + + private: + std::string targetType_; + std::string targetIds_; + std::string clientToken_; + std::string ruleType_; + std::string accessPoint_; + std::string signType_; + std::string operateType_; + std::string cubeId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDDATALEVELPERMISSIONWHITELISTREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/AddDataLevelPermissionWhiteListResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/AddDataLevelPermissionWhiteListResult.h new file mode 100644 index 000000000..256a20f72 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/AddDataLevelPermissionWhiteListResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_ADDDATALEVELPERMISSIONWHITELISTRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDDATALEVELPERMISSIONWHITELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT AddDataLevelPermissionWhiteListResult : public ServiceResult + { + public: + + + AddDataLevelPermissionWhiteListResult(); + explicit AddDataLevelPermissionWhiteListResult(const std::string &payload); + ~AddDataLevelPermissionWhiteListResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDDATALEVELPERMISSIONWHITELISTRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/AddShareReportRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/AddShareReportRequest.h new file mode 100644 index 000000000..b603ef7f2 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/AddShareReportRequest.h @@ -0,0 +1,69 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_ADDSHAREREPORTREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDSHAREREPORTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT AddShareReportRequest : public RpcServiceRequest + { + + public: + AddShareReportRequest(); + ~AddShareReportRequest(); + + int getShareToType()const; + void setShareToType(int shareToType); + std::string getWorksId()const; + void setWorksId(const std::string& worksId); + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + std::string getShareToId()const; + void setShareToId(const std::string& shareToId); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + int getAuthPoint()const; + void setAuthPoint(int authPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + long getExpireDate()const; + void setExpireDate(long expireDate); + + private: + int shareToType_; + std::string worksId_; + std::string clientToken_; + std::string shareToId_; + std::string accessPoint_; + int authPoint_; + std::string signType_; + long expireDate_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDSHAREREPORTREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/AddShareReportResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/AddShareReportResult.h new file mode 100644 index 000000000..48dd4d01c --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/AddShareReportResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_ADDSHAREREPORTRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDSHAREREPORTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT AddShareReportResult : public ServiceResult + { + public: + + + AddShareReportResult(); + explicit AddShareReportResult(const std::string &payload); + ~AddShareReportResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDSHAREREPORTRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/AddUserGroupMemberRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/AddUserGroupMemberRequest.h new file mode 100644 index 000000000..5a911c088 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/AddUserGroupMemberRequest.h @@ -0,0 +1,60 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_ADDUSERGROUPMEMBERREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDUSERGROUPMEMBERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT AddUserGroupMemberRequest : public RpcServiceRequest + { + + public: + AddUserGroupMemberRequest(); + ~AddUserGroupMemberRequest(); + + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getUserIdList()const; + void setUserIdList(const std::string& userIdList); + std::string getUserGroupId()const; + void setUserGroupId(const std::string& userGroupId); + std::string getSignType()const; + void setSignType(const std::string& signType); + + private: + std::string clientToken_; + std::string accessPoint_; + std::string userIdList_; + std::string userGroupId_; + std::string signType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDUSERGROUPMEMBERREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/AddUserGroupMemberResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/AddUserGroupMemberResult.h new file mode 100644 index 000000000..2b9c2c10d --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/AddUserGroupMemberResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_ADDUSERGROUPMEMBERRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDUSERGROUPMEMBERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT AddUserGroupMemberResult : public ServiceResult + { + public: + + + AddUserGroupMemberResult(); + explicit AddUserGroupMemberResult(const std::string &payload); + ~AddUserGroupMemberResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDUSERGROUPMEMBERRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/AddUserRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/AddUserRequest.h new file mode 100644 index 000000000..555f6a324 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/AddUserRequest.h @@ -0,0 +1,81 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_ADDUSERREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDUSERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT AddUserRequest : public RpcServiceRequest + { + + public: + AddUserRequest(); + ~AddUserRequest(); + + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + bool getAdminUser()const; + void setAdminUser(bool adminUser); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + int getAccountType()const; + void setAccountType(int accountType); + int getUserType()const; + void setUserType(int userType); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getAccountId()const; + void setAccountId(const std::string& accountId); + std::string getAccountName()const; + void setAccountName(const std::string& accountName); + std::string getPhone()const; + void setPhone(const std::string& phone); + std::string getNickName()const; + void setNickName(const std::string& nickName); + bool getAuthAdminUser()const; + void setAuthAdminUser(bool authAdminUser); + std::string getEmail()const; + void setEmail(const std::string& email); + + private: + std::string clientToken_; + bool adminUser_; + std::string accessPoint_; + int accountType_; + int userType_; + std::string signType_; + std::string accountId_; + std::string accountName_; + std::string phone_; + std::string nickName_; + bool authAdminUser_; + std::string email_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDUSERREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/AddUserResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/AddUserResult.h new file mode 100644 index 000000000..308c9ae58 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/AddUserResult.h @@ -0,0 +1,64 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_ADDUSERRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDUSERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT AddUserResult : public ServiceResult + { + public: + struct Result + { + std::string email; + std::string userId; + std::string phone; + bool adminUser; + std::string nickName; + int userType; + bool authAdminUser; + std::string accountName; + }; + + + AddUserResult(); + explicit AddUserResult(const std::string &payload); + ~AddUserResult(); + bool getSuccess()const; + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDUSERRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/AddUserTagMetaRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/AddUserTagMetaRequest.h new file mode 100644 index 000000000..c08fbf23a --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/AddUserTagMetaRequest.h @@ -0,0 +1,63 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_ADDUSERTAGMETAREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDUSERTAGMETAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT AddUserTagMetaRequest : public RpcServiceRequest + { + + public: + AddUserTagMetaRequest(); + ~AddUserTagMetaRequest(); + + std::string getTagDescription()const; + void setTagDescription(const std::string& tagDescription); + std::string getTagName()const; + void setTagName(const std::string& tagName); + std::string getTagId()const; + void setTagId(const std::string& tagId); + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + + private: + std::string tagDescription_; + std::string tagName_; + std::string tagId_; + std::string clientToken_; + std::string accessPoint_; + std::string signType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDUSERTAGMETAREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/AddUserTagMetaResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/AddUserTagMetaResult.h new file mode 100644 index 000000000..2871f8919 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/AddUserTagMetaResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_ADDUSERTAGMETARESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDUSERTAGMETARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT AddUserTagMetaResult : public ServiceResult + { + public: + + + AddUserTagMetaResult(); + explicit AddUserTagMetaResult(const std::string &payload); + ~AddUserTagMetaResult(); + bool getSuccess()const; + std::string getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + std::string result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDUSERTAGMETARESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/AddUserToWorkspaceRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/AddUserToWorkspaceRequest.h new file mode 100644 index 000000000..a7aad7038 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/AddUserToWorkspaceRequest.h @@ -0,0 +1,60 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_ADDUSERTOWORKSPACEREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDUSERTOWORKSPACEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT AddUserToWorkspaceRequest : public RpcServiceRequest + { + + public: + AddUserToWorkspaceRequest(); + ~AddUserToWorkspaceRequest(); + + long getRoleId()const; + void setRoleId(long roleId); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserId()const; + void setUserId(const std::string& userId); + std::string getWorkspaceId()const; + void setWorkspaceId(const std::string& workspaceId); + + private: + long roleId_; + std::string accessPoint_; + std::string signType_; + std::string userId_; + std::string workspaceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDUSERTOWORKSPACEREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/AddUserToWorkspaceResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/AddUserToWorkspaceResult.h new file mode 100644 index 000000000..a9ebabfa4 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/AddUserToWorkspaceResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_ADDUSERTOWORKSPACERESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDUSERTOWORKSPACERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT AddUserToWorkspaceResult : public ServiceResult + { + public: + + + AddUserToWorkspaceResult(); + explicit AddUserToWorkspaceResult(const std::string &payload); + ~AddUserToWorkspaceResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDUSERTOWORKSPACERESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/AddWorkspaceUsersRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/AddWorkspaceUsersRequest.h new file mode 100644 index 000000000..015ee2c4a --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/AddWorkspaceUsersRequest.h @@ -0,0 +1,60 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_ADDWORKSPACEUSERSREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDWORKSPACEUSERSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT AddWorkspaceUsersRequest : public RpcServiceRequest + { + + public: + AddWorkspaceUsersRequest(); + ~AddWorkspaceUsersRequest(); + + std::string getUserIds()const; + void setUserIds(const std::string& userIds); + long getRoleId()const; + void setRoleId(long roleId); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getWorkspaceId()const; + void setWorkspaceId(const std::string& workspaceId); + + private: + std::string userIds_; + long roleId_; + std::string accessPoint_; + std::string signType_; + std::string workspaceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDWORKSPACEUSERSREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/AddWorkspaceUsersResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/AddWorkspaceUsersResult.h new file mode 100644 index 000000000..b917104c8 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/AddWorkspaceUsersResult.h @@ -0,0 +1,60 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_ADDWORKSPACEUSERSRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDWORKSPACEUSERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT AddWorkspaceUsersResult : public ServiceResult + { + public: + struct Result + { + std::string failureDetail; + int total; + int success; + int failure; + }; + + + AddWorkspaceUsersResult(); + explicit AddWorkspaceUsersResult(const std::string &payload); + ~AddWorkspaceUsersResult(); + bool getSuccess()const; + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_ADDWORKSPACEUSERSRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/AuthorizeMenuRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/AuthorizeMenuRequest.h new file mode 100644 index 000000000..2b3b2f635 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/AuthorizeMenuRequest.h @@ -0,0 +1,66 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_AUTHORIZEMENUREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_AUTHORIZEMENUREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT AuthorizeMenuRequest : public RpcServiceRequest + { + + public: + AuthorizeMenuRequest(); + ~AuthorizeMenuRequest(); + + std::string getDataPortalId()const; + void setDataPortalId(const std::string& dataPortalId); + std::string getUserIds()const; + void setUserIds(const std::string& userIds); + int getAuthPointsValue()const; + void setAuthPointsValue(int authPointsValue); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserGroupIds()const; + void setUserGroupIds(const std::string& userGroupIds); + std::string getMenuIds()const; + void setMenuIds(const std::string& menuIds); + + private: + std::string dataPortalId_; + std::string userIds_; + int authPointsValue_; + std::string accessPoint_; + std::string signType_; + std::string userGroupIds_; + std::string menuIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_AUTHORIZEMENUREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/AuthorizeMenuResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/AuthorizeMenuResult.h new file mode 100644 index 000000000..87a3c4a6a --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/AuthorizeMenuResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_AUTHORIZEMENURESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_AUTHORIZEMENURESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT AuthorizeMenuResult : public ServiceResult + { + public: + + + AuthorizeMenuResult(); + explicit AuthorizeMenuResult(const std::string &payload); + ~AuthorizeMenuResult(); + bool getSuccess()const; + int getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + int result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_AUTHORIZEMENURESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/BuildSignatureUrlRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/BuildSignatureUrlRequest.h new file mode 100644 index 000000000..539768832 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/BuildSignatureUrlRequest.h @@ -0,0 +1,75 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_BUILDSIGNATUREURLREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_BUILDSIGNATUREURLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT BuildSignatureUrlRequest : public RpcServiceRequest + { + + public: + BuildSignatureUrlRequest(); + ~BuildSignatureUrlRequest(); + + std::string getWatermark()const; + void setWatermark(const std::string& watermark); + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + int getAccountType()const; + void setAccountType(int accountType); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserId()const; + void setUserId(const std::string& userId); + std::string getAccountName()const; + void setAccountName(const std::string& accountName); + std::string getWorksId()const; + void setWorksId(const std::string& worksId); + bool getWithHost()const; + void setWithHost(bool withHost); + int getExpireMin()const; + void setExpireMin(int expireMin); + + private: + std::string watermark_; + std::string clientToken_; + std::string accessPoint_; + int accountType_; + std::string signType_; + std::string userId_; + std::string accountName_; + std::string worksId_; + bool withHost_; + int expireMin_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_BUILDSIGNATUREURLREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/BuildSignatureUrlResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/BuildSignatureUrlResult.h new file mode 100644 index 000000000..b959ac9e6 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/BuildSignatureUrlResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_BUILDSIGNATUREURLRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_BUILDSIGNATUREURLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT BuildSignatureUrlResult : public ServiceResult + { + public: + + + BuildSignatureUrlResult(); + explicit BuildSignatureUrlResult(const std::string &payload); + ~BuildSignatureUrlResult(); + bool getSuccess()const; + std::string getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + std::string result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_BUILDSIGNATUREURLRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/CancelAuthorizationMenuRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/CancelAuthorizationMenuRequest.h new file mode 100644 index 000000000..0cad9e214 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/CancelAuthorizationMenuRequest.h @@ -0,0 +1,63 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_CANCELAUTHORIZATIONMENUREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CANCELAUTHORIZATIONMENUREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT CancelAuthorizationMenuRequest : public RpcServiceRequest + { + + public: + CancelAuthorizationMenuRequest(); + ~CancelAuthorizationMenuRequest(); + + std::string getDataPortalId()const; + void setDataPortalId(const std::string& dataPortalId); + std::string getUserIds()const; + void setUserIds(const std::string& userIds); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserGroupIds()const; + void setUserGroupIds(const std::string& userGroupIds); + std::string getMenuIds()const; + void setMenuIds(const std::string& menuIds); + + private: + std::string dataPortalId_; + std::string userIds_; + std::string accessPoint_; + std::string signType_; + std::string userGroupIds_; + std::string menuIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CANCELAUTHORIZATIONMENUREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/CancelAuthorizationMenuResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/CancelAuthorizationMenuResult.h new file mode 100644 index 000000000..470fbeb58 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/CancelAuthorizationMenuResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_CANCELAUTHORIZATIONMENURESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CANCELAUTHORIZATIONMENURESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT CancelAuthorizationMenuResult : public ServiceResult + { + public: + + + CancelAuthorizationMenuResult(); + explicit CancelAuthorizationMenuResult(const std::string &payload); + ~CancelAuthorizationMenuResult(); + bool getSuccess()const; + int getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + int result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CANCELAUTHORIZATIONMENURESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/CancelCollectionRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/CancelCollectionRequest.h new file mode 100644 index 000000000..dd29336ce --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/CancelCollectionRequest.h @@ -0,0 +1,57 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_CANCELCOLLECTIONREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CANCELCOLLECTIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT CancelCollectionRequest : public RpcServiceRequest + { + + public: + CancelCollectionRequest(); + ~CancelCollectionRequest(); + + std::string getWorksId()const; + void setWorksId(const std::string& worksId); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserId()const; + void setUserId(const std::string& userId); + + private: + std::string worksId_; + std::string accessPoint_; + std::string signType_; + std::string userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CANCELCOLLECTIONREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/CancelCollectionResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/CancelCollectionResult.h new file mode 100644 index 000000000..37804f12a --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/CancelCollectionResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_CANCELCOLLECTIONRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CANCELCOLLECTIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT CancelCollectionResult : public ServiceResult + { + public: + + + CancelCollectionResult(); + explicit CancelCollectionResult(const std::string &payload); + ~CancelCollectionResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CANCELCOLLECTIONRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/CancelReportShareRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/CancelReportShareRequest.h new file mode 100644 index 000000000..2bb7a1fb7 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/CancelReportShareRequest.h @@ -0,0 +1,60 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_CANCELREPORTSHAREREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CANCELREPORTSHAREREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT CancelReportShareRequest : public RpcServiceRequest + { + + public: + CancelReportShareRequest(); + ~CancelReportShareRequest(); + + std::string getReportId()const; + void setReportId(const std::string& reportId); + int getShareToType()const; + void setShareToType(int shareToType); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getShareToIds()const; + void setShareToIds(const std::string& shareToIds); + + private: + std::string reportId_; + int shareToType_; + std::string accessPoint_; + std::string signType_; + std::string shareToIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CANCELREPORTSHAREREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/CancelReportShareResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/CancelReportShareResult.h new file mode 100644 index 000000000..90410404d --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/CancelReportShareResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_CANCELREPORTSHARERESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CANCELREPORTSHARERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT CancelReportShareResult : public ServiceResult + { + public: + + + CancelReportShareResult(); + explicit CancelReportShareResult(const std::string &payload); + ~CancelReportShareResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CANCELREPORTSHARERESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/ChangeVisibilityModelRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/ChangeVisibilityModelRequest.h new file mode 100644 index 000000000..041c29c55 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/ChangeVisibilityModelRequest.h @@ -0,0 +1,60 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_CHANGEVISIBILITYMODELREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CHANGEVISIBILITYMODELREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT ChangeVisibilityModelRequest : public RpcServiceRequest + { + + public: + ChangeVisibilityModelRequest(); + ~ChangeVisibilityModelRequest(); + + std::string getDataPortalId()const; + void setDataPortalId(const std::string& dataPortalId); + bool getShowOnlyWithAccess()const; + void setShowOnlyWithAccess(bool showOnlyWithAccess); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getMenuIds()const; + void setMenuIds(const std::string& menuIds); + + private: + std::string dataPortalId_; + bool showOnlyWithAccess_; + std::string accessPoint_; + std::string signType_; + std::string menuIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CHANGEVISIBILITYMODELREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/ChangeVisibilityModelResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/ChangeVisibilityModelResult.h new file mode 100644 index 000000000..9b0d175a7 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/ChangeVisibilityModelResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_CHANGEVISIBILITYMODELRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CHANGEVISIBILITYMODELRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT ChangeVisibilityModelResult : public ServiceResult + { + public: + + + ChangeVisibilityModelResult(); + explicit ChangeVisibilityModelResult(const std::string &payload); + ~ChangeVisibilityModelResult(); + bool getSuccess()const; + int getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + int result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CHANGEVISIBILITYMODELRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/CheckReadableRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/CheckReadableRequest.h new file mode 100644 index 000000000..2fbeff590 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/CheckReadableRequest.h @@ -0,0 +1,57 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_CHECKREADABLEREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CHECKREADABLEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT CheckReadableRequest : public RpcServiceRequest + { + + public: + CheckReadableRequest(); + ~CheckReadableRequest(); + + std::string getWorksId()const; + void setWorksId(const std::string& worksId); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserId()const; + void setUserId(const std::string& userId); + + private: + std::string worksId_; + std::string accessPoint_; + std::string signType_; + std::string userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CHECKREADABLEREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/CheckReadableResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/CheckReadableResult.h new file mode 100644 index 000000000..4fc6d3327 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/CheckReadableResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_CHECKREADABLERESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CHECKREADABLERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT CheckReadableResult : public ServiceResult + { + public: + + + CheckReadableResult(); + explicit CheckReadableResult(const std::string &payload); + ~CheckReadableResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CHECKREADABLERESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/CreateEmbedTokenRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/CreateEmbedTokenRequest.h new file mode 100644 index 000000000..0610d3809 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/CreateEmbedTokenRequest.h @@ -0,0 +1,69 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_CREATEEMBEDTOKENREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CREATEEMBEDTOKENREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT CreateEmbedTokenRequest : public RpcServiceRequest + { + + public: + CreateEmbedTokenRequest(); + ~CreateEmbedTokenRequest(); + + std::string getAccountName()const; + void setAccountName(const std::string& accountName); + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + std::string getWorksId()const; + void setWorksId(const std::string& worksId); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + int getAccountType()const; + void setAccountType(int accountType); + std::string getSignType()const; + void setSignType(const std::string& signType); + int getExpireMin()const; + void setExpireMin(int expireMin); + std::string getUserId()const; + void setUserId(const std::string& userId); + + private: + std::string accountName_; + std::string clientToken_; + std::string worksId_; + std::string accessPoint_; + int accountType_; + std::string signType_; + int expireMin_; + std::string userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CREATEEMBEDTOKENREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/CreateEmbedTokenResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/CreateEmbedTokenResult.h new file mode 100644 index 000000000..a2c42f299 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/CreateEmbedTokenResult.h @@ -0,0 +1,60 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_CREATEEMBEDTOKENRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CREATEEMBEDTOKENRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT CreateEmbedTokenResult : public ServiceResult + { + public: + struct Result + { + std::string registerTime; + std::string accessToken; + long tokeType; + std::string invalidTime; + }; + + + CreateEmbedTokenResult(); + explicit CreateEmbedTokenResult(const std::string &payload); + ~CreateEmbedTokenResult(); + bool getSuccess()const; + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CREATEEMBEDTOKENRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/CreateUserGroupRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/CreateUserGroupRequest.h new file mode 100644 index 000000000..3db332c30 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/CreateUserGroupRequest.h @@ -0,0 +1,66 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_CREATEUSERGROUPREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CREATEUSERGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT CreateUserGroupRequest : public RpcServiceRequest + { + + public: + CreateUserGroupRequest(); + ~CreateUserGroupRequest(); + + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getUserGroupId()const; + void setUserGroupId(const std::string& userGroupId); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserGroupName()const; + void setUserGroupName(const std::string& userGroupName); + std::string getUserGroupDescription()const; + void setUserGroupDescription(const std::string& userGroupDescription); + std::string getParentUserGroupId()const; + void setParentUserGroupId(const std::string& parentUserGroupId); + + private: + std::string clientToken_; + std::string accessPoint_; + std::string userGroupId_; + std::string signType_; + std::string userGroupName_; + std::string userGroupDescription_; + std::string parentUserGroupId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CREATEUSERGROUPREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/CreateUserGroupResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/CreateUserGroupResult.h new file mode 100644 index 000000000..36ddb04fd --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/CreateUserGroupResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_CREATEUSERGROUPRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CREATEUSERGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT CreateUserGroupResult : public ServiceResult + { + public: + + + CreateUserGroupResult(); + explicit CreateUserGroupResult(const std::string &payload); + ~CreateUserGroupResult(); + bool getSuccess()const; + std::string getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + std::string result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_CREATEUSERGROUPRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/DelayEmbedTokenRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/DelayEmbedTokenRequest.h new file mode 100644 index 000000000..bf4a40013 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/DelayEmbedTokenRequest.h @@ -0,0 +1,60 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_DELAYEMBEDTOKENREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELAYEMBEDTOKENREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT DelayEmbedTokenRequest : public RpcServiceRequest + { + + public: + DelayEmbedTokenRequest(); + ~DelayEmbedTokenRequest(); + + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + int getExpireMin()const; + void setExpireMin(int expireMin); + std::string getToken()const; + void setToken(const std::string& token); + + private: + std::string clientToken_; + std::string accessPoint_; + std::string signType_; + int expireMin_; + std::string token_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELAYEMBEDTOKENREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/DelayEmbedTokenResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/DelayEmbedTokenResult.h new file mode 100644 index 000000000..875682f15 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/DelayEmbedTokenResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_DELAYEMBEDTOKENRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELAYEMBEDTOKENRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT DelayEmbedTokenResult : public ServiceResult + { + public: + + + DelayEmbedTokenResult(); + explicit DelayEmbedTokenResult(const std::string &payload); + ~DelayEmbedTokenResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELAYEMBEDTOKENRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteDataLevelPermissionRuleUsersRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteDataLevelPermissionRuleUsersRequest.h new file mode 100644 index 000000000..882b29085 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteDataLevelPermissionRuleUsersRequest.h @@ -0,0 +1,54 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_DELETEDATALEVELPERMISSIONRULEUSERSREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEDATALEVELPERMISSIONRULEUSERSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT DeleteDataLevelPermissionRuleUsersRequest : public RpcServiceRequest + { + + public: + DeleteDataLevelPermissionRuleUsersRequest(); + ~DeleteDataLevelPermissionRuleUsersRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getDeleteUserModel()const; + void setDeleteUserModel(const std::string& deleteUserModel); + + private: + std::string accessPoint_; + std::string signType_; + std::string deleteUserModel_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEDATALEVELPERMISSIONRULEUSERSREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteDataLevelPermissionRuleUsersResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteDataLevelPermissionRuleUsersResult.h new file mode 100644 index 000000000..87b97916e --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteDataLevelPermissionRuleUsersResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_DELETEDATALEVELPERMISSIONRULEUSERSRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEDATALEVELPERMISSIONRULEUSERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT DeleteDataLevelPermissionRuleUsersResult : public ServiceResult + { + public: + + + DeleteDataLevelPermissionRuleUsersResult(); + explicit DeleteDataLevelPermissionRuleUsersResult(const std::string &payload); + ~DeleteDataLevelPermissionRuleUsersResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEDATALEVELPERMISSIONRULEUSERSRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteDataLevelRuleConfigRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteDataLevelRuleConfigRequest.h new file mode 100644 index 000000000..bd02fd802 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteDataLevelRuleConfigRequest.h @@ -0,0 +1,57 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_DELETEDATALEVELRULECONFIGREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEDATALEVELRULECONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT DeleteDataLevelRuleConfigRequest : public RpcServiceRequest + { + + public: + DeleteDataLevelRuleConfigRequest(); + ~DeleteDataLevelRuleConfigRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getRuleId()const; + void setRuleId(const std::string& ruleId); + std::string getCubeId()const; + void setCubeId(const std::string& cubeId); + + private: + std::string accessPoint_; + std::string signType_; + std::string ruleId_; + std::string cubeId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEDATALEVELRULECONFIGREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteDataLevelRuleConfigResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteDataLevelRuleConfigResult.h new file mode 100644 index 000000000..d3783431d --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteDataLevelRuleConfigResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_DELETEDATALEVELRULECONFIGRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEDATALEVELRULECONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT DeleteDataLevelRuleConfigResult : public ServiceResult + { + public: + + + DeleteDataLevelRuleConfigResult(); + explicit DeleteDataLevelRuleConfigResult(const std::string &payload); + ~DeleteDataLevelRuleConfigResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEDATALEVELRULECONFIGRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteEmbedTokenRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteEmbedTokenRequest.h new file mode 100644 index 000000000..59436b64b --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteEmbedTokenRequest.h @@ -0,0 +1,57 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_DELETEEMBEDTOKENREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEEMBEDTOKENREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT DeleteEmbedTokenRequest : public RpcServiceRequest + { + + public: + DeleteEmbedTokenRequest(); + ~DeleteEmbedTokenRequest(); + + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getToken()const; + void setToken(const std::string& token); + + private: + std::string clientToken_; + std::string accessPoint_; + std::string signType_; + std::string token_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEEMBEDTOKENREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteEmbedTokenResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteEmbedTokenResult.h new file mode 100644 index 000000000..5402ec9e2 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteEmbedTokenResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_DELETEEMBEDTOKENRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEEMBEDTOKENRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT DeleteEmbedTokenResult : public ServiceResult + { + public: + + + DeleteEmbedTokenResult(); + explicit DeleteEmbedTokenResult(const std::string &payload); + ~DeleteEmbedTokenResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEEMBEDTOKENRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserFromWorkspaceRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserFromWorkspaceRequest.h new file mode 100644 index 000000000..f8a97af89 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserFromWorkspaceRequest.h @@ -0,0 +1,57 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_DELETEUSERFROMWORKSPACEREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEUSERFROMWORKSPACEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT DeleteUserFromWorkspaceRequest : public RpcServiceRequest + { + + public: + DeleteUserFromWorkspaceRequest(); + ~DeleteUserFromWorkspaceRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserId()const; + void setUserId(const std::string& userId); + std::string getWorkspaceId()const; + void setWorkspaceId(const std::string& workspaceId); + + private: + std::string accessPoint_; + std::string signType_; + std::string userId_; + std::string workspaceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEUSERFROMWORKSPACEREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserFromWorkspaceResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserFromWorkspaceResult.h new file mode 100644 index 000000000..22be4e756 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserFromWorkspaceResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_DELETEUSERFROMWORKSPACERESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEUSERFROMWORKSPACERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT DeleteUserFromWorkspaceResult : public ServiceResult + { + public: + + + DeleteUserFromWorkspaceResult(); + explicit DeleteUserFromWorkspaceResult(const std::string &payload); + ~DeleteUserFromWorkspaceResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEUSERFROMWORKSPACERESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserGroupMemberRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserGroupMemberRequest.h new file mode 100644 index 000000000..d7b8bbac0 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserGroupMemberRequest.h @@ -0,0 +1,57 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_DELETEUSERGROUPMEMBERREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEUSERGROUPMEMBERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT DeleteUserGroupMemberRequest : public RpcServiceRequest + { + + public: + DeleteUserGroupMemberRequest(); + ~DeleteUserGroupMemberRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getUserGroupId()const; + void setUserGroupId(const std::string& userGroupId); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserId()const; + void setUserId(const std::string& userId); + + private: + std::string accessPoint_; + std::string userGroupId_; + std::string signType_; + std::string userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEUSERGROUPMEMBERREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserGroupMemberResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserGroupMemberResult.h new file mode 100644 index 000000000..1b18f7783 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserGroupMemberResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_DELETEUSERGROUPMEMBERRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEUSERGROUPMEMBERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT DeleteUserGroupMemberResult : public ServiceResult + { + public: + + + DeleteUserGroupMemberResult(); + explicit DeleteUserGroupMemberResult(const std::string &payload); + ~DeleteUserGroupMemberResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEUSERGROUPMEMBERRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserGroupMembersRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserGroupMembersRequest.h new file mode 100644 index 000000000..8be899b31 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserGroupMembersRequest.h @@ -0,0 +1,57 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_DELETEUSERGROUPMEMBERSREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEUSERGROUPMEMBERSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT DeleteUserGroupMembersRequest : public RpcServiceRequest + { + + public: + DeleteUserGroupMembersRequest(); + ~DeleteUserGroupMembersRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserGroupIds()const; + void setUserGroupIds(const std::string& userGroupIds); + std::string getUserId()const; + void setUserId(const std::string& userId); + + private: + std::string accessPoint_; + std::string signType_; + std::string userGroupIds_; + std::string userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEUSERGROUPMEMBERSREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserGroupMembersResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserGroupMembersResult.h new file mode 100644 index 000000000..74df034f2 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserGroupMembersResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_DELETEUSERGROUPMEMBERSRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEUSERGROUPMEMBERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT DeleteUserGroupMembersResult : public ServiceResult + { + public: + + + DeleteUserGroupMembersResult(); + explicit DeleteUserGroupMembersResult(const std::string &payload); + ~DeleteUserGroupMembersResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEUSERGROUPMEMBERSRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserGroupRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserGroupRequest.h new file mode 100644 index 000000000..1cd1515ba --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserGroupRequest.h @@ -0,0 +1,54 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_DELETEUSERGROUPREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEUSERGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT DeleteUserGroupRequest : public RpcServiceRequest + { + + public: + DeleteUserGroupRequest(); + ~DeleteUserGroupRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getUserGroupId()const; + void setUserGroupId(const std::string& userGroupId); + std::string getSignType()const; + void setSignType(const std::string& signType); + + private: + std::string accessPoint_; + std::string userGroupId_; + std::string signType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEUSERGROUPREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserGroupResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserGroupResult.h new file mode 100644 index 000000000..ec8972408 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserGroupResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_DELETEUSERGROUPRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEUSERGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT DeleteUserGroupResult : public ServiceResult + { + public: + + + DeleteUserGroupResult(); + explicit DeleteUserGroupResult(const std::string &payload); + ~DeleteUserGroupResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEUSERGROUPRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserRequest.h new file mode 100644 index 000000000..606b60497 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserRequest.h @@ -0,0 +1,57 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_DELETEUSERREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEUSERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT DeleteUserRequest : public RpcServiceRequest + { + + public: + DeleteUserRequest(); + ~DeleteUserRequest(); + + std::string getTransferUserId()const; + void setTransferUserId(const std::string& transferUserId); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserId()const; + void setUserId(const std::string& userId); + + private: + std::string transferUserId_; + std::string accessPoint_; + std::string signType_; + std::string userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEUSERREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserResult.h new file mode 100644 index 000000000..5c701f344 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_DELETEUSERRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEUSERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT DeleteUserResult : public ServiceResult + { + public: + + + DeleteUserResult(); + explicit DeleteUserResult(const std::string &payload); + ~DeleteUserResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEUSERRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserTagMetaRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserTagMetaRequest.h new file mode 100644 index 000000000..01274572b --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserTagMetaRequest.h @@ -0,0 +1,54 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_DELETEUSERTAGMETAREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEUSERTAGMETAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT DeleteUserTagMetaRequest : public RpcServiceRequest + { + + public: + DeleteUserTagMetaRequest(); + ~DeleteUserTagMetaRequest(); + + std::string getTagId()const; + void setTagId(const std::string& tagId); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + + private: + std::string tagId_; + std::string accessPoint_; + std::string signType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEUSERTAGMETAREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserTagMetaResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserTagMetaResult.h new file mode 100644 index 000000000..fb7fba4b2 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/DeleteUserTagMetaResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_DELETEUSERTAGMETARESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEUSERTAGMETARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT DeleteUserTagMetaResult : public ServiceResult + { + public: + + + DeleteUserTagMetaResult(); + explicit DeleteUserTagMetaResult(const std::string &payload); + ~DeleteUserTagMetaResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_DELETEUSERTAGMETARESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/GetUserGroupInfoRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/GetUserGroupInfoRequest.h new file mode 100644 index 000000000..0502f607d --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/GetUserGroupInfoRequest.h @@ -0,0 +1,54 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_GETUSERGROUPINFOREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_GETUSERGROUPINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT GetUserGroupInfoRequest : public RpcServiceRequest + { + + public: + GetUserGroupInfoRequest(); + ~GetUserGroupInfoRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getKeyword()const; + void setKeyword(const std::string& keyword); + + private: + std::string accessPoint_; + std::string signType_; + std::string keyword_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_GETUSERGROUPINFOREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/GetUserGroupInfoResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/GetUserGroupInfoResult.h new file mode 100644 index 000000000..14598bc80 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/GetUserGroupInfoResult.h @@ -0,0 +1,65 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_GETUSERGROUPINFORESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_GETUSERGROUPINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT GetUserGroupInfoResult : public ServiceResult + { + public: + struct Data + { + std::string modifyUser; + std::string usergroupDesc; + std::string modifiedTime; + std::string identifiedPath; + std::string createTime; + std::string parentUsergroupId; + std::string createUser; + std::string usergroupName; + std::string usergroupId; + }; + + + GetUserGroupInfoResult(); + explicit GetUserGroupInfoResult(const std::string &payload); + ~GetUserGroupInfoResult(); + bool getSuccess()const; + std::vector getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + std::vector result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_GETUSERGROUPINFORESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/ListByUserGroupIdRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/ListByUserGroupIdRequest.h new file mode 100644 index 000000000..1b40a5aff --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/ListByUserGroupIdRequest.h @@ -0,0 +1,54 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_LISTBYUSERGROUPIDREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTBYUSERGROUPIDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT ListByUserGroupIdRequest : public RpcServiceRequest + { + + public: + ListByUserGroupIdRequest(); + ~ListByUserGroupIdRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserGroupIds()const; + void setUserGroupIds(const std::string& userGroupIds); + + private: + std::string accessPoint_; + std::string signType_; + std::string userGroupIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTBYUSERGROUPIDREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/ListByUserGroupIdResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/ListByUserGroupIdResult.h new file mode 100644 index 000000000..73aa0595c --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/ListByUserGroupIdResult.h @@ -0,0 +1,70 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_LISTBYUSERGROUPIDRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTBYUSERGROUPIDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT ListByUserGroupIdResult : public ServiceResult + { + public: + struct Result + { + struct UserGroupModelsItem + { + std::string modifyUser; + std::string usergroupDesc; + std::string modifiedTime; + std::string identifiedPath; + std::string createTime; + std::string parentUsergroupId; + std::string createUser; + std::string usergroupName; + std::string usergroupId; + }; + std::vector userGroupModels; + std::vector failedUserGroupIds; + }; + + + ListByUserGroupIdResult(); + explicit ListByUserGroupIdResult(const std::string &payload); + ~ListByUserGroupIdResult(); + bool getSuccess()const; + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTBYUSERGROUPIDRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/ListCollectionsRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/ListCollectionsRequest.h new file mode 100644 index 000000000..728bd81d6 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/ListCollectionsRequest.h @@ -0,0 +1,54 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_LISTCOLLECTIONSREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTCOLLECTIONSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT ListCollectionsRequest : public RpcServiceRequest + { + + public: + ListCollectionsRequest(); + ~ListCollectionsRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserId()const; + void setUserId(const std::string& userId); + + private: + std::string accessPoint_; + std::string signType_; + std::string userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTCOLLECTIONSREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/ListCollectionsResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/ListCollectionsResult.h new file mode 100644 index 000000000..982a94171 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/ListCollectionsResult.h @@ -0,0 +1,63 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_LISTCOLLECTIONSRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTCOLLECTIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT ListCollectionsResult : public ServiceResult + { + public: + struct Data + { + int favoriteId; + std::string worksType; + std::string ownerId; + std::string worksName; + std::string workspaceId; + std::string workspaceName; + std::string worksId; + }; + + + ListCollectionsResult(); + explicit ListCollectionsResult(const std::string &payload); + ~ListCollectionsResult(); + bool getSuccess()const; + std::vector getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + std::vector result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTCOLLECTIONSRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/ListCubeDataLevelPermissionConfigRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/ListCubeDataLevelPermissionConfigRequest.h new file mode 100644 index 000000000..c8a8ea124 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/ListCubeDataLevelPermissionConfigRequest.h @@ -0,0 +1,57 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_LISTCUBEDATALEVELPERMISSIONCONFIGREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTCUBEDATALEVELPERMISSIONCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT ListCubeDataLevelPermissionConfigRequest : public RpcServiceRequest + { + + public: + ListCubeDataLevelPermissionConfigRequest(); + ~ListCubeDataLevelPermissionConfigRequest(); + + std::string getRuleType()const; + void setRuleType(const std::string& ruleType); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getCubeId()const; + void setCubeId(const std::string& cubeId); + + private: + std::string ruleType_; + std::string accessPoint_; + std::string signType_; + std::string cubeId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTCUBEDATALEVELPERMISSIONCONFIGREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/ListCubeDataLevelPermissionConfigResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/ListCubeDataLevelPermissionConfigResult.h new file mode 100644 index 000000000..fdece949a --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/ListCubeDataLevelPermissionConfigResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_LISTCUBEDATALEVELPERMISSIONCONFIGRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTCUBEDATALEVELPERMISSIONCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT ListCubeDataLevelPermissionConfigResult : public ServiceResult + { + public: + + + ListCubeDataLevelPermissionConfigResult(); + explicit ListCubeDataLevelPermissionConfigResult(const std::string &payload); + ~ListCubeDataLevelPermissionConfigResult(); + bool getSuccess()const; + std::string getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + std::string result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTCUBEDATALEVELPERMISSIONCONFIGRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/ListDataLevelPermissionWhiteListRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/ListDataLevelPermissionWhiteListRequest.h new file mode 100644 index 000000000..8b6d559cf --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/ListDataLevelPermissionWhiteListRequest.h @@ -0,0 +1,57 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_LISTDATALEVELPERMISSIONWHITELISTREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTDATALEVELPERMISSIONWHITELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT ListDataLevelPermissionWhiteListRequest : public RpcServiceRequest + { + + public: + ListDataLevelPermissionWhiteListRequest(); + ~ListDataLevelPermissionWhiteListRequest(); + + std::string getRuleType()const; + void setRuleType(const std::string& ruleType); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getCubeId()const; + void setCubeId(const std::string& cubeId); + + private: + std::string ruleType_; + std::string accessPoint_; + std::string signType_; + std::string cubeId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTDATALEVELPERMISSIONWHITELISTREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/ListDataLevelPermissionWhiteListResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/ListDataLevelPermissionWhiteListResult.h new file mode 100644 index 000000000..fab8c777c --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/ListDataLevelPermissionWhiteListResult.h @@ -0,0 +1,64 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_LISTDATALEVELPERMISSIONWHITELISTRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTDATALEVELPERMISSIONWHITELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT ListDataLevelPermissionWhiteListResult : public ServiceResult + { + public: + struct Result + { + struct UsersModel + { + std::vector users; + std::vector userGroups; + }; + std::string cubeId; + UsersModel usersModel; + std::string ruleType; + }; + + + ListDataLevelPermissionWhiteListResult(); + explicit ListDataLevelPermissionWhiteListResult(const std::string &payload); + ~ListDataLevelPermissionWhiteListResult(); + bool getSuccess()const; + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTDATALEVELPERMISSIONWHITELISTRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/ListPortalMenuAuthorizationRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/ListPortalMenuAuthorizationRequest.h new file mode 100644 index 000000000..3bbc9e272 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/ListPortalMenuAuthorizationRequest.h @@ -0,0 +1,54 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_LISTPORTALMENUAUTHORIZATIONREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTPORTALMENUAUTHORIZATIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT ListPortalMenuAuthorizationRequest : public RpcServiceRequest + { + + public: + ListPortalMenuAuthorizationRequest(); + ~ListPortalMenuAuthorizationRequest(); + + std::string getDataPortalId()const; + void setDataPortalId(const std::string& dataPortalId); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + + private: + std::string dataPortalId_; + std::string accessPoint_; + std::string signType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTPORTALMENUAUTHORIZATIONREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/ListPortalMenuAuthorizationResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/ListPortalMenuAuthorizationResult.h new file mode 100644 index 000000000..9f06d8972 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/ListPortalMenuAuthorizationResult.h @@ -0,0 +1,64 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_LISTPORTALMENUAUTHORIZATIONRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTPORTALMENUAUTHORIZATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT ListPortalMenuAuthorizationResult : public ServiceResult + { + public: + struct Data + { + struct ReceiversItem + { + std::string receiverId; + int receiverType; + }; + std::string menuId; + std::vector receivers; + bool showOnlyWithAccess; + }; + + + ListPortalMenuAuthorizationResult(); + explicit ListPortalMenuAuthorizationResult(const std::string &payload); + ~ListPortalMenuAuthorizationResult(); + bool getSuccess()const; + std::vector getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + std::vector result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTPORTALMENUAUTHORIZATIONRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/ListPortalMenusRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/ListPortalMenusRequest.h new file mode 100644 index 000000000..f7471d06d --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/ListPortalMenusRequest.h @@ -0,0 +1,57 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_LISTPORTALMENUSREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTPORTALMENUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT ListPortalMenusRequest : public RpcServiceRequest + { + + public: + ListPortalMenusRequest(); + ~ListPortalMenusRequest(); + + std::string getDataPortalId()const; + void setDataPortalId(const std::string& dataPortalId); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserId()const; + void setUserId(const std::string& userId); + + private: + std::string dataPortalId_; + std::string accessPoint_; + std::string signType_; + std::string userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTPORTALMENUSREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/ListPortalMenusResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/ListPortalMenusResult.h new file mode 100644 index 000000000..ff2c0230e --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/ListPortalMenusResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_LISTPORTALMENUSRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTPORTALMENUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT ListPortalMenusResult : public ServiceResult + { + public: + + + ListPortalMenusResult(); + explicit ListPortalMenusResult(const std::string &payload); + ~ListPortalMenusResult(); + bool getSuccess()const; + std::string getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + std::string result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTPORTALMENUSRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/ListUserGroupsByUserIdRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/ListUserGroupsByUserIdRequest.h new file mode 100644 index 000000000..1acdd8a76 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/ListUserGroupsByUserIdRequest.h @@ -0,0 +1,54 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_LISTUSERGROUPSBYUSERIDREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTUSERGROUPSBYUSERIDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT ListUserGroupsByUserIdRequest : public RpcServiceRequest + { + + public: + ListUserGroupsByUserIdRequest(); + ~ListUserGroupsByUserIdRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserId()const; + void setUserId(const std::string& userId); + + private: + std::string accessPoint_; + std::string signType_; + std::string userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTUSERGROUPSBYUSERIDREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/ListUserGroupsByUserIdResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/ListUserGroupsByUserIdResult.h new file mode 100644 index 000000000..380dd2769 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/ListUserGroupsByUserIdResult.h @@ -0,0 +1,65 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_LISTUSERGROUPSBYUSERIDRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTUSERGROUPSBYUSERIDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT ListUserGroupsByUserIdResult : public ServiceResult + { + public: + struct Data + { + std::string modifyUser; + std::string usergroupDesc; + std::string modifiedTime; + std::string identifiedPath; + std::string createTime; + std::string parentUsergroupId; + std::string createUser; + std::string usergroupName; + std::string usergroupId; + }; + + + ListUserGroupsByUserIdResult(); + explicit ListUserGroupsByUserIdResult(const std::string &payload); + ~ListUserGroupsByUserIdResult(); + bool getSuccess()const; + std::vector getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + std::vector result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_LISTUSERGROUPSBYUSERIDRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDataServiceRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDataServiceRequest.h new file mode 100644 index 000000000..05e5247ab --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDataServiceRequest.h @@ -0,0 +1,60 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYDATASERVICEREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYDATASERVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryDataServiceRequest : public RpcServiceRequest + { + + public: + QueryDataServiceRequest(); + ~QueryDataServiceRequest(); + + std::string getReturnFields()const; + void setReturnFields(const std::string& returnFields); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getConditions()const; + void setConditions(const std::string& conditions); + std::string getApiId()const; + void setApiId(const std::string& apiId); + + private: + std::string returnFields_; + std::string accessPoint_; + std::string signType_; + std::string conditions_; + std::string apiId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYDATASERVICEREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDataServiceResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDataServiceResult.h new file mode 100644 index 000000000..6026c8dae --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDataServiceResult.h @@ -0,0 +1,68 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYDATASERVICERESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYDATASERVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryDataServiceResult : public ServiceResult + { + public: + struct Result + { + struct HeadersItem + { + std::string type; + std::string column; + std::string label; + std::string dataType; + std::string aggregator; + std::string granularity; + }; + std::vector headers; + std::vector values; + std::string sql; + }; + + + QueryDataServiceResult(); + explicit QueryDataServiceResult(const std::string &payload); + ~QueryDataServiceResult(); + bool getSuccess()const; + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYDATASERVICERESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDatasetDetailInfoRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDatasetDetailInfoRequest.h new file mode 100644 index 000000000..2b5146298 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDatasetDetailInfoRequest.h @@ -0,0 +1,54 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYDATASETDETAILINFOREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYDATASETDETAILINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryDatasetDetailInfoRequest : public RpcServiceRequest + { + + public: + QueryDatasetDetailInfoRequest(); + ~QueryDatasetDetailInfoRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getDatasetId()const; + void setDatasetId(const std::string& datasetId); + std::string getSignType()const; + void setSignType(const std::string& signType); + + private: + std::string accessPoint_; + std::string datasetId_; + std::string signType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYDATASETDETAILINFOREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDatasetDetailInfoResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDatasetDetailInfoResult.h new file mode 100644 index 000000000..cbd2b40fb --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDatasetDetailInfoResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYDATASETDETAILINFORESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYDATASETDETAILINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryDatasetDetailInfoResult : public ServiceResult + { + public: + + + QueryDatasetDetailInfoResult(); + explicit QueryDatasetDetailInfoResult(const std::string &payload); + ~QueryDatasetDetailInfoResult(); + bool getSuccess()const; + std::string getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + std::string result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYDATASETDETAILINFORESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDatasetInfoRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDatasetInfoRequest.h new file mode 100644 index 000000000..96b70daa5 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDatasetInfoRequest.h @@ -0,0 +1,54 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYDATASETINFOREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYDATASETINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryDatasetInfoRequest : public RpcServiceRequest + { + + public: + QueryDatasetInfoRequest(); + ~QueryDatasetInfoRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getDatasetId()const; + void setDatasetId(const std::string& datasetId); + std::string getSignType()const; + void setSignType(const std::string& signType); + + private: + std::string accessPoint_; + std::string datasetId_; + std::string signType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYDATASETINFOREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDatasetInfoResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDatasetInfoResult.h new file mode 100644 index 000000000..6f368ccf7 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDatasetInfoResult.h @@ -0,0 +1,113 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYDATASETINFORESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYDATASETINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryDatasetInfoResult : public ServiceResult + { + public: + struct Result + { + struct Directory + { + std::string pathId; + std::string pathName; + std::string id; + std::string name; + }; + struct CubeTableListItem + { + std::string tableName; + std::string uniqueId; + bool factTable; + std::string datasourceId; + bool customsql; + std::string caption; + std::string dsType; + std::string sql; + }; + struct DimensionListItem + { + std::string dimensionType; + std::string refUid; + std::string uid; + std::string expression; + std::string dataType; + std::string tableUniqueId; + std::string granularity; + std::string caption; + std::string factColumn; + }; + struct MeasureListItem + { + std::string uid; + std::string expression; + std::string dataType; + std::string measureType; + std::string tableUniqueId; + std::string caption; + std::string factColumn; + }; + std::string ownerName; + std::string workspaceId; + bool rowLevel; + std::string dsId; + bool custimzeSql; + std::string dsType; + std::string datasetId; + std::vector measureList; + std::string gmtCreate; + std::string ownerId; + std::string gmtModify; + std::string datasetName; + std::vector dimensionList; + std::string dsName; + std::string workspaceName; + std::vector cubeTableList; + Directory directory; + }; + + + QueryDatasetInfoResult(); + explicit QueryDatasetInfoResult(const std::string &payload); + ~QueryDatasetInfoResult(); + bool getSuccess()const; + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYDATASETINFORESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDatasetListRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDatasetListRequest.h new file mode 100644 index 000000000..0dc40ac44 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDatasetListRequest.h @@ -0,0 +1,69 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYDATASETLISTREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYDATASETLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryDatasetListRequest : public RpcServiceRequest + { + + public: + QueryDatasetListRequest(); + ~QueryDatasetListRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getDirectoryId()const; + void setDirectoryId(const std::string& directoryId); + bool getWithChildren()const; + void setWithChildren(bool withChildren); + std::string getKeyword()const; + void setKeyword(const std::string& keyword); + int getPageNum()const; + void setPageNum(int pageNum); + std::string getWorkspaceId()const; + void setWorkspaceId(const std::string& workspaceId); + + private: + std::string accessPoint_; + int pageSize_; + std::string signType_; + std::string directoryId_; + bool withChildren_; + std::string keyword_; + int pageNum_; + std::string workspaceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYDATASETLISTREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDatasetListResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDatasetListResult.h new file mode 100644 index 000000000..72fc200e2 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDatasetListResult.h @@ -0,0 +1,89 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYDATASETLISTRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYDATASETLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryDatasetListResult : public ServiceResult + { + public: + struct Result + { + struct DataItem + { + struct DataSource + { + std::string dsName; + std::string dsId; + std::string dsType; + }; + struct Directory + { + std::string pathId; + std::string id; + std::string pathName; + std::string name; + }; + std::string modifyTime; + std::string ownerName; + std::string description; + std::string ownerId; + std::string datasetName; + std::string createTime; + std::string workspaceId; + bool rowLevel; + std::string workspaceName; + DataSource dataSource; + Directory directory; + std::string datasetId; + }; + int totalNum; + int pageNum; + int pageSize; + std::vector data; + int totalPages; + }; + + + QueryDatasetListResult(); + explicit QueryDatasetListResult(const std::string &payload); + ~QueryDatasetListResult(); + bool getSuccess()const; + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYDATASETLISTRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDatasetSwitchInfoRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDatasetSwitchInfoRequest.h new file mode 100644 index 000000000..e95fc3e14 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDatasetSwitchInfoRequest.h @@ -0,0 +1,54 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYDATASETSWITCHINFOREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYDATASETSWITCHINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryDatasetSwitchInfoRequest : public RpcServiceRequest + { + + public: + QueryDatasetSwitchInfoRequest(); + ~QueryDatasetSwitchInfoRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getCubeId()const; + void setCubeId(const std::string& cubeId); + + private: + std::string accessPoint_; + std::string signType_; + std::string cubeId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYDATASETSWITCHINFOREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDatasetSwitchInfoResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDatasetSwitchInfoResult.h new file mode 100644 index 000000000..cfe6078af --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryDatasetSwitchInfoResult.h @@ -0,0 +1,59 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYDATASETSWITCHINFORESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYDATASETSWITCHINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryDatasetSwitchInfoResult : public ServiceResult + { + public: + struct Result + { + std::string cubeId; + int isOpenRowLevelPermission; + int isOpenColumnLevelPermission; + }; + + + QueryDatasetSwitchInfoResult(); + explicit QueryDatasetSwitchInfoResult(const std::string &payload); + ~QueryDatasetSwitchInfoResult(); + bool getSuccess()const; + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYDATASETSWITCHINFORESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryEmbedTokenInfoRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryEmbedTokenInfoRequest.h new file mode 100644 index 000000000..f7a47b617 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryEmbedTokenInfoRequest.h @@ -0,0 +1,57 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYEMBEDTOKENINFOREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYEMBEDTOKENINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryEmbedTokenInfoRequest : public RpcServiceRequest + { + + public: + QueryEmbedTokenInfoRequest(); + ~QueryEmbedTokenInfoRequest(); + + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getToken()const; + void setToken(const std::string& token); + + private: + std::string clientToken_; + std::string accessPoint_; + std::string signType_; + std::string token_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYEMBEDTOKENINFOREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryEmbedTokenInfoResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryEmbedTokenInfoResult.h new file mode 100644 index 000000000..aed79ce13 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryEmbedTokenInfoResult.h @@ -0,0 +1,60 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYEMBEDTOKENINFORESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYEMBEDTOKENINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryEmbedTokenInfoResult : public ServiceResult + { + public: + struct Result + { + std::string registerTime; + std::string accessToken; + long tokeType; + std::string invalidTime; + }; + + + QueryEmbedTokenInfoResult(); + explicit QueryEmbedTokenInfoResult(const std::string &payload); + ~QueryEmbedTokenInfoResult(); + bool getSuccess()const; + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYEMBEDTOKENINFORESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryEmbeddedInfoRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryEmbeddedInfoRequest.h new file mode 100644 index 000000000..42225730a --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryEmbeddedInfoRequest.h @@ -0,0 +1,51 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYEMBEDDEDINFOREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYEMBEDDEDINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryEmbeddedInfoRequest : public RpcServiceRequest + { + + public: + QueryEmbeddedInfoRequest(); + ~QueryEmbeddedInfoRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + + private: + std::string accessPoint_; + std::string signType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYEMBEDDEDINFOREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryEmbeddedInfoResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryEmbeddedInfoResult.h new file mode 100644 index 000000000..2fcd76d4e --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryEmbeddedInfoResult.h @@ -0,0 +1,65 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYEMBEDDEDINFORESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYEMBEDDEDINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryEmbeddedInfoResult : public ServiceResult + { + public: + struct Result + { + struct Detail + { + int report; + int dashboardOfflineQuery; + int page; + }; + int maxCount; + int embeddedCount; + Detail detail; + }; + + + QueryEmbeddedInfoResult(); + explicit QueryEmbeddedInfoResult(const std::string &payload); + ~QueryEmbeddedInfoResult(); + bool getSuccess()const; + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYEMBEDDEDINFORESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryEmbeddedStausRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryEmbeddedStausRequest.h new file mode 100644 index 000000000..c088c4235 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryEmbeddedStausRequest.h @@ -0,0 +1,54 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYEMBEDDEDSTAUSREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYEMBEDDEDSTAUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryEmbeddedStausRequest : public RpcServiceRequest + { + + public: + QueryEmbeddedStausRequest(); + ~QueryEmbeddedStausRequest(); + + std::string getWorksId()const; + void setWorksId(const std::string& worksId); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + + private: + std::string worksId_; + std::string accessPoint_; + std::string signType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYEMBEDDEDSTAUSREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryEmbeddedStausResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryEmbeddedStausResult.h new file mode 100644 index 000000000..5a04abe28 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryEmbeddedStausResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYEMBEDDEDSTAUSRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYEMBEDDEDSTAUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryEmbeddedStausResult : public ServiceResult + { + public: + + + QueryEmbeddedStausResult(); + explicit QueryEmbeddedStausResult(const std::string &payload); + ~QueryEmbeddedStausResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYEMBEDDEDSTAUSRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryOrganizationWorkspaceListRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryOrganizationWorkspaceListRequest.h new file mode 100644 index 000000000..8052af960 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryOrganizationWorkspaceListRequest.h @@ -0,0 +1,63 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYORGANIZATIONWORKSPACELISTREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYORGANIZATIONWORKSPACELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryOrganizationWorkspaceListRequest : public RpcServiceRequest + { + + public: + QueryOrganizationWorkspaceListRequest(); + ~QueryOrganizationWorkspaceListRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getKeyword()const; + void setKeyword(const std::string& keyword); + int getPageNum()const; + void setPageNum(int pageNum); + std::string getUserId()const; + void setUserId(const std::string& userId); + + private: + std::string accessPoint_; + int pageSize_; + std::string signType_; + std::string keyword_; + int pageNum_; + std::string userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYORGANIZATIONWORKSPACELISTREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryOrganizationWorkspaceListResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryOrganizationWorkspaceListResult.h new file mode 100644 index 000000000..bd49307fc --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryOrganizationWorkspaceListResult.h @@ -0,0 +1,78 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYORGANIZATIONWORKSPACELISTRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYORGANIZATIONWORKSPACELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryOrganizationWorkspaceListResult : public ServiceResult + { + public: + struct Result + { + struct DataItem + { + std::string workspaceDescription; + std::string owner; + std::string modifyUser; + std::string ownerAccountName; + std::string createTime; + std::string workspaceId; + std::string createUser; + std::string organizationId; + std::string modifyUserAccountName; + std::string modifiedTime; + bool allowShareOperation; + std::string workspaceName; + bool allowPublishOperation; + std::string createUserAccountName; + }; + int totalNum; + int pageNum; + int pageSize; + std::vector data; + int totalPages; + }; + + + QueryOrganizationWorkspaceListResult(); + explicit QueryOrganizationWorkspaceListResult(const std::string &payload); + ~QueryOrganizationWorkspaceListResult(); + bool getSuccess()const; + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYORGANIZATIONWORKSPACELISTRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryReadableResourcesListByUserIdRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryReadableResourcesListByUserIdRequest.h new file mode 100644 index 000000000..2b93abd66 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryReadableResourcesListByUserIdRequest.h @@ -0,0 +1,54 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYREADABLERESOURCESLISTBYUSERIDREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYREADABLERESOURCESLISTBYUSERIDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryReadableResourcesListByUserIdRequest : public RpcServiceRequest + { + + public: + QueryReadableResourcesListByUserIdRequest(); + ~QueryReadableResourcesListByUserIdRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserId()const; + void setUserId(const std::string& userId); + + private: + std::string accessPoint_; + std::string signType_; + std::string userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYREADABLERESOURCESLISTBYUSERIDREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryReadableResourcesListByUserIdResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryReadableResourcesListByUserIdResult.h new file mode 100644 index 000000000..e20be170f --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryReadableResourcesListByUserIdResult.h @@ -0,0 +1,78 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYREADABLERESOURCESLISTBYUSERIDRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYREADABLERESOURCESLISTBYUSERIDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryReadableResourcesListByUserIdResult : public ServiceResult + { + public: + struct Data + { + struct Directory + { + std::string pathId; + std::string id; + std::string pathName; + std::string name; + }; + int status; + std::string modifyTime; + std::string ownerName; + std::string description; + std::string workType; + std::string modifyName; + std::string createTime; + std::string workspaceId; + int thirdPartAuthFlag; + std::string ownerId; + std::string workName; + std::string securityLevel; + std::string workspaceName; + std::string worksId; + Directory directory; + }; + + + QueryReadableResourcesListByUserIdResult(); + explicit QueryReadableResourcesListByUserIdResult(const std::string &payload); + ~QueryReadableResourcesListByUserIdResult(); + bool getSuccess()const; + std::vector getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + std::vector result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYREADABLERESOURCESLISTBYUSERIDRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryShareListRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryShareListRequest.h new file mode 100644 index 000000000..2b0b17d30 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryShareListRequest.h @@ -0,0 +1,54 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYSHARELISTREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYSHARELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryShareListRequest : public RpcServiceRequest + { + + public: + QueryShareListRequest(); + ~QueryShareListRequest(); + + std::string getReportId()const; + void setReportId(const std::string& reportId); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + + private: + std::string reportId_; + std::string accessPoint_; + std::string signType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYSHARELISTREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryShareListResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryShareListResult.h new file mode 100644 index 000000000..82de614ad --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryShareListResult.h @@ -0,0 +1,64 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYSHARELISTRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYSHARELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryShareListResult : public ServiceResult + { + public: + struct Data + { + std::string shareId; + std::string shareToId; + int shareToType; + long expireDate; + int authPoint; + std::string shareToName; + std::string reportId; + std::string shareType; + }; + + + QueryShareListResult(); + explicit QueryShareListResult(const std::string &payload); + ~QueryShareListResult(); + bool getSuccess()const; + std::vector getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + std::vector result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYSHARELISTRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QuerySharesToUserListRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QuerySharesToUserListRequest.h new file mode 100644 index 000000000..5ad33e086 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QuerySharesToUserListRequest.h @@ -0,0 +1,54 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYSHARESTOUSERLISTREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYSHARESTOUSERLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QuerySharesToUserListRequest : public RpcServiceRequest + { + + public: + QuerySharesToUserListRequest(); + ~QuerySharesToUserListRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserId()const; + void setUserId(const std::string& userId); + + private: + std::string accessPoint_; + std::string signType_; + std::string userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYSHARESTOUSERLISTREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QuerySharesToUserListResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QuerySharesToUserListResult.h new file mode 100644 index 000000000..a43a7047f --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QuerySharesToUserListResult.h @@ -0,0 +1,78 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYSHARESTOUSERLISTRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYSHARESTOUSERLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QuerySharesToUserListResult : public ServiceResult + { + public: + struct Data + { + struct Directory + { + std::string pathId; + std::string id; + std::string pathName; + std::string name; + }; + int status; + std::string modifyTime; + std::string ownerName; + std::string description; + std::string workType; + std::string modifyName; + std::string createTime; + std::string workspaceId; + int thirdPartAuthFlag; + std::string ownerId; + std::string workName; + std::string securityLevel; + std::string workspaceName; + std::string worksId; + Directory directory; + }; + + + QuerySharesToUserListResult(); + explicit QuerySharesToUserListResult(const std::string &payload); + ~QuerySharesToUserListResult(); + bool getSuccess()const; + std::vector getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + std::vector result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYSHARESTOUSERLISTRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserGroupListByParentIdRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserGroupListByParentIdRequest.h new file mode 100644 index 000000000..24271428d --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserGroupListByParentIdRequest.h @@ -0,0 +1,54 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYUSERGROUPLISTBYPARENTIDREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERGROUPLISTBYPARENTIDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryUserGroupListByParentIdRequest : public RpcServiceRequest + { + + public: + QueryUserGroupListByParentIdRequest(); + ~QueryUserGroupListByParentIdRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getParentUserGroupId()const; + void setParentUserGroupId(const std::string& parentUserGroupId); + + private: + std::string accessPoint_; + std::string signType_; + std::string parentUserGroupId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERGROUPLISTBYPARENTIDREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserGroupListByParentIdResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserGroupListByParentIdResult.h new file mode 100644 index 000000000..47c3122ae --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserGroupListByParentIdResult.h @@ -0,0 +1,65 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYUSERGROUPLISTBYPARENTIDRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERGROUPLISTBYPARENTIDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryUserGroupListByParentIdResult : public ServiceResult + { + public: + struct Data + { + std::string parentUserGroupId; + std::string modifyUser; + std::string modifiedTime; + std::string userGroupId; + std::string userGroupName; + std::string identifiedPath; + std::string createTime; + std::string createUser; + std::string userGroupDescription; + }; + + + QueryUserGroupListByParentIdResult(); + explicit QueryUserGroupListByParentIdResult(const std::string &payload); + ~QueryUserGroupListByParentIdResult(); + bool getSuccess()const; + std::vector getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + std::vector result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERGROUPLISTBYPARENTIDRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserGroupMemberRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserGroupMemberRequest.h new file mode 100644 index 000000000..0dfb925a4 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserGroupMemberRequest.h @@ -0,0 +1,57 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYUSERGROUPMEMBERREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERGROUPMEMBERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryUserGroupMemberRequest : public RpcServiceRequest + { + + public: + QueryUserGroupMemberRequest(); + ~QueryUserGroupMemberRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getUserGroupId()const; + void setUserGroupId(const std::string& userGroupId); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getKeyword()const; + void setKeyword(const std::string& keyword); + + private: + std::string accessPoint_; + std::string userGroupId_; + std::string signType_; + std::string keyword_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERGROUPMEMBERREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserGroupMemberResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserGroupMemberResult.h new file mode 100644 index 000000000..7d4d93533 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserGroupMemberResult.h @@ -0,0 +1,61 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYUSERGROUPMEMBERRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERGROUPMEMBERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryUserGroupMemberResult : public ServiceResult + { + public: + struct Data + { + std::string parentUserGroupName; + std::string parentUserGroupId; + bool isUserGroup; + std::string id; + std::string name; + }; + + + QueryUserGroupMemberResult(); + explicit QueryUserGroupMemberResult(const std::string &payload); + ~QueryUserGroupMemberResult(); + bool getSuccess()const; + std::vector getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + std::vector result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERGROUPMEMBERRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserInfoByAccountRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserInfoByAccountRequest.h new file mode 100644 index 000000000..d2dce57ba --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserInfoByAccountRequest.h @@ -0,0 +1,57 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYUSERINFOBYACCOUNTREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERINFOBYACCOUNTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryUserInfoByAccountRequest : public RpcServiceRequest + { + + public: + QueryUserInfoByAccountRequest(); + ~QueryUserInfoByAccountRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + int getAccountType()const; + void setAccountType(int accountType); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getAccount()const; + void setAccount(const std::string& account); + + private: + std::string accessPoint_; + int accountType_; + std::string signType_; + std::string account_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERINFOBYACCOUNTREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserInfoByAccountResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserInfoByAccountResult.h new file mode 100644 index 000000000..08749afbf --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserInfoByAccountResult.h @@ -0,0 +1,65 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYUSERINFOBYACCOUNTRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERINFOBYACCOUNTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryUserInfoByAccountResult : public ServiceResult + { + public: + struct Result + { + std::string accountId; + std::string email; + std::string phone; + std::string userId; + bool adminUser; + std::string nickName; + int userType; + bool authAdminUser; + std::string accountName; + }; + + + QueryUserInfoByAccountResult(); + explicit QueryUserInfoByAccountResult(const std::string &payload); + ~QueryUserInfoByAccountResult(); + bool getSuccess()const; + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERINFOBYACCOUNTRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserInfoByUserIdRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserInfoByUserIdRequest.h new file mode 100644 index 000000000..750ea0b8d --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserInfoByUserIdRequest.h @@ -0,0 +1,54 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYUSERINFOBYUSERIDREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERINFOBYUSERIDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryUserInfoByUserIdRequest : public RpcServiceRequest + { + + public: + QueryUserInfoByUserIdRequest(); + ~QueryUserInfoByUserIdRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserId()const; + void setUserId(const std::string& userId); + + private: + std::string accessPoint_; + std::string signType_; + std::string userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERINFOBYUSERIDREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserInfoByUserIdResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserInfoByUserIdResult.h new file mode 100644 index 000000000..4ac67795d --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserInfoByUserIdResult.h @@ -0,0 +1,65 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYUSERINFOBYUSERIDRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERINFOBYUSERIDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryUserInfoByUserIdResult : public ServiceResult + { + public: + struct Result + { + std::string accountId; + std::string email; + std::string phone; + std::string userId; + bool adminUser; + std::string nickName; + int userType; + bool authAdminUser; + std::string accountName; + }; + + + QueryUserInfoByUserIdResult(); + explicit QueryUserInfoByUserIdResult(const std::string &payload); + ~QueryUserInfoByUserIdResult(); + bool getSuccess()const; + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERINFOBYUSERIDRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserListRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserListRequest.h new file mode 100644 index 000000000..4e6fbc7c5 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserListRequest.h @@ -0,0 +1,63 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYUSERLISTREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryUserListRequest : public RpcServiceRequest + { + + public: + QueryUserListRequest(); + ~QueryUserListRequest(); + + int getPageSize()const; + void setPageSize(int pageSize); + int getAccountType()const; + void setAccountType(int accountType); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getKeyword()const; + void setKeyword(const std::string& keyword); + int getPageNum()const; + void setPageNum(int pageNum); + + private: + int pageSize_; + int accountType_; + std::string accessPoint_; + std::string signType_; + std::string keyword_; + int pageNum_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERLISTREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserListResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserListResult.h new file mode 100644 index 000000000..a9204fca0 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserListResult.h @@ -0,0 +1,73 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYUSERLISTRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryUserListResult : public ServiceResult + { + public: + struct Result + { + struct DataItem + { + std::string accountId; + std::string email; + std::string phone; + std::string userId; + bool adminUser; + std::string nickName; + int userType; + bool authAdminUser; + std::string accountName; + }; + int totalNum; + int pageNum; + int pageSize; + std::vector data; + int totalPages; + }; + + + QueryUserListResult(); + explicit QueryUserListResult(const std::string &payload); + ~QueryUserListResult(); + bool getSuccess()const; + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERLISTRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserRoleInfoInWorkspaceRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserRoleInfoInWorkspaceRequest.h new file mode 100644 index 000000000..1233e91dc --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserRoleInfoInWorkspaceRequest.h @@ -0,0 +1,57 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYUSERROLEINFOINWORKSPACEREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERROLEINFOINWORKSPACEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryUserRoleInfoInWorkspaceRequest : public RpcServiceRequest + { + + public: + QueryUserRoleInfoInWorkspaceRequest(); + ~QueryUserRoleInfoInWorkspaceRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserId()const; + void setUserId(const std::string& userId); + std::string getWorkspaceId()const; + void setWorkspaceId(const std::string& workspaceId); + + private: + std::string accessPoint_; + std::string signType_; + std::string userId_; + std::string workspaceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERROLEINFOINWORKSPACEREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserRoleInfoInWorkspaceResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserRoleInfoInWorkspaceResult.h new file mode 100644 index 000000000..5845d19d5 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserRoleInfoInWorkspaceResult.h @@ -0,0 +1,59 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYUSERROLEINFOINWORKSPACERESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERROLEINFOINWORKSPACERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryUserRoleInfoInWorkspaceResult : public ServiceResult + { + public: + struct Result + { + std::string roleName; + long roleId; + std::string roleCode; + }; + + + QueryUserRoleInfoInWorkspaceResult(); + explicit QueryUserRoleInfoInWorkspaceResult(const std::string &payload); + ~QueryUserRoleInfoInWorkspaceResult(); + bool getSuccess()const; + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERROLEINFOINWORKSPACERESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserTagMetaListRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserTagMetaListRequest.h new file mode 100644 index 000000000..9d22ec294 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserTagMetaListRequest.h @@ -0,0 +1,51 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYUSERTAGMETALISTREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERTAGMETALISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryUserTagMetaListRequest : public RpcServiceRequest + { + + public: + QueryUserTagMetaListRequest(); + ~QueryUserTagMetaListRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + + private: + std::string accessPoint_; + std::string signType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERTAGMETALISTREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserTagMetaListResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserTagMetaListResult.h new file mode 100644 index 000000000..3632a9e3f --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserTagMetaListResult.h @@ -0,0 +1,59 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYUSERTAGMETALISTRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERTAGMETALISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryUserTagMetaListResult : public ServiceResult + { + public: + struct ResultItem + { + std::string tagName; + std::string tagDescription; + std::string tagId; + }; + + + QueryUserTagMetaListResult(); + explicit QueryUserTagMetaListResult(const std::string &payload); + ~QueryUserTagMetaListResult(); + bool getSuccess()const; + std::vector getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + std::vector result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERTAGMETALISTRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserTagValueListRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserTagValueListRequest.h new file mode 100644 index 000000000..08415e9f5 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserTagValueListRequest.h @@ -0,0 +1,54 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYUSERTAGVALUELISTREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERTAGVALUELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryUserTagValueListRequest : public RpcServiceRequest + { + + public: + QueryUserTagValueListRequest(); + ~QueryUserTagValueListRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserId()const; + void setUserId(const std::string& userId); + + private: + std::string accessPoint_; + std::string signType_; + std::string userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERTAGVALUELISTREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserTagValueListResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserTagValueListResult.h new file mode 100644 index 000000000..df08673af --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryUserTagValueListResult.h @@ -0,0 +1,59 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYUSERTAGVALUELISTRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERTAGVALUELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryUserTagValueListResult : public ServiceResult + { + public: + struct Data + { + std::string tagName; + std::string tagId; + std::string tagValue; + }; + + + QueryUserTagValueListResult(); + explicit QueryUserTagValueListResult(const std::string &payload); + ~QueryUserTagValueListResult(); + bool getSuccess()const; + std::vector getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + std::vector result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYUSERTAGVALUELISTRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryWorksByOrganizationRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryWorksByOrganizationRequest.h new file mode 100644 index 000000000..0a0198812 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryWorksByOrganizationRequest.h @@ -0,0 +1,66 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYWORKSBYORGANIZATIONREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYWORKSBYORGANIZATIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryWorksByOrganizationRequest : public RpcServiceRequest + { + + public: + QueryWorksByOrganizationRequest(); + ~QueryWorksByOrganizationRequest(); + + std::string getWorksType()const; + void setWorksType(const std::string& worksType); + int getThirdPartAuthFlag()const; + void setThirdPartAuthFlag(int thirdPartAuthFlag); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getSignType()const; + void setSignType(const std::string& signType); + int getPageNum()const; + void setPageNum(int pageNum); + int getStatus()const; + void setStatus(int status); + + private: + std::string worksType_; + int thirdPartAuthFlag_; + std::string accessPoint_; + int pageSize_; + std::string signType_; + int pageNum_; + int status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYWORKSBYORGANIZATIONREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryWorksByOrganizationResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryWorksByOrganizationResult.h new file mode 100644 index 000000000..b4034726d --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryWorksByOrganizationResult.h @@ -0,0 +1,86 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYWORKSBYORGANIZATIONRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYWORKSBYORGANIZATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryWorksByOrganizationResult : public ServiceResult + { + public: + struct Result + { + struct DataItem + { + struct Directory + { + std::string pathId; + std::string id; + std::string pathName; + std::string name; + }; + int status; + std::string ownerName; + std::string description; + std::string workType; + std::string modifyName; + std::string workspaceId; + int auth3rdFlag; + std::string gmtCreate; + std::string ownerId; + std::string gmtModify; + std::string securityLevel; + std::string workName; + std::string workspaceName; + std::string worksId; + Directory directory; + }; + int totalNum; + int pageNum; + int pageSize; + std::vector data; + int totalPages; + }; + + + QueryWorksByOrganizationResult(); + explicit QueryWorksByOrganizationResult(const std::string &payload); + ~QueryWorksByOrganizationResult(); + bool getSuccess()const; + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYWORKSBYORGANIZATIONRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryWorksByWorkspaceRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryWorksByWorkspaceRequest.h new file mode 100644 index 000000000..fac21b808 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryWorksByWorkspaceRequest.h @@ -0,0 +1,69 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYWORKSBYWORKSPACEREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYWORKSBYWORKSPACEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryWorksByWorkspaceRequest : public RpcServiceRequest + { + + public: + QueryWorksByWorkspaceRequest(); + ~QueryWorksByWorkspaceRequest(); + + std::string getWorksType()const; + void setWorksType(const std::string& worksType); + int getThirdPartAuthFlag()const; + void setThirdPartAuthFlag(int thirdPartAuthFlag); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getSignType()const; + void setSignType(const std::string& signType); + int getPageNum()const; + void setPageNum(int pageNum); + std::string getWorkspaceId()const; + void setWorkspaceId(const std::string& workspaceId); + int getStatus()const; + void setStatus(int status); + + private: + std::string worksType_; + int thirdPartAuthFlag_; + std::string accessPoint_; + int pageSize_; + std::string signType_; + int pageNum_; + std::string workspaceId_; + int status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYWORKSBYWORKSPACEREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryWorksByWorkspaceResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryWorksByWorkspaceResult.h new file mode 100644 index 000000000..bdbaf20b2 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryWorksByWorkspaceResult.h @@ -0,0 +1,86 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYWORKSBYWORKSPACERESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYWORKSBYWORKSPACERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryWorksByWorkspaceResult : public ServiceResult + { + public: + struct Result + { + struct DataItem + { + struct Directory + { + std::string pathId; + std::string id; + std::string pathName; + std::string name; + }; + int status; + std::string ownerName; + std::string description; + std::string workType; + std::string modifyName; + std::string workspaceId; + int auth3rdFlag; + std::string gmtCreate; + std::string ownerId; + std::string gmtModify; + std::string workName; + std::string securityLevel; + std::string workspaceName; + std::string worksId; + Directory directory; + }; + int totalNum; + int pageNum; + int pageSize; + std::vector data; + int totalPages; + }; + + + QueryWorksByWorkspaceResult(); + explicit QueryWorksByWorkspaceResult(const std::string &payload); + ~QueryWorksByWorkspaceResult(); + bool getSuccess()const; + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYWORKSBYWORKSPACERESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryWorkspaceUserListRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryWorkspaceUserListRequest.h new file mode 100644 index 000000000..b258c63e0 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryWorkspaceUserListRequest.h @@ -0,0 +1,63 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYWORKSPACEUSERLISTREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYWORKSPACEUSERLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryWorkspaceUserListRequest : public RpcServiceRequest + { + + public: + QueryWorkspaceUserListRequest(); + ~QueryWorkspaceUserListRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getKeyword()const; + void setKeyword(const std::string& keyword); + int getPageNum()const; + void setPageNum(int pageNum); + std::string getWorkspaceId()const; + void setWorkspaceId(const std::string& workspaceId); + + private: + std::string accessPoint_; + int pageSize_; + std::string signType_; + std::string keyword_; + int pageNum_; + std::string workspaceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYWORKSPACEUSERLISTREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/QueryWorkspaceUserListResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryWorkspaceUserListResult.h new file mode 100644 index 000000000..131a9b94e --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/QueryWorkspaceUserListResult.h @@ -0,0 +1,77 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_QUERYWORKSPACEUSERLISTRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYWORKSPACEUSERLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT QueryWorkspaceUserListResult : public ServiceResult + { + public: + struct Result + { + struct DataItem + { + struct Role + { + std::string roleName; + long roleId; + std::string roleCode; + }; + Role role; + std::string email; + std::string accountId; + std::string userId; + std::string phone; + std::string nickName; + std::string accountName; + }; + int totalNum; + int pageSize; + int pageNum; + std::vector data; + int totalPages; + }; + + + QueryWorkspaceUserListResult(); + explicit QueryWorkspaceUserListResult(const std::string &payload); + ~QueryWorkspaceUserListResult(); + bool getSuccess()const; + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_QUERYWORKSPACEUSERLISTRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/SaveFavoritesRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/SaveFavoritesRequest.h new file mode 100644 index 000000000..24accde62 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/SaveFavoritesRequest.h @@ -0,0 +1,60 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_SAVEFAVORITESREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_SAVEFAVORITESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT SaveFavoritesRequest : public RpcServiceRequest + { + + public: + SaveFavoritesRequest(); + ~SaveFavoritesRequest(); + + std::string getWorksId()const; + void setWorksId(const std::string& worksId); + std::string getWorksType()const; + void setWorksType(const std::string& worksType); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserId()const; + void setUserId(const std::string& userId); + + private: + std::string worksId_; + std::string worksType_; + std::string accessPoint_; + std::string signType_; + std::string userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_SAVEFAVORITESREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/SaveFavoritesResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/SaveFavoritesResult.h new file mode 100644 index 000000000..18b001ac9 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/SaveFavoritesResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_SAVEFAVORITESRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_SAVEFAVORITESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT SaveFavoritesResult : public ServiceResult + { + public: + + + SaveFavoritesResult(); + explicit SaveFavoritesResult(const std::string &payload); + ~SaveFavoritesResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_SAVEFAVORITESRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/SetDataLevelPermissionExtraConfigRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/SetDataLevelPermissionExtraConfigRequest.h new file mode 100644 index 000000000..8e88df218 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/SetDataLevelPermissionExtraConfigRequest.h @@ -0,0 +1,60 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_SETDATALEVELPERMISSIONEXTRACONFIGREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_SETDATALEVELPERMISSIONEXTRACONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT SetDataLevelPermissionExtraConfigRequest : public RpcServiceRequest + { + + public: + SetDataLevelPermissionExtraConfigRequest(); + ~SetDataLevelPermissionExtraConfigRequest(); + + std::string getMissHitPolicy()const; + void setMissHitPolicy(const std::string& missHitPolicy); + std::string getRuleType()const; + void setRuleType(const std::string& ruleType); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getCubeId()const; + void setCubeId(const std::string& cubeId); + + private: + std::string missHitPolicy_; + std::string ruleType_; + std::string accessPoint_; + std::string signType_; + std::string cubeId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_SETDATALEVELPERMISSIONEXTRACONFIGREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/SetDataLevelPermissionExtraConfigResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/SetDataLevelPermissionExtraConfigResult.h new file mode 100644 index 000000000..9208b2355 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/SetDataLevelPermissionExtraConfigResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_SETDATALEVELPERMISSIONEXTRACONFIGRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_SETDATALEVELPERMISSIONEXTRACONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT SetDataLevelPermissionExtraConfigResult : public ServiceResult + { + public: + + + SetDataLevelPermissionExtraConfigResult(); + explicit SetDataLevelPermissionExtraConfigResult(const std::string &payload); + ~SetDataLevelPermissionExtraConfigResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_SETDATALEVELPERMISSIONEXTRACONFIGRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/SetDataLevelPermissionRuleConfigRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/SetDataLevelPermissionRuleConfigRequest.h new file mode 100644 index 000000000..03c0273c6 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/SetDataLevelPermissionRuleConfigRequest.h @@ -0,0 +1,54 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_SETDATALEVELPERMISSIONRULECONFIGREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_SETDATALEVELPERMISSIONRULECONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT SetDataLevelPermissionRuleConfigRequest : public RpcServiceRequest + { + + public: + SetDataLevelPermissionRuleConfigRequest(); + ~SetDataLevelPermissionRuleConfigRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getRuleModel()const; + void setRuleModel(const std::string& ruleModel); + + private: + std::string accessPoint_; + std::string signType_; + std::string ruleModel_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_SETDATALEVELPERMISSIONRULECONFIGREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/SetDataLevelPermissionRuleConfigResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/SetDataLevelPermissionRuleConfigResult.h new file mode 100644 index 000000000..a7f3b0898 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/SetDataLevelPermissionRuleConfigResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_SETDATALEVELPERMISSIONRULECONFIGRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_SETDATALEVELPERMISSIONRULECONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT SetDataLevelPermissionRuleConfigResult : public ServiceResult + { + public: + + + SetDataLevelPermissionRuleConfigResult(); + explicit SetDataLevelPermissionRuleConfigResult(const std::string &payload); + ~SetDataLevelPermissionRuleConfigResult(); + bool getSuccess()const; + std::string getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + std::string result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_SETDATALEVELPERMISSIONRULECONFIGRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/SetDataLevelPermissionWhiteListRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/SetDataLevelPermissionWhiteListRequest.h new file mode 100644 index 000000000..2963a5399 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/SetDataLevelPermissionWhiteListRequest.h @@ -0,0 +1,54 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_SETDATALEVELPERMISSIONWHITELISTREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_SETDATALEVELPERMISSIONWHITELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT SetDataLevelPermissionWhiteListRequest : public RpcServiceRequest + { + + public: + SetDataLevelPermissionWhiteListRequest(); + ~SetDataLevelPermissionWhiteListRequest(); + + std::string getWhiteListModel()const; + void setWhiteListModel(const std::string& whiteListModel); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + + private: + std::string whiteListModel_; + std::string accessPoint_; + std::string signType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_SETDATALEVELPERMISSIONWHITELISTREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/SetDataLevelPermissionWhiteListResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/SetDataLevelPermissionWhiteListResult.h new file mode 100644 index 000000000..717771a75 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/SetDataLevelPermissionWhiteListResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_SETDATALEVELPERMISSIONWHITELISTRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_SETDATALEVELPERMISSIONWHITELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT SetDataLevelPermissionWhiteListResult : public ServiceResult + { + public: + + + SetDataLevelPermissionWhiteListResult(); + explicit SetDataLevelPermissionWhiteListResult(const std::string &payload); + ~SetDataLevelPermissionWhiteListResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_SETDATALEVELPERMISSIONWHITELISTRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateDataLevelPermissionStatusRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateDataLevelPermissionStatusRequest.h new file mode 100644 index 000000000..b6d82ddff --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateDataLevelPermissionStatusRequest.h @@ -0,0 +1,60 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_UPDATEDATALEVELPERMISSIONSTATUSREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEDATALEVELPERMISSIONSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT UpdateDataLevelPermissionStatusRequest : public RpcServiceRequest + { + + public: + UpdateDataLevelPermissionStatusRequest(); + ~UpdateDataLevelPermissionStatusRequest(); + + int getIsOpen()const; + void setIsOpen(int isOpen); + std::string getRuleType()const; + void setRuleType(const std::string& ruleType); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getCubeId()const; + void setCubeId(const std::string& cubeId); + + private: + int isOpen_; + std::string ruleType_; + std::string accessPoint_; + std::string signType_; + std::string cubeId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEDATALEVELPERMISSIONSTATUSREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateDataLevelPermissionStatusResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateDataLevelPermissionStatusResult.h new file mode 100644 index 000000000..25c4eaa3b --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateDataLevelPermissionStatusResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_UPDATEDATALEVELPERMISSIONSTATUSRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEDATALEVELPERMISSIONSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT UpdateDataLevelPermissionStatusResult : public ServiceResult + { + public: + + + UpdateDataLevelPermissionStatusResult(); + explicit UpdateDataLevelPermissionStatusResult(const std::string &payload); + ~UpdateDataLevelPermissionStatusResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEDATALEVELPERMISSIONSTATUSRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateEmbeddedStatusRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateEmbeddedStatusRequest.h new file mode 100644 index 000000000..0a8eb8ae2 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateEmbeddedStatusRequest.h @@ -0,0 +1,57 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_UPDATEEMBEDDEDSTATUSREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEEMBEDDEDSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT UpdateEmbeddedStatusRequest : public RpcServiceRequest + { + + public: + UpdateEmbeddedStatusRequest(); + ~UpdateEmbeddedStatusRequest(); + + std::string getWorksId()const; + void setWorksId(const std::string& worksId); + bool getThirdPartAuthFlag()const; + void setThirdPartAuthFlag(bool thirdPartAuthFlag); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + + private: + std::string worksId_; + bool thirdPartAuthFlag_; + std::string accessPoint_; + std::string signType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEEMBEDDEDSTATUSREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateEmbeddedStatusResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateEmbeddedStatusResult.h new file mode 100644 index 000000000..09d158b15 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateEmbeddedStatusResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_UPDATEEMBEDDEDSTATUSRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEEMBEDDEDSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT UpdateEmbeddedStatusResult : public ServiceResult + { + public: + + + UpdateEmbeddedStatusResult(); + explicit UpdateEmbeddedStatusResult(const std::string &payload); + ~UpdateEmbeddedStatusResult(); + bool getSuccess()const; + int getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + int result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEEMBEDDEDSTATUSRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateUserGroupRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateUserGroupRequest.h new file mode 100644 index 000000000..1c0fdffa4 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateUserGroupRequest.h @@ -0,0 +1,60 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_UPDATEUSERGROUPREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEUSERGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT UpdateUserGroupRequest : public RpcServiceRequest + { + + public: + UpdateUserGroupRequest(); + ~UpdateUserGroupRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getUserGroupId()const; + void setUserGroupId(const std::string& userGroupId); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserGroupName()const; + void setUserGroupName(const std::string& userGroupName); + std::string getUserGroupDescription()const; + void setUserGroupDescription(const std::string& userGroupDescription); + + private: + std::string accessPoint_; + std::string userGroupId_; + std::string signType_; + std::string userGroupName_; + std::string userGroupDescription_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEUSERGROUPREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateUserGroupResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateUserGroupResult.h new file mode 100644 index 000000000..90d1e46e0 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateUserGroupResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_UPDATEUSERGROUPRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEUSERGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT UpdateUserGroupResult : public ServiceResult + { + public: + + + UpdateUserGroupResult(); + explicit UpdateUserGroupResult(const std::string &payload); + ~UpdateUserGroupResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEUSERGROUPRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateUserRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateUserRequest.h new file mode 100644 index 000000000..c35c54e6d --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateUserRequest.h @@ -0,0 +1,75 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_UPDATEUSERREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEUSERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT UpdateUserRequest : public RpcServiceRequest + { + + public: + UpdateUserRequest(); + ~UpdateUserRequest(); + + bool getAdminUser()const; + void setAdminUser(bool adminUser); + int getAccountType()const; + void setAccountType(int accountType); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + int getUserType()const; + void setUserType(int userType); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserId()const; + void setUserId(const std::string& userId); + std::string getPhone()const; + void setPhone(const std::string& phone); + std::string getNickName()const; + void setNickName(const std::string& nickName); + bool getAuthAdminUser()const; + void setAuthAdminUser(bool authAdminUser); + std::string getEmail()const; + void setEmail(const std::string& email); + + private: + bool adminUser_; + int accountType_; + std::string accessPoint_; + int userType_; + std::string signType_; + std::string userId_; + std::string phone_; + std::string nickName_; + bool authAdminUser_; + std::string email_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEUSERREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateUserResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateUserResult.h new file mode 100644 index 000000000..71bd6f75f --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateUserResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_UPDATEUSERRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEUSERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT UpdateUserResult : public ServiceResult + { + public: + + + UpdateUserResult(); + explicit UpdateUserResult(const std::string &payload); + ~UpdateUserResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEUSERRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateUserTagMetaRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateUserTagMetaRequest.h new file mode 100644 index 000000000..2afedfeb6 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateUserTagMetaRequest.h @@ -0,0 +1,60 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_UPDATEUSERTAGMETAREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEUSERTAGMETAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT UpdateUserTagMetaRequest : public RpcServiceRequest + { + + public: + UpdateUserTagMetaRequest(); + ~UpdateUserTagMetaRequest(); + + std::string getTagDescription()const; + void setTagDescription(const std::string& tagDescription); + std::string getTagName()const; + void setTagName(const std::string& tagName); + std::string getTagId()const; + void setTagId(const std::string& tagId); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + + private: + std::string tagDescription_; + std::string tagName_; + std::string tagId_; + std::string accessPoint_; + std::string signType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEUSERTAGMETAREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateUserTagMetaResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateUserTagMetaResult.h new file mode 100644 index 000000000..f64f7f4e6 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateUserTagMetaResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_UPDATEUSERTAGMETARESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEUSERTAGMETARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT UpdateUserTagMetaResult : public ServiceResult + { + public: + + + UpdateUserTagMetaResult(); + explicit UpdateUserTagMetaResult(const std::string &payload); + ~UpdateUserTagMetaResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEUSERTAGMETARESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateUserTagValueRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateUserTagValueRequest.h new file mode 100644 index 000000000..cda8ca90f --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateUserTagValueRequest.h @@ -0,0 +1,60 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_UPDATEUSERTAGVALUEREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEUSERTAGVALUEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT UpdateUserTagValueRequest : public RpcServiceRequest + { + + public: + UpdateUserTagValueRequest(); + ~UpdateUserTagValueRequest(); + + std::string getTagValue()const; + void setTagValue(const std::string& tagValue); + std::string getTagId()const; + void setTagId(const std::string& tagId); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserId()const; + void setUserId(const std::string& userId); + + private: + std::string tagValue_; + std::string tagId_; + std::string accessPoint_; + std::string signType_; + std::string userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEUSERTAGVALUEREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateUserTagValueResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateUserTagValueResult.h new file mode 100644 index 000000000..efc9814e9 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateUserTagValueResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_UPDATEUSERTAGVALUERESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEUSERTAGVALUERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT UpdateUserTagValueResult : public ServiceResult + { + public: + + + UpdateUserTagValueResult(); + explicit UpdateUserTagValueResult(const std::string &payload); + ~UpdateUserTagValueResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEUSERTAGVALUERESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateWorkspaceUserRoleRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateWorkspaceUserRoleRequest.h new file mode 100644 index 000000000..41a397e42 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateWorkspaceUserRoleRequest.h @@ -0,0 +1,60 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_UPDATEWORKSPACEUSERROLEREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEWORKSPACEUSERROLEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT UpdateWorkspaceUserRoleRequest : public RpcServiceRequest + { + + public: + UpdateWorkspaceUserRoleRequest(); + ~UpdateWorkspaceUserRoleRequest(); + + long getRoleId()const; + void setRoleId(long roleId); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserId()const; + void setUserId(const std::string& userId); + std::string getWorkspaceId()const; + void setWorkspaceId(const std::string& workspaceId); + + private: + long roleId_; + std::string accessPoint_; + std::string signType_; + std::string userId_; + std::string workspaceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEWORKSPACEUSERROLEREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateWorkspaceUserRoleResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateWorkspaceUserRoleResult.h new file mode 100644 index 000000000..1fd8c4d60 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateWorkspaceUserRoleResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_UPDATEWORKSPACEUSERROLERESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEWORKSPACEUSERROLERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT UpdateWorkspaceUserRoleResult : public ServiceResult + { + public: + + + UpdateWorkspaceUserRoleResult(); + explicit UpdateWorkspaceUserRoleResult(const std::string &payload); + ~UpdateWorkspaceUserRoleResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEWORKSPACEUSERROLERESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateWorkspaceUsersRoleRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateWorkspaceUsersRoleRequest.h new file mode 100644 index 000000000..a28504f5d --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateWorkspaceUsersRoleRequest.h @@ -0,0 +1,60 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_UPDATEWORKSPACEUSERSROLEREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEWORKSPACEUSERSROLEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT UpdateWorkspaceUsersRoleRequest : public RpcServiceRequest + { + + public: + UpdateWorkspaceUsersRoleRequest(); + ~UpdateWorkspaceUsersRoleRequest(); + + std::string getUserIds()const; + void setUserIds(const std::string& userIds); + long getRoleId()const; + void setRoleId(long roleId); + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getWorkspaceId()const; + void setWorkspaceId(const std::string& workspaceId); + + private: + std::string userIds_; + long roleId_; + std::string accessPoint_; + std::string signType_; + std::string workspaceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEWORKSPACEUSERSROLEREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateWorkspaceUsersRoleResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateWorkspaceUsersRoleResult.h new file mode 100644 index 000000000..5e86f0c68 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/UpdateWorkspaceUsersRoleResult.h @@ -0,0 +1,60 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_UPDATEWORKSPACEUSERSROLERESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEWORKSPACEUSERSROLERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT UpdateWorkspaceUsersRoleResult : public ServiceResult + { + public: + struct Result + { + std::string failureDetail; + int total; + int success; + int failure; + }; + + + UpdateWorkspaceUsersRoleResult(); + explicit UpdateWorkspaceUsersRoleResult(const std::string &payload); + ~UpdateWorkspaceUsersRoleResult(); + bool getSuccess()const; + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_UPDATEWORKSPACEUSERSROLERESULT_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/WithdrawAllUserGroupsRequest.h b/quickbi-public/include/alibabacloud/quickbi-public/model/WithdrawAllUserGroupsRequest.h new file mode 100644 index 000000000..6785516b3 --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/WithdrawAllUserGroupsRequest.h @@ -0,0 +1,54 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_WITHDRAWALLUSERGROUPSREQUEST_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_WITHDRAWALLUSERGROUPSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT WithdrawAllUserGroupsRequest : public RpcServiceRequest + { + + public: + WithdrawAllUserGroupsRequest(); + ~WithdrawAllUserGroupsRequest(); + + std::string getAccessPoint()const; + void setAccessPoint(const std::string& accessPoint); + std::string getSignType()const; + void setSignType(const std::string& signType); + std::string getUserId()const; + void setUserId(const std::string& userId); + + private: + std::string accessPoint_; + std::string signType_; + std::string userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_WITHDRAWALLUSERGROUPSREQUEST_H_ \ No newline at end of file diff --git a/quickbi-public/include/alibabacloud/quickbi-public/model/WithdrawAllUserGroupsResult.h b/quickbi-public/include/alibabacloud/quickbi-public/model/WithdrawAllUserGroupsResult.h new file mode 100644 index 000000000..7cf16120d --- /dev/null +++ b/quickbi-public/include/alibabacloud/quickbi-public/model/WithdrawAllUserGroupsResult.h @@ -0,0 +1,53 @@ +/* + * 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_QUICKBI_PUBLIC_MODEL_WITHDRAWALLUSERGROUPSRESULT_H_ +#define ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_WITHDRAWALLUSERGROUPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Quickbi_public + { + namespace Model + { + class ALIBABACLOUD_QUICKBI_PUBLIC_EXPORT WithdrawAllUserGroupsResult : public ServiceResult + { + public: + + + WithdrawAllUserGroupsResult(); + explicit WithdrawAllUserGroupsResult(const std::string &payload); + ~WithdrawAllUserGroupsResult(); + bool getSuccess()const; + bool getResult()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + bool result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_QUICKBI_PUBLIC_MODEL_WITHDRAWALLUSERGROUPSRESULT_H_ \ No newline at end of file diff --git a/quickbi-public/src/Quickbi-publicClient.cc b/quickbi-public/src/Quickbi-publicClient.cc new file mode 100644 index 000000000..2c8676287 --- /dev/null +++ b/quickbi-public/src/Quickbi-publicClient.cc @@ -0,0 +1,2609 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud; +using namespace AlibabaCloud::Location; +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +namespace +{ + const std::string SERVICE_NAME = "quickbi-public"; +} + +Quickbi_publicClient::Quickbi_publicClient(const Credentials &credentials, const ClientConfiguration &configuration) : + RpcServiceClient(SERVICE_NAME, std::make_shared(credentials), configuration) +{ + auto locationClient = std::make_shared(credentials, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "quickbi"); +} + +Quickbi_publicClient::Quickbi_publicClient(const std::shared_ptr& credentialsProvider, const ClientConfiguration & configuration) : + RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration) +{ + auto locationClient = std::make_shared(credentialsProvider, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "quickbi"); +} + +Quickbi_publicClient::Quickbi_publicClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) : + RpcServiceClient(SERVICE_NAME, std::make_shared(accessKeyId, accessKeySecret), configuration) +{ + auto locationClient = std::make_shared(accessKeyId, accessKeySecret, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "quickbi"); +} + +Quickbi_publicClient::~Quickbi_publicClient() +{} + +Quickbi_publicClient::AddDataLevelPermissionRuleUsersOutcome Quickbi_publicClient::addDataLevelPermissionRuleUsers(const AddDataLevelPermissionRuleUsersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddDataLevelPermissionRuleUsersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddDataLevelPermissionRuleUsersOutcome(AddDataLevelPermissionRuleUsersResult(outcome.result())); + else + return AddDataLevelPermissionRuleUsersOutcome(outcome.error()); +} + +void Quickbi_publicClient::addDataLevelPermissionRuleUsersAsync(const AddDataLevelPermissionRuleUsersRequest& request, const AddDataLevelPermissionRuleUsersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addDataLevelPermissionRuleUsers(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::AddDataLevelPermissionRuleUsersOutcomeCallable Quickbi_publicClient::addDataLevelPermissionRuleUsersCallable(const AddDataLevelPermissionRuleUsersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addDataLevelPermissionRuleUsers(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::AddDataLevelPermissionWhiteListOutcome Quickbi_publicClient::addDataLevelPermissionWhiteList(const AddDataLevelPermissionWhiteListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddDataLevelPermissionWhiteListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddDataLevelPermissionWhiteListOutcome(AddDataLevelPermissionWhiteListResult(outcome.result())); + else + return AddDataLevelPermissionWhiteListOutcome(outcome.error()); +} + +void Quickbi_publicClient::addDataLevelPermissionWhiteListAsync(const AddDataLevelPermissionWhiteListRequest& request, const AddDataLevelPermissionWhiteListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addDataLevelPermissionWhiteList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::AddDataLevelPermissionWhiteListOutcomeCallable Quickbi_publicClient::addDataLevelPermissionWhiteListCallable(const AddDataLevelPermissionWhiteListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addDataLevelPermissionWhiteList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::AddShareReportOutcome Quickbi_publicClient::addShareReport(const AddShareReportRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddShareReportOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddShareReportOutcome(AddShareReportResult(outcome.result())); + else + return AddShareReportOutcome(outcome.error()); +} + +void Quickbi_publicClient::addShareReportAsync(const AddShareReportRequest& request, const AddShareReportAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addShareReport(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::AddShareReportOutcomeCallable Quickbi_publicClient::addShareReportCallable(const AddShareReportRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addShareReport(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::AddUserOutcome Quickbi_publicClient::addUser(const AddUserRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddUserOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddUserOutcome(AddUserResult(outcome.result())); + else + return AddUserOutcome(outcome.error()); +} + +void Quickbi_publicClient::addUserAsync(const AddUserRequest& request, const AddUserAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addUser(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::AddUserOutcomeCallable Quickbi_publicClient::addUserCallable(const AddUserRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addUser(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::AddUserGroupMemberOutcome Quickbi_publicClient::addUserGroupMember(const AddUserGroupMemberRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddUserGroupMemberOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddUserGroupMemberOutcome(AddUserGroupMemberResult(outcome.result())); + else + return AddUserGroupMemberOutcome(outcome.error()); +} + +void Quickbi_publicClient::addUserGroupMemberAsync(const AddUserGroupMemberRequest& request, const AddUserGroupMemberAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addUserGroupMember(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::AddUserGroupMemberOutcomeCallable Quickbi_publicClient::addUserGroupMemberCallable(const AddUserGroupMemberRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addUserGroupMember(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::AddUserTagMetaOutcome Quickbi_publicClient::addUserTagMeta(const AddUserTagMetaRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddUserTagMetaOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddUserTagMetaOutcome(AddUserTagMetaResult(outcome.result())); + else + return AddUserTagMetaOutcome(outcome.error()); +} + +void Quickbi_publicClient::addUserTagMetaAsync(const AddUserTagMetaRequest& request, const AddUserTagMetaAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addUserTagMeta(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::AddUserTagMetaOutcomeCallable Quickbi_publicClient::addUserTagMetaCallable(const AddUserTagMetaRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addUserTagMeta(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::AddUserToWorkspaceOutcome Quickbi_publicClient::addUserToWorkspace(const AddUserToWorkspaceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddUserToWorkspaceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddUserToWorkspaceOutcome(AddUserToWorkspaceResult(outcome.result())); + else + return AddUserToWorkspaceOutcome(outcome.error()); +} + +void Quickbi_publicClient::addUserToWorkspaceAsync(const AddUserToWorkspaceRequest& request, const AddUserToWorkspaceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addUserToWorkspace(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::AddUserToWorkspaceOutcomeCallable Quickbi_publicClient::addUserToWorkspaceCallable(const AddUserToWorkspaceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addUserToWorkspace(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::AddWorkspaceUsersOutcome Quickbi_publicClient::addWorkspaceUsers(const AddWorkspaceUsersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddWorkspaceUsersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddWorkspaceUsersOutcome(AddWorkspaceUsersResult(outcome.result())); + else + return AddWorkspaceUsersOutcome(outcome.error()); +} + +void Quickbi_publicClient::addWorkspaceUsersAsync(const AddWorkspaceUsersRequest& request, const AddWorkspaceUsersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addWorkspaceUsers(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::AddWorkspaceUsersOutcomeCallable Quickbi_publicClient::addWorkspaceUsersCallable(const AddWorkspaceUsersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addWorkspaceUsers(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::AuthorizeMenuOutcome Quickbi_publicClient::authorizeMenu(const AuthorizeMenuRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AuthorizeMenuOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AuthorizeMenuOutcome(AuthorizeMenuResult(outcome.result())); + else + return AuthorizeMenuOutcome(outcome.error()); +} + +void Quickbi_publicClient::authorizeMenuAsync(const AuthorizeMenuRequest& request, const AuthorizeMenuAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, authorizeMenu(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::AuthorizeMenuOutcomeCallable Quickbi_publicClient::authorizeMenuCallable(const AuthorizeMenuRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->authorizeMenu(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::BuildSignatureUrlOutcome Quickbi_publicClient::buildSignatureUrl(const BuildSignatureUrlRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BuildSignatureUrlOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BuildSignatureUrlOutcome(BuildSignatureUrlResult(outcome.result())); + else + return BuildSignatureUrlOutcome(outcome.error()); +} + +void Quickbi_publicClient::buildSignatureUrlAsync(const BuildSignatureUrlRequest& request, const BuildSignatureUrlAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, buildSignatureUrl(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::BuildSignatureUrlOutcomeCallable Quickbi_publicClient::buildSignatureUrlCallable(const BuildSignatureUrlRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->buildSignatureUrl(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::CancelAuthorizationMenuOutcome Quickbi_publicClient::cancelAuthorizationMenu(const CancelAuthorizationMenuRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CancelAuthorizationMenuOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CancelAuthorizationMenuOutcome(CancelAuthorizationMenuResult(outcome.result())); + else + return CancelAuthorizationMenuOutcome(outcome.error()); +} + +void Quickbi_publicClient::cancelAuthorizationMenuAsync(const CancelAuthorizationMenuRequest& request, const CancelAuthorizationMenuAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, cancelAuthorizationMenu(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::CancelAuthorizationMenuOutcomeCallable Quickbi_publicClient::cancelAuthorizationMenuCallable(const CancelAuthorizationMenuRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->cancelAuthorizationMenu(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::CancelCollectionOutcome Quickbi_publicClient::cancelCollection(const CancelCollectionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CancelCollectionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CancelCollectionOutcome(CancelCollectionResult(outcome.result())); + else + return CancelCollectionOutcome(outcome.error()); +} + +void Quickbi_publicClient::cancelCollectionAsync(const CancelCollectionRequest& request, const CancelCollectionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, cancelCollection(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::CancelCollectionOutcomeCallable Quickbi_publicClient::cancelCollectionCallable(const CancelCollectionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->cancelCollection(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::CancelReportShareOutcome Quickbi_publicClient::cancelReportShare(const CancelReportShareRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CancelReportShareOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CancelReportShareOutcome(CancelReportShareResult(outcome.result())); + else + return CancelReportShareOutcome(outcome.error()); +} + +void Quickbi_publicClient::cancelReportShareAsync(const CancelReportShareRequest& request, const CancelReportShareAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, cancelReportShare(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::CancelReportShareOutcomeCallable Quickbi_publicClient::cancelReportShareCallable(const CancelReportShareRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->cancelReportShare(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::ChangeVisibilityModelOutcome Quickbi_publicClient::changeVisibilityModel(const ChangeVisibilityModelRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ChangeVisibilityModelOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ChangeVisibilityModelOutcome(ChangeVisibilityModelResult(outcome.result())); + else + return ChangeVisibilityModelOutcome(outcome.error()); +} + +void Quickbi_publicClient::changeVisibilityModelAsync(const ChangeVisibilityModelRequest& request, const ChangeVisibilityModelAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, changeVisibilityModel(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::ChangeVisibilityModelOutcomeCallable Quickbi_publicClient::changeVisibilityModelCallable(const ChangeVisibilityModelRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->changeVisibilityModel(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::CheckReadableOutcome Quickbi_publicClient::checkReadable(const CheckReadableRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CheckReadableOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CheckReadableOutcome(CheckReadableResult(outcome.result())); + else + return CheckReadableOutcome(outcome.error()); +} + +void Quickbi_publicClient::checkReadableAsync(const CheckReadableRequest& request, const CheckReadableAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, checkReadable(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::CheckReadableOutcomeCallable Quickbi_publicClient::checkReadableCallable(const CheckReadableRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->checkReadable(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::CreateEmbedTokenOutcome Quickbi_publicClient::createEmbedToken(const CreateEmbedTokenRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateEmbedTokenOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateEmbedTokenOutcome(CreateEmbedTokenResult(outcome.result())); + else + return CreateEmbedTokenOutcome(outcome.error()); +} + +void Quickbi_publicClient::createEmbedTokenAsync(const CreateEmbedTokenRequest& request, const CreateEmbedTokenAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createEmbedToken(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::CreateEmbedTokenOutcomeCallable Quickbi_publicClient::createEmbedTokenCallable(const CreateEmbedTokenRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createEmbedToken(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::CreateUserGroupOutcome Quickbi_publicClient::createUserGroup(const CreateUserGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateUserGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateUserGroupOutcome(CreateUserGroupResult(outcome.result())); + else + return CreateUserGroupOutcome(outcome.error()); +} + +void Quickbi_publicClient::createUserGroupAsync(const CreateUserGroupRequest& request, const CreateUserGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createUserGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::CreateUserGroupOutcomeCallable Quickbi_publicClient::createUserGroupCallable(const CreateUserGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createUserGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::DelayEmbedTokenOutcome Quickbi_publicClient::delayEmbedToken(const DelayEmbedTokenRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DelayEmbedTokenOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DelayEmbedTokenOutcome(DelayEmbedTokenResult(outcome.result())); + else + return DelayEmbedTokenOutcome(outcome.error()); +} + +void Quickbi_publicClient::delayEmbedTokenAsync(const DelayEmbedTokenRequest& request, const DelayEmbedTokenAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, delayEmbedToken(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::DelayEmbedTokenOutcomeCallable Quickbi_publicClient::delayEmbedTokenCallable(const DelayEmbedTokenRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->delayEmbedToken(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::DeleteDataLevelPermissionRuleUsersOutcome Quickbi_publicClient::deleteDataLevelPermissionRuleUsers(const DeleteDataLevelPermissionRuleUsersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDataLevelPermissionRuleUsersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDataLevelPermissionRuleUsersOutcome(DeleteDataLevelPermissionRuleUsersResult(outcome.result())); + else + return DeleteDataLevelPermissionRuleUsersOutcome(outcome.error()); +} + +void Quickbi_publicClient::deleteDataLevelPermissionRuleUsersAsync(const DeleteDataLevelPermissionRuleUsersRequest& request, const DeleteDataLevelPermissionRuleUsersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDataLevelPermissionRuleUsers(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::DeleteDataLevelPermissionRuleUsersOutcomeCallable Quickbi_publicClient::deleteDataLevelPermissionRuleUsersCallable(const DeleteDataLevelPermissionRuleUsersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDataLevelPermissionRuleUsers(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::DeleteDataLevelRuleConfigOutcome Quickbi_publicClient::deleteDataLevelRuleConfig(const DeleteDataLevelRuleConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDataLevelRuleConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDataLevelRuleConfigOutcome(DeleteDataLevelRuleConfigResult(outcome.result())); + else + return DeleteDataLevelRuleConfigOutcome(outcome.error()); +} + +void Quickbi_publicClient::deleteDataLevelRuleConfigAsync(const DeleteDataLevelRuleConfigRequest& request, const DeleteDataLevelRuleConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDataLevelRuleConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::DeleteDataLevelRuleConfigOutcomeCallable Quickbi_publicClient::deleteDataLevelRuleConfigCallable(const DeleteDataLevelRuleConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDataLevelRuleConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::DeleteEmbedTokenOutcome Quickbi_publicClient::deleteEmbedToken(const DeleteEmbedTokenRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteEmbedTokenOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteEmbedTokenOutcome(DeleteEmbedTokenResult(outcome.result())); + else + return DeleteEmbedTokenOutcome(outcome.error()); +} + +void Quickbi_publicClient::deleteEmbedTokenAsync(const DeleteEmbedTokenRequest& request, const DeleteEmbedTokenAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteEmbedToken(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::DeleteEmbedTokenOutcomeCallable Quickbi_publicClient::deleteEmbedTokenCallable(const DeleteEmbedTokenRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteEmbedToken(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::DeleteUserOutcome Quickbi_publicClient::deleteUser(const DeleteUserRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteUserOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteUserOutcome(DeleteUserResult(outcome.result())); + else + return DeleteUserOutcome(outcome.error()); +} + +void Quickbi_publicClient::deleteUserAsync(const DeleteUserRequest& request, const DeleteUserAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteUser(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::DeleteUserOutcomeCallable Quickbi_publicClient::deleteUserCallable(const DeleteUserRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteUser(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::DeleteUserFromWorkspaceOutcome Quickbi_publicClient::deleteUserFromWorkspace(const DeleteUserFromWorkspaceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteUserFromWorkspaceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteUserFromWorkspaceOutcome(DeleteUserFromWorkspaceResult(outcome.result())); + else + return DeleteUserFromWorkspaceOutcome(outcome.error()); +} + +void Quickbi_publicClient::deleteUserFromWorkspaceAsync(const DeleteUserFromWorkspaceRequest& request, const DeleteUserFromWorkspaceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteUserFromWorkspace(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::DeleteUserFromWorkspaceOutcomeCallable Quickbi_publicClient::deleteUserFromWorkspaceCallable(const DeleteUserFromWorkspaceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteUserFromWorkspace(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::DeleteUserGroupOutcome Quickbi_publicClient::deleteUserGroup(const DeleteUserGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteUserGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteUserGroupOutcome(DeleteUserGroupResult(outcome.result())); + else + return DeleteUserGroupOutcome(outcome.error()); +} + +void Quickbi_publicClient::deleteUserGroupAsync(const DeleteUserGroupRequest& request, const DeleteUserGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteUserGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::DeleteUserGroupOutcomeCallable Quickbi_publicClient::deleteUserGroupCallable(const DeleteUserGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteUserGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::DeleteUserGroupMemberOutcome Quickbi_publicClient::deleteUserGroupMember(const DeleteUserGroupMemberRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteUserGroupMemberOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteUserGroupMemberOutcome(DeleteUserGroupMemberResult(outcome.result())); + else + return DeleteUserGroupMemberOutcome(outcome.error()); +} + +void Quickbi_publicClient::deleteUserGroupMemberAsync(const DeleteUserGroupMemberRequest& request, const DeleteUserGroupMemberAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteUserGroupMember(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::DeleteUserGroupMemberOutcomeCallable Quickbi_publicClient::deleteUserGroupMemberCallable(const DeleteUserGroupMemberRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteUserGroupMember(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::DeleteUserGroupMembersOutcome Quickbi_publicClient::deleteUserGroupMembers(const DeleteUserGroupMembersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteUserGroupMembersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteUserGroupMembersOutcome(DeleteUserGroupMembersResult(outcome.result())); + else + return DeleteUserGroupMembersOutcome(outcome.error()); +} + +void Quickbi_publicClient::deleteUserGroupMembersAsync(const DeleteUserGroupMembersRequest& request, const DeleteUserGroupMembersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteUserGroupMembers(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::DeleteUserGroupMembersOutcomeCallable Quickbi_publicClient::deleteUserGroupMembersCallable(const DeleteUserGroupMembersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteUserGroupMembers(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::DeleteUserTagMetaOutcome Quickbi_publicClient::deleteUserTagMeta(const DeleteUserTagMetaRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteUserTagMetaOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteUserTagMetaOutcome(DeleteUserTagMetaResult(outcome.result())); + else + return DeleteUserTagMetaOutcome(outcome.error()); +} + +void Quickbi_publicClient::deleteUserTagMetaAsync(const DeleteUserTagMetaRequest& request, const DeleteUserTagMetaAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteUserTagMeta(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::DeleteUserTagMetaOutcomeCallable Quickbi_publicClient::deleteUserTagMetaCallable(const DeleteUserTagMetaRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteUserTagMeta(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::GetUserGroupInfoOutcome Quickbi_publicClient::getUserGroupInfo(const GetUserGroupInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetUserGroupInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetUserGroupInfoOutcome(GetUserGroupInfoResult(outcome.result())); + else + return GetUserGroupInfoOutcome(outcome.error()); +} + +void Quickbi_publicClient::getUserGroupInfoAsync(const GetUserGroupInfoRequest& request, const GetUserGroupInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getUserGroupInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::GetUserGroupInfoOutcomeCallable Quickbi_publicClient::getUserGroupInfoCallable(const GetUserGroupInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getUserGroupInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::ListByUserGroupIdOutcome Quickbi_publicClient::listByUserGroupId(const ListByUserGroupIdRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListByUserGroupIdOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListByUserGroupIdOutcome(ListByUserGroupIdResult(outcome.result())); + else + return ListByUserGroupIdOutcome(outcome.error()); +} + +void Quickbi_publicClient::listByUserGroupIdAsync(const ListByUserGroupIdRequest& request, const ListByUserGroupIdAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listByUserGroupId(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::ListByUserGroupIdOutcomeCallable Quickbi_publicClient::listByUserGroupIdCallable(const ListByUserGroupIdRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listByUserGroupId(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::ListCollectionsOutcome Quickbi_publicClient::listCollections(const ListCollectionsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListCollectionsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListCollectionsOutcome(ListCollectionsResult(outcome.result())); + else + return ListCollectionsOutcome(outcome.error()); +} + +void Quickbi_publicClient::listCollectionsAsync(const ListCollectionsRequest& request, const ListCollectionsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listCollections(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::ListCollectionsOutcomeCallable Quickbi_publicClient::listCollectionsCallable(const ListCollectionsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listCollections(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::ListCubeDataLevelPermissionConfigOutcome Quickbi_publicClient::listCubeDataLevelPermissionConfig(const ListCubeDataLevelPermissionConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListCubeDataLevelPermissionConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListCubeDataLevelPermissionConfigOutcome(ListCubeDataLevelPermissionConfigResult(outcome.result())); + else + return ListCubeDataLevelPermissionConfigOutcome(outcome.error()); +} + +void Quickbi_publicClient::listCubeDataLevelPermissionConfigAsync(const ListCubeDataLevelPermissionConfigRequest& request, const ListCubeDataLevelPermissionConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listCubeDataLevelPermissionConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::ListCubeDataLevelPermissionConfigOutcomeCallable Quickbi_publicClient::listCubeDataLevelPermissionConfigCallable(const ListCubeDataLevelPermissionConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listCubeDataLevelPermissionConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::ListDataLevelPermissionWhiteListOutcome Quickbi_publicClient::listDataLevelPermissionWhiteList(const ListDataLevelPermissionWhiteListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDataLevelPermissionWhiteListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDataLevelPermissionWhiteListOutcome(ListDataLevelPermissionWhiteListResult(outcome.result())); + else + return ListDataLevelPermissionWhiteListOutcome(outcome.error()); +} + +void Quickbi_publicClient::listDataLevelPermissionWhiteListAsync(const ListDataLevelPermissionWhiteListRequest& request, const ListDataLevelPermissionWhiteListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDataLevelPermissionWhiteList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::ListDataLevelPermissionWhiteListOutcomeCallable Quickbi_publicClient::listDataLevelPermissionWhiteListCallable(const ListDataLevelPermissionWhiteListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDataLevelPermissionWhiteList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::ListPortalMenuAuthorizationOutcome Quickbi_publicClient::listPortalMenuAuthorization(const ListPortalMenuAuthorizationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListPortalMenuAuthorizationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListPortalMenuAuthorizationOutcome(ListPortalMenuAuthorizationResult(outcome.result())); + else + return ListPortalMenuAuthorizationOutcome(outcome.error()); +} + +void Quickbi_publicClient::listPortalMenuAuthorizationAsync(const ListPortalMenuAuthorizationRequest& request, const ListPortalMenuAuthorizationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listPortalMenuAuthorization(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::ListPortalMenuAuthorizationOutcomeCallable Quickbi_publicClient::listPortalMenuAuthorizationCallable(const ListPortalMenuAuthorizationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listPortalMenuAuthorization(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::ListPortalMenusOutcome Quickbi_publicClient::listPortalMenus(const ListPortalMenusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListPortalMenusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListPortalMenusOutcome(ListPortalMenusResult(outcome.result())); + else + return ListPortalMenusOutcome(outcome.error()); +} + +void Quickbi_publicClient::listPortalMenusAsync(const ListPortalMenusRequest& request, const ListPortalMenusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listPortalMenus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::ListPortalMenusOutcomeCallable Quickbi_publicClient::listPortalMenusCallable(const ListPortalMenusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listPortalMenus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::ListUserGroupsByUserIdOutcome Quickbi_publicClient::listUserGroupsByUserId(const ListUserGroupsByUserIdRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListUserGroupsByUserIdOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListUserGroupsByUserIdOutcome(ListUserGroupsByUserIdResult(outcome.result())); + else + return ListUserGroupsByUserIdOutcome(outcome.error()); +} + +void Quickbi_publicClient::listUserGroupsByUserIdAsync(const ListUserGroupsByUserIdRequest& request, const ListUserGroupsByUserIdAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listUserGroupsByUserId(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::ListUserGroupsByUserIdOutcomeCallable Quickbi_publicClient::listUserGroupsByUserIdCallable(const ListUserGroupsByUserIdRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listUserGroupsByUserId(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::QueryDataServiceOutcome Quickbi_publicClient::queryDataService(const QueryDataServiceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryDataServiceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryDataServiceOutcome(QueryDataServiceResult(outcome.result())); + else + return QueryDataServiceOutcome(outcome.error()); +} + +void Quickbi_publicClient::queryDataServiceAsync(const QueryDataServiceRequest& request, const QueryDataServiceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryDataService(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::QueryDataServiceOutcomeCallable Quickbi_publicClient::queryDataServiceCallable(const QueryDataServiceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryDataService(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::QueryDatasetDetailInfoOutcome Quickbi_publicClient::queryDatasetDetailInfo(const QueryDatasetDetailInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryDatasetDetailInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryDatasetDetailInfoOutcome(QueryDatasetDetailInfoResult(outcome.result())); + else + return QueryDatasetDetailInfoOutcome(outcome.error()); +} + +void Quickbi_publicClient::queryDatasetDetailInfoAsync(const QueryDatasetDetailInfoRequest& request, const QueryDatasetDetailInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryDatasetDetailInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::QueryDatasetDetailInfoOutcomeCallable Quickbi_publicClient::queryDatasetDetailInfoCallable(const QueryDatasetDetailInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryDatasetDetailInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::QueryDatasetInfoOutcome Quickbi_publicClient::queryDatasetInfo(const QueryDatasetInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryDatasetInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryDatasetInfoOutcome(QueryDatasetInfoResult(outcome.result())); + else + return QueryDatasetInfoOutcome(outcome.error()); +} + +void Quickbi_publicClient::queryDatasetInfoAsync(const QueryDatasetInfoRequest& request, const QueryDatasetInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryDatasetInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::QueryDatasetInfoOutcomeCallable Quickbi_publicClient::queryDatasetInfoCallable(const QueryDatasetInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryDatasetInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::QueryDatasetListOutcome Quickbi_publicClient::queryDatasetList(const QueryDatasetListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryDatasetListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryDatasetListOutcome(QueryDatasetListResult(outcome.result())); + else + return QueryDatasetListOutcome(outcome.error()); +} + +void Quickbi_publicClient::queryDatasetListAsync(const QueryDatasetListRequest& request, const QueryDatasetListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryDatasetList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::QueryDatasetListOutcomeCallable Quickbi_publicClient::queryDatasetListCallable(const QueryDatasetListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryDatasetList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::QueryDatasetSwitchInfoOutcome Quickbi_publicClient::queryDatasetSwitchInfo(const QueryDatasetSwitchInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryDatasetSwitchInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryDatasetSwitchInfoOutcome(QueryDatasetSwitchInfoResult(outcome.result())); + else + return QueryDatasetSwitchInfoOutcome(outcome.error()); +} + +void Quickbi_publicClient::queryDatasetSwitchInfoAsync(const QueryDatasetSwitchInfoRequest& request, const QueryDatasetSwitchInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryDatasetSwitchInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::QueryDatasetSwitchInfoOutcomeCallable Quickbi_publicClient::queryDatasetSwitchInfoCallable(const QueryDatasetSwitchInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryDatasetSwitchInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::QueryEmbedTokenInfoOutcome Quickbi_publicClient::queryEmbedTokenInfo(const QueryEmbedTokenInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryEmbedTokenInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryEmbedTokenInfoOutcome(QueryEmbedTokenInfoResult(outcome.result())); + else + return QueryEmbedTokenInfoOutcome(outcome.error()); +} + +void Quickbi_publicClient::queryEmbedTokenInfoAsync(const QueryEmbedTokenInfoRequest& request, const QueryEmbedTokenInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryEmbedTokenInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::QueryEmbedTokenInfoOutcomeCallable Quickbi_publicClient::queryEmbedTokenInfoCallable(const QueryEmbedTokenInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryEmbedTokenInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::QueryEmbeddedInfoOutcome Quickbi_publicClient::queryEmbeddedInfo(const QueryEmbeddedInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryEmbeddedInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryEmbeddedInfoOutcome(QueryEmbeddedInfoResult(outcome.result())); + else + return QueryEmbeddedInfoOutcome(outcome.error()); +} + +void Quickbi_publicClient::queryEmbeddedInfoAsync(const QueryEmbeddedInfoRequest& request, const QueryEmbeddedInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryEmbeddedInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::QueryEmbeddedInfoOutcomeCallable Quickbi_publicClient::queryEmbeddedInfoCallable(const QueryEmbeddedInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryEmbeddedInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::QueryEmbeddedStausOutcome Quickbi_publicClient::queryEmbeddedStaus(const QueryEmbeddedStausRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryEmbeddedStausOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryEmbeddedStausOutcome(QueryEmbeddedStausResult(outcome.result())); + else + return QueryEmbeddedStausOutcome(outcome.error()); +} + +void Quickbi_publicClient::queryEmbeddedStausAsync(const QueryEmbeddedStausRequest& request, const QueryEmbeddedStausAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryEmbeddedStaus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::QueryEmbeddedStausOutcomeCallable Quickbi_publicClient::queryEmbeddedStausCallable(const QueryEmbeddedStausRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryEmbeddedStaus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::QueryOrganizationWorkspaceListOutcome Quickbi_publicClient::queryOrganizationWorkspaceList(const QueryOrganizationWorkspaceListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryOrganizationWorkspaceListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryOrganizationWorkspaceListOutcome(QueryOrganizationWorkspaceListResult(outcome.result())); + else + return QueryOrganizationWorkspaceListOutcome(outcome.error()); +} + +void Quickbi_publicClient::queryOrganizationWorkspaceListAsync(const QueryOrganizationWorkspaceListRequest& request, const QueryOrganizationWorkspaceListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryOrganizationWorkspaceList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::QueryOrganizationWorkspaceListOutcomeCallable Quickbi_publicClient::queryOrganizationWorkspaceListCallable(const QueryOrganizationWorkspaceListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryOrganizationWorkspaceList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::QueryReadableResourcesListByUserIdOutcome Quickbi_publicClient::queryReadableResourcesListByUserId(const QueryReadableResourcesListByUserIdRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryReadableResourcesListByUserIdOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryReadableResourcesListByUserIdOutcome(QueryReadableResourcesListByUserIdResult(outcome.result())); + else + return QueryReadableResourcesListByUserIdOutcome(outcome.error()); +} + +void Quickbi_publicClient::queryReadableResourcesListByUserIdAsync(const QueryReadableResourcesListByUserIdRequest& request, const QueryReadableResourcesListByUserIdAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryReadableResourcesListByUserId(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::QueryReadableResourcesListByUserIdOutcomeCallable Quickbi_publicClient::queryReadableResourcesListByUserIdCallable(const QueryReadableResourcesListByUserIdRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryReadableResourcesListByUserId(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::QueryShareListOutcome Quickbi_publicClient::queryShareList(const QueryShareListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryShareListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryShareListOutcome(QueryShareListResult(outcome.result())); + else + return QueryShareListOutcome(outcome.error()); +} + +void Quickbi_publicClient::queryShareListAsync(const QueryShareListRequest& request, const QueryShareListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryShareList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::QueryShareListOutcomeCallable Quickbi_publicClient::queryShareListCallable(const QueryShareListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryShareList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::QuerySharesToUserListOutcome Quickbi_publicClient::querySharesToUserList(const QuerySharesToUserListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QuerySharesToUserListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QuerySharesToUserListOutcome(QuerySharesToUserListResult(outcome.result())); + else + return QuerySharesToUserListOutcome(outcome.error()); +} + +void Quickbi_publicClient::querySharesToUserListAsync(const QuerySharesToUserListRequest& request, const QuerySharesToUserListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, querySharesToUserList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::QuerySharesToUserListOutcomeCallable Quickbi_publicClient::querySharesToUserListCallable(const QuerySharesToUserListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->querySharesToUserList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::QueryUserGroupListByParentIdOutcome Quickbi_publicClient::queryUserGroupListByParentId(const QueryUserGroupListByParentIdRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryUserGroupListByParentIdOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryUserGroupListByParentIdOutcome(QueryUserGroupListByParentIdResult(outcome.result())); + else + return QueryUserGroupListByParentIdOutcome(outcome.error()); +} + +void Quickbi_publicClient::queryUserGroupListByParentIdAsync(const QueryUserGroupListByParentIdRequest& request, const QueryUserGroupListByParentIdAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryUserGroupListByParentId(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::QueryUserGroupListByParentIdOutcomeCallable Quickbi_publicClient::queryUserGroupListByParentIdCallable(const QueryUserGroupListByParentIdRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryUserGroupListByParentId(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::QueryUserGroupMemberOutcome Quickbi_publicClient::queryUserGroupMember(const QueryUserGroupMemberRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryUserGroupMemberOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryUserGroupMemberOutcome(QueryUserGroupMemberResult(outcome.result())); + else + return QueryUserGroupMemberOutcome(outcome.error()); +} + +void Quickbi_publicClient::queryUserGroupMemberAsync(const QueryUserGroupMemberRequest& request, const QueryUserGroupMemberAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryUserGroupMember(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::QueryUserGroupMemberOutcomeCallable Quickbi_publicClient::queryUserGroupMemberCallable(const QueryUserGroupMemberRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryUserGroupMember(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::QueryUserInfoByAccountOutcome Quickbi_publicClient::queryUserInfoByAccount(const QueryUserInfoByAccountRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryUserInfoByAccountOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryUserInfoByAccountOutcome(QueryUserInfoByAccountResult(outcome.result())); + else + return QueryUserInfoByAccountOutcome(outcome.error()); +} + +void Quickbi_publicClient::queryUserInfoByAccountAsync(const QueryUserInfoByAccountRequest& request, const QueryUserInfoByAccountAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryUserInfoByAccount(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::QueryUserInfoByAccountOutcomeCallable Quickbi_publicClient::queryUserInfoByAccountCallable(const QueryUserInfoByAccountRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryUserInfoByAccount(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::QueryUserInfoByUserIdOutcome Quickbi_publicClient::queryUserInfoByUserId(const QueryUserInfoByUserIdRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryUserInfoByUserIdOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryUserInfoByUserIdOutcome(QueryUserInfoByUserIdResult(outcome.result())); + else + return QueryUserInfoByUserIdOutcome(outcome.error()); +} + +void Quickbi_publicClient::queryUserInfoByUserIdAsync(const QueryUserInfoByUserIdRequest& request, const QueryUserInfoByUserIdAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryUserInfoByUserId(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::QueryUserInfoByUserIdOutcomeCallable Quickbi_publicClient::queryUserInfoByUserIdCallable(const QueryUserInfoByUserIdRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryUserInfoByUserId(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::QueryUserListOutcome Quickbi_publicClient::queryUserList(const QueryUserListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryUserListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryUserListOutcome(QueryUserListResult(outcome.result())); + else + return QueryUserListOutcome(outcome.error()); +} + +void Quickbi_publicClient::queryUserListAsync(const QueryUserListRequest& request, const QueryUserListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryUserList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::QueryUserListOutcomeCallable Quickbi_publicClient::queryUserListCallable(const QueryUserListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryUserList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::QueryUserRoleInfoInWorkspaceOutcome Quickbi_publicClient::queryUserRoleInfoInWorkspace(const QueryUserRoleInfoInWorkspaceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryUserRoleInfoInWorkspaceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryUserRoleInfoInWorkspaceOutcome(QueryUserRoleInfoInWorkspaceResult(outcome.result())); + else + return QueryUserRoleInfoInWorkspaceOutcome(outcome.error()); +} + +void Quickbi_publicClient::queryUserRoleInfoInWorkspaceAsync(const QueryUserRoleInfoInWorkspaceRequest& request, const QueryUserRoleInfoInWorkspaceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryUserRoleInfoInWorkspace(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::QueryUserRoleInfoInWorkspaceOutcomeCallable Quickbi_publicClient::queryUserRoleInfoInWorkspaceCallable(const QueryUserRoleInfoInWorkspaceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryUserRoleInfoInWorkspace(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::QueryUserTagMetaListOutcome Quickbi_publicClient::queryUserTagMetaList(const QueryUserTagMetaListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryUserTagMetaListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryUserTagMetaListOutcome(QueryUserTagMetaListResult(outcome.result())); + else + return QueryUserTagMetaListOutcome(outcome.error()); +} + +void Quickbi_publicClient::queryUserTagMetaListAsync(const QueryUserTagMetaListRequest& request, const QueryUserTagMetaListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryUserTagMetaList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::QueryUserTagMetaListOutcomeCallable Quickbi_publicClient::queryUserTagMetaListCallable(const QueryUserTagMetaListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryUserTagMetaList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::QueryUserTagValueListOutcome Quickbi_publicClient::queryUserTagValueList(const QueryUserTagValueListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryUserTagValueListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryUserTagValueListOutcome(QueryUserTagValueListResult(outcome.result())); + else + return QueryUserTagValueListOutcome(outcome.error()); +} + +void Quickbi_publicClient::queryUserTagValueListAsync(const QueryUserTagValueListRequest& request, const QueryUserTagValueListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryUserTagValueList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::QueryUserTagValueListOutcomeCallable Quickbi_publicClient::queryUserTagValueListCallable(const QueryUserTagValueListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryUserTagValueList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::QueryWorksByOrganizationOutcome Quickbi_publicClient::queryWorksByOrganization(const QueryWorksByOrganizationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryWorksByOrganizationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryWorksByOrganizationOutcome(QueryWorksByOrganizationResult(outcome.result())); + else + return QueryWorksByOrganizationOutcome(outcome.error()); +} + +void Quickbi_publicClient::queryWorksByOrganizationAsync(const QueryWorksByOrganizationRequest& request, const QueryWorksByOrganizationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryWorksByOrganization(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::QueryWorksByOrganizationOutcomeCallable Quickbi_publicClient::queryWorksByOrganizationCallable(const QueryWorksByOrganizationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryWorksByOrganization(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::QueryWorksByWorkspaceOutcome Quickbi_publicClient::queryWorksByWorkspace(const QueryWorksByWorkspaceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryWorksByWorkspaceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryWorksByWorkspaceOutcome(QueryWorksByWorkspaceResult(outcome.result())); + else + return QueryWorksByWorkspaceOutcome(outcome.error()); +} + +void Quickbi_publicClient::queryWorksByWorkspaceAsync(const QueryWorksByWorkspaceRequest& request, const QueryWorksByWorkspaceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryWorksByWorkspace(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::QueryWorksByWorkspaceOutcomeCallable Quickbi_publicClient::queryWorksByWorkspaceCallable(const QueryWorksByWorkspaceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryWorksByWorkspace(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::QueryWorkspaceUserListOutcome Quickbi_publicClient::queryWorkspaceUserList(const QueryWorkspaceUserListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryWorkspaceUserListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryWorkspaceUserListOutcome(QueryWorkspaceUserListResult(outcome.result())); + else + return QueryWorkspaceUserListOutcome(outcome.error()); +} + +void Quickbi_publicClient::queryWorkspaceUserListAsync(const QueryWorkspaceUserListRequest& request, const QueryWorkspaceUserListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryWorkspaceUserList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::QueryWorkspaceUserListOutcomeCallable Quickbi_publicClient::queryWorkspaceUserListCallable(const QueryWorkspaceUserListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryWorkspaceUserList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::SaveFavoritesOutcome Quickbi_publicClient::saveFavorites(const SaveFavoritesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SaveFavoritesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SaveFavoritesOutcome(SaveFavoritesResult(outcome.result())); + else + return SaveFavoritesOutcome(outcome.error()); +} + +void Quickbi_publicClient::saveFavoritesAsync(const SaveFavoritesRequest& request, const SaveFavoritesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, saveFavorites(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::SaveFavoritesOutcomeCallable Quickbi_publicClient::saveFavoritesCallable(const SaveFavoritesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->saveFavorites(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::SetDataLevelPermissionExtraConfigOutcome Quickbi_publicClient::setDataLevelPermissionExtraConfig(const SetDataLevelPermissionExtraConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetDataLevelPermissionExtraConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetDataLevelPermissionExtraConfigOutcome(SetDataLevelPermissionExtraConfigResult(outcome.result())); + else + return SetDataLevelPermissionExtraConfigOutcome(outcome.error()); +} + +void Quickbi_publicClient::setDataLevelPermissionExtraConfigAsync(const SetDataLevelPermissionExtraConfigRequest& request, const SetDataLevelPermissionExtraConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setDataLevelPermissionExtraConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::SetDataLevelPermissionExtraConfigOutcomeCallable Quickbi_publicClient::setDataLevelPermissionExtraConfigCallable(const SetDataLevelPermissionExtraConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setDataLevelPermissionExtraConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::SetDataLevelPermissionRuleConfigOutcome Quickbi_publicClient::setDataLevelPermissionRuleConfig(const SetDataLevelPermissionRuleConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetDataLevelPermissionRuleConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetDataLevelPermissionRuleConfigOutcome(SetDataLevelPermissionRuleConfigResult(outcome.result())); + else + return SetDataLevelPermissionRuleConfigOutcome(outcome.error()); +} + +void Quickbi_publicClient::setDataLevelPermissionRuleConfigAsync(const SetDataLevelPermissionRuleConfigRequest& request, const SetDataLevelPermissionRuleConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setDataLevelPermissionRuleConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::SetDataLevelPermissionRuleConfigOutcomeCallable Quickbi_publicClient::setDataLevelPermissionRuleConfigCallable(const SetDataLevelPermissionRuleConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setDataLevelPermissionRuleConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::SetDataLevelPermissionWhiteListOutcome Quickbi_publicClient::setDataLevelPermissionWhiteList(const SetDataLevelPermissionWhiteListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetDataLevelPermissionWhiteListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetDataLevelPermissionWhiteListOutcome(SetDataLevelPermissionWhiteListResult(outcome.result())); + else + return SetDataLevelPermissionWhiteListOutcome(outcome.error()); +} + +void Quickbi_publicClient::setDataLevelPermissionWhiteListAsync(const SetDataLevelPermissionWhiteListRequest& request, const SetDataLevelPermissionWhiteListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setDataLevelPermissionWhiteList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::SetDataLevelPermissionWhiteListOutcomeCallable Quickbi_publicClient::setDataLevelPermissionWhiteListCallable(const SetDataLevelPermissionWhiteListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setDataLevelPermissionWhiteList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::UpdateDataLevelPermissionStatusOutcome Quickbi_publicClient::updateDataLevelPermissionStatus(const UpdateDataLevelPermissionStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateDataLevelPermissionStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateDataLevelPermissionStatusOutcome(UpdateDataLevelPermissionStatusResult(outcome.result())); + else + return UpdateDataLevelPermissionStatusOutcome(outcome.error()); +} + +void Quickbi_publicClient::updateDataLevelPermissionStatusAsync(const UpdateDataLevelPermissionStatusRequest& request, const UpdateDataLevelPermissionStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateDataLevelPermissionStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::UpdateDataLevelPermissionStatusOutcomeCallable Quickbi_publicClient::updateDataLevelPermissionStatusCallable(const UpdateDataLevelPermissionStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateDataLevelPermissionStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::UpdateEmbeddedStatusOutcome Quickbi_publicClient::updateEmbeddedStatus(const UpdateEmbeddedStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateEmbeddedStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateEmbeddedStatusOutcome(UpdateEmbeddedStatusResult(outcome.result())); + else + return UpdateEmbeddedStatusOutcome(outcome.error()); +} + +void Quickbi_publicClient::updateEmbeddedStatusAsync(const UpdateEmbeddedStatusRequest& request, const UpdateEmbeddedStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateEmbeddedStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::UpdateEmbeddedStatusOutcomeCallable Quickbi_publicClient::updateEmbeddedStatusCallable(const UpdateEmbeddedStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateEmbeddedStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::UpdateUserOutcome Quickbi_publicClient::updateUser(const UpdateUserRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateUserOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateUserOutcome(UpdateUserResult(outcome.result())); + else + return UpdateUserOutcome(outcome.error()); +} + +void Quickbi_publicClient::updateUserAsync(const UpdateUserRequest& request, const UpdateUserAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateUser(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::UpdateUserOutcomeCallable Quickbi_publicClient::updateUserCallable(const UpdateUserRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateUser(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::UpdateUserGroupOutcome Quickbi_publicClient::updateUserGroup(const UpdateUserGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateUserGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateUserGroupOutcome(UpdateUserGroupResult(outcome.result())); + else + return UpdateUserGroupOutcome(outcome.error()); +} + +void Quickbi_publicClient::updateUserGroupAsync(const UpdateUserGroupRequest& request, const UpdateUserGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateUserGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::UpdateUserGroupOutcomeCallable Quickbi_publicClient::updateUserGroupCallable(const UpdateUserGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateUserGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::UpdateUserTagMetaOutcome Quickbi_publicClient::updateUserTagMeta(const UpdateUserTagMetaRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateUserTagMetaOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateUserTagMetaOutcome(UpdateUserTagMetaResult(outcome.result())); + else + return UpdateUserTagMetaOutcome(outcome.error()); +} + +void Quickbi_publicClient::updateUserTagMetaAsync(const UpdateUserTagMetaRequest& request, const UpdateUserTagMetaAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateUserTagMeta(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::UpdateUserTagMetaOutcomeCallable Quickbi_publicClient::updateUserTagMetaCallable(const UpdateUserTagMetaRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateUserTagMeta(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::UpdateUserTagValueOutcome Quickbi_publicClient::updateUserTagValue(const UpdateUserTagValueRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateUserTagValueOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateUserTagValueOutcome(UpdateUserTagValueResult(outcome.result())); + else + return UpdateUserTagValueOutcome(outcome.error()); +} + +void Quickbi_publicClient::updateUserTagValueAsync(const UpdateUserTagValueRequest& request, const UpdateUserTagValueAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateUserTagValue(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::UpdateUserTagValueOutcomeCallable Quickbi_publicClient::updateUserTagValueCallable(const UpdateUserTagValueRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateUserTagValue(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::UpdateWorkspaceUserRoleOutcome Quickbi_publicClient::updateWorkspaceUserRole(const UpdateWorkspaceUserRoleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateWorkspaceUserRoleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateWorkspaceUserRoleOutcome(UpdateWorkspaceUserRoleResult(outcome.result())); + else + return UpdateWorkspaceUserRoleOutcome(outcome.error()); +} + +void Quickbi_publicClient::updateWorkspaceUserRoleAsync(const UpdateWorkspaceUserRoleRequest& request, const UpdateWorkspaceUserRoleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateWorkspaceUserRole(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::UpdateWorkspaceUserRoleOutcomeCallable Quickbi_publicClient::updateWorkspaceUserRoleCallable(const UpdateWorkspaceUserRoleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateWorkspaceUserRole(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::UpdateWorkspaceUsersRoleOutcome Quickbi_publicClient::updateWorkspaceUsersRole(const UpdateWorkspaceUsersRoleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateWorkspaceUsersRoleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateWorkspaceUsersRoleOutcome(UpdateWorkspaceUsersRoleResult(outcome.result())); + else + return UpdateWorkspaceUsersRoleOutcome(outcome.error()); +} + +void Quickbi_publicClient::updateWorkspaceUsersRoleAsync(const UpdateWorkspaceUsersRoleRequest& request, const UpdateWorkspaceUsersRoleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateWorkspaceUsersRole(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::UpdateWorkspaceUsersRoleOutcomeCallable Quickbi_publicClient::updateWorkspaceUsersRoleCallable(const UpdateWorkspaceUsersRoleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateWorkspaceUsersRole(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Quickbi_publicClient::WithdrawAllUserGroupsOutcome Quickbi_publicClient::withdrawAllUserGroups(const WithdrawAllUserGroupsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return WithdrawAllUserGroupsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return WithdrawAllUserGroupsOutcome(WithdrawAllUserGroupsResult(outcome.result())); + else + return WithdrawAllUserGroupsOutcome(outcome.error()); +} + +void Quickbi_publicClient::withdrawAllUserGroupsAsync(const WithdrawAllUserGroupsRequest& request, const WithdrawAllUserGroupsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, withdrawAllUserGroups(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Quickbi_publicClient::WithdrawAllUserGroupsOutcomeCallable Quickbi_publicClient::withdrawAllUserGroupsCallable(const WithdrawAllUserGroupsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->withdrawAllUserGroups(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + diff --git a/quickbi-public/src/model/AddDataLevelPermissionRuleUsersRequest.cc b/quickbi-public/src/model/AddDataLevelPermissionRuleUsersRequest.cc new file mode 100644 index 000000000..c7f0a76d4 --- /dev/null +++ b/quickbi-public/src/model/AddDataLevelPermissionRuleUsersRequest.cc @@ -0,0 +1,73 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::AddDataLevelPermissionRuleUsersRequest; + +AddDataLevelPermissionRuleUsersRequest::AddDataLevelPermissionRuleUsersRequest() : + RpcServiceRequest("quickbi-public", "2020-11-11", "AddDataLevelPermissionRuleUsers") +{ + setMethod(HttpRequest::Method::Post); +} + +AddDataLevelPermissionRuleUsersRequest::~AddDataLevelPermissionRuleUsersRequest() +{} + +std::string AddDataLevelPermissionRuleUsersRequest::getClientToken()const +{ + return clientToken_; +} + +void AddDataLevelPermissionRuleUsersRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); +} + +std::string AddDataLevelPermissionRuleUsersRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void AddDataLevelPermissionRuleUsersRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string AddDataLevelPermissionRuleUsersRequest::getAddUserModel()const +{ + return addUserModel_; +} + +void AddDataLevelPermissionRuleUsersRequest::setAddUserModel(const std::string& addUserModel) +{ + addUserModel_ = addUserModel; + setParameter("AddUserModel", addUserModel); +} + +std::string AddDataLevelPermissionRuleUsersRequest::getSignType()const +{ + return signType_; +} + +void AddDataLevelPermissionRuleUsersRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + diff --git a/quickbi-public/src/model/AddDataLevelPermissionRuleUsersResult.cc b/quickbi-public/src/model/AddDataLevelPermissionRuleUsersResult.cc new file mode 100644 index 000000000..ee4dc8dec --- /dev/null +++ b/quickbi-public/src/model/AddDataLevelPermissionRuleUsersResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +AddDataLevelPermissionRuleUsersResult::AddDataLevelPermissionRuleUsersResult() : + ServiceResult() +{} + +AddDataLevelPermissionRuleUsersResult::AddDataLevelPermissionRuleUsersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddDataLevelPermissionRuleUsersResult::~AddDataLevelPermissionRuleUsersResult() +{} + +void AddDataLevelPermissionRuleUsersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool AddDataLevelPermissionRuleUsersResult::getSuccess()const +{ + return success_; +} + +bool AddDataLevelPermissionRuleUsersResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/AddDataLevelPermissionWhiteListRequest.cc b/quickbi-public/src/model/AddDataLevelPermissionWhiteListRequest.cc new file mode 100644 index 000000000..459d64f97 --- /dev/null +++ b/quickbi-public/src/model/AddDataLevelPermissionWhiteListRequest.cc @@ -0,0 +1,117 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::AddDataLevelPermissionWhiteListRequest; + +AddDataLevelPermissionWhiteListRequest::AddDataLevelPermissionWhiteListRequest() : + RpcServiceRequest("quickbi-public", "2020-11-11", "AddDataLevelPermissionWhiteList") +{ + setMethod(HttpRequest::Method::Post); +} + +AddDataLevelPermissionWhiteListRequest::~AddDataLevelPermissionWhiteListRequest() +{} + +std::string AddDataLevelPermissionWhiteListRequest::getTargetType()const +{ + return targetType_; +} + +void AddDataLevelPermissionWhiteListRequest::setTargetType(const std::string& targetType) +{ + targetType_ = targetType; + setParameter("TargetType", targetType); +} + +std::string AddDataLevelPermissionWhiteListRequest::getTargetIds()const +{ + return targetIds_; +} + +void AddDataLevelPermissionWhiteListRequest::setTargetIds(const std::string& targetIds) +{ + targetIds_ = targetIds; + setParameter("TargetIds", targetIds); +} + +std::string AddDataLevelPermissionWhiteListRequest::getClientToken()const +{ + return clientToken_; +} + +void AddDataLevelPermissionWhiteListRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); +} + +std::string AddDataLevelPermissionWhiteListRequest::getRuleType()const +{ + return ruleType_; +} + +void AddDataLevelPermissionWhiteListRequest::setRuleType(const std::string& ruleType) +{ + ruleType_ = ruleType; + setParameter("RuleType", ruleType); +} + +std::string AddDataLevelPermissionWhiteListRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void AddDataLevelPermissionWhiteListRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string AddDataLevelPermissionWhiteListRequest::getSignType()const +{ + return signType_; +} + +void AddDataLevelPermissionWhiteListRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string AddDataLevelPermissionWhiteListRequest::getOperateType()const +{ + return operateType_; +} + +void AddDataLevelPermissionWhiteListRequest::setOperateType(const std::string& operateType) +{ + operateType_ = operateType; + setParameter("OperateType", operateType); +} + +std::string AddDataLevelPermissionWhiteListRequest::getCubeId()const +{ + return cubeId_; +} + +void AddDataLevelPermissionWhiteListRequest::setCubeId(const std::string& cubeId) +{ + cubeId_ = cubeId; + setParameter("CubeId", cubeId); +} + diff --git a/quickbi-public/src/model/AddDataLevelPermissionWhiteListResult.cc b/quickbi-public/src/model/AddDataLevelPermissionWhiteListResult.cc new file mode 100644 index 000000000..70a73ac12 --- /dev/null +++ b/quickbi-public/src/model/AddDataLevelPermissionWhiteListResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +AddDataLevelPermissionWhiteListResult::AddDataLevelPermissionWhiteListResult() : + ServiceResult() +{} + +AddDataLevelPermissionWhiteListResult::AddDataLevelPermissionWhiteListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddDataLevelPermissionWhiteListResult::~AddDataLevelPermissionWhiteListResult() +{} + +void AddDataLevelPermissionWhiteListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool AddDataLevelPermissionWhiteListResult::getSuccess()const +{ + return success_; +} + +bool AddDataLevelPermissionWhiteListResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/AddShareReportRequest.cc b/quickbi-public/src/model/AddShareReportRequest.cc new file mode 100644 index 000000000..970de3717 --- /dev/null +++ b/quickbi-public/src/model/AddShareReportRequest.cc @@ -0,0 +1,117 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::AddShareReportRequest; + +AddShareReportRequest::AddShareReportRequest() : + RpcServiceRequest("quickbi-public", "2020-08-04", "AddShareReport") +{ + setMethod(HttpRequest::Method::Post); +} + +AddShareReportRequest::~AddShareReportRequest() +{} + +int AddShareReportRequest::getShareToType()const +{ + return shareToType_; +} + +void AddShareReportRequest::setShareToType(int shareToType) +{ + shareToType_ = shareToType; + setParameter("ShareToType", std::to_string(shareToType)); +} + +std::string AddShareReportRequest::getWorksId()const +{ + return worksId_; +} + +void AddShareReportRequest::setWorksId(const std::string& worksId) +{ + worksId_ = worksId; + setParameter("WorksId", worksId); +} + +std::string AddShareReportRequest::getClientToken()const +{ + return clientToken_; +} + +void AddShareReportRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); +} + +std::string AddShareReportRequest::getShareToId()const +{ + return shareToId_; +} + +void AddShareReportRequest::setShareToId(const std::string& shareToId) +{ + shareToId_ = shareToId; + setParameter("ShareToId", shareToId); +} + +std::string AddShareReportRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void AddShareReportRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +int AddShareReportRequest::getAuthPoint()const +{ + return authPoint_; +} + +void AddShareReportRequest::setAuthPoint(int authPoint) +{ + authPoint_ = authPoint; + setParameter("AuthPoint", std::to_string(authPoint)); +} + +std::string AddShareReportRequest::getSignType()const +{ + return signType_; +} + +void AddShareReportRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +long AddShareReportRequest::getExpireDate()const +{ + return expireDate_; +} + +void AddShareReportRequest::setExpireDate(long expireDate) +{ + expireDate_ = expireDate; + setParameter("ExpireDate", std::to_string(expireDate)); +} + diff --git a/quickbi-public/src/model/AddShareReportResult.cc b/quickbi-public/src/model/AddShareReportResult.cc new file mode 100644 index 000000000..efffd4d4a --- /dev/null +++ b/quickbi-public/src/model/AddShareReportResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +AddShareReportResult::AddShareReportResult() : + ServiceResult() +{} + +AddShareReportResult::AddShareReportResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddShareReportResult::~AddShareReportResult() +{} + +void AddShareReportResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + +} + +bool AddShareReportResult::getSuccess()const +{ + return success_; +} + +bool AddShareReportResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/AddUserGroupMemberRequest.cc b/quickbi-public/src/model/AddUserGroupMemberRequest.cc new file mode 100644 index 000000000..510cdc7f3 --- /dev/null +++ b/quickbi-public/src/model/AddUserGroupMemberRequest.cc @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::AddUserGroupMemberRequest; + +AddUserGroupMemberRequest::AddUserGroupMemberRequest() : + RpcServiceRequest("quickbi-public", "2020-07-31", "AddUserGroupMember") +{ + setMethod(HttpRequest::Method::Post); +} + +AddUserGroupMemberRequest::~AddUserGroupMemberRequest() +{} + +std::string AddUserGroupMemberRequest::getClientToken()const +{ + return clientToken_; +} + +void AddUserGroupMemberRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); +} + +std::string AddUserGroupMemberRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void AddUserGroupMemberRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string AddUserGroupMemberRequest::getUserIdList()const +{ + return userIdList_; +} + +void AddUserGroupMemberRequest::setUserIdList(const std::string& userIdList) +{ + userIdList_ = userIdList; + setParameter("UserIdList", userIdList); +} + +std::string AddUserGroupMemberRequest::getUserGroupId()const +{ + return userGroupId_; +} + +void AddUserGroupMemberRequest::setUserGroupId(const std::string& userGroupId) +{ + userGroupId_ = userGroupId; + setParameter("UserGroupId", userGroupId); +} + +std::string AddUserGroupMemberRequest::getSignType()const +{ + return signType_; +} + +void AddUserGroupMemberRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + diff --git a/quickbi-public/src/model/AddUserGroupMemberResult.cc b/quickbi-public/src/model/AddUserGroupMemberResult.cc new file mode 100644 index 000000000..aaadaaec1 --- /dev/null +++ b/quickbi-public/src/model/AddUserGroupMemberResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +AddUserGroupMemberResult::AddUserGroupMemberResult() : + ServiceResult() +{} + +AddUserGroupMemberResult::AddUserGroupMemberResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddUserGroupMemberResult::~AddUserGroupMemberResult() +{} + +void AddUserGroupMemberResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool AddUserGroupMemberResult::getSuccess()const +{ + return success_; +} + +bool AddUserGroupMemberResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/AddUserRequest.cc b/quickbi-public/src/model/AddUserRequest.cc new file mode 100644 index 000000000..3a0ced764 --- /dev/null +++ b/quickbi-public/src/model/AddUserRequest.cc @@ -0,0 +1,161 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::AddUserRequest; + +AddUserRequest::AddUserRequest() : + RpcServiceRequest("quickbi-public", "2020-08-01", "AddUser") +{ + setMethod(HttpRequest::Method::Post); +} + +AddUserRequest::~AddUserRequest() +{} + +std::string AddUserRequest::getClientToken()const +{ + return clientToken_; +} + +void AddUserRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); +} + +bool AddUserRequest::getAdminUser()const +{ + return adminUser_; +} + +void AddUserRequest::setAdminUser(bool adminUser) +{ + adminUser_ = adminUser; + setParameter("AdminUser", adminUser ? "true" : "false"); +} + +std::string AddUserRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void AddUserRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +int AddUserRequest::getAccountType()const +{ + return accountType_; +} + +void AddUserRequest::setAccountType(int accountType) +{ + accountType_ = accountType; + setParameter("AccountType", std::to_string(accountType)); +} + +int AddUserRequest::getUserType()const +{ + return userType_; +} + +void AddUserRequest::setUserType(int userType) +{ + userType_ = userType; + setParameter("UserType", std::to_string(userType)); +} + +std::string AddUserRequest::getSignType()const +{ + return signType_; +} + +void AddUserRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string AddUserRequest::getAccountId()const +{ + return accountId_; +} + +void AddUserRequest::setAccountId(const std::string& accountId) +{ + accountId_ = accountId; + setParameter("AccountId", accountId); +} + +std::string AddUserRequest::getAccountName()const +{ + return accountName_; +} + +void AddUserRequest::setAccountName(const std::string& accountName) +{ + accountName_ = accountName; + setParameter("AccountName", accountName); +} + +std::string AddUserRequest::getPhone()const +{ + return phone_; +} + +void AddUserRequest::setPhone(const std::string& phone) +{ + phone_ = phone; + setParameter("Phone", phone); +} + +std::string AddUserRequest::getNickName()const +{ + return nickName_; +} + +void AddUserRequest::setNickName(const std::string& nickName) +{ + nickName_ = nickName; + setParameter("NickName", nickName); +} + +bool AddUserRequest::getAuthAdminUser()const +{ + return authAdminUser_; +} + +void AddUserRequest::setAuthAdminUser(bool authAdminUser) +{ + authAdminUser_ = authAdminUser; + setParameter("AuthAdminUser", authAdminUser ? "true" : "false"); +} + +std::string AddUserRequest::getEmail()const +{ + return email_; +} + +void AddUserRequest::setEmail(const std::string& email) +{ + email_ = email; + setParameter("Email", email); +} + diff --git a/quickbi-public/src/model/AddUserResult.cc b/quickbi-public/src/model/AddUserResult.cc new file mode 100644 index 000000000..030cbfccc --- /dev/null +++ b/quickbi-public/src/model/AddUserResult.cc @@ -0,0 +1,73 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +AddUserResult::AddUserResult() : + ServiceResult() +{} + +AddUserResult::AddUserResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddUserResult::~AddUserResult() +{} + +void AddUserResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["UserType"].isNull()) + result_.userType = std::stoi(resultNode["UserType"].asString()); + if(!resultNode["Email"].isNull()) + result_.email = resultNode["Email"].asString(); + if(!resultNode["UserId"].isNull()) + result_.userId = resultNode["UserId"].asString(); + if(!resultNode["AuthAdminUser"].isNull()) + result_.authAdminUser = resultNode["AuthAdminUser"].asString() == "true"; + if(!resultNode["NickName"].isNull()) + result_.nickName = resultNode["NickName"].asString(); + if(!resultNode["AdminUser"].isNull()) + result_.adminUser = resultNode["AdminUser"].asString() == "true"; + if(!resultNode["Phone"].isNull()) + result_.phone = resultNode["Phone"].asString(); + if(!resultNode["AccountName"].isNull()) + result_.accountName = resultNode["AccountName"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool AddUserResult::getSuccess()const +{ + return success_; +} + +AddUserResult::Result AddUserResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/AddUserTagMetaRequest.cc b/quickbi-public/src/model/AddUserTagMetaRequest.cc new file mode 100644 index 000000000..89d47281f --- /dev/null +++ b/quickbi-public/src/model/AddUserTagMetaRequest.cc @@ -0,0 +1,95 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::AddUserTagMetaRequest; + +AddUserTagMetaRequest::AddUserTagMetaRequest() : + RpcServiceRequest("quickbi-public", "2020-08-02", "AddUserTagMeta") +{ + setMethod(HttpRequest::Method::Post); +} + +AddUserTagMetaRequest::~AddUserTagMetaRequest() +{} + +std::string AddUserTagMetaRequest::getTagDescription()const +{ + return tagDescription_; +} + +void AddUserTagMetaRequest::setTagDescription(const std::string& tagDescription) +{ + tagDescription_ = tagDescription; + setParameter("TagDescription", tagDescription); +} + +std::string AddUserTagMetaRequest::getTagName()const +{ + return tagName_; +} + +void AddUserTagMetaRequest::setTagName(const std::string& tagName) +{ + tagName_ = tagName; + setParameter("TagName", tagName); +} + +std::string AddUserTagMetaRequest::getTagId()const +{ + return tagId_; +} + +void AddUserTagMetaRequest::setTagId(const std::string& tagId) +{ + tagId_ = tagId; + setParameter("TagId", tagId); +} + +std::string AddUserTagMetaRequest::getClientToken()const +{ + return clientToken_; +} + +void AddUserTagMetaRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); +} + +std::string AddUserTagMetaRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void AddUserTagMetaRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string AddUserTagMetaRequest::getSignType()const +{ + return signType_; +} + +void AddUserTagMetaRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + diff --git a/quickbi-public/src/model/AddUserTagMetaResult.cc b/quickbi-public/src/model/AddUserTagMetaResult.cc new file mode 100644 index 000000000..f1654062a --- /dev/null +++ b/quickbi-public/src/model/AddUserTagMetaResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +AddUserTagMetaResult::AddUserTagMetaResult() : + ServiceResult() +{} + +AddUserTagMetaResult::AddUserTagMetaResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddUserTagMetaResult::~AddUserTagMetaResult() +{} + +void AddUserTagMetaResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool AddUserTagMetaResult::getSuccess()const +{ + return success_; +} + +std::string AddUserTagMetaResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/AddUserToWorkspaceRequest.cc b/quickbi-public/src/model/AddUserToWorkspaceRequest.cc new file mode 100644 index 000000000..1c46f1808 --- /dev/null +++ b/quickbi-public/src/model/AddUserToWorkspaceRequest.cc @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::AddUserToWorkspaceRequest; + +AddUserToWorkspaceRequest::AddUserToWorkspaceRequest() : + RpcServiceRequest("quickbi-public", "2020-08-03", "AddUserToWorkspace") +{ + setMethod(HttpRequest::Method::Post); +} + +AddUserToWorkspaceRequest::~AddUserToWorkspaceRequest() +{} + +long AddUserToWorkspaceRequest::getRoleId()const +{ + return roleId_; +} + +void AddUserToWorkspaceRequest::setRoleId(long roleId) +{ + roleId_ = roleId; + setParameter("RoleId", std::to_string(roleId)); +} + +std::string AddUserToWorkspaceRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void AddUserToWorkspaceRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string AddUserToWorkspaceRequest::getSignType()const +{ + return signType_; +} + +void AddUserToWorkspaceRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string AddUserToWorkspaceRequest::getUserId()const +{ + return userId_; +} + +void AddUserToWorkspaceRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); +} + +std::string AddUserToWorkspaceRequest::getWorkspaceId()const +{ + return workspaceId_; +} + +void AddUserToWorkspaceRequest::setWorkspaceId(const std::string& workspaceId) +{ + workspaceId_ = workspaceId; + setParameter("WorkspaceId", workspaceId); +} + diff --git a/quickbi-public/src/model/AddUserToWorkspaceResult.cc b/quickbi-public/src/model/AddUserToWorkspaceResult.cc new file mode 100644 index 000000000..bace9060f --- /dev/null +++ b/quickbi-public/src/model/AddUserToWorkspaceResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +AddUserToWorkspaceResult::AddUserToWorkspaceResult() : + ServiceResult() +{} + +AddUserToWorkspaceResult::AddUserToWorkspaceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddUserToWorkspaceResult::~AddUserToWorkspaceResult() +{} + +void AddUserToWorkspaceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + +} + +bool AddUserToWorkspaceResult::getSuccess()const +{ + return success_; +} + +bool AddUserToWorkspaceResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/AddWorkspaceUsersRequest.cc b/quickbi-public/src/model/AddWorkspaceUsersRequest.cc new file mode 100644 index 000000000..747bfe204 --- /dev/null +++ b/quickbi-public/src/model/AddWorkspaceUsersRequest.cc @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::AddWorkspaceUsersRequest; + +AddWorkspaceUsersRequest::AddWorkspaceUsersRequest() : + RpcServiceRequest("quickbi-public", "2020-08-03", "AddWorkspaceUsers") +{ + setMethod(HttpRequest::Method::Post); +} + +AddWorkspaceUsersRequest::~AddWorkspaceUsersRequest() +{} + +std::string AddWorkspaceUsersRequest::getUserIds()const +{ + return userIds_; +} + +void AddWorkspaceUsersRequest::setUserIds(const std::string& userIds) +{ + userIds_ = userIds; + setParameter("UserIds", userIds); +} + +long AddWorkspaceUsersRequest::getRoleId()const +{ + return roleId_; +} + +void AddWorkspaceUsersRequest::setRoleId(long roleId) +{ + roleId_ = roleId; + setParameter("RoleId", std::to_string(roleId)); +} + +std::string AddWorkspaceUsersRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void AddWorkspaceUsersRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string AddWorkspaceUsersRequest::getSignType()const +{ + return signType_; +} + +void AddWorkspaceUsersRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string AddWorkspaceUsersRequest::getWorkspaceId()const +{ + return workspaceId_; +} + +void AddWorkspaceUsersRequest::setWorkspaceId(const std::string& workspaceId) +{ + workspaceId_ = workspaceId; + setParameter("WorkspaceId", workspaceId); +} + diff --git a/quickbi-public/src/model/AddWorkspaceUsersResult.cc b/quickbi-public/src/model/AddWorkspaceUsersResult.cc new file mode 100644 index 000000000..3d0f33611 --- /dev/null +++ b/quickbi-public/src/model/AddWorkspaceUsersResult.cc @@ -0,0 +1,65 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +AddWorkspaceUsersResult::AddWorkspaceUsersResult() : + ServiceResult() +{} + +AddWorkspaceUsersResult::AddWorkspaceUsersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddWorkspaceUsersResult::~AddWorkspaceUsersResult() +{} + +void AddWorkspaceUsersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["Total"].isNull()) + result_.total = std::stoi(resultNode["Total"].asString()); + if(!resultNode["Success"].isNull()) + result_.success = std::stoi(resultNode["Success"].asString()); + if(!resultNode["Failure"].isNull()) + result_.failure = std::stoi(resultNode["Failure"].asString()); + if(!resultNode["FailureDetail"].isNull()) + result_.failureDetail = resultNode["FailureDetail"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool AddWorkspaceUsersResult::getSuccess()const +{ + return success_; +} + +AddWorkspaceUsersResult::Result AddWorkspaceUsersResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/AuthorizeMenuRequest.cc b/quickbi-public/src/model/AuthorizeMenuRequest.cc new file mode 100644 index 000000000..ea0e758b5 --- /dev/null +++ b/quickbi-public/src/model/AuthorizeMenuRequest.cc @@ -0,0 +1,106 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::AuthorizeMenuRequest; + +AuthorizeMenuRequest::AuthorizeMenuRequest() : + RpcServiceRequest("quickbi-public", "2020-08-08", "AuthorizeMenu") +{ + setMethod(HttpRequest::Method::Post); +} + +AuthorizeMenuRequest::~AuthorizeMenuRequest() +{} + +std::string AuthorizeMenuRequest::getDataPortalId()const +{ + return dataPortalId_; +} + +void AuthorizeMenuRequest::setDataPortalId(const std::string& dataPortalId) +{ + dataPortalId_ = dataPortalId; + setParameter("DataPortalId", dataPortalId); +} + +std::string AuthorizeMenuRequest::getUserIds()const +{ + return userIds_; +} + +void AuthorizeMenuRequest::setUserIds(const std::string& userIds) +{ + userIds_ = userIds; + setParameter("UserIds", userIds); +} + +int AuthorizeMenuRequest::getAuthPointsValue()const +{ + return authPointsValue_; +} + +void AuthorizeMenuRequest::setAuthPointsValue(int authPointsValue) +{ + authPointsValue_ = authPointsValue; + setParameter("AuthPointsValue", std::to_string(authPointsValue)); +} + +std::string AuthorizeMenuRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void AuthorizeMenuRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string AuthorizeMenuRequest::getSignType()const +{ + return signType_; +} + +void AuthorizeMenuRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string AuthorizeMenuRequest::getUserGroupIds()const +{ + return userGroupIds_; +} + +void AuthorizeMenuRequest::setUserGroupIds(const std::string& userGroupIds) +{ + userGroupIds_ = userGroupIds; + setParameter("UserGroupIds", userGroupIds); +} + +std::string AuthorizeMenuRequest::getMenuIds()const +{ + return menuIds_; +} + +void AuthorizeMenuRequest::setMenuIds(const std::string& menuIds) +{ + menuIds_ = menuIds; + setParameter("MenuIds", menuIds); +} + diff --git a/quickbi-public/src/model/AuthorizeMenuResult.cc b/quickbi-public/src/model/AuthorizeMenuResult.cc new file mode 100644 index 000000000..b70c73026 --- /dev/null +++ b/quickbi-public/src/model/AuthorizeMenuResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +AuthorizeMenuResult::AuthorizeMenuResult() : + ServiceResult() +{} + +AuthorizeMenuResult::AuthorizeMenuResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AuthorizeMenuResult::~AuthorizeMenuResult() +{} + +void AuthorizeMenuResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = std::stoi(value["Result"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool AuthorizeMenuResult::getSuccess()const +{ + return success_; +} + +int AuthorizeMenuResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/BuildSignatureUrlRequest.cc b/quickbi-public/src/model/BuildSignatureUrlRequest.cc new file mode 100644 index 000000000..13f504e93 --- /dev/null +++ b/quickbi-public/src/model/BuildSignatureUrlRequest.cc @@ -0,0 +1,139 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::BuildSignatureUrlRequest; + +BuildSignatureUrlRequest::BuildSignatureUrlRequest() : + RpcServiceRequest("quickbi-public", "2021-03-25", "BuildSignatureUrl") +{ + setMethod(HttpRequest::Method::Post); +} + +BuildSignatureUrlRequest::~BuildSignatureUrlRequest() +{} + +std::string BuildSignatureUrlRequest::getWatermark()const +{ + return watermark_; +} + +void BuildSignatureUrlRequest::setWatermark(const std::string& watermark) +{ + watermark_ = watermark; + setParameter("Watermark", watermark); +} + +std::string BuildSignatureUrlRequest::getClientToken()const +{ + return clientToken_; +} + +void BuildSignatureUrlRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); +} + +std::string BuildSignatureUrlRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void BuildSignatureUrlRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +int BuildSignatureUrlRequest::getAccountType()const +{ + return accountType_; +} + +void BuildSignatureUrlRequest::setAccountType(int accountType) +{ + accountType_ = accountType; + setParameter("AccountType", std::to_string(accountType)); +} + +std::string BuildSignatureUrlRequest::getSignType()const +{ + return signType_; +} + +void BuildSignatureUrlRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string BuildSignatureUrlRequest::getUserId()const +{ + return userId_; +} + +void BuildSignatureUrlRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); +} + +std::string BuildSignatureUrlRequest::getAccountName()const +{ + return accountName_; +} + +void BuildSignatureUrlRequest::setAccountName(const std::string& accountName) +{ + accountName_ = accountName; + setParameter("AccountName", accountName); +} + +std::string BuildSignatureUrlRequest::getWorksId()const +{ + return worksId_; +} + +void BuildSignatureUrlRequest::setWorksId(const std::string& worksId) +{ + worksId_ = worksId; + setParameter("WorksId", worksId); +} + +bool BuildSignatureUrlRequest::getWithHost()const +{ + return withHost_; +} + +void BuildSignatureUrlRequest::setWithHost(bool withHost) +{ + withHost_ = withHost; + setParameter("WithHost", withHost ? "true" : "false"); +} + +int BuildSignatureUrlRequest::getExpireMin()const +{ + return expireMin_; +} + +void BuildSignatureUrlRequest::setExpireMin(int expireMin) +{ + expireMin_ = expireMin; + setParameter("ExpireMin", std::to_string(expireMin)); +} + diff --git a/quickbi-public/src/model/BuildSignatureUrlResult.cc b/quickbi-public/src/model/BuildSignatureUrlResult.cc new file mode 100644 index 000000000..a2b604643 --- /dev/null +++ b/quickbi-public/src/model/BuildSignatureUrlResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +BuildSignatureUrlResult::BuildSignatureUrlResult() : + ServiceResult() +{} + +BuildSignatureUrlResult::BuildSignatureUrlResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BuildSignatureUrlResult::~BuildSignatureUrlResult() +{} + +void BuildSignatureUrlResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool BuildSignatureUrlResult::getSuccess()const +{ + return success_; +} + +std::string BuildSignatureUrlResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/CancelAuthorizationMenuRequest.cc b/quickbi-public/src/model/CancelAuthorizationMenuRequest.cc new file mode 100644 index 000000000..59b6283fe --- /dev/null +++ b/quickbi-public/src/model/CancelAuthorizationMenuRequest.cc @@ -0,0 +1,95 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::CancelAuthorizationMenuRequest; + +CancelAuthorizationMenuRequest::CancelAuthorizationMenuRequest() : + RpcServiceRequest("quickbi-public", "2020-08-08", "CancelAuthorizationMenu") +{ + setMethod(HttpRequest::Method::Post); +} + +CancelAuthorizationMenuRequest::~CancelAuthorizationMenuRequest() +{} + +std::string CancelAuthorizationMenuRequest::getDataPortalId()const +{ + return dataPortalId_; +} + +void CancelAuthorizationMenuRequest::setDataPortalId(const std::string& dataPortalId) +{ + dataPortalId_ = dataPortalId; + setParameter("DataPortalId", dataPortalId); +} + +std::string CancelAuthorizationMenuRequest::getUserIds()const +{ + return userIds_; +} + +void CancelAuthorizationMenuRequest::setUserIds(const std::string& userIds) +{ + userIds_ = userIds; + setParameter("UserIds", userIds); +} + +std::string CancelAuthorizationMenuRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void CancelAuthorizationMenuRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string CancelAuthorizationMenuRequest::getSignType()const +{ + return signType_; +} + +void CancelAuthorizationMenuRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string CancelAuthorizationMenuRequest::getUserGroupIds()const +{ + return userGroupIds_; +} + +void CancelAuthorizationMenuRequest::setUserGroupIds(const std::string& userGroupIds) +{ + userGroupIds_ = userGroupIds; + setParameter("UserGroupIds", userGroupIds); +} + +std::string CancelAuthorizationMenuRequest::getMenuIds()const +{ + return menuIds_; +} + +void CancelAuthorizationMenuRequest::setMenuIds(const std::string& menuIds) +{ + menuIds_ = menuIds; + setParameter("MenuIds", menuIds); +} + diff --git a/quickbi-public/src/model/CancelAuthorizationMenuResult.cc b/quickbi-public/src/model/CancelAuthorizationMenuResult.cc new file mode 100644 index 000000000..f2c411c98 --- /dev/null +++ b/quickbi-public/src/model/CancelAuthorizationMenuResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +CancelAuthorizationMenuResult::CancelAuthorizationMenuResult() : + ServiceResult() +{} + +CancelAuthorizationMenuResult::CancelAuthorizationMenuResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CancelAuthorizationMenuResult::~CancelAuthorizationMenuResult() +{} + +void CancelAuthorizationMenuResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Result"].isNull()) + result_ = std::stoi(value["Result"].asString()); + +} + +bool CancelAuthorizationMenuResult::getSuccess()const +{ + return success_; +} + +int CancelAuthorizationMenuResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/CancelCollectionRequest.cc b/quickbi-public/src/model/CancelCollectionRequest.cc new file mode 100644 index 000000000..5802ff4fd --- /dev/null +++ b/quickbi-public/src/model/CancelCollectionRequest.cc @@ -0,0 +1,73 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::CancelCollectionRequest; + +CancelCollectionRequest::CancelCollectionRequest() : + RpcServiceRequest("quickbi-public", "2020-08-09", "CancelCollection") +{ + setMethod(HttpRequest::Method::Post); +} + +CancelCollectionRequest::~CancelCollectionRequest() +{} + +std::string CancelCollectionRequest::getWorksId()const +{ + return worksId_; +} + +void CancelCollectionRequest::setWorksId(const std::string& worksId) +{ + worksId_ = worksId; + setParameter("WorksId", worksId); +} + +std::string CancelCollectionRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void CancelCollectionRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string CancelCollectionRequest::getSignType()const +{ + return signType_; +} + +void CancelCollectionRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string CancelCollectionRequest::getUserId()const +{ + return userId_; +} + +void CancelCollectionRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); +} + diff --git a/quickbi-public/src/model/CancelCollectionResult.cc b/quickbi-public/src/model/CancelCollectionResult.cc new file mode 100644 index 000000000..157cfdc1f --- /dev/null +++ b/quickbi-public/src/model/CancelCollectionResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +CancelCollectionResult::CancelCollectionResult() : + ServiceResult() +{} + +CancelCollectionResult::CancelCollectionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CancelCollectionResult::~CancelCollectionResult() +{} + +void CancelCollectionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + +} + +bool CancelCollectionResult::getSuccess()const +{ + return success_; +} + +bool CancelCollectionResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/CancelReportShareRequest.cc b/quickbi-public/src/model/CancelReportShareRequest.cc new file mode 100644 index 000000000..72e18557a --- /dev/null +++ b/quickbi-public/src/model/CancelReportShareRequest.cc @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::CancelReportShareRequest; + +CancelReportShareRequest::CancelReportShareRequest() : + RpcServiceRequest("quickbi-public", "2020-08-04", "CancelReportShare") +{ + setMethod(HttpRequest::Method::Post); +} + +CancelReportShareRequest::~CancelReportShareRequest() +{} + +std::string CancelReportShareRequest::getReportId()const +{ + return reportId_; +} + +void CancelReportShareRequest::setReportId(const std::string& reportId) +{ + reportId_ = reportId; + setParameter("ReportId", reportId); +} + +int CancelReportShareRequest::getShareToType()const +{ + return shareToType_; +} + +void CancelReportShareRequest::setShareToType(int shareToType) +{ + shareToType_ = shareToType; + setParameter("ShareToType", std::to_string(shareToType)); +} + +std::string CancelReportShareRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void CancelReportShareRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string CancelReportShareRequest::getSignType()const +{ + return signType_; +} + +void CancelReportShareRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string CancelReportShareRequest::getShareToIds()const +{ + return shareToIds_; +} + +void CancelReportShareRequest::setShareToIds(const std::string& shareToIds) +{ + shareToIds_ = shareToIds; + setParameter("ShareToIds", shareToIds); +} + diff --git a/quickbi-public/src/model/CancelReportShareResult.cc b/quickbi-public/src/model/CancelReportShareResult.cc new file mode 100644 index 000000000..ef85f4a7d --- /dev/null +++ b/quickbi-public/src/model/CancelReportShareResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +CancelReportShareResult::CancelReportShareResult() : + ServiceResult() +{} + +CancelReportShareResult::CancelReportShareResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CancelReportShareResult::~CancelReportShareResult() +{} + +void CancelReportShareResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool CancelReportShareResult::getSuccess()const +{ + return success_; +} + +bool CancelReportShareResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/ChangeVisibilityModelRequest.cc b/quickbi-public/src/model/ChangeVisibilityModelRequest.cc new file mode 100644 index 000000000..03b9cd9ce --- /dev/null +++ b/quickbi-public/src/model/ChangeVisibilityModelRequest.cc @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::ChangeVisibilityModelRequest; + +ChangeVisibilityModelRequest::ChangeVisibilityModelRequest() : + RpcServiceRequest("quickbi-public", "2020-08-08", "ChangeVisibilityModel") +{ + setMethod(HttpRequest::Method::Post); +} + +ChangeVisibilityModelRequest::~ChangeVisibilityModelRequest() +{} + +std::string ChangeVisibilityModelRequest::getDataPortalId()const +{ + return dataPortalId_; +} + +void ChangeVisibilityModelRequest::setDataPortalId(const std::string& dataPortalId) +{ + dataPortalId_ = dataPortalId; + setParameter("DataPortalId", dataPortalId); +} + +bool ChangeVisibilityModelRequest::getShowOnlyWithAccess()const +{ + return showOnlyWithAccess_; +} + +void ChangeVisibilityModelRequest::setShowOnlyWithAccess(bool showOnlyWithAccess) +{ + showOnlyWithAccess_ = showOnlyWithAccess; + setParameter("ShowOnlyWithAccess", showOnlyWithAccess ? "true" : "false"); +} + +std::string ChangeVisibilityModelRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void ChangeVisibilityModelRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string ChangeVisibilityModelRequest::getSignType()const +{ + return signType_; +} + +void ChangeVisibilityModelRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string ChangeVisibilityModelRequest::getMenuIds()const +{ + return menuIds_; +} + +void ChangeVisibilityModelRequest::setMenuIds(const std::string& menuIds) +{ + menuIds_ = menuIds; + setParameter("MenuIds", menuIds); +} + diff --git a/quickbi-public/src/model/ChangeVisibilityModelResult.cc b/quickbi-public/src/model/ChangeVisibilityModelResult.cc new file mode 100644 index 000000000..1ad35daad --- /dev/null +++ b/quickbi-public/src/model/ChangeVisibilityModelResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +ChangeVisibilityModelResult::ChangeVisibilityModelResult() : + ServiceResult() +{} + +ChangeVisibilityModelResult::ChangeVisibilityModelResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ChangeVisibilityModelResult::~ChangeVisibilityModelResult() +{} + +void ChangeVisibilityModelResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Result"].isNull()) + result_ = std::stoi(value["Result"].asString()); + +} + +bool ChangeVisibilityModelResult::getSuccess()const +{ + return success_; +} + +int ChangeVisibilityModelResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/CheckReadableRequest.cc b/quickbi-public/src/model/CheckReadableRequest.cc new file mode 100644 index 000000000..f5c040a2f --- /dev/null +++ b/quickbi-public/src/model/CheckReadableRequest.cc @@ -0,0 +1,73 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::CheckReadableRequest; + +CheckReadableRequest::CheckReadableRequest() : + RpcServiceRequest("quickbi-public", "2020-08-07", "CheckReadable") +{ + setMethod(HttpRequest::Method::Post); +} + +CheckReadableRequest::~CheckReadableRequest() +{} + +std::string CheckReadableRequest::getWorksId()const +{ + return worksId_; +} + +void CheckReadableRequest::setWorksId(const std::string& worksId) +{ + worksId_ = worksId; + setParameter("WorksId", worksId); +} + +std::string CheckReadableRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void CheckReadableRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string CheckReadableRequest::getSignType()const +{ + return signType_; +} + +void CheckReadableRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string CheckReadableRequest::getUserId()const +{ + return userId_; +} + +void CheckReadableRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); +} + diff --git a/quickbi-public/src/model/CheckReadableResult.cc b/quickbi-public/src/model/CheckReadableResult.cc new file mode 100644 index 000000000..314d30f9c --- /dev/null +++ b/quickbi-public/src/model/CheckReadableResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +CheckReadableResult::CheckReadableResult() : + ServiceResult() +{} + +CheckReadableResult::CheckReadableResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CheckReadableResult::~CheckReadableResult() +{} + +void CheckReadableResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + +} + +bool CheckReadableResult::getSuccess()const +{ + return success_; +} + +bool CheckReadableResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/CreateEmbedTokenRequest.cc b/quickbi-public/src/model/CreateEmbedTokenRequest.cc new file mode 100644 index 000000000..820caa556 --- /dev/null +++ b/quickbi-public/src/model/CreateEmbedTokenRequest.cc @@ -0,0 +1,117 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::CreateEmbedTokenRequest; + +CreateEmbedTokenRequest::CreateEmbedTokenRequest() : + RpcServiceRequest("quickbi-public", "2021-03-25", "CreateEmbedToken") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateEmbedTokenRequest::~CreateEmbedTokenRequest() +{} + +std::string CreateEmbedTokenRequest::getAccountName()const +{ + return accountName_; +} + +void CreateEmbedTokenRequest::setAccountName(const std::string& accountName) +{ + accountName_ = accountName; + setParameter("AccountName", accountName); +} + +std::string CreateEmbedTokenRequest::getClientToken()const +{ + return clientToken_; +} + +void CreateEmbedTokenRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); +} + +std::string CreateEmbedTokenRequest::getWorksId()const +{ + return worksId_; +} + +void CreateEmbedTokenRequest::setWorksId(const std::string& worksId) +{ + worksId_ = worksId; + setParameter("WorksId", worksId); +} + +std::string CreateEmbedTokenRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void CreateEmbedTokenRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +int CreateEmbedTokenRequest::getAccountType()const +{ + return accountType_; +} + +void CreateEmbedTokenRequest::setAccountType(int accountType) +{ + accountType_ = accountType; + setParameter("AccountType", std::to_string(accountType)); +} + +std::string CreateEmbedTokenRequest::getSignType()const +{ + return signType_; +} + +void CreateEmbedTokenRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +int CreateEmbedTokenRequest::getExpireMin()const +{ + return expireMin_; +} + +void CreateEmbedTokenRequest::setExpireMin(int expireMin) +{ + expireMin_ = expireMin; + setParameter("ExpireMin", std::to_string(expireMin)); +} + +std::string CreateEmbedTokenRequest::getUserId()const +{ + return userId_; +} + +void CreateEmbedTokenRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); +} + diff --git a/quickbi-public/src/model/CreateEmbedTokenResult.cc b/quickbi-public/src/model/CreateEmbedTokenResult.cc new file mode 100644 index 000000000..39f3d4e4c --- /dev/null +++ b/quickbi-public/src/model/CreateEmbedTokenResult.cc @@ -0,0 +1,65 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +CreateEmbedTokenResult::CreateEmbedTokenResult() : + ServiceResult() +{} + +CreateEmbedTokenResult::CreateEmbedTokenResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateEmbedTokenResult::~CreateEmbedTokenResult() +{} + +void CreateEmbedTokenResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["AccessToken"].isNull()) + result_.accessToken = resultNode["AccessToken"].asString(); + if(!resultNode["TokeType"].isNull()) + result_.tokeType = std::stol(resultNode["TokeType"].asString()); + if(!resultNode["InvalidTime"].isNull()) + result_.invalidTime = resultNode["InvalidTime"].asString(); + if(!resultNode["RegisterTime"].isNull()) + result_.registerTime = resultNode["RegisterTime"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool CreateEmbedTokenResult::getSuccess()const +{ + return success_; +} + +CreateEmbedTokenResult::Result CreateEmbedTokenResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/CreateUserGroupRequest.cc b/quickbi-public/src/model/CreateUserGroupRequest.cc new file mode 100644 index 000000000..6d71c8410 --- /dev/null +++ b/quickbi-public/src/model/CreateUserGroupRequest.cc @@ -0,0 +1,106 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::CreateUserGroupRequest; + +CreateUserGroupRequest::CreateUserGroupRequest() : + RpcServiceRequest("quickbi-public", "2020-07-31", "CreateUserGroup") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateUserGroupRequest::~CreateUserGroupRequest() +{} + +std::string CreateUserGroupRequest::getClientToken()const +{ + return clientToken_; +} + +void CreateUserGroupRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); +} + +std::string CreateUserGroupRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void CreateUserGroupRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string CreateUserGroupRequest::getUserGroupId()const +{ + return userGroupId_; +} + +void CreateUserGroupRequest::setUserGroupId(const std::string& userGroupId) +{ + userGroupId_ = userGroupId; + setParameter("UserGroupId", userGroupId); +} + +std::string CreateUserGroupRequest::getSignType()const +{ + return signType_; +} + +void CreateUserGroupRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string CreateUserGroupRequest::getUserGroupName()const +{ + return userGroupName_; +} + +void CreateUserGroupRequest::setUserGroupName(const std::string& userGroupName) +{ + userGroupName_ = userGroupName; + setParameter("UserGroupName", userGroupName); +} + +std::string CreateUserGroupRequest::getUserGroupDescription()const +{ + return userGroupDescription_; +} + +void CreateUserGroupRequest::setUserGroupDescription(const std::string& userGroupDescription) +{ + userGroupDescription_ = userGroupDescription; + setParameter("UserGroupDescription", userGroupDescription); +} + +std::string CreateUserGroupRequest::getParentUserGroupId()const +{ + return parentUserGroupId_; +} + +void CreateUserGroupRequest::setParentUserGroupId(const std::string& parentUserGroupId) +{ + parentUserGroupId_ = parentUserGroupId; + setParameter("ParentUserGroupId", parentUserGroupId); +} + diff --git a/quickbi-public/src/model/CreateUserGroupResult.cc b/quickbi-public/src/model/CreateUserGroupResult.cc new file mode 100644 index 000000000..cc364202b --- /dev/null +++ b/quickbi-public/src/model/CreateUserGroupResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +CreateUserGroupResult::CreateUserGroupResult() : + ServiceResult() +{} + +CreateUserGroupResult::CreateUserGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateUserGroupResult::~CreateUserGroupResult() +{} + +void CreateUserGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool CreateUserGroupResult::getSuccess()const +{ + return success_; +} + +std::string CreateUserGroupResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/DelayEmbedTokenRequest.cc b/quickbi-public/src/model/DelayEmbedTokenRequest.cc new file mode 100644 index 000000000..1f76f97dd --- /dev/null +++ b/quickbi-public/src/model/DelayEmbedTokenRequest.cc @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::DelayEmbedTokenRequest; + +DelayEmbedTokenRequest::DelayEmbedTokenRequest() : + RpcServiceRequest("quickbi-public", "2021-03-25", "DelayEmbedToken") +{ + setMethod(HttpRequest::Method::Post); +} + +DelayEmbedTokenRequest::~DelayEmbedTokenRequest() +{} + +std::string DelayEmbedTokenRequest::getClientToken()const +{ + return clientToken_; +} + +void DelayEmbedTokenRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); +} + +std::string DelayEmbedTokenRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void DelayEmbedTokenRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string DelayEmbedTokenRequest::getSignType()const +{ + return signType_; +} + +void DelayEmbedTokenRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +int DelayEmbedTokenRequest::getExpireMin()const +{ + return expireMin_; +} + +void DelayEmbedTokenRequest::setExpireMin(int expireMin) +{ + expireMin_ = expireMin; + setParameter("ExpireMin", std::to_string(expireMin)); +} + +std::string DelayEmbedTokenRequest::getToken()const +{ + return token_; +} + +void DelayEmbedTokenRequest::setToken(const std::string& token) +{ + token_ = token; + setParameter("Token", token); +} + diff --git a/quickbi-public/src/model/DelayEmbedTokenResult.cc b/quickbi-public/src/model/DelayEmbedTokenResult.cc new file mode 100644 index 000000000..2779931b1 --- /dev/null +++ b/quickbi-public/src/model/DelayEmbedTokenResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +DelayEmbedTokenResult::DelayEmbedTokenResult() : + ServiceResult() +{} + +DelayEmbedTokenResult::DelayEmbedTokenResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DelayEmbedTokenResult::~DelayEmbedTokenResult() +{} + +void DelayEmbedTokenResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool DelayEmbedTokenResult::getSuccess()const +{ + return success_; +} + +bool DelayEmbedTokenResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/DeleteDataLevelPermissionRuleUsersRequest.cc b/quickbi-public/src/model/DeleteDataLevelPermissionRuleUsersRequest.cc new file mode 100644 index 000000000..12f64028b --- /dev/null +++ b/quickbi-public/src/model/DeleteDataLevelPermissionRuleUsersRequest.cc @@ -0,0 +1,62 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::DeleteDataLevelPermissionRuleUsersRequest; + +DeleteDataLevelPermissionRuleUsersRequest::DeleteDataLevelPermissionRuleUsersRequest() : + RpcServiceRequest("quickbi-public", "2020-11-11", "DeleteDataLevelPermissionRuleUsers") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteDataLevelPermissionRuleUsersRequest::~DeleteDataLevelPermissionRuleUsersRequest() +{} + +std::string DeleteDataLevelPermissionRuleUsersRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void DeleteDataLevelPermissionRuleUsersRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string DeleteDataLevelPermissionRuleUsersRequest::getSignType()const +{ + return signType_; +} + +void DeleteDataLevelPermissionRuleUsersRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string DeleteDataLevelPermissionRuleUsersRequest::getDeleteUserModel()const +{ + return deleteUserModel_; +} + +void DeleteDataLevelPermissionRuleUsersRequest::setDeleteUserModel(const std::string& deleteUserModel) +{ + deleteUserModel_ = deleteUserModel; + setParameter("DeleteUserModel", deleteUserModel); +} + diff --git a/quickbi-public/src/model/DeleteDataLevelPermissionRuleUsersResult.cc b/quickbi-public/src/model/DeleteDataLevelPermissionRuleUsersResult.cc new file mode 100644 index 000000000..f2aaf783a --- /dev/null +++ b/quickbi-public/src/model/DeleteDataLevelPermissionRuleUsersResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +DeleteDataLevelPermissionRuleUsersResult::DeleteDataLevelPermissionRuleUsersResult() : + ServiceResult() +{} + +DeleteDataLevelPermissionRuleUsersResult::DeleteDataLevelPermissionRuleUsersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDataLevelPermissionRuleUsersResult::~DeleteDataLevelPermissionRuleUsersResult() +{} + +void DeleteDataLevelPermissionRuleUsersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool DeleteDataLevelPermissionRuleUsersResult::getSuccess()const +{ + return success_; +} + +bool DeleteDataLevelPermissionRuleUsersResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/DeleteDataLevelRuleConfigRequest.cc b/quickbi-public/src/model/DeleteDataLevelRuleConfigRequest.cc new file mode 100644 index 000000000..37ed5aa45 --- /dev/null +++ b/quickbi-public/src/model/DeleteDataLevelRuleConfigRequest.cc @@ -0,0 +1,73 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::DeleteDataLevelRuleConfigRequest; + +DeleteDataLevelRuleConfigRequest::DeleteDataLevelRuleConfigRequest() : + RpcServiceRequest("quickbi-public", "2020-11-11", "DeleteDataLevelRuleConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteDataLevelRuleConfigRequest::~DeleteDataLevelRuleConfigRequest() +{} + +std::string DeleteDataLevelRuleConfigRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void DeleteDataLevelRuleConfigRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string DeleteDataLevelRuleConfigRequest::getSignType()const +{ + return signType_; +} + +void DeleteDataLevelRuleConfigRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string DeleteDataLevelRuleConfigRequest::getRuleId()const +{ + return ruleId_; +} + +void DeleteDataLevelRuleConfigRequest::setRuleId(const std::string& ruleId) +{ + ruleId_ = ruleId; + setParameter("RuleId", ruleId); +} + +std::string DeleteDataLevelRuleConfigRequest::getCubeId()const +{ + return cubeId_; +} + +void DeleteDataLevelRuleConfigRequest::setCubeId(const std::string& cubeId) +{ + cubeId_ = cubeId; + setParameter("CubeId", cubeId); +} + diff --git a/quickbi-public/src/model/DeleteDataLevelRuleConfigResult.cc b/quickbi-public/src/model/DeleteDataLevelRuleConfigResult.cc new file mode 100644 index 000000000..0254e73f5 --- /dev/null +++ b/quickbi-public/src/model/DeleteDataLevelRuleConfigResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +DeleteDataLevelRuleConfigResult::DeleteDataLevelRuleConfigResult() : + ServiceResult() +{} + +DeleteDataLevelRuleConfigResult::DeleteDataLevelRuleConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDataLevelRuleConfigResult::~DeleteDataLevelRuleConfigResult() +{} + +void DeleteDataLevelRuleConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool DeleteDataLevelRuleConfigResult::getSuccess()const +{ + return success_; +} + +bool DeleteDataLevelRuleConfigResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/DeleteEmbedTokenRequest.cc b/quickbi-public/src/model/DeleteEmbedTokenRequest.cc new file mode 100644 index 000000000..5e03169d4 --- /dev/null +++ b/quickbi-public/src/model/DeleteEmbedTokenRequest.cc @@ -0,0 +1,73 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::DeleteEmbedTokenRequest; + +DeleteEmbedTokenRequest::DeleteEmbedTokenRequest() : + RpcServiceRequest("quickbi-public", "2021-03-25", "DeleteEmbedToken") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteEmbedTokenRequest::~DeleteEmbedTokenRequest() +{} + +std::string DeleteEmbedTokenRequest::getClientToken()const +{ + return clientToken_; +} + +void DeleteEmbedTokenRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); +} + +std::string DeleteEmbedTokenRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void DeleteEmbedTokenRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string DeleteEmbedTokenRequest::getSignType()const +{ + return signType_; +} + +void DeleteEmbedTokenRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string DeleteEmbedTokenRequest::getToken()const +{ + return token_; +} + +void DeleteEmbedTokenRequest::setToken(const std::string& token) +{ + token_ = token; + setParameter("Token", token); +} + diff --git a/quickbi-public/src/model/DeleteEmbedTokenResult.cc b/quickbi-public/src/model/DeleteEmbedTokenResult.cc new file mode 100644 index 000000000..55a950285 --- /dev/null +++ b/quickbi-public/src/model/DeleteEmbedTokenResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +DeleteEmbedTokenResult::DeleteEmbedTokenResult() : + ServiceResult() +{} + +DeleteEmbedTokenResult::DeleteEmbedTokenResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteEmbedTokenResult::~DeleteEmbedTokenResult() +{} + +void DeleteEmbedTokenResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool DeleteEmbedTokenResult::getSuccess()const +{ + return success_; +} + +bool DeleteEmbedTokenResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/DeleteUserFromWorkspaceRequest.cc b/quickbi-public/src/model/DeleteUserFromWorkspaceRequest.cc new file mode 100644 index 000000000..033f0937f --- /dev/null +++ b/quickbi-public/src/model/DeleteUserFromWorkspaceRequest.cc @@ -0,0 +1,73 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::DeleteUserFromWorkspaceRequest; + +DeleteUserFromWorkspaceRequest::DeleteUserFromWorkspaceRequest() : + RpcServiceRequest("quickbi-public", "2020-08-03", "DeleteUserFromWorkspace") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteUserFromWorkspaceRequest::~DeleteUserFromWorkspaceRequest() +{} + +std::string DeleteUserFromWorkspaceRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void DeleteUserFromWorkspaceRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string DeleteUserFromWorkspaceRequest::getSignType()const +{ + return signType_; +} + +void DeleteUserFromWorkspaceRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string DeleteUserFromWorkspaceRequest::getUserId()const +{ + return userId_; +} + +void DeleteUserFromWorkspaceRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); +} + +std::string DeleteUserFromWorkspaceRequest::getWorkspaceId()const +{ + return workspaceId_; +} + +void DeleteUserFromWorkspaceRequest::setWorkspaceId(const std::string& workspaceId) +{ + workspaceId_ = workspaceId; + setParameter("WorkspaceId", workspaceId); +} + diff --git a/quickbi-public/src/model/DeleteUserFromWorkspaceResult.cc b/quickbi-public/src/model/DeleteUserFromWorkspaceResult.cc new file mode 100644 index 000000000..725b4fca8 --- /dev/null +++ b/quickbi-public/src/model/DeleteUserFromWorkspaceResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +DeleteUserFromWorkspaceResult::DeleteUserFromWorkspaceResult() : + ServiceResult() +{} + +DeleteUserFromWorkspaceResult::DeleteUserFromWorkspaceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteUserFromWorkspaceResult::~DeleteUserFromWorkspaceResult() +{} + +void DeleteUserFromWorkspaceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + +} + +bool DeleteUserFromWorkspaceResult::getSuccess()const +{ + return success_; +} + +bool DeleteUserFromWorkspaceResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/DeleteUserGroupMemberRequest.cc b/quickbi-public/src/model/DeleteUserGroupMemberRequest.cc new file mode 100644 index 000000000..8618750ce --- /dev/null +++ b/quickbi-public/src/model/DeleteUserGroupMemberRequest.cc @@ -0,0 +1,73 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::DeleteUserGroupMemberRequest; + +DeleteUserGroupMemberRequest::DeleteUserGroupMemberRequest() : + RpcServiceRequest("quickbi-public", "2020-07-31", "DeleteUserGroupMember") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteUserGroupMemberRequest::~DeleteUserGroupMemberRequest() +{} + +std::string DeleteUserGroupMemberRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void DeleteUserGroupMemberRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string DeleteUserGroupMemberRequest::getUserGroupId()const +{ + return userGroupId_; +} + +void DeleteUserGroupMemberRequest::setUserGroupId(const std::string& userGroupId) +{ + userGroupId_ = userGroupId; + setParameter("UserGroupId", userGroupId); +} + +std::string DeleteUserGroupMemberRequest::getSignType()const +{ + return signType_; +} + +void DeleteUserGroupMemberRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string DeleteUserGroupMemberRequest::getUserId()const +{ + return userId_; +} + +void DeleteUserGroupMemberRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); +} + diff --git a/quickbi-public/src/model/DeleteUserGroupMemberResult.cc b/quickbi-public/src/model/DeleteUserGroupMemberResult.cc new file mode 100644 index 000000000..466738e9f --- /dev/null +++ b/quickbi-public/src/model/DeleteUserGroupMemberResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +DeleteUserGroupMemberResult::DeleteUserGroupMemberResult() : + ServiceResult() +{} + +DeleteUserGroupMemberResult::DeleteUserGroupMemberResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteUserGroupMemberResult::~DeleteUserGroupMemberResult() +{} + +void DeleteUserGroupMemberResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool DeleteUserGroupMemberResult::getSuccess()const +{ + return success_; +} + +bool DeleteUserGroupMemberResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/DeleteUserGroupMembersRequest.cc b/quickbi-public/src/model/DeleteUserGroupMembersRequest.cc new file mode 100644 index 000000000..e0154c445 --- /dev/null +++ b/quickbi-public/src/model/DeleteUserGroupMembersRequest.cc @@ -0,0 +1,73 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::DeleteUserGroupMembersRequest; + +DeleteUserGroupMembersRequest::DeleteUserGroupMembersRequest() : + RpcServiceRequest("quickbi-public", "2020-07-31", "DeleteUserGroupMembers") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteUserGroupMembersRequest::~DeleteUserGroupMembersRequest() +{} + +std::string DeleteUserGroupMembersRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void DeleteUserGroupMembersRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string DeleteUserGroupMembersRequest::getSignType()const +{ + return signType_; +} + +void DeleteUserGroupMembersRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string DeleteUserGroupMembersRequest::getUserGroupIds()const +{ + return userGroupIds_; +} + +void DeleteUserGroupMembersRequest::setUserGroupIds(const std::string& userGroupIds) +{ + userGroupIds_ = userGroupIds; + setParameter("UserGroupIds", userGroupIds); +} + +std::string DeleteUserGroupMembersRequest::getUserId()const +{ + return userId_; +} + +void DeleteUserGroupMembersRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); +} + diff --git a/quickbi-public/src/model/DeleteUserGroupMembersResult.cc b/quickbi-public/src/model/DeleteUserGroupMembersResult.cc new file mode 100644 index 000000000..97dbf4659 --- /dev/null +++ b/quickbi-public/src/model/DeleteUserGroupMembersResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +DeleteUserGroupMembersResult::DeleteUserGroupMembersResult() : + ServiceResult() +{} + +DeleteUserGroupMembersResult::DeleteUserGroupMembersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteUserGroupMembersResult::~DeleteUserGroupMembersResult() +{} + +void DeleteUserGroupMembersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool DeleteUserGroupMembersResult::getSuccess()const +{ + return success_; +} + +bool DeleteUserGroupMembersResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/DeleteUserGroupRequest.cc b/quickbi-public/src/model/DeleteUserGroupRequest.cc new file mode 100644 index 000000000..5ca49f8c9 --- /dev/null +++ b/quickbi-public/src/model/DeleteUserGroupRequest.cc @@ -0,0 +1,62 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::DeleteUserGroupRequest; + +DeleteUserGroupRequest::DeleteUserGroupRequest() : + RpcServiceRequest("quickbi-public", "2020-07-31", "DeleteUserGroup") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteUserGroupRequest::~DeleteUserGroupRequest() +{} + +std::string DeleteUserGroupRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void DeleteUserGroupRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string DeleteUserGroupRequest::getUserGroupId()const +{ + return userGroupId_; +} + +void DeleteUserGroupRequest::setUserGroupId(const std::string& userGroupId) +{ + userGroupId_ = userGroupId; + setParameter("UserGroupId", userGroupId); +} + +std::string DeleteUserGroupRequest::getSignType()const +{ + return signType_; +} + +void DeleteUserGroupRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + diff --git a/quickbi-public/src/model/DeleteUserGroupResult.cc b/quickbi-public/src/model/DeleteUserGroupResult.cc new file mode 100644 index 000000000..8db94f181 --- /dev/null +++ b/quickbi-public/src/model/DeleteUserGroupResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +DeleteUserGroupResult::DeleteUserGroupResult() : + ServiceResult() +{} + +DeleteUserGroupResult::DeleteUserGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteUserGroupResult::~DeleteUserGroupResult() +{} + +void DeleteUserGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool DeleteUserGroupResult::getSuccess()const +{ + return success_; +} + +bool DeleteUserGroupResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/DeleteUserRequest.cc b/quickbi-public/src/model/DeleteUserRequest.cc new file mode 100644 index 000000000..548a77688 --- /dev/null +++ b/quickbi-public/src/model/DeleteUserRequest.cc @@ -0,0 +1,73 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::DeleteUserRequest; + +DeleteUserRequest::DeleteUserRequest() : + RpcServiceRequest("quickbi-public", "2020-08-01", "DeleteUser") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteUserRequest::~DeleteUserRequest() +{} + +std::string DeleteUserRequest::getTransferUserId()const +{ + return transferUserId_; +} + +void DeleteUserRequest::setTransferUserId(const std::string& transferUserId) +{ + transferUserId_ = transferUserId; + setParameter("TransferUserId", transferUserId); +} + +std::string DeleteUserRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void DeleteUserRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string DeleteUserRequest::getSignType()const +{ + return signType_; +} + +void DeleteUserRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string DeleteUserRequest::getUserId()const +{ + return userId_; +} + +void DeleteUserRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); +} + diff --git a/quickbi-public/src/model/DeleteUserResult.cc b/quickbi-public/src/model/DeleteUserResult.cc new file mode 100644 index 000000000..dd87dc735 --- /dev/null +++ b/quickbi-public/src/model/DeleteUserResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +DeleteUserResult::DeleteUserResult() : + ServiceResult() +{} + +DeleteUserResult::DeleteUserResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteUserResult::~DeleteUserResult() +{} + +void DeleteUserResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool DeleteUserResult::getSuccess()const +{ + return success_; +} + +bool DeleteUserResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/DeleteUserTagMetaRequest.cc b/quickbi-public/src/model/DeleteUserTagMetaRequest.cc new file mode 100644 index 000000000..81d586ce8 --- /dev/null +++ b/quickbi-public/src/model/DeleteUserTagMetaRequest.cc @@ -0,0 +1,62 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::DeleteUserTagMetaRequest; + +DeleteUserTagMetaRequest::DeleteUserTagMetaRequest() : + RpcServiceRequest("quickbi-public", "2020-08-02", "DeleteUserTagMeta") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteUserTagMetaRequest::~DeleteUserTagMetaRequest() +{} + +std::string DeleteUserTagMetaRequest::getTagId()const +{ + return tagId_; +} + +void DeleteUserTagMetaRequest::setTagId(const std::string& tagId) +{ + tagId_ = tagId; + setParameter("TagId", tagId); +} + +std::string DeleteUserTagMetaRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void DeleteUserTagMetaRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string DeleteUserTagMetaRequest::getSignType()const +{ + return signType_; +} + +void DeleteUserTagMetaRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + diff --git a/quickbi-public/src/model/DeleteUserTagMetaResult.cc b/quickbi-public/src/model/DeleteUserTagMetaResult.cc new file mode 100644 index 000000000..b9b57793c --- /dev/null +++ b/quickbi-public/src/model/DeleteUserTagMetaResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +DeleteUserTagMetaResult::DeleteUserTagMetaResult() : + ServiceResult() +{} + +DeleteUserTagMetaResult::DeleteUserTagMetaResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteUserTagMetaResult::~DeleteUserTagMetaResult() +{} + +void DeleteUserTagMetaResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool DeleteUserTagMetaResult::getSuccess()const +{ + return success_; +} + +bool DeleteUserTagMetaResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/GetUserGroupInfoRequest.cc b/quickbi-public/src/model/GetUserGroupInfoRequest.cc new file mode 100644 index 000000000..0c0c7a021 --- /dev/null +++ b/quickbi-public/src/model/GetUserGroupInfoRequest.cc @@ -0,0 +1,62 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::GetUserGroupInfoRequest; + +GetUserGroupInfoRequest::GetUserGroupInfoRequest() : + RpcServiceRequest("quickbi-public", "2020-07-31", "GetUserGroupInfo") +{ + setMethod(HttpRequest::Method::Post); +} + +GetUserGroupInfoRequest::~GetUserGroupInfoRequest() +{} + +std::string GetUserGroupInfoRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void GetUserGroupInfoRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string GetUserGroupInfoRequest::getSignType()const +{ + return signType_; +} + +void GetUserGroupInfoRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string GetUserGroupInfoRequest::getKeyword()const +{ + return keyword_; +} + +void GetUserGroupInfoRequest::setKeyword(const std::string& keyword) +{ + keyword_ = keyword; + setParameter("Keyword", keyword); +} + diff --git a/quickbi-public/src/model/GetUserGroupInfoResult.cc b/quickbi-public/src/model/GetUserGroupInfoResult.cc new file mode 100644 index 000000000..0d9647252 --- /dev/null +++ b/quickbi-public/src/model/GetUserGroupInfoResult.cc @@ -0,0 +1,80 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +GetUserGroupInfoResult::GetUserGroupInfoResult() : + ServiceResult() +{} + +GetUserGroupInfoResult::GetUserGroupInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetUserGroupInfoResult::~GetUserGroupInfoResult() +{} + +void GetUserGroupInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResultNode = value["Result"]["Data"]; + for (auto valueResultData : allResultNode) + { + Data resultObject; + if(!valueResultData["UsergroupId"].isNull()) + resultObject.usergroupId = valueResultData["UsergroupId"].asString(); + if(!valueResultData["UsergroupName"].isNull()) + resultObject.usergroupName = valueResultData["UsergroupName"].asString(); + if(!valueResultData["UsergroupDesc"].isNull()) + resultObject.usergroupDesc = valueResultData["UsergroupDesc"].asString(); + if(!valueResultData["ParentUsergroupId"].isNull()) + resultObject.parentUsergroupId = valueResultData["ParentUsergroupId"].asString(); + if(!valueResultData["IdentifiedPath"].isNull()) + resultObject.identifiedPath = valueResultData["IdentifiedPath"].asString(); + if(!valueResultData["CreateUser"].isNull()) + resultObject.createUser = valueResultData["CreateUser"].asString(); + if(!valueResultData["ModifyUser"].isNull()) + resultObject.modifyUser = valueResultData["ModifyUser"].asString(); + if(!valueResultData["CreateTime"].isNull()) + resultObject.createTime = valueResultData["CreateTime"].asString(); + if(!valueResultData["ModifiedTime"].isNull()) + resultObject.modifiedTime = valueResultData["ModifiedTime"].asString(); + result_.push_back(resultObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool GetUserGroupInfoResult::getSuccess()const +{ + return success_; +} + +std::vector GetUserGroupInfoResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/ListByUserGroupIdRequest.cc b/quickbi-public/src/model/ListByUserGroupIdRequest.cc new file mode 100644 index 000000000..dca3b1261 --- /dev/null +++ b/quickbi-public/src/model/ListByUserGroupIdRequest.cc @@ -0,0 +1,62 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::ListByUserGroupIdRequest; + +ListByUserGroupIdRequest::ListByUserGroupIdRequest() : + RpcServiceRequest("quickbi-public", "2020-07-31", "ListByUserGroupId") +{ + setMethod(HttpRequest::Method::Post); +} + +ListByUserGroupIdRequest::~ListByUserGroupIdRequest() +{} + +std::string ListByUserGroupIdRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void ListByUserGroupIdRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string ListByUserGroupIdRequest::getSignType()const +{ + return signType_; +} + +void ListByUserGroupIdRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string ListByUserGroupIdRequest::getUserGroupIds()const +{ + return userGroupIds_; +} + +void ListByUserGroupIdRequest::setUserGroupIds(const std::string& userGroupIds) +{ + userGroupIds_ = userGroupIds; + setParameter("UserGroupIds", userGroupIds); +} + diff --git a/quickbi-public/src/model/ListByUserGroupIdResult.cc b/quickbi-public/src/model/ListByUserGroupIdResult.cc new file mode 100644 index 000000000..7ad748ae7 --- /dev/null +++ b/quickbi-public/src/model/ListByUserGroupIdResult.cc @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +ListByUserGroupIdResult::ListByUserGroupIdResult() : + ServiceResult() +{} + +ListByUserGroupIdResult::ListByUserGroupIdResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListByUserGroupIdResult::~ListByUserGroupIdResult() +{} + +void ListByUserGroupIdResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + auto allUserGroupModelsNode = resultNode["UserGroupModels"]["UserGroupModelsItem"]; + for (auto resultNodeUserGroupModelsUserGroupModelsItem : allUserGroupModelsNode) + { + Result::UserGroupModelsItem userGroupModelsItemObject; + if(!resultNodeUserGroupModelsUserGroupModelsItem["UsergroupId"].isNull()) + userGroupModelsItemObject.usergroupId = resultNodeUserGroupModelsUserGroupModelsItem["UsergroupId"].asString(); + if(!resultNodeUserGroupModelsUserGroupModelsItem["UsergroupName"].isNull()) + userGroupModelsItemObject.usergroupName = resultNodeUserGroupModelsUserGroupModelsItem["UsergroupName"].asString(); + if(!resultNodeUserGroupModelsUserGroupModelsItem["UsergroupDesc"].isNull()) + userGroupModelsItemObject.usergroupDesc = resultNodeUserGroupModelsUserGroupModelsItem["UsergroupDesc"].asString(); + if(!resultNodeUserGroupModelsUserGroupModelsItem["ParentUsergroupId"].isNull()) + userGroupModelsItemObject.parentUsergroupId = resultNodeUserGroupModelsUserGroupModelsItem["ParentUsergroupId"].asString(); + if(!resultNodeUserGroupModelsUserGroupModelsItem["IdentifiedPath"].isNull()) + userGroupModelsItemObject.identifiedPath = resultNodeUserGroupModelsUserGroupModelsItem["IdentifiedPath"].asString(); + if(!resultNodeUserGroupModelsUserGroupModelsItem["CreateUser"].isNull()) + userGroupModelsItemObject.createUser = resultNodeUserGroupModelsUserGroupModelsItem["CreateUser"].asString(); + if(!resultNodeUserGroupModelsUserGroupModelsItem["ModifyUser"].isNull()) + userGroupModelsItemObject.modifyUser = resultNodeUserGroupModelsUserGroupModelsItem["ModifyUser"].asString(); + if(!resultNodeUserGroupModelsUserGroupModelsItem["CreateTime"].isNull()) + userGroupModelsItemObject.createTime = resultNodeUserGroupModelsUserGroupModelsItem["CreateTime"].asString(); + if(!resultNodeUserGroupModelsUserGroupModelsItem["ModifiedTime"].isNull()) + userGroupModelsItemObject.modifiedTime = resultNodeUserGroupModelsUserGroupModelsItem["ModifiedTime"].asString(); + result_.userGroupModels.push_back(userGroupModelsItemObject); + } + auto allFailedUserGroupIds = resultNode["FailedUserGroupIds"]["FailedUserGroupIds"]; + for (auto value : allFailedUserGroupIds) + result_.failedUserGroupIds.push_back(value.asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool ListByUserGroupIdResult::getSuccess()const +{ + return success_; +} + +ListByUserGroupIdResult::Result ListByUserGroupIdResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/ListCollectionsRequest.cc b/quickbi-public/src/model/ListCollectionsRequest.cc new file mode 100644 index 000000000..f3e6500b6 --- /dev/null +++ b/quickbi-public/src/model/ListCollectionsRequest.cc @@ -0,0 +1,62 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::ListCollectionsRequest; + +ListCollectionsRequest::ListCollectionsRequest() : + RpcServiceRequest("quickbi-public", "2020-08-09", "ListCollections") +{ + setMethod(HttpRequest::Method::Post); +} + +ListCollectionsRequest::~ListCollectionsRequest() +{} + +std::string ListCollectionsRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void ListCollectionsRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string ListCollectionsRequest::getSignType()const +{ + return signType_; +} + +void ListCollectionsRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string ListCollectionsRequest::getUserId()const +{ + return userId_; +} + +void ListCollectionsRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); +} + diff --git a/quickbi-public/src/model/ListCollectionsResult.cc b/quickbi-public/src/model/ListCollectionsResult.cc new file mode 100644 index 000000000..80b0aa4c6 --- /dev/null +++ b/quickbi-public/src/model/ListCollectionsResult.cc @@ -0,0 +1,76 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +ListCollectionsResult::ListCollectionsResult() : + ServiceResult() +{} + +ListCollectionsResult::ListCollectionsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListCollectionsResult::~ListCollectionsResult() +{} + +void ListCollectionsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResultNode = value["Result"]["Data"]; + for (auto valueResultData : allResultNode) + { + Data resultObject; + if(!valueResultData["FavoriteId"].isNull()) + resultObject.favoriteId = std::stoi(valueResultData["FavoriteId"].asString()); + if(!valueResultData["OwnerId"].isNull()) + resultObject.ownerId = valueResultData["OwnerId"].asString(); + if(!valueResultData["WorksId"].isNull()) + resultObject.worksId = valueResultData["WorksId"].asString(); + if(!valueResultData["WorksName"].isNull()) + resultObject.worksName = valueResultData["WorksName"].asString(); + if(!valueResultData["WorksType"].isNull()) + resultObject.worksType = valueResultData["WorksType"].asString(); + if(!valueResultData["WorkspaceId"].isNull()) + resultObject.workspaceId = valueResultData["WorkspaceId"].asString(); + if(!valueResultData["WorkspaceName"].isNull()) + resultObject.workspaceName = valueResultData["WorkspaceName"].asString(); + result_.push_back(resultObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool ListCollectionsResult::getSuccess()const +{ + return success_; +} + +std::vector ListCollectionsResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/ListCubeDataLevelPermissionConfigRequest.cc b/quickbi-public/src/model/ListCubeDataLevelPermissionConfigRequest.cc new file mode 100644 index 000000000..476c2a1c8 --- /dev/null +++ b/quickbi-public/src/model/ListCubeDataLevelPermissionConfigRequest.cc @@ -0,0 +1,73 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::ListCubeDataLevelPermissionConfigRequest; + +ListCubeDataLevelPermissionConfigRequest::ListCubeDataLevelPermissionConfigRequest() : + RpcServiceRequest("quickbi-public", "2020-11-11", "ListCubeDataLevelPermissionConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +ListCubeDataLevelPermissionConfigRequest::~ListCubeDataLevelPermissionConfigRequest() +{} + +std::string ListCubeDataLevelPermissionConfigRequest::getRuleType()const +{ + return ruleType_; +} + +void ListCubeDataLevelPermissionConfigRequest::setRuleType(const std::string& ruleType) +{ + ruleType_ = ruleType; + setParameter("RuleType", ruleType); +} + +std::string ListCubeDataLevelPermissionConfigRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void ListCubeDataLevelPermissionConfigRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string ListCubeDataLevelPermissionConfigRequest::getSignType()const +{ + return signType_; +} + +void ListCubeDataLevelPermissionConfigRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string ListCubeDataLevelPermissionConfigRequest::getCubeId()const +{ + return cubeId_; +} + +void ListCubeDataLevelPermissionConfigRequest::setCubeId(const std::string& cubeId) +{ + cubeId_ = cubeId; + setParameter("CubeId", cubeId); +} + diff --git a/quickbi-public/src/model/ListCubeDataLevelPermissionConfigResult.cc b/quickbi-public/src/model/ListCubeDataLevelPermissionConfigResult.cc new file mode 100644 index 000000000..140e45fa6 --- /dev/null +++ b/quickbi-public/src/model/ListCubeDataLevelPermissionConfigResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +ListCubeDataLevelPermissionConfigResult::ListCubeDataLevelPermissionConfigResult() : + ServiceResult() +{} + +ListCubeDataLevelPermissionConfigResult::ListCubeDataLevelPermissionConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListCubeDataLevelPermissionConfigResult::~ListCubeDataLevelPermissionConfigResult() +{} + +void ListCubeDataLevelPermissionConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool ListCubeDataLevelPermissionConfigResult::getSuccess()const +{ + return success_; +} + +std::string ListCubeDataLevelPermissionConfigResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/ListDataLevelPermissionWhiteListRequest.cc b/quickbi-public/src/model/ListDataLevelPermissionWhiteListRequest.cc new file mode 100644 index 000000000..4497681d7 --- /dev/null +++ b/quickbi-public/src/model/ListDataLevelPermissionWhiteListRequest.cc @@ -0,0 +1,73 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::ListDataLevelPermissionWhiteListRequest; + +ListDataLevelPermissionWhiteListRequest::ListDataLevelPermissionWhiteListRequest() : + RpcServiceRequest("quickbi-public", "2020-11-11", "ListDataLevelPermissionWhiteList") +{ + setMethod(HttpRequest::Method::Post); +} + +ListDataLevelPermissionWhiteListRequest::~ListDataLevelPermissionWhiteListRequest() +{} + +std::string ListDataLevelPermissionWhiteListRequest::getRuleType()const +{ + return ruleType_; +} + +void ListDataLevelPermissionWhiteListRequest::setRuleType(const std::string& ruleType) +{ + ruleType_ = ruleType; + setParameter("RuleType", ruleType); +} + +std::string ListDataLevelPermissionWhiteListRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void ListDataLevelPermissionWhiteListRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string ListDataLevelPermissionWhiteListRequest::getSignType()const +{ + return signType_; +} + +void ListDataLevelPermissionWhiteListRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string ListDataLevelPermissionWhiteListRequest::getCubeId()const +{ + return cubeId_; +} + +void ListDataLevelPermissionWhiteListRequest::setCubeId(const std::string& cubeId) +{ + cubeId_ = cubeId; + setParameter("CubeId", cubeId); +} + diff --git a/quickbi-public/src/model/ListDataLevelPermissionWhiteListResult.cc b/quickbi-public/src/model/ListDataLevelPermissionWhiteListResult.cc new file mode 100644 index 000000000..34dfae552 --- /dev/null +++ b/quickbi-public/src/model/ListDataLevelPermissionWhiteListResult.cc @@ -0,0 +1,68 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +ListDataLevelPermissionWhiteListResult::ListDataLevelPermissionWhiteListResult() : + ServiceResult() +{} + +ListDataLevelPermissionWhiteListResult::ListDataLevelPermissionWhiteListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDataLevelPermissionWhiteListResult::~ListDataLevelPermissionWhiteListResult() +{} + +void ListDataLevelPermissionWhiteListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["CubeId"].isNull()) + result_.cubeId = resultNode["CubeId"].asString(); + if(!resultNode["RuleType"].isNull()) + result_.ruleType = resultNode["RuleType"].asString(); + auto usersModelNode = resultNode["UsersModel"]; + auto allUserGroups = usersModelNode["UserGroups"]["UserGroups"]; + for (auto value : allUserGroups) + result_.usersModel.userGroups.push_back(value.asString()); + auto allUsers = usersModelNode["Users"]["Users"]; + for (auto value : allUsers) + result_.usersModel.users.push_back(value.asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool ListDataLevelPermissionWhiteListResult::getSuccess()const +{ + return success_; +} + +ListDataLevelPermissionWhiteListResult::Result ListDataLevelPermissionWhiteListResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/ListPortalMenuAuthorizationRequest.cc b/quickbi-public/src/model/ListPortalMenuAuthorizationRequest.cc new file mode 100644 index 000000000..32c2ce15f --- /dev/null +++ b/quickbi-public/src/model/ListPortalMenuAuthorizationRequest.cc @@ -0,0 +1,62 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::ListPortalMenuAuthorizationRequest; + +ListPortalMenuAuthorizationRequest::ListPortalMenuAuthorizationRequest() : + RpcServiceRequest("quickbi-public", "2020-08-08", "ListPortalMenuAuthorization") +{ + setMethod(HttpRequest::Method::Post); +} + +ListPortalMenuAuthorizationRequest::~ListPortalMenuAuthorizationRequest() +{} + +std::string ListPortalMenuAuthorizationRequest::getDataPortalId()const +{ + return dataPortalId_; +} + +void ListPortalMenuAuthorizationRequest::setDataPortalId(const std::string& dataPortalId) +{ + dataPortalId_ = dataPortalId; + setParameter("DataPortalId", dataPortalId); +} + +std::string ListPortalMenuAuthorizationRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void ListPortalMenuAuthorizationRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string ListPortalMenuAuthorizationRequest::getSignType()const +{ + return signType_; +} + +void ListPortalMenuAuthorizationRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + diff --git a/quickbi-public/src/model/ListPortalMenuAuthorizationResult.cc b/quickbi-public/src/model/ListPortalMenuAuthorizationResult.cc new file mode 100644 index 000000000..738c1b880 --- /dev/null +++ b/quickbi-public/src/model/ListPortalMenuAuthorizationResult.cc @@ -0,0 +1,76 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +ListPortalMenuAuthorizationResult::ListPortalMenuAuthorizationResult() : + ServiceResult() +{} + +ListPortalMenuAuthorizationResult::ListPortalMenuAuthorizationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListPortalMenuAuthorizationResult::~ListPortalMenuAuthorizationResult() +{} + +void ListPortalMenuAuthorizationResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResultNode = value["Result"]["Data"]; + for (auto valueResultData : allResultNode) + { + Data resultObject; + if(!valueResultData["MenuId"].isNull()) + resultObject.menuId = valueResultData["MenuId"].asString(); + if(!valueResultData["ShowOnlyWithAccess"].isNull()) + resultObject.showOnlyWithAccess = valueResultData["ShowOnlyWithAccess"].asString() == "true"; + auto allReceiversNode = valueResultData["Receivers"]["ReceiversItem"]; + for (auto valueResultDataReceiversReceiversItem : allReceiversNode) + { + Data::ReceiversItem receiversObject; + if(!valueResultDataReceiversReceiversItem["ReceiverId"].isNull()) + receiversObject.receiverId = valueResultDataReceiversReceiversItem["ReceiverId"].asString(); + if(!valueResultDataReceiversReceiversItem["ReceiverType"].isNull()) + receiversObject.receiverType = std::stoi(valueResultDataReceiversReceiversItem["ReceiverType"].asString()); + resultObject.receivers.push_back(receiversObject); + } + result_.push_back(resultObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool ListPortalMenuAuthorizationResult::getSuccess()const +{ + return success_; +} + +std::vector ListPortalMenuAuthorizationResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/ListPortalMenusRequest.cc b/quickbi-public/src/model/ListPortalMenusRequest.cc new file mode 100644 index 000000000..253fb94df --- /dev/null +++ b/quickbi-public/src/model/ListPortalMenusRequest.cc @@ -0,0 +1,73 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::ListPortalMenusRequest; + +ListPortalMenusRequest::ListPortalMenusRequest() : + RpcServiceRequest("quickbi-public", "2020-08-08", "ListPortalMenus") +{ + setMethod(HttpRequest::Method::Post); +} + +ListPortalMenusRequest::~ListPortalMenusRequest() +{} + +std::string ListPortalMenusRequest::getDataPortalId()const +{ + return dataPortalId_; +} + +void ListPortalMenusRequest::setDataPortalId(const std::string& dataPortalId) +{ + dataPortalId_ = dataPortalId; + setParameter("DataPortalId", dataPortalId); +} + +std::string ListPortalMenusRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void ListPortalMenusRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string ListPortalMenusRequest::getSignType()const +{ + return signType_; +} + +void ListPortalMenusRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string ListPortalMenusRequest::getUserId()const +{ + return userId_; +} + +void ListPortalMenusRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); +} + diff --git a/quickbi-public/src/model/ListPortalMenusResult.cc b/quickbi-public/src/model/ListPortalMenusResult.cc new file mode 100644 index 000000000..323c4378e --- /dev/null +++ b/quickbi-public/src/model/ListPortalMenusResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +ListPortalMenusResult::ListPortalMenusResult() : + ServiceResult() +{} + +ListPortalMenusResult::ListPortalMenusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListPortalMenusResult::~ListPortalMenusResult() +{} + +void ListPortalMenusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool ListPortalMenusResult::getSuccess()const +{ + return success_; +} + +std::string ListPortalMenusResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/ListUserGroupsByUserIdRequest.cc b/quickbi-public/src/model/ListUserGroupsByUserIdRequest.cc new file mode 100644 index 000000000..c557c84d7 --- /dev/null +++ b/quickbi-public/src/model/ListUserGroupsByUserIdRequest.cc @@ -0,0 +1,62 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::ListUserGroupsByUserIdRequest; + +ListUserGroupsByUserIdRequest::ListUserGroupsByUserIdRequest() : + RpcServiceRequest("quickbi-public", "2020-07-31", "ListUserGroupsByUserId") +{ + setMethod(HttpRequest::Method::Post); +} + +ListUserGroupsByUserIdRequest::~ListUserGroupsByUserIdRequest() +{} + +std::string ListUserGroupsByUserIdRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void ListUserGroupsByUserIdRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string ListUserGroupsByUserIdRequest::getSignType()const +{ + return signType_; +} + +void ListUserGroupsByUserIdRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string ListUserGroupsByUserIdRequest::getUserId()const +{ + return userId_; +} + +void ListUserGroupsByUserIdRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); +} + diff --git a/quickbi-public/src/model/ListUserGroupsByUserIdResult.cc b/quickbi-public/src/model/ListUserGroupsByUserIdResult.cc new file mode 100644 index 000000000..193497abb --- /dev/null +++ b/quickbi-public/src/model/ListUserGroupsByUserIdResult.cc @@ -0,0 +1,80 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +ListUserGroupsByUserIdResult::ListUserGroupsByUserIdResult() : + ServiceResult() +{} + +ListUserGroupsByUserIdResult::ListUserGroupsByUserIdResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListUserGroupsByUserIdResult::~ListUserGroupsByUserIdResult() +{} + +void ListUserGroupsByUserIdResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResultNode = value["Result"]["Data"]; + for (auto valueResultData : allResultNode) + { + Data resultObject; + if(!valueResultData["UsergroupId"].isNull()) + resultObject.usergroupId = valueResultData["UsergroupId"].asString(); + if(!valueResultData["UsergroupName"].isNull()) + resultObject.usergroupName = valueResultData["UsergroupName"].asString(); + if(!valueResultData["UsergroupDesc"].isNull()) + resultObject.usergroupDesc = valueResultData["UsergroupDesc"].asString(); + if(!valueResultData["ParentUsergroupId"].isNull()) + resultObject.parentUsergroupId = valueResultData["ParentUsergroupId"].asString(); + if(!valueResultData["IdentifiedPath"].isNull()) + resultObject.identifiedPath = valueResultData["IdentifiedPath"].asString(); + if(!valueResultData["CreateUser"].isNull()) + resultObject.createUser = valueResultData["CreateUser"].asString(); + if(!valueResultData["ModifyUser"].isNull()) + resultObject.modifyUser = valueResultData["ModifyUser"].asString(); + if(!valueResultData["CreateTime"].isNull()) + resultObject.createTime = valueResultData["CreateTime"].asString(); + if(!valueResultData["ModifiedTime"].isNull()) + resultObject.modifiedTime = valueResultData["ModifiedTime"].asString(); + result_.push_back(resultObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool ListUserGroupsByUserIdResult::getSuccess()const +{ + return success_; +} + +std::vector ListUserGroupsByUserIdResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/QueryDataServiceRequest.cc b/quickbi-public/src/model/QueryDataServiceRequest.cc new file mode 100644 index 000000000..bcaf9f952 --- /dev/null +++ b/quickbi-public/src/model/QueryDataServiceRequest.cc @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::QueryDataServiceRequest; + +QueryDataServiceRequest::QueryDataServiceRequest() : + RpcServiceRequest("quickbi-public", "2020-07-30", "QueryDataService") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryDataServiceRequest::~QueryDataServiceRequest() +{} + +std::string QueryDataServiceRequest::getReturnFields()const +{ + return returnFields_; +} + +void QueryDataServiceRequest::setReturnFields(const std::string& returnFields) +{ + returnFields_ = returnFields; + setParameter("ReturnFields", returnFields); +} + +std::string QueryDataServiceRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void QueryDataServiceRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string QueryDataServiceRequest::getSignType()const +{ + return signType_; +} + +void QueryDataServiceRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string QueryDataServiceRequest::getConditions()const +{ + return conditions_; +} + +void QueryDataServiceRequest::setConditions(const std::string& conditions) +{ + conditions_ = conditions; + setParameter("Conditions", conditions); +} + +std::string QueryDataServiceRequest::getApiId()const +{ + return apiId_; +} + +void QueryDataServiceRequest::setApiId(const std::string& apiId) +{ + apiId_ = apiId; + setParameter("ApiId", apiId); +} + diff --git a/quickbi-public/src/model/QueryDataServiceResult.cc b/quickbi-public/src/model/QueryDataServiceResult.cc new file mode 100644 index 000000000..a88a273a3 --- /dev/null +++ b/quickbi-public/src/model/QueryDataServiceResult.cc @@ -0,0 +1,80 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +QueryDataServiceResult::QueryDataServiceResult() : + ServiceResult() +{} + +QueryDataServiceResult::QueryDataServiceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryDataServiceResult::~QueryDataServiceResult() +{} + +void QueryDataServiceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["Sql"].isNull()) + result_.sql = resultNode["Sql"].asString(); + auto allHeadersNode = resultNode["Headers"]["HeadersItem"]; + for (auto resultNodeHeadersHeadersItem : allHeadersNode) + { + Result::HeadersItem headersItemObject; + if(!resultNodeHeadersHeadersItem["Label"].isNull()) + headersItemObject.label = resultNodeHeadersHeadersItem["Label"].asString(); + if(!resultNodeHeadersHeadersItem["Type"].isNull()) + headersItemObject.type = resultNodeHeadersHeadersItem["Type"].asString(); + if(!resultNodeHeadersHeadersItem["DataType"].isNull()) + headersItemObject.dataType = resultNodeHeadersHeadersItem["DataType"].asString(); + if(!resultNodeHeadersHeadersItem["Column"].isNull()) + headersItemObject.column = resultNodeHeadersHeadersItem["Column"].asString(); + if(!resultNodeHeadersHeadersItem["Aggregator"].isNull()) + headersItemObject.aggregator = resultNodeHeadersHeadersItem["Aggregator"].asString(); + if(!resultNodeHeadersHeadersItem["Granularity"].isNull()) + headersItemObject.granularity = resultNodeHeadersHeadersItem["Granularity"].asString(); + result_.headers.push_back(headersItemObject); + } + auto allValues = resultNode["Values"]["Values"]; + for (auto value : allValues) + result_.values.push_back(value.asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool QueryDataServiceResult::getSuccess()const +{ + return success_; +} + +QueryDataServiceResult::Result QueryDataServiceResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/QueryDatasetDetailInfoRequest.cc b/quickbi-public/src/model/QueryDatasetDetailInfoRequest.cc new file mode 100644 index 000000000..f90524762 --- /dev/null +++ b/quickbi-public/src/model/QueryDatasetDetailInfoRequest.cc @@ -0,0 +1,62 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::QueryDatasetDetailInfoRequest; + +QueryDatasetDetailInfoRequest::QueryDatasetDetailInfoRequest() : + RpcServiceRequest("quickbi-public", "2020-08-06", "QueryDatasetDetailInfo") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryDatasetDetailInfoRequest::~QueryDatasetDetailInfoRequest() +{} + +std::string QueryDatasetDetailInfoRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void QueryDatasetDetailInfoRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string QueryDatasetDetailInfoRequest::getDatasetId()const +{ + return datasetId_; +} + +void QueryDatasetDetailInfoRequest::setDatasetId(const std::string& datasetId) +{ + datasetId_ = datasetId; + setParameter("DatasetId", datasetId); +} + +std::string QueryDatasetDetailInfoRequest::getSignType()const +{ + return signType_; +} + +void QueryDatasetDetailInfoRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + diff --git a/quickbi-public/src/model/QueryDatasetDetailInfoResult.cc b/quickbi-public/src/model/QueryDatasetDetailInfoResult.cc new file mode 100644 index 000000000..8c3e635da --- /dev/null +++ b/quickbi-public/src/model/QueryDatasetDetailInfoResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +QueryDatasetDetailInfoResult::QueryDatasetDetailInfoResult() : + ServiceResult() +{} + +QueryDatasetDetailInfoResult::QueryDatasetDetailInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryDatasetDetailInfoResult::~QueryDatasetDetailInfoResult() +{} + +void QueryDatasetDetailInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool QueryDatasetDetailInfoResult::getSuccess()const +{ + return success_; +} + +std::string QueryDatasetDetailInfoResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/QueryDatasetInfoRequest.cc b/quickbi-public/src/model/QueryDatasetInfoRequest.cc new file mode 100644 index 000000000..6f8769f3e --- /dev/null +++ b/quickbi-public/src/model/QueryDatasetInfoRequest.cc @@ -0,0 +1,62 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::QueryDatasetInfoRequest; + +QueryDatasetInfoRequest::QueryDatasetInfoRequest() : + RpcServiceRequest("quickbi-public", "2020-08-06", "QueryDatasetInfo") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryDatasetInfoRequest::~QueryDatasetInfoRequest() +{} + +std::string QueryDatasetInfoRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void QueryDatasetInfoRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string QueryDatasetInfoRequest::getDatasetId()const +{ + return datasetId_; +} + +void QueryDatasetInfoRequest::setDatasetId(const std::string& datasetId) +{ + datasetId_ = datasetId; + setParameter("DatasetId", datasetId); +} + +std::string QueryDatasetInfoRequest::getSignType()const +{ + return signType_; +} + +void QueryDatasetInfoRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + diff --git a/quickbi-public/src/model/QueryDatasetInfoResult.cc b/quickbi-public/src/model/QueryDatasetInfoResult.cc new file mode 100644 index 000000000..939204236 --- /dev/null +++ b/quickbi-public/src/model/QueryDatasetInfoResult.cc @@ -0,0 +1,158 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +QueryDatasetInfoResult::QueryDatasetInfoResult() : + ServiceResult() +{} + +QueryDatasetInfoResult::QueryDatasetInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryDatasetInfoResult::~QueryDatasetInfoResult() +{} + +void QueryDatasetInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["GmtModify"].isNull()) + result_.gmtModify = resultNode["GmtModify"].asString(); + if(!resultNode["DsName"].isNull()) + result_.dsName = resultNode["DsName"].asString(); + if(!resultNode["DsId"].isNull()) + result_.dsId = resultNode["DsId"].asString(); + if(!resultNode["OwnerName"].isNull()) + result_.ownerName = resultNode["OwnerName"].asString(); + if(!resultNode["WorkspaceName"].isNull()) + result_.workspaceName = resultNode["WorkspaceName"].asString(); + if(!resultNode["OwnerId"].isNull()) + result_.ownerId = resultNode["OwnerId"].asString(); + if(!resultNode["DatasetName"].isNull()) + result_.datasetName = resultNode["DatasetName"].asString(); + if(!resultNode["RowLevel"].isNull()) + result_.rowLevel = resultNode["RowLevel"].asString() == "true"; + if(!resultNode["WorkspaceId"].isNull()) + result_.workspaceId = resultNode["WorkspaceId"].asString(); + if(!resultNode["CustimzeSql"].isNull()) + result_.custimzeSql = resultNode["CustimzeSql"].asString() == "true"; + if(!resultNode["GmtCreate"].isNull()) + result_.gmtCreate = resultNode["GmtCreate"].asString(); + if(!resultNode["DsType"].isNull()) + result_.dsType = resultNode["DsType"].asString(); + if(!resultNode["DatasetId"].isNull()) + result_.datasetId = resultNode["DatasetId"].asString(); + auto allCubeTableListNode = resultNode["CubeTableList"]["CubeTableListItem"]; + for (auto resultNodeCubeTableListCubeTableListItem : allCubeTableListNode) + { + Result::CubeTableListItem cubeTableListItemObject; + if(!resultNodeCubeTableListCubeTableListItem["TableName"].isNull()) + cubeTableListItemObject.tableName = resultNodeCubeTableListCubeTableListItem["TableName"].asString(); + if(!resultNodeCubeTableListCubeTableListItem["DatasourceId"].isNull()) + cubeTableListItemObject.datasourceId = resultNodeCubeTableListCubeTableListItem["DatasourceId"].asString(); + if(!resultNodeCubeTableListCubeTableListItem["DsType"].isNull()) + cubeTableListItemObject.dsType = resultNodeCubeTableListCubeTableListItem["DsType"].asString(); + if(!resultNodeCubeTableListCubeTableListItem["UniqueId"].isNull()) + cubeTableListItemObject.uniqueId = resultNodeCubeTableListCubeTableListItem["UniqueId"].asString(); + if(!resultNodeCubeTableListCubeTableListItem["FactTable"].isNull()) + cubeTableListItemObject.factTable = resultNodeCubeTableListCubeTableListItem["FactTable"].asString() == "true"; + if(!resultNodeCubeTableListCubeTableListItem["Caption"].isNull()) + cubeTableListItemObject.caption = resultNodeCubeTableListCubeTableListItem["Caption"].asString(); + if(!resultNodeCubeTableListCubeTableListItem["Customsql"].isNull()) + cubeTableListItemObject.customsql = resultNodeCubeTableListCubeTableListItem["Customsql"].asString() == "true"; + if(!resultNodeCubeTableListCubeTableListItem["Sql"].isNull()) + cubeTableListItemObject.sql = resultNodeCubeTableListCubeTableListItem["Sql"].asString(); + result_.cubeTableList.push_back(cubeTableListItemObject); + } + auto allDimensionListNode = resultNode["DimensionList"]["DimensionListItem"]; + for (auto resultNodeDimensionListDimensionListItem : allDimensionListNode) + { + Result::DimensionListItem dimensionListItemObject; + if(!resultNodeDimensionListDimensionListItem["DataType"].isNull()) + dimensionListItemObject.dataType = resultNodeDimensionListDimensionListItem["DataType"].asString(); + if(!resultNodeDimensionListDimensionListItem["Expression"].isNull()) + dimensionListItemObject.expression = resultNodeDimensionListDimensionListItem["Expression"].asString(); + if(!resultNodeDimensionListDimensionListItem["FactColumn"].isNull()) + dimensionListItemObject.factColumn = resultNodeDimensionListDimensionListItem["FactColumn"].asString(); + if(!resultNodeDimensionListDimensionListItem["DimensionType"].isNull()) + dimensionListItemObject.dimensionType = resultNodeDimensionListDimensionListItem["DimensionType"].asString(); + if(!resultNodeDimensionListDimensionListItem["Granularity"].isNull()) + dimensionListItemObject.granularity = resultNodeDimensionListDimensionListItem["Granularity"].asString(); + if(!resultNodeDimensionListDimensionListItem["RefUid"].isNull()) + dimensionListItemObject.refUid = resultNodeDimensionListDimensionListItem["RefUid"].asString(); + if(!resultNodeDimensionListDimensionListItem["Caption"].isNull()) + dimensionListItemObject.caption = resultNodeDimensionListDimensionListItem["Caption"].asString(); + if(!resultNodeDimensionListDimensionListItem["Uid"].isNull()) + dimensionListItemObject.uid = resultNodeDimensionListDimensionListItem["Uid"].asString(); + if(!resultNodeDimensionListDimensionListItem["TableUniqueId"].isNull()) + dimensionListItemObject.tableUniqueId = resultNodeDimensionListDimensionListItem["TableUniqueId"].asString(); + result_.dimensionList.push_back(dimensionListItemObject); + } + auto allMeasureListNode = resultNode["MeasureList"]["MeasureListItem"]; + for (auto resultNodeMeasureListMeasureListItem : allMeasureListNode) + { + Result::MeasureListItem measureListItemObject; + if(!resultNodeMeasureListMeasureListItem["DataType"].isNull()) + measureListItemObject.dataType = resultNodeMeasureListMeasureListItem["DataType"].asString(); + if(!resultNodeMeasureListMeasureListItem["Expression"].isNull()) + measureListItemObject.expression = resultNodeMeasureListMeasureListItem["Expression"].asString(); + if(!resultNodeMeasureListMeasureListItem["MeasureType"].isNull()) + measureListItemObject.measureType = resultNodeMeasureListMeasureListItem["MeasureType"].asString(); + if(!resultNodeMeasureListMeasureListItem["FactColumn"].isNull()) + measureListItemObject.factColumn = resultNodeMeasureListMeasureListItem["FactColumn"].asString(); + if(!resultNodeMeasureListMeasureListItem["Caption"].isNull()) + measureListItemObject.caption = resultNodeMeasureListMeasureListItem["Caption"].asString(); + if(!resultNodeMeasureListMeasureListItem["TableUniqueId"].isNull()) + measureListItemObject.tableUniqueId = resultNodeMeasureListMeasureListItem["TableUniqueId"].asString(); + if(!resultNodeMeasureListMeasureListItem["Uid"].isNull()) + measureListItemObject.uid = resultNodeMeasureListMeasureListItem["Uid"].asString(); + result_.measureList.push_back(measureListItemObject); + } + auto directoryNode = resultNode["Directory"]; + if(!directoryNode["PathId"].isNull()) + result_.directory.pathId = directoryNode["PathId"].asString(); + if(!directoryNode["PathName"].isNull()) + result_.directory.pathName = directoryNode["PathName"].asString(); + if(!directoryNode["Name"].isNull()) + result_.directory.name = directoryNode["Name"].asString(); + if(!directoryNode["Id"].isNull()) + result_.directory.id = directoryNode["Id"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool QueryDatasetInfoResult::getSuccess()const +{ + return success_; +} + +QueryDatasetInfoResult::Result QueryDatasetInfoResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/QueryDatasetListRequest.cc b/quickbi-public/src/model/QueryDatasetListRequest.cc new file mode 100644 index 000000000..0539573b5 --- /dev/null +++ b/quickbi-public/src/model/QueryDatasetListRequest.cc @@ -0,0 +1,117 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::QueryDatasetListRequest; + +QueryDatasetListRequest::QueryDatasetListRequest() : + RpcServiceRequest("quickbi-public", "2020-08-06", "QueryDatasetList") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryDatasetListRequest::~QueryDatasetListRequest() +{} + +std::string QueryDatasetListRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void QueryDatasetListRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +int QueryDatasetListRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryDatasetListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string QueryDatasetListRequest::getSignType()const +{ + return signType_; +} + +void QueryDatasetListRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string QueryDatasetListRequest::getDirectoryId()const +{ + return directoryId_; +} + +void QueryDatasetListRequest::setDirectoryId(const std::string& directoryId) +{ + directoryId_ = directoryId; + setParameter("DirectoryId", directoryId); +} + +bool QueryDatasetListRequest::getWithChildren()const +{ + return withChildren_; +} + +void QueryDatasetListRequest::setWithChildren(bool withChildren) +{ + withChildren_ = withChildren; + setParameter("WithChildren", withChildren ? "true" : "false"); +} + +std::string QueryDatasetListRequest::getKeyword()const +{ + return keyword_; +} + +void QueryDatasetListRequest::setKeyword(const std::string& keyword) +{ + keyword_ = keyword; + setParameter("Keyword", keyword); +} + +int QueryDatasetListRequest::getPageNum()const +{ + return pageNum_; +} + +void QueryDatasetListRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +std::string QueryDatasetListRequest::getWorkspaceId()const +{ + return workspaceId_; +} + +void QueryDatasetListRequest::setWorkspaceId(const std::string& workspaceId) +{ + workspaceId_ = workspaceId; + setParameter("WorkspaceId", workspaceId); +} + diff --git a/quickbi-public/src/model/QueryDatasetListResult.cc b/quickbi-public/src/model/QueryDatasetListResult.cc new file mode 100644 index 000000000..8a8612296 --- /dev/null +++ b/quickbi-public/src/model/QueryDatasetListResult.cc @@ -0,0 +1,107 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +QueryDatasetListResult::QueryDatasetListResult() : + ServiceResult() +{} + +QueryDatasetListResult::QueryDatasetListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryDatasetListResult::~QueryDatasetListResult() +{} + +void QueryDatasetListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["PageNum"].isNull()) + result_.pageNum = std::stoi(resultNode["PageNum"].asString()); + if(!resultNode["PageSize"].isNull()) + result_.pageSize = std::stoi(resultNode["PageSize"].asString()); + if(!resultNode["TotalNum"].isNull()) + result_.totalNum = std::stoi(resultNode["TotalNum"].asString()); + if(!resultNode["TotalPages"].isNull()) + result_.totalPages = std::stoi(resultNode["TotalPages"].asString()); + auto allDataNode = resultNode["Data"]["DataItem"]; + for (auto resultNodeDataDataItem : allDataNode) + { + Result::DataItem dataItemObject; + if(!resultNodeDataDataItem["DatasetId"].isNull()) + dataItemObject.datasetId = resultNodeDataDataItem["DatasetId"].asString(); + if(!resultNodeDataDataItem["DatasetName"].isNull()) + dataItemObject.datasetName = resultNodeDataDataItem["DatasetName"].asString(); + if(!resultNodeDataDataItem["Description"].isNull()) + dataItemObject.description = resultNodeDataDataItem["Description"].asString(); + if(!resultNodeDataDataItem["CreateTime"].isNull()) + dataItemObject.createTime = resultNodeDataDataItem["CreateTime"].asString(); + if(!resultNodeDataDataItem["ModifyTime"].isNull()) + dataItemObject.modifyTime = resultNodeDataDataItem["ModifyTime"].asString(); + if(!resultNodeDataDataItem["OwnerId"].isNull()) + dataItemObject.ownerId = resultNodeDataDataItem["OwnerId"].asString(); + if(!resultNodeDataDataItem["OwnerName"].isNull()) + dataItemObject.ownerName = resultNodeDataDataItem["OwnerName"].asString(); + if(!resultNodeDataDataItem["RowLevel"].isNull()) + dataItemObject.rowLevel = resultNodeDataDataItem["RowLevel"].asString() == "true"; + if(!resultNodeDataDataItem["WorkspaceId"].isNull()) + dataItemObject.workspaceId = resultNodeDataDataItem["WorkspaceId"].asString(); + if(!resultNodeDataDataItem["WorkspaceName"].isNull()) + dataItemObject.workspaceName = resultNodeDataDataItem["WorkspaceName"].asString(); + auto dataSourceNode = value["DataSource"]; + if(!dataSourceNode["DsId"].isNull()) + dataItemObject.dataSource.dsId = dataSourceNode["DsId"].asString(); + if(!dataSourceNode["DsName"].isNull()) + dataItemObject.dataSource.dsName = dataSourceNode["DsName"].asString(); + if(!dataSourceNode["DsType"].isNull()) + dataItemObject.dataSource.dsType = dataSourceNode["DsType"].asString(); + auto directoryNode = value["Directory"]; + if(!directoryNode["Id"].isNull()) + dataItemObject.directory.id = directoryNode["Id"].asString(); + if(!directoryNode["Name"].isNull()) + dataItemObject.directory.name = directoryNode["Name"].asString(); + if(!directoryNode["PathId"].isNull()) + dataItemObject.directory.pathId = directoryNode["PathId"].asString(); + if(!directoryNode["PathName"].isNull()) + dataItemObject.directory.pathName = directoryNode["PathName"].asString(); + result_.data.push_back(dataItemObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool QueryDatasetListResult::getSuccess()const +{ + return success_; +} + +QueryDatasetListResult::Result QueryDatasetListResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/QueryDatasetSwitchInfoRequest.cc b/quickbi-public/src/model/QueryDatasetSwitchInfoRequest.cc new file mode 100644 index 000000000..5d76bcbe0 --- /dev/null +++ b/quickbi-public/src/model/QueryDatasetSwitchInfoRequest.cc @@ -0,0 +1,62 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::QueryDatasetSwitchInfoRequest; + +QueryDatasetSwitchInfoRequest::QueryDatasetSwitchInfoRequest() : + RpcServiceRequest("quickbi-public", "2020-11-11", "QueryDatasetSwitchInfo") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryDatasetSwitchInfoRequest::~QueryDatasetSwitchInfoRequest() +{} + +std::string QueryDatasetSwitchInfoRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void QueryDatasetSwitchInfoRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string QueryDatasetSwitchInfoRequest::getSignType()const +{ + return signType_; +} + +void QueryDatasetSwitchInfoRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string QueryDatasetSwitchInfoRequest::getCubeId()const +{ + return cubeId_; +} + +void QueryDatasetSwitchInfoRequest::setCubeId(const std::string& cubeId) +{ + cubeId_ = cubeId; + setParameter("CubeId", cubeId); +} + diff --git a/quickbi-public/src/model/QueryDatasetSwitchInfoResult.cc b/quickbi-public/src/model/QueryDatasetSwitchInfoResult.cc new file mode 100644 index 000000000..370423e19 --- /dev/null +++ b/quickbi-public/src/model/QueryDatasetSwitchInfoResult.cc @@ -0,0 +1,63 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +QueryDatasetSwitchInfoResult::QueryDatasetSwitchInfoResult() : + ServiceResult() +{} + +QueryDatasetSwitchInfoResult::QueryDatasetSwitchInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryDatasetSwitchInfoResult::~QueryDatasetSwitchInfoResult() +{} + +void QueryDatasetSwitchInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["IsOpenRowLevelPermission"].isNull()) + result_.isOpenRowLevelPermission = std::stoi(resultNode["IsOpenRowLevelPermission"].asString()); + if(!resultNode["CubeId"].isNull()) + result_.cubeId = resultNode["CubeId"].asString(); + if(!resultNode["IsOpenColumnLevelPermission"].isNull()) + result_.isOpenColumnLevelPermission = std::stoi(resultNode["IsOpenColumnLevelPermission"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool QueryDatasetSwitchInfoResult::getSuccess()const +{ + return success_; +} + +QueryDatasetSwitchInfoResult::Result QueryDatasetSwitchInfoResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/QueryEmbedTokenInfoRequest.cc b/quickbi-public/src/model/QueryEmbedTokenInfoRequest.cc new file mode 100644 index 000000000..04ac55fb8 --- /dev/null +++ b/quickbi-public/src/model/QueryEmbedTokenInfoRequest.cc @@ -0,0 +1,73 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::QueryEmbedTokenInfoRequest; + +QueryEmbedTokenInfoRequest::QueryEmbedTokenInfoRequest() : + RpcServiceRequest("quickbi-public", "2021-03-25", "QueryEmbedTokenInfo") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryEmbedTokenInfoRequest::~QueryEmbedTokenInfoRequest() +{} + +std::string QueryEmbedTokenInfoRequest::getClientToken()const +{ + return clientToken_; +} + +void QueryEmbedTokenInfoRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); +} + +std::string QueryEmbedTokenInfoRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void QueryEmbedTokenInfoRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string QueryEmbedTokenInfoRequest::getSignType()const +{ + return signType_; +} + +void QueryEmbedTokenInfoRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string QueryEmbedTokenInfoRequest::getToken()const +{ + return token_; +} + +void QueryEmbedTokenInfoRequest::setToken(const std::string& token) +{ + token_ = token; + setParameter("Token", token); +} + diff --git a/quickbi-public/src/model/QueryEmbedTokenInfoResult.cc b/quickbi-public/src/model/QueryEmbedTokenInfoResult.cc new file mode 100644 index 000000000..3474fabda --- /dev/null +++ b/quickbi-public/src/model/QueryEmbedTokenInfoResult.cc @@ -0,0 +1,65 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +QueryEmbedTokenInfoResult::QueryEmbedTokenInfoResult() : + ServiceResult() +{} + +QueryEmbedTokenInfoResult::QueryEmbedTokenInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryEmbedTokenInfoResult::~QueryEmbedTokenInfoResult() +{} + +void QueryEmbedTokenInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["AccessToken"].isNull()) + result_.accessToken = resultNode["AccessToken"].asString(); + if(!resultNode["TokeType"].isNull()) + result_.tokeType = std::stol(resultNode["TokeType"].asString()); + if(!resultNode["InvalidTime"].isNull()) + result_.invalidTime = resultNode["InvalidTime"].asString(); + if(!resultNode["RegisterTime"].isNull()) + result_.registerTime = resultNode["RegisterTime"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool QueryEmbedTokenInfoResult::getSuccess()const +{ + return success_; +} + +QueryEmbedTokenInfoResult::Result QueryEmbedTokenInfoResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/QueryEmbeddedInfoRequest.cc b/quickbi-public/src/model/QueryEmbeddedInfoRequest.cc new file mode 100644 index 000000000..1f877dfb4 --- /dev/null +++ b/quickbi-public/src/model/QueryEmbeddedInfoRequest.cc @@ -0,0 +1,51 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::QueryEmbeddedInfoRequest; + +QueryEmbeddedInfoRequest::QueryEmbeddedInfoRequest() : + RpcServiceRequest("quickbi-public", "2020-08-07", "QueryEmbeddedInfo") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryEmbeddedInfoRequest::~QueryEmbeddedInfoRequest() +{} + +std::string QueryEmbeddedInfoRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void QueryEmbeddedInfoRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string QueryEmbeddedInfoRequest::getSignType()const +{ + return signType_; +} + +void QueryEmbeddedInfoRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + diff --git a/quickbi-public/src/model/QueryEmbeddedInfoResult.cc b/quickbi-public/src/model/QueryEmbeddedInfoResult.cc new file mode 100644 index 000000000..468e7cb49 --- /dev/null +++ b/quickbi-public/src/model/QueryEmbeddedInfoResult.cc @@ -0,0 +1,68 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +QueryEmbeddedInfoResult::QueryEmbeddedInfoResult() : + ServiceResult() +{} + +QueryEmbeddedInfoResult::QueryEmbeddedInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryEmbeddedInfoResult::~QueryEmbeddedInfoResult() +{} + +void QueryEmbeddedInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["MaxCount"].isNull()) + result_.maxCount = std::stoi(resultNode["MaxCount"].asString()); + if(!resultNode["EmbeddedCount"].isNull()) + result_.embeddedCount = std::stoi(resultNode["EmbeddedCount"].asString()); + auto detailNode = resultNode["Detail"]; + if(!detailNode["Report"].isNull()) + result_.detail.report = std::stoi(detailNode["Report"].asString()); + if(!detailNode["Page"].isNull()) + result_.detail.page = std::stoi(detailNode["Page"].asString()); + if(!detailNode["DashboardOfflineQuery"].isNull()) + result_.detail.dashboardOfflineQuery = std::stoi(detailNode["DashboardOfflineQuery"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool QueryEmbeddedInfoResult::getSuccess()const +{ + return success_; +} + +QueryEmbeddedInfoResult::Result QueryEmbeddedInfoResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/QueryEmbeddedStausRequest.cc b/quickbi-public/src/model/QueryEmbeddedStausRequest.cc new file mode 100644 index 000000000..7c3aa4f58 --- /dev/null +++ b/quickbi-public/src/model/QueryEmbeddedStausRequest.cc @@ -0,0 +1,62 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::QueryEmbeddedStausRequest; + +QueryEmbeddedStausRequest::QueryEmbeddedStausRequest() : + RpcServiceRequest("quickbi-public", "2020-08-07", "QueryEmbeddedStaus") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryEmbeddedStausRequest::~QueryEmbeddedStausRequest() +{} + +std::string QueryEmbeddedStausRequest::getWorksId()const +{ + return worksId_; +} + +void QueryEmbeddedStausRequest::setWorksId(const std::string& worksId) +{ + worksId_ = worksId; + setParameter("WorksId", worksId); +} + +std::string QueryEmbeddedStausRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void QueryEmbeddedStausRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string QueryEmbeddedStausRequest::getSignType()const +{ + return signType_; +} + +void QueryEmbeddedStausRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + diff --git a/quickbi-public/src/model/QueryEmbeddedStausResult.cc b/quickbi-public/src/model/QueryEmbeddedStausResult.cc new file mode 100644 index 000000000..225a53a40 --- /dev/null +++ b/quickbi-public/src/model/QueryEmbeddedStausResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +QueryEmbeddedStausResult::QueryEmbeddedStausResult() : + ServiceResult() +{} + +QueryEmbeddedStausResult::QueryEmbeddedStausResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryEmbeddedStausResult::~QueryEmbeddedStausResult() +{} + +void QueryEmbeddedStausResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + +} + +bool QueryEmbeddedStausResult::getSuccess()const +{ + return success_; +} + +bool QueryEmbeddedStausResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/QueryOrganizationWorkspaceListRequest.cc b/quickbi-public/src/model/QueryOrganizationWorkspaceListRequest.cc new file mode 100644 index 000000000..5bfe6314c --- /dev/null +++ b/quickbi-public/src/model/QueryOrganizationWorkspaceListRequest.cc @@ -0,0 +1,95 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::QueryOrganizationWorkspaceListRequest; + +QueryOrganizationWorkspaceListRequest::QueryOrganizationWorkspaceListRequest() : + RpcServiceRequest("quickbi-public", "2020-08-03", "QueryOrganizationWorkspaceList") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryOrganizationWorkspaceListRequest::~QueryOrganizationWorkspaceListRequest() +{} + +std::string QueryOrganizationWorkspaceListRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void QueryOrganizationWorkspaceListRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +int QueryOrganizationWorkspaceListRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryOrganizationWorkspaceListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string QueryOrganizationWorkspaceListRequest::getSignType()const +{ + return signType_; +} + +void QueryOrganizationWorkspaceListRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string QueryOrganizationWorkspaceListRequest::getKeyword()const +{ + return keyword_; +} + +void QueryOrganizationWorkspaceListRequest::setKeyword(const std::string& keyword) +{ + keyword_ = keyword; + setParameter("Keyword", keyword); +} + +int QueryOrganizationWorkspaceListRequest::getPageNum()const +{ + return pageNum_; +} + +void QueryOrganizationWorkspaceListRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +std::string QueryOrganizationWorkspaceListRequest::getUserId()const +{ + return userId_; +} + +void QueryOrganizationWorkspaceListRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); +} + diff --git a/quickbi-public/src/model/QueryOrganizationWorkspaceListResult.cc b/quickbi-public/src/model/QueryOrganizationWorkspaceListResult.cc new file mode 100644 index 000000000..4b57036f5 --- /dev/null +++ b/quickbi-public/src/model/QueryOrganizationWorkspaceListResult.cc @@ -0,0 +1,99 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +QueryOrganizationWorkspaceListResult::QueryOrganizationWorkspaceListResult() : + ServiceResult() +{} + +QueryOrganizationWorkspaceListResult::QueryOrganizationWorkspaceListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryOrganizationWorkspaceListResult::~QueryOrganizationWorkspaceListResult() +{} + +void QueryOrganizationWorkspaceListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["TotalNum"].isNull()) + result_.totalNum = std::stoi(resultNode["TotalNum"].asString()); + if(!resultNode["TotalPages"].isNull()) + result_.totalPages = std::stoi(resultNode["TotalPages"].asString()); + if(!resultNode["PageNum"].isNull()) + result_.pageNum = std::stoi(resultNode["PageNum"].asString()); + if(!resultNode["PageSize"].isNull()) + result_.pageSize = std::stoi(resultNode["PageSize"].asString()); + auto allDataNode = resultNode["Data"]["DataItem"]; + for (auto resultNodeDataDataItem : allDataNode) + { + Result::DataItem dataItemObject; + if(!resultNodeDataDataItem["WorkspaceId"].isNull()) + dataItemObject.workspaceId = resultNodeDataDataItem["WorkspaceId"].asString(); + if(!resultNodeDataDataItem["WorkspaceName"].isNull()) + dataItemObject.workspaceName = resultNodeDataDataItem["WorkspaceName"].asString(); + if(!resultNodeDataDataItem["WorkspaceDescription"].isNull()) + dataItemObject.workspaceDescription = resultNodeDataDataItem["WorkspaceDescription"].asString(); + if(!resultNodeDataDataItem["OrganizationId"].isNull()) + dataItemObject.organizationId = resultNodeDataDataItem["OrganizationId"].asString(); + if(!resultNodeDataDataItem["Owner"].isNull()) + dataItemObject.owner = resultNodeDataDataItem["Owner"].asString(); + if(!resultNodeDataDataItem["OwnerAccountName"].isNull()) + dataItemObject.ownerAccountName = resultNodeDataDataItem["OwnerAccountName"].asString(); + if(!resultNodeDataDataItem["CreateUser"].isNull()) + dataItemObject.createUser = resultNodeDataDataItem["CreateUser"].asString(); + if(!resultNodeDataDataItem["CreateUserAccountName"].isNull()) + dataItemObject.createUserAccountName = resultNodeDataDataItem["CreateUserAccountName"].asString(); + if(!resultNodeDataDataItem["ModifyUser"].isNull()) + dataItemObject.modifyUser = resultNodeDataDataItem["ModifyUser"].asString(); + if(!resultNodeDataDataItem["ModifyUserAccountName"].isNull()) + dataItemObject.modifyUserAccountName = resultNodeDataDataItem["ModifyUserAccountName"].asString(); + if(!resultNodeDataDataItem["CreateTime"].isNull()) + dataItemObject.createTime = resultNodeDataDataItem["CreateTime"].asString(); + if(!resultNodeDataDataItem["ModifiedTime"].isNull()) + dataItemObject.modifiedTime = resultNodeDataDataItem["ModifiedTime"].asString(); + if(!resultNodeDataDataItem["AllowShareOperation"].isNull()) + dataItemObject.allowShareOperation = resultNodeDataDataItem["AllowShareOperation"].asString() == "true"; + if(!resultNodeDataDataItem["AllowPublishOperation"].isNull()) + dataItemObject.allowPublishOperation = resultNodeDataDataItem["AllowPublishOperation"].asString() == "true"; + result_.data.push_back(dataItemObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool QueryOrganizationWorkspaceListResult::getSuccess()const +{ + return success_; +} + +QueryOrganizationWorkspaceListResult::Result QueryOrganizationWorkspaceListResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/QueryReadableResourcesListByUserIdRequest.cc b/quickbi-public/src/model/QueryReadableResourcesListByUserIdRequest.cc new file mode 100644 index 000000000..482981b2b --- /dev/null +++ b/quickbi-public/src/model/QueryReadableResourcesListByUserIdRequest.cc @@ -0,0 +1,62 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::QueryReadableResourcesListByUserIdRequest; + +QueryReadableResourcesListByUserIdRequest::QueryReadableResourcesListByUserIdRequest() : + RpcServiceRequest("quickbi-public", "2020-08-07", "QueryReadableResourcesListByUserId") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryReadableResourcesListByUserIdRequest::~QueryReadableResourcesListByUserIdRequest() +{} + +std::string QueryReadableResourcesListByUserIdRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void QueryReadableResourcesListByUserIdRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string QueryReadableResourcesListByUserIdRequest::getSignType()const +{ + return signType_; +} + +void QueryReadableResourcesListByUserIdRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string QueryReadableResourcesListByUserIdRequest::getUserId()const +{ + return userId_; +} + +void QueryReadableResourcesListByUserIdRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); +} + diff --git a/quickbi-public/src/model/QueryReadableResourcesListByUserIdResult.cc b/quickbi-public/src/model/QueryReadableResourcesListByUserIdResult.cc new file mode 100644 index 000000000..a94a0264f --- /dev/null +++ b/quickbi-public/src/model/QueryReadableResourcesListByUserIdResult.cc @@ -0,0 +1,99 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +QueryReadableResourcesListByUserIdResult::QueryReadableResourcesListByUserIdResult() : + ServiceResult() +{} + +QueryReadableResourcesListByUserIdResult::QueryReadableResourcesListByUserIdResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryReadableResourcesListByUserIdResult::~QueryReadableResourcesListByUserIdResult() +{} + +void QueryReadableResourcesListByUserIdResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResultNode = value["Result"]["Data"]; + for (auto valueResultData : allResultNode) + { + Data resultObject; + if(!valueResultData["WorksId"].isNull()) + resultObject.worksId = valueResultData["WorksId"].asString(); + if(!valueResultData["WorkType"].isNull()) + resultObject.workType = valueResultData["WorkType"].asString(); + if(!valueResultData["WorkName"].isNull()) + resultObject.workName = valueResultData["WorkName"].asString(); + if(!valueResultData["WorkspaceId"].isNull()) + resultObject.workspaceId = valueResultData["WorkspaceId"].asString(); + if(!valueResultData["SecurityLevel"].isNull()) + resultObject.securityLevel = valueResultData["SecurityLevel"].asString(); + if(!valueResultData["Description"].isNull()) + resultObject.description = valueResultData["Description"].asString(); + if(!valueResultData["OwnerId"].isNull()) + resultObject.ownerId = valueResultData["OwnerId"].asString(); + if(!valueResultData["OwnerName"].isNull()) + resultObject.ownerName = valueResultData["OwnerName"].asString(); + if(!valueResultData["ModifyName"].isNull()) + resultObject.modifyName = valueResultData["ModifyName"].asString(); + if(!valueResultData["CreateTime"].isNull()) + resultObject.createTime = valueResultData["CreateTime"].asString(); + if(!valueResultData["ModifyTime"].isNull()) + resultObject.modifyTime = valueResultData["ModifyTime"].asString(); + if(!valueResultData["ThirdPartAuthFlag"].isNull()) + resultObject.thirdPartAuthFlag = std::stoi(valueResultData["ThirdPartAuthFlag"].asString()); + if(!valueResultData["Status"].isNull()) + resultObject.status = std::stoi(valueResultData["Status"].asString()); + if(!valueResultData["WorkspaceName"].isNull()) + resultObject.workspaceName = valueResultData["WorkspaceName"].asString(); + auto directoryNode = value["Directory"]; + if(!directoryNode["Id"].isNull()) + resultObject.directory.id = directoryNode["Id"].asString(); + if(!directoryNode["Name"].isNull()) + resultObject.directory.name = directoryNode["Name"].asString(); + if(!directoryNode["PathId"].isNull()) + resultObject.directory.pathId = directoryNode["PathId"].asString(); + if(!directoryNode["PathName"].isNull()) + resultObject.directory.pathName = directoryNode["PathName"].asString(); + result_.push_back(resultObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool QueryReadableResourcesListByUserIdResult::getSuccess()const +{ + return success_; +} + +std::vector QueryReadableResourcesListByUserIdResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/QueryShareListRequest.cc b/quickbi-public/src/model/QueryShareListRequest.cc new file mode 100644 index 000000000..c0fbb5df6 --- /dev/null +++ b/quickbi-public/src/model/QueryShareListRequest.cc @@ -0,0 +1,62 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::QueryShareListRequest; + +QueryShareListRequest::QueryShareListRequest() : + RpcServiceRequest("quickbi-public", "2020-08-04", "QueryShareList") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryShareListRequest::~QueryShareListRequest() +{} + +std::string QueryShareListRequest::getReportId()const +{ + return reportId_; +} + +void QueryShareListRequest::setReportId(const std::string& reportId) +{ + reportId_ = reportId; + setParameter("ReportId", reportId); +} + +std::string QueryShareListRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void QueryShareListRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string QueryShareListRequest::getSignType()const +{ + return signType_; +} + +void QueryShareListRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + diff --git a/quickbi-public/src/model/QueryShareListResult.cc b/quickbi-public/src/model/QueryShareListResult.cc new file mode 100644 index 000000000..6adb57e8d --- /dev/null +++ b/quickbi-public/src/model/QueryShareListResult.cc @@ -0,0 +1,78 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +QueryShareListResult::QueryShareListResult() : + ServiceResult() +{} + +QueryShareListResult::QueryShareListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryShareListResult::~QueryShareListResult() +{} + +void QueryShareListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResultNode = value["Result"]["Data"]; + for (auto valueResultData : allResultNode) + { + Data resultObject; + if(!valueResultData["ReportId"].isNull()) + resultObject.reportId = valueResultData["ReportId"].asString(); + if(!valueResultData["ShareId"].isNull()) + resultObject.shareId = valueResultData["ShareId"].asString(); + if(!valueResultData["ShareType"].isNull()) + resultObject.shareType = valueResultData["ShareType"].asString(); + if(!valueResultData["ShareToName"].isNull()) + resultObject.shareToName = valueResultData["ShareToName"].asString(); + if(!valueResultData["ShareToType"].isNull()) + resultObject.shareToType = std::stoi(valueResultData["ShareToType"].asString()); + if(!valueResultData["AuthPoint"].isNull()) + resultObject.authPoint = std::stoi(valueResultData["AuthPoint"].asString()); + if(!valueResultData["ExpireDate"].isNull()) + resultObject.expireDate = std::stol(valueResultData["ExpireDate"].asString()); + if(!valueResultData["ShareToId"].isNull()) + resultObject.shareToId = valueResultData["ShareToId"].asString(); + result_.push_back(resultObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool QueryShareListResult::getSuccess()const +{ + return success_; +} + +std::vector QueryShareListResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/QuerySharesToUserListRequest.cc b/quickbi-public/src/model/QuerySharesToUserListRequest.cc new file mode 100644 index 000000000..4e2037d3c --- /dev/null +++ b/quickbi-public/src/model/QuerySharesToUserListRequest.cc @@ -0,0 +1,62 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::QuerySharesToUserListRequest; + +QuerySharesToUserListRequest::QuerySharesToUserListRequest() : + RpcServiceRequest("quickbi-public", "2020-08-04", "QuerySharesToUserList") +{ + setMethod(HttpRequest::Method::Post); +} + +QuerySharesToUserListRequest::~QuerySharesToUserListRequest() +{} + +std::string QuerySharesToUserListRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void QuerySharesToUserListRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string QuerySharesToUserListRequest::getSignType()const +{ + return signType_; +} + +void QuerySharesToUserListRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string QuerySharesToUserListRequest::getUserId()const +{ + return userId_; +} + +void QuerySharesToUserListRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); +} + diff --git a/quickbi-public/src/model/QuerySharesToUserListResult.cc b/quickbi-public/src/model/QuerySharesToUserListResult.cc new file mode 100644 index 000000000..e86f36795 --- /dev/null +++ b/quickbi-public/src/model/QuerySharesToUserListResult.cc @@ -0,0 +1,99 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +QuerySharesToUserListResult::QuerySharesToUserListResult() : + ServiceResult() +{} + +QuerySharesToUserListResult::QuerySharesToUserListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QuerySharesToUserListResult::~QuerySharesToUserListResult() +{} + +void QuerySharesToUserListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResultNode = value["Result"]["Data"]; + for (auto valueResultData : allResultNode) + { + Data resultObject; + if(!valueResultData["WorksId"].isNull()) + resultObject.worksId = valueResultData["WorksId"].asString(); + if(!valueResultData["WorkType"].isNull()) + resultObject.workType = valueResultData["WorkType"].asString(); + if(!valueResultData["WorkName"].isNull()) + resultObject.workName = valueResultData["WorkName"].asString(); + if(!valueResultData["WorkspaceId"].isNull()) + resultObject.workspaceId = valueResultData["WorkspaceId"].asString(); + if(!valueResultData["WorkspaceName"].isNull()) + resultObject.workspaceName = valueResultData["WorkspaceName"].asString(); + if(!valueResultData["SecurityLevel"].isNull()) + resultObject.securityLevel = valueResultData["SecurityLevel"].asString(); + if(!valueResultData["Description"].isNull()) + resultObject.description = valueResultData["Description"].asString(); + if(!valueResultData["OwnerId"].isNull()) + resultObject.ownerId = valueResultData["OwnerId"].asString(); + if(!valueResultData["OwnerName"].isNull()) + resultObject.ownerName = valueResultData["OwnerName"].asString(); + if(!valueResultData["ModifyName"].isNull()) + resultObject.modifyName = valueResultData["ModifyName"].asString(); + if(!valueResultData["CreateTime"].isNull()) + resultObject.createTime = valueResultData["CreateTime"].asString(); + if(!valueResultData["ModifyTime"].isNull()) + resultObject.modifyTime = valueResultData["ModifyTime"].asString(); + if(!valueResultData["ThirdPartAuthFlag"].isNull()) + resultObject.thirdPartAuthFlag = std::stoi(valueResultData["ThirdPartAuthFlag"].asString()); + if(!valueResultData["Status"].isNull()) + resultObject.status = std::stoi(valueResultData["Status"].asString()); + auto directoryNode = value["Directory"]; + if(!directoryNode["Id"].isNull()) + resultObject.directory.id = directoryNode["Id"].asString(); + if(!directoryNode["Name"].isNull()) + resultObject.directory.name = directoryNode["Name"].asString(); + if(!directoryNode["PathId"].isNull()) + resultObject.directory.pathId = directoryNode["PathId"].asString(); + if(!directoryNode["PathName"].isNull()) + resultObject.directory.pathName = directoryNode["PathName"].asString(); + result_.push_back(resultObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool QuerySharesToUserListResult::getSuccess()const +{ + return success_; +} + +std::vector QuerySharesToUserListResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/QueryUserGroupListByParentIdRequest.cc b/quickbi-public/src/model/QueryUserGroupListByParentIdRequest.cc new file mode 100644 index 000000000..d415c83a2 --- /dev/null +++ b/quickbi-public/src/model/QueryUserGroupListByParentIdRequest.cc @@ -0,0 +1,62 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::QueryUserGroupListByParentIdRequest; + +QueryUserGroupListByParentIdRequest::QueryUserGroupListByParentIdRequest() : + RpcServiceRequest("quickbi-public", "2020-07-31", "QueryUserGroupListByParentId") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryUserGroupListByParentIdRequest::~QueryUserGroupListByParentIdRequest() +{} + +std::string QueryUserGroupListByParentIdRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void QueryUserGroupListByParentIdRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string QueryUserGroupListByParentIdRequest::getSignType()const +{ + return signType_; +} + +void QueryUserGroupListByParentIdRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string QueryUserGroupListByParentIdRequest::getParentUserGroupId()const +{ + return parentUserGroupId_; +} + +void QueryUserGroupListByParentIdRequest::setParentUserGroupId(const std::string& parentUserGroupId) +{ + parentUserGroupId_ = parentUserGroupId; + setParameter("ParentUserGroupId", parentUserGroupId); +} + diff --git a/quickbi-public/src/model/QueryUserGroupListByParentIdResult.cc b/quickbi-public/src/model/QueryUserGroupListByParentIdResult.cc new file mode 100644 index 000000000..8053b3c5d --- /dev/null +++ b/quickbi-public/src/model/QueryUserGroupListByParentIdResult.cc @@ -0,0 +1,80 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +QueryUserGroupListByParentIdResult::QueryUserGroupListByParentIdResult() : + ServiceResult() +{} + +QueryUserGroupListByParentIdResult::QueryUserGroupListByParentIdResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryUserGroupListByParentIdResult::~QueryUserGroupListByParentIdResult() +{} + +void QueryUserGroupListByParentIdResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResultNode = value["Result"]["Data"]; + for (auto valueResultData : allResultNode) + { + Data resultObject; + if(!valueResultData["UserGroupId"].isNull()) + resultObject.userGroupId = valueResultData["UserGroupId"].asString(); + if(!valueResultData["UserGroupName"].isNull()) + resultObject.userGroupName = valueResultData["UserGroupName"].asString(); + if(!valueResultData["UserGroupDescription"].isNull()) + resultObject.userGroupDescription = valueResultData["UserGroupDescription"].asString(); + if(!valueResultData["ParentUserGroupId"].isNull()) + resultObject.parentUserGroupId = valueResultData["ParentUserGroupId"].asString(); + if(!valueResultData["IdentifiedPath"].isNull()) + resultObject.identifiedPath = valueResultData["IdentifiedPath"].asString(); + if(!valueResultData["CreateUser"].isNull()) + resultObject.createUser = valueResultData["CreateUser"].asString(); + if(!valueResultData["ModifyUser"].isNull()) + resultObject.modifyUser = valueResultData["ModifyUser"].asString(); + if(!valueResultData["CreateTime"].isNull()) + resultObject.createTime = valueResultData["CreateTime"].asString(); + if(!valueResultData["ModifiedTime"].isNull()) + resultObject.modifiedTime = valueResultData["ModifiedTime"].asString(); + result_.push_back(resultObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool QueryUserGroupListByParentIdResult::getSuccess()const +{ + return success_; +} + +std::vector QueryUserGroupListByParentIdResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/QueryUserGroupMemberRequest.cc b/quickbi-public/src/model/QueryUserGroupMemberRequest.cc new file mode 100644 index 000000000..73090dea0 --- /dev/null +++ b/quickbi-public/src/model/QueryUserGroupMemberRequest.cc @@ -0,0 +1,73 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::QueryUserGroupMemberRequest; + +QueryUserGroupMemberRequest::QueryUserGroupMemberRequest() : + RpcServiceRequest("quickbi-public", "2020-07-31", "QueryUserGroupMember") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryUserGroupMemberRequest::~QueryUserGroupMemberRequest() +{} + +std::string QueryUserGroupMemberRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void QueryUserGroupMemberRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string QueryUserGroupMemberRequest::getUserGroupId()const +{ + return userGroupId_; +} + +void QueryUserGroupMemberRequest::setUserGroupId(const std::string& userGroupId) +{ + userGroupId_ = userGroupId; + setParameter("UserGroupId", userGroupId); +} + +std::string QueryUserGroupMemberRequest::getSignType()const +{ + return signType_; +} + +void QueryUserGroupMemberRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string QueryUserGroupMemberRequest::getKeyword()const +{ + return keyword_; +} + +void QueryUserGroupMemberRequest::setKeyword(const std::string& keyword) +{ + keyword_ = keyword; + setParameter("Keyword", keyword); +} + diff --git a/quickbi-public/src/model/QueryUserGroupMemberResult.cc b/quickbi-public/src/model/QueryUserGroupMemberResult.cc new file mode 100644 index 000000000..d60fdfde3 --- /dev/null +++ b/quickbi-public/src/model/QueryUserGroupMemberResult.cc @@ -0,0 +1,72 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +QueryUserGroupMemberResult::QueryUserGroupMemberResult() : + ServiceResult() +{} + +QueryUserGroupMemberResult::QueryUserGroupMemberResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryUserGroupMemberResult::~QueryUserGroupMemberResult() +{} + +void QueryUserGroupMemberResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResultNode = value["Result"]["Data"]; + for (auto valueResultData : allResultNode) + { + Data resultObject; + if(!valueResultData["Id"].isNull()) + resultObject.id = valueResultData["Id"].asString(); + if(!valueResultData["Name"].isNull()) + resultObject.name = valueResultData["Name"].asString(); + if(!valueResultData["IsUserGroup"].isNull()) + resultObject.isUserGroup = valueResultData["IsUserGroup"].asString() == "true"; + if(!valueResultData["ParentUserGroupId"].isNull()) + resultObject.parentUserGroupId = valueResultData["ParentUserGroupId"].asString(); + if(!valueResultData["ParentUserGroupName"].isNull()) + resultObject.parentUserGroupName = valueResultData["ParentUserGroupName"].asString(); + result_.push_back(resultObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool QueryUserGroupMemberResult::getSuccess()const +{ + return success_; +} + +std::vector QueryUserGroupMemberResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/QueryUserInfoByAccountRequest.cc b/quickbi-public/src/model/QueryUserInfoByAccountRequest.cc new file mode 100644 index 000000000..35b84f459 --- /dev/null +++ b/quickbi-public/src/model/QueryUserInfoByAccountRequest.cc @@ -0,0 +1,73 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::QueryUserInfoByAccountRequest; + +QueryUserInfoByAccountRequest::QueryUserInfoByAccountRequest() : + RpcServiceRequest("quickbi-public", "2020-08-01", "QueryUserInfoByAccount") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryUserInfoByAccountRequest::~QueryUserInfoByAccountRequest() +{} + +std::string QueryUserInfoByAccountRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void QueryUserInfoByAccountRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +int QueryUserInfoByAccountRequest::getAccountType()const +{ + return accountType_; +} + +void QueryUserInfoByAccountRequest::setAccountType(int accountType) +{ + accountType_ = accountType; + setParameter("AccountType", std::to_string(accountType)); +} + +std::string QueryUserInfoByAccountRequest::getSignType()const +{ + return signType_; +} + +void QueryUserInfoByAccountRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string QueryUserInfoByAccountRequest::getAccount()const +{ + return account_; +} + +void QueryUserInfoByAccountRequest::setAccount(const std::string& account) +{ + account_ = account; + setParameter("Account", account); +} + diff --git a/quickbi-public/src/model/QueryUserInfoByAccountResult.cc b/quickbi-public/src/model/QueryUserInfoByAccountResult.cc new file mode 100644 index 000000000..747ddc2d6 --- /dev/null +++ b/quickbi-public/src/model/QueryUserInfoByAccountResult.cc @@ -0,0 +1,75 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +QueryUserInfoByAccountResult::QueryUserInfoByAccountResult() : + ServiceResult() +{} + +QueryUserInfoByAccountResult::QueryUserInfoByAccountResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryUserInfoByAccountResult::~QueryUserInfoByAccountResult() +{} + +void QueryUserInfoByAccountResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["AccountId"].isNull()) + result_.accountId = resultNode["AccountId"].asString(); + if(!resultNode["AccountName"].isNull()) + result_.accountName = resultNode["AccountName"].asString(); + if(!resultNode["AdminUser"].isNull()) + result_.adminUser = resultNode["AdminUser"].asString() == "true"; + if(!resultNode["AuthAdminUser"].isNull()) + result_.authAdminUser = resultNode["AuthAdminUser"].asString() == "true"; + if(!resultNode["Email"].isNull()) + result_.email = resultNode["Email"].asString(); + if(!resultNode["NickName"].isNull()) + result_.nickName = resultNode["NickName"].asString(); + if(!resultNode["Phone"].isNull()) + result_.phone = resultNode["Phone"].asString(); + if(!resultNode["UserId"].isNull()) + result_.userId = resultNode["UserId"].asString(); + if(!resultNode["UserType"].isNull()) + result_.userType = std::stoi(resultNode["UserType"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool QueryUserInfoByAccountResult::getSuccess()const +{ + return success_; +} + +QueryUserInfoByAccountResult::Result QueryUserInfoByAccountResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/QueryUserInfoByUserIdRequest.cc b/quickbi-public/src/model/QueryUserInfoByUserIdRequest.cc new file mode 100644 index 000000000..53f887778 --- /dev/null +++ b/quickbi-public/src/model/QueryUserInfoByUserIdRequest.cc @@ -0,0 +1,62 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::QueryUserInfoByUserIdRequest; + +QueryUserInfoByUserIdRequest::QueryUserInfoByUserIdRequest() : + RpcServiceRequest("quickbi-public", "2020-08-01", "QueryUserInfoByUserId") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryUserInfoByUserIdRequest::~QueryUserInfoByUserIdRequest() +{} + +std::string QueryUserInfoByUserIdRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void QueryUserInfoByUserIdRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string QueryUserInfoByUserIdRequest::getSignType()const +{ + return signType_; +} + +void QueryUserInfoByUserIdRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string QueryUserInfoByUserIdRequest::getUserId()const +{ + return userId_; +} + +void QueryUserInfoByUserIdRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); +} + diff --git a/quickbi-public/src/model/QueryUserInfoByUserIdResult.cc b/quickbi-public/src/model/QueryUserInfoByUserIdResult.cc new file mode 100644 index 000000000..866349a47 --- /dev/null +++ b/quickbi-public/src/model/QueryUserInfoByUserIdResult.cc @@ -0,0 +1,75 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +QueryUserInfoByUserIdResult::QueryUserInfoByUserIdResult() : + ServiceResult() +{} + +QueryUserInfoByUserIdResult::QueryUserInfoByUserIdResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryUserInfoByUserIdResult::~QueryUserInfoByUserIdResult() +{} + +void QueryUserInfoByUserIdResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["AccountId"].isNull()) + result_.accountId = resultNode["AccountId"].asString(); + if(!resultNode["AccountName"].isNull()) + result_.accountName = resultNode["AccountName"].asString(); + if(!resultNode["AdminUser"].isNull()) + result_.adminUser = resultNode["AdminUser"].asString() == "true"; + if(!resultNode["AuthAdminUser"].isNull()) + result_.authAdminUser = resultNode["AuthAdminUser"].asString() == "true"; + if(!resultNode["Email"].isNull()) + result_.email = resultNode["Email"].asString(); + if(!resultNode["NickName"].isNull()) + result_.nickName = resultNode["NickName"].asString(); + if(!resultNode["Phone"].isNull()) + result_.phone = resultNode["Phone"].asString(); + if(!resultNode["UserId"].isNull()) + result_.userId = resultNode["UserId"].asString(); + if(!resultNode["UserType"].isNull()) + result_.userType = std::stoi(resultNode["UserType"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool QueryUserInfoByUserIdResult::getSuccess()const +{ + return success_; +} + +QueryUserInfoByUserIdResult::Result QueryUserInfoByUserIdResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/QueryUserListRequest.cc b/quickbi-public/src/model/QueryUserListRequest.cc new file mode 100644 index 000000000..9b048137b --- /dev/null +++ b/quickbi-public/src/model/QueryUserListRequest.cc @@ -0,0 +1,95 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::QueryUserListRequest; + +QueryUserListRequest::QueryUserListRequest() : + RpcServiceRequest("quickbi-public", "2020-08-01", "QueryUserList") +{ + setMethod(HttpRequest::Method::Get); +} + +QueryUserListRequest::~QueryUserListRequest() +{} + +int QueryUserListRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryUserListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +int QueryUserListRequest::getAccountType()const +{ + return accountType_; +} + +void QueryUserListRequest::setAccountType(int accountType) +{ + accountType_ = accountType; + setParameter("AccountType", std::to_string(accountType)); +} + +std::string QueryUserListRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void QueryUserListRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string QueryUserListRequest::getSignType()const +{ + return signType_; +} + +void QueryUserListRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string QueryUserListRequest::getKeyword()const +{ + return keyword_; +} + +void QueryUserListRequest::setKeyword(const std::string& keyword) +{ + keyword_ = keyword; + setParameter("Keyword", keyword); +} + +int QueryUserListRequest::getPageNum()const +{ + return pageNum_; +} + +void QueryUserListRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + diff --git a/quickbi-public/src/model/QueryUserListResult.cc b/quickbi-public/src/model/QueryUserListResult.cc new file mode 100644 index 000000000..a67c0aca6 --- /dev/null +++ b/quickbi-public/src/model/QueryUserListResult.cc @@ -0,0 +1,89 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +QueryUserListResult::QueryUserListResult() : + ServiceResult() +{} + +QueryUserListResult::QueryUserListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryUserListResult::~QueryUserListResult() +{} + +void QueryUserListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["PageNum"].isNull()) + result_.pageNum = std::stoi(resultNode["PageNum"].asString()); + if(!resultNode["PageSize"].isNull()) + result_.pageSize = std::stoi(resultNode["PageSize"].asString()); + if(!resultNode["TotalNum"].isNull()) + result_.totalNum = std::stoi(resultNode["TotalNum"].asString()); + if(!resultNode["TotalPages"].isNull()) + result_.totalPages = std::stoi(resultNode["TotalPages"].asString()); + auto allDataNode = resultNode["Data"]["DataItem"]; + for (auto resultNodeDataDataItem : allDataNode) + { + Result::DataItem dataItemObject; + if(!resultNodeDataDataItem["AccountId"].isNull()) + dataItemObject.accountId = resultNodeDataDataItem["AccountId"].asString(); + if(!resultNodeDataDataItem["AccountName"].isNull()) + dataItemObject.accountName = resultNodeDataDataItem["AccountName"].asString(); + if(!resultNodeDataDataItem["AdminUser"].isNull()) + dataItemObject.adminUser = resultNodeDataDataItem["AdminUser"].asString() == "true"; + if(!resultNodeDataDataItem["AuthAdminUser"].isNull()) + dataItemObject.authAdminUser = resultNodeDataDataItem["AuthAdminUser"].asString() == "true"; + if(!resultNodeDataDataItem["Email"].isNull()) + dataItemObject.email = resultNodeDataDataItem["Email"].asString(); + if(!resultNodeDataDataItem["NickName"].isNull()) + dataItemObject.nickName = resultNodeDataDataItem["NickName"].asString(); + if(!resultNodeDataDataItem["Phone"].isNull()) + dataItemObject.phone = resultNodeDataDataItem["Phone"].asString(); + if(!resultNodeDataDataItem["UserId"].isNull()) + dataItemObject.userId = resultNodeDataDataItem["UserId"].asString(); + if(!resultNodeDataDataItem["UserType"].isNull()) + dataItemObject.userType = std::stoi(resultNodeDataDataItem["UserType"].asString()); + result_.data.push_back(dataItemObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool QueryUserListResult::getSuccess()const +{ + return success_; +} + +QueryUserListResult::Result QueryUserListResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/QueryUserRoleInfoInWorkspaceRequest.cc b/quickbi-public/src/model/QueryUserRoleInfoInWorkspaceRequest.cc new file mode 100644 index 000000000..a9a9ea3fc --- /dev/null +++ b/quickbi-public/src/model/QueryUserRoleInfoInWorkspaceRequest.cc @@ -0,0 +1,73 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::QueryUserRoleInfoInWorkspaceRequest; + +QueryUserRoleInfoInWorkspaceRequest::QueryUserRoleInfoInWorkspaceRequest() : + RpcServiceRequest("quickbi-public", "2020-08-03", "QueryUserRoleInfoInWorkspace") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryUserRoleInfoInWorkspaceRequest::~QueryUserRoleInfoInWorkspaceRequest() +{} + +std::string QueryUserRoleInfoInWorkspaceRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void QueryUserRoleInfoInWorkspaceRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string QueryUserRoleInfoInWorkspaceRequest::getSignType()const +{ + return signType_; +} + +void QueryUserRoleInfoInWorkspaceRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string QueryUserRoleInfoInWorkspaceRequest::getUserId()const +{ + return userId_; +} + +void QueryUserRoleInfoInWorkspaceRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); +} + +std::string QueryUserRoleInfoInWorkspaceRequest::getWorkspaceId()const +{ + return workspaceId_; +} + +void QueryUserRoleInfoInWorkspaceRequest::setWorkspaceId(const std::string& workspaceId) +{ + workspaceId_ = workspaceId; + setParameter("WorkspaceId", workspaceId); +} + diff --git a/quickbi-public/src/model/QueryUserRoleInfoInWorkspaceResult.cc b/quickbi-public/src/model/QueryUserRoleInfoInWorkspaceResult.cc new file mode 100644 index 000000000..92df6f601 --- /dev/null +++ b/quickbi-public/src/model/QueryUserRoleInfoInWorkspaceResult.cc @@ -0,0 +1,63 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +QueryUserRoleInfoInWorkspaceResult::QueryUserRoleInfoInWorkspaceResult() : + ServiceResult() +{} + +QueryUserRoleInfoInWorkspaceResult::QueryUserRoleInfoInWorkspaceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryUserRoleInfoInWorkspaceResult::~QueryUserRoleInfoInWorkspaceResult() +{} + +void QueryUserRoleInfoInWorkspaceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["RoleId"].isNull()) + result_.roleId = std::stol(resultNode["RoleId"].asString()); + if(!resultNode["RoleCode"].isNull()) + result_.roleCode = resultNode["RoleCode"].asString(); + if(!resultNode["RoleName"].isNull()) + result_.roleName = resultNode["RoleName"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool QueryUserRoleInfoInWorkspaceResult::getSuccess()const +{ + return success_; +} + +QueryUserRoleInfoInWorkspaceResult::Result QueryUserRoleInfoInWorkspaceResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/QueryUserTagMetaListRequest.cc b/quickbi-public/src/model/QueryUserTagMetaListRequest.cc new file mode 100644 index 000000000..089db2bfc --- /dev/null +++ b/quickbi-public/src/model/QueryUserTagMetaListRequest.cc @@ -0,0 +1,51 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::QueryUserTagMetaListRequest; + +QueryUserTagMetaListRequest::QueryUserTagMetaListRequest() : + RpcServiceRequest("quickbi-public", "2020-08-02", "QueryUserTagMetaList") +{ + setMethod(HttpRequest::Method::Get); +} + +QueryUserTagMetaListRequest::~QueryUserTagMetaListRequest() +{} + +std::string QueryUserTagMetaListRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void QueryUserTagMetaListRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string QueryUserTagMetaListRequest::getSignType()const +{ + return signType_; +} + +void QueryUserTagMetaListRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + diff --git a/quickbi-public/src/model/QueryUserTagMetaListResult.cc b/quickbi-public/src/model/QueryUserTagMetaListResult.cc new file mode 100644 index 000000000..55068b5e6 --- /dev/null +++ b/quickbi-public/src/model/QueryUserTagMetaListResult.cc @@ -0,0 +1,68 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +QueryUserTagMetaListResult::QueryUserTagMetaListResult() : + ServiceResult() +{} + +QueryUserTagMetaListResult::QueryUserTagMetaListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryUserTagMetaListResult::~QueryUserTagMetaListResult() +{} + +void QueryUserTagMetaListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResultNode = value["Result"]["ResultItem"]; + for (auto valueResultResultItem : allResultNode) + { + ResultItem resultObject; + if(!valueResultResultItem["TagId"].isNull()) + resultObject.tagId = valueResultResultItem["TagId"].asString(); + if(!valueResultResultItem["TagName"].isNull()) + resultObject.tagName = valueResultResultItem["TagName"].asString(); + if(!valueResultResultItem["TagDescription"].isNull()) + resultObject.tagDescription = valueResultResultItem["TagDescription"].asString(); + result_.push_back(resultObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool QueryUserTagMetaListResult::getSuccess()const +{ + return success_; +} + +std::vector QueryUserTagMetaListResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/QueryUserTagValueListRequest.cc b/quickbi-public/src/model/QueryUserTagValueListRequest.cc new file mode 100644 index 000000000..1348867fc --- /dev/null +++ b/quickbi-public/src/model/QueryUserTagValueListRequest.cc @@ -0,0 +1,62 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::QueryUserTagValueListRequest; + +QueryUserTagValueListRequest::QueryUserTagValueListRequest() : + RpcServiceRequest("quickbi-public", "2020-08-02", "QueryUserTagValueList") +{ + setMethod(HttpRequest::Method::Get); +} + +QueryUserTagValueListRequest::~QueryUserTagValueListRequest() +{} + +std::string QueryUserTagValueListRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void QueryUserTagValueListRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string QueryUserTagValueListRequest::getSignType()const +{ + return signType_; +} + +void QueryUserTagValueListRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string QueryUserTagValueListRequest::getUserId()const +{ + return userId_; +} + +void QueryUserTagValueListRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); +} + diff --git a/quickbi-public/src/model/QueryUserTagValueListResult.cc b/quickbi-public/src/model/QueryUserTagValueListResult.cc new file mode 100644 index 000000000..b7953debb --- /dev/null +++ b/quickbi-public/src/model/QueryUserTagValueListResult.cc @@ -0,0 +1,68 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +QueryUserTagValueListResult::QueryUserTagValueListResult() : + ServiceResult() +{} + +QueryUserTagValueListResult::QueryUserTagValueListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryUserTagValueListResult::~QueryUserTagValueListResult() +{} + +void QueryUserTagValueListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResultNode = value["Result"]["Data"]; + for (auto valueResultData : allResultNode) + { + Data resultObject; + if(!valueResultData["TagId"].isNull()) + resultObject.tagId = valueResultData["TagId"].asString(); + if(!valueResultData["TagName"].isNull()) + resultObject.tagName = valueResultData["TagName"].asString(); + if(!valueResultData["TagValue"].isNull()) + resultObject.tagValue = valueResultData["TagValue"].asString(); + result_.push_back(resultObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool QueryUserTagValueListResult::getSuccess()const +{ + return success_; +} + +std::vector QueryUserTagValueListResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/QueryWorksByOrganizationRequest.cc b/quickbi-public/src/model/QueryWorksByOrganizationRequest.cc new file mode 100644 index 000000000..0aafa6836 --- /dev/null +++ b/quickbi-public/src/model/QueryWorksByOrganizationRequest.cc @@ -0,0 +1,106 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::QueryWorksByOrganizationRequest; + +QueryWorksByOrganizationRequest::QueryWorksByOrganizationRequest() : + RpcServiceRequest("quickbi-public", "2020-08-07", "QueryWorksByOrganization") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryWorksByOrganizationRequest::~QueryWorksByOrganizationRequest() +{} + +std::string QueryWorksByOrganizationRequest::getWorksType()const +{ + return worksType_; +} + +void QueryWorksByOrganizationRequest::setWorksType(const std::string& worksType) +{ + worksType_ = worksType; + setParameter("WorksType", worksType); +} + +int QueryWorksByOrganizationRequest::getThirdPartAuthFlag()const +{ + return thirdPartAuthFlag_; +} + +void QueryWorksByOrganizationRequest::setThirdPartAuthFlag(int thirdPartAuthFlag) +{ + thirdPartAuthFlag_ = thirdPartAuthFlag; + setParameter("ThirdPartAuthFlag", std::to_string(thirdPartAuthFlag)); +} + +std::string QueryWorksByOrganizationRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void QueryWorksByOrganizationRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +int QueryWorksByOrganizationRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryWorksByOrganizationRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string QueryWorksByOrganizationRequest::getSignType()const +{ + return signType_; +} + +void QueryWorksByOrganizationRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +int QueryWorksByOrganizationRequest::getPageNum()const +{ + return pageNum_; +} + +void QueryWorksByOrganizationRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +int QueryWorksByOrganizationRequest::getStatus()const +{ + return status_; +} + +void QueryWorksByOrganizationRequest::setStatus(int status) +{ + status_ = status; + setParameter("Status", std::to_string(status)); +} + diff --git a/quickbi-public/src/model/QueryWorksByOrganizationResult.cc b/quickbi-public/src/model/QueryWorksByOrganizationResult.cc new file mode 100644 index 000000000..ec1f1101d --- /dev/null +++ b/quickbi-public/src/model/QueryWorksByOrganizationResult.cc @@ -0,0 +1,108 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +QueryWorksByOrganizationResult::QueryWorksByOrganizationResult() : + ServiceResult() +{} + +QueryWorksByOrganizationResult::QueryWorksByOrganizationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryWorksByOrganizationResult::~QueryWorksByOrganizationResult() +{} + +void QueryWorksByOrganizationResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["PageNum"].isNull()) + result_.pageNum = std::stoi(resultNode["PageNum"].asString()); + if(!resultNode["PageSize"].isNull()) + result_.pageSize = std::stoi(resultNode["PageSize"].asString()); + if(!resultNode["TotalNum"].isNull()) + result_.totalNum = std::stoi(resultNode["TotalNum"].asString()); + if(!resultNode["TotalPages"].isNull()) + result_.totalPages = std::stoi(resultNode["TotalPages"].asString()); + auto allDataNode = resultNode["Data"]["DataItem"]; + for (auto resultNodeDataDataItem : allDataNode) + { + Result::DataItem dataItemObject; + if(!resultNodeDataDataItem["Auth3rdFlag"].isNull()) + dataItemObject.auth3rdFlag = std::stoi(resultNodeDataDataItem["Auth3rdFlag"].asString()); + if(!resultNodeDataDataItem["Description"].isNull()) + dataItemObject.description = resultNodeDataDataItem["Description"].asString(); + if(!resultNodeDataDataItem["GmtCreate"].isNull()) + dataItemObject.gmtCreate = resultNodeDataDataItem["GmtCreate"].asString(); + if(!resultNodeDataDataItem["GmtModify"].isNull()) + dataItemObject.gmtModify = resultNodeDataDataItem["GmtModify"].asString(); + if(!resultNodeDataDataItem["ModifyName"].isNull()) + dataItemObject.modifyName = resultNodeDataDataItem["ModifyName"].asString(); + if(!resultNodeDataDataItem["OwnerId"].isNull()) + dataItemObject.ownerId = resultNodeDataDataItem["OwnerId"].asString(); + if(!resultNodeDataDataItem["OwnerName"].isNull()) + dataItemObject.ownerName = resultNodeDataDataItem["OwnerName"].asString(); + if(!resultNodeDataDataItem["SecurityLevel"].isNull()) + dataItemObject.securityLevel = resultNodeDataDataItem["SecurityLevel"].asString(); + if(!resultNodeDataDataItem["Status"].isNull()) + dataItemObject.status = std::stoi(resultNodeDataDataItem["Status"].asString()); + if(!resultNodeDataDataItem["WorkName"].isNull()) + dataItemObject.workName = resultNodeDataDataItem["WorkName"].asString(); + if(!resultNodeDataDataItem["WorkType"].isNull()) + dataItemObject.workType = resultNodeDataDataItem["WorkType"].asString(); + if(!resultNodeDataDataItem["WorksId"].isNull()) + dataItemObject.worksId = resultNodeDataDataItem["WorksId"].asString(); + if(!resultNodeDataDataItem["WorkspaceId"].isNull()) + dataItemObject.workspaceId = resultNodeDataDataItem["WorkspaceId"].asString(); + if(!resultNodeDataDataItem["WorkspaceName"].isNull()) + dataItemObject.workspaceName = resultNodeDataDataItem["WorkspaceName"].asString(); + auto directoryNode = value["Directory"]; + if(!directoryNode["Id"].isNull()) + dataItemObject.directory.id = directoryNode["Id"].asString(); + if(!directoryNode["Name"].isNull()) + dataItemObject.directory.name = directoryNode["Name"].asString(); + if(!directoryNode["PathId"].isNull()) + dataItemObject.directory.pathId = directoryNode["PathId"].asString(); + if(!directoryNode["PathName"].isNull()) + dataItemObject.directory.pathName = directoryNode["PathName"].asString(); + result_.data.push_back(dataItemObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool QueryWorksByOrganizationResult::getSuccess()const +{ + return success_; +} + +QueryWorksByOrganizationResult::Result QueryWorksByOrganizationResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/QueryWorksByWorkspaceRequest.cc b/quickbi-public/src/model/QueryWorksByWorkspaceRequest.cc new file mode 100644 index 000000000..6f986f92f --- /dev/null +++ b/quickbi-public/src/model/QueryWorksByWorkspaceRequest.cc @@ -0,0 +1,117 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::QueryWorksByWorkspaceRequest; + +QueryWorksByWorkspaceRequest::QueryWorksByWorkspaceRequest() : + RpcServiceRequest("quickbi-public", "2020-08-07", "QueryWorksByWorkspace") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryWorksByWorkspaceRequest::~QueryWorksByWorkspaceRequest() +{} + +std::string QueryWorksByWorkspaceRequest::getWorksType()const +{ + return worksType_; +} + +void QueryWorksByWorkspaceRequest::setWorksType(const std::string& worksType) +{ + worksType_ = worksType; + setParameter("WorksType", worksType); +} + +int QueryWorksByWorkspaceRequest::getThirdPartAuthFlag()const +{ + return thirdPartAuthFlag_; +} + +void QueryWorksByWorkspaceRequest::setThirdPartAuthFlag(int thirdPartAuthFlag) +{ + thirdPartAuthFlag_ = thirdPartAuthFlag; + setParameter("ThirdPartAuthFlag", std::to_string(thirdPartAuthFlag)); +} + +std::string QueryWorksByWorkspaceRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void QueryWorksByWorkspaceRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +int QueryWorksByWorkspaceRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryWorksByWorkspaceRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string QueryWorksByWorkspaceRequest::getSignType()const +{ + return signType_; +} + +void QueryWorksByWorkspaceRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +int QueryWorksByWorkspaceRequest::getPageNum()const +{ + return pageNum_; +} + +void QueryWorksByWorkspaceRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +std::string QueryWorksByWorkspaceRequest::getWorkspaceId()const +{ + return workspaceId_; +} + +void QueryWorksByWorkspaceRequest::setWorkspaceId(const std::string& workspaceId) +{ + workspaceId_ = workspaceId; + setParameter("WorkspaceId", workspaceId); +} + +int QueryWorksByWorkspaceRequest::getStatus()const +{ + return status_; +} + +void QueryWorksByWorkspaceRequest::setStatus(int status) +{ + status_ = status; + setParameter("Status", std::to_string(status)); +} + diff --git a/quickbi-public/src/model/QueryWorksByWorkspaceResult.cc b/quickbi-public/src/model/QueryWorksByWorkspaceResult.cc new file mode 100644 index 000000000..f4b1d64c5 --- /dev/null +++ b/quickbi-public/src/model/QueryWorksByWorkspaceResult.cc @@ -0,0 +1,108 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +QueryWorksByWorkspaceResult::QueryWorksByWorkspaceResult() : + ServiceResult() +{} + +QueryWorksByWorkspaceResult::QueryWorksByWorkspaceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryWorksByWorkspaceResult::~QueryWorksByWorkspaceResult() +{} + +void QueryWorksByWorkspaceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["TotalNum"].isNull()) + result_.totalNum = std::stoi(resultNode["TotalNum"].asString()); + if(!resultNode["TotalPages"].isNull()) + result_.totalPages = std::stoi(resultNode["TotalPages"].asString()); + if(!resultNode["PageNum"].isNull()) + result_.pageNum = std::stoi(resultNode["PageNum"].asString()); + if(!resultNode["PageSize"].isNull()) + result_.pageSize = std::stoi(resultNode["PageSize"].asString()); + auto allDataNode = resultNode["Data"]["DataItem"]; + for (auto resultNodeDataDataItem : allDataNode) + { + Result::DataItem dataItemObject; + if(!resultNodeDataDataItem["WorksId"].isNull()) + dataItemObject.worksId = resultNodeDataDataItem["WorksId"].asString(); + if(!resultNodeDataDataItem["WorkType"].isNull()) + dataItemObject.workType = resultNodeDataDataItem["WorkType"].asString(); + if(!resultNodeDataDataItem["WorkName"].isNull()) + dataItemObject.workName = resultNodeDataDataItem["WorkName"].asString(); + if(!resultNodeDataDataItem["WorkspaceId"].isNull()) + dataItemObject.workspaceId = resultNodeDataDataItem["WorkspaceId"].asString(); + if(!resultNodeDataDataItem["SecurityLevel"].isNull()) + dataItemObject.securityLevel = resultNodeDataDataItem["SecurityLevel"].asString(); + if(!resultNodeDataDataItem["Description"].isNull()) + dataItemObject.description = resultNodeDataDataItem["Description"].asString(); + if(!resultNodeDataDataItem["OwnerId"].isNull()) + dataItemObject.ownerId = resultNodeDataDataItem["OwnerId"].asString(); + if(!resultNodeDataDataItem["OwnerName"].isNull()) + dataItemObject.ownerName = resultNodeDataDataItem["OwnerName"].asString(); + if(!resultNodeDataDataItem["ModifyName"].isNull()) + dataItemObject.modifyName = resultNodeDataDataItem["ModifyName"].asString(); + if(!resultNodeDataDataItem["GmtCreate"].isNull()) + dataItemObject.gmtCreate = resultNodeDataDataItem["GmtCreate"].asString(); + if(!resultNodeDataDataItem["GmtModify"].isNull()) + dataItemObject.gmtModify = resultNodeDataDataItem["GmtModify"].asString(); + if(!resultNodeDataDataItem["Auth3rdFlag"].isNull()) + dataItemObject.auth3rdFlag = std::stoi(resultNodeDataDataItem["Auth3rdFlag"].asString()); + if(!resultNodeDataDataItem["Status"].isNull()) + dataItemObject.status = std::stoi(resultNodeDataDataItem["Status"].asString()); + if(!resultNodeDataDataItem["WorkspaceName"].isNull()) + dataItemObject.workspaceName = resultNodeDataDataItem["WorkspaceName"].asString(); + auto directoryNode = value["Directory"]; + if(!directoryNode["Id"].isNull()) + dataItemObject.directory.id = directoryNode["Id"].asString(); + if(!directoryNode["Name"].isNull()) + dataItemObject.directory.name = directoryNode["Name"].asString(); + if(!directoryNode["PathId"].isNull()) + dataItemObject.directory.pathId = directoryNode["PathId"].asString(); + if(!directoryNode["PathName"].isNull()) + dataItemObject.directory.pathName = directoryNode["PathName"].asString(); + result_.data.push_back(dataItemObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool QueryWorksByWorkspaceResult::getSuccess()const +{ + return success_; +} + +QueryWorksByWorkspaceResult::Result QueryWorksByWorkspaceResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/QueryWorkspaceUserListRequest.cc b/quickbi-public/src/model/QueryWorkspaceUserListRequest.cc new file mode 100644 index 000000000..becb673c4 --- /dev/null +++ b/quickbi-public/src/model/QueryWorkspaceUserListRequest.cc @@ -0,0 +1,95 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::QueryWorkspaceUserListRequest; + +QueryWorkspaceUserListRequest::QueryWorkspaceUserListRequest() : + RpcServiceRequest("quickbi-public", "2020-08-03", "QueryWorkspaceUserList") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryWorkspaceUserListRequest::~QueryWorkspaceUserListRequest() +{} + +std::string QueryWorkspaceUserListRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void QueryWorkspaceUserListRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +int QueryWorkspaceUserListRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryWorkspaceUserListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string QueryWorkspaceUserListRequest::getSignType()const +{ + return signType_; +} + +void QueryWorkspaceUserListRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string QueryWorkspaceUserListRequest::getKeyword()const +{ + return keyword_; +} + +void QueryWorkspaceUserListRequest::setKeyword(const std::string& keyword) +{ + keyword_ = keyword; + setParameter("Keyword", keyword); +} + +int QueryWorkspaceUserListRequest::getPageNum()const +{ + return pageNum_; +} + +void QueryWorkspaceUserListRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +std::string QueryWorkspaceUserListRequest::getWorkspaceId()const +{ + return workspaceId_; +} + +void QueryWorkspaceUserListRequest::setWorkspaceId(const std::string& workspaceId) +{ + workspaceId_ = workspaceId; + setParameter("WorkspaceId", workspaceId); +} + diff --git a/quickbi-public/src/model/QueryWorkspaceUserListResult.cc b/quickbi-public/src/model/QueryWorkspaceUserListResult.cc new file mode 100644 index 000000000..454943b3d --- /dev/null +++ b/quickbi-public/src/model/QueryWorkspaceUserListResult.cc @@ -0,0 +1,90 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +QueryWorkspaceUserListResult::QueryWorkspaceUserListResult() : + ServiceResult() +{} + +QueryWorkspaceUserListResult::QueryWorkspaceUserListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryWorkspaceUserListResult::~QueryWorkspaceUserListResult() +{} + +void QueryWorkspaceUserListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["TotalNum"].isNull()) + result_.totalNum = std::stoi(resultNode["TotalNum"].asString()); + if(!resultNode["TotalPages"].isNull()) + result_.totalPages = std::stoi(resultNode["TotalPages"].asString()); + if(!resultNode["PageSize"].isNull()) + result_.pageSize = std::stoi(resultNode["PageSize"].asString()); + if(!resultNode["PageNum"].isNull()) + result_.pageNum = std::stoi(resultNode["PageNum"].asString()); + auto allDataNode = resultNode["Data"]["DataItem"]; + for (auto resultNodeDataDataItem : allDataNode) + { + Result::DataItem dataItemObject; + if(!resultNodeDataDataItem["UserId"].isNull()) + dataItemObject.userId = resultNodeDataDataItem["UserId"].asString(); + if(!resultNodeDataDataItem["AccountName"].isNull()) + dataItemObject.accountName = resultNodeDataDataItem["AccountName"].asString(); + if(!resultNodeDataDataItem["Phone"].isNull()) + dataItemObject.phone = resultNodeDataDataItem["Phone"].asString(); + if(!resultNodeDataDataItem["NickName"].isNull()) + dataItemObject.nickName = resultNodeDataDataItem["NickName"].asString(); + if(!resultNodeDataDataItem["Email"].isNull()) + dataItemObject.email = resultNodeDataDataItem["Email"].asString(); + if(!resultNodeDataDataItem["AccountId"].isNull()) + dataItemObject.accountId = resultNodeDataDataItem["AccountId"].asString(); + auto roleNode = value["Role"]; + if(!roleNode["RoleName"].isNull()) + dataItemObject.role.roleName = roleNode["RoleName"].asString(); + if(!roleNode["RoleId"].isNull()) + dataItemObject.role.roleId = std::stol(roleNode["RoleId"].asString()); + if(!roleNode["RoleCode"].isNull()) + dataItemObject.role.roleCode = roleNode["RoleCode"].asString(); + result_.data.push_back(dataItemObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool QueryWorkspaceUserListResult::getSuccess()const +{ + return success_; +} + +QueryWorkspaceUserListResult::Result QueryWorkspaceUserListResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/SaveFavoritesRequest.cc b/quickbi-public/src/model/SaveFavoritesRequest.cc new file mode 100644 index 000000000..5b08117e9 --- /dev/null +++ b/quickbi-public/src/model/SaveFavoritesRequest.cc @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::SaveFavoritesRequest; + +SaveFavoritesRequest::SaveFavoritesRequest() : + RpcServiceRequest("quickbi-public", "2020-08-09", "SaveFavorites") +{ + setMethod(HttpRequest::Method::Post); +} + +SaveFavoritesRequest::~SaveFavoritesRequest() +{} + +std::string SaveFavoritesRequest::getWorksId()const +{ + return worksId_; +} + +void SaveFavoritesRequest::setWorksId(const std::string& worksId) +{ + worksId_ = worksId; + setParameter("WorksId", worksId); +} + +std::string SaveFavoritesRequest::getWorksType()const +{ + return worksType_; +} + +void SaveFavoritesRequest::setWorksType(const std::string& worksType) +{ + worksType_ = worksType; + setParameter("WorksType", worksType); +} + +std::string SaveFavoritesRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void SaveFavoritesRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string SaveFavoritesRequest::getSignType()const +{ + return signType_; +} + +void SaveFavoritesRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string SaveFavoritesRequest::getUserId()const +{ + return userId_; +} + +void SaveFavoritesRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); +} + diff --git a/quickbi-public/src/model/SaveFavoritesResult.cc b/quickbi-public/src/model/SaveFavoritesResult.cc new file mode 100644 index 000000000..6c5dd2fc9 --- /dev/null +++ b/quickbi-public/src/model/SaveFavoritesResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +SaveFavoritesResult::SaveFavoritesResult() : + ServiceResult() +{} + +SaveFavoritesResult::SaveFavoritesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SaveFavoritesResult::~SaveFavoritesResult() +{} + +void SaveFavoritesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + +} + +bool SaveFavoritesResult::getSuccess()const +{ + return success_; +} + +bool SaveFavoritesResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/SetDataLevelPermissionExtraConfigRequest.cc b/quickbi-public/src/model/SetDataLevelPermissionExtraConfigRequest.cc new file mode 100644 index 000000000..f300fe3b2 --- /dev/null +++ b/quickbi-public/src/model/SetDataLevelPermissionExtraConfigRequest.cc @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::SetDataLevelPermissionExtraConfigRequest; + +SetDataLevelPermissionExtraConfigRequest::SetDataLevelPermissionExtraConfigRequest() : + RpcServiceRequest("quickbi-public", "2020-11-11", "SetDataLevelPermissionExtraConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +SetDataLevelPermissionExtraConfigRequest::~SetDataLevelPermissionExtraConfigRequest() +{} + +std::string SetDataLevelPermissionExtraConfigRequest::getMissHitPolicy()const +{ + return missHitPolicy_; +} + +void SetDataLevelPermissionExtraConfigRequest::setMissHitPolicy(const std::string& missHitPolicy) +{ + missHitPolicy_ = missHitPolicy; + setParameter("MissHitPolicy", missHitPolicy); +} + +std::string SetDataLevelPermissionExtraConfigRequest::getRuleType()const +{ + return ruleType_; +} + +void SetDataLevelPermissionExtraConfigRequest::setRuleType(const std::string& ruleType) +{ + ruleType_ = ruleType; + setParameter("RuleType", ruleType); +} + +std::string SetDataLevelPermissionExtraConfigRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void SetDataLevelPermissionExtraConfigRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string SetDataLevelPermissionExtraConfigRequest::getSignType()const +{ + return signType_; +} + +void SetDataLevelPermissionExtraConfigRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string SetDataLevelPermissionExtraConfigRequest::getCubeId()const +{ + return cubeId_; +} + +void SetDataLevelPermissionExtraConfigRequest::setCubeId(const std::string& cubeId) +{ + cubeId_ = cubeId; + setParameter("CubeId", cubeId); +} + diff --git a/quickbi-public/src/model/SetDataLevelPermissionExtraConfigResult.cc b/quickbi-public/src/model/SetDataLevelPermissionExtraConfigResult.cc new file mode 100644 index 000000000..511c9236a --- /dev/null +++ b/quickbi-public/src/model/SetDataLevelPermissionExtraConfigResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +SetDataLevelPermissionExtraConfigResult::SetDataLevelPermissionExtraConfigResult() : + ServiceResult() +{} + +SetDataLevelPermissionExtraConfigResult::SetDataLevelPermissionExtraConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetDataLevelPermissionExtraConfigResult::~SetDataLevelPermissionExtraConfigResult() +{} + +void SetDataLevelPermissionExtraConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool SetDataLevelPermissionExtraConfigResult::getSuccess()const +{ + return success_; +} + +bool SetDataLevelPermissionExtraConfigResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/SetDataLevelPermissionRuleConfigRequest.cc b/quickbi-public/src/model/SetDataLevelPermissionRuleConfigRequest.cc new file mode 100644 index 000000000..8b429fc35 --- /dev/null +++ b/quickbi-public/src/model/SetDataLevelPermissionRuleConfigRequest.cc @@ -0,0 +1,62 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::SetDataLevelPermissionRuleConfigRequest; + +SetDataLevelPermissionRuleConfigRequest::SetDataLevelPermissionRuleConfigRequest() : + RpcServiceRequest("quickbi-public", "2020-11-11", "SetDataLevelPermissionRuleConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +SetDataLevelPermissionRuleConfigRequest::~SetDataLevelPermissionRuleConfigRequest() +{} + +std::string SetDataLevelPermissionRuleConfigRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void SetDataLevelPermissionRuleConfigRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string SetDataLevelPermissionRuleConfigRequest::getSignType()const +{ + return signType_; +} + +void SetDataLevelPermissionRuleConfigRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string SetDataLevelPermissionRuleConfigRequest::getRuleModel()const +{ + return ruleModel_; +} + +void SetDataLevelPermissionRuleConfigRequest::setRuleModel(const std::string& ruleModel) +{ + ruleModel_ = ruleModel; + setParameter("RuleModel", ruleModel); +} + diff --git a/quickbi-public/src/model/SetDataLevelPermissionRuleConfigResult.cc b/quickbi-public/src/model/SetDataLevelPermissionRuleConfigResult.cc new file mode 100644 index 000000000..051342d54 --- /dev/null +++ b/quickbi-public/src/model/SetDataLevelPermissionRuleConfigResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +SetDataLevelPermissionRuleConfigResult::SetDataLevelPermissionRuleConfigResult() : + ServiceResult() +{} + +SetDataLevelPermissionRuleConfigResult::SetDataLevelPermissionRuleConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetDataLevelPermissionRuleConfigResult::~SetDataLevelPermissionRuleConfigResult() +{} + +void SetDataLevelPermissionRuleConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool SetDataLevelPermissionRuleConfigResult::getSuccess()const +{ + return success_; +} + +std::string SetDataLevelPermissionRuleConfigResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/SetDataLevelPermissionWhiteListRequest.cc b/quickbi-public/src/model/SetDataLevelPermissionWhiteListRequest.cc new file mode 100644 index 000000000..0878d8930 --- /dev/null +++ b/quickbi-public/src/model/SetDataLevelPermissionWhiteListRequest.cc @@ -0,0 +1,62 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::SetDataLevelPermissionWhiteListRequest; + +SetDataLevelPermissionWhiteListRequest::SetDataLevelPermissionWhiteListRequest() : + RpcServiceRequest("quickbi-public", "2020-11-11", "SetDataLevelPermissionWhiteList") +{ + setMethod(HttpRequest::Method::Post); +} + +SetDataLevelPermissionWhiteListRequest::~SetDataLevelPermissionWhiteListRequest() +{} + +std::string SetDataLevelPermissionWhiteListRequest::getWhiteListModel()const +{ + return whiteListModel_; +} + +void SetDataLevelPermissionWhiteListRequest::setWhiteListModel(const std::string& whiteListModel) +{ + whiteListModel_ = whiteListModel; + setParameter("WhiteListModel", whiteListModel); +} + +std::string SetDataLevelPermissionWhiteListRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void SetDataLevelPermissionWhiteListRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string SetDataLevelPermissionWhiteListRequest::getSignType()const +{ + return signType_; +} + +void SetDataLevelPermissionWhiteListRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + diff --git a/quickbi-public/src/model/SetDataLevelPermissionWhiteListResult.cc b/quickbi-public/src/model/SetDataLevelPermissionWhiteListResult.cc new file mode 100644 index 000000000..dea902b33 --- /dev/null +++ b/quickbi-public/src/model/SetDataLevelPermissionWhiteListResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +SetDataLevelPermissionWhiteListResult::SetDataLevelPermissionWhiteListResult() : + ServiceResult() +{} + +SetDataLevelPermissionWhiteListResult::SetDataLevelPermissionWhiteListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetDataLevelPermissionWhiteListResult::~SetDataLevelPermissionWhiteListResult() +{} + +void SetDataLevelPermissionWhiteListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool SetDataLevelPermissionWhiteListResult::getSuccess()const +{ + return success_; +} + +bool SetDataLevelPermissionWhiteListResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/UpdateDataLevelPermissionStatusRequest.cc b/quickbi-public/src/model/UpdateDataLevelPermissionStatusRequest.cc new file mode 100644 index 000000000..6db0746c2 --- /dev/null +++ b/quickbi-public/src/model/UpdateDataLevelPermissionStatusRequest.cc @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::UpdateDataLevelPermissionStatusRequest; + +UpdateDataLevelPermissionStatusRequest::UpdateDataLevelPermissionStatusRequest() : + RpcServiceRequest("quickbi-public", "2020-11-11", "UpdateDataLevelPermissionStatus") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateDataLevelPermissionStatusRequest::~UpdateDataLevelPermissionStatusRequest() +{} + +int UpdateDataLevelPermissionStatusRequest::getIsOpen()const +{ + return isOpen_; +} + +void UpdateDataLevelPermissionStatusRequest::setIsOpen(int isOpen) +{ + isOpen_ = isOpen; + setParameter("IsOpen", std::to_string(isOpen)); +} + +std::string UpdateDataLevelPermissionStatusRequest::getRuleType()const +{ + return ruleType_; +} + +void UpdateDataLevelPermissionStatusRequest::setRuleType(const std::string& ruleType) +{ + ruleType_ = ruleType; + setParameter("RuleType", ruleType); +} + +std::string UpdateDataLevelPermissionStatusRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void UpdateDataLevelPermissionStatusRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string UpdateDataLevelPermissionStatusRequest::getSignType()const +{ + return signType_; +} + +void UpdateDataLevelPermissionStatusRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string UpdateDataLevelPermissionStatusRequest::getCubeId()const +{ + return cubeId_; +} + +void UpdateDataLevelPermissionStatusRequest::setCubeId(const std::string& cubeId) +{ + cubeId_ = cubeId; + setParameter("CubeId", cubeId); +} + diff --git a/quickbi-public/src/model/UpdateDataLevelPermissionStatusResult.cc b/quickbi-public/src/model/UpdateDataLevelPermissionStatusResult.cc new file mode 100644 index 000000000..d9ebc9797 --- /dev/null +++ b/quickbi-public/src/model/UpdateDataLevelPermissionStatusResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +UpdateDataLevelPermissionStatusResult::UpdateDataLevelPermissionStatusResult() : + ServiceResult() +{} + +UpdateDataLevelPermissionStatusResult::UpdateDataLevelPermissionStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateDataLevelPermissionStatusResult::~UpdateDataLevelPermissionStatusResult() +{} + +void UpdateDataLevelPermissionStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool UpdateDataLevelPermissionStatusResult::getSuccess()const +{ + return success_; +} + +bool UpdateDataLevelPermissionStatusResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/UpdateEmbeddedStatusRequest.cc b/quickbi-public/src/model/UpdateEmbeddedStatusRequest.cc new file mode 100644 index 000000000..79262c28a --- /dev/null +++ b/quickbi-public/src/model/UpdateEmbeddedStatusRequest.cc @@ -0,0 +1,73 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::UpdateEmbeddedStatusRequest; + +UpdateEmbeddedStatusRequest::UpdateEmbeddedStatusRequest() : + RpcServiceRequest("quickbi-public", "2020-08-07", "UpdateEmbeddedStatus") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateEmbeddedStatusRequest::~UpdateEmbeddedStatusRequest() +{} + +std::string UpdateEmbeddedStatusRequest::getWorksId()const +{ + return worksId_; +} + +void UpdateEmbeddedStatusRequest::setWorksId(const std::string& worksId) +{ + worksId_ = worksId; + setParameter("WorksId", worksId); +} + +bool UpdateEmbeddedStatusRequest::getThirdPartAuthFlag()const +{ + return thirdPartAuthFlag_; +} + +void UpdateEmbeddedStatusRequest::setThirdPartAuthFlag(bool thirdPartAuthFlag) +{ + thirdPartAuthFlag_ = thirdPartAuthFlag; + setParameter("ThirdPartAuthFlag", thirdPartAuthFlag ? "true" : "false"); +} + +std::string UpdateEmbeddedStatusRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void UpdateEmbeddedStatusRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string UpdateEmbeddedStatusRequest::getSignType()const +{ + return signType_; +} + +void UpdateEmbeddedStatusRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + diff --git a/quickbi-public/src/model/UpdateEmbeddedStatusResult.cc b/quickbi-public/src/model/UpdateEmbeddedStatusResult.cc new file mode 100644 index 000000000..accb973ec --- /dev/null +++ b/quickbi-public/src/model/UpdateEmbeddedStatusResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +UpdateEmbeddedStatusResult::UpdateEmbeddedStatusResult() : + ServiceResult() +{} + +UpdateEmbeddedStatusResult::UpdateEmbeddedStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateEmbeddedStatusResult::~UpdateEmbeddedStatusResult() +{} + +void UpdateEmbeddedStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Result"].isNull()) + result_ = std::stoi(value["Result"].asString()); + +} + +bool UpdateEmbeddedStatusResult::getSuccess()const +{ + return success_; +} + +int UpdateEmbeddedStatusResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/UpdateUserGroupRequest.cc b/quickbi-public/src/model/UpdateUserGroupRequest.cc new file mode 100644 index 000000000..aabcae246 --- /dev/null +++ b/quickbi-public/src/model/UpdateUserGroupRequest.cc @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::UpdateUserGroupRequest; + +UpdateUserGroupRequest::UpdateUserGroupRequest() : + RpcServiceRequest("quickbi-public", "2020-07-31", "UpdateUserGroup") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateUserGroupRequest::~UpdateUserGroupRequest() +{} + +std::string UpdateUserGroupRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void UpdateUserGroupRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string UpdateUserGroupRequest::getUserGroupId()const +{ + return userGroupId_; +} + +void UpdateUserGroupRequest::setUserGroupId(const std::string& userGroupId) +{ + userGroupId_ = userGroupId; + setParameter("UserGroupId", userGroupId); +} + +std::string UpdateUserGroupRequest::getSignType()const +{ + return signType_; +} + +void UpdateUserGroupRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string UpdateUserGroupRequest::getUserGroupName()const +{ + return userGroupName_; +} + +void UpdateUserGroupRequest::setUserGroupName(const std::string& userGroupName) +{ + userGroupName_ = userGroupName; + setParameter("UserGroupName", userGroupName); +} + +std::string UpdateUserGroupRequest::getUserGroupDescription()const +{ + return userGroupDescription_; +} + +void UpdateUserGroupRequest::setUserGroupDescription(const std::string& userGroupDescription) +{ + userGroupDescription_ = userGroupDescription; + setParameter("UserGroupDescription", userGroupDescription); +} + diff --git a/quickbi-public/src/model/UpdateUserGroupResult.cc b/quickbi-public/src/model/UpdateUserGroupResult.cc new file mode 100644 index 000000000..d74fb0c0c --- /dev/null +++ b/quickbi-public/src/model/UpdateUserGroupResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +UpdateUserGroupResult::UpdateUserGroupResult() : + ServiceResult() +{} + +UpdateUserGroupResult::UpdateUserGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateUserGroupResult::~UpdateUserGroupResult() +{} + +void UpdateUserGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool UpdateUserGroupResult::getSuccess()const +{ + return success_; +} + +bool UpdateUserGroupResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/UpdateUserRequest.cc b/quickbi-public/src/model/UpdateUserRequest.cc new file mode 100644 index 000000000..c5c0e18a0 --- /dev/null +++ b/quickbi-public/src/model/UpdateUserRequest.cc @@ -0,0 +1,139 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::UpdateUserRequest; + +UpdateUserRequest::UpdateUserRequest() : + RpcServiceRequest("quickbi-public", "2020-08-01", "UpdateUser") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateUserRequest::~UpdateUserRequest() +{} + +bool UpdateUserRequest::getAdminUser()const +{ + return adminUser_; +} + +void UpdateUserRequest::setAdminUser(bool adminUser) +{ + adminUser_ = adminUser; + setParameter("AdminUser", adminUser ? "true" : "false"); +} + +int UpdateUserRequest::getAccountType()const +{ + return accountType_; +} + +void UpdateUserRequest::setAccountType(int accountType) +{ + accountType_ = accountType; + setParameter("AccountType", std::to_string(accountType)); +} + +std::string UpdateUserRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void UpdateUserRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +int UpdateUserRequest::getUserType()const +{ + return userType_; +} + +void UpdateUserRequest::setUserType(int userType) +{ + userType_ = userType; + setParameter("UserType", std::to_string(userType)); +} + +std::string UpdateUserRequest::getSignType()const +{ + return signType_; +} + +void UpdateUserRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string UpdateUserRequest::getUserId()const +{ + return userId_; +} + +void UpdateUserRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); +} + +std::string UpdateUserRequest::getPhone()const +{ + return phone_; +} + +void UpdateUserRequest::setPhone(const std::string& phone) +{ + phone_ = phone; + setParameter("Phone", phone); +} + +std::string UpdateUserRequest::getNickName()const +{ + return nickName_; +} + +void UpdateUserRequest::setNickName(const std::string& nickName) +{ + nickName_ = nickName; + setParameter("NickName", nickName); +} + +bool UpdateUserRequest::getAuthAdminUser()const +{ + return authAdminUser_; +} + +void UpdateUserRequest::setAuthAdminUser(bool authAdminUser) +{ + authAdminUser_ = authAdminUser; + setParameter("AuthAdminUser", authAdminUser ? "true" : "false"); +} + +std::string UpdateUserRequest::getEmail()const +{ + return email_; +} + +void UpdateUserRequest::setEmail(const std::string& email) +{ + email_ = email; + setParameter("Email", email); +} + diff --git a/quickbi-public/src/model/UpdateUserResult.cc b/quickbi-public/src/model/UpdateUserResult.cc new file mode 100644 index 000000000..bbb6c712f --- /dev/null +++ b/quickbi-public/src/model/UpdateUserResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +UpdateUserResult::UpdateUserResult() : + ServiceResult() +{} + +UpdateUserResult::UpdateUserResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateUserResult::~UpdateUserResult() +{} + +void UpdateUserResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool UpdateUserResult::getSuccess()const +{ + return success_; +} + +bool UpdateUserResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/UpdateUserTagMetaRequest.cc b/quickbi-public/src/model/UpdateUserTagMetaRequest.cc new file mode 100644 index 000000000..3bc0bbb29 --- /dev/null +++ b/quickbi-public/src/model/UpdateUserTagMetaRequest.cc @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::UpdateUserTagMetaRequest; + +UpdateUserTagMetaRequest::UpdateUserTagMetaRequest() : + RpcServiceRequest("quickbi-public", "2020-08-02", "UpdateUserTagMeta") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateUserTagMetaRequest::~UpdateUserTagMetaRequest() +{} + +std::string UpdateUserTagMetaRequest::getTagDescription()const +{ + return tagDescription_; +} + +void UpdateUserTagMetaRequest::setTagDescription(const std::string& tagDescription) +{ + tagDescription_ = tagDescription; + setParameter("TagDescription", tagDescription); +} + +std::string UpdateUserTagMetaRequest::getTagName()const +{ + return tagName_; +} + +void UpdateUserTagMetaRequest::setTagName(const std::string& tagName) +{ + tagName_ = tagName; + setParameter("TagName", tagName); +} + +std::string UpdateUserTagMetaRequest::getTagId()const +{ + return tagId_; +} + +void UpdateUserTagMetaRequest::setTagId(const std::string& tagId) +{ + tagId_ = tagId; + setParameter("TagId", tagId); +} + +std::string UpdateUserTagMetaRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void UpdateUserTagMetaRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string UpdateUserTagMetaRequest::getSignType()const +{ + return signType_; +} + +void UpdateUserTagMetaRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + diff --git a/quickbi-public/src/model/UpdateUserTagMetaResult.cc b/quickbi-public/src/model/UpdateUserTagMetaResult.cc new file mode 100644 index 000000000..b7e3f18ec --- /dev/null +++ b/quickbi-public/src/model/UpdateUserTagMetaResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +UpdateUserTagMetaResult::UpdateUserTagMetaResult() : + ServiceResult() +{} + +UpdateUserTagMetaResult::UpdateUserTagMetaResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateUserTagMetaResult::~UpdateUserTagMetaResult() +{} + +void UpdateUserTagMetaResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool UpdateUserTagMetaResult::getSuccess()const +{ + return success_; +} + +bool UpdateUserTagMetaResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/UpdateUserTagValueRequest.cc b/quickbi-public/src/model/UpdateUserTagValueRequest.cc new file mode 100644 index 000000000..9b4a43bfa --- /dev/null +++ b/quickbi-public/src/model/UpdateUserTagValueRequest.cc @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::UpdateUserTagValueRequest; + +UpdateUserTagValueRequest::UpdateUserTagValueRequest() : + RpcServiceRequest("quickbi-public", "2020-08-02", "UpdateUserTagValue") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateUserTagValueRequest::~UpdateUserTagValueRequest() +{} + +std::string UpdateUserTagValueRequest::getTagValue()const +{ + return tagValue_; +} + +void UpdateUserTagValueRequest::setTagValue(const std::string& tagValue) +{ + tagValue_ = tagValue; + setParameter("TagValue", tagValue); +} + +std::string UpdateUserTagValueRequest::getTagId()const +{ + return tagId_; +} + +void UpdateUserTagValueRequest::setTagId(const std::string& tagId) +{ + tagId_ = tagId; + setParameter("TagId", tagId); +} + +std::string UpdateUserTagValueRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void UpdateUserTagValueRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string UpdateUserTagValueRequest::getSignType()const +{ + return signType_; +} + +void UpdateUserTagValueRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string UpdateUserTagValueRequest::getUserId()const +{ + return userId_; +} + +void UpdateUserTagValueRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); +} + diff --git a/quickbi-public/src/model/UpdateUserTagValueResult.cc b/quickbi-public/src/model/UpdateUserTagValueResult.cc new file mode 100644 index 000000000..2ca6e0219 --- /dev/null +++ b/quickbi-public/src/model/UpdateUserTagValueResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +UpdateUserTagValueResult::UpdateUserTagValueResult() : + ServiceResult() +{} + +UpdateUserTagValueResult::UpdateUserTagValueResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateUserTagValueResult::~UpdateUserTagValueResult() +{} + +void UpdateUserTagValueResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool UpdateUserTagValueResult::getSuccess()const +{ + return success_; +} + +bool UpdateUserTagValueResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/UpdateWorkspaceUserRoleRequest.cc b/quickbi-public/src/model/UpdateWorkspaceUserRoleRequest.cc new file mode 100644 index 000000000..6b2280144 --- /dev/null +++ b/quickbi-public/src/model/UpdateWorkspaceUserRoleRequest.cc @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::UpdateWorkspaceUserRoleRequest; + +UpdateWorkspaceUserRoleRequest::UpdateWorkspaceUserRoleRequest() : + RpcServiceRequest("quickbi-public", "2020-08-03", "UpdateWorkspaceUserRole") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateWorkspaceUserRoleRequest::~UpdateWorkspaceUserRoleRequest() +{} + +long UpdateWorkspaceUserRoleRequest::getRoleId()const +{ + return roleId_; +} + +void UpdateWorkspaceUserRoleRequest::setRoleId(long roleId) +{ + roleId_ = roleId; + setParameter("RoleId", std::to_string(roleId)); +} + +std::string UpdateWorkspaceUserRoleRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void UpdateWorkspaceUserRoleRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string UpdateWorkspaceUserRoleRequest::getSignType()const +{ + return signType_; +} + +void UpdateWorkspaceUserRoleRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string UpdateWorkspaceUserRoleRequest::getUserId()const +{ + return userId_; +} + +void UpdateWorkspaceUserRoleRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); +} + +std::string UpdateWorkspaceUserRoleRequest::getWorkspaceId()const +{ + return workspaceId_; +} + +void UpdateWorkspaceUserRoleRequest::setWorkspaceId(const std::string& workspaceId) +{ + workspaceId_ = workspaceId; + setParameter("WorkspaceId", workspaceId); +} + diff --git a/quickbi-public/src/model/UpdateWorkspaceUserRoleResult.cc b/quickbi-public/src/model/UpdateWorkspaceUserRoleResult.cc new file mode 100644 index 000000000..cf74160d3 --- /dev/null +++ b/quickbi-public/src/model/UpdateWorkspaceUserRoleResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +UpdateWorkspaceUserRoleResult::UpdateWorkspaceUserRoleResult() : + ServiceResult() +{} + +UpdateWorkspaceUserRoleResult::UpdateWorkspaceUserRoleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateWorkspaceUserRoleResult::~UpdateWorkspaceUserRoleResult() +{} + +void UpdateWorkspaceUserRoleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool UpdateWorkspaceUserRoleResult::getSuccess()const +{ + return success_; +} + +bool UpdateWorkspaceUserRoleResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/UpdateWorkspaceUsersRoleRequest.cc b/quickbi-public/src/model/UpdateWorkspaceUsersRoleRequest.cc new file mode 100644 index 000000000..b87ad9920 --- /dev/null +++ b/quickbi-public/src/model/UpdateWorkspaceUsersRoleRequest.cc @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::UpdateWorkspaceUsersRoleRequest; + +UpdateWorkspaceUsersRoleRequest::UpdateWorkspaceUsersRoleRequest() : + RpcServiceRequest("quickbi-public", "2020-08-03", "UpdateWorkspaceUsersRole") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateWorkspaceUsersRoleRequest::~UpdateWorkspaceUsersRoleRequest() +{} + +std::string UpdateWorkspaceUsersRoleRequest::getUserIds()const +{ + return userIds_; +} + +void UpdateWorkspaceUsersRoleRequest::setUserIds(const std::string& userIds) +{ + userIds_ = userIds; + setParameter("UserIds", userIds); +} + +long UpdateWorkspaceUsersRoleRequest::getRoleId()const +{ + return roleId_; +} + +void UpdateWorkspaceUsersRoleRequest::setRoleId(long roleId) +{ + roleId_ = roleId; + setParameter("RoleId", std::to_string(roleId)); +} + +std::string UpdateWorkspaceUsersRoleRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void UpdateWorkspaceUsersRoleRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string UpdateWorkspaceUsersRoleRequest::getSignType()const +{ + return signType_; +} + +void UpdateWorkspaceUsersRoleRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string UpdateWorkspaceUsersRoleRequest::getWorkspaceId()const +{ + return workspaceId_; +} + +void UpdateWorkspaceUsersRoleRequest::setWorkspaceId(const std::string& workspaceId) +{ + workspaceId_ = workspaceId; + setParameter("WorkspaceId", workspaceId); +} + diff --git a/quickbi-public/src/model/UpdateWorkspaceUsersRoleResult.cc b/quickbi-public/src/model/UpdateWorkspaceUsersRoleResult.cc new file mode 100644 index 000000000..0594efe29 --- /dev/null +++ b/quickbi-public/src/model/UpdateWorkspaceUsersRoleResult.cc @@ -0,0 +1,65 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +UpdateWorkspaceUsersRoleResult::UpdateWorkspaceUsersRoleResult() : + ServiceResult() +{} + +UpdateWorkspaceUsersRoleResult::UpdateWorkspaceUsersRoleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateWorkspaceUsersRoleResult::~UpdateWorkspaceUsersRoleResult() +{} + +void UpdateWorkspaceUsersRoleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["Total"].isNull()) + result_.total = std::stoi(resultNode["Total"].asString()); + if(!resultNode["Success"].isNull()) + result_.success = std::stoi(resultNode["Success"].asString()); + if(!resultNode["Failure"].isNull()) + result_.failure = std::stoi(resultNode["Failure"].asString()); + if(!resultNode["FailureDetail"].isNull()) + result_.failureDetail = resultNode["FailureDetail"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool UpdateWorkspaceUsersRoleResult::getSuccess()const +{ + return success_; +} + +UpdateWorkspaceUsersRoleResult::Result UpdateWorkspaceUsersRoleResult::getResult()const +{ + return result_; +} + diff --git a/quickbi-public/src/model/WithdrawAllUserGroupsRequest.cc b/quickbi-public/src/model/WithdrawAllUserGroupsRequest.cc new file mode 100644 index 000000000..3f8f01a1a --- /dev/null +++ b/quickbi-public/src/model/WithdrawAllUserGroupsRequest.cc @@ -0,0 +1,62 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Quickbi_public::Model::WithdrawAllUserGroupsRequest; + +WithdrawAllUserGroupsRequest::WithdrawAllUserGroupsRequest() : + RpcServiceRequest("quickbi-public", "2020-07-31", "WithdrawAllUserGroups") +{ + setMethod(HttpRequest::Method::Post); +} + +WithdrawAllUserGroupsRequest::~WithdrawAllUserGroupsRequest() +{} + +std::string WithdrawAllUserGroupsRequest::getAccessPoint()const +{ + return accessPoint_; +} + +void WithdrawAllUserGroupsRequest::setAccessPoint(const std::string& accessPoint) +{ + accessPoint_ = accessPoint; + setParameter("AccessPoint", accessPoint); +} + +std::string WithdrawAllUserGroupsRequest::getSignType()const +{ + return signType_; +} + +void WithdrawAllUserGroupsRequest::setSignType(const std::string& signType) +{ + signType_ = signType; + setParameter("SignType", signType); +} + +std::string WithdrawAllUserGroupsRequest::getUserId()const +{ + return userId_; +} + +void WithdrawAllUserGroupsRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); +} + diff --git a/quickbi-public/src/model/WithdrawAllUserGroupsResult.cc b/quickbi-public/src/model/WithdrawAllUserGroupsResult.cc new file mode 100644 index 000000000..ccbf6a4de --- /dev/null +++ b/quickbi-public/src/model/WithdrawAllUserGroupsResult.cc @@ -0,0 +1,58 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Quickbi_public; +using namespace AlibabaCloud::Quickbi_public::Model; + +WithdrawAllUserGroupsResult::WithdrawAllUserGroupsResult() : + ServiceResult() +{} + +WithdrawAllUserGroupsResult::WithdrawAllUserGroupsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +WithdrawAllUserGroupsResult::~WithdrawAllUserGroupsResult() +{} + +void WithdrawAllUserGroupsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Result"].isNull()) + result_ = value["Result"].asString() == "true"; + +} + +bool WithdrawAllUserGroupsResult::getSuccess()const +{ + return success_; +} + +bool WithdrawAllUserGroupsResult::getResult()const +{ + return result_; +} +