Generated 2021-03-08 for eds-user.
This commit is contained in:
214
eds-user/CMakeLists.txt
Normal file
214
eds-user/CMakeLists.txt
Normal file
@@ -0,0 +1,214 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT 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(eds-user_public_header
|
||||||
|
include/alibabacloud/eds-user/Eds_userClient.h
|
||||||
|
include/alibabacloud/eds-user/Eds_userExport.h )
|
||||||
|
|
||||||
|
set(eds-user_public_header_model
|
||||||
|
include/alibabacloud/eds-user/model/BatchSetDesktopManagerRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/BatchSetDesktopManagerResult.h
|
||||||
|
include/alibabacloud/eds-user/model/ChangeUserPasswordRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/ChangeUserPasswordResult.h
|
||||||
|
include/alibabacloud/eds-user/model/CheckUsedPropertyRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/CheckUsedPropertyResult.h
|
||||||
|
include/alibabacloud/eds-user/model/CheckUsedPropertyValueRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/CheckUsedPropertyValueResult.h
|
||||||
|
include/alibabacloud/eds-user/model/CreateOrgRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/CreateOrgResult.h
|
||||||
|
include/alibabacloud/eds-user/model/CreatePropertyRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/CreatePropertyResult.h
|
||||||
|
include/alibabacloud/eds-user/model/CreateUsersRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/CreateUsersResult.h
|
||||||
|
include/alibabacloud/eds-user/model/DeleteUserPropertyValueRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/DeleteUserPropertyValueResult.h
|
||||||
|
include/alibabacloud/eds-user/model/DescribeMfaDevicesRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/DescribeMfaDevicesResult.h
|
||||||
|
include/alibabacloud/eds-user/model/DescribeOrgByLayerRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/DescribeOrgByLayerResult.h
|
||||||
|
include/alibabacloud/eds-user/model/DescribeOrgsRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/DescribeOrgsResult.h
|
||||||
|
include/alibabacloud/eds-user/model/DescribeUsersRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/DescribeUsersResult.h
|
||||||
|
include/alibabacloud/eds-user/model/FilterUsersRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/FilterUsersResult.h
|
||||||
|
include/alibabacloud/eds-user/model/GetManagerInfoByAuthCodeRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/GetManagerInfoByAuthCodeResult.h
|
||||||
|
include/alibabacloud/eds-user/model/InitTenantAliasRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/InitTenantAliasResult.h
|
||||||
|
include/alibabacloud/eds-user/model/ListPropertyRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/ListPropertyResult.h
|
||||||
|
include/alibabacloud/eds-user/model/ListPropertyValueRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/ListPropertyValueResult.h
|
||||||
|
include/alibabacloud/eds-user/model/LockMfaDeviceRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/LockMfaDeviceResult.h
|
||||||
|
include/alibabacloud/eds-user/model/LockUsersRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/LockUsersResult.h
|
||||||
|
include/alibabacloud/eds-user/model/ModifyOrgRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/ModifyOrgResult.h
|
||||||
|
include/alibabacloud/eds-user/model/ModifyUserRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/ModifyUserResult.h
|
||||||
|
include/alibabacloud/eds-user/model/MoveOrgRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/MoveOrgResult.h
|
||||||
|
include/alibabacloud/eds-user/model/QuerySyncStatusByAliUidRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/QuerySyncStatusByAliUidResult.h
|
||||||
|
include/alibabacloud/eds-user/model/RemoveMfaDeviceRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/RemoveMfaDeviceResult.h
|
||||||
|
include/alibabacloud/eds-user/model/RemoveOrgRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/RemoveOrgResult.h
|
||||||
|
include/alibabacloud/eds-user/model/RemovePropertyRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/RemovePropertyResult.h
|
||||||
|
include/alibabacloud/eds-user/model/RemoveUsersRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/RemoveUsersResult.h
|
||||||
|
include/alibabacloud/eds-user/model/ResetUserPasswordRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/ResetUserPasswordResult.h
|
||||||
|
include/alibabacloud/eds-user/model/SetUserPropertyValueRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/SetUserPropertyValueResult.h
|
||||||
|
include/alibabacloud/eds-user/model/SyncAllEduInfoRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/SyncAllEduInfoResult.h
|
||||||
|
include/alibabacloud/eds-user/model/UnlockMfaDeviceRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/UnlockMfaDeviceResult.h
|
||||||
|
include/alibabacloud/eds-user/model/UnlockUsersRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/UnlockUsersResult.h
|
||||||
|
include/alibabacloud/eds-user/model/UpdatePropertyRequest.h
|
||||||
|
include/alibabacloud/eds-user/model/UpdatePropertyResult.h )
|
||||||
|
|
||||||
|
set(eds-user_src
|
||||||
|
src/Eds-userClient.cc
|
||||||
|
src/model/BatchSetDesktopManagerRequest.cc
|
||||||
|
src/model/BatchSetDesktopManagerResult.cc
|
||||||
|
src/model/ChangeUserPasswordRequest.cc
|
||||||
|
src/model/ChangeUserPasswordResult.cc
|
||||||
|
src/model/CheckUsedPropertyRequest.cc
|
||||||
|
src/model/CheckUsedPropertyResult.cc
|
||||||
|
src/model/CheckUsedPropertyValueRequest.cc
|
||||||
|
src/model/CheckUsedPropertyValueResult.cc
|
||||||
|
src/model/CreateOrgRequest.cc
|
||||||
|
src/model/CreateOrgResult.cc
|
||||||
|
src/model/CreatePropertyRequest.cc
|
||||||
|
src/model/CreatePropertyResult.cc
|
||||||
|
src/model/CreateUsersRequest.cc
|
||||||
|
src/model/CreateUsersResult.cc
|
||||||
|
src/model/DeleteUserPropertyValueRequest.cc
|
||||||
|
src/model/DeleteUserPropertyValueResult.cc
|
||||||
|
src/model/DescribeMfaDevicesRequest.cc
|
||||||
|
src/model/DescribeMfaDevicesResult.cc
|
||||||
|
src/model/DescribeOrgByLayerRequest.cc
|
||||||
|
src/model/DescribeOrgByLayerResult.cc
|
||||||
|
src/model/DescribeOrgsRequest.cc
|
||||||
|
src/model/DescribeOrgsResult.cc
|
||||||
|
src/model/DescribeUsersRequest.cc
|
||||||
|
src/model/DescribeUsersResult.cc
|
||||||
|
src/model/FilterUsersRequest.cc
|
||||||
|
src/model/FilterUsersResult.cc
|
||||||
|
src/model/GetManagerInfoByAuthCodeRequest.cc
|
||||||
|
src/model/GetManagerInfoByAuthCodeResult.cc
|
||||||
|
src/model/InitTenantAliasRequest.cc
|
||||||
|
src/model/InitTenantAliasResult.cc
|
||||||
|
src/model/ListPropertyRequest.cc
|
||||||
|
src/model/ListPropertyResult.cc
|
||||||
|
src/model/ListPropertyValueRequest.cc
|
||||||
|
src/model/ListPropertyValueResult.cc
|
||||||
|
src/model/LockMfaDeviceRequest.cc
|
||||||
|
src/model/LockMfaDeviceResult.cc
|
||||||
|
src/model/LockUsersRequest.cc
|
||||||
|
src/model/LockUsersResult.cc
|
||||||
|
src/model/ModifyOrgRequest.cc
|
||||||
|
src/model/ModifyOrgResult.cc
|
||||||
|
src/model/ModifyUserRequest.cc
|
||||||
|
src/model/ModifyUserResult.cc
|
||||||
|
src/model/MoveOrgRequest.cc
|
||||||
|
src/model/MoveOrgResult.cc
|
||||||
|
src/model/QuerySyncStatusByAliUidRequest.cc
|
||||||
|
src/model/QuerySyncStatusByAliUidResult.cc
|
||||||
|
src/model/RemoveMfaDeviceRequest.cc
|
||||||
|
src/model/RemoveMfaDeviceResult.cc
|
||||||
|
src/model/RemoveOrgRequest.cc
|
||||||
|
src/model/RemoveOrgResult.cc
|
||||||
|
src/model/RemovePropertyRequest.cc
|
||||||
|
src/model/RemovePropertyResult.cc
|
||||||
|
src/model/RemoveUsersRequest.cc
|
||||||
|
src/model/RemoveUsersResult.cc
|
||||||
|
src/model/ResetUserPasswordRequest.cc
|
||||||
|
src/model/ResetUserPasswordResult.cc
|
||||||
|
src/model/SetUserPropertyValueRequest.cc
|
||||||
|
src/model/SetUserPropertyValueResult.cc
|
||||||
|
src/model/SyncAllEduInfoRequest.cc
|
||||||
|
src/model/SyncAllEduInfoResult.cc
|
||||||
|
src/model/UnlockMfaDeviceRequest.cc
|
||||||
|
src/model/UnlockMfaDeviceResult.cc
|
||||||
|
src/model/UnlockUsersRequest.cc
|
||||||
|
src/model/UnlockUsersResult.cc
|
||||||
|
src/model/UpdatePropertyRequest.cc
|
||||||
|
src/model/UpdatePropertyResult.cc )
|
||||||
|
|
||||||
|
add_library(eds-user ${LIB_TYPE}
|
||||||
|
${eds-user_public_header}
|
||||||
|
${eds-user_public_header_model}
|
||||||
|
${eds-user_src})
|
||||||
|
|
||||||
|
set_target_properties(eds-user
|
||||||
|
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}eds-user
|
||||||
|
)
|
||||||
|
|
||||||
|
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||||
|
set_target_properties(eds-user
|
||||||
|
PROPERTIES
|
||||||
|
DEFINE_SYMBOL ALIBABACLOUD_EDS_USER_LIBRARY)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
target_include_directories(eds-user
|
||||||
|
PRIVATE include
|
||||||
|
${CMAKE_SOURCE_DIR}/core/include
|
||||||
|
)
|
||||||
|
target_link_libraries(eds-user
|
||||||
|
core)
|
||||||
|
|
||||||
|
if(CMAKE_HOST_WIN32)
|
||||||
|
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||||
|
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||||
|
add_dependencies(eds-user
|
||||||
|
jsoncpp)
|
||||||
|
target_include_directories(eds-user
|
||||||
|
PRIVATE ${jsoncpp_install_dir}/include)
|
||||||
|
target_link_libraries(eds-user
|
||||||
|
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||||
|
set_target_properties(eds-user
|
||||||
|
PROPERTIES
|
||||||
|
COMPILE_OPTIONS "/bigobj")
|
||||||
|
else()
|
||||||
|
target_include_directories(eds-user
|
||||||
|
PRIVATE /usr/include/jsoncpp)
|
||||||
|
target_link_libraries(eds-user
|
||||||
|
jsoncpp)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
install(FILES ${eds-user_public_header}
|
||||||
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/eds-user)
|
||||||
|
install(FILES ${eds-user_public_header_model}
|
||||||
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/eds-user/model)
|
||||||
|
install(TARGETS eds-user
|
||||||
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||||
|
)
|
||||||
310
eds-user/include/alibabacloud/eds-user/Eds_userClient.h
Normal file
310
eds-user/include/alibabacloud/eds-user/Eds_userClient.h
Normal file
@@ -0,0 +1,310 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_EDS_USERCLIENT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_EDS_USERCLIENT_H_
|
||||||
|
|
||||||
|
#include <future>
|
||||||
|
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||||
|
#include <alibabacloud/core/EndpointProvider.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceClient.h>
|
||||||
|
#include "Eds_userExport.h"
|
||||||
|
#include "model/BatchSetDesktopManagerRequest.h"
|
||||||
|
#include "model/BatchSetDesktopManagerResult.h"
|
||||||
|
#include "model/ChangeUserPasswordRequest.h"
|
||||||
|
#include "model/ChangeUserPasswordResult.h"
|
||||||
|
#include "model/CheckUsedPropertyRequest.h"
|
||||||
|
#include "model/CheckUsedPropertyResult.h"
|
||||||
|
#include "model/CheckUsedPropertyValueRequest.h"
|
||||||
|
#include "model/CheckUsedPropertyValueResult.h"
|
||||||
|
#include "model/CreateOrgRequest.h"
|
||||||
|
#include "model/CreateOrgResult.h"
|
||||||
|
#include "model/CreatePropertyRequest.h"
|
||||||
|
#include "model/CreatePropertyResult.h"
|
||||||
|
#include "model/CreateUsersRequest.h"
|
||||||
|
#include "model/CreateUsersResult.h"
|
||||||
|
#include "model/DeleteUserPropertyValueRequest.h"
|
||||||
|
#include "model/DeleteUserPropertyValueResult.h"
|
||||||
|
#include "model/DescribeMfaDevicesRequest.h"
|
||||||
|
#include "model/DescribeMfaDevicesResult.h"
|
||||||
|
#include "model/DescribeOrgByLayerRequest.h"
|
||||||
|
#include "model/DescribeOrgByLayerResult.h"
|
||||||
|
#include "model/DescribeOrgsRequest.h"
|
||||||
|
#include "model/DescribeOrgsResult.h"
|
||||||
|
#include "model/DescribeUsersRequest.h"
|
||||||
|
#include "model/DescribeUsersResult.h"
|
||||||
|
#include "model/FilterUsersRequest.h"
|
||||||
|
#include "model/FilterUsersResult.h"
|
||||||
|
#include "model/GetManagerInfoByAuthCodeRequest.h"
|
||||||
|
#include "model/GetManagerInfoByAuthCodeResult.h"
|
||||||
|
#include "model/InitTenantAliasRequest.h"
|
||||||
|
#include "model/InitTenantAliasResult.h"
|
||||||
|
#include "model/ListPropertyRequest.h"
|
||||||
|
#include "model/ListPropertyResult.h"
|
||||||
|
#include "model/ListPropertyValueRequest.h"
|
||||||
|
#include "model/ListPropertyValueResult.h"
|
||||||
|
#include "model/LockMfaDeviceRequest.h"
|
||||||
|
#include "model/LockMfaDeviceResult.h"
|
||||||
|
#include "model/LockUsersRequest.h"
|
||||||
|
#include "model/LockUsersResult.h"
|
||||||
|
#include "model/ModifyOrgRequest.h"
|
||||||
|
#include "model/ModifyOrgResult.h"
|
||||||
|
#include "model/ModifyUserRequest.h"
|
||||||
|
#include "model/ModifyUserResult.h"
|
||||||
|
#include "model/MoveOrgRequest.h"
|
||||||
|
#include "model/MoveOrgResult.h"
|
||||||
|
#include "model/QuerySyncStatusByAliUidRequest.h"
|
||||||
|
#include "model/QuerySyncStatusByAliUidResult.h"
|
||||||
|
#include "model/RemoveMfaDeviceRequest.h"
|
||||||
|
#include "model/RemoveMfaDeviceResult.h"
|
||||||
|
#include "model/RemoveOrgRequest.h"
|
||||||
|
#include "model/RemoveOrgResult.h"
|
||||||
|
#include "model/RemovePropertyRequest.h"
|
||||||
|
#include "model/RemovePropertyResult.h"
|
||||||
|
#include "model/RemoveUsersRequest.h"
|
||||||
|
#include "model/RemoveUsersResult.h"
|
||||||
|
#include "model/ResetUserPasswordRequest.h"
|
||||||
|
#include "model/ResetUserPasswordResult.h"
|
||||||
|
#include "model/SetUserPropertyValueRequest.h"
|
||||||
|
#include "model/SetUserPropertyValueResult.h"
|
||||||
|
#include "model/SyncAllEduInfoRequest.h"
|
||||||
|
#include "model/SyncAllEduInfoResult.h"
|
||||||
|
#include "model/UnlockMfaDeviceRequest.h"
|
||||||
|
#include "model/UnlockMfaDeviceResult.h"
|
||||||
|
#include "model/UnlockUsersRequest.h"
|
||||||
|
#include "model/UnlockUsersResult.h"
|
||||||
|
#include "model/UpdatePropertyRequest.h"
|
||||||
|
#include "model/UpdatePropertyResult.h"
|
||||||
|
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT Eds_userClient : public RpcServiceClient
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
typedef Outcome<Error, Model::BatchSetDesktopManagerResult> BatchSetDesktopManagerOutcome;
|
||||||
|
typedef std::future<BatchSetDesktopManagerOutcome> BatchSetDesktopManagerOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::BatchSetDesktopManagerRequest&, const BatchSetDesktopManagerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchSetDesktopManagerAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ChangeUserPasswordResult> ChangeUserPasswordOutcome;
|
||||||
|
typedef std::future<ChangeUserPasswordOutcome> ChangeUserPasswordOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::ChangeUserPasswordRequest&, const ChangeUserPasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeUserPasswordAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::CheckUsedPropertyResult> CheckUsedPropertyOutcome;
|
||||||
|
typedef std::future<CheckUsedPropertyOutcome> CheckUsedPropertyOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::CheckUsedPropertyRequest&, const CheckUsedPropertyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckUsedPropertyAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::CheckUsedPropertyValueResult> CheckUsedPropertyValueOutcome;
|
||||||
|
typedef std::future<CheckUsedPropertyValueOutcome> CheckUsedPropertyValueOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::CheckUsedPropertyValueRequest&, const CheckUsedPropertyValueOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckUsedPropertyValueAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::CreateOrgResult> CreateOrgOutcome;
|
||||||
|
typedef std::future<CreateOrgOutcome> CreateOrgOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::CreateOrgRequest&, const CreateOrgOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateOrgAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::CreatePropertyResult> CreatePropertyOutcome;
|
||||||
|
typedef std::future<CreatePropertyOutcome> CreatePropertyOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::CreatePropertyRequest&, const CreatePropertyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePropertyAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::CreateUsersResult> CreateUsersOutcome;
|
||||||
|
typedef std::future<CreateUsersOutcome> CreateUsersOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::CreateUsersRequest&, const CreateUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUsersAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DeleteUserPropertyValueResult> DeleteUserPropertyValueOutcome;
|
||||||
|
typedef std::future<DeleteUserPropertyValueOutcome> DeleteUserPropertyValueOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::DeleteUserPropertyValueRequest&, const DeleteUserPropertyValueOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteUserPropertyValueAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeMfaDevicesResult> DescribeMfaDevicesOutcome;
|
||||||
|
typedef std::future<DescribeMfaDevicesOutcome> DescribeMfaDevicesOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::DescribeMfaDevicesRequest&, const DescribeMfaDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMfaDevicesAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeOrgByLayerResult> DescribeOrgByLayerOutcome;
|
||||||
|
typedef std::future<DescribeOrgByLayerOutcome> DescribeOrgByLayerOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::DescribeOrgByLayerRequest&, const DescribeOrgByLayerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOrgByLayerAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeOrgsResult> DescribeOrgsOutcome;
|
||||||
|
typedef std::future<DescribeOrgsOutcome> DescribeOrgsOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::DescribeOrgsRequest&, const DescribeOrgsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOrgsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeUsersResult> DescribeUsersOutcome;
|
||||||
|
typedef std::future<DescribeUsersOutcome> DescribeUsersOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::DescribeUsersRequest&, const DescribeUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUsersAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::FilterUsersResult> FilterUsersOutcome;
|
||||||
|
typedef std::future<FilterUsersOutcome> FilterUsersOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::FilterUsersRequest&, const FilterUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FilterUsersAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::GetManagerInfoByAuthCodeResult> GetManagerInfoByAuthCodeOutcome;
|
||||||
|
typedef std::future<GetManagerInfoByAuthCodeOutcome> GetManagerInfoByAuthCodeOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::GetManagerInfoByAuthCodeRequest&, const GetManagerInfoByAuthCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetManagerInfoByAuthCodeAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::InitTenantAliasResult> InitTenantAliasOutcome;
|
||||||
|
typedef std::future<InitTenantAliasOutcome> InitTenantAliasOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::InitTenantAliasRequest&, const InitTenantAliasOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InitTenantAliasAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ListPropertyResult> ListPropertyOutcome;
|
||||||
|
typedef std::future<ListPropertyOutcome> ListPropertyOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::ListPropertyRequest&, const ListPropertyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPropertyAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ListPropertyValueResult> ListPropertyValueOutcome;
|
||||||
|
typedef std::future<ListPropertyValueOutcome> ListPropertyValueOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::ListPropertyValueRequest&, const ListPropertyValueOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPropertyValueAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::LockMfaDeviceResult> LockMfaDeviceOutcome;
|
||||||
|
typedef std::future<LockMfaDeviceOutcome> LockMfaDeviceOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::LockMfaDeviceRequest&, const LockMfaDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> LockMfaDeviceAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::LockUsersResult> LockUsersOutcome;
|
||||||
|
typedef std::future<LockUsersOutcome> LockUsersOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::LockUsersRequest&, const LockUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> LockUsersAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ModifyOrgResult> ModifyOrgOutcome;
|
||||||
|
typedef std::future<ModifyOrgOutcome> ModifyOrgOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::ModifyOrgRequest&, const ModifyOrgOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyOrgAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ModifyUserResult> ModifyUserOutcome;
|
||||||
|
typedef std::future<ModifyUserOutcome> ModifyUserOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::ModifyUserRequest&, const ModifyUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyUserAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::MoveOrgResult> MoveOrgOutcome;
|
||||||
|
typedef std::future<MoveOrgOutcome> MoveOrgOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::MoveOrgRequest&, const MoveOrgOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoveOrgAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::QuerySyncStatusByAliUidResult> QuerySyncStatusByAliUidOutcome;
|
||||||
|
typedef std::future<QuerySyncStatusByAliUidOutcome> QuerySyncStatusByAliUidOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::QuerySyncStatusByAliUidRequest&, const QuerySyncStatusByAliUidOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySyncStatusByAliUidAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::RemoveMfaDeviceResult> RemoveMfaDeviceOutcome;
|
||||||
|
typedef std::future<RemoveMfaDeviceOutcome> RemoveMfaDeviceOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::RemoveMfaDeviceRequest&, const RemoveMfaDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveMfaDeviceAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::RemoveOrgResult> RemoveOrgOutcome;
|
||||||
|
typedef std::future<RemoveOrgOutcome> RemoveOrgOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::RemoveOrgRequest&, const RemoveOrgOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveOrgAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::RemovePropertyResult> RemovePropertyOutcome;
|
||||||
|
typedef std::future<RemovePropertyOutcome> RemovePropertyOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::RemovePropertyRequest&, const RemovePropertyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemovePropertyAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::RemoveUsersResult> RemoveUsersOutcome;
|
||||||
|
typedef std::future<RemoveUsersOutcome> RemoveUsersOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::RemoveUsersRequest&, const RemoveUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveUsersAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ResetUserPasswordResult> ResetUserPasswordOutcome;
|
||||||
|
typedef std::future<ResetUserPasswordOutcome> ResetUserPasswordOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::ResetUserPasswordRequest&, const ResetUserPasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetUserPasswordAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::SetUserPropertyValueResult> SetUserPropertyValueOutcome;
|
||||||
|
typedef std::future<SetUserPropertyValueOutcome> SetUserPropertyValueOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::SetUserPropertyValueRequest&, const SetUserPropertyValueOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetUserPropertyValueAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::SyncAllEduInfoResult> SyncAllEduInfoOutcome;
|
||||||
|
typedef std::future<SyncAllEduInfoOutcome> SyncAllEduInfoOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::SyncAllEduInfoRequest&, const SyncAllEduInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SyncAllEduInfoAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::UnlockMfaDeviceResult> UnlockMfaDeviceOutcome;
|
||||||
|
typedef std::future<UnlockMfaDeviceOutcome> UnlockMfaDeviceOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::UnlockMfaDeviceRequest&, const UnlockMfaDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnlockMfaDeviceAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::UnlockUsersResult> UnlockUsersOutcome;
|
||||||
|
typedef std::future<UnlockUsersOutcome> UnlockUsersOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::UnlockUsersRequest&, const UnlockUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnlockUsersAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::UpdatePropertyResult> UpdatePropertyOutcome;
|
||||||
|
typedef std::future<UpdatePropertyOutcome> UpdatePropertyOutcomeCallable;
|
||||||
|
typedef std::function<void(const Eds_userClient*, const Model::UpdatePropertyRequest&, const UpdatePropertyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdatePropertyAsyncHandler;
|
||||||
|
|
||||||
|
Eds_userClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||||
|
Eds_userClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||||
|
Eds_userClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||||
|
~Eds_userClient();
|
||||||
|
BatchSetDesktopManagerOutcome batchSetDesktopManager(const Model::BatchSetDesktopManagerRequest &request)const;
|
||||||
|
void batchSetDesktopManagerAsync(const Model::BatchSetDesktopManagerRequest& request, const BatchSetDesktopManagerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
BatchSetDesktopManagerOutcomeCallable batchSetDesktopManagerCallable(const Model::BatchSetDesktopManagerRequest& request) const;
|
||||||
|
ChangeUserPasswordOutcome changeUserPassword(const Model::ChangeUserPasswordRequest &request)const;
|
||||||
|
void changeUserPasswordAsync(const Model::ChangeUserPasswordRequest& request, const ChangeUserPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ChangeUserPasswordOutcomeCallable changeUserPasswordCallable(const Model::ChangeUserPasswordRequest& request) const;
|
||||||
|
CheckUsedPropertyOutcome checkUsedProperty(const Model::CheckUsedPropertyRequest &request)const;
|
||||||
|
void checkUsedPropertyAsync(const Model::CheckUsedPropertyRequest& request, const CheckUsedPropertyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
CheckUsedPropertyOutcomeCallable checkUsedPropertyCallable(const Model::CheckUsedPropertyRequest& request) const;
|
||||||
|
CheckUsedPropertyValueOutcome checkUsedPropertyValue(const Model::CheckUsedPropertyValueRequest &request)const;
|
||||||
|
void checkUsedPropertyValueAsync(const Model::CheckUsedPropertyValueRequest& request, const CheckUsedPropertyValueAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
CheckUsedPropertyValueOutcomeCallable checkUsedPropertyValueCallable(const Model::CheckUsedPropertyValueRequest& request) const;
|
||||||
|
CreateOrgOutcome createOrg(const Model::CreateOrgRequest &request)const;
|
||||||
|
void createOrgAsync(const Model::CreateOrgRequest& request, const CreateOrgAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
CreateOrgOutcomeCallable createOrgCallable(const Model::CreateOrgRequest& request) const;
|
||||||
|
CreatePropertyOutcome createProperty(const Model::CreatePropertyRequest &request)const;
|
||||||
|
void createPropertyAsync(const Model::CreatePropertyRequest& request, const CreatePropertyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
CreatePropertyOutcomeCallable createPropertyCallable(const Model::CreatePropertyRequest& request) const;
|
||||||
|
CreateUsersOutcome createUsers(const Model::CreateUsersRequest &request)const;
|
||||||
|
void createUsersAsync(const Model::CreateUsersRequest& request, const CreateUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
CreateUsersOutcomeCallable createUsersCallable(const Model::CreateUsersRequest& request) const;
|
||||||
|
DeleteUserPropertyValueOutcome deleteUserPropertyValue(const Model::DeleteUserPropertyValueRequest &request)const;
|
||||||
|
void deleteUserPropertyValueAsync(const Model::DeleteUserPropertyValueRequest& request, const DeleteUserPropertyValueAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DeleteUserPropertyValueOutcomeCallable deleteUserPropertyValueCallable(const Model::DeleteUserPropertyValueRequest& request) const;
|
||||||
|
DescribeMfaDevicesOutcome describeMfaDevices(const Model::DescribeMfaDevicesRequest &request)const;
|
||||||
|
void describeMfaDevicesAsync(const Model::DescribeMfaDevicesRequest& request, const DescribeMfaDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeMfaDevicesOutcomeCallable describeMfaDevicesCallable(const Model::DescribeMfaDevicesRequest& request) const;
|
||||||
|
DescribeOrgByLayerOutcome describeOrgByLayer(const Model::DescribeOrgByLayerRequest &request)const;
|
||||||
|
void describeOrgByLayerAsync(const Model::DescribeOrgByLayerRequest& request, const DescribeOrgByLayerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeOrgByLayerOutcomeCallable describeOrgByLayerCallable(const Model::DescribeOrgByLayerRequest& request) const;
|
||||||
|
DescribeOrgsOutcome describeOrgs(const Model::DescribeOrgsRequest &request)const;
|
||||||
|
void describeOrgsAsync(const Model::DescribeOrgsRequest& request, const DescribeOrgsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeOrgsOutcomeCallable describeOrgsCallable(const Model::DescribeOrgsRequest& request) const;
|
||||||
|
DescribeUsersOutcome describeUsers(const Model::DescribeUsersRequest &request)const;
|
||||||
|
void describeUsersAsync(const Model::DescribeUsersRequest& request, const DescribeUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeUsersOutcomeCallable describeUsersCallable(const Model::DescribeUsersRequest& request) const;
|
||||||
|
FilterUsersOutcome filterUsers(const Model::FilterUsersRequest &request)const;
|
||||||
|
void filterUsersAsync(const Model::FilterUsersRequest& request, const FilterUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
FilterUsersOutcomeCallable filterUsersCallable(const Model::FilterUsersRequest& request) const;
|
||||||
|
GetManagerInfoByAuthCodeOutcome getManagerInfoByAuthCode(const Model::GetManagerInfoByAuthCodeRequest &request)const;
|
||||||
|
void getManagerInfoByAuthCodeAsync(const Model::GetManagerInfoByAuthCodeRequest& request, const GetManagerInfoByAuthCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
GetManagerInfoByAuthCodeOutcomeCallable getManagerInfoByAuthCodeCallable(const Model::GetManagerInfoByAuthCodeRequest& request) const;
|
||||||
|
InitTenantAliasOutcome initTenantAlias(const Model::InitTenantAliasRequest &request)const;
|
||||||
|
void initTenantAliasAsync(const Model::InitTenantAliasRequest& request, const InitTenantAliasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
InitTenantAliasOutcomeCallable initTenantAliasCallable(const Model::InitTenantAliasRequest& request) const;
|
||||||
|
ListPropertyOutcome listProperty(const Model::ListPropertyRequest &request)const;
|
||||||
|
void listPropertyAsync(const Model::ListPropertyRequest& request, const ListPropertyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ListPropertyOutcomeCallable listPropertyCallable(const Model::ListPropertyRequest& request) const;
|
||||||
|
ListPropertyValueOutcome listPropertyValue(const Model::ListPropertyValueRequest &request)const;
|
||||||
|
void listPropertyValueAsync(const Model::ListPropertyValueRequest& request, const ListPropertyValueAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ListPropertyValueOutcomeCallable listPropertyValueCallable(const Model::ListPropertyValueRequest& request) const;
|
||||||
|
LockMfaDeviceOutcome lockMfaDevice(const Model::LockMfaDeviceRequest &request)const;
|
||||||
|
void lockMfaDeviceAsync(const Model::LockMfaDeviceRequest& request, const LockMfaDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
LockMfaDeviceOutcomeCallable lockMfaDeviceCallable(const Model::LockMfaDeviceRequest& request) const;
|
||||||
|
LockUsersOutcome lockUsers(const Model::LockUsersRequest &request)const;
|
||||||
|
void lockUsersAsync(const Model::LockUsersRequest& request, const LockUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
LockUsersOutcomeCallable lockUsersCallable(const Model::LockUsersRequest& request) const;
|
||||||
|
ModifyOrgOutcome modifyOrg(const Model::ModifyOrgRequest &request)const;
|
||||||
|
void modifyOrgAsync(const Model::ModifyOrgRequest& request, const ModifyOrgAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ModifyOrgOutcomeCallable modifyOrgCallable(const Model::ModifyOrgRequest& request) const;
|
||||||
|
ModifyUserOutcome modifyUser(const Model::ModifyUserRequest &request)const;
|
||||||
|
void modifyUserAsync(const Model::ModifyUserRequest& request, const ModifyUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ModifyUserOutcomeCallable modifyUserCallable(const Model::ModifyUserRequest& request) const;
|
||||||
|
MoveOrgOutcome moveOrg(const Model::MoveOrgRequest &request)const;
|
||||||
|
void moveOrgAsync(const Model::MoveOrgRequest& request, const MoveOrgAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
MoveOrgOutcomeCallable moveOrgCallable(const Model::MoveOrgRequest& request) const;
|
||||||
|
QuerySyncStatusByAliUidOutcome querySyncStatusByAliUid(const Model::QuerySyncStatusByAliUidRequest &request)const;
|
||||||
|
void querySyncStatusByAliUidAsync(const Model::QuerySyncStatusByAliUidRequest& request, const QuerySyncStatusByAliUidAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
QuerySyncStatusByAliUidOutcomeCallable querySyncStatusByAliUidCallable(const Model::QuerySyncStatusByAliUidRequest& request) const;
|
||||||
|
RemoveMfaDeviceOutcome removeMfaDevice(const Model::RemoveMfaDeviceRequest &request)const;
|
||||||
|
void removeMfaDeviceAsync(const Model::RemoveMfaDeviceRequest& request, const RemoveMfaDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
RemoveMfaDeviceOutcomeCallable removeMfaDeviceCallable(const Model::RemoveMfaDeviceRequest& request) const;
|
||||||
|
RemoveOrgOutcome removeOrg(const Model::RemoveOrgRequest &request)const;
|
||||||
|
void removeOrgAsync(const Model::RemoveOrgRequest& request, const RemoveOrgAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
RemoveOrgOutcomeCallable removeOrgCallable(const Model::RemoveOrgRequest& request) const;
|
||||||
|
RemovePropertyOutcome removeProperty(const Model::RemovePropertyRequest &request)const;
|
||||||
|
void removePropertyAsync(const Model::RemovePropertyRequest& request, const RemovePropertyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
RemovePropertyOutcomeCallable removePropertyCallable(const Model::RemovePropertyRequest& request) const;
|
||||||
|
RemoveUsersOutcome removeUsers(const Model::RemoveUsersRequest &request)const;
|
||||||
|
void removeUsersAsync(const Model::RemoveUsersRequest& request, const RemoveUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
RemoveUsersOutcomeCallable removeUsersCallable(const Model::RemoveUsersRequest& request) const;
|
||||||
|
ResetUserPasswordOutcome resetUserPassword(const Model::ResetUserPasswordRequest &request)const;
|
||||||
|
void resetUserPasswordAsync(const Model::ResetUserPasswordRequest& request, const ResetUserPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ResetUserPasswordOutcomeCallable resetUserPasswordCallable(const Model::ResetUserPasswordRequest& request) const;
|
||||||
|
SetUserPropertyValueOutcome setUserPropertyValue(const Model::SetUserPropertyValueRequest &request)const;
|
||||||
|
void setUserPropertyValueAsync(const Model::SetUserPropertyValueRequest& request, const SetUserPropertyValueAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
SetUserPropertyValueOutcomeCallable setUserPropertyValueCallable(const Model::SetUserPropertyValueRequest& request) const;
|
||||||
|
SyncAllEduInfoOutcome syncAllEduInfo(const Model::SyncAllEduInfoRequest &request)const;
|
||||||
|
void syncAllEduInfoAsync(const Model::SyncAllEduInfoRequest& request, const SyncAllEduInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
SyncAllEduInfoOutcomeCallable syncAllEduInfoCallable(const Model::SyncAllEduInfoRequest& request) const;
|
||||||
|
UnlockMfaDeviceOutcome unlockMfaDevice(const Model::UnlockMfaDeviceRequest &request)const;
|
||||||
|
void unlockMfaDeviceAsync(const Model::UnlockMfaDeviceRequest& request, const UnlockMfaDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
UnlockMfaDeviceOutcomeCallable unlockMfaDeviceCallable(const Model::UnlockMfaDeviceRequest& request) const;
|
||||||
|
UnlockUsersOutcome unlockUsers(const Model::UnlockUsersRequest &request)const;
|
||||||
|
void unlockUsersAsync(const Model::UnlockUsersRequest& request, const UnlockUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
UnlockUsersOutcomeCallable unlockUsersCallable(const Model::UnlockUsersRequest& request) const;
|
||||||
|
UpdatePropertyOutcome updateProperty(const Model::UpdatePropertyRequest &request)const;
|
||||||
|
void updatePropertyAsync(const Model::UpdatePropertyRequest& request, const UpdatePropertyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
UpdatePropertyOutcomeCallable updatePropertyCallable(const Model::UpdatePropertyRequest& request) const;
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_EDS_USERCLIENT_H_
|
||||||
32
eds-user/include/alibabacloud/eds-user/Eds_userExport.h
Normal file
32
eds-user/include/alibabacloud/eds-user/Eds_userExport.h
Normal file
@@ -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_EDS_USER_EDS_USEREXPORT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_EDS_USEREXPORT_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/core/Global.h>
|
||||||
|
|
||||||
|
#if defined(ALIBABACLOUD_SHARED)
|
||||||
|
# if defined(ALIBABACLOUD_EDS_USER_LIBRARY)
|
||||||
|
# define ALIBABACLOUD_EDS_USER_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||||
|
# else
|
||||||
|
# define ALIBABACLOUD_EDS_USER_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||||
|
# endif
|
||||||
|
#else
|
||||||
|
# define ALIBABACLOUD_EDS_USER_EXPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_EDS_USEREXPORT_H_
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_BATCHSETDESKTOPMANAGERREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_BATCHSETDESKTOPMANAGERREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT BatchSetDesktopManagerRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
BatchSetDesktopManagerRequest();
|
||||||
|
~BatchSetDesktopManagerRequest();
|
||||||
|
std::string getIsDesktopManager() const;
|
||||||
|
void setIsDesktopManager(const std::string &isDesktopManager);
|
||||||
|
std::vector<std::string> getUsers() const;
|
||||||
|
void setUsers(const std::vector<std::string> &users);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string isDesktopManager_;
|
||||||
|
std::vector<std::string> users_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_BATCHSETDESKTOPMANAGERREQUEST_H_
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_BATCHSETDESKTOPMANAGERRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_BATCHSETDESKTOPMANAGERRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT BatchSetDesktopManagerResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
BatchSetDesktopManagerResult();
|
||||||
|
explicit BatchSetDesktopManagerResult(const std::string &payload);
|
||||||
|
~BatchSetDesktopManagerResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_BATCHSETDESKTOPMANAGERRESULT_H_
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_CHANGEUSERPASSWORDREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_CHANGEUSERPASSWORDREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT ChangeUserPasswordRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
ChangeUserPasswordRequest();
|
||||||
|
~ChangeUserPasswordRequest();
|
||||||
|
std::string getNewPassword() const;
|
||||||
|
void setNewPassword(const std::string &newPassword);
|
||||||
|
std::string getEndUserId() const;
|
||||||
|
void setEndUserId(const std::string &endUserId);
|
||||||
|
std::string getNotifyType() const;
|
||||||
|
void setNotifyType(const std::string ¬ifyType);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string newPassword_;
|
||||||
|
std::string endUserId_;
|
||||||
|
std::string notifyType_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_CHANGEUSERPASSWORDREQUEST_H_
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_CHANGEUSERPASSWORDRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_CHANGEUSERPASSWORDRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT ChangeUserPasswordResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
ChangeUserPasswordResult();
|
||||||
|
explicit ChangeUserPasswordResult(const std::string &payload);
|
||||||
|
~ChangeUserPasswordResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_CHANGEUSERPASSWORDRESULT_H_
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_CHECKUSEDPROPERTYREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_CHECKUSEDPROPERTYREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT CheckUsedPropertyRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
CheckUsedPropertyRequest();
|
||||||
|
~CheckUsedPropertyRequest();
|
||||||
|
long getPropertyId() const;
|
||||||
|
void setPropertyId(long propertyId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
long propertyId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_CHECKUSEDPROPERTYREQUEST_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_EDS_USER_MODEL_CHECKUSEDPROPERTYRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_CHECKUSEDPROPERTYRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT CheckUsedPropertyResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
CheckUsedPropertyResult();
|
||||||
|
explicit CheckUsedPropertyResult(const std::string &payload);
|
||||||
|
~CheckUsedPropertyResult();
|
||||||
|
long getUseCount()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
long useCount_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_CHECKUSEDPROPERTYRESULT_H_
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_CHECKUSEDPROPERTYVALUEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_CHECKUSEDPROPERTYVALUEREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT CheckUsedPropertyValueRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
CheckUsedPropertyValueRequest();
|
||||||
|
~CheckUsedPropertyValueRequest();
|
||||||
|
long getPropertyValueId() const;
|
||||||
|
void setPropertyValueId(long propertyValueId);
|
||||||
|
long getPropertyId() const;
|
||||||
|
void setPropertyId(long propertyId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
long propertyValueId_;
|
||||||
|
long propertyId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_CHECKUSEDPROPERTYVALUEREQUEST_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_EDS_USER_MODEL_CHECKUSEDPROPERTYVALUERESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_CHECKUSEDPROPERTYVALUERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT CheckUsedPropertyValueResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
CheckUsedPropertyValueResult();
|
||||||
|
explicit CheckUsedPropertyValueResult(const std::string &payload);
|
||||||
|
~CheckUsedPropertyValueResult();
|
||||||
|
long getUseCount()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
long useCount_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_CHECKUSEDPROPERTYVALUERESULT_H_
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_CREATEORGREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_CREATEORGREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT CreateOrgRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
CreateOrgRequest();
|
||||||
|
~CreateOrgRequest();
|
||||||
|
std::string getIcon() const;
|
||||||
|
void setIcon(const std::string &icon);
|
||||||
|
std::string getOrgName() const;
|
||||||
|
void setOrgName(const std::string &orgName);
|
||||||
|
std::string getParentOrgId() const;
|
||||||
|
void setParentOrgId(const std::string &parentOrgId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string icon_;
|
||||||
|
std::string orgName_;
|
||||||
|
std::string parentOrgId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_CREATEORGREQUEST_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_EDS_USER_MODEL_CREATEORGRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_CREATEORGRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT CreateOrgResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
CreateOrgResult();
|
||||||
|
explicit CreateOrgResult(const std::string &payload);
|
||||||
|
~CreateOrgResult();
|
||||||
|
std::string getOrgId()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string orgId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_CREATEORGRESULT_H_
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_CREATEPROPERTYREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_CREATEPROPERTYREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT CreatePropertyRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
CreatePropertyRequest();
|
||||||
|
~CreatePropertyRequest();
|
||||||
|
std::string getPropertyKey() const;
|
||||||
|
void setPropertyKey(const std::string &propertyKey);
|
||||||
|
std::vector<std::string> getPropertyValues() const;
|
||||||
|
void setPropertyValues(const std::vector<std::string> &propertyValues);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string propertyKey_;
|
||||||
|
std::vector<std::string> propertyValues_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_CREATEPROPERTYREQUEST_H_
|
||||||
@@ -0,0 +1,74 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_CREATEPROPERTYRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_CREATEPROPERTYRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT CreatePropertyResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct CreateResult
|
||||||
|
{
|
||||||
|
struct SavePropertyValueModel
|
||||||
|
{
|
||||||
|
struct SavePropertyValuesItem
|
||||||
|
{
|
||||||
|
long propertyValueId;
|
||||||
|
std::string propertyValue;
|
||||||
|
};
|
||||||
|
struct FailedPropertyValuesItem
|
||||||
|
{
|
||||||
|
std::string propertyValue;
|
||||||
|
std::string errorCode;
|
||||||
|
std::string errorMessage;
|
||||||
|
long propertyId;
|
||||||
|
};
|
||||||
|
std::vector<FailedPropertyValuesItem> failedPropertyValues;
|
||||||
|
std::vector<SavePropertyValuesItem> savePropertyValues;
|
||||||
|
};
|
||||||
|
SavePropertyValueModel savePropertyValueModel;
|
||||||
|
std::string propertyKey;
|
||||||
|
long propertyId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
CreatePropertyResult();
|
||||||
|
explicit CreatePropertyResult(const std::string &payload);
|
||||||
|
~CreatePropertyResult();
|
||||||
|
CreateResult getCreateResult()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
CreateResult createResult_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_CREATEPROPERTYRESULT_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_EDS_USER_MODEL_CREATEUSERSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_CREATEUSERSREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT CreateUsersRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
struct Users {
|
||||||
|
std::string password;
|
||||||
|
std::string realNickName;
|
||||||
|
std::string phone;
|
||||||
|
std::string ownerType;
|
||||||
|
std::string endUserId;
|
||||||
|
std::string remark;
|
||||||
|
std::string email;
|
||||||
|
std::string orgId;
|
||||||
|
};
|
||||||
|
CreateUsersRequest();
|
||||||
|
~CreateUsersRequest();
|
||||||
|
std::string getAutoLockTime() const;
|
||||||
|
void setAutoLockTime(const std::string &autoLockTime);
|
||||||
|
bool getIsLocalAdmin() const;
|
||||||
|
void setIsLocalAdmin(bool isLocalAdmin);
|
||||||
|
std::vector<Users> getUsers() const;
|
||||||
|
void setUsers(const std::vector<Users> &users);
|
||||||
|
std::string getPassword() const;
|
||||||
|
void setPassword(const std::string &password);
|
||||||
|
std::string getPasswordExpireDays() const;
|
||||||
|
void setPasswordExpireDays(const std::string &passwordExpireDays);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string autoLockTime_;
|
||||||
|
bool isLocalAdmin_;
|
||||||
|
std::vector<Users> users_;
|
||||||
|
std::string password_;
|
||||||
|
std::string passwordExpireDays_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_CREATEUSERSREQUEST_H_
|
||||||
@@ -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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_EDS_USER_MODEL_CREATEUSERSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_CREATEUSERSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT CreateUsersResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct CreateResult
|
||||||
|
{
|
||||||
|
struct CreatedUsersItem
|
||||||
|
{
|
||||||
|
std::string endUserId;
|
||||||
|
std::string email;
|
||||||
|
std::string phone;
|
||||||
|
std::string realNickName;
|
||||||
|
std::string remark;
|
||||||
|
};
|
||||||
|
struct FailedUsersItem
|
||||||
|
{
|
||||||
|
std::string endUserId;
|
||||||
|
std::string email;
|
||||||
|
std::string phone;
|
||||||
|
std::string errorCode;
|
||||||
|
std::string errorMessage;
|
||||||
|
};
|
||||||
|
std::vector<FailedUsersItem> failedUsers;
|
||||||
|
std::vector<CreatedUsersItem> createdUsers;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
CreateUsersResult();
|
||||||
|
explicit CreateUsersResult(const std::string &payload);
|
||||||
|
~CreateUsersResult();
|
||||||
|
CreateResult getCreateResult()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
CreateResult createResult_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_CREATEUSERSRESULT_H_
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_DELETEUSERPROPERTYVALUEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_DELETEUSERPROPERTYVALUEREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT DeleteUserPropertyValueRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
DeleteUserPropertyValueRequest();
|
||||||
|
~DeleteUserPropertyValueRequest();
|
||||||
|
long getPropertyValueId() const;
|
||||||
|
void setPropertyValueId(long propertyValueId);
|
||||||
|
long getUserId() const;
|
||||||
|
void setUserId(long userId);
|
||||||
|
long getPropertyId() const;
|
||||||
|
void setPropertyId(long propertyId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
long propertyValueId_;
|
||||||
|
long userId_;
|
||||||
|
long propertyId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_DELETEUSERPROPERTYVALUEREQUEST_H_
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_DELETEUSERPROPERTYVALUERESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_DELETEUSERPROPERTYVALUERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT DeleteUserPropertyValueResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DeleteUserPropertyValueResult();
|
||||||
|
explicit DeleteUserPropertyValueResult(const std::string &payload);
|
||||||
|
~DeleteUserPropertyValueResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_DELETEUSERPROPERTYVALUERESULT_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_EDS_USER_MODEL_DESCRIBEMFADEVICESREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_DESCRIBEMFADEVICESREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT DescribeMfaDevicesRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
DescribeMfaDevicesRequest();
|
||||||
|
~DescribeMfaDevicesRequest();
|
||||||
|
std::vector<std::string> getEndUserIds() const;
|
||||||
|
void setEndUserIds(const std::vector<std::string> &endUserIds);
|
||||||
|
std::vector<std::string> getSerialNumbers() const;
|
||||||
|
void setSerialNumbers(const std::vector<std::string> &serialNumbers);
|
||||||
|
std::string getAdDomain() const;
|
||||||
|
void setAdDomain(const std::string &adDomain);
|
||||||
|
std::string getNextToken() const;
|
||||||
|
void setNextToken(const std::string &nextToken);
|
||||||
|
long getMaxResults() const;
|
||||||
|
void setMaxResults(long maxResults);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::vector<std::string> endUserIds_;
|
||||||
|
std::vector<std::string> serialNumbers_;
|
||||||
|
std::string adDomain_;
|
||||||
|
std::string nextToken_;
|
||||||
|
long maxResults_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_DESCRIBEMFADEVICESREQUEST_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_EDS_USER_MODEL_DESCRIBEMFADEVICESRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_DESCRIBEMFADEVICESRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT DescribeMfaDevicesResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string status;
|
||||||
|
std::string gmtEnabled;
|
||||||
|
std::string deviceType;
|
||||||
|
std::string endUserId;
|
||||||
|
std::string email;
|
||||||
|
int consecutiveFails;
|
||||||
|
std::string serialNumber;
|
||||||
|
std::string gmtUnlock;
|
||||||
|
long id;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeMfaDevicesResult();
|
||||||
|
explicit DescribeMfaDevicesResult(const std::string &payload);
|
||||||
|
~DescribeMfaDevicesResult();
|
||||||
|
std::string getNextToken()const;
|
||||||
|
std::vector<Data> getMfaDevices()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string nextToken_;
|
||||||
|
std::vector<Data> mfaDevices_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_DESCRIBEMFADEVICESRESULT_H_
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_DESCRIBEORGBYLAYERREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_DESCRIBEORGBYLAYERREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT DescribeOrgByLayerRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
DescribeOrgByLayerRequest();
|
||||||
|
~DescribeOrgByLayerRequest();
|
||||||
|
std::string getOrgName() const;
|
||||||
|
void setOrgName(const std::string &orgName);
|
||||||
|
std::string getParentOrgId() const;
|
||||||
|
void setParentOrgId(const std::string &parentOrgId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string orgName_;
|
||||||
|
std::string parentOrgId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_DESCRIBEORGBYLAYERREQUEST_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_EDS_USER_MODEL_DESCRIBEORGBYLAYERRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_DESCRIBEORGBYLAYERRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT DescribeOrgByLayerResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string orgId;
|
||||||
|
std::string orgName;
|
||||||
|
std::string parentOrgId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeOrgByLayerResult();
|
||||||
|
explicit DescribeOrgByLayerResult(const std::string &payload);
|
||||||
|
~DescribeOrgByLayerResult();
|
||||||
|
std::vector<Data> getOrgs()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::vector<Data> orgs_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_DESCRIBEORGBYLAYERRESULT_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_EDS_USER_MODEL_DESCRIBEORGSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_DESCRIBEORGSREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT DescribeOrgsRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
DescribeOrgsRequest();
|
||||||
|
~DescribeOrgsRequest();
|
||||||
|
std::string getOrgName() const;
|
||||||
|
void setOrgName(const std::string &orgName);
|
||||||
|
std::string getNextToken() const;
|
||||||
|
void setNextToken(const std::string &nextToken);
|
||||||
|
std::string getParentOrgId() const;
|
||||||
|
void setParentOrgId(const std::string &parentOrgId);
|
||||||
|
long getMaxResults() const;
|
||||||
|
void setMaxResults(long maxResults);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string orgName_;
|
||||||
|
std::string nextToken_;
|
||||||
|
std::string parentOrgId_;
|
||||||
|
long maxResults_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_DESCRIBEORGSREQUEST_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_EDS_USER_MODEL_DESCRIBEORGSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_DESCRIBEORGSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT DescribeOrgsResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string orgId;
|
||||||
|
std::string orgName;
|
||||||
|
std::string parentOrgId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeOrgsResult();
|
||||||
|
explicit DescribeOrgsResult(const std::string &payload);
|
||||||
|
~DescribeOrgsResult();
|
||||||
|
std::string getNextToken()const;
|
||||||
|
std::vector<Data> getOrgs()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string nextToken_;
|
||||||
|
std::vector<Data> orgs_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_DESCRIBEORGSRESULT_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_EDS_USER_MODEL_DESCRIBEUSERSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_DESCRIBEUSERSREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT DescribeUsersRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
DescribeUsersRequest();
|
||||||
|
~DescribeUsersRequest();
|
||||||
|
bool getIsQueryAllSubOrgs() const;
|
||||||
|
void setIsQueryAllSubOrgs(bool isQueryAllSubOrgs);
|
||||||
|
std::vector<std::string> getEndUserIds() const;
|
||||||
|
void setEndUserIds(const std::vector<std::string> &endUserIds);
|
||||||
|
std::vector<std::string> getExcludeEndUserIds() const;
|
||||||
|
void setExcludeEndUserIds(const std::vector<std::string> &excludeEndUserIds);
|
||||||
|
std::string getNextToken() const;
|
||||||
|
void setNextToken(const std::string &nextToken);
|
||||||
|
std::string getSolutionId() const;
|
||||||
|
void setSolutionId(const std::string &solutionId);
|
||||||
|
std::map<std::string, bool> getFilterWithAssignedResources() const;
|
||||||
|
void setFilterWithAssignedResources(const std::map<std::string, bool> &filterWithAssignedResources);
|
||||||
|
std::string getGroupId() const;
|
||||||
|
void setGroupId(const std::string &groupId);
|
||||||
|
std::string getOrgId() const;
|
||||||
|
void setOrgId(const std::string &orgId);
|
||||||
|
std::map<std::string, std::string> getFilterWithAssignedResource() const;
|
||||||
|
void setFilterWithAssignedResource(const std::map<std::string, std::string> &filterWithAssignedResource);
|
||||||
|
std::string getFilter() const;
|
||||||
|
void setFilter(const std::string &filter);
|
||||||
|
std::string getBizType() const;
|
||||||
|
void setBizType(const std::string &bizType);
|
||||||
|
long getMaxResults() const;
|
||||||
|
void setMaxResults(long maxResults);
|
||||||
|
std::map<std::string, ObjectOfAny> getShowExtras() const;
|
||||||
|
void setShowExtras(const std::map<std::string, ObjectOfAny> &showExtras);
|
||||||
|
|
||||||
|
private:
|
||||||
|
bool isQueryAllSubOrgs_;
|
||||||
|
std::vector<std::string> endUserIds_;
|
||||||
|
std::vector<std::string> excludeEndUserIds_;
|
||||||
|
std::string nextToken_;
|
||||||
|
std::string solutionId_;
|
||||||
|
std::map<std::string, bool> filterWithAssignedResources_;
|
||||||
|
std::string groupId_;
|
||||||
|
std::string orgId_;
|
||||||
|
std::map<std::string, std::string> filterWithAssignedResource_;
|
||||||
|
std::string filter_;
|
||||||
|
std::string bizType_;
|
||||||
|
long maxResults_;
|
||||||
|
std::map<std::string, ObjectOfAny> showExtras_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_DESCRIBEUSERSREQUEST_H_
|
||||||
@@ -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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_EDS_USER_MODEL_DESCRIBEUSERSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_DESCRIBEUSERSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT DescribeUsersResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
struct Extras
|
||||||
|
{
|
||||||
|
std::string assignedResourceCount;
|
||||||
|
};
|
||||||
|
struct Group
|
||||||
|
{
|
||||||
|
std::string groupName;
|
||||||
|
std::string groupId;
|
||||||
|
};
|
||||||
|
struct Org
|
||||||
|
{
|
||||||
|
std::string orgId;
|
||||||
|
std::string orgName;
|
||||||
|
};
|
||||||
|
struct Property
|
||||||
|
{
|
||||||
|
std::string value;
|
||||||
|
std::string key;
|
||||||
|
};
|
||||||
|
long status;
|
||||||
|
std::string email;
|
||||||
|
std::string address;
|
||||||
|
bool isTenantManager;
|
||||||
|
std::vector<Data::Org> orgs;
|
||||||
|
Extras extras;
|
||||||
|
std::vector<Data::Property> properties;
|
||||||
|
std::string nickName;
|
||||||
|
std::string jobNumber;
|
||||||
|
std::string avatar;
|
||||||
|
std::string remark;
|
||||||
|
std::string orgId;
|
||||||
|
std::string ownerType;
|
||||||
|
std::string endUserId;
|
||||||
|
std::string wyId;
|
||||||
|
std::vector<Data::Group> groups;
|
||||||
|
std::string phone;
|
||||||
|
std::string realNickName;
|
||||||
|
std::string externalName;
|
||||||
|
long id;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeUsersResult();
|
||||||
|
explicit DescribeUsersResult(const std::string &payload);
|
||||||
|
~DescribeUsersResult();
|
||||||
|
std::string getNextToken()const;
|
||||||
|
std::vector<Data> getUsers()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string nextToken_;
|
||||||
|
std::vector<Data> users_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_DESCRIBEUSERSRESULT_H_
|
||||||
@@ -0,0 +1,96 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_FILTERUSERSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_FILTERUSERSREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT FilterUsersRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
struct OrderParam {
|
||||||
|
std::string orderField;
|
||||||
|
std::string orderType;
|
||||||
|
};
|
||||||
|
struct PropertyFilterParam {
|
||||||
|
long propertyId;
|
||||||
|
std::string propertyValueIds;
|
||||||
|
};
|
||||||
|
struct PropertyKeyValueFilterParam {
|
||||||
|
std::string propertyKey;
|
||||||
|
std::string propertyValues;
|
||||||
|
};
|
||||||
|
FilterUsersRequest();
|
||||||
|
~FilterUsersRequest();
|
||||||
|
bool getIsQueryAllSubOrgs() const;
|
||||||
|
void setIsQueryAllSubOrgs(bool isQueryAllSubOrgs);
|
||||||
|
OrderParam getOrderParam() const;
|
||||||
|
void setOrderParam(const OrderParam &orderParam);
|
||||||
|
std::vector<std::string> getExcludeEndUserIds() const;
|
||||||
|
void setExcludeEndUserIds(const std::vector<std::string> &excludeEndUserIds);
|
||||||
|
std::string getNextToken() const;
|
||||||
|
void setNextToken(const std::string &nextToken);
|
||||||
|
bool getIncludeDesktopCount() const;
|
||||||
|
void setIncludeDesktopCount(bool includeDesktopCount);
|
||||||
|
bool getIncludeSupportIdps() const;
|
||||||
|
void setIncludeSupportIdps(bool includeSupportIdps);
|
||||||
|
std::vector<PropertyFilterParam> getPropertyFilterParam() const;
|
||||||
|
void setPropertyFilterParam(const std::vector<PropertyFilterParam> &propertyFilterParam);
|
||||||
|
bool getIncludeOrgInfo() const;
|
||||||
|
void setIncludeOrgInfo(bool includeOrgInfo);
|
||||||
|
bool getIncludeDesktopGroupCount() const;
|
||||||
|
void setIncludeDesktopGroupCount(bool includeDesktopGroupCount);
|
||||||
|
std::string getOrgId() const;
|
||||||
|
void setOrgId(const std::string &orgId);
|
||||||
|
std::string getFilter() const;
|
||||||
|
void setFilter(const std::string &filter);
|
||||||
|
std::vector<PropertyKeyValueFilterParam> getPropertyKeyValueFilterParam() const;
|
||||||
|
void setPropertyKeyValueFilterParam(const std::vector<PropertyKeyValueFilterParam> &propertyKeyValueFilterParam);
|
||||||
|
std::string getOwnerType() const;
|
||||||
|
void setOwnerType(const std::string &ownerType);
|
||||||
|
long getMaxResults() const;
|
||||||
|
void setMaxResults(long maxResults);
|
||||||
|
int getStatus() const;
|
||||||
|
void setStatus(int status);
|
||||||
|
|
||||||
|
private:
|
||||||
|
bool isQueryAllSubOrgs_;
|
||||||
|
OrderParam orderParam_;
|
||||||
|
std::vector<std::string> excludeEndUserIds_;
|
||||||
|
std::string nextToken_;
|
||||||
|
bool includeDesktopCount_;
|
||||||
|
bool includeSupportIdps_;
|
||||||
|
std::vector<PropertyFilterParam> propertyFilterParam_;
|
||||||
|
bool includeOrgInfo_;
|
||||||
|
bool includeDesktopGroupCount_;
|
||||||
|
std::string orgId_;
|
||||||
|
std::string filter_;
|
||||||
|
std::vector<PropertyKeyValueFilterParam> propertyKeyValueFilterParam_;
|
||||||
|
std::string ownerType_;
|
||||||
|
long maxResults_;
|
||||||
|
int status_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_FILTERUSERSREQUEST_H_
|
||||||
104
eds-user/include/alibabacloud/eds-user/model/FilterUsersResult.h
Normal file
104
eds-user/include/alibabacloud/eds-user/model/FilterUsersResult.h
Normal file
@@ -0,0 +1,104 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_FILTERUSERSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_FILTERUSERSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT FilterUsersResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
struct ExternalInfo
|
||||||
|
{
|
||||||
|
std::string externalName;
|
||||||
|
std::string jobNumber;
|
||||||
|
};
|
||||||
|
struct UserSetPropertiesModelsItem
|
||||||
|
{
|
||||||
|
struct PropertyValuesItem
|
||||||
|
{
|
||||||
|
long propertyValueId;
|
||||||
|
std::string propertyValue;
|
||||||
|
};
|
||||||
|
std::vector<UserSetPropertiesModelsItem::PropertyValuesItem> propertyValues;
|
||||||
|
std::string userName;
|
||||||
|
long userId;
|
||||||
|
int propertyType;
|
||||||
|
std::string propertyKey;
|
||||||
|
long propertyId;
|
||||||
|
};
|
||||||
|
struct OrgListItem
|
||||||
|
{
|
||||||
|
std::string orgId;
|
||||||
|
std::string orgName;
|
||||||
|
};
|
||||||
|
struct IdpInfo
|
||||||
|
{
|
||||||
|
std::string idpId;
|
||||||
|
std::string idpName;
|
||||||
|
};
|
||||||
|
long status;
|
||||||
|
std::string email;
|
||||||
|
int passwordExpireRestDays;
|
||||||
|
std::vector<Data::OrgListItem> orgList;
|
||||||
|
bool enableAdminAccess;
|
||||||
|
bool isTenantManager;
|
||||||
|
std::vector<Data::UserSetPropertiesModelsItem> userSetPropertiesModels;
|
||||||
|
std::string remark;
|
||||||
|
long desktopCount;
|
||||||
|
std::string ownerType;
|
||||||
|
ExternalInfo externalInfo;
|
||||||
|
std::string endUserId;
|
||||||
|
long desktopGroupCount;
|
||||||
|
std::string phone;
|
||||||
|
std::string realNickName;
|
||||||
|
long id;
|
||||||
|
std::string autoLockTime;
|
||||||
|
std::vector<Data::IdpInfo> supportLoginIdps;
|
||||||
|
int passwordExpireDays;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
FilterUsersResult();
|
||||||
|
explicit FilterUsersResult(const std::string &payload);
|
||||||
|
~FilterUsersResult();
|
||||||
|
std::string getNextToken()const;
|
||||||
|
std::vector<Data> getUsers()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string nextToken_;
|
||||||
|
std::vector<Data> users_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_FILTERUSERSRESULT_H_
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_GETMANAGERINFOBYAUTHCODEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_GETMANAGERINFOBYAUTHCODEREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT GetManagerInfoByAuthCodeRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
GetManagerInfoByAuthCodeRequest();
|
||||||
|
~GetManagerInfoByAuthCodeRequest();
|
||||||
|
std::string getAuthCode() const;
|
||||||
|
void setAuthCode(const std::string &authCode);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string authCode_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_GETMANAGERINFOBYAUTHCODEREQUEST_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_EDS_USER_MODEL_GETMANAGERINFOBYAUTHCODERESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_GETMANAGERINFOBYAUTHCODERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT GetManagerInfoByAuthCodeResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
GetManagerInfoByAuthCodeResult();
|
||||||
|
explicit GetManagerInfoByAuthCodeResult(const std::string &payload);
|
||||||
|
~GetManagerInfoByAuthCodeResult();
|
||||||
|
std::string getOrgId()const;
|
||||||
|
std::string getUserName()const;
|
||||||
|
std::string getPhone()const;
|
||||||
|
std::string getTeamName()const;
|
||||||
|
long getWaId()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string orgId_;
|
||||||
|
std::string userName_;
|
||||||
|
std::string phone_;
|
||||||
|
std::string teamName_;
|
||||||
|
long waId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_GETMANAGERINFOBYAUTHCODERESULT_H_
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_INITTENANTALIASREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_INITTENANTALIASREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT InitTenantAliasRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
InitTenantAliasRequest();
|
||||||
|
~InitTenantAliasRequest();
|
||||||
|
|
||||||
|
private:
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_INITTENANTALIASREQUEST_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_EDS_USER_MODEL_INITTENANTALIASRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_INITTENANTALIASRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT InitTenantAliasResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct AliasInfo
|
||||||
|
{
|
||||||
|
std::string aliasSourceType;
|
||||||
|
bool aliasEditable;
|
||||||
|
std::string aliasEditDisabledReason;
|
||||||
|
std::string nextModifyTime;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
InitTenantAliasResult();
|
||||||
|
explicit InitTenantAliasResult(const std::string &payload);
|
||||||
|
~InitTenantAliasResult();
|
||||||
|
AliasInfo getAliasInfo()const;
|
||||||
|
std::string getData()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
AliasInfo aliasInfo_;
|
||||||
|
std::string data_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_INITTENANTALIASRESULT_H_
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_LISTPROPERTYREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_LISTPROPERTYREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT ListPropertyRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
ListPropertyRequest();
|
||||||
|
~ListPropertyRequest();
|
||||||
|
|
||||||
|
private:
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_LISTPROPERTYREQUEST_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_EDS_USER_MODEL_LISTPROPERTYRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_LISTPROPERTYRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT ListPropertyResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
struct PropertyValuesItem
|
||||||
|
{
|
||||||
|
long propertyValueId;
|
||||||
|
std::string propertyValue;
|
||||||
|
};
|
||||||
|
std::vector<Data::PropertyValuesItem> propertyValues;
|
||||||
|
std::string propertyKey;
|
||||||
|
long propertyId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
ListPropertyResult();
|
||||||
|
explicit ListPropertyResult(const std::string &payload);
|
||||||
|
~ListPropertyResult();
|
||||||
|
std::string getNextToken()const;
|
||||||
|
std::vector<Data> getProperties()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string nextToken_;
|
||||||
|
std::vector<Data> properties_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_LISTPROPERTYRESULT_H_
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_LISTPROPERTYVALUEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_LISTPROPERTYVALUEREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT ListPropertyValueRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
ListPropertyValueRequest();
|
||||||
|
~ListPropertyValueRequest();
|
||||||
|
long getPropertyId() const;
|
||||||
|
void setPropertyId(long propertyId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
long propertyId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_LISTPROPERTYVALUEREQUEST_H_
|
||||||
@@ -0,0 +1,56 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_LISTPROPERTYVALUERESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_LISTPROPERTYVALUERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT ListPropertyValueResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
long propertyValueId;
|
||||||
|
std::string propertyValue;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
ListPropertyValueResult();
|
||||||
|
explicit ListPropertyValueResult(const std::string &payload);
|
||||||
|
~ListPropertyValueResult();
|
||||||
|
std::vector<Data> getPropertyValueInfos()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::vector<Data> propertyValueInfos_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_LISTPROPERTYVALUERESULT_H_
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_LOCKMFADEVICEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_LOCKMFADEVICEREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT LockMfaDeviceRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
LockMfaDeviceRequest();
|
||||||
|
~LockMfaDeviceRequest();
|
||||||
|
std::string getSerialNumber() const;
|
||||||
|
void setSerialNumber(const std::string &serialNumber);
|
||||||
|
std::string getAdDomain() const;
|
||||||
|
void setAdDomain(const std::string &adDomain);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string serialNumber_;
|
||||||
|
std::string adDomain_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_LOCKMFADEVICEREQUEST_H_
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_LOCKMFADEVICERESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_LOCKMFADEVICERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT LockMfaDeviceResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
LockMfaDeviceResult();
|
||||||
|
explicit LockMfaDeviceResult(const std::string &payload);
|
||||||
|
~LockMfaDeviceResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_LOCKMFADEVICERESULT_H_
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_LOCKUSERSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_LOCKUSERSREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT LockUsersRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
LockUsersRequest();
|
||||||
|
~LockUsersRequest();
|
||||||
|
bool getLogoutSession() const;
|
||||||
|
void setLogoutSession(bool logoutSession);
|
||||||
|
std::vector<std::string> getUsers() const;
|
||||||
|
void setUsers(const std::vector<std::string> &users);
|
||||||
|
|
||||||
|
private:
|
||||||
|
bool logoutSession_;
|
||||||
|
std::vector<std::string> users_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_LOCKUSERSREQUEST_H_
|
||||||
@@ -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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_EDS_USER_MODEL_LOCKUSERSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_LOCKUSERSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT LockUsersResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Result
|
||||||
|
{
|
||||||
|
struct FailedUsersItem
|
||||||
|
{
|
||||||
|
std::string endUserId;
|
||||||
|
std::string errorCode;
|
||||||
|
std::string errorMessage;
|
||||||
|
};
|
||||||
|
std::vector<FailedUsersItem> failedUsers;
|
||||||
|
std::vector<std::string> lockedUsers;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
LockUsersResult();
|
||||||
|
explicit LockUsersResult(const std::string &payload);
|
||||||
|
~LockUsersResult();
|
||||||
|
Result getLockUsersResult()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
Result lockUsersResult_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_LOCKUSERSRESULT_H_
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_MODIFYORGREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_MODIFYORGREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT ModifyOrgRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
ModifyOrgRequest();
|
||||||
|
~ModifyOrgRequest();
|
||||||
|
std::string getIcon() const;
|
||||||
|
void setIcon(const std::string &icon);
|
||||||
|
std::string getOrgId() const;
|
||||||
|
void setOrgId(const std::string &orgId);
|
||||||
|
std::string getOrgName() const;
|
||||||
|
void setOrgName(const std::string &orgName);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string icon_;
|
||||||
|
std::string orgId_;
|
||||||
|
std::string orgName_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_MODIFYORGREQUEST_H_
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_MODIFYORGRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_MODIFYORGRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT ModifyOrgResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
ModifyOrgResult();
|
||||||
|
explicit ModifyOrgResult(const std::string &payload);
|
||||||
|
~ModifyOrgResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_MODIFYORGRESULT_H_
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_MODIFYUSERREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_MODIFYUSERREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT ModifyUserRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
ModifyUserRequest();
|
||||||
|
~ModifyUserRequest();
|
||||||
|
std::string getPhone() const;
|
||||||
|
void setPhone(const std::string &phone);
|
||||||
|
std::string getEndUserId() const;
|
||||||
|
void setEndUserId(const std::string &endUserId);
|
||||||
|
std::string getEmail() const;
|
||||||
|
void setEmail(const std::string &email);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string phone_;
|
||||||
|
std::string endUserId_;
|
||||||
|
std::string email_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_MODIFYUSERREQUEST_H_
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_MODIFYUSERRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_MODIFYUSERRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT ModifyUserResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
ModifyUserResult();
|
||||||
|
explicit ModifyUserResult(const std::string &payload);
|
||||||
|
~ModifyUserResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_MODIFYUSERRESULT_H_
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_MOVEORGREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_MOVEORGREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT MoveOrgRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
MoveOrgRequest();
|
||||||
|
~MoveOrgRequest();
|
||||||
|
std::string getNewParentOrgId() const;
|
||||||
|
void setNewParentOrgId(const std::string &newParentOrgId);
|
||||||
|
std::string getOrgId() const;
|
||||||
|
void setOrgId(const std::string &orgId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string newParentOrgId_;
|
||||||
|
std::string orgId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_MOVEORGREQUEST_H_
|
||||||
49
eds-user/include/alibabacloud/eds-user/model/MoveOrgResult.h
Normal file
49
eds-user/include/alibabacloud/eds-user/model/MoveOrgResult.h
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_MOVEORGRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_MOVEORGRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT MoveOrgResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
MoveOrgResult();
|
||||||
|
explicit MoveOrgResult(const std::string &payload);
|
||||||
|
~MoveOrgResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_MOVEORGRESULT_H_
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_QUERYSYNCSTATUSBYALIUIDREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_QUERYSYNCSTATUSBYALIUIDREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT QuerySyncStatusByAliUidRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
QuerySyncStatusByAliUidRequest();
|
||||||
|
~QuerySyncStatusByAliUidRequest();
|
||||||
|
|
||||||
|
private:
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_QUERYSYNCSTATUSBYALIUIDREQUEST_H_
|
||||||
@@ -0,0 +1,71 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_QUERYSYNCSTATUSBYALIUIDRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_QUERYSYNCSTATUSBYALIUIDRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT QuerySyncStatusByAliUidResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string status;
|
||||||
|
std::string latestSuccessTime;
|
||||||
|
std::string corpId;
|
||||||
|
std::string latestEndTime;
|
||||||
|
std::string gmtModified;
|
||||||
|
std::string latestBeginTime;
|
||||||
|
long id;
|
||||||
|
std::string gmtCreated;
|
||||||
|
long aliUid;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
QuerySyncStatusByAliUidResult();
|
||||||
|
explicit QuerySyncStatusByAliUidResult(const std::string &payload);
|
||||||
|
~QuerySyncStatusByAliUidResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
int getHttpStatusCode()const;
|
||||||
|
Data getData()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
int httpStatusCode_;
|
||||||
|
Data data_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_QUERYSYNCSTATUSBYALIUIDRESULT_H_
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_REMOVEMFADEVICEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_REMOVEMFADEVICEREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT RemoveMfaDeviceRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
RemoveMfaDeviceRequest();
|
||||||
|
~RemoveMfaDeviceRequest();
|
||||||
|
std::string getSerialNumber() const;
|
||||||
|
void setSerialNumber(const std::string &serialNumber);
|
||||||
|
std::string getAdDomain() const;
|
||||||
|
void setAdDomain(const std::string &adDomain);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string serialNumber_;
|
||||||
|
std::string adDomain_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_REMOVEMFADEVICEREQUEST_H_
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_REMOVEMFADEVICERESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_REMOVEMFADEVICERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT RemoveMfaDeviceResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
RemoveMfaDeviceResult();
|
||||||
|
explicit RemoveMfaDeviceResult(const std::string &payload);
|
||||||
|
~RemoveMfaDeviceResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_REMOVEMFADEVICERESULT_H_
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_REMOVEORGREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_REMOVEORGREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT RemoveOrgRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
RemoveOrgRequest();
|
||||||
|
~RemoveOrgRequest();
|
||||||
|
std::string getOrgId() const;
|
||||||
|
void setOrgId(const std::string &orgId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string orgId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_REMOVEORGREQUEST_H_
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_REMOVEORGRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_REMOVEORGRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT RemoveOrgResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
RemoveOrgResult();
|
||||||
|
explicit RemoveOrgResult(const std::string &payload);
|
||||||
|
~RemoveOrgResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_REMOVEORGRESULT_H_
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_REMOVEPROPERTYREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_REMOVEPROPERTYREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT RemovePropertyRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
RemovePropertyRequest();
|
||||||
|
~RemovePropertyRequest();
|
||||||
|
long getPropertyId() const;
|
||||||
|
void setPropertyId(long propertyId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
long propertyId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_REMOVEPROPERTYREQUEST_H_
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_REMOVEPROPERTYRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_REMOVEPROPERTYRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT RemovePropertyResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
RemovePropertyResult();
|
||||||
|
explicit RemovePropertyResult(const std::string &payload);
|
||||||
|
~RemovePropertyResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_REMOVEPROPERTYRESULT_H_
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_REMOVEUSERSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_REMOVEUSERSREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT RemoveUsersRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
RemoveUsersRequest();
|
||||||
|
~RemoveUsersRequest();
|
||||||
|
std::vector<std::string> getUsers() const;
|
||||||
|
void setUsers(const std::vector<std::string> &users);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::vector<std::string> users_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_REMOVEUSERSREQUEST_H_
|
||||||
@@ -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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_EDS_USER_MODEL_REMOVEUSERSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_REMOVEUSERSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT RemoveUsersResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Result
|
||||||
|
{
|
||||||
|
struct FailedUsersItem
|
||||||
|
{
|
||||||
|
std::string endUserId;
|
||||||
|
std::string errorCode;
|
||||||
|
std::string errorMessage;
|
||||||
|
};
|
||||||
|
std::vector<FailedUsersItem> failedUsers;
|
||||||
|
std::vector<std::string> removedUsers;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
RemoveUsersResult();
|
||||||
|
explicit RemoveUsersResult(const std::string &payload);
|
||||||
|
~RemoveUsersResult();
|
||||||
|
Result getRemoveUsersResult()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
Result removeUsersResult_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_REMOVEUSERSRESULT_H_
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_RESETUSERPASSWORDREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_RESETUSERPASSWORDREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT ResetUserPasswordRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
ResetUserPasswordRequest();
|
||||||
|
~ResetUserPasswordRequest();
|
||||||
|
std::vector<std::string> getUsers() const;
|
||||||
|
void setUsers(const std::vector<std::string> &users);
|
||||||
|
int getNotifyType() const;
|
||||||
|
void setNotifyType(int notifyType);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::vector<std::string> users_;
|
||||||
|
int notifyType_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_RESETUSERPASSWORDREQUEST_H_
|
||||||
@@ -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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_EDS_USER_MODEL_RESETUSERPASSWORDRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_RESETUSERPASSWORDRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT ResetUserPasswordResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct ResetUsersResult
|
||||||
|
{
|
||||||
|
struct FailedUsersItem
|
||||||
|
{
|
||||||
|
std::string endUserId;
|
||||||
|
std::string errorCode;
|
||||||
|
std::string errorMessage;
|
||||||
|
};
|
||||||
|
std::vector<FailedUsersItem> failedUsers;
|
||||||
|
std::vector<std::string> resetUsers;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
ResetUserPasswordResult();
|
||||||
|
explicit ResetUserPasswordResult(const std::string &payload);
|
||||||
|
~ResetUserPasswordResult();
|
||||||
|
ResetUsersResult getResetUsersResult()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
ResetUsersResult resetUsersResult_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_RESETUSERPASSWORDRESULT_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_EDS_USER_MODEL_SETUSERPROPERTYVALUEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_SETUSERPROPERTYVALUEREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT SetUserPropertyValueRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
SetUserPropertyValueRequest();
|
||||||
|
~SetUserPropertyValueRequest();
|
||||||
|
long getPropertyValueId() const;
|
||||||
|
void setPropertyValueId(long propertyValueId);
|
||||||
|
long getUserId() const;
|
||||||
|
void setUserId(long userId);
|
||||||
|
long getPropertyId() const;
|
||||||
|
void setPropertyId(long propertyId);
|
||||||
|
std::string getUserName() const;
|
||||||
|
void setUserName(const std::string &userName);
|
||||||
|
|
||||||
|
private:
|
||||||
|
long propertyValueId_;
|
||||||
|
long userId_;
|
||||||
|
long propertyId_;
|
||||||
|
std::string userName_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_SETUSERPROPERTYVALUEREQUEST_H_
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_SETUSERPROPERTYVALUERESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_SETUSERPROPERTYVALUERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT SetUserPropertyValueResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
SetUserPropertyValueResult();
|
||||||
|
explicit SetUserPropertyValueResult(const std::string &payload);
|
||||||
|
~SetUserPropertyValueResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_SETUSERPROPERTYVALUERESULT_H_
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_SYNCALLEDUINFOREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_SYNCALLEDUINFOREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT SyncAllEduInfoRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
SyncAllEduInfoRequest();
|
||||||
|
~SyncAllEduInfoRequest();
|
||||||
|
|
||||||
|
private:
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_SYNCALLEDUINFOREQUEST_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_EDS_USER_MODEL_SYNCALLEDUINFORESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_SYNCALLEDUINFORESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT SyncAllEduInfoResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
SyncAllEduInfoResult();
|
||||||
|
explicit SyncAllEduInfoResult(const std::string &payload);
|
||||||
|
~SyncAllEduInfoResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
int getHttpStatusCode()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
int httpStatusCode_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_SYNCALLEDUINFORESULT_H_
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_UNLOCKMFADEVICEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_UNLOCKMFADEVICEREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT UnlockMfaDeviceRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
UnlockMfaDeviceRequest();
|
||||||
|
~UnlockMfaDeviceRequest();
|
||||||
|
std::string getSerialNumber() const;
|
||||||
|
void setSerialNumber(const std::string &serialNumber);
|
||||||
|
std::string getAdDomain() const;
|
||||||
|
void setAdDomain(const std::string &adDomain);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string serialNumber_;
|
||||||
|
std::string adDomain_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_UNLOCKMFADEVICEREQUEST_H_
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_UNLOCKMFADEVICERESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_UNLOCKMFADEVICERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT UnlockMfaDeviceResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
UnlockMfaDeviceResult();
|
||||||
|
explicit UnlockMfaDeviceResult(const std::string &payload);
|
||||||
|
~UnlockMfaDeviceResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_UNLOCKMFADEVICERESULT_H_
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_UNLOCKUSERSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_UNLOCKUSERSREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT UnlockUsersRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
UnlockUsersRequest();
|
||||||
|
~UnlockUsersRequest();
|
||||||
|
std::string getAutoLockTime() const;
|
||||||
|
void setAutoLockTime(const std::string &autoLockTime);
|
||||||
|
std::vector<std::string> getUsers() const;
|
||||||
|
void setUsers(const std::vector<std::string> &users);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string autoLockTime_;
|
||||||
|
std::vector<std::string> users_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_UNLOCKUSERSREQUEST_H_
|
||||||
@@ -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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_EDS_USER_MODEL_UNLOCKUSERSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_UNLOCKUSERSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT UnlockUsersResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Result
|
||||||
|
{
|
||||||
|
struct FailedUsersItem
|
||||||
|
{
|
||||||
|
std::string endUserId;
|
||||||
|
std::string errorCode;
|
||||||
|
std::string errorMessage;
|
||||||
|
};
|
||||||
|
std::vector<FailedUsersItem> failedUsers;
|
||||||
|
std::vector<std::string> unlockedUsers;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
UnlockUsersResult();
|
||||||
|
explicit UnlockUsersResult(const std::string &payload);
|
||||||
|
~UnlockUsersResult();
|
||||||
|
Result getUnlockUsersResult()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
Result unlockUsersResult_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_UNLOCKUSERSRESULT_H_
|
||||||
@@ -0,0 +1,52 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_UPDATEPROPERTYREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_UPDATEPROPERTYREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eds_user {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT UpdatePropertyRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
struct PropertyValues {
|
||||||
|
long propertyValueId;
|
||||||
|
std::string propertyValue;
|
||||||
|
};
|
||||||
|
UpdatePropertyRequest();
|
||||||
|
~UpdatePropertyRequest();
|
||||||
|
std::string getPropertyKey() const;
|
||||||
|
void setPropertyKey(const std::string &propertyKey);
|
||||||
|
long getPropertyId() const;
|
||||||
|
void setPropertyId(long propertyId);
|
||||||
|
std::vector<PropertyValues> getPropertyValues() const;
|
||||||
|
void setPropertyValues(const std::vector<PropertyValues> &propertyValues);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string propertyKey_;
|
||||||
|
long propertyId_;
|
||||||
|
std::vector<PropertyValues> propertyValues_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eds_user
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_UPDATEPROPERTYREQUEST_H_
|
||||||
@@ -0,0 +1,74 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_EDS_USER_MODEL_UPDATEPROPERTYRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EDS_USER_MODEL_UPDATEPROPERTYRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eds-user/Eds_userExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eds_user
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EDS_USER_EXPORT UpdatePropertyResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct UpdateResult
|
||||||
|
{
|
||||||
|
struct SavePropertyValueModel
|
||||||
|
{
|
||||||
|
struct SavePropertyValuesItem
|
||||||
|
{
|
||||||
|
long propertyValueId;
|
||||||
|
std::string propertyValue;
|
||||||
|
};
|
||||||
|
struct FailedPropertyValuesItem
|
||||||
|
{
|
||||||
|
std::string propertyValue;
|
||||||
|
std::string errorCode;
|
||||||
|
std::string errorMessage;
|
||||||
|
long propertyId;
|
||||||
|
};
|
||||||
|
std::vector<FailedPropertyValuesItem> failedPropertyValues;
|
||||||
|
std::vector<SavePropertyValuesItem> savePropertyValues;
|
||||||
|
};
|
||||||
|
SavePropertyValueModel savePropertyValueModel;
|
||||||
|
std::string propertyKey;
|
||||||
|
long propertyId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
UpdatePropertyResult();
|
||||||
|
explicit UpdatePropertyResult(const std::string &payload);
|
||||||
|
~UpdatePropertyResult();
|
||||||
|
UpdateResult getUpdateResult()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
UpdateResult updateResult_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EDS_USER_MODEL_UPDATEPROPERTYRESULT_H_
|
||||||
1241
eds-user/src/Eds-userClient.cc
Normal file
1241
eds-user/src/Eds-userClient.cc
Normal file
File diff suppressed because it is too large
Load Diff
44
eds-user/src/model/BatchSetDesktopManagerRequest.cc
Normal file
44
eds-user/src/model/BatchSetDesktopManagerRequest.cc
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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 <alibabacloud/eds-user/model/BatchSetDesktopManagerRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Eds_user::Model::BatchSetDesktopManagerRequest;
|
||||||
|
|
||||||
|
BatchSetDesktopManagerRequest::BatchSetDesktopManagerRequest()
|
||||||
|
: RpcServiceRequest("eds-user", "2021-03-08", "BatchSetDesktopManager") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
BatchSetDesktopManagerRequest::~BatchSetDesktopManagerRequest() {}
|
||||||
|
|
||||||
|
std::string BatchSetDesktopManagerRequest::getIsDesktopManager() const {
|
||||||
|
return isDesktopManager_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void BatchSetDesktopManagerRequest::setIsDesktopManager(const std::string &isDesktopManager) {
|
||||||
|
isDesktopManager_ = isDesktopManager;
|
||||||
|
setBodyParameter(std::string("IsDesktopManager"), isDesktopManager);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> BatchSetDesktopManagerRequest::getUsers() const {
|
||||||
|
return users_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void BatchSetDesktopManagerRequest::setUsers(const std::vector<std::string> &users) {
|
||||||
|
users_ = users;
|
||||||
|
}
|
||||||
|
|
||||||
44
eds-user/src/model/BatchSetDesktopManagerResult.cc
Normal file
44
eds-user/src/model/BatchSetDesktopManagerResult.cc
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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 <alibabacloud/eds-user/model/BatchSetDesktopManagerResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Eds_user;
|
||||||
|
using namespace AlibabaCloud::Eds_user::Model;
|
||||||
|
|
||||||
|
BatchSetDesktopManagerResult::BatchSetDesktopManagerResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
BatchSetDesktopManagerResult::BatchSetDesktopManagerResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
BatchSetDesktopManagerResult::~BatchSetDesktopManagerResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void BatchSetDesktopManagerResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
54
eds-user/src/model/ChangeUserPasswordRequest.cc
Normal file
54
eds-user/src/model/ChangeUserPasswordRequest.cc
Normal file
@@ -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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/model/ChangeUserPasswordRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Eds_user::Model::ChangeUserPasswordRequest;
|
||||||
|
|
||||||
|
ChangeUserPasswordRequest::ChangeUserPasswordRequest()
|
||||||
|
: RpcServiceRequest("eds-user", "2021-03-08", "ChangeUserPassword") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
ChangeUserPasswordRequest::~ChangeUserPasswordRequest() {}
|
||||||
|
|
||||||
|
std::string ChangeUserPasswordRequest::getNewPassword() const {
|
||||||
|
return newPassword_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ChangeUserPasswordRequest::setNewPassword(const std::string &newPassword) {
|
||||||
|
newPassword_ = newPassword;
|
||||||
|
setBodyParameter(std::string("NewPassword"), newPassword);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ChangeUserPasswordRequest::getEndUserId() const {
|
||||||
|
return endUserId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ChangeUserPasswordRequest::setEndUserId(const std::string &endUserId) {
|
||||||
|
endUserId_ = endUserId;
|
||||||
|
setBodyParameter(std::string("EndUserId"), endUserId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ChangeUserPasswordRequest::getNotifyType() const {
|
||||||
|
return notifyType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ChangeUserPasswordRequest::setNotifyType(const std::string ¬ifyType) {
|
||||||
|
notifyType_ = notifyType;
|
||||||
|
setBodyParameter(std::string("NotifyType"), notifyType);
|
||||||
|
}
|
||||||
|
|
||||||
44
eds-user/src/model/ChangeUserPasswordResult.cc
Normal file
44
eds-user/src/model/ChangeUserPasswordResult.cc
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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 <alibabacloud/eds-user/model/ChangeUserPasswordResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Eds_user;
|
||||||
|
using namespace AlibabaCloud::Eds_user::Model;
|
||||||
|
|
||||||
|
ChangeUserPasswordResult::ChangeUserPasswordResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
ChangeUserPasswordResult::ChangeUserPasswordResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
ChangeUserPasswordResult::~ChangeUserPasswordResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void ChangeUserPasswordResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
36
eds-user/src/model/CheckUsedPropertyRequest.cc
Normal file
36
eds-user/src/model/CheckUsedPropertyRequest.cc
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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 <alibabacloud/eds-user/model/CheckUsedPropertyRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Eds_user::Model::CheckUsedPropertyRequest;
|
||||||
|
|
||||||
|
CheckUsedPropertyRequest::CheckUsedPropertyRequest()
|
||||||
|
: RpcServiceRequest("eds-user", "2021-03-08", "CheckUsedProperty") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
CheckUsedPropertyRequest::~CheckUsedPropertyRequest() {}
|
||||||
|
|
||||||
|
long CheckUsedPropertyRequest::getPropertyId() const {
|
||||||
|
return propertyId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CheckUsedPropertyRequest::setPropertyId(long propertyId) {
|
||||||
|
propertyId_ = propertyId;
|
||||||
|
setParameter(std::string("PropertyId"), std::to_string(propertyId));
|
||||||
|
}
|
||||||
|
|
||||||
51
eds-user/src/model/CheckUsedPropertyResult.cc
Normal file
51
eds-user/src/model/CheckUsedPropertyResult.cc
Normal file
@@ -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 <alibabacloud/eds-user/model/CheckUsedPropertyResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Eds_user;
|
||||||
|
using namespace AlibabaCloud::Eds_user::Model;
|
||||||
|
|
||||||
|
CheckUsedPropertyResult::CheckUsedPropertyResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
CheckUsedPropertyResult::CheckUsedPropertyResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
CheckUsedPropertyResult::~CheckUsedPropertyResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void CheckUsedPropertyResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["UseCount"].isNull())
|
||||||
|
useCount_ = std::stol(value["UseCount"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
long CheckUsedPropertyResult::getUseCount()const
|
||||||
|
{
|
||||||
|
return useCount_;
|
||||||
|
}
|
||||||
|
|
||||||
45
eds-user/src/model/CheckUsedPropertyValueRequest.cc
Normal file
45
eds-user/src/model/CheckUsedPropertyValueRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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 <alibabacloud/eds-user/model/CheckUsedPropertyValueRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Eds_user::Model::CheckUsedPropertyValueRequest;
|
||||||
|
|
||||||
|
CheckUsedPropertyValueRequest::CheckUsedPropertyValueRequest()
|
||||||
|
: RpcServiceRequest("eds-user", "2021-03-08", "CheckUsedPropertyValue") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
CheckUsedPropertyValueRequest::~CheckUsedPropertyValueRequest() {}
|
||||||
|
|
||||||
|
long CheckUsedPropertyValueRequest::getPropertyValueId() const {
|
||||||
|
return propertyValueId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CheckUsedPropertyValueRequest::setPropertyValueId(long propertyValueId) {
|
||||||
|
propertyValueId_ = propertyValueId;
|
||||||
|
setParameter(std::string("PropertyValueId"), std::to_string(propertyValueId));
|
||||||
|
}
|
||||||
|
|
||||||
|
long CheckUsedPropertyValueRequest::getPropertyId() const {
|
||||||
|
return propertyId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CheckUsedPropertyValueRequest::setPropertyId(long propertyId) {
|
||||||
|
propertyId_ = propertyId;
|
||||||
|
setParameter(std::string("PropertyId"), std::to_string(propertyId));
|
||||||
|
}
|
||||||
|
|
||||||
51
eds-user/src/model/CheckUsedPropertyValueResult.cc
Normal file
51
eds-user/src/model/CheckUsedPropertyValueResult.cc
Normal file
@@ -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 <alibabacloud/eds-user/model/CheckUsedPropertyValueResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Eds_user;
|
||||||
|
using namespace AlibabaCloud::Eds_user::Model;
|
||||||
|
|
||||||
|
CheckUsedPropertyValueResult::CheckUsedPropertyValueResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
CheckUsedPropertyValueResult::CheckUsedPropertyValueResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
CheckUsedPropertyValueResult::~CheckUsedPropertyValueResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void CheckUsedPropertyValueResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["UseCount"].isNull())
|
||||||
|
useCount_ = std::stol(value["UseCount"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
long CheckUsedPropertyValueResult::getUseCount()const
|
||||||
|
{
|
||||||
|
return useCount_;
|
||||||
|
}
|
||||||
|
|
||||||
54
eds-user/src/model/CreateOrgRequest.cc
Normal file
54
eds-user/src/model/CreateOrgRequest.cc
Normal file
@@ -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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/model/CreateOrgRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Eds_user::Model::CreateOrgRequest;
|
||||||
|
|
||||||
|
CreateOrgRequest::CreateOrgRequest()
|
||||||
|
: RpcServiceRequest("eds-user", "2021-03-08", "CreateOrg") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateOrgRequest::~CreateOrgRequest() {}
|
||||||
|
|
||||||
|
std::string CreateOrgRequest::getIcon() const {
|
||||||
|
return icon_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateOrgRequest::setIcon(const std::string &icon) {
|
||||||
|
icon_ = icon;
|
||||||
|
setParameter(std::string("Icon"), icon);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateOrgRequest::getOrgName() const {
|
||||||
|
return orgName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateOrgRequest::setOrgName(const std::string &orgName) {
|
||||||
|
orgName_ = orgName;
|
||||||
|
setParameter(std::string("OrgName"), orgName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateOrgRequest::getParentOrgId() const {
|
||||||
|
return parentOrgId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateOrgRequest::setParentOrgId(const std::string &parentOrgId) {
|
||||||
|
parentOrgId_ = parentOrgId;
|
||||||
|
setParameter(std::string("ParentOrgId"), parentOrgId);
|
||||||
|
}
|
||||||
|
|
||||||
51
eds-user/src/model/CreateOrgResult.cc
Normal file
51
eds-user/src/model/CreateOrgResult.cc
Normal file
@@ -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 <alibabacloud/eds-user/model/CreateOrgResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Eds_user;
|
||||||
|
using namespace AlibabaCloud::Eds_user::Model;
|
||||||
|
|
||||||
|
CreateOrgResult::CreateOrgResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
CreateOrgResult::CreateOrgResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateOrgResult::~CreateOrgResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void CreateOrgResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["OrgId"].isNull())
|
||||||
|
orgId_ = value["OrgId"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateOrgResult::getOrgId()const
|
||||||
|
{
|
||||||
|
return orgId_;
|
||||||
|
}
|
||||||
|
|
||||||
44
eds-user/src/model/CreatePropertyRequest.cc
Normal file
44
eds-user/src/model/CreatePropertyRequest.cc
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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 <alibabacloud/eds-user/model/CreatePropertyRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Eds_user::Model::CreatePropertyRequest;
|
||||||
|
|
||||||
|
CreatePropertyRequest::CreatePropertyRequest()
|
||||||
|
: RpcServiceRequest("eds-user", "2021-03-08", "CreateProperty") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreatePropertyRequest::~CreatePropertyRequest() {}
|
||||||
|
|
||||||
|
std::string CreatePropertyRequest::getPropertyKey() const {
|
||||||
|
return propertyKey_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreatePropertyRequest::setPropertyKey(const std::string &propertyKey) {
|
||||||
|
propertyKey_ = propertyKey;
|
||||||
|
setBodyParameter(std::string("PropertyKey"), propertyKey);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> CreatePropertyRequest::getPropertyValues() const {
|
||||||
|
return propertyValues_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreatePropertyRequest::setPropertyValues(const std::vector<std::string> &propertyValues) {
|
||||||
|
propertyValues_ = propertyValues;
|
||||||
|
}
|
||||||
|
|
||||||
79
eds-user/src/model/CreatePropertyResult.cc
Normal file
79
eds-user/src/model/CreatePropertyResult.cc
Normal file
@@ -0,0 +1,79 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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 <alibabacloud/eds-user/model/CreatePropertyResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Eds_user;
|
||||||
|
using namespace AlibabaCloud::Eds_user::Model;
|
||||||
|
|
||||||
|
CreatePropertyResult::CreatePropertyResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
CreatePropertyResult::CreatePropertyResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreatePropertyResult::~CreatePropertyResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void CreatePropertyResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto createResultNode = value["CreateResult"];
|
||||||
|
if(!createResultNode["PropertyId"].isNull())
|
||||||
|
createResult_.propertyId = std::stol(createResultNode["PropertyId"].asString());
|
||||||
|
if(!createResultNode["PropertyKey"].isNull())
|
||||||
|
createResult_.propertyKey = createResultNode["PropertyKey"].asString();
|
||||||
|
auto savePropertyValueModelNode = createResultNode["SavePropertyValueModel"];
|
||||||
|
auto allSavePropertyValuesNode = savePropertyValueModelNode["SavePropertyValues"]["savePropertyValuesItem"];
|
||||||
|
for (auto savePropertyValueModelNodeSavePropertyValuessavePropertyValuesItem : allSavePropertyValuesNode)
|
||||||
|
{
|
||||||
|
CreateResult::SavePropertyValueModel::SavePropertyValuesItem savePropertyValuesItemObject;
|
||||||
|
if(!savePropertyValueModelNodeSavePropertyValuessavePropertyValuesItem["PropertyValueId"].isNull())
|
||||||
|
savePropertyValuesItemObject.propertyValueId = std::stol(savePropertyValueModelNodeSavePropertyValuessavePropertyValuesItem["PropertyValueId"].asString());
|
||||||
|
if(!savePropertyValueModelNodeSavePropertyValuessavePropertyValuesItem["PropertyValue"].isNull())
|
||||||
|
savePropertyValuesItemObject.propertyValue = savePropertyValueModelNodeSavePropertyValuessavePropertyValuesItem["PropertyValue"].asString();
|
||||||
|
createResult_.savePropertyValueModel.savePropertyValues.push_back(savePropertyValuesItemObject);
|
||||||
|
}
|
||||||
|
auto allFailedPropertyValuesNode = savePropertyValueModelNode["FailedPropertyValues"]["failedPropertyValuesItem"];
|
||||||
|
for (auto savePropertyValueModelNodeFailedPropertyValuesfailedPropertyValuesItem : allFailedPropertyValuesNode)
|
||||||
|
{
|
||||||
|
CreateResult::SavePropertyValueModel::FailedPropertyValuesItem failedPropertyValuesItemObject;
|
||||||
|
if(!savePropertyValueModelNodeFailedPropertyValuesfailedPropertyValuesItem["PropertyId"].isNull())
|
||||||
|
failedPropertyValuesItemObject.propertyId = std::stol(savePropertyValueModelNodeFailedPropertyValuesfailedPropertyValuesItem["PropertyId"].asString());
|
||||||
|
if(!savePropertyValueModelNodeFailedPropertyValuesfailedPropertyValuesItem["PropertyValue"].isNull())
|
||||||
|
failedPropertyValuesItemObject.propertyValue = savePropertyValueModelNodeFailedPropertyValuesfailedPropertyValuesItem["PropertyValue"].asString();
|
||||||
|
if(!savePropertyValueModelNodeFailedPropertyValuesfailedPropertyValuesItem["ErrorCode"].isNull())
|
||||||
|
failedPropertyValuesItemObject.errorCode = savePropertyValueModelNodeFailedPropertyValuesfailedPropertyValuesItem["ErrorCode"].asString();
|
||||||
|
if(!savePropertyValueModelNodeFailedPropertyValuesfailedPropertyValuesItem["ErrorMessage"].isNull())
|
||||||
|
failedPropertyValuesItemObject.errorMessage = savePropertyValueModelNodeFailedPropertyValuesfailedPropertyValuesItem["ErrorMessage"].asString();
|
||||||
|
createResult_.savePropertyValueModel.failedPropertyValues.push_back(failedPropertyValuesItemObject);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
CreatePropertyResult::CreateResult CreatePropertyResult::getCreateResult()const
|
||||||
|
{
|
||||||
|
return createResult_;
|
||||||
|
}
|
||||||
|
|
||||||
83
eds-user/src/model/CreateUsersRequest.cc
Normal file
83
eds-user/src/model/CreateUsersRequest.cc
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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 <alibabacloud/eds-user/model/CreateUsersRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Eds_user::Model::CreateUsersRequest;
|
||||||
|
|
||||||
|
CreateUsersRequest::CreateUsersRequest()
|
||||||
|
: RpcServiceRequest("eds-user", "2021-03-08", "CreateUsers") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateUsersRequest::~CreateUsersRequest() {}
|
||||||
|
|
||||||
|
std::string CreateUsersRequest::getAutoLockTime() const {
|
||||||
|
return autoLockTime_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateUsersRequest::setAutoLockTime(const std::string &autoLockTime) {
|
||||||
|
autoLockTime_ = autoLockTime;
|
||||||
|
setParameter(std::string("AutoLockTime"), autoLockTime);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool CreateUsersRequest::getIsLocalAdmin() const {
|
||||||
|
return isLocalAdmin_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateUsersRequest::setIsLocalAdmin(bool isLocalAdmin) {
|
||||||
|
isLocalAdmin_ = isLocalAdmin;
|
||||||
|
setParameter(std::string("IsLocalAdmin"), isLocalAdmin ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<CreateUsersRequest::Users> CreateUsersRequest::getUsers() const {
|
||||||
|
return users_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateUsersRequest::setUsers(const std::vector<CreateUsersRequest::Users> &users) {
|
||||||
|
users_ = users;
|
||||||
|
for(int dep1 = 0; dep1 != users.size(); dep1++) {
|
||||||
|
auto usersObj = users.at(dep1);
|
||||||
|
std::string usersObjStr = std::string("Users") + "." + std::to_string(dep1 + 1);
|
||||||
|
setBodyParameter(usersObjStr + ".Password", usersObj.password);
|
||||||
|
setBodyParameter(usersObjStr + ".RealNickName", usersObj.realNickName);
|
||||||
|
setBodyParameter(usersObjStr + ".Phone", usersObj.phone);
|
||||||
|
setBodyParameter(usersObjStr + ".OwnerType", usersObj.ownerType);
|
||||||
|
setBodyParameter(usersObjStr + ".EndUserId", usersObj.endUserId);
|
||||||
|
setBodyParameter(usersObjStr + ".Remark", usersObj.remark);
|
||||||
|
setBodyParameter(usersObjStr + ".Email", usersObj.email);
|
||||||
|
setBodyParameter(usersObjStr + ".OrgId", usersObj.orgId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateUsersRequest::getPassword() const {
|
||||||
|
return password_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateUsersRequest::setPassword(const std::string &password) {
|
||||||
|
password_ = password;
|
||||||
|
setBodyParameter(std::string("Password"), password);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateUsersRequest::getPasswordExpireDays() const {
|
||||||
|
return passwordExpireDays_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateUsersRequest::setPasswordExpireDays(const std::string &passwordExpireDays) {
|
||||||
|
passwordExpireDays_ = passwordExpireDays;
|
||||||
|
setParameter(std::string("PasswordExpireDays"), passwordExpireDays);
|
||||||
|
}
|
||||||
|
|
||||||
82
eds-user/src/model/CreateUsersResult.cc
Normal file
82
eds-user/src/model/CreateUsersResult.cc
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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 <alibabacloud/eds-user/model/CreateUsersResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Eds_user;
|
||||||
|
using namespace AlibabaCloud::Eds_user::Model;
|
||||||
|
|
||||||
|
CreateUsersResult::CreateUsersResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
CreateUsersResult::CreateUsersResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateUsersResult::~CreateUsersResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void CreateUsersResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto createResultNode = value["CreateResult"];
|
||||||
|
auto allCreatedUsersNode = createResultNode["CreatedUsers"]["createdUsersItem"];
|
||||||
|
for (auto createResultNodeCreatedUserscreatedUsersItem : allCreatedUsersNode)
|
||||||
|
{
|
||||||
|
CreateResult::CreatedUsersItem createdUsersItemObject;
|
||||||
|
if(!createResultNodeCreatedUserscreatedUsersItem["EndUserId"].isNull())
|
||||||
|
createdUsersItemObject.endUserId = createResultNodeCreatedUserscreatedUsersItem["EndUserId"].asString();
|
||||||
|
if(!createResultNodeCreatedUserscreatedUsersItem["Email"].isNull())
|
||||||
|
createdUsersItemObject.email = createResultNodeCreatedUserscreatedUsersItem["Email"].asString();
|
||||||
|
if(!createResultNodeCreatedUserscreatedUsersItem["Phone"].isNull())
|
||||||
|
createdUsersItemObject.phone = createResultNodeCreatedUserscreatedUsersItem["Phone"].asString();
|
||||||
|
if(!createResultNodeCreatedUserscreatedUsersItem["Remark"].isNull())
|
||||||
|
createdUsersItemObject.remark = createResultNodeCreatedUserscreatedUsersItem["Remark"].asString();
|
||||||
|
if(!createResultNodeCreatedUserscreatedUsersItem["RealNickName"].isNull())
|
||||||
|
createdUsersItemObject.realNickName = createResultNodeCreatedUserscreatedUsersItem["RealNickName"].asString();
|
||||||
|
createResult_.createdUsers.push_back(createdUsersItemObject);
|
||||||
|
}
|
||||||
|
auto allFailedUsersNode = createResultNode["FailedUsers"]["failedUsersItem"];
|
||||||
|
for (auto createResultNodeFailedUsersfailedUsersItem : allFailedUsersNode)
|
||||||
|
{
|
||||||
|
CreateResult::FailedUsersItem failedUsersItemObject;
|
||||||
|
if(!createResultNodeFailedUsersfailedUsersItem["EndUserId"].isNull())
|
||||||
|
failedUsersItemObject.endUserId = createResultNodeFailedUsersfailedUsersItem["EndUserId"].asString();
|
||||||
|
if(!createResultNodeFailedUsersfailedUsersItem["Email"].isNull())
|
||||||
|
failedUsersItemObject.email = createResultNodeFailedUsersfailedUsersItem["Email"].asString();
|
||||||
|
if(!createResultNodeFailedUsersfailedUsersItem["Phone"].isNull())
|
||||||
|
failedUsersItemObject.phone = createResultNodeFailedUsersfailedUsersItem["Phone"].asString();
|
||||||
|
if(!createResultNodeFailedUsersfailedUsersItem["ErrorCode"].isNull())
|
||||||
|
failedUsersItemObject.errorCode = createResultNodeFailedUsersfailedUsersItem["ErrorCode"].asString();
|
||||||
|
if(!createResultNodeFailedUsersfailedUsersItem["ErrorMessage"].isNull())
|
||||||
|
failedUsersItemObject.errorMessage = createResultNodeFailedUsersfailedUsersItem["ErrorMessage"].asString();
|
||||||
|
createResult_.failedUsers.push_back(failedUsersItemObject);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateUsersResult::CreateResult CreateUsersResult::getCreateResult()const
|
||||||
|
{
|
||||||
|
return createResult_;
|
||||||
|
}
|
||||||
|
|
||||||
54
eds-user/src/model/DeleteUserPropertyValueRequest.cc
Normal file
54
eds-user/src/model/DeleteUserPropertyValueRequest.cc
Normal file
@@ -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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/model/DeleteUserPropertyValueRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Eds_user::Model::DeleteUserPropertyValueRequest;
|
||||||
|
|
||||||
|
DeleteUserPropertyValueRequest::DeleteUserPropertyValueRequest()
|
||||||
|
: RpcServiceRequest("eds-user", "2021-03-08", "DeleteUserPropertyValue") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DeleteUserPropertyValueRequest::~DeleteUserPropertyValueRequest() {}
|
||||||
|
|
||||||
|
long DeleteUserPropertyValueRequest::getPropertyValueId() const {
|
||||||
|
return propertyValueId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteUserPropertyValueRequest::setPropertyValueId(long propertyValueId) {
|
||||||
|
propertyValueId_ = propertyValueId;
|
||||||
|
setBodyParameter(std::string("PropertyValueId"), std::to_string(propertyValueId));
|
||||||
|
}
|
||||||
|
|
||||||
|
long DeleteUserPropertyValueRequest::getUserId() const {
|
||||||
|
return userId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteUserPropertyValueRequest::setUserId(long userId) {
|
||||||
|
userId_ = userId;
|
||||||
|
setBodyParameter(std::string("UserId"), std::to_string(userId));
|
||||||
|
}
|
||||||
|
|
||||||
|
long DeleteUserPropertyValueRequest::getPropertyId() const {
|
||||||
|
return propertyId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteUserPropertyValueRequest::setPropertyId(long propertyId) {
|
||||||
|
propertyId_ = propertyId;
|
||||||
|
setBodyParameter(std::string("PropertyId"), std::to_string(propertyId));
|
||||||
|
}
|
||||||
|
|
||||||
44
eds-user/src/model/DeleteUserPropertyValueResult.cc
Normal file
44
eds-user/src/model/DeleteUserPropertyValueResult.cc
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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 <alibabacloud/eds-user/model/DeleteUserPropertyValueResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Eds_user;
|
||||||
|
using namespace AlibabaCloud::Eds_user::Model;
|
||||||
|
|
||||||
|
DeleteUserPropertyValueResult::DeleteUserPropertyValueResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DeleteUserPropertyValueResult::DeleteUserPropertyValueResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DeleteUserPropertyValueResult::~DeleteUserPropertyValueResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DeleteUserPropertyValueResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
70
eds-user/src/model/DescribeMfaDevicesRequest.cc
Normal file
70
eds-user/src/model/DescribeMfaDevicesRequest.cc
Normal file
@@ -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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/model/DescribeMfaDevicesRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Eds_user::Model::DescribeMfaDevicesRequest;
|
||||||
|
|
||||||
|
DescribeMfaDevicesRequest::DescribeMfaDevicesRequest()
|
||||||
|
: RpcServiceRequest("eds-user", "2021-03-08", "DescribeMfaDevices") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeMfaDevicesRequest::~DescribeMfaDevicesRequest() {}
|
||||||
|
|
||||||
|
std::vector<std::string> DescribeMfaDevicesRequest::getEndUserIds() const {
|
||||||
|
return endUserIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeMfaDevicesRequest::setEndUserIds(const std::vector<std::string> &endUserIds) {
|
||||||
|
endUserIds_ = endUserIds;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> DescribeMfaDevicesRequest::getSerialNumbers() const {
|
||||||
|
return serialNumbers_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeMfaDevicesRequest::setSerialNumbers(const std::vector<std::string> &serialNumbers) {
|
||||||
|
serialNumbers_ = serialNumbers;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeMfaDevicesRequest::getAdDomain() const {
|
||||||
|
return adDomain_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeMfaDevicesRequest::setAdDomain(const std::string &adDomain) {
|
||||||
|
adDomain_ = adDomain;
|
||||||
|
setParameter(std::string("AdDomain"), adDomain);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeMfaDevicesRequest::getNextToken() const {
|
||||||
|
return nextToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeMfaDevicesRequest::setNextToken(const std::string &nextToken) {
|
||||||
|
nextToken_ = nextToken;
|
||||||
|
setParameter(std::string("NextToken"), nextToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
long DescribeMfaDevicesRequest::getMaxResults() const {
|
||||||
|
return maxResults_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeMfaDevicesRequest::setMaxResults(long maxResults) {
|
||||||
|
maxResults_ = maxResults;
|
||||||
|
setParameter(std::string("MaxResults"), std::to_string(maxResults));
|
||||||
|
}
|
||||||
|
|
||||||
80
eds-user/src/model/DescribeMfaDevicesResult.cc
Normal file
80
eds-user/src/model/DescribeMfaDevicesResult.cc
Normal file
@@ -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 <alibabacloud/eds-user/model/DescribeMfaDevicesResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Eds_user;
|
||||||
|
using namespace AlibabaCloud::Eds_user::Model;
|
||||||
|
|
||||||
|
DescribeMfaDevicesResult::DescribeMfaDevicesResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeMfaDevicesResult::DescribeMfaDevicesResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeMfaDevicesResult::~DescribeMfaDevicesResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeMfaDevicesResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allMfaDevicesNode = value["MfaDevices"]["data"];
|
||||||
|
for (auto valueMfaDevicesdata : allMfaDevicesNode)
|
||||||
|
{
|
||||||
|
Data mfaDevicesObject;
|
||||||
|
if(!valueMfaDevicesdata["Id"].isNull())
|
||||||
|
mfaDevicesObject.id = std::stol(valueMfaDevicesdata["Id"].asString());
|
||||||
|
if(!valueMfaDevicesdata["EndUserId"].isNull())
|
||||||
|
mfaDevicesObject.endUserId = valueMfaDevicesdata["EndUserId"].asString();
|
||||||
|
if(!valueMfaDevicesdata["Email"].isNull())
|
||||||
|
mfaDevicesObject.email = valueMfaDevicesdata["Email"].asString();
|
||||||
|
if(!valueMfaDevicesdata["GmtEnabled"].isNull())
|
||||||
|
mfaDevicesObject.gmtEnabled = valueMfaDevicesdata["GmtEnabled"].asString();
|
||||||
|
if(!valueMfaDevicesdata["GmtUnlock"].isNull())
|
||||||
|
mfaDevicesObject.gmtUnlock = valueMfaDevicesdata["GmtUnlock"].asString();
|
||||||
|
if(!valueMfaDevicesdata["ConsecutiveFails"].isNull())
|
||||||
|
mfaDevicesObject.consecutiveFails = std::stoi(valueMfaDevicesdata["ConsecutiveFails"].asString());
|
||||||
|
if(!valueMfaDevicesdata["SerialNumber"].isNull())
|
||||||
|
mfaDevicesObject.serialNumber = valueMfaDevicesdata["SerialNumber"].asString();
|
||||||
|
if(!valueMfaDevicesdata["Status"].isNull())
|
||||||
|
mfaDevicesObject.status = valueMfaDevicesdata["Status"].asString();
|
||||||
|
if(!valueMfaDevicesdata["DeviceType"].isNull())
|
||||||
|
mfaDevicesObject.deviceType = valueMfaDevicesdata["DeviceType"].asString();
|
||||||
|
mfaDevices_.push_back(mfaDevicesObject);
|
||||||
|
}
|
||||||
|
if(!value["NextToken"].isNull())
|
||||||
|
nextToken_ = value["NextToken"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeMfaDevicesResult::getNextToken()const
|
||||||
|
{
|
||||||
|
return nextToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeMfaDevicesResult::Data> DescribeMfaDevicesResult::getMfaDevices()const
|
||||||
|
{
|
||||||
|
return mfaDevices_;
|
||||||
|
}
|
||||||
|
|
||||||
45
eds-user/src/model/DescribeOrgByLayerRequest.cc
Normal file
45
eds-user/src/model/DescribeOrgByLayerRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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 <alibabacloud/eds-user/model/DescribeOrgByLayerRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Eds_user::Model::DescribeOrgByLayerRequest;
|
||||||
|
|
||||||
|
DescribeOrgByLayerRequest::DescribeOrgByLayerRequest()
|
||||||
|
: RpcServiceRequest("eds-user", "2021-03-08", "DescribeOrgByLayer") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeOrgByLayerRequest::~DescribeOrgByLayerRequest() {}
|
||||||
|
|
||||||
|
std::string DescribeOrgByLayerRequest::getOrgName() const {
|
||||||
|
return orgName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeOrgByLayerRequest::setOrgName(const std::string &orgName) {
|
||||||
|
orgName_ = orgName;
|
||||||
|
setBodyParameter(std::string("OrgName"), orgName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeOrgByLayerRequest::getParentOrgId() const {
|
||||||
|
return parentOrgId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeOrgByLayerRequest::setParentOrgId(const std::string &parentOrgId) {
|
||||||
|
parentOrgId_ = parentOrgId;
|
||||||
|
setBodyParameter(std::string("ParentOrgId"), parentOrgId);
|
||||||
|
}
|
||||||
|
|
||||||
61
eds-user/src/model/DescribeOrgByLayerResult.cc
Normal file
61
eds-user/src/model/DescribeOrgByLayerResult.cc
Normal file
@@ -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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/eds-user/model/DescribeOrgByLayerResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Eds_user;
|
||||||
|
using namespace AlibabaCloud::Eds_user::Model;
|
||||||
|
|
||||||
|
DescribeOrgByLayerResult::DescribeOrgByLayerResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeOrgByLayerResult::DescribeOrgByLayerResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeOrgByLayerResult::~DescribeOrgByLayerResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeOrgByLayerResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allOrgsNode = value["Orgs"]["data"];
|
||||||
|
for (auto valueOrgsdata : allOrgsNode)
|
||||||
|
{
|
||||||
|
Data orgsObject;
|
||||||
|
if(!valueOrgsdata["OrgName"].isNull())
|
||||||
|
orgsObject.orgName = valueOrgsdata["OrgName"].asString();
|
||||||
|
if(!valueOrgsdata["OrgId"].isNull())
|
||||||
|
orgsObject.orgId = valueOrgsdata["OrgId"].asString();
|
||||||
|
if(!valueOrgsdata["ParentOrgId"].isNull())
|
||||||
|
orgsObject.parentOrgId = valueOrgsdata["ParentOrgId"].asString();
|
||||||
|
orgs_.push_back(orgsObject);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeOrgByLayerResult::Data> DescribeOrgByLayerResult::getOrgs()const
|
||||||
|
{
|
||||||
|
return orgs_;
|
||||||
|
}
|
||||||
|
|
||||||
63
eds-user/src/model/DescribeOrgsRequest.cc
Normal file
63
eds-user/src/model/DescribeOrgsRequest.cc
Normal file
@@ -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 <alibabacloud/eds-user/model/DescribeOrgsRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Eds_user::Model::DescribeOrgsRequest;
|
||||||
|
|
||||||
|
DescribeOrgsRequest::DescribeOrgsRequest()
|
||||||
|
: RpcServiceRequest("eds-user", "2021-03-08", "DescribeOrgs") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeOrgsRequest::~DescribeOrgsRequest() {}
|
||||||
|
|
||||||
|
std::string DescribeOrgsRequest::getOrgName() const {
|
||||||
|
return orgName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeOrgsRequest::setOrgName(const std::string &orgName) {
|
||||||
|
orgName_ = orgName;
|
||||||
|
setParameter(std::string("OrgName"), orgName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeOrgsRequest::getNextToken() const {
|
||||||
|
return nextToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeOrgsRequest::setNextToken(const std::string &nextToken) {
|
||||||
|
nextToken_ = nextToken;
|
||||||
|
setParameter(std::string("NextToken"), nextToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeOrgsRequest::getParentOrgId() const {
|
||||||
|
return parentOrgId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeOrgsRequest::setParentOrgId(const std::string &parentOrgId) {
|
||||||
|
parentOrgId_ = parentOrgId;
|
||||||
|
setParameter(std::string("ParentOrgId"), parentOrgId);
|
||||||
|
}
|
||||||
|
|
||||||
|
long DescribeOrgsRequest::getMaxResults() const {
|
||||||
|
return maxResults_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeOrgsRequest::setMaxResults(long maxResults) {
|
||||||
|
maxResults_ = maxResults;
|
||||||
|
setParameter(std::string("MaxResults"), std::to_string(maxResults));
|
||||||
|
}
|
||||||
|
|
||||||
68
eds-user/src/model/DescribeOrgsResult.cc
Normal file
68
eds-user/src/model/DescribeOrgsResult.cc
Normal file
@@ -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 <alibabacloud/eds-user/model/DescribeOrgsResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Eds_user;
|
||||||
|
using namespace AlibabaCloud::Eds_user::Model;
|
||||||
|
|
||||||
|
DescribeOrgsResult::DescribeOrgsResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeOrgsResult::DescribeOrgsResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeOrgsResult::~DescribeOrgsResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeOrgsResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allOrgsNode = value["Orgs"]["data"];
|
||||||
|
for (auto valueOrgsdata : allOrgsNode)
|
||||||
|
{
|
||||||
|
Data orgsObject;
|
||||||
|
if(!valueOrgsdata["OrgName"].isNull())
|
||||||
|
orgsObject.orgName = valueOrgsdata["OrgName"].asString();
|
||||||
|
if(!valueOrgsdata["OrgId"].isNull())
|
||||||
|
orgsObject.orgId = valueOrgsdata["OrgId"].asString();
|
||||||
|
if(!valueOrgsdata["ParentOrgId"].isNull())
|
||||||
|
orgsObject.parentOrgId = valueOrgsdata["ParentOrgId"].asString();
|
||||||
|
orgs_.push_back(orgsObject);
|
||||||
|
}
|
||||||
|
if(!value["NextToken"].isNull())
|
||||||
|
nextToken_ = value["NextToken"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeOrgsResult::getNextToken()const
|
||||||
|
{
|
||||||
|
return nextToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeOrgsResult::Data> DescribeOrgsResult::getOrgs()const
|
||||||
|
{
|
||||||
|
return orgs_;
|
||||||
|
}
|
||||||
|
|
||||||
148
eds-user/src/model/DescribeUsersRequest.cc
Normal file
148
eds-user/src/model/DescribeUsersRequest.cc
Normal file
@@ -0,0 +1,148 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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 <alibabacloud/eds-user/model/DescribeUsersRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Eds_user::Model::DescribeUsersRequest;
|
||||||
|
|
||||||
|
DescribeUsersRequest::DescribeUsersRequest()
|
||||||
|
: RpcServiceRequest("eds-user", "2021-03-08", "DescribeUsers") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeUsersRequest::~DescribeUsersRequest() {}
|
||||||
|
|
||||||
|
bool DescribeUsersRequest::getIsQueryAllSubOrgs() const {
|
||||||
|
return isQueryAllSubOrgs_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeUsersRequest::setIsQueryAllSubOrgs(bool isQueryAllSubOrgs) {
|
||||||
|
isQueryAllSubOrgs_ = isQueryAllSubOrgs;
|
||||||
|
setBodyParameter(std::string("IsQueryAllSubOrgs"), isQueryAllSubOrgs ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> DescribeUsersRequest::getEndUserIds() const {
|
||||||
|
return endUserIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeUsersRequest::setEndUserIds(const std::vector<std::string> &endUserIds) {
|
||||||
|
endUserIds_ = endUserIds;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> DescribeUsersRequest::getExcludeEndUserIds() const {
|
||||||
|
return excludeEndUserIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeUsersRequest::setExcludeEndUserIds(const std::vector<std::string> &excludeEndUserIds) {
|
||||||
|
excludeEndUserIds_ = excludeEndUserIds;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeUsersRequest::getNextToken() const {
|
||||||
|
return nextToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeUsersRequest::setNextToken(const std::string &nextToken) {
|
||||||
|
nextToken_ = nextToken;
|
||||||
|
setParameter(std::string("NextToken"), nextToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeUsersRequest::getSolutionId() const {
|
||||||
|
return solutionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeUsersRequest::setSolutionId(const std::string &solutionId) {
|
||||||
|
solutionId_ = solutionId;
|
||||||
|
setBodyParameter(std::string("SolutionId"), solutionId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::map<std::string, bool> DescribeUsersRequest::getFilterWithAssignedResources() const {
|
||||||
|
return filterWithAssignedResources_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeUsersRequest::setFilterWithAssignedResources(const std::map<std::string, bool> &filterWithAssignedResources) {
|
||||||
|
filterWithAssignedResources_ = filterWithAssignedResources;
|
||||||
|
for(auto const &iter1 : filterWithAssignedResources) {
|
||||||
|
setBodyParameter(std::string("FilterWithAssignedResources") + "." + iter1.first, iter1.second ? "true" : "false");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeUsersRequest::getGroupId() const {
|
||||||
|
return groupId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeUsersRequest::setGroupId(const std::string &groupId) {
|
||||||
|
groupId_ = groupId;
|
||||||
|
setBodyParameter(std::string("GroupId"), groupId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeUsersRequest::getOrgId() const {
|
||||||
|
return orgId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeUsersRequest::setOrgId(const std::string &orgId) {
|
||||||
|
orgId_ = orgId;
|
||||||
|
setBodyParameter(std::string("OrgId"), orgId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::map<std::string, std::string> DescribeUsersRequest::getFilterWithAssignedResource() const {
|
||||||
|
return filterWithAssignedResource_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeUsersRequest::setFilterWithAssignedResource(const std::map<std::string, std::string> &filterWithAssignedResource) {
|
||||||
|
filterWithAssignedResource_ = filterWithAssignedResource;
|
||||||
|
for(auto const &iter1 : filterWithAssignedResource) {
|
||||||
|
setParameter(std::string("FilterWithAssignedResource") + "." + iter1.first, iter1.second);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeUsersRequest::getFilter() const {
|
||||||
|
return filter_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeUsersRequest::setFilter(const std::string &filter) {
|
||||||
|
filter_ = filter;
|
||||||
|
setParameter(std::string("Filter"), filter);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeUsersRequest::getBizType() const {
|
||||||
|
return bizType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeUsersRequest::setBizType(const std::string &bizType) {
|
||||||
|
bizType_ = bizType;
|
||||||
|
setBodyParameter(std::string("BizType"), bizType);
|
||||||
|
}
|
||||||
|
|
||||||
|
long DescribeUsersRequest::getMaxResults() const {
|
||||||
|
return maxResults_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeUsersRequest::setMaxResults(long maxResults) {
|
||||||
|
maxResults_ = maxResults;
|
||||||
|
setParameter(std::string("MaxResults"), std::to_string(maxResults));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::map<std::string, ObjectOfAny> DescribeUsersRequest::getShowExtras() const {
|
||||||
|
return showExtras_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeUsersRequest::setShowExtras(const std::map<std::string, ObjectOfAny> &showExtras) {
|
||||||
|
showExtras_ = showExtras;
|
||||||
|
for(auto const &iter1 : showExtras) {
|
||||||
|
setBodyParameter(std::string("ShowExtras") + "." + iter1.first, std::to_string(iter1.second));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
127
eds-user/src/model/DescribeUsersResult.cc
Normal file
127
eds-user/src/model/DescribeUsersResult.cc
Normal file
@@ -0,0 +1,127 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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 <alibabacloud/eds-user/model/DescribeUsersResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Eds_user;
|
||||||
|
using namespace AlibabaCloud::Eds_user::Model;
|
||||||
|
|
||||||
|
DescribeUsersResult::DescribeUsersResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeUsersResult::DescribeUsersResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeUsersResult::~DescribeUsersResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeUsersResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allUsersNode = value["Users"]["data"];
|
||||||
|
for (auto valueUsersdata : allUsersNode)
|
||||||
|
{
|
||||||
|
Data usersObject;
|
||||||
|
if(!valueUsersdata["Id"].isNull())
|
||||||
|
usersObject.id = std::stol(valueUsersdata["Id"].asString());
|
||||||
|
if(!valueUsersdata["EndUserId"].isNull())
|
||||||
|
usersObject.endUserId = valueUsersdata["EndUserId"].asString();
|
||||||
|
if(!valueUsersdata["Email"].isNull())
|
||||||
|
usersObject.email = valueUsersdata["Email"].asString();
|
||||||
|
if(!valueUsersdata["Phone"].isNull())
|
||||||
|
usersObject.phone = valueUsersdata["Phone"].asString();
|
||||||
|
if(!valueUsersdata["Status"].isNull())
|
||||||
|
usersObject.status = std::stol(valueUsersdata["Status"].asString());
|
||||||
|
if(!valueUsersdata["OwnerType"].isNull())
|
||||||
|
usersObject.ownerType = valueUsersdata["OwnerType"].asString();
|
||||||
|
if(!valueUsersdata["Remark"].isNull())
|
||||||
|
usersObject.remark = valueUsersdata["Remark"].asString();
|
||||||
|
if(!valueUsersdata["OrgId"].isNull())
|
||||||
|
usersObject.orgId = valueUsersdata["OrgId"].asString();
|
||||||
|
if(!valueUsersdata["WyId"].isNull())
|
||||||
|
usersObject.wyId = valueUsersdata["WyId"].asString();
|
||||||
|
if(!valueUsersdata["IsTenantManager"].isNull())
|
||||||
|
usersObject.isTenantManager = valueUsersdata["IsTenantManager"].asString() == "true";
|
||||||
|
if(!valueUsersdata["Avatar"].isNull())
|
||||||
|
usersObject.avatar = valueUsersdata["Avatar"].asString();
|
||||||
|
if(!valueUsersdata["Address"].isNull())
|
||||||
|
usersObject.address = valueUsersdata["Address"].asString();
|
||||||
|
if(!valueUsersdata["NickName"].isNull())
|
||||||
|
usersObject.nickName = valueUsersdata["NickName"].asString();
|
||||||
|
if(!valueUsersdata["RealNickName"].isNull())
|
||||||
|
usersObject.realNickName = valueUsersdata["RealNickName"].asString();
|
||||||
|
if(!valueUsersdata["JobNumber"].isNull())
|
||||||
|
usersObject.jobNumber = valueUsersdata["JobNumber"].asString();
|
||||||
|
if(!valueUsersdata["ExternalName"].isNull())
|
||||||
|
usersObject.externalName = valueUsersdata["ExternalName"].asString();
|
||||||
|
auto allGroupsNode = valueUsersdata["Groups"]["group"];
|
||||||
|
for (auto valueUsersdataGroupsgroup : allGroupsNode)
|
||||||
|
{
|
||||||
|
Data::Group groupsObject;
|
||||||
|
if(!valueUsersdataGroupsgroup["GroupId"].isNull())
|
||||||
|
groupsObject.groupId = valueUsersdataGroupsgroup["GroupId"].asString();
|
||||||
|
if(!valueUsersdataGroupsgroup["GroupName"].isNull())
|
||||||
|
groupsObject.groupName = valueUsersdataGroupsgroup["GroupName"].asString();
|
||||||
|
usersObject.groups.push_back(groupsObject);
|
||||||
|
}
|
||||||
|
auto allOrgsNode = valueUsersdata["Orgs"]["org"];
|
||||||
|
for (auto valueUsersdataOrgsorg : allOrgsNode)
|
||||||
|
{
|
||||||
|
Data::Org orgsObject;
|
||||||
|
if(!valueUsersdataOrgsorg["OrgId"].isNull())
|
||||||
|
orgsObject.orgId = valueUsersdataOrgsorg["OrgId"].asString();
|
||||||
|
if(!valueUsersdataOrgsorg["OrgName"].isNull())
|
||||||
|
orgsObject.orgName = valueUsersdataOrgsorg["OrgName"].asString();
|
||||||
|
usersObject.orgs.push_back(orgsObject);
|
||||||
|
}
|
||||||
|
auto allPropertiesNode = valueUsersdata["Properties"]["Property"];
|
||||||
|
for (auto valueUsersdataPropertiesProperty : allPropertiesNode)
|
||||||
|
{
|
||||||
|
Data::Property propertiesObject;
|
||||||
|
if(!valueUsersdataPropertiesProperty["Key"].isNull())
|
||||||
|
propertiesObject.key = valueUsersdataPropertiesProperty["Key"].asString();
|
||||||
|
if(!valueUsersdataPropertiesProperty["Value"].isNull())
|
||||||
|
propertiesObject.value = valueUsersdataPropertiesProperty["Value"].asString();
|
||||||
|
usersObject.properties.push_back(propertiesObject);
|
||||||
|
}
|
||||||
|
auto extrasNode = value["Extras"];
|
||||||
|
if(!extrasNode["AssignedResourceCount"].isNull())
|
||||||
|
usersObject.extras.assignedResourceCount = extrasNode["AssignedResourceCount"].asString();
|
||||||
|
users_.push_back(usersObject);
|
||||||
|
}
|
||||||
|
if(!value["NextToken"].isNull())
|
||||||
|
nextToken_ = value["NextToken"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeUsersResult::getNextToken()const
|
||||||
|
{
|
||||||
|
return nextToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeUsersResult::Data> DescribeUsersResult::getUsers()const
|
||||||
|
{
|
||||||
|
return users_;
|
||||||
|
}
|
||||||
|
|
||||||
172
eds-user/src/model/FilterUsersRequest.cc
Normal file
172
eds-user/src/model/FilterUsersRequest.cc
Normal file
@@ -0,0 +1,172 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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 <alibabacloud/eds-user/model/FilterUsersRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Eds_user::Model::FilterUsersRequest;
|
||||||
|
|
||||||
|
FilterUsersRequest::FilterUsersRequest()
|
||||||
|
: RpcServiceRequest("eds-user", "2021-03-08", "FilterUsers") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
FilterUsersRequest::~FilterUsersRequest() {}
|
||||||
|
|
||||||
|
bool FilterUsersRequest::getIsQueryAllSubOrgs() const {
|
||||||
|
return isQueryAllSubOrgs_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void FilterUsersRequest::setIsQueryAllSubOrgs(bool isQueryAllSubOrgs) {
|
||||||
|
isQueryAllSubOrgs_ = isQueryAllSubOrgs;
|
||||||
|
setParameter(std::string("IsQueryAllSubOrgs"), isQueryAllSubOrgs ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
FilterUsersRequest::OrderParam FilterUsersRequest::getOrderParam() const {
|
||||||
|
return orderParam_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void FilterUsersRequest::setOrderParam(const FilterUsersRequest::OrderParam &orderParam) {
|
||||||
|
orderParam_ = orderParam;
|
||||||
|
setParameter(std::string("OrderParam") + ".OrderField", orderParam.orderField);
|
||||||
|
setParameter(std::string("OrderParam") + ".OrderType", orderParam.orderType);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> FilterUsersRequest::getExcludeEndUserIds() const {
|
||||||
|
return excludeEndUserIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void FilterUsersRequest::setExcludeEndUserIds(const std::vector<std::string> &excludeEndUserIds) {
|
||||||
|
excludeEndUserIds_ = excludeEndUserIds;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string FilterUsersRequest::getNextToken() const {
|
||||||
|
return nextToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void FilterUsersRequest::setNextToken(const std::string &nextToken) {
|
||||||
|
nextToken_ = nextToken;
|
||||||
|
setParameter(std::string("NextToken"), nextToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool FilterUsersRequest::getIncludeDesktopCount() const {
|
||||||
|
return includeDesktopCount_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void FilterUsersRequest::setIncludeDesktopCount(bool includeDesktopCount) {
|
||||||
|
includeDesktopCount_ = includeDesktopCount;
|
||||||
|
setParameter(std::string("IncludeDesktopCount"), includeDesktopCount ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
bool FilterUsersRequest::getIncludeSupportIdps() const {
|
||||||
|
return includeSupportIdps_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void FilterUsersRequest::setIncludeSupportIdps(bool includeSupportIdps) {
|
||||||
|
includeSupportIdps_ = includeSupportIdps;
|
||||||
|
setParameter(std::string("IncludeSupportIdps"), includeSupportIdps ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<FilterUsersRequest::PropertyFilterParam> FilterUsersRequest::getPropertyFilterParam() const {
|
||||||
|
return propertyFilterParam_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void FilterUsersRequest::setPropertyFilterParam(const std::vector<FilterUsersRequest::PropertyFilterParam> &propertyFilterParam) {
|
||||||
|
propertyFilterParam_ = propertyFilterParam;
|
||||||
|
for(int dep1 = 0; dep1 != propertyFilterParam.size(); dep1++) {
|
||||||
|
auto propertyFilterParamObj = propertyFilterParam.at(dep1);
|
||||||
|
std::string propertyFilterParamObjStr = std::string("PropertyFilterParam") + "." + std::to_string(dep1 + 1);
|
||||||
|
setParameter(propertyFilterParamObjStr + ".PropertyId", std::to_string(propertyFilterParamObj.propertyId));
|
||||||
|
setParameter(propertyFilterParamObjStr + ".PropertyValueIds", propertyFilterParamObj.propertyValueIds);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
bool FilterUsersRequest::getIncludeOrgInfo() const {
|
||||||
|
return includeOrgInfo_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void FilterUsersRequest::setIncludeOrgInfo(bool includeOrgInfo) {
|
||||||
|
includeOrgInfo_ = includeOrgInfo;
|
||||||
|
setParameter(std::string("IncludeOrgInfo"), includeOrgInfo ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
bool FilterUsersRequest::getIncludeDesktopGroupCount() const {
|
||||||
|
return includeDesktopGroupCount_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void FilterUsersRequest::setIncludeDesktopGroupCount(bool includeDesktopGroupCount) {
|
||||||
|
includeDesktopGroupCount_ = includeDesktopGroupCount;
|
||||||
|
setParameter(std::string("IncludeDesktopGroupCount"), includeDesktopGroupCount ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string FilterUsersRequest::getOrgId() const {
|
||||||
|
return orgId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void FilterUsersRequest::setOrgId(const std::string &orgId) {
|
||||||
|
orgId_ = orgId;
|
||||||
|
setParameter(std::string("OrgId"), orgId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string FilterUsersRequest::getFilter() const {
|
||||||
|
return filter_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void FilterUsersRequest::setFilter(const std::string &filter) {
|
||||||
|
filter_ = filter;
|
||||||
|
setParameter(std::string("Filter"), filter);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<FilterUsersRequest::PropertyKeyValueFilterParam> FilterUsersRequest::getPropertyKeyValueFilterParam() const {
|
||||||
|
return propertyKeyValueFilterParam_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void FilterUsersRequest::setPropertyKeyValueFilterParam(const std::vector<FilterUsersRequest::PropertyKeyValueFilterParam> &propertyKeyValueFilterParam) {
|
||||||
|
propertyKeyValueFilterParam_ = propertyKeyValueFilterParam;
|
||||||
|
for(int dep1 = 0; dep1 != propertyKeyValueFilterParam.size(); dep1++) {
|
||||||
|
auto propertyKeyValueFilterParamObj = propertyKeyValueFilterParam.at(dep1);
|
||||||
|
std::string propertyKeyValueFilterParamObjStr = std::string("PropertyKeyValueFilterParam") + "." + std::to_string(dep1 + 1);
|
||||||
|
setParameter(propertyKeyValueFilterParamObjStr + ".PropertyKey", propertyKeyValueFilterParamObj.propertyKey);
|
||||||
|
setParameter(propertyKeyValueFilterParamObjStr + ".PropertyValues", propertyKeyValueFilterParamObj.propertyValues);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string FilterUsersRequest::getOwnerType() const {
|
||||||
|
return ownerType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void FilterUsersRequest::setOwnerType(const std::string &ownerType) {
|
||||||
|
ownerType_ = ownerType;
|
||||||
|
setParameter(std::string("OwnerType"), ownerType);
|
||||||
|
}
|
||||||
|
|
||||||
|
long FilterUsersRequest::getMaxResults() const {
|
||||||
|
return maxResults_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void FilterUsersRequest::setMaxResults(long maxResults) {
|
||||||
|
maxResults_ = maxResults;
|
||||||
|
setParameter(std::string("MaxResults"), std::to_string(maxResults));
|
||||||
|
}
|
||||||
|
|
||||||
|
int FilterUsersRequest::getStatus() const {
|
||||||
|
return status_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void FilterUsersRequest::setStatus(int status) {
|
||||||
|
status_ = status;
|
||||||
|
setParameter(std::string("Status"), std::to_string(status));
|
||||||
|
}
|
||||||
|
|
||||||
143
eds-user/src/model/FilterUsersResult.cc
Normal file
143
eds-user/src/model/FilterUsersResult.cc
Normal file
@@ -0,0 +1,143 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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 <alibabacloud/eds-user/model/FilterUsersResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Eds_user;
|
||||||
|
using namespace AlibabaCloud::Eds_user::Model;
|
||||||
|
|
||||||
|
FilterUsersResult::FilterUsersResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
FilterUsersResult::FilterUsersResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
FilterUsersResult::~FilterUsersResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void FilterUsersResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allUsersNode = value["Users"]["data"];
|
||||||
|
for (auto valueUsersdata : allUsersNode)
|
||||||
|
{
|
||||||
|
Data usersObject;
|
||||||
|
if(!valueUsersdata["Id"].isNull())
|
||||||
|
usersObject.id = std::stol(valueUsersdata["Id"].asString());
|
||||||
|
if(!valueUsersdata["EndUserId"].isNull())
|
||||||
|
usersObject.endUserId = valueUsersdata["EndUserId"].asString();
|
||||||
|
if(!valueUsersdata["Email"].isNull())
|
||||||
|
usersObject.email = valueUsersdata["Email"].asString();
|
||||||
|
if(!valueUsersdata["Phone"].isNull())
|
||||||
|
usersObject.phone = valueUsersdata["Phone"].asString();
|
||||||
|
if(!valueUsersdata["Status"].isNull())
|
||||||
|
usersObject.status = std::stol(valueUsersdata["Status"].asString());
|
||||||
|
if(!valueUsersdata["DesktopCount"].isNull())
|
||||||
|
usersObject.desktopCount = std::stol(valueUsersdata["DesktopCount"].asString());
|
||||||
|
if(!valueUsersdata["DesktopGroupCount"].isNull())
|
||||||
|
usersObject.desktopGroupCount = std::stol(valueUsersdata["DesktopGroupCount"].asString());
|
||||||
|
if(!valueUsersdata["OwnerType"].isNull())
|
||||||
|
usersObject.ownerType = valueUsersdata["OwnerType"].asString();
|
||||||
|
if(!valueUsersdata["Remark"].isNull())
|
||||||
|
usersObject.remark = valueUsersdata["Remark"].asString();
|
||||||
|
if(!valueUsersdata["IsTenantManager"].isNull())
|
||||||
|
usersObject.isTenantManager = valueUsersdata["IsTenantManager"].asString() == "true";
|
||||||
|
if(!valueUsersdata["EnableAdminAccess"].isNull())
|
||||||
|
usersObject.enableAdminAccess = valueUsersdata["EnableAdminAccess"].asString() == "true";
|
||||||
|
if(!valueUsersdata["RealNickName"].isNull())
|
||||||
|
usersObject.realNickName = valueUsersdata["RealNickName"].asString();
|
||||||
|
if(!valueUsersdata["AutoLockTime"].isNull())
|
||||||
|
usersObject.autoLockTime = valueUsersdata["AutoLockTime"].asString();
|
||||||
|
if(!valueUsersdata["PasswordExpireDays"].isNull())
|
||||||
|
usersObject.passwordExpireDays = std::stoi(valueUsersdata["PasswordExpireDays"].asString());
|
||||||
|
if(!valueUsersdata["PasswordExpireRestDays"].isNull())
|
||||||
|
usersObject.passwordExpireRestDays = std::stoi(valueUsersdata["PasswordExpireRestDays"].asString());
|
||||||
|
auto allUserSetPropertiesModelsNode = valueUsersdata["UserSetPropertiesModels"]["userSetPropertiesModelsItem"];
|
||||||
|
for (auto valueUsersdataUserSetPropertiesModelsuserSetPropertiesModelsItem : allUserSetPropertiesModelsNode)
|
||||||
|
{
|
||||||
|
Data::UserSetPropertiesModelsItem userSetPropertiesModelsObject;
|
||||||
|
if(!valueUsersdataUserSetPropertiesModelsuserSetPropertiesModelsItem["UserId"].isNull())
|
||||||
|
userSetPropertiesModelsObject.userId = std::stol(valueUsersdataUserSetPropertiesModelsuserSetPropertiesModelsItem["UserId"].asString());
|
||||||
|
if(!valueUsersdataUserSetPropertiesModelsuserSetPropertiesModelsItem["UserName"].isNull())
|
||||||
|
userSetPropertiesModelsObject.userName = valueUsersdataUserSetPropertiesModelsuserSetPropertiesModelsItem["UserName"].asString();
|
||||||
|
if(!valueUsersdataUserSetPropertiesModelsuserSetPropertiesModelsItem["PropertyId"].isNull())
|
||||||
|
userSetPropertiesModelsObject.propertyId = std::stol(valueUsersdataUserSetPropertiesModelsuserSetPropertiesModelsItem["PropertyId"].asString());
|
||||||
|
if(!valueUsersdataUserSetPropertiesModelsuserSetPropertiesModelsItem["PropertyKey"].isNull())
|
||||||
|
userSetPropertiesModelsObject.propertyKey = valueUsersdataUserSetPropertiesModelsuserSetPropertiesModelsItem["PropertyKey"].asString();
|
||||||
|
if(!valueUsersdataUserSetPropertiesModelsuserSetPropertiesModelsItem["PropertyType"].isNull())
|
||||||
|
userSetPropertiesModelsObject.propertyType = std::stoi(valueUsersdataUserSetPropertiesModelsuserSetPropertiesModelsItem["PropertyType"].asString());
|
||||||
|
auto allPropertyValuesNode = valueUsersdataUserSetPropertiesModelsuserSetPropertiesModelsItem["PropertyValues"]["propertyValuesItem"];
|
||||||
|
for (auto valueUsersdataUserSetPropertiesModelsuserSetPropertiesModelsItemPropertyValuespropertyValuesItem : allPropertyValuesNode)
|
||||||
|
{
|
||||||
|
Data::UserSetPropertiesModelsItem::PropertyValuesItem propertyValuesObject;
|
||||||
|
if(!valueUsersdataUserSetPropertiesModelsuserSetPropertiesModelsItemPropertyValuespropertyValuesItem["PropertyValueId"].isNull())
|
||||||
|
propertyValuesObject.propertyValueId = std::stol(valueUsersdataUserSetPropertiesModelsuserSetPropertiesModelsItemPropertyValuespropertyValuesItem["PropertyValueId"].asString());
|
||||||
|
if(!valueUsersdataUserSetPropertiesModelsuserSetPropertiesModelsItemPropertyValuespropertyValuesItem["PropertyValue"].isNull())
|
||||||
|
propertyValuesObject.propertyValue = valueUsersdataUserSetPropertiesModelsuserSetPropertiesModelsItemPropertyValuespropertyValuesItem["PropertyValue"].asString();
|
||||||
|
userSetPropertiesModelsObject.propertyValues.push_back(propertyValuesObject);
|
||||||
|
}
|
||||||
|
usersObject.userSetPropertiesModels.push_back(userSetPropertiesModelsObject);
|
||||||
|
}
|
||||||
|
auto allOrgListNode = valueUsersdata["OrgList"]["orgListItem"];
|
||||||
|
for (auto valueUsersdataOrgListorgListItem : allOrgListNode)
|
||||||
|
{
|
||||||
|
Data::OrgListItem orgListObject;
|
||||||
|
if(!valueUsersdataOrgListorgListItem["OrgId"].isNull())
|
||||||
|
orgListObject.orgId = valueUsersdataOrgListorgListItem["OrgId"].asString();
|
||||||
|
if(!valueUsersdataOrgListorgListItem["OrgName"].isNull())
|
||||||
|
orgListObject.orgName = valueUsersdataOrgListorgListItem["OrgName"].asString();
|
||||||
|
usersObject.orgList.push_back(orgListObject);
|
||||||
|
}
|
||||||
|
auto allSupportLoginIdpsNode = valueUsersdata["SupportLoginIdps"]["IdpInfo"];
|
||||||
|
for (auto valueUsersdataSupportLoginIdpsIdpInfo : allSupportLoginIdpsNode)
|
||||||
|
{
|
||||||
|
Data::IdpInfo supportLoginIdpsObject;
|
||||||
|
if(!valueUsersdataSupportLoginIdpsIdpInfo["IdpId"].isNull())
|
||||||
|
supportLoginIdpsObject.idpId = valueUsersdataSupportLoginIdpsIdpInfo["IdpId"].asString();
|
||||||
|
if(!valueUsersdataSupportLoginIdpsIdpInfo["IdpName"].isNull())
|
||||||
|
supportLoginIdpsObject.idpName = valueUsersdataSupportLoginIdpsIdpInfo["IdpName"].asString();
|
||||||
|
usersObject.supportLoginIdps.push_back(supportLoginIdpsObject);
|
||||||
|
}
|
||||||
|
auto externalInfoNode = value["ExternalInfo"];
|
||||||
|
if(!externalInfoNode["ExternalName"].isNull())
|
||||||
|
usersObject.externalInfo.externalName = externalInfoNode["ExternalName"].asString();
|
||||||
|
if(!externalInfoNode["JobNumber"].isNull())
|
||||||
|
usersObject.externalInfo.jobNumber = externalInfoNode["JobNumber"].asString();
|
||||||
|
users_.push_back(usersObject);
|
||||||
|
}
|
||||||
|
if(!value["NextToken"].isNull())
|
||||||
|
nextToken_ = value["NextToken"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string FilterUsersResult::getNextToken()const
|
||||||
|
{
|
||||||
|
return nextToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<FilterUsersResult::Data> FilterUsersResult::getUsers()const
|
||||||
|
{
|
||||||
|
return users_;
|
||||||
|
}
|
||||||
|
|
||||||
36
eds-user/src/model/GetManagerInfoByAuthCodeRequest.cc
Normal file
36
eds-user/src/model/GetManagerInfoByAuthCodeRequest.cc
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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 <alibabacloud/eds-user/model/GetManagerInfoByAuthCodeRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Eds_user::Model::GetManagerInfoByAuthCodeRequest;
|
||||||
|
|
||||||
|
GetManagerInfoByAuthCodeRequest::GetManagerInfoByAuthCodeRequest()
|
||||||
|
: RpcServiceRequest("eds-user", "2021-03-08", "GetManagerInfoByAuthCode") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
GetManagerInfoByAuthCodeRequest::~GetManagerInfoByAuthCodeRequest() {}
|
||||||
|
|
||||||
|
std::string GetManagerInfoByAuthCodeRequest::getAuthCode() const {
|
||||||
|
return authCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void GetManagerInfoByAuthCodeRequest::setAuthCode(const std::string &authCode) {
|
||||||
|
authCode_ = authCode;
|
||||||
|
setParameter(std::string("AuthCode"), authCode);
|
||||||
|
}
|
||||||
|
|
||||||
79
eds-user/src/model/GetManagerInfoByAuthCodeResult.cc
Normal file
79
eds-user/src/model/GetManagerInfoByAuthCodeResult.cc
Normal file
@@ -0,0 +1,79 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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 <alibabacloud/eds-user/model/GetManagerInfoByAuthCodeResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Eds_user;
|
||||||
|
using namespace AlibabaCloud::Eds_user::Model;
|
||||||
|
|
||||||
|
GetManagerInfoByAuthCodeResult::GetManagerInfoByAuthCodeResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
GetManagerInfoByAuthCodeResult::GetManagerInfoByAuthCodeResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
GetManagerInfoByAuthCodeResult::~GetManagerInfoByAuthCodeResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void GetManagerInfoByAuthCodeResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["WaId"].isNull())
|
||||||
|
waId_ = std::stol(value["WaId"].asString());
|
||||||
|
if(!value["OrgId"].isNull())
|
||||||
|
orgId_ = value["OrgId"].asString();
|
||||||
|
if(!value["UserName"].isNull())
|
||||||
|
userName_ = value["UserName"].asString();
|
||||||
|
if(!value["Phone"].isNull())
|
||||||
|
phone_ = value["Phone"].asString();
|
||||||
|
if(!value["TeamName"].isNull())
|
||||||
|
teamName_ = value["TeamName"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetManagerInfoByAuthCodeResult::getOrgId()const
|
||||||
|
{
|
||||||
|
return orgId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetManagerInfoByAuthCodeResult::getUserName()const
|
||||||
|
{
|
||||||
|
return userName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetManagerInfoByAuthCodeResult::getPhone()const
|
||||||
|
{
|
||||||
|
return phone_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetManagerInfoByAuthCodeResult::getTeamName()const
|
||||||
|
{
|
||||||
|
return teamName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
long GetManagerInfoByAuthCodeResult::getWaId()const
|
||||||
|
{
|
||||||
|
return waId_;
|
||||||
|
}
|
||||||
|
|
||||||
27
eds-user/src/model/InitTenantAliasRequest.cc
Normal file
27
eds-user/src/model/InitTenantAliasRequest.cc
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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 <alibabacloud/eds-user/model/InitTenantAliasRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Eds_user::Model::InitTenantAliasRequest;
|
||||||
|
|
||||||
|
InitTenantAliasRequest::InitTenantAliasRequest()
|
||||||
|
: RpcServiceRequest("eds-user", "2021-03-08", "InitTenantAlias") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
InitTenantAliasRequest::~InitTenantAliasRequest() {}
|
||||||
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user