Generated 2021-03-08 for eds-user.
This commit is contained in:
@@ -29,6 +29,8 @@ set(eds-user_public_header_model
|
||||
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/CreateGroupRequest.h
|
||||
include/alibabacloud/eds-user/model/CreateGroupResult.h
|
||||
include/alibabacloud/eds-user/model/CreateOrgRequest.h
|
||||
include/alibabacloud/eds-user/model/CreateOrgResult.h
|
||||
include/alibabacloud/eds-user/model/CreatePropertyRequest.h
|
||||
@@ -41,6 +43,10 @@ set(eds-user_public_header_model
|
||||
include/alibabacloud/eds-user/model/DeleteResourceGroupResult.h
|
||||
include/alibabacloud/eds-user/model/DeleteUserPropertyValueRequest.h
|
||||
include/alibabacloud/eds-user/model/DeleteUserPropertyValueResult.h
|
||||
include/alibabacloud/eds-user/model/DescribeGroupUserRequest.h
|
||||
include/alibabacloud/eds-user/model/DescribeGroupUserResult.h
|
||||
include/alibabacloud/eds-user/model/DescribeGroupsRequest.h
|
||||
include/alibabacloud/eds-user/model/DescribeGroupsResult.h
|
||||
include/alibabacloud/eds-user/model/DescribeMfaDevicesRequest.h
|
||||
include/alibabacloud/eds-user/model/DescribeMfaDevicesResult.h
|
||||
include/alibabacloud/eds-user/model/DescribeOrgByLayerRequest.h
|
||||
@@ -65,14 +71,20 @@ set(eds-user_public_header_model
|
||||
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/ModifyGroupRequest.h
|
||||
include/alibabacloud/eds-user/model/ModifyGroupResult.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/MoveUserOrgRequest.h
|
||||
include/alibabacloud/eds-user/model/MoveUserOrgResult.h
|
||||
include/alibabacloud/eds-user/model/QuerySyncStatusByAliUidRequest.h
|
||||
include/alibabacloud/eds-user/model/QuerySyncStatusByAliUidResult.h
|
||||
include/alibabacloud/eds-user/model/RemoveGroupRequest.h
|
||||
include/alibabacloud/eds-user/model/RemoveGroupResult.h
|
||||
include/alibabacloud/eds-user/model/RemoveMfaDeviceRequest.h
|
||||
include/alibabacloud/eds-user/model/RemoveMfaDeviceResult.h
|
||||
include/alibabacloud/eds-user/model/RemoveOrgRequest.h
|
||||
@@ -92,7 +104,11 @@ set(eds-user_public_header_model
|
||||
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 )
|
||||
include/alibabacloud/eds-user/model/UpdatePropertyResult.h
|
||||
include/alibabacloud/eds-user/model/UserBatchJoinGroupRequest.h
|
||||
include/alibabacloud/eds-user/model/UserBatchJoinGroupResult.h
|
||||
include/alibabacloud/eds-user/model/UserBatchQuitGroupRequest.h
|
||||
include/alibabacloud/eds-user/model/UserBatchQuitGroupResult.h )
|
||||
|
||||
set(eds-user_src
|
||||
src/Eds-userClient.cc
|
||||
@@ -104,6 +120,8 @@ set(eds-user_src
|
||||
src/model/CheckUsedPropertyResult.cc
|
||||
src/model/CheckUsedPropertyValueRequest.cc
|
||||
src/model/CheckUsedPropertyValueResult.cc
|
||||
src/model/CreateGroupRequest.cc
|
||||
src/model/CreateGroupResult.cc
|
||||
src/model/CreateOrgRequest.cc
|
||||
src/model/CreateOrgResult.cc
|
||||
src/model/CreatePropertyRequest.cc
|
||||
@@ -116,6 +134,10 @@ set(eds-user_src
|
||||
src/model/DeleteResourceGroupResult.cc
|
||||
src/model/DeleteUserPropertyValueRequest.cc
|
||||
src/model/DeleteUserPropertyValueResult.cc
|
||||
src/model/DescribeGroupUserRequest.cc
|
||||
src/model/DescribeGroupUserResult.cc
|
||||
src/model/DescribeGroupsRequest.cc
|
||||
src/model/DescribeGroupsResult.cc
|
||||
src/model/DescribeMfaDevicesRequest.cc
|
||||
src/model/DescribeMfaDevicesResult.cc
|
||||
src/model/DescribeOrgByLayerRequest.cc
|
||||
@@ -140,14 +162,20 @@ set(eds-user_src
|
||||
src/model/LockMfaDeviceResult.cc
|
||||
src/model/LockUsersRequest.cc
|
||||
src/model/LockUsersResult.cc
|
||||
src/model/ModifyGroupRequest.cc
|
||||
src/model/ModifyGroupResult.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/MoveUserOrgRequest.cc
|
||||
src/model/MoveUserOrgResult.cc
|
||||
src/model/QuerySyncStatusByAliUidRequest.cc
|
||||
src/model/QuerySyncStatusByAliUidResult.cc
|
||||
src/model/RemoveGroupRequest.cc
|
||||
src/model/RemoveGroupResult.cc
|
||||
src/model/RemoveMfaDeviceRequest.cc
|
||||
src/model/RemoveMfaDeviceResult.cc
|
||||
src/model/RemoveOrgRequest.cc
|
||||
@@ -167,7 +195,11 @@ set(eds-user_src
|
||||
src/model/UnlockUsersRequest.cc
|
||||
src/model/UnlockUsersResult.cc
|
||||
src/model/UpdatePropertyRequest.cc
|
||||
src/model/UpdatePropertyResult.cc )
|
||||
src/model/UpdatePropertyResult.cc
|
||||
src/model/UserBatchJoinGroupRequest.cc
|
||||
src/model/UserBatchJoinGroupResult.cc
|
||||
src/model/UserBatchQuitGroupRequest.cc
|
||||
src/model/UserBatchQuitGroupResult.cc )
|
||||
|
||||
add_library(eds-user ${LIB_TYPE}
|
||||
${eds-user_public_header}
|
||||
|
||||
@@ -30,6 +30,8 @@
|
||||
#include "model/CheckUsedPropertyResult.h"
|
||||
#include "model/CheckUsedPropertyValueRequest.h"
|
||||
#include "model/CheckUsedPropertyValueResult.h"
|
||||
#include "model/CreateGroupRequest.h"
|
||||
#include "model/CreateGroupResult.h"
|
||||
#include "model/CreateOrgRequest.h"
|
||||
#include "model/CreateOrgResult.h"
|
||||
#include "model/CreatePropertyRequest.h"
|
||||
@@ -42,6 +44,10 @@
|
||||
#include "model/DeleteResourceGroupResult.h"
|
||||
#include "model/DeleteUserPropertyValueRequest.h"
|
||||
#include "model/DeleteUserPropertyValueResult.h"
|
||||
#include "model/DescribeGroupUserRequest.h"
|
||||
#include "model/DescribeGroupUserResult.h"
|
||||
#include "model/DescribeGroupsRequest.h"
|
||||
#include "model/DescribeGroupsResult.h"
|
||||
#include "model/DescribeMfaDevicesRequest.h"
|
||||
#include "model/DescribeMfaDevicesResult.h"
|
||||
#include "model/DescribeOrgByLayerRequest.h"
|
||||
@@ -66,14 +72,20 @@
|
||||
#include "model/LockMfaDeviceResult.h"
|
||||
#include "model/LockUsersRequest.h"
|
||||
#include "model/LockUsersResult.h"
|
||||
#include "model/ModifyGroupRequest.h"
|
||||
#include "model/ModifyGroupResult.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/MoveUserOrgRequest.h"
|
||||
#include "model/MoveUserOrgResult.h"
|
||||
#include "model/QuerySyncStatusByAliUidRequest.h"
|
||||
#include "model/QuerySyncStatusByAliUidResult.h"
|
||||
#include "model/RemoveGroupRequest.h"
|
||||
#include "model/RemoveGroupResult.h"
|
||||
#include "model/RemoveMfaDeviceRequest.h"
|
||||
#include "model/RemoveMfaDeviceResult.h"
|
||||
#include "model/RemoveOrgRequest.h"
|
||||
@@ -94,6 +106,10 @@
|
||||
#include "model/UnlockUsersResult.h"
|
||||
#include "model/UpdatePropertyRequest.h"
|
||||
#include "model/UpdatePropertyResult.h"
|
||||
#include "model/UserBatchJoinGroupRequest.h"
|
||||
#include "model/UserBatchJoinGroupResult.h"
|
||||
#include "model/UserBatchQuitGroupRequest.h"
|
||||
#include "model/UserBatchQuitGroupResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -115,6 +131,9 @@ namespace AlibabaCloud
|
||||
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::CreateGroupResult> CreateGroupOutcome;
|
||||
typedef std::future<CreateGroupOutcome> CreateGroupOutcomeCallable;
|
||||
typedef std::function<void(const Eds_userClient*, const Model::CreateGroupRequest&, const CreateGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateGroupAsyncHandler;
|
||||
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;
|
||||
@@ -133,6 +152,12 @@ namespace AlibabaCloud
|
||||
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::DescribeGroupUserResult> DescribeGroupUserOutcome;
|
||||
typedef std::future<DescribeGroupUserOutcome> DescribeGroupUserOutcomeCallable;
|
||||
typedef std::function<void(const Eds_userClient*, const Model::DescribeGroupUserRequest&, const DescribeGroupUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGroupUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeGroupsResult> DescribeGroupsOutcome;
|
||||
typedef std::future<DescribeGroupsOutcome> DescribeGroupsOutcomeCallable;
|
||||
typedef std::function<void(const Eds_userClient*, const Model::DescribeGroupsRequest&, const DescribeGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGroupsAsyncHandler;
|
||||
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;
|
||||
@@ -169,6 +194,9 @@ namespace AlibabaCloud
|
||||
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::ModifyGroupResult> ModifyGroupOutcome;
|
||||
typedef std::future<ModifyGroupOutcome> ModifyGroupOutcomeCallable;
|
||||
typedef std::function<void(const Eds_userClient*, const Model::ModifyGroupRequest&, const ModifyGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyGroupAsyncHandler;
|
||||
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;
|
||||
@@ -178,9 +206,15 @@ namespace AlibabaCloud
|
||||
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::MoveUserOrgResult> MoveUserOrgOutcome;
|
||||
typedef std::future<MoveUserOrgOutcome> MoveUserOrgOutcomeCallable;
|
||||
typedef std::function<void(const Eds_userClient*, const Model::MoveUserOrgRequest&, const MoveUserOrgOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoveUserOrgAsyncHandler;
|
||||
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::RemoveGroupResult> RemoveGroupOutcome;
|
||||
typedef std::future<RemoveGroupOutcome> RemoveGroupOutcomeCallable;
|
||||
typedef std::function<void(const Eds_userClient*, const Model::RemoveGroupRequest&, const RemoveGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveGroupAsyncHandler;
|
||||
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;
|
||||
@@ -211,6 +245,12 @@ namespace AlibabaCloud
|
||||
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;
|
||||
typedef Outcome<Error, Model::UserBatchJoinGroupResult> UserBatchJoinGroupOutcome;
|
||||
typedef std::future<UserBatchJoinGroupOutcome> UserBatchJoinGroupOutcomeCallable;
|
||||
typedef std::function<void(const Eds_userClient*, const Model::UserBatchJoinGroupRequest&, const UserBatchJoinGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UserBatchJoinGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::UserBatchQuitGroupResult> UserBatchQuitGroupOutcome;
|
||||
typedef std::future<UserBatchQuitGroupOutcome> UserBatchQuitGroupOutcomeCallable;
|
||||
typedef std::function<void(const Eds_userClient*, const Model::UserBatchQuitGroupRequest&, const UserBatchQuitGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UserBatchQuitGroupAsyncHandler;
|
||||
|
||||
Eds_userClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
Eds_userClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
@@ -228,6 +268,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
CreateGroupOutcome createGroup(const Model::CreateGroupRequest &request)const;
|
||||
void createGroupAsync(const Model::CreateGroupRequest& request, const CreateGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateGroupOutcomeCallable createGroupCallable(const Model::CreateGroupRequest& 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;
|
||||
@@ -246,6 +289,12 @@ namespace AlibabaCloud
|
||||
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;
|
||||
DescribeGroupUserOutcome describeGroupUser(const Model::DescribeGroupUserRequest &request)const;
|
||||
void describeGroupUserAsync(const Model::DescribeGroupUserRequest& request, const DescribeGroupUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeGroupUserOutcomeCallable describeGroupUserCallable(const Model::DescribeGroupUserRequest& request) const;
|
||||
DescribeGroupsOutcome describeGroups(const Model::DescribeGroupsRequest &request)const;
|
||||
void describeGroupsAsync(const Model::DescribeGroupsRequest& request, const DescribeGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeGroupsOutcomeCallable describeGroupsCallable(const Model::DescribeGroupsRequest& 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;
|
||||
@@ -282,6 +331,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
ModifyGroupOutcome modifyGroup(const Model::ModifyGroupRequest &request)const;
|
||||
void modifyGroupAsync(const Model::ModifyGroupRequest& request, const ModifyGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyGroupOutcomeCallable modifyGroupCallable(const Model::ModifyGroupRequest& 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;
|
||||
@@ -291,9 +343,15 @@ namespace AlibabaCloud
|
||||
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;
|
||||
MoveUserOrgOutcome moveUserOrg(const Model::MoveUserOrgRequest &request)const;
|
||||
void moveUserOrgAsync(const Model::MoveUserOrgRequest& request, const MoveUserOrgAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MoveUserOrgOutcomeCallable moveUserOrgCallable(const Model::MoveUserOrgRequest& 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;
|
||||
RemoveGroupOutcome removeGroup(const Model::RemoveGroupRequest &request)const;
|
||||
void removeGroupAsync(const Model::RemoveGroupRequest& request, const RemoveGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveGroupOutcomeCallable removeGroupCallable(const Model::RemoveGroupRequest& 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;
|
||||
@@ -324,6 +382,12 @@ namespace AlibabaCloud
|
||||
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;
|
||||
UserBatchJoinGroupOutcome userBatchJoinGroup(const Model::UserBatchJoinGroupRequest &request)const;
|
||||
void userBatchJoinGroupAsync(const Model::UserBatchJoinGroupRequest& request, const UserBatchJoinGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UserBatchJoinGroupOutcomeCallable userBatchJoinGroupCallable(const Model::UserBatchJoinGroupRequest& request) const;
|
||||
UserBatchQuitGroupOutcome userBatchQuitGroup(const Model::UserBatchQuitGroupRequest &request)const;
|
||||
void userBatchQuitGroupAsync(const Model::UserBatchQuitGroupRequest& request, const UserBatchQuitGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UserBatchQuitGroupOutcomeCallable userBatchQuitGroupCallable(const Model::UserBatchQuitGroupRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -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_CREATEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_EDS_USER_MODEL_CREATEGROUPREQUEST_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 CreateGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateGroupRequest();
|
||||
~CreateGroupRequest();
|
||||
std::string getGroupName() const;
|
||||
void setGroupName(const std::string &groupName);
|
||||
std::string getBizType() const;
|
||||
void setBizType(const std::string &bizType);
|
||||
std::string getParentGroupId() const;
|
||||
void setParentGroupId(const std::string &parentGroupId);
|
||||
std::string getSolutionId() const;
|
||||
void setSolutionId(const std::string &solutionId);
|
||||
|
||||
private:
|
||||
std::string groupName_;
|
||||
std::string bizType_;
|
||||
std::string parentGroupId_;
|
||||
std::string solutionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eds_user
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EDS_USER_MODEL_CREATEGROUPREQUEST_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_CREATEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_EDS_USER_MODEL_CREATEGROUPRESULT_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 CreateGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateGroupResult();
|
||||
explicit CreateGroupResult(const std::string &payload);
|
||||
~CreateGroupResult();
|
||||
std::string getGroupId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string groupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EDS_USER_MODEL_CREATEGROUPRESULT_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_DESCRIBEGROUPUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_EDS_USER_MODEL_DESCRIBEGROUPUSERREQUEST_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 DescribeGroupUserRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeGroupUserRequest();
|
||||
~DescribeGroupUserRequest();
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
std::string getBizType() const;
|
||||
void setBizType(const std::string &bizType);
|
||||
std::string getSolutionId() const;
|
||||
void setSolutionId(const std::string &solutionId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string bizType_;
|
||||
std::string solutionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eds_user
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EDS_USER_MODEL_DESCRIBEGROUPUSERREQUEST_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_DESCRIBEGROUPUSERRESULT_H_
|
||||
#define ALIBABACLOUD_EDS_USER_MODEL_DESCRIBEGROUPUSERRESULT_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 DescribeGroupUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Group
|
||||
{
|
||||
std::string groupName;
|
||||
std::string userCount;
|
||||
std::string groupId;
|
||||
};
|
||||
struct User
|
||||
{
|
||||
std::string endUserId;
|
||||
std::string email;
|
||||
std::string address;
|
||||
std::string phone;
|
||||
std::string gmtCreated;
|
||||
std::string nickName;
|
||||
std::string jobNumber;
|
||||
std::string avatar;
|
||||
std::string gmtJoinGroup;
|
||||
};
|
||||
|
||||
|
||||
DescribeGroupUserResult();
|
||||
explicit DescribeGroupUserResult(const std::string &payload);
|
||||
~DescribeGroupUserResult();
|
||||
std::vector<Group> getGroups()const;
|
||||
std::vector<User> getUsers()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Group> groups_;
|
||||
std::vector<User> users_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EDS_USER_MODEL_DESCRIBEGROUPUSERRESULT_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_DESCRIBEGROUPSREQUEST_H_
|
||||
#define ALIBABACLOUD_EDS_USER_MODEL_DESCRIBEGROUPSREQUEST_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 DescribeGroupsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeGroupsRequest();
|
||||
~DescribeGroupsRequest();
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
std::string getGroupName() const;
|
||||
void setGroupName(const std::string &groupName);
|
||||
std::string getBizType() const;
|
||||
void setBizType(const std::string &bizType);
|
||||
std::string getSolutionId() const;
|
||||
void setSolutionId(const std::string &solutionId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string groupName_;
|
||||
std::string bizType_;
|
||||
std::string solutionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eds_user
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EDS_USER_MODEL_DESCRIBEGROUPSREQUEST_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_DESCRIBEGROUPSRESULT_H_
|
||||
#define ALIBABACLOUD_EDS_USER_MODEL_DESCRIBEGROUPSRESULT_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 DescribeGroupsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Group
|
||||
{
|
||||
std::string groupName;
|
||||
std::string groupId;
|
||||
};
|
||||
|
||||
|
||||
DescribeGroupsResult();
|
||||
explicit DescribeGroupsResult(const std::string &payload);
|
||||
~DescribeGroupsResult();
|
||||
std::vector<Group> getGroups()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Group> groups_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EDS_USER_MODEL_DESCRIBEGROUPSRESULT_H_
|
||||
@@ -42,6 +42,14 @@ namespace AlibabaCloud
|
||||
};
|
||||
struct Timer
|
||||
{
|
||||
std::string timerStatus;
|
||||
std::string id;
|
||||
std::string bindStatus;
|
||||
std::string name;
|
||||
};
|
||||
struct AppRule
|
||||
{
|
||||
int type;
|
||||
std::string id;
|
||||
std::string name;
|
||||
};
|
||||
@@ -49,6 +57,7 @@ namespace AlibabaCloud
|
||||
std::string resourceGroupId;
|
||||
std::string resourceCount;
|
||||
std::string createTime;
|
||||
std::vector<ResourceGroupItem::AppRule> appRules;
|
||||
std::vector<ResourceGroupItem::Timer> timers;
|
||||
std::string resourceGroupName;
|
||||
std::string authCount;
|
||||
|
||||
@@ -56,6 +56,8 @@ public:
|
||||
void setMaxResults(long maxResults);
|
||||
std::map<std::string, ObjectOfAny> getShowExtras() const;
|
||||
void setShowExtras(const std::map<std::string, ObjectOfAny> &showExtras);
|
||||
int getStatus() const;
|
||||
void setStatus(int status);
|
||||
|
||||
private:
|
||||
bool isQueryAllSubOrgs_;
|
||||
@@ -71,6 +73,7 @@ private:
|
||||
std::string bizType_;
|
||||
long maxResults_;
|
||||
std::map<std::string, ObjectOfAny> showExtras_;
|
||||
int status_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eds_user
|
||||
|
||||
@@ -46,6 +46,7 @@ namespace AlibabaCloud
|
||||
struct Org
|
||||
{
|
||||
std::string orgId;
|
||||
std::string orgNamePath;
|
||||
std::string orgName;
|
||||
};
|
||||
struct Property
|
||||
|
||||
@@ -56,6 +56,7 @@ namespace AlibabaCloud
|
||||
struct OrgListItem
|
||||
{
|
||||
std::string orgId;
|
||||
std::string orgNamePath;
|
||||
std::string orgName;
|
||||
};
|
||||
struct IdpInfo
|
||||
|
||||
@@ -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_MODIFYGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_EDS_USER_MODEL_MODIFYGROUPREQUEST_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 ModifyGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyGroupRequest();
|
||||
~ModifyGroupRequest();
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
std::string getNewGroupName() const;
|
||||
void setNewGroupName(const std::string &newGroupName);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string newGroupName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eds_user
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EDS_USER_MODEL_MODIFYGROUPREQUEST_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_MODIFYGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_EDS_USER_MODEL_MODIFYGROUPRESULT_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 ModifyGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyGroupResult();
|
||||
explicit ModifyGroupResult(const std::string &payload);
|
||||
~ModifyGroupResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EDS_USER_MODEL_MODIFYGROUPRESULT_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_MOVEUSERORGREQUEST_H_
|
||||
#define ALIBABACLOUD_EDS_USER_MODEL_MOVEUSERORGREQUEST_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 MoveUserOrgRequest : public RpcServiceRequest {
|
||||
public:
|
||||
MoveUserOrgRequest();
|
||||
~MoveUserOrgRequest();
|
||||
std::vector<std::string> getEndUserIds() const;
|
||||
void setEndUserIds(const std::vector<std::string> &endUserIds);
|
||||
std::string getOrgId() const;
|
||||
void setOrgId(const std::string &orgId);
|
||||
|
||||
private:
|
||||
std::vector<std::string> endUserIds_;
|
||||
std::string orgId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eds_user
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EDS_USER_MODEL_MOVEUSERORGREQUEST_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_MOVEUSERORGRESULT_H_
|
||||
#define ALIBABACLOUD_EDS_USER_MODEL_MOVEUSERORGRESULT_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 MoveUserOrgResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
MoveUserOrgResult();
|
||||
explicit MoveUserOrgResult(const std::string &payload);
|
||||
~MoveUserOrgResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EDS_USER_MODEL_MOVEUSERORGRESULT_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_REMOVEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_EDS_USER_MODEL_REMOVEGROUPREQUEST_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 RemoveGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
RemoveGroupRequest();
|
||||
~RemoveGroupRequest();
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eds_user
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EDS_USER_MODEL_REMOVEGROUPREQUEST_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_REMOVEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_EDS_USER_MODEL_REMOVEGROUPRESULT_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 RemoveGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RemoveGroupResult();
|
||||
explicit RemoveGroupResult(const std::string &payload);
|
||||
~RemoveGroupResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EDS_USER_MODEL_REMOVEGROUPRESULT_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_USERBATCHJOINGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_EDS_USER_MODEL_USERBATCHJOINGROUPREQUEST_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 UserBatchJoinGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UserBatchJoinGroupRequest();
|
||||
~UserBatchJoinGroupRequest();
|
||||
std::vector<std::string> getEndUserIds() const;
|
||||
void setEndUserIds(const std::vector<std::string> &endUserIds);
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
|
||||
private:
|
||||
std::vector<std::string> endUserIds_;
|
||||
std::string groupId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eds_user
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EDS_USER_MODEL_USERBATCHJOINGROUPREQUEST_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_USERBATCHJOINGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_EDS_USER_MODEL_USERBATCHJOINGROUPRESULT_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 UserBatchJoinGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UserBatchJoinGroupResult();
|
||||
explicit UserBatchJoinGroupResult(const std::string &payload);
|
||||
~UserBatchJoinGroupResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EDS_USER_MODEL_USERBATCHJOINGROUPRESULT_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_USERBATCHQUITGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_EDS_USER_MODEL_USERBATCHQUITGROUPREQUEST_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 UserBatchQuitGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UserBatchQuitGroupRequest();
|
||||
~UserBatchQuitGroupRequest();
|
||||
std::vector<std::string> getEndUserIds() const;
|
||||
void setEndUserIds(const std::vector<std::string> &endUserIds);
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
|
||||
private:
|
||||
std::vector<std::string> endUserIds_;
|
||||
std::string groupId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eds_user
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EDS_USER_MODEL_USERBATCHQUITGROUPREQUEST_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_USERBATCHQUITGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_EDS_USER_MODEL_USERBATCHQUITGROUPRESULT_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 UserBatchQuitGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UserBatchQuitGroupResult();
|
||||
explicit UserBatchQuitGroupResult(const std::string &payload);
|
||||
~UserBatchQuitGroupResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EDS_USER_MODEL_USERBATCHQUITGROUPRESULT_H_
|
||||
@@ -195,6 +195,42 @@ Eds_userClient::CheckUsedPropertyValueOutcomeCallable Eds_userClient::checkUsedP
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Eds_userClient::CreateGroupOutcome Eds_userClient::createGroup(const CreateGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateGroupOutcome(CreateGroupResult(outcome.result()));
|
||||
else
|
||||
return CreateGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Eds_userClient::createGroupAsync(const CreateGroupRequest& request, const CreateGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Eds_userClient::CreateGroupOutcomeCallable Eds_userClient::createGroupCallable(const CreateGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Eds_userClient::CreateOrgOutcome Eds_userClient::createOrg(const CreateOrgRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -411,6 +447,78 @@ Eds_userClient::DeleteUserPropertyValueOutcomeCallable Eds_userClient::deleteUse
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Eds_userClient::DescribeGroupUserOutcome Eds_userClient::describeGroupUser(const DescribeGroupUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeGroupUserOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeGroupUserOutcome(DescribeGroupUserResult(outcome.result()));
|
||||
else
|
||||
return DescribeGroupUserOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Eds_userClient::describeGroupUserAsync(const DescribeGroupUserRequest& request, const DescribeGroupUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeGroupUser(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Eds_userClient::DescribeGroupUserOutcomeCallable Eds_userClient::describeGroupUserCallable(const DescribeGroupUserRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeGroupUserOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeGroupUser(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Eds_userClient::DescribeGroupsOutcome Eds_userClient::describeGroups(const DescribeGroupsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeGroupsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeGroupsOutcome(DescribeGroupsResult(outcome.result()));
|
||||
else
|
||||
return DescribeGroupsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Eds_userClient::describeGroupsAsync(const DescribeGroupsRequest& request, const DescribeGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeGroups(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Eds_userClient::DescribeGroupsOutcomeCallable Eds_userClient::describeGroupsCallable(const DescribeGroupsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeGroupsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeGroups(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Eds_userClient::DescribeMfaDevicesOutcome Eds_userClient::describeMfaDevices(const DescribeMfaDevicesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -843,6 +951,42 @@ Eds_userClient::LockUsersOutcomeCallable Eds_userClient::lockUsersCallable(const
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Eds_userClient::ModifyGroupOutcome Eds_userClient::modifyGroup(const ModifyGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyGroupOutcome(ModifyGroupResult(outcome.result()));
|
||||
else
|
||||
return ModifyGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Eds_userClient::modifyGroupAsync(const ModifyGroupRequest& request, const ModifyGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Eds_userClient::ModifyGroupOutcomeCallable Eds_userClient::modifyGroupCallable(const ModifyGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Eds_userClient::ModifyOrgOutcome Eds_userClient::modifyOrg(const ModifyOrgRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -951,6 +1095,42 @@ Eds_userClient::MoveOrgOutcomeCallable Eds_userClient::moveOrgCallable(const Mov
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Eds_userClient::MoveUserOrgOutcome Eds_userClient::moveUserOrg(const MoveUserOrgRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return MoveUserOrgOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return MoveUserOrgOutcome(MoveUserOrgResult(outcome.result()));
|
||||
else
|
||||
return MoveUserOrgOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Eds_userClient::moveUserOrgAsync(const MoveUserOrgRequest& request, const MoveUserOrgAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, moveUserOrg(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Eds_userClient::MoveUserOrgOutcomeCallable Eds_userClient::moveUserOrgCallable(const MoveUserOrgRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<MoveUserOrgOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->moveUserOrg(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Eds_userClient::QuerySyncStatusByAliUidOutcome Eds_userClient::querySyncStatusByAliUid(const QuerySyncStatusByAliUidRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -987,6 +1167,42 @@ Eds_userClient::QuerySyncStatusByAliUidOutcomeCallable Eds_userClient::querySync
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Eds_userClient::RemoveGroupOutcome Eds_userClient::removeGroup(const RemoveGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RemoveGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RemoveGroupOutcome(RemoveGroupResult(outcome.result()));
|
||||
else
|
||||
return RemoveGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Eds_userClient::removeGroupAsync(const RemoveGroupRequest& request, const RemoveGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, removeGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Eds_userClient::RemoveGroupOutcomeCallable Eds_userClient::removeGroupCallable(const RemoveGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RemoveGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->removeGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Eds_userClient::RemoveMfaDeviceOutcome Eds_userClient::removeMfaDevice(const RemoveMfaDeviceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1347,3 +1563,75 @@ Eds_userClient::UpdatePropertyOutcomeCallable Eds_userClient::updatePropertyCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Eds_userClient::UserBatchJoinGroupOutcome Eds_userClient::userBatchJoinGroup(const UserBatchJoinGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UserBatchJoinGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UserBatchJoinGroupOutcome(UserBatchJoinGroupResult(outcome.result()));
|
||||
else
|
||||
return UserBatchJoinGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Eds_userClient::userBatchJoinGroupAsync(const UserBatchJoinGroupRequest& request, const UserBatchJoinGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, userBatchJoinGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Eds_userClient::UserBatchJoinGroupOutcomeCallable Eds_userClient::userBatchJoinGroupCallable(const UserBatchJoinGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UserBatchJoinGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->userBatchJoinGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Eds_userClient::UserBatchQuitGroupOutcome Eds_userClient::userBatchQuitGroup(const UserBatchQuitGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UserBatchQuitGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UserBatchQuitGroupOutcome(UserBatchQuitGroupResult(outcome.result()));
|
||||
else
|
||||
return UserBatchQuitGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Eds_userClient::userBatchQuitGroupAsync(const UserBatchQuitGroupRequest& request, const UserBatchQuitGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, userBatchQuitGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Eds_userClient::UserBatchQuitGroupOutcomeCallable Eds_userClient::userBatchQuitGroupCallable(const UserBatchQuitGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UserBatchQuitGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->userBatchQuitGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
63
eds-user/src/model/CreateGroupRequest.cc
Normal file
63
eds-user/src/model/CreateGroupRequest.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/CreateGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Eds_user::Model::CreateGroupRequest;
|
||||
|
||||
CreateGroupRequest::CreateGroupRequest()
|
||||
: RpcServiceRequest("eds-user", "2021-03-08", "CreateGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateGroupRequest::~CreateGroupRequest() {}
|
||||
|
||||
std::string CreateGroupRequest::getGroupName() const {
|
||||
return groupName_;
|
||||
}
|
||||
|
||||
void CreateGroupRequest::setGroupName(const std::string &groupName) {
|
||||
groupName_ = groupName;
|
||||
setParameter(std::string("GroupName"), groupName);
|
||||
}
|
||||
|
||||
std::string CreateGroupRequest::getBizType() const {
|
||||
return bizType_;
|
||||
}
|
||||
|
||||
void CreateGroupRequest::setBizType(const std::string &bizType) {
|
||||
bizType_ = bizType;
|
||||
setParameter(std::string("BizType"), bizType);
|
||||
}
|
||||
|
||||
std::string CreateGroupRequest::getParentGroupId() const {
|
||||
return parentGroupId_;
|
||||
}
|
||||
|
||||
void CreateGroupRequest::setParentGroupId(const std::string &parentGroupId) {
|
||||
parentGroupId_ = parentGroupId;
|
||||
setParameter(std::string("ParentGroupId"), parentGroupId);
|
||||
}
|
||||
|
||||
std::string CreateGroupRequest::getSolutionId() const {
|
||||
return solutionId_;
|
||||
}
|
||||
|
||||
void CreateGroupRequest::setSolutionId(const std::string &solutionId) {
|
||||
solutionId_ = solutionId;
|
||||
setParameter(std::string("SolutionId"), solutionId);
|
||||
}
|
||||
|
||||
51
eds-user/src/model/CreateGroupResult.cc
Normal file
51
eds-user/src/model/CreateGroupResult.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/CreateGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eds_user;
|
||||
using namespace AlibabaCloud::Eds_user::Model;
|
||||
|
||||
CreateGroupResult::CreateGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateGroupResult::CreateGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateGroupResult::~CreateGroupResult()
|
||||
{}
|
||||
|
||||
void CreateGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["GroupId"].isNull())
|
||||
groupId_ = value["GroupId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateGroupResult::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
54
eds-user/src/model/DescribeGroupUserRequest.cc
Normal file
54
eds-user/src/model/DescribeGroupUserRequest.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/DescribeGroupUserRequest.h>
|
||||
|
||||
using AlibabaCloud::Eds_user::Model::DescribeGroupUserRequest;
|
||||
|
||||
DescribeGroupUserRequest::DescribeGroupUserRequest()
|
||||
: RpcServiceRequest("eds-user", "2021-03-08", "DescribeGroupUser") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeGroupUserRequest::~DescribeGroupUserRequest() {}
|
||||
|
||||
std::string DescribeGroupUserRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void DescribeGroupUserRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
std::string DescribeGroupUserRequest::getBizType() const {
|
||||
return bizType_;
|
||||
}
|
||||
|
||||
void DescribeGroupUserRequest::setBizType(const std::string &bizType) {
|
||||
bizType_ = bizType;
|
||||
setParameter(std::string("BizType"), bizType);
|
||||
}
|
||||
|
||||
std::string DescribeGroupUserRequest::getSolutionId() const {
|
||||
return solutionId_;
|
||||
}
|
||||
|
||||
void DescribeGroupUserRequest::setSolutionId(const std::string &solutionId) {
|
||||
solutionId_ = solutionId;
|
||||
setParameter(std::string("SolutionId"), solutionId);
|
||||
}
|
||||
|
||||
90
eds-user/src/model/DescribeGroupUserResult.cc
Normal file
90
eds-user/src/model/DescribeGroupUserResult.cc
Normal file
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eds-user/model/DescribeGroupUserResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eds_user;
|
||||
using namespace AlibabaCloud::Eds_user::Model;
|
||||
|
||||
DescribeGroupUserResult::DescribeGroupUserResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeGroupUserResult::DescribeGroupUserResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeGroupUserResult::~DescribeGroupUserResult()
|
||||
{}
|
||||
|
||||
void DescribeGroupUserResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allGroupsNode = value["Groups"]["group"];
|
||||
for (auto valueGroupsgroup : allGroupsNode)
|
||||
{
|
||||
Group groupsObject;
|
||||
if(!valueGroupsgroup["GroupName"].isNull())
|
||||
groupsObject.groupName = valueGroupsgroup["GroupName"].asString();
|
||||
if(!valueGroupsgroup["GroupId"].isNull())
|
||||
groupsObject.groupId = valueGroupsgroup["GroupId"].asString();
|
||||
if(!valueGroupsgroup["UserCount"].isNull())
|
||||
groupsObject.userCount = valueGroupsgroup["UserCount"].asString();
|
||||
groups_.push_back(groupsObject);
|
||||
}
|
||||
auto allUsersNode = value["Users"]["user"];
|
||||
for (auto valueUsersuser : allUsersNode)
|
||||
{
|
||||
User usersObject;
|
||||
if(!valueUsersuser["EndUserId"].isNull())
|
||||
usersObject.endUserId = valueUsersuser["EndUserId"].asString();
|
||||
if(!valueUsersuser["Avatar"].isNull())
|
||||
usersObject.avatar = valueUsersuser["Avatar"].asString();
|
||||
if(!valueUsersuser["Address"].isNull())
|
||||
usersObject.address = valueUsersuser["Address"].asString();
|
||||
if(!valueUsersuser["Phone"].isNull())
|
||||
usersObject.phone = valueUsersuser["Phone"].asString();
|
||||
if(!valueUsersuser["Email"].isNull())
|
||||
usersObject.email = valueUsersuser["Email"].asString();
|
||||
if(!valueUsersuser["NickName"].isNull())
|
||||
usersObject.nickName = valueUsersuser["NickName"].asString();
|
||||
if(!valueUsersuser["JobNumber"].isNull())
|
||||
usersObject.jobNumber = valueUsersuser["JobNumber"].asString();
|
||||
if(!valueUsersuser["GmtJoinGroup"].isNull())
|
||||
usersObject.gmtJoinGroup = valueUsersuser["GmtJoinGroup"].asString();
|
||||
if(!valueUsersuser["GmtCreated"].isNull())
|
||||
usersObject.gmtCreated = valueUsersuser["GmtCreated"].asString();
|
||||
users_.push_back(usersObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeGroupUserResult::Group> DescribeGroupUserResult::getGroups()const
|
||||
{
|
||||
return groups_;
|
||||
}
|
||||
|
||||
std::vector<DescribeGroupUserResult::User> DescribeGroupUserResult::getUsers()const
|
||||
{
|
||||
return users_;
|
||||
}
|
||||
|
||||
63
eds-user/src/model/DescribeGroupsRequest.cc
Normal file
63
eds-user/src/model/DescribeGroupsRequest.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/DescribeGroupsRequest.h>
|
||||
|
||||
using AlibabaCloud::Eds_user::Model::DescribeGroupsRequest;
|
||||
|
||||
DescribeGroupsRequest::DescribeGroupsRequest()
|
||||
: RpcServiceRequest("eds-user", "2021-03-08", "DescribeGroups") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeGroupsRequest::~DescribeGroupsRequest() {}
|
||||
|
||||
std::string DescribeGroupsRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void DescribeGroupsRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
std::string DescribeGroupsRequest::getGroupName() const {
|
||||
return groupName_;
|
||||
}
|
||||
|
||||
void DescribeGroupsRequest::setGroupName(const std::string &groupName) {
|
||||
groupName_ = groupName;
|
||||
setParameter(std::string("GroupName"), groupName);
|
||||
}
|
||||
|
||||
std::string DescribeGroupsRequest::getBizType() const {
|
||||
return bizType_;
|
||||
}
|
||||
|
||||
void DescribeGroupsRequest::setBizType(const std::string &bizType) {
|
||||
bizType_ = bizType;
|
||||
setParameter(std::string("BizType"), bizType);
|
||||
}
|
||||
|
||||
std::string DescribeGroupsRequest::getSolutionId() const {
|
||||
return solutionId_;
|
||||
}
|
||||
|
||||
void DescribeGroupsRequest::setSolutionId(const std::string &solutionId) {
|
||||
solutionId_ = solutionId;
|
||||
setParameter(std::string("SolutionId"), solutionId);
|
||||
}
|
||||
|
||||
59
eds-user/src/model/DescribeGroupsResult.cc
Normal file
59
eds-user/src/model/DescribeGroupsResult.cc
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eds-user/model/DescribeGroupsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eds_user;
|
||||
using namespace AlibabaCloud::Eds_user::Model;
|
||||
|
||||
DescribeGroupsResult::DescribeGroupsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeGroupsResult::DescribeGroupsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeGroupsResult::~DescribeGroupsResult()
|
||||
{}
|
||||
|
||||
void DescribeGroupsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allGroupsNode = value["Groups"]["group"];
|
||||
for (auto valueGroupsgroup : allGroupsNode)
|
||||
{
|
||||
Group groupsObject;
|
||||
if(!valueGroupsgroup["GroupName"].isNull())
|
||||
groupsObject.groupName = valueGroupsgroup["GroupName"].asString();
|
||||
if(!valueGroupsgroup["GroupId"].isNull())
|
||||
groupsObject.groupId = valueGroupsgroup["GroupId"].asString();
|
||||
groups_.push_back(groupsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeGroupsResult::Group> DescribeGroupsResult::getGroups()const
|
||||
{
|
||||
return groups_;
|
||||
}
|
||||
|
||||
@@ -73,8 +73,24 @@ void DescribeResourceGroupsResult::parse(const std::string &payload)
|
||||
timersObject.id = valueResourceGroupResourceGroupItemTimersTimer["Id"].asString();
|
||||
if(!valueResourceGroupResourceGroupItemTimersTimer["Name"].isNull())
|
||||
timersObject.name = valueResourceGroupResourceGroupItemTimersTimer["Name"].asString();
|
||||
if(!valueResourceGroupResourceGroupItemTimersTimer["TimerStatus"].isNull())
|
||||
timersObject.timerStatus = valueResourceGroupResourceGroupItemTimersTimer["TimerStatus"].asString();
|
||||
if(!valueResourceGroupResourceGroupItemTimersTimer["BindStatus"].isNull())
|
||||
timersObject.bindStatus = valueResourceGroupResourceGroupItemTimersTimer["BindStatus"].asString();
|
||||
resourceGroupObject.timers.push_back(timersObject);
|
||||
}
|
||||
auto allAppRulesNode = valueResourceGroupResourceGroupItem["AppRules"]["AppRule"];
|
||||
for (auto valueResourceGroupResourceGroupItemAppRulesAppRule : allAppRulesNode)
|
||||
{
|
||||
ResourceGroupItem::AppRule appRulesObject;
|
||||
if(!valueResourceGroupResourceGroupItemAppRulesAppRule["Id"].isNull())
|
||||
appRulesObject.id = valueResourceGroupResourceGroupItemAppRulesAppRule["Id"].asString();
|
||||
if(!valueResourceGroupResourceGroupItemAppRulesAppRule["Name"].isNull())
|
||||
appRulesObject.name = valueResourceGroupResourceGroupItemAppRulesAppRule["Name"].asString();
|
||||
if(!valueResourceGroupResourceGroupItemAppRulesAppRule["Type"].isNull())
|
||||
appRulesObject.type = std::stoi(valueResourceGroupResourceGroupItemAppRulesAppRule["Type"].asString());
|
||||
resourceGroupObject.appRules.push_back(appRulesObject);
|
||||
}
|
||||
resourceGroup_.push_back(resourceGroupObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
|
||||
@@ -146,3 +146,12 @@ void DescribeUsersRequest::setShowExtras(const std::map<std::string, ObjectOfAny
|
||||
}
|
||||
}
|
||||
|
||||
int DescribeUsersRequest::getStatus() const {
|
||||
return status_;
|
||||
}
|
||||
|
||||
void DescribeUsersRequest::setStatus(int status) {
|
||||
status_ = status;
|
||||
setParameter(std::string("Status"), std::to_string(status));
|
||||
}
|
||||
|
||||
|
||||
@@ -93,6 +93,8 @@ void DescribeUsersResult::parse(const std::string &payload)
|
||||
orgsObject.orgId = valueUsersdataOrgsorg["OrgId"].asString();
|
||||
if(!valueUsersdataOrgsorg["OrgName"].isNull())
|
||||
orgsObject.orgName = valueUsersdataOrgsorg["OrgName"].asString();
|
||||
if(!valueUsersdataOrgsorg["OrgNamePath"].isNull())
|
||||
orgsObject.orgNamePath = valueUsersdataOrgsorg["OrgNamePath"].asString();
|
||||
usersObject.orgs.push_back(orgsObject);
|
||||
}
|
||||
auto allPropertiesNode = valueUsersdata["Properties"]["Property"];
|
||||
|
||||
@@ -107,6 +107,8 @@ void FilterUsersResult::parse(const std::string &payload)
|
||||
orgListObject.orgId = valueUsersdataOrgListorgListItem["OrgId"].asString();
|
||||
if(!valueUsersdataOrgListorgListItem["OrgName"].isNull())
|
||||
orgListObject.orgName = valueUsersdataOrgListorgListItem["OrgName"].asString();
|
||||
if(!valueUsersdataOrgListorgListItem["OrgNamePath"].isNull())
|
||||
orgListObject.orgNamePath = valueUsersdataOrgListorgListItem["OrgNamePath"].asString();
|
||||
usersObject.orgList.push_back(orgListObject);
|
||||
}
|
||||
auto allSupportLoginIdpsNode = valueUsersdata["SupportLoginIdps"]["IdpInfo"];
|
||||
|
||||
45
eds-user/src/model/ModifyGroupRequest.cc
Normal file
45
eds-user/src/model/ModifyGroupRequest.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/ModifyGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Eds_user::Model::ModifyGroupRequest;
|
||||
|
||||
ModifyGroupRequest::ModifyGroupRequest()
|
||||
: RpcServiceRequest("eds-user", "2021-03-08", "ModifyGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyGroupRequest::~ModifyGroupRequest() {}
|
||||
|
||||
std::string ModifyGroupRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void ModifyGroupRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
std::string ModifyGroupRequest::getNewGroupName() const {
|
||||
return newGroupName_;
|
||||
}
|
||||
|
||||
void ModifyGroupRequest::setNewGroupName(const std::string &newGroupName) {
|
||||
newGroupName_ = newGroupName;
|
||||
setParameter(std::string("NewGroupName"), newGroupName);
|
||||
}
|
||||
|
||||
44
eds-user/src/model/ModifyGroupResult.cc
Normal file
44
eds-user/src/model/ModifyGroupResult.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/ModifyGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eds_user;
|
||||
using namespace AlibabaCloud::Eds_user::Model;
|
||||
|
||||
ModifyGroupResult::ModifyGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyGroupResult::ModifyGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyGroupResult::~ModifyGroupResult()
|
||||
{}
|
||||
|
||||
void ModifyGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
44
eds-user/src/model/MoveUserOrgRequest.cc
Normal file
44
eds-user/src/model/MoveUserOrgRequest.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/MoveUserOrgRequest.h>
|
||||
|
||||
using AlibabaCloud::Eds_user::Model::MoveUserOrgRequest;
|
||||
|
||||
MoveUserOrgRequest::MoveUserOrgRequest()
|
||||
: RpcServiceRequest("eds-user", "2021-03-08", "MoveUserOrg") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
MoveUserOrgRequest::~MoveUserOrgRequest() {}
|
||||
|
||||
std::vector<std::string> MoveUserOrgRequest::getEndUserIds() const {
|
||||
return endUserIds_;
|
||||
}
|
||||
|
||||
void MoveUserOrgRequest::setEndUserIds(const std::vector<std::string> &endUserIds) {
|
||||
endUserIds_ = endUserIds;
|
||||
}
|
||||
|
||||
std::string MoveUserOrgRequest::getOrgId() const {
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void MoveUserOrgRequest::setOrgId(const std::string &orgId) {
|
||||
orgId_ = orgId;
|
||||
setBodyParameter(std::string("OrgId"), orgId);
|
||||
}
|
||||
|
||||
44
eds-user/src/model/MoveUserOrgResult.cc
Normal file
44
eds-user/src/model/MoveUserOrgResult.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/MoveUserOrgResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eds_user;
|
||||
using namespace AlibabaCloud::Eds_user::Model;
|
||||
|
||||
MoveUserOrgResult::MoveUserOrgResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
MoveUserOrgResult::MoveUserOrgResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
MoveUserOrgResult::~MoveUserOrgResult()
|
||||
{}
|
||||
|
||||
void MoveUserOrgResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
36
eds-user/src/model/RemoveGroupRequest.cc
Normal file
36
eds-user/src/model/RemoveGroupRequest.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/RemoveGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Eds_user::Model::RemoveGroupRequest;
|
||||
|
||||
RemoveGroupRequest::RemoveGroupRequest()
|
||||
: RpcServiceRequest("eds-user", "2021-03-08", "RemoveGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RemoveGroupRequest::~RemoveGroupRequest() {}
|
||||
|
||||
std::string RemoveGroupRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void RemoveGroupRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
44
eds-user/src/model/RemoveGroupResult.cc
Normal file
44
eds-user/src/model/RemoveGroupResult.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/RemoveGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eds_user;
|
||||
using namespace AlibabaCloud::Eds_user::Model;
|
||||
|
||||
RemoveGroupResult::RemoveGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RemoveGroupResult::RemoveGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RemoveGroupResult::~RemoveGroupResult()
|
||||
{}
|
||||
|
||||
void RemoveGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
44
eds-user/src/model/UserBatchJoinGroupRequest.cc
Normal file
44
eds-user/src/model/UserBatchJoinGroupRequest.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/UserBatchJoinGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Eds_user::Model::UserBatchJoinGroupRequest;
|
||||
|
||||
UserBatchJoinGroupRequest::UserBatchJoinGroupRequest()
|
||||
: RpcServiceRequest("eds-user", "2021-03-08", "UserBatchJoinGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UserBatchJoinGroupRequest::~UserBatchJoinGroupRequest() {}
|
||||
|
||||
std::vector<std::string> UserBatchJoinGroupRequest::getEndUserIds() const {
|
||||
return endUserIds_;
|
||||
}
|
||||
|
||||
void UserBatchJoinGroupRequest::setEndUserIds(const std::vector<std::string> &endUserIds) {
|
||||
endUserIds_ = endUserIds;
|
||||
}
|
||||
|
||||
std::string UserBatchJoinGroupRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void UserBatchJoinGroupRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setBodyParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
44
eds-user/src/model/UserBatchJoinGroupResult.cc
Normal file
44
eds-user/src/model/UserBatchJoinGroupResult.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/UserBatchJoinGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eds_user;
|
||||
using namespace AlibabaCloud::Eds_user::Model;
|
||||
|
||||
UserBatchJoinGroupResult::UserBatchJoinGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UserBatchJoinGroupResult::UserBatchJoinGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UserBatchJoinGroupResult::~UserBatchJoinGroupResult()
|
||||
{}
|
||||
|
||||
void UserBatchJoinGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
44
eds-user/src/model/UserBatchQuitGroupRequest.cc
Normal file
44
eds-user/src/model/UserBatchQuitGroupRequest.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/UserBatchQuitGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Eds_user::Model::UserBatchQuitGroupRequest;
|
||||
|
||||
UserBatchQuitGroupRequest::UserBatchQuitGroupRequest()
|
||||
: RpcServiceRequest("eds-user", "2021-03-08", "UserBatchQuitGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UserBatchQuitGroupRequest::~UserBatchQuitGroupRequest() {}
|
||||
|
||||
std::vector<std::string> UserBatchQuitGroupRequest::getEndUserIds() const {
|
||||
return endUserIds_;
|
||||
}
|
||||
|
||||
void UserBatchQuitGroupRequest::setEndUserIds(const std::vector<std::string> &endUserIds) {
|
||||
endUserIds_ = endUserIds;
|
||||
}
|
||||
|
||||
std::string UserBatchQuitGroupRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void UserBatchQuitGroupRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setBodyParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
44
eds-user/src/model/UserBatchQuitGroupResult.cc
Normal file
44
eds-user/src/model/UserBatchQuitGroupResult.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/UserBatchQuitGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eds_user;
|
||||
using namespace AlibabaCloud::Eds_user::Model;
|
||||
|
||||
UserBatchQuitGroupResult::UserBatchQuitGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UserBatchQuitGroupResult::UserBatchQuitGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UserBatchQuitGroupResult::~UserBatchQuitGroupResult()
|
||||
{}
|
||||
|
||||
void UserBatchQuitGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user