RAM SDK Auto Released By shenshi,Version:1.34.18
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
346
ram/CMakeLists.txt
Normal file
346
ram/CMakeLists.txt
Normal file
@@ -0,0 +1,346 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||
|
||||
set(ram_public_header
|
||||
include/alibabacloud/ram/RamClient.h
|
||||
include/alibabacloud/ram/RamExport.h )
|
||||
|
||||
set(ram_public_header_model
|
||||
include/alibabacloud/ram/model/CreatePolicyRequest.h
|
||||
include/alibabacloud/ram/model/CreatePolicyResult.h
|
||||
include/alibabacloud/ram/model/ListUsersRequest.h
|
||||
include/alibabacloud/ram/model/ListUsersResult.h
|
||||
include/alibabacloud/ram/model/GetUserMFAInfoRequest.h
|
||||
include/alibabacloud/ram/model/GetUserMFAInfoResult.h
|
||||
include/alibabacloud/ram/model/UnbindMFADeviceRequest.h
|
||||
include/alibabacloud/ram/model/UnbindMFADeviceResult.h
|
||||
include/alibabacloud/ram/model/BindMFADeviceRequest.h
|
||||
include/alibabacloud/ram/model/BindMFADeviceResult.h
|
||||
include/alibabacloud/ram/model/ListPublicKeysRequest.h
|
||||
include/alibabacloud/ram/model/ListPublicKeysResult.h
|
||||
include/alibabacloud/ram/model/AttachPolicyToRoleRequest.h
|
||||
include/alibabacloud/ram/model/AttachPolicyToRoleResult.h
|
||||
include/alibabacloud/ram/model/AddUserToGroupRequest.h
|
||||
include/alibabacloud/ram/model/AddUserToGroupResult.h
|
||||
include/alibabacloud/ram/model/GetAccountAliasRequest.h
|
||||
include/alibabacloud/ram/model/GetAccountAliasResult.h
|
||||
include/alibabacloud/ram/model/GetLoginProfileRequest.h
|
||||
include/alibabacloud/ram/model/GetLoginProfileResult.h
|
||||
include/alibabacloud/ram/model/ListEntitiesForPolicyRequest.h
|
||||
include/alibabacloud/ram/model/ListEntitiesForPolicyResult.h
|
||||
include/alibabacloud/ram/model/SetSecurityPreferenceRequest.h
|
||||
include/alibabacloud/ram/model/SetSecurityPreferenceResult.h
|
||||
include/alibabacloud/ram/model/ListPoliciesForUserRequest.h
|
||||
include/alibabacloud/ram/model/ListPoliciesForUserResult.h
|
||||
include/alibabacloud/ram/model/UpdateLoginProfileRequest.h
|
||||
include/alibabacloud/ram/model/UpdateLoginProfileResult.h
|
||||
include/alibabacloud/ram/model/ListUsersForGroupRequest.h
|
||||
include/alibabacloud/ram/model/ListUsersForGroupResult.h
|
||||
include/alibabacloud/ram/model/GetPolicyVersionRequest.h
|
||||
include/alibabacloud/ram/model/GetPolicyVersionResult.h
|
||||
include/alibabacloud/ram/model/DeleteRoleRequest.h
|
||||
include/alibabacloud/ram/model/DeleteRoleResult.h
|
||||
include/alibabacloud/ram/model/GetUserRequest.h
|
||||
include/alibabacloud/ram/model/GetUserResult.h
|
||||
include/alibabacloud/ram/model/DeleteVirtualMFADeviceRequest.h
|
||||
include/alibabacloud/ram/model/DeleteVirtualMFADeviceResult.h
|
||||
include/alibabacloud/ram/model/UploadPublicKeyRequest.h
|
||||
include/alibabacloud/ram/model/UploadPublicKeyResult.h
|
||||
include/alibabacloud/ram/model/DeletePolicyVersionRequest.h
|
||||
include/alibabacloud/ram/model/DeletePolicyVersionResult.h
|
||||
include/alibabacloud/ram/model/RemoveUserFromGroupRequest.h
|
||||
include/alibabacloud/ram/model/RemoveUserFromGroupResult.h
|
||||
include/alibabacloud/ram/model/GetAccessKeyLastUsedRequest.h
|
||||
include/alibabacloud/ram/model/GetAccessKeyLastUsedResult.h
|
||||
include/alibabacloud/ram/model/UpdateAccessKeyRequest.h
|
||||
include/alibabacloud/ram/model/UpdateAccessKeyResult.h
|
||||
include/alibabacloud/ram/model/GetGroupRequest.h
|
||||
include/alibabacloud/ram/model/GetGroupResult.h
|
||||
include/alibabacloud/ram/model/CreateAccessKeyRequest.h
|
||||
include/alibabacloud/ram/model/CreateAccessKeyResult.h
|
||||
include/alibabacloud/ram/model/SetAccountAliasRequest.h
|
||||
include/alibabacloud/ram/model/SetAccountAliasResult.h
|
||||
include/alibabacloud/ram/model/ListPoliciesForGroupRequest.h
|
||||
include/alibabacloud/ram/model/ListPoliciesForGroupResult.h
|
||||
include/alibabacloud/ram/model/ChangePasswordRequest.h
|
||||
include/alibabacloud/ram/model/ChangePasswordResult.h
|
||||
include/alibabacloud/ram/model/ListGroupsForUserRequest.h
|
||||
include/alibabacloud/ram/model/ListGroupsForUserResult.h
|
||||
include/alibabacloud/ram/model/AttachPolicyToUserRequest.h
|
||||
include/alibabacloud/ram/model/AttachPolicyToUserResult.h
|
||||
include/alibabacloud/ram/model/CreateVirtualMFADeviceRequest.h
|
||||
include/alibabacloud/ram/model/CreateVirtualMFADeviceResult.h
|
||||
include/alibabacloud/ram/model/ListGroupsRequest.h
|
||||
include/alibabacloud/ram/model/ListGroupsResult.h
|
||||
include/alibabacloud/ram/model/DeleteUserRequest.h
|
||||
include/alibabacloud/ram/model/DeleteUserResult.h
|
||||
include/alibabacloud/ram/model/DeletePolicyRequest.h
|
||||
include/alibabacloud/ram/model/DeletePolicyResult.h
|
||||
include/alibabacloud/ram/model/DeleteGroupRequest.h
|
||||
include/alibabacloud/ram/model/DeleteGroupResult.h
|
||||
include/alibabacloud/ram/model/ClearAccountAliasRequest.h
|
||||
include/alibabacloud/ram/model/ClearAccountAliasResult.h
|
||||
include/alibabacloud/ram/model/UpdateRoleRequest.h
|
||||
include/alibabacloud/ram/model/UpdateRoleResult.h
|
||||
include/alibabacloud/ram/model/ListPoliciesRequest.h
|
||||
include/alibabacloud/ram/model/ListPoliciesResult.h
|
||||
include/alibabacloud/ram/model/AttachPolicyToGroupRequest.h
|
||||
include/alibabacloud/ram/model/AttachPolicyToGroupResult.h
|
||||
include/alibabacloud/ram/model/GetPublicKeyRequest.h
|
||||
include/alibabacloud/ram/model/GetPublicKeyResult.h
|
||||
include/alibabacloud/ram/model/DetachPolicyFromRoleRequest.h
|
||||
include/alibabacloud/ram/model/DetachPolicyFromRoleResult.h
|
||||
include/alibabacloud/ram/model/DeletePublicKeyRequest.h
|
||||
include/alibabacloud/ram/model/DeletePublicKeyResult.h
|
||||
include/alibabacloud/ram/model/ListRolesRequest.h
|
||||
include/alibabacloud/ram/model/ListRolesResult.h
|
||||
include/alibabacloud/ram/model/SetDefaultPolicyVersionRequest.h
|
||||
include/alibabacloud/ram/model/SetDefaultPolicyVersionResult.h
|
||||
include/alibabacloud/ram/model/ListPolicyVersionsRequest.h
|
||||
include/alibabacloud/ram/model/ListPolicyVersionsResult.h
|
||||
include/alibabacloud/ram/model/CreateRoleRequest.h
|
||||
include/alibabacloud/ram/model/CreateRoleResult.h
|
||||
include/alibabacloud/ram/model/CreatePolicyVersionRequest.h
|
||||
include/alibabacloud/ram/model/CreatePolicyVersionResult.h
|
||||
include/alibabacloud/ram/model/ListPoliciesForRoleRequest.h
|
||||
include/alibabacloud/ram/model/ListPoliciesForRoleResult.h
|
||||
include/alibabacloud/ram/model/UpdatePublicKeyRequest.h
|
||||
include/alibabacloud/ram/model/UpdatePublicKeyResult.h
|
||||
include/alibabacloud/ram/model/CreateGroupRequest.h
|
||||
include/alibabacloud/ram/model/CreateGroupResult.h
|
||||
include/alibabacloud/ram/model/CreateUserRequest.h
|
||||
include/alibabacloud/ram/model/CreateUserResult.h
|
||||
include/alibabacloud/ram/model/GetPasswordPolicyRequest.h
|
||||
include/alibabacloud/ram/model/GetPasswordPolicyResult.h
|
||||
include/alibabacloud/ram/model/ListAccessKeysRequest.h
|
||||
include/alibabacloud/ram/model/ListAccessKeysResult.h
|
||||
include/alibabacloud/ram/model/DetachPolicyFromGroupRequest.h
|
||||
include/alibabacloud/ram/model/DetachPolicyFromGroupResult.h
|
||||
include/alibabacloud/ram/model/SetPasswordPolicyRequest.h
|
||||
include/alibabacloud/ram/model/SetPasswordPolicyResult.h
|
||||
include/alibabacloud/ram/model/DeleteAccessKeyRequest.h
|
||||
include/alibabacloud/ram/model/DeleteAccessKeyResult.h
|
||||
include/alibabacloud/ram/model/GetRoleRequest.h
|
||||
include/alibabacloud/ram/model/GetRoleResult.h
|
||||
include/alibabacloud/ram/model/GetSecurityPreferenceRequest.h
|
||||
include/alibabacloud/ram/model/GetSecurityPreferenceResult.h
|
||||
include/alibabacloud/ram/model/DeleteLoginProfileRequest.h
|
||||
include/alibabacloud/ram/model/DeleteLoginProfileResult.h
|
||||
include/alibabacloud/ram/model/UpdateUserRequest.h
|
||||
include/alibabacloud/ram/model/UpdateUserResult.h
|
||||
include/alibabacloud/ram/model/DetachPolicyFromUserRequest.h
|
||||
include/alibabacloud/ram/model/DetachPolicyFromUserResult.h
|
||||
include/alibabacloud/ram/model/CreateLoginProfileRequest.h
|
||||
include/alibabacloud/ram/model/CreateLoginProfileResult.h
|
||||
include/alibabacloud/ram/model/ListVirtualMFADevicesRequest.h
|
||||
include/alibabacloud/ram/model/ListVirtualMFADevicesResult.h
|
||||
include/alibabacloud/ram/model/UpdateGroupRequest.h
|
||||
include/alibabacloud/ram/model/UpdateGroupResult.h
|
||||
include/alibabacloud/ram/model/GetPolicyRequest.h
|
||||
include/alibabacloud/ram/model/GetPolicyResult.h )
|
||||
|
||||
set(ram_src
|
||||
src/RamClient.cc
|
||||
src/model/CreatePolicyRequest.cc
|
||||
src/model/CreatePolicyResult.cc
|
||||
src/model/ListUsersRequest.cc
|
||||
src/model/ListUsersResult.cc
|
||||
src/model/GetUserMFAInfoRequest.cc
|
||||
src/model/GetUserMFAInfoResult.cc
|
||||
src/model/UnbindMFADeviceRequest.cc
|
||||
src/model/UnbindMFADeviceResult.cc
|
||||
src/model/BindMFADeviceRequest.cc
|
||||
src/model/BindMFADeviceResult.cc
|
||||
src/model/ListPublicKeysRequest.cc
|
||||
src/model/ListPublicKeysResult.cc
|
||||
src/model/AttachPolicyToRoleRequest.cc
|
||||
src/model/AttachPolicyToRoleResult.cc
|
||||
src/model/AddUserToGroupRequest.cc
|
||||
src/model/AddUserToGroupResult.cc
|
||||
src/model/GetAccountAliasRequest.cc
|
||||
src/model/GetAccountAliasResult.cc
|
||||
src/model/GetLoginProfileRequest.cc
|
||||
src/model/GetLoginProfileResult.cc
|
||||
src/model/ListEntitiesForPolicyRequest.cc
|
||||
src/model/ListEntitiesForPolicyResult.cc
|
||||
src/model/SetSecurityPreferenceRequest.cc
|
||||
src/model/SetSecurityPreferenceResult.cc
|
||||
src/model/ListPoliciesForUserRequest.cc
|
||||
src/model/ListPoliciesForUserResult.cc
|
||||
src/model/UpdateLoginProfileRequest.cc
|
||||
src/model/UpdateLoginProfileResult.cc
|
||||
src/model/ListUsersForGroupRequest.cc
|
||||
src/model/ListUsersForGroupResult.cc
|
||||
src/model/GetPolicyVersionRequest.cc
|
||||
src/model/GetPolicyVersionResult.cc
|
||||
src/model/DeleteRoleRequest.cc
|
||||
src/model/DeleteRoleResult.cc
|
||||
src/model/GetUserRequest.cc
|
||||
src/model/GetUserResult.cc
|
||||
src/model/DeleteVirtualMFADeviceRequest.cc
|
||||
src/model/DeleteVirtualMFADeviceResult.cc
|
||||
src/model/UploadPublicKeyRequest.cc
|
||||
src/model/UploadPublicKeyResult.cc
|
||||
src/model/DeletePolicyVersionRequest.cc
|
||||
src/model/DeletePolicyVersionResult.cc
|
||||
src/model/RemoveUserFromGroupRequest.cc
|
||||
src/model/RemoveUserFromGroupResult.cc
|
||||
src/model/GetAccessKeyLastUsedRequest.cc
|
||||
src/model/GetAccessKeyLastUsedResult.cc
|
||||
src/model/UpdateAccessKeyRequest.cc
|
||||
src/model/UpdateAccessKeyResult.cc
|
||||
src/model/GetGroupRequest.cc
|
||||
src/model/GetGroupResult.cc
|
||||
src/model/CreateAccessKeyRequest.cc
|
||||
src/model/CreateAccessKeyResult.cc
|
||||
src/model/SetAccountAliasRequest.cc
|
||||
src/model/SetAccountAliasResult.cc
|
||||
src/model/ListPoliciesForGroupRequest.cc
|
||||
src/model/ListPoliciesForGroupResult.cc
|
||||
src/model/ChangePasswordRequest.cc
|
||||
src/model/ChangePasswordResult.cc
|
||||
src/model/ListGroupsForUserRequest.cc
|
||||
src/model/ListGroupsForUserResult.cc
|
||||
src/model/AttachPolicyToUserRequest.cc
|
||||
src/model/AttachPolicyToUserResult.cc
|
||||
src/model/CreateVirtualMFADeviceRequest.cc
|
||||
src/model/CreateVirtualMFADeviceResult.cc
|
||||
src/model/ListGroupsRequest.cc
|
||||
src/model/ListGroupsResult.cc
|
||||
src/model/DeleteUserRequest.cc
|
||||
src/model/DeleteUserResult.cc
|
||||
src/model/DeletePolicyRequest.cc
|
||||
src/model/DeletePolicyResult.cc
|
||||
src/model/DeleteGroupRequest.cc
|
||||
src/model/DeleteGroupResult.cc
|
||||
src/model/ClearAccountAliasRequest.cc
|
||||
src/model/ClearAccountAliasResult.cc
|
||||
src/model/UpdateRoleRequest.cc
|
||||
src/model/UpdateRoleResult.cc
|
||||
src/model/ListPoliciesRequest.cc
|
||||
src/model/ListPoliciesResult.cc
|
||||
src/model/AttachPolicyToGroupRequest.cc
|
||||
src/model/AttachPolicyToGroupResult.cc
|
||||
src/model/GetPublicKeyRequest.cc
|
||||
src/model/GetPublicKeyResult.cc
|
||||
src/model/DetachPolicyFromRoleRequest.cc
|
||||
src/model/DetachPolicyFromRoleResult.cc
|
||||
src/model/DeletePublicKeyRequest.cc
|
||||
src/model/DeletePublicKeyResult.cc
|
||||
src/model/ListRolesRequest.cc
|
||||
src/model/ListRolesResult.cc
|
||||
src/model/SetDefaultPolicyVersionRequest.cc
|
||||
src/model/SetDefaultPolicyVersionResult.cc
|
||||
src/model/ListPolicyVersionsRequest.cc
|
||||
src/model/ListPolicyVersionsResult.cc
|
||||
src/model/CreateRoleRequest.cc
|
||||
src/model/CreateRoleResult.cc
|
||||
src/model/CreatePolicyVersionRequest.cc
|
||||
src/model/CreatePolicyVersionResult.cc
|
||||
src/model/ListPoliciesForRoleRequest.cc
|
||||
src/model/ListPoliciesForRoleResult.cc
|
||||
src/model/UpdatePublicKeyRequest.cc
|
||||
src/model/UpdatePublicKeyResult.cc
|
||||
src/model/CreateGroupRequest.cc
|
||||
src/model/CreateGroupResult.cc
|
||||
src/model/CreateUserRequest.cc
|
||||
src/model/CreateUserResult.cc
|
||||
src/model/GetPasswordPolicyRequest.cc
|
||||
src/model/GetPasswordPolicyResult.cc
|
||||
src/model/ListAccessKeysRequest.cc
|
||||
src/model/ListAccessKeysResult.cc
|
||||
src/model/DetachPolicyFromGroupRequest.cc
|
||||
src/model/DetachPolicyFromGroupResult.cc
|
||||
src/model/SetPasswordPolicyRequest.cc
|
||||
src/model/SetPasswordPolicyResult.cc
|
||||
src/model/DeleteAccessKeyRequest.cc
|
||||
src/model/DeleteAccessKeyResult.cc
|
||||
src/model/GetRoleRequest.cc
|
||||
src/model/GetRoleResult.cc
|
||||
src/model/GetSecurityPreferenceRequest.cc
|
||||
src/model/GetSecurityPreferenceResult.cc
|
||||
src/model/DeleteLoginProfileRequest.cc
|
||||
src/model/DeleteLoginProfileResult.cc
|
||||
src/model/UpdateUserRequest.cc
|
||||
src/model/UpdateUserResult.cc
|
||||
src/model/DetachPolicyFromUserRequest.cc
|
||||
src/model/DetachPolicyFromUserResult.cc
|
||||
src/model/CreateLoginProfileRequest.cc
|
||||
src/model/CreateLoginProfileResult.cc
|
||||
src/model/ListVirtualMFADevicesRequest.cc
|
||||
src/model/ListVirtualMFADevicesResult.cc
|
||||
src/model/UpdateGroupRequest.cc
|
||||
src/model/UpdateGroupResult.cc
|
||||
src/model/GetPolicyRequest.cc
|
||||
src/model/GetPolicyResult.cc )
|
||||
|
||||
add_library(ram ${LIB_TYPE}
|
||||
${ram_public_header}
|
||||
${ram_public_header_model}
|
||||
${ram_src})
|
||||
|
||||
set_target_properties(ram
|
||||
PROPERTIES
|
||||
LINKER_LANGUAGE CXX
|
||||
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
||||
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}ram
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(ram
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_RAM_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(ram
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(ram
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(ram
|
||||
jsoncpp)
|
||||
target_include_directories(ram
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(ram
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(ram
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(ram
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(ram
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${ram_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/ram)
|
||||
install(FILES ${ram_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/ram/model)
|
||||
install(TARGETS ram
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
574
ram/include/alibabacloud/ram/RamClient.h
Normal file
574
ram/include/alibabacloud/ram/RamClient.h
Normal file
@@ -0,0 +1,574 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_RAM_RAMCLIENT_H_
|
||||
#define ALIBABACLOUD_RAM_RAMCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "RamExport.h"
|
||||
#include "model/CreatePolicyRequest.h"
|
||||
#include "model/CreatePolicyResult.h"
|
||||
#include "model/ListUsersRequest.h"
|
||||
#include "model/ListUsersResult.h"
|
||||
#include "model/GetUserMFAInfoRequest.h"
|
||||
#include "model/GetUserMFAInfoResult.h"
|
||||
#include "model/UnbindMFADeviceRequest.h"
|
||||
#include "model/UnbindMFADeviceResult.h"
|
||||
#include "model/BindMFADeviceRequest.h"
|
||||
#include "model/BindMFADeviceResult.h"
|
||||
#include "model/ListPublicKeysRequest.h"
|
||||
#include "model/ListPublicKeysResult.h"
|
||||
#include "model/AttachPolicyToRoleRequest.h"
|
||||
#include "model/AttachPolicyToRoleResult.h"
|
||||
#include "model/AddUserToGroupRequest.h"
|
||||
#include "model/AddUserToGroupResult.h"
|
||||
#include "model/GetAccountAliasRequest.h"
|
||||
#include "model/GetAccountAliasResult.h"
|
||||
#include "model/GetLoginProfileRequest.h"
|
||||
#include "model/GetLoginProfileResult.h"
|
||||
#include "model/ListEntitiesForPolicyRequest.h"
|
||||
#include "model/ListEntitiesForPolicyResult.h"
|
||||
#include "model/SetSecurityPreferenceRequest.h"
|
||||
#include "model/SetSecurityPreferenceResult.h"
|
||||
#include "model/ListPoliciesForUserRequest.h"
|
||||
#include "model/ListPoliciesForUserResult.h"
|
||||
#include "model/UpdateLoginProfileRequest.h"
|
||||
#include "model/UpdateLoginProfileResult.h"
|
||||
#include "model/ListUsersForGroupRequest.h"
|
||||
#include "model/ListUsersForGroupResult.h"
|
||||
#include "model/GetPolicyVersionRequest.h"
|
||||
#include "model/GetPolicyVersionResult.h"
|
||||
#include "model/DeleteRoleRequest.h"
|
||||
#include "model/DeleteRoleResult.h"
|
||||
#include "model/GetUserRequest.h"
|
||||
#include "model/GetUserResult.h"
|
||||
#include "model/DeleteVirtualMFADeviceRequest.h"
|
||||
#include "model/DeleteVirtualMFADeviceResult.h"
|
||||
#include "model/UploadPublicKeyRequest.h"
|
||||
#include "model/UploadPublicKeyResult.h"
|
||||
#include "model/DeletePolicyVersionRequest.h"
|
||||
#include "model/DeletePolicyVersionResult.h"
|
||||
#include "model/RemoveUserFromGroupRequest.h"
|
||||
#include "model/RemoveUserFromGroupResult.h"
|
||||
#include "model/GetAccessKeyLastUsedRequest.h"
|
||||
#include "model/GetAccessKeyLastUsedResult.h"
|
||||
#include "model/UpdateAccessKeyRequest.h"
|
||||
#include "model/UpdateAccessKeyResult.h"
|
||||
#include "model/GetGroupRequest.h"
|
||||
#include "model/GetGroupResult.h"
|
||||
#include "model/CreateAccessKeyRequest.h"
|
||||
#include "model/CreateAccessKeyResult.h"
|
||||
#include "model/SetAccountAliasRequest.h"
|
||||
#include "model/SetAccountAliasResult.h"
|
||||
#include "model/ListPoliciesForGroupRequest.h"
|
||||
#include "model/ListPoliciesForGroupResult.h"
|
||||
#include "model/ChangePasswordRequest.h"
|
||||
#include "model/ChangePasswordResult.h"
|
||||
#include "model/ListGroupsForUserRequest.h"
|
||||
#include "model/ListGroupsForUserResult.h"
|
||||
#include "model/AttachPolicyToUserRequest.h"
|
||||
#include "model/AttachPolicyToUserResult.h"
|
||||
#include "model/CreateVirtualMFADeviceRequest.h"
|
||||
#include "model/CreateVirtualMFADeviceResult.h"
|
||||
#include "model/ListGroupsRequest.h"
|
||||
#include "model/ListGroupsResult.h"
|
||||
#include "model/DeleteUserRequest.h"
|
||||
#include "model/DeleteUserResult.h"
|
||||
#include "model/DeletePolicyRequest.h"
|
||||
#include "model/DeletePolicyResult.h"
|
||||
#include "model/DeleteGroupRequest.h"
|
||||
#include "model/DeleteGroupResult.h"
|
||||
#include "model/ClearAccountAliasRequest.h"
|
||||
#include "model/ClearAccountAliasResult.h"
|
||||
#include "model/UpdateRoleRequest.h"
|
||||
#include "model/UpdateRoleResult.h"
|
||||
#include "model/ListPoliciesRequest.h"
|
||||
#include "model/ListPoliciesResult.h"
|
||||
#include "model/AttachPolicyToGroupRequest.h"
|
||||
#include "model/AttachPolicyToGroupResult.h"
|
||||
#include "model/GetPublicKeyRequest.h"
|
||||
#include "model/GetPublicKeyResult.h"
|
||||
#include "model/DetachPolicyFromRoleRequest.h"
|
||||
#include "model/DetachPolicyFromRoleResult.h"
|
||||
#include "model/DeletePublicKeyRequest.h"
|
||||
#include "model/DeletePublicKeyResult.h"
|
||||
#include "model/ListRolesRequest.h"
|
||||
#include "model/ListRolesResult.h"
|
||||
#include "model/SetDefaultPolicyVersionRequest.h"
|
||||
#include "model/SetDefaultPolicyVersionResult.h"
|
||||
#include "model/ListPolicyVersionsRequest.h"
|
||||
#include "model/ListPolicyVersionsResult.h"
|
||||
#include "model/CreateRoleRequest.h"
|
||||
#include "model/CreateRoleResult.h"
|
||||
#include "model/CreatePolicyVersionRequest.h"
|
||||
#include "model/CreatePolicyVersionResult.h"
|
||||
#include "model/ListPoliciesForRoleRequest.h"
|
||||
#include "model/ListPoliciesForRoleResult.h"
|
||||
#include "model/UpdatePublicKeyRequest.h"
|
||||
#include "model/UpdatePublicKeyResult.h"
|
||||
#include "model/CreateGroupRequest.h"
|
||||
#include "model/CreateGroupResult.h"
|
||||
#include "model/CreateUserRequest.h"
|
||||
#include "model/CreateUserResult.h"
|
||||
#include "model/GetPasswordPolicyRequest.h"
|
||||
#include "model/GetPasswordPolicyResult.h"
|
||||
#include "model/ListAccessKeysRequest.h"
|
||||
#include "model/ListAccessKeysResult.h"
|
||||
#include "model/DetachPolicyFromGroupRequest.h"
|
||||
#include "model/DetachPolicyFromGroupResult.h"
|
||||
#include "model/SetPasswordPolicyRequest.h"
|
||||
#include "model/SetPasswordPolicyResult.h"
|
||||
#include "model/DeleteAccessKeyRequest.h"
|
||||
#include "model/DeleteAccessKeyResult.h"
|
||||
#include "model/GetRoleRequest.h"
|
||||
#include "model/GetRoleResult.h"
|
||||
#include "model/GetSecurityPreferenceRequest.h"
|
||||
#include "model/GetSecurityPreferenceResult.h"
|
||||
#include "model/DeleteLoginProfileRequest.h"
|
||||
#include "model/DeleteLoginProfileResult.h"
|
||||
#include "model/UpdateUserRequest.h"
|
||||
#include "model/UpdateUserResult.h"
|
||||
#include "model/DetachPolicyFromUserRequest.h"
|
||||
#include "model/DetachPolicyFromUserResult.h"
|
||||
#include "model/CreateLoginProfileRequest.h"
|
||||
#include "model/CreateLoginProfileResult.h"
|
||||
#include "model/ListVirtualMFADevicesRequest.h"
|
||||
#include "model/ListVirtualMFADevicesResult.h"
|
||||
#include "model/UpdateGroupRequest.h"
|
||||
#include "model/UpdateGroupResult.h"
|
||||
#include "model/GetPolicyRequest.h"
|
||||
#include "model/GetPolicyResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT RamClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::CreatePolicyResult> CreatePolicyOutcome;
|
||||
typedef std::future<CreatePolicyOutcome> CreatePolicyOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::CreatePolicyRequest&, const CreatePolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListUsersResult> ListUsersOutcome;
|
||||
typedef std::future<ListUsersOutcome> ListUsersOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::ListUsersRequest&, const ListUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUsersAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetUserMFAInfoResult> GetUserMFAInfoOutcome;
|
||||
typedef std::future<GetUserMFAInfoOutcome> GetUserMFAInfoOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::GetUserMFAInfoRequest&, const GetUserMFAInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserMFAInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::UnbindMFADeviceResult> UnbindMFADeviceOutcome;
|
||||
typedef std::future<UnbindMFADeviceOutcome> UnbindMFADeviceOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::UnbindMFADeviceRequest&, const UnbindMFADeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindMFADeviceAsyncHandler;
|
||||
typedef Outcome<Error, Model::BindMFADeviceResult> BindMFADeviceOutcome;
|
||||
typedef std::future<BindMFADeviceOutcome> BindMFADeviceOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::BindMFADeviceRequest&, const BindMFADeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindMFADeviceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPublicKeysResult> ListPublicKeysOutcome;
|
||||
typedef std::future<ListPublicKeysOutcome> ListPublicKeysOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::ListPublicKeysRequest&, const ListPublicKeysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPublicKeysAsyncHandler;
|
||||
typedef Outcome<Error, Model::AttachPolicyToRoleResult> AttachPolicyToRoleOutcome;
|
||||
typedef std::future<AttachPolicyToRoleOutcome> AttachPolicyToRoleOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::AttachPolicyToRoleRequest&, const AttachPolicyToRoleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachPolicyToRoleAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddUserToGroupResult> AddUserToGroupOutcome;
|
||||
typedef std::future<AddUserToGroupOutcome> AddUserToGroupOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::AddUserToGroupRequest&, const AddUserToGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddUserToGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAccountAliasResult> GetAccountAliasOutcome;
|
||||
typedef std::future<GetAccountAliasOutcome> GetAccountAliasOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::GetAccountAliasRequest&, const GetAccountAliasOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAccountAliasAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetLoginProfileResult> GetLoginProfileOutcome;
|
||||
typedef std::future<GetLoginProfileOutcome> GetLoginProfileOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::GetLoginProfileRequest&, const GetLoginProfileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLoginProfileAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListEntitiesForPolicyResult> ListEntitiesForPolicyOutcome;
|
||||
typedef std::future<ListEntitiesForPolicyOutcome> ListEntitiesForPolicyOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::ListEntitiesForPolicyRequest&, const ListEntitiesForPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListEntitiesForPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetSecurityPreferenceResult> SetSecurityPreferenceOutcome;
|
||||
typedef std::future<SetSecurityPreferenceOutcome> SetSecurityPreferenceOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::SetSecurityPreferenceRequest&, const SetSecurityPreferenceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetSecurityPreferenceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPoliciesForUserResult> ListPoliciesForUserOutcome;
|
||||
typedef std::future<ListPoliciesForUserOutcome> ListPoliciesForUserOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::ListPoliciesForUserRequest&, const ListPoliciesForUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPoliciesForUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateLoginProfileResult> UpdateLoginProfileOutcome;
|
||||
typedef std::future<UpdateLoginProfileOutcome> UpdateLoginProfileOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::UpdateLoginProfileRequest&, const UpdateLoginProfileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateLoginProfileAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListUsersForGroupResult> ListUsersForGroupOutcome;
|
||||
typedef std::future<ListUsersForGroupOutcome> ListUsersForGroupOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::ListUsersForGroupRequest&, const ListUsersForGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUsersForGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetPolicyVersionResult> GetPolicyVersionOutcome;
|
||||
typedef std::future<GetPolicyVersionOutcome> GetPolicyVersionOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::GetPolicyVersionRequest&, const GetPolicyVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPolicyVersionAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteRoleResult> DeleteRoleOutcome;
|
||||
typedef std::future<DeleteRoleOutcome> DeleteRoleOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::DeleteRoleRequest&, const DeleteRoleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRoleAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetUserResult> GetUserOutcome;
|
||||
typedef std::future<GetUserOutcome> GetUserOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::GetUserRequest&, const GetUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteVirtualMFADeviceResult> DeleteVirtualMFADeviceOutcome;
|
||||
typedef std::future<DeleteVirtualMFADeviceOutcome> DeleteVirtualMFADeviceOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::DeleteVirtualMFADeviceRequest&, const DeleteVirtualMFADeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteVirtualMFADeviceAsyncHandler;
|
||||
typedef Outcome<Error, Model::UploadPublicKeyResult> UploadPublicKeyOutcome;
|
||||
typedef std::future<UploadPublicKeyOutcome> UploadPublicKeyOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::UploadPublicKeyRequest&, const UploadPublicKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UploadPublicKeyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeletePolicyVersionResult> DeletePolicyVersionOutcome;
|
||||
typedef std::future<DeletePolicyVersionOutcome> DeletePolicyVersionOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::DeletePolicyVersionRequest&, const DeletePolicyVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePolicyVersionAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveUserFromGroupResult> RemoveUserFromGroupOutcome;
|
||||
typedef std::future<RemoveUserFromGroupOutcome> RemoveUserFromGroupOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::RemoveUserFromGroupRequest&, const RemoveUserFromGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveUserFromGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAccessKeyLastUsedResult> GetAccessKeyLastUsedOutcome;
|
||||
typedef std::future<GetAccessKeyLastUsedOutcome> GetAccessKeyLastUsedOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::GetAccessKeyLastUsedRequest&, const GetAccessKeyLastUsedOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAccessKeyLastUsedAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateAccessKeyResult> UpdateAccessKeyOutcome;
|
||||
typedef std::future<UpdateAccessKeyOutcome> UpdateAccessKeyOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::UpdateAccessKeyRequest&, const UpdateAccessKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAccessKeyAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetGroupResult> GetGroupOutcome;
|
||||
typedef std::future<GetGroupOutcome> GetGroupOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::GetGroupRequest&, const GetGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateAccessKeyResult> CreateAccessKeyOutcome;
|
||||
typedef std::future<CreateAccessKeyOutcome> CreateAccessKeyOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::CreateAccessKeyRequest&, const CreateAccessKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAccessKeyAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetAccountAliasResult> SetAccountAliasOutcome;
|
||||
typedef std::future<SetAccountAliasOutcome> SetAccountAliasOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::SetAccountAliasRequest&, const SetAccountAliasOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetAccountAliasAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPoliciesForGroupResult> ListPoliciesForGroupOutcome;
|
||||
typedef std::future<ListPoliciesForGroupOutcome> ListPoliciesForGroupOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::ListPoliciesForGroupRequest&, const ListPoliciesForGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPoliciesForGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::ChangePasswordResult> ChangePasswordOutcome;
|
||||
typedef std::future<ChangePasswordOutcome> ChangePasswordOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::ChangePasswordRequest&, const ChangePasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangePasswordAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListGroupsForUserResult> ListGroupsForUserOutcome;
|
||||
typedef std::future<ListGroupsForUserOutcome> ListGroupsForUserOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::ListGroupsForUserRequest&, const ListGroupsForUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListGroupsForUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::AttachPolicyToUserResult> AttachPolicyToUserOutcome;
|
||||
typedef std::future<AttachPolicyToUserOutcome> AttachPolicyToUserOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::AttachPolicyToUserRequest&, const AttachPolicyToUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachPolicyToUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateVirtualMFADeviceResult> CreateVirtualMFADeviceOutcome;
|
||||
typedef std::future<CreateVirtualMFADeviceOutcome> CreateVirtualMFADeviceOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::CreateVirtualMFADeviceRequest&, const CreateVirtualMFADeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateVirtualMFADeviceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListGroupsResult> ListGroupsOutcome;
|
||||
typedef std::future<ListGroupsOutcome> ListGroupsOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::ListGroupsRequest&, const ListGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteUserResult> DeleteUserOutcome;
|
||||
typedef std::future<DeleteUserOutcome> DeleteUserOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::DeleteUserRequest&, const DeleteUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeletePolicyResult> DeletePolicyOutcome;
|
||||
typedef std::future<DeletePolicyOutcome> DeletePolicyOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::DeletePolicyRequest&, const DeletePolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteGroupResult> DeleteGroupOutcome;
|
||||
typedef std::future<DeleteGroupOutcome> DeleteGroupOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::DeleteGroupRequest&, const DeleteGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::ClearAccountAliasResult> ClearAccountAliasOutcome;
|
||||
typedef std::future<ClearAccountAliasOutcome> ClearAccountAliasOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::ClearAccountAliasRequest&, const ClearAccountAliasOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ClearAccountAliasAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateRoleResult> UpdateRoleOutcome;
|
||||
typedef std::future<UpdateRoleOutcome> UpdateRoleOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::UpdateRoleRequest&, const UpdateRoleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateRoleAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPoliciesResult> ListPoliciesOutcome;
|
||||
typedef std::future<ListPoliciesOutcome> ListPoliciesOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::ListPoliciesRequest&, const ListPoliciesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPoliciesAsyncHandler;
|
||||
typedef Outcome<Error, Model::AttachPolicyToGroupResult> AttachPolicyToGroupOutcome;
|
||||
typedef std::future<AttachPolicyToGroupOutcome> AttachPolicyToGroupOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::AttachPolicyToGroupRequest&, const AttachPolicyToGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachPolicyToGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetPublicKeyResult> GetPublicKeyOutcome;
|
||||
typedef std::future<GetPublicKeyOutcome> GetPublicKeyOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::GetPublicKeyRequest&, const GetPublicKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPublicKeyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetachPolicyFromRoleResult> DetachPolicyFromRoleOutcome;
|
||||
typedef std::future<DetachPolicyFromRoleOutcome> DetachPolicyFromRoleOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::DetachPolicyFromRoleRequest&, const DetachPolicyFromRoleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachPolicyFromRoleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeletePublicKeyResult> DeletePublicKeyOutcome;
|
||||
typedef std::future<DeletePublicKeyOutcome> DeletePublicKeyOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::DeletePublicKeyRequest&, const DeletePublicKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePublicKeyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListRolesResult> ListRolesOutcome;
|
||||
typedef std::future<ListRolesOutcome> ListRolesOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::ListRolesRequest&, const ListRolesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRolesAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetDefaultPolicyVersionResult> SetDefaultPolicyVersionOutcome;
|
||||
typedef std::future<SetDefaultPolicyVersionOutcome> SetDefaultPolicyVersionOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::SetDefaultPolicyVersionRequest&, const SetDefaultPolicyVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDefaultPolicyVersionAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPolicyVersionsResult> ListPolicyVersionsOutcome;
|
||||
typedef std::future<ListPolicyVersionsOutcome> ListPolicyVersionsOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::ListPolicyVersionsRequest&, const ListPolicyVersionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPolicyVersionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateRoleResult> CreateRoleOutcome;
|
||||
typedef std::future<CreateRoleOutcome> CreateRoleOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::CreateRoleRequest&, const CreateRoleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRoleAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreatePolicyVersionResult> CreatePolicyVersionOutcome;
|
||||
typedef std::future<CreatePolicyVersionOutcome> CreatePolicyVersionOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::CreatePolicyVersionRequest&, const CreatePolicyVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePolicyVersionAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPoliciesForRoleResult> ListPoliciesForRoleOutcome;
|
||||
typedef std::future<ListPoliciesForRoleOutcome> ListPoliciesForRoleOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::ListPoliciesForRoleRequest&, const ListPoliciesForRoleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPoliciesForRoleAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdatePublicKeyResult> UpdatePublicKeyOutcome;
|
||||
typedef std::future<UpdatePublicKeyOutcome> UpdatePublicKeyOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::UpdatePublicKeyRequest&, const UpdatePublicKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdatePublicKeyAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateGroupResult> CreateGroupOutcome;
|
||||
typedef std::future<CreateGroupOutcome> CreateGroupOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::CreateGroupRequest&, const CreateGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateUserResult> CreateUserOutcome;
|
||||
typedef std::future<CreateUserOutcome> CreateUserOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::CreateUserRequest&, const CreateUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetPasswordPolicyResult> GetPasswordPolicyOutcome;
|
||||
typedef std::future<GetPasswordPolicyOutcome> GetPasswordPolicyOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::GetPasswordPolicyRequest&, const GetPasswordPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPasswordPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListAccessKeysResult> ListAccessKeysOutcome;
|
||||
typedef std::future<ListAccessKeysOutcome> ListAccessKeysOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::ListAccessKeysRequest&, const ListAccessKeysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAccessKeysAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetachPolicyFromGroupResult> DetachPolicyFromGroupOutcome;
|
||||
typedef std::future<DetachPolicyFromGroupOutcome> DetachPolicyFromGroupOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::DetachPolicyFromGroupRequest&, const DetachPolicyFromGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachPolicyFromGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetPasswordPolicyResult> SetPasswordPolicyOutcome;
|
||||
typedef std::future<SetPasswordPolicyOutcome> SetPasswordPolicyOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::SetPasswordPolicyRequest&, const SetPasswordPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetPasswordPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteAccessKeyResult> DeleteAccessKeyOutcome;
|
||||
typedef std::future<DeleteAccessKeyOutcome> DeleteAccessKeyOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::DeleteAccessKeyRequest&, const DeleteAccessKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAccessKeyAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetRoleResult> GetRoleOutcome;
|
||||
typedef std::future<GetRoleOutcome> GetRoleOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::GetRoleRequest&, const GetRoleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRoleAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetSecurityPreferenceResult> GetSecurityPreferenceOutcome;
|
||||
typedef std::future<GetSecurityPreferenceOutcome> GetSecurityPreferenceOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::GetSecurityPreferenceRequest&, const GetSecurityPreferenceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSecurityPreferenceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteLoginProfileResult> DeleteLoginProfileOutcome;
|
||||
typedef std::future<DeleteLoginProfileOutcome> DeleteLoginProfileOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::DeleteLoginProfileRequest&, const DeleteLoginProfileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLoginProfileAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateUserResult> UpdateUserOutcome;
|
||||
typedef std::future<UpdateUserOutcome> UpdateUserOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::UpdateUserRequest&, const UpdateUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetachPolicyFromUserResult> DetachPolicyFromUserOutcome;
|
||||
typedef std::future<DetachPolicyFromUserOutcome> DetachPolicyFromUserOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::DetachPolicyFromUserRequest&, const DetachPolicyFromUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachPolicyFromUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateLoginProfileResult> CreateLoginProfileOutcome;
|
||||
typedef std::future<CreateLoginProfileOutcome> CreateLoginProfileOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::CreateLoginProfileRequest&, const CreateLoginProfileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateLoginProfileAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListVirtualMFADevicesResult> ListVirtualMFADevicesOutcome;
|
||||
typedef std::future<ListVirtualMFADevicesOutcome> ListVirtualMFADevicesOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::ListVirtualMFADevicesRequest&, const ListVirtualMFADevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVirtualMFADevicesAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateGroupResult> UpdateGroupOutcome;
|
||||
typedef std::future<UpdateGroupOutcome> UpdateGroupOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::UpdateGroupRequest&, const UpdateGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetPolicyResult> GetPolicyOutcome;
|
||||
typedef std::future<GetPolicyOutcome> GetPolicyOutcomeCallable;
|
||||
typedef std::function<void(const RamClient*, const Model::GetPolicyRequest&, const GetPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPolicyAsyncHandler;
|
||||
|
||||
RamClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
RamClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
RamClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~RamClient();
|
||||
CreatePolicyOutcome createPolicy(const Model::CreatePolicyRequest &request)const;
|
||||
void createPolicyAsync(const Model::CreatePolicyRequest& request, const CreatePolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreatePolicyOutcomeCallable createPolicyCallable(const Model::CreatePolicyRequest& request) const;
|
||||
ListUsersOutcome listUsers(const Model::ListUsersRequest &request)const;
|
||||
void listUsersAsync(const Model::ListUsersRequest& request, const ListUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListUsersOutcomeCallable listUsersCallable(const Model::ListUsersRequest& request) const;
|
||||
GetUserMFAInfoOutcome getUserMFAInfo(const Model::GetUserMFAInfoRequest &request)const;
|
||||
void getUserMFAInfoAsync(const Model::GetUserMFAInfoRequest& request, const GetUserMFAInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetUserMFAInfoOutcomeCallable getUserMFAInfoCallable(const Model::GetUserMFAInfoRequest& request) const;
|
||||
UnbindMFADeviceOutcome unbindMFADevice(const Model::UnbindMFADeviceRequest &request)const;
|
||||
void unbindMFADeviceAsync(const Model::UnbindMFADeviceRequest& request, const UnbindMFADeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnbindMFADeviceOutcomeCallable unbindMFADeviceCallable(const Model::UnbindMFADeviceRequest& request) const;
|
||||
BindMFADeviceOutcome bindMFADevice(const Model::BindMFADeviceRequest &request)const;
|
||||
void bindMFADeviceAsync(const Model::BindMFADeviceRequest& request, const BindMFADeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BindMFADeviceOutcomeCallable bindMFADeviceCallable(const Model::BindMFADeviceRequest& request) const;
|
||||
ListPublicKeysOutcome listPublicKeys(const Model::ListPublicKeysRequest &request)const;
|
||||
void listPublicKeysAsync(const Model::ListPublicKeysRequest& request, const ListPublicKeysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPublicKeysOutcomeCallable listPublicKeysCallable(const Model::ListPublicKeysRequest& request) const;
|
||||
AttachPolicyToRoleOutcome attachPolicyToRole(const Model::AttachPolicyToRoleRequest &request)const;
|
||||
void attachPolicyToRoleAsync(const Model::AttachPolicyToRoleRequest& request, const AttachPolicyToRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AttachPolicyToRoleOutcomeCallable attachPolicyToRoleCallable(const Model::AttachPolicyToRoleRequest& request) const;
|
||||
AddUserToGroupOutcome addUserToGroup(const Model::AddUserToGroupRequest &request)const;
|
||||
void addUserToGroupAsync(const Model::AddUserToGroupRequest& request, const AddUserToGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddUserToGroupOutcomeCallable addUserToGroupCallable(const Model::AddUserToGroupRequest& request) const;
|
||||
GetAccountAliasOutcome getAccountAlias(const Model::GetAccountAliasRequest &request)const;
|
||||
void getAccountAliasAsync(const Model::GetAccountAliasRequest& request, const GetAccountAliasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAccountAliasOutcomeCallable getAccountAliasCallable(const Model::GetAccountAliasRequest& request) const;
|
||||
GetLoginProfileOutcome getLoginProfile(const Model::GetLoginProfileRequest &request)const;
|
||||
void getLoginProfileAsync(const Model::GetLoginProfileRequest& request, const GetLoginProfileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetLoginProfileOutcomeCallable getLoginProfileCallable(const Model::GetLoginProfileRequest& request) const;
|
||||
ListEntitiesForPolicyOutcome listEntitiesForPolicy(const Model::ListEntitiesForPolicyRequest &request)const;
|
||||
void listEntitiesForPolicyAsync(const Model::ListEntitiesForPolicyRequest& request, const ListEntitiesForPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListEntitiesForPolicyOutcomeCallable listEntitiesForPolicyCallable(const Model::ListEntitiesForPolicyRequest& request) const;
|
||||
SetSecurityPreferenceOutcome setSecurityPreference(const Model::SetSecurityPreferenceRequest &request)const;
|
||||
void setSecurityPreferenceAsync(const Model::SetSecurityPreferenceRequest& request, const SetSecurityPreferenceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetSecurityPreferenceOutcomeCallable setSecurityPreferenceCallable(const Model::SetSecurityPreferenceRequest& request) const;
|
||||
ListPoliciesForUserOutcome listPoliciesForUser(const Model::ListPoliciesForUserRequest &request)const;
|
||||
void listPoliciesForUserAsync(const Model::ListPoliciesForUserRequest& request, const ListPoliciesForUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPoliciesForUserOutcomeCallable listPoliciesForUserCallable(const Model::ListPoliciesForUserRequest& request) const;
|
||||
UpdateLoginProfileOutcome updateLoginProfile(const Model::UpdateLoginProfileRequest &request)const;
|
||||
void updateLoginProfileAsync(const Model::UpdateLoginProfileRequest& request, const UpdateLoginProfileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateLoginProfileOutcomeCallable updateLoginProfileCallable(const Model::UpdateLoginProfileRequest& request) const;
|
||||
ListUsersForGroupOutcome listUsersForGroup(const Model::ListUsersForGroupRequest &request)const;
|
||||
void listUsersForGroupAsync(const Model::ListUsersForGroupRequest& request, const ListUsersForGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListUsersForGroupOutcomeCallable listUsersForGroupCallable(const Model::ListUsersForGroupRequest& request) const;
|
||||
GetPolicyVersionOutcome getPolicyVersion(const Model::GetPolicyVersionRequest &request)const;
|
||||
void getPolicyVersionAsync(const Model::GetPolicyVersionRequest& request, const GetPolicyVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPolicyVersionOutcomeCallable getPolicyVersionCallable(const Model::GetPolicyVersionRequest& request) const;
|
||||
DeleteRoleOutcome deleteRole(const Model::DeleteRoleRequest &request)const;
|
||||
void deleteRoleAsync(const Model::DeleteRoleRequest& request, const DeleteRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteRoleOutcomeCallable deleteRoleCallable(const Model::DeleteRoleRequest& request) const;
|
||||
GetUserOutcome getUser(const Model::GetUserRequest &request)const;
|
||||
void getUserAsync(const Model::GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const;
|
||||
DeleteVirtualMFADeviceOutcome deleteVirtualMFADevice(const Model::DeleteVirtualMFADeviceRequest &request)const;
|
||||
void deleteVirtualMFADeviceAsync(const Model::DeleteVirtualMFADeviceRequest& request, const DeleteVirtualMFADeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteVirtualMFADeviceOutcomeCallable deleteVirtualMFADeviceCallable(const Model::DeleteVirtualMFADeviceRequest& request) const;
|
||||
UploadPublicKeyOutcome uploadPublicKey(const Model::UploadPublicKeyRequest &request)const;
|
||||
void uploadPublicKeyAsync(const Model::UploadPublicKeyRequest& request, const UploadPublicKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UploadPublicKeyOutcomeCallable uploadPublicKeyCallable(const Model::UploadPublicKeyRequest& request) const;
|
||||
DeletePolicyVersionOutcome deletePolicyVersion(const Model::DeletePolicyVersionRequest &request)const;
|
||||
void deletePolicyVersionAsync(const Model::DeletePolicyVersionRequest& request, const DeletePolicyVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeletePolicyVersionOutcomeCallable deletePolicyVersionCallable(const Model::DeletePolicyVersionRequest& request) const;
|
||||
RemoveUserFromGroupOutcome removeUserFromGroup(const Model::RemoveUserFromGroupRequest &request)const;
|
||||
void removeUserFromGroupAsync(const Model::RemoveUserFromGroupRequest& request, const RemoveUserFromGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveUserFromGroupOutcomeCallable removeUserFromGroupCallable(const Model::RemoveUserFromGroupRequest& request) const;
|
||||
GetAccessKeyLastUsedOutcome getAccessKeyLastUsed(const Model::GetAccessKeyLastUsedRequest &request)const;
|
||||
void getAccessKeyLastUsedAsync(const Model::GetAccessKeyLastUsedRequest& request, const GetAccessKeyLastUsedAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAccessKeyLastUsedOutcomeCallable getAccessKeyLastUsedCallable(const Model::GetAccessKeyLastUsedRequest& request) const;
|
||||
UpdateAccessKeyOutcome updateAccessKey(const Model::UpdateAccessKeyRequest &request)const;
|
||||
void updateAccessKeyAsync(const Model::UpdateAccessKeyRequest& request, const UpdateAccessKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateAccessKeyOutcomeCallable updateAccessKeyCallable(const Model::UpdateAccessKeyRequest& request) const;
|
||||
GetGroupOutcome getGroup(const Model::GetGroupRequest &request)const;
|
||||
void getGroupAsync(const Model::GetGroupRequest& request, const GetGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetGroupOutcomeCallable getGroupCallable(const Model::GetGroupRequest& request) const;
|
||||
CreateAccessKeyOutcome createAccessKey(const Model::CreateAccessKeyRequest &request)const;
|
||||
void createAccessKeyAsync(const Model::CreateAccessKeyRequest& request, const CreateAccessKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateAccessKeyOutcomeCallable createAccessKeyCallable(const Model::CreateAccessKeyRequest& request) const;
|
||||
SetAccountAliasOutcome setAccountAlias(const Model::SetAccountAliasRequest &request)const;
|
||||
void setAccountAliasAsync(const Model::SetAccountAliasRequest& request, const SetAccountAliasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetAccountAliasOutcomeCallable setAccountAliasCallable(const Model::SetAccountAliasRequest& request) const;
|
||||
ListPoliciesForGroupOutcome listPoliciesForGroup(const Model::ListPoliciesForGroupRequest &request)const;
|
||||
void listPoliciesForGroupAsync(const Model::ListPoliciesForGroupRequest& request, const ListPoliciesForGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPoliciesForGroupOutcomeCallable listPoliciesForGroupCallable(const Model::ListPoliciesForGroupRequest& request) const;
|
||||
ChangePasswordOutcome changePassword(const Model::ChangePasswordRequest &request)const;
|
||||
void changePasswordAsync(const Model::ChangePasswordRequest& request, const ChangePasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ChangePasswordOutcomeCallable changePasswordCallable(const Model::ChangePasswordRequest& request) const;
|
||||
ListGroupsForUserOutcome listGroupsForUser(const Model::ListGroupsForUserRequest &request)const;
|
||||
void listGroupsForUserAsync(const Model::ListGroupsForUserRequest& request, const ListGroupsForUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListGroupsForUserOutcomeCallable listGroupsForUserCallable(const Model::ListGroupsForUserRequest& request) const;
|
||||
AttachPolicyToUserOutcome attachPolicyToUser(const Model::AttachPolicyToUserRequest &request)const;
|
||||
void attachPolicyToUserAsync(const Model::AttachPolicyToUserRequest& request, const AttachPolicyToUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AttachPolicyToUserOutcomeCallable attachPolicyToUserCallable(const Model::AttachPolicyToUserRequest& request) const;
|
||||
CreateVirtualMFADeviceOutcome createVirtualMFADevice(const Model::CreateVirtualMFADeviceRequest &request)const;
|
||||
void createVirtualMFADeviceAsync(const Model::CreateVirtualMFADeviceRequest& request, const CreateVirtualMFADeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateVirtualMFADeviceOutcomeCallable createVirtualMFADeviceCallable(const Model::CreateVirtualMFADeviceRequest& request) const;
|
||||
ListGroupsOutcome listGroups(const Model::ListGroupsRequest &request)const;
|
||||
void listGroupsAsync(const Model::ListGroupsRequest& request, const ListGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListGroupsOutcomeCallable listGroupsCallable(const Model::ListGroupsRequest& request) const;
|
||||
DeleteUserOutcome deleteUser(const Model::DeleteUserRequest &request)const;
|
||||
void deleteUserAsync(const Model::DeleteUserRequest& request, const DeleteUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteUserOutcomeCallable deleteUserCallable(const Model::DeleteUserRequest& request) const;
|
||||
DeletePolicyOutcome deletePolicy(const Model::DeletePolicyRequest &request)const;
|
||||
void deletePolicyAsync(const Model::DeletePolicyRequest& request, const DeletePolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeletePolicyOutcomeCallable deletePolicyCallable(const Model::DeletePolicyRequest& request) const;
|
||||
DeleteGroupOutcome deleteGroup(const Model::DeleteGroupRequest &request)const;
|
||||
void deleteGroupAsync(const Model::DeleteGroupRequest& request, const DeleteGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteGroupOutcomeCallable deleteGroupCallable(const Model::DeleteGroupRequest& request) const;
|
||||
ClearAccountAliasOutcome clearAccountAlias(const Model::ClearAccountAliasRequest &request)const;
|
||||
void clearAccountAliasAsync(const Model::ClearAccountAliasRequest& request, const ClearAccountAliasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ClearAccountAliasOutcomeCallable clearAccountAliasCallable(const Model::ClearAccountAliasRequest& request) const;
|
||||
UpdateRoleOutcome updateRole(const Model::UpdateRoleRequest &request)const;
|
||||
void updateRoleAsync(const Model::UpdateRoleRequest& request, const UpdateRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateRoleOutcomeCallable updateRoleCallable(const Model::UpdateRoleRequest& request) const;
|
||||
ListPoliciesOutcome listPolicies(const Model::ListPoliciesRequest &request)const;
|
||||
void listPoliciesAsync(const Model::ListPoliciesRequest& request, const ListPoliciesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPoliciesOutcomeCallable listPoliciesCallable(const Model::ListPoliciesRequest& request) const;
|
||||
AttachPolicyToGroupOutcome attachPolicyToGroup(const Model::AttachPolicyToGroupRequest &request)const;
|
||||
void attachPolicyToGroupAsync(const Model::AttachPolicyToGroupRequest& request, const AttachPolicyToGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AttachPolicyToGroupOutcomeCallable attachPolicyToGroupCallable(const Model::AttachPolicyToGroupRequest& request) const;
|
||||
GetPublicKeyOutcome getPublicKey(const Model::GetPublicKeyRequest &request)const;
|
||||
void getPublicKeyAsync(const Model::GetPublicKeyRequest& request, const GetPublicKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPublicKeyOutcomeCallable getPublicKeyCallable(const Model::GetPublicKeyRequest& request) const;
|
||||
DetachPolicyFromRoleOutcome detachPolicyFromRole(const Model::DetachPolicyFromRoleRequest &request)const;
|
||||
void detachPolicyFromRoleAsync(const Model::DetachPolicyFromRoleRequest& request, const DetachPolicyFromRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetachPolicyFromRoleOutcomeCallable detachPolicyFromRoleCallable(const Model::DetachPolicyFromRoleRequest& request) const;
|
||||
DeletePublicKeyOutcome deletePublicKey(const Model::DeletePublicKeyRequest &request)const;
|
||||
void deletePublicKeyAsync(const Model::DeletePublicKeyRequest& request, const DeletePublicKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeletePublicKeyOutcomeCallable deletePublicKeyCallable(const Model::DeletePublicKeyRequest& request) const;
|
||||
ListRolesOutcome listRoles(const Model::ListRolesRequest &request)const;
|
||||
void listRolesAsync(const Model::ListRolesRequest& request, const ListRolesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRolesOutcomeCallable listRolesCallable(const Model::ListRolesRequest& request) const;
|
||||
SetDefaultPolicyVersionOutcome setDefaultPolicyVersion(const Model::SetDefaultPolicyVersionRequest &request)const;
|
||||
void setDefaultPolicyVersionAsync(const Model::SetDefaultPolicyVersionRequest& request, const SetDefaultPolicyVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetDefaultPolicyVersionOutcomeCallable setDefaultPolicyVersionCallable(const Model::SetDefaultPolicyVersionRequest& request) const;
|
||||
ListPolicyVersionsOutcome listPolicyVersions(const Model::ListPolicyVersionsRequest &request)const;
|
||||
void listPolicyVersionsAsync(const Model::ListPolicyVersionsRequest& request, const ListPolicyVersionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPolicyVersionsOutcomeCallable listPolicyVersionsCallable(const Model::ListPolicyVersionsRequest& request) const;
|
||||
CreateRoleOutcome createRole(const Model::CreateRoleRequest &request)const;
|
||||
void createRoleAsync(const Model::CreateRoleRequest& request, const CreateRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateRoleOutcomeCallable createRoleCallable(const Model::CreateRoleRequest& request) const;
|
||||
CreatePolicyVersionOutcome createPolicyVersion(const Model::CreatePolicyVersionRequest &request)const;
|
||||
void createPolicyVersionAsync(const Model::CreatePolicyVersionRequest& request, const CreatePolicyVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreatePolicyVersionOutcomeCallable createPolicyVersionCallable(const Model::CreatePolicyVersionRequest& request) const;
|
||||
ListPoliciesForRoleOutcome listPoliciesForRole(const Model::ListPoliciesForRoleRequest &request)const;
|
||||
void listPoliciesForRoleAsync(const Model::ListPoliciesForRoleRequest& request, const ListPoliciesForRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPoliciesForRoleOutcomeCallable listPoliciesForRoleCallable(const Model::ListPoliciesForRoleRequest& request) const;
|
||||
UpdatePublicKeyOutcome updatePublicKey(const Model::UpdatePublicKeyRequest &request)const;
|
||||
void updatePublicKeyAsync(const Model::UpdatePublicKeyRequest& request, const UpdatePublicKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdatePublicKeyOutcomeCallable updatePublicKeyCallable(const Model::UpdatePublicKeyRequest& 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;
|
||||
CreateUserOutcome createUser(const Model::CreateUserRequest &request)const;
|
||||
void createUserAsync(const Model::CreateUserRequest& request, const CreateUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateUserOutcomeCallable createUserCallable(const Model::CreateUserRequest& request) const;
|
||||
GetPasswordPolicyOutcome getPasswordPolicy(const Model::GetPasswordPolicyRequest &request)const;
|
||||
void getPasswordPolicyAsync(const Model::GetPasswordPolicyRequest& request, const GetPasswordPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPasswordPolicyOutcomeCallable getPasswordPolicyCallable(const Model::GetPasswordPolicyRequest& request) const;
|
||||
ListAccessKeysOutcome listAccessKeys(const Model::ListAccessKeysRequest &request)const;
|
||||
void listAccessKeysAsync(const Model::ListAccessKeysRequest& request, const ListAccessKeysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListAccessKeysOutcomeCallable listAccessKeysCallable(const Model::ListAccessKeysRequest& request) const;
|
||||
DetachPolicyFromGroupOutcome detachPolicyFromGroup(const Model::DetachPolicyFromGroupRequest &request)const;
|
||||
void detachPolicyFromGroupAsync(const Model::DetachPolicyFromGroupRequest& request, const DetachPolicyFromGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetachPolicyFromGroupOutcomeCallable detachPolicyFromGroupCallable(const Model::DetachPolicyFromGroupRequest& request) const;
|
||||
SetPasswordPolicyOutcome setPasswordPolicy(const Model::SetPasswordPolicyRequest &request)const;
|
||||
void setPasswordPolicyAsync(const Model::SetPasswordPolicyRequest& request, const SetPasswordPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetPasswordPolicyOutcomeCallable setPasswordPolicyCallable(const Model::SetPasswordPolicyRequest& request) const;
|
||||
DeleteAccessKeyOutcome deleteAccessKey(const Model::DeleteAccessKeyRequest &request)const;
|
||||
void deleteAccessKeyAsync(const Model::DeleteAccessKeyRequest& request, const DeleteAccessKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteAccessKeyOutcomeCallable deleteAccessKeyCallable(const Model::DeleteAccessKeyRequest& request) const;
|
||||
GetRoleOutcome getRole(const Model::GetRoleRequest &request)const;
|
||||
void getRoleAsync(const Model::GetRoleRequest& request, const GetRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetRoleOutcomeCallable getRoleCallable(const Model::GetRoleRequest& request) const;
|
||||
GetSecurityPreferenceOutcome getSecurityPreference(const Model::GetSecurityPreferenceRequest &request)const;
|
||||
void getSecurityPreferenceAsync(const Model::GetSecurityPreferenceRequest& request, const GetSecurityPreferenceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetSecurityPreferenceOutcomeCallable getSecurityPreferenceCallable(const Model::GetSecurityPreferenceRequest& request) const;
|
||||
DeleteLoginProfileOutcome deleteLoginProfile(const Model::DeleteLoginProfileRequest &request)const;
|
||||
void deleteLoginProfileAsync(const Model::DeleteLoginProfileRequest& request, const DeleteLoginProfileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteLoginProfileOutcomeCallable deleteLoginProfileCallable(const Model::DeleteLoginProfileRequest& request) const;
|
||||
UpdateUserOutcome updateUser(const Model::UpdateUserRequest &request)const;
|
||||
void updateUserAsync(const Model::UpdateUserRequest& request, const UpdateUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateUserOutcomeCallable updateUserCallable(const Model::UpdateUserRequest& request) const;
|
||||
DetachPolicyFromUserOutcome detachPolicyFromUser(const Model::DetachPolicyFromUserRequest &request)const;
|
||||
void detachPolicyFromUserAsync(const Model::DetachPolicyFromUserRequest& request, const DetachPolicyFromUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetachPolicyFromUserOutcomeCallable detachPolicyFromUserCallable(const Model::DetachPolicyFromUserRequest& request) const;
|
||||
CreateLoginProfileOutcome createLoginProfile(const Model::CreateLoginProfileRequest &request)const;
|
||||
void createLoginProfileAsync(const Model::CreateLoginProfileRequest& request, const CreateLoginProfileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateLoginProfileOutcomeCallable createLoginProfileCallable(const Model::CreateLoginProfileRequest& request) const;
|
||||
ListVirtualMFADevicesOutcome listVirtualMFADevices(const Model::ListVirtualMFADevicesRequest &request)const;
|
||||
void listVirtualMFADevicesAsync(const Model::ListVirtualMFADevicesRequest& request, const ListVirtualMFADevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListVirtualMFADevicesOutcomeCallable listVirtualMFADevicesCallable(const Model::ListVirtualMFADevicesRequest& request) const;
|
||||
UpdateGroupOutcome updateGroup(const Model::UpdateGroupRequest &request)const;
|
||||
void updateGroupAsync(const Model::UpdateGroupRequest& request, const UpdateGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateGroupOutcomeCallable updateGroupCallable(const Model::UpdateGroupRequest& request) const;
|
||||
GetPolicyOutcome getPolicy(const Model::GetPolicyRequest &request)const;
|
||||
void getPolicyAsync(const Model::GetPolicyRequest& request, const GetPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPolicyOutcomeCallable getPolicyCallable(const Model::GetPolicyRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_RAM_RAMCLIENT_H_
|
||||
32
ram/include/alibabacloud/ram/RamExport.h
Normal file
32
ram/include/alibabacloud/ram/RamExport.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_RAMEXPORT_H_
|
||||
#define ALIBABACLOUD_RAM_RAMEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_RAM_LIBRARY)
|
||||
# define ALIBABACLOUD_RAM_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_RAM_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_RAM_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_RAM_RAMEXPORT_H_
|
||||
51
ram/include/alibabacloud/ram/model/AddUserToGroupRequest.h
Normal file
51
ram/include/alibabacloud/ram/model/AddUserToGroupRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_ADDUSERTOGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_ADDUSERTOGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT AddUserToGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddUserToGroupRequest();
|
||||
~AddUserToGroupRequest();
|
||||
|
||||
std::string getGroupName()const;
|
||||
void setGroupName(const std::string& groupName);
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
std::string groupName_;
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_ADDUSERTOGROUPREQUEST_H_
|
||||
49
ram/include/alibabacloud/ram/model/AddUserToGroupResult.h
Normal file
49
ram/include/alibabacloud/ram/model/AddUserToGroupResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_ADDUSERTOGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_ADDUSERTOGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT AddUserToGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddUserToGroupResult();
|
||||
explicit AddUserToGroupResult(const std::string &payload);
|
||||
~AddUserToGroupResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_ADDUSERTOGROUPRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_ATTACHPOLICYTOGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_ATTACHPOLICYTOGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT AttachPolicyToGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AttachPolicyToGroupRequest();
|
||||
~AttachPolicyToGroupRequest();
|
||||
|
||||
std::string getPolicyType()const;
|
||||
void setPolicyType(const std::string& policyType);
|
||||
std::string getPolicyName()const;
|
||||
void setPolicyName(const std::string& policyName);
|
||||
std::string getGroupName()const;
|
||||
void setGroupName(const std::string& groupName);
|
||||
|
||||
private:
|
||||
std::string policyType_;
|
||||
std::string policyName_;
|
||||
std::string groupName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_ATTACHPOLICYTOGROUPREQUEST_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_RAM_MODEL_ATTACHPOLICYTOGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_ATTACHPOLICYTOGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT AttachPolicyToGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AttachPolicyToGroupResult();
|
||||
explicit AttachPolicyToGroupResult(const std::string &payload);
|
||||
~AttachPolicyToGroupResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_ATTACHPOLICYTOGROUPRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_ATTACHPOLICYTOROLEREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_ATTACHPOLICYTOROLEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT AttachPolicyToRoleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AttachPolicyToRoleRequest();
|
||||
~AttachPolicyToRoleRequest();
|
||||
|
||||
std::string getPolicyType()const;
|
||||
void setPolicyType(const std::string& policyType);
|
||||
std::string getRoleName()const;
|
||||
void setRoleName(const std::string& roleName);
|
||||
std::string getPolicyName()const;
|
||||
void setPolicyName(const std::string& policyName);
|
||||
|
||||
private:
|
||||
std::string policyType_;
|
||||
std::string roleName_;
|
||||
std::string policyName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_ATTACHPOLICYTOROLEREQUEST_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_RAM_MODEL_ATTACHPOLICYTOROLERESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_ATTACHPOLICYTOROLERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT AttachPolicyToRoleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AttachPolicyToRoleResult();
|
||||
explicit AttachPolicyToRoleResult(const std::string &payload);
|
||||
~AttachPolicyToRoleResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_ATTACHPOLICYTOROLERESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_ATTACHPOLICYTOUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_ATTACHPOLICYTOUSERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT AttachPolicyToUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AttachPolicyToUserRequest();
|
||||
~AttachPolicyToUserRequest();
|
||||
|
||||
std::string getPolicyType()const;
|
||||
void setPolicyType(const std::string& policyType);
|
||||
std::string getPolicyName()const;
|
||||
void setPolicyName(const std::string& policyName);
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
std::string policyType_;
|
||||
std::string policyName_;
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_ATTACHPOLICYTOUSERREQUEST_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_RAM_MODEL_ATTACHPOLICYTOUSERRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_ATTACHPOLICYTOUSERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT AttachPolicyToUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AttachPolicyToUserResult();
|
||||
explicit AttachPolicyToUserResult(const std::string &payload);
|
||||
~AttachPolicyToUserResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_ATTACHPOLICYTOUSERRESULT_H_
|
||||
57
ram/include/alibabacloud/ram/model/BindMFADeviceRequest.h
Normal file
57
ram/include/alibabacloud/ram/model/BindMFADeviceRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_BINDMFADEVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_BINDMFADEVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT BindMFADeviceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BindMFADeviceRequest();
|
||||
~BindMFADeviceRequest();
|
||||
|
||||
std::string getSerialNumber()const;
|
||||
void setSerialNumber(const std::string& serialNumber);
|
||||
std::string getAuthenticationCode2()const;
|
||||
void setAuthenticationCode2(const std::string& authenticationCode2);
|
||||
std::string getAuthenticationCode1()const;
|
||||
void setAuthenticationCode1(const std::string& authenticationCode1);
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
std::string serialNumber_;
|
||||
std::string authenticationCode2_;
|
||||
std::string authenticationCode1_;
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_BINDMFADEVICEREQUEST_H_
|
||||
49
ram/include/alibabacloud/ram/model/BindMFADeviceResult.h
Normal file
49
ram/include/alibabacloud/ram/model/BindMFADeviceResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_BINDMFADEVICERESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_BINDMFADEVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT BindMFADeviceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
BindMFADeviceResult();
|
||||
explicit BindMFADeviceResult(const std::string &payload);
|
||||
~BindMFADeviceResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_BINDMFADEVICERESULT_H_
|
||||
51
ram/include/alibabacloud/ram/model/ChangePasswordRequest.h
Normal file
51
ram/include/alibabacloud/ram/model/ChangePasswordRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_CHANGEPASSWORDREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_CHANGEPASSWORDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT ChangePasswordRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ChangePasswordRequest();
|
||||
~ChangePasswordRequest();
|
||||
|
||||
std::string getOldPassword()const;
|
||||
void setOldPassword(const std::string& oldPassword);
|
||||
std::string getNewPassword()const;
|
||||
void setNewPassword(const std::string& newPassword);
|
||||
|
||||
private:
|
||||
std::string oldPassword_;
|
||||
std::string newPassword_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_CHANGEPASSWORDREQUEST_H_
|
||||
49
ram/include/alibabacloud/ram/model/ChangePasswordResult.h
Normal file
49
ram/include/alibabacloud/ram/model/ChangePasswordResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_CHANGEPASSWORDRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_CHANGEPASSWORDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT ChangePasswordResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ChangePasswordResult();
|
||||
explicit ChangePasswordResult(const std::string &payload);
|
||||
~ChangePasswordResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_CHANGEPASSWORDRESULT_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_RAM_MODEL_CLEARACCOUNTALIASREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_CLEARACCOUNTALIASREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT ClearAccountAliasRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ClearAccountAliasRequest();
|
||||
~ClearAccountAliasRequest();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_CLEARACCOUNTALIASREQUEST_H_
|
||||
49
ram/include/alibabacloud/ram/model/ClearAccountAliasResult.h
Normal file
49
ram/include/alibabacloud/ram/model/ClearAccountAliasResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_CLEARACCOUNTALIASRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_CLEARACCOUNTALIASRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT ClearAccountAliasResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ClearAccountAliasResult();
|
||||
explicit ClearAccountAliasResult(const std::string &payload);
|
||||
~ClearAccountAliasResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_CLEARACCOUNTALIASRESULT_H_
|
||||
48
ram/include/alibabacloud/ram/model/CreateAccessKeyRequest.h
Normal file
48
ram/include/alibabacloud/ram/model/CreateAccessKeyRequest.h
Normal file
@@ -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_RAM_MODEL_CREATEACCESSKEYREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_CREATEACCESSKEYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT CreateAccessKeyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateAccessKeyRequest();
|
||||
~CreateAccessKeyRequest();
|
||||
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_CREATEACCESSKEYREQUEST_H_
|
||||
58
ram/include/alibabacloud/ram/model/CreateAccessKeyResult.h
Normal file
58
ram/include/alibabacloud/ram/model/CreateAccessKeyResult.h
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_CREATEACCESSKEYRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_CREATEACCESSKEYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT CreateAccessKeyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AccessKey
|
||||
{
|
||||
std::string status;
|
||||
std::string accessKeyId;
|
||||
std::string accessKeySecret;
|
||||
std::string createDate;
|
||||
};
|
||||
|
||||
|
||||
CreateAccessKeyResult();
|
||||
explicit CreateAccessKeyResult(const std::string &payload);
|
||||
~CreateAccessKeyResult();
|
||||
AccessKey getAccessKey()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
AccessKey accessKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_CREATEACCESSKEYRESULT_H_
|
||||
51
ram/include/alibabacloud/ram/model/CreateGroupRequest.h
Normal file
51
ram/include/alibabacloud/ram/model/CreateGroupRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_CREATEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_CREATEGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT CreateGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateGroupRequest();
|
||||
~CreateGroupRequest();
|
||||
|
||||
std::string getComments()const;
|
||||
void setComments(const std::string& comments);
|
||||
std::string getGroupName()const;
|
||||
void setGroupName(const std::string& groupName);
|
||||
|
||||
private:
|
||||
std::string comments_;
|
||||
std::string groupName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_CREATEGROUPREQUEST_H_
|
||||
57
ram/include/alibabacloud/ram/model/CreateGroupResult.h
Normal file
57
ram/include/alibabacloud/ram/model/CreateGroupResult.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_CREATEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_CREATEGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT CreateGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Group
|
||||
{
|
||||
std::string groupName;
|
||||
std::string comments;
|
||||
std::string createDate;
|
||||
};
|
||||
|
||||
|
||||
CreateGroupResult();
|
||||
explicit CreateGroupResult(const std::string &payload);
|
||||
~CreateGroupResult();
|
||||
Group getGroup()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Group group_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_CREATEGROUPRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_CREATELOGINPROFILEREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_CREATELOGINPROFILEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT CreateLoginProfileRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateLoginProfileRequest();
|
||||
~CreateLoginProfileRequest();
|
||||
|
||||
std::string getPassword()const;
|
||||
void setPassword(const std::string& password);
|
||||
bool getPasswordResetRequired()const;
|
||||
void setPasswordResetRequired(bool passwordResetRequired);
|
||||
bool getMFABindRequired()const;
|
||||
void setMFABindRequired(bool mFABindRequired);
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
std::string password_;
|
||||
bool passwordResetRequired_;
|
||||
bool mFABindRequired_;
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_CREATELOGINPROFILEREQUEST_H_
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_CREATELOGINPROFILERESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_CREATELOGINPROFILERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT CreateLoginProfileResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct LoginProfile
|
||||
{
|
||||
bool passwordResetRequired;
|
||||
std::string userName;
|
||||
bool mFABindRequired;
|
||||
std::string createDate;
|
||||
};
|
||||
|
||||
|
||||
CreateLoginProfileResult();
|
||||
explicit CreateLoginProfileResult(const std::string &payload);
|
||||
~CreateLoginProfileResult();
|
||||
LoginProfile getLoginProfile()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
LoginProfile loginProfile_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_CREATELOGINPROFILERESULT_H_
|
||||
54
ram/include/alibabacloud/ram/model/CreatePolicyRequest.h
Normal file
54
ram/include/alibabacloud/ram/model/CreatePolicyRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_CREATEPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_CREATEPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT CreatePolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreatePolicyRequest();
|
||||
~CreatePolicyRequest();
|
||||
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getPolicyName()const;
|
||||
void setPolicyName(const std::string& policyName);
|
||||
std::string getPolicyDocument()const;
|
||||
void setPolicyDocument(const std::string& policyDocument);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string policyName_;
|
||||
std::string policyDocument_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_CREATEPOLICYREQUEST_H_
|
||||
59
ram/include/alibabacloud/ram/model/CreatePolicyResult.h
Normal file
59
ram/include/alibabacloud/ram/model/CreatePolicyResult.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_CREATEPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_CREATEPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT CreatePolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Policy
|
||||
{
|
||||
std::string policyType;
|
||||
std::string description;
|
||||
std::string policyName;
|
||||
std::string defaultVersion;
|
||||
std::string createDate;
|
||||
};
|
||||
|
||||
|
||||
CreatePolicyResult();
|
||||
explicit CreatePolicyResult(const std::string &payload);
|
||||
~CreatePolicyResult();
|
||||
Policy getPolicy()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Policy policy_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_CREATEPOLICYRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_CREATEPOLICYVERSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_CREATEPOLICYVERSIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT CreatePolicyVersionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreatePolicyVersionRequest();
|
||||
~CreatePolicyVersionRequest();
|
||||
|
||||
bool getSetAsDefault()const;
|
||||
void setSetAsDefault(bool setAsDefault);
|
||||
std::string getPolicyName()const;
|
||||
void setPolicyName(const std::string& policyName);
|
||||
std::string getPolicyDocument()const;
|
||||
void setPolicyDocument(const std::string& policyDocument);
|
||||
|
||||
private:
|
||||
bool setAsDefault_;
|
||||
std::string policyName_;
|
||||
std::string policyDocument_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_CREATEPOLICYVERSIONREQUEST_H_
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_CREATEPOLICYVERSIONRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_CREATEPOLICYVERSIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT CreatePolicyVersionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PolicyVersion
|
||||
{
|
||||
std::string versionId;
|
||||
bool isDefaultVersion;
|
||||
std::string policyDocument;
|
||||
std::string createDate;
|
||||
};
|
||||
|
||||
|
||||
CreatePolicyVersionResult();
|
||||
explicit CreatePolicyVersionResult(const std::string &payload);
|
||||
~CreatePolicyVersionResult();
|
||||
PolicyVersion getPolicyVersion()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
PolicyVersion policyVersion_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_CREATEPOLICYVERSIONRESULT_H_
|
||||
54
ram/include/alibabacloud/ram/model/CreateRoleRequest.h
Normal file
54
ram/include/alibabacloud/ram/model/CreateRoleRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_CREATEROLEREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_CREATEROLEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT CreateRoleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateRoleRequest();
|
||||
~CreateRoleRequest();
|
||||
|
||||
std::string getRoleName()const;
|
||||
void setRoleName(const std::string& roleName);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getAssumeRolePolicyDocument()const;
|
||||
void setAssumeRolePolicyDocument(const std::string& assumeRolePolicyDocument);
|
||||
|
||||
private:
|
||||
std::string roleName_;
|
||||
std::string description_;
|
||||
std::string assumeRolePolicyDocument_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_CREATEROLEREQUEST_H_
|
||||
60
ram/include/alibabacloud/ram/model/CreateRoleResult.h
Normal file
60
ram/include/alibabacloud/ram/model/CreateRoleResult.h
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_CREATEROLERESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_CREATEROLERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT CreateRoleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Role
|
||||
{
|
||||
std::string roleName;
|
||||
std::string description;
|
||||
std::string assumeRolePolicyDocument;
|
||||
std::string arn;
|
||||
std::string roleId;
|
||||
std::string createDate;
|
||||
};
|
||||
|
||||
|
||||
CreateRoleResult();
|
||||
explicit CreateRoleResult(const std::string &payload);
|
||||
~CreateRoleResult();
|
||||
Role getRole()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Role role_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_CREATEROLERESULT_H_
|
||||
60
ram/include/alibabacloud/ram/model/CreateUserRequest.h
Normal file
60
ram/include/alibabacloud/ram/model/CreateUserRequest.h
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_CREATEUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_CREATEUSERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT CreateUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateUserRequest();
|
||||
~CreateUserRequest();
|
||||
|
||||
std::string getComments()const;
|
||||
void setComments(const std::string& comments);
|
||||
std::string getDisplayName()const;
|
||||
void setDisplayName(const std::string& displayName);
|
||||
std::string getMobilePhone()const;
|
||||
void setMobilePhone(const std::string& mobilePhone);
|
||||
std::string getEmail()const;
|
||||
void setEmail(const std::string& email);
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
std::string comments_;
|
||||
std::string displayName_;
|
||||
std::string mobilePhone_;
|
||||
std::string email_;
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_CREATEUSERREQUEST_H_
|
||||
61
ram/include/alibabacloud/ram/model/CreateUserResult.h
Normal file
61
ram/include/alibabacloud/ram/model/CreateUserResult.h
Normal file
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_CREATEUSERRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_CREATEUSERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT CreateUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct User
|
||||
{
|
||||
std::string userName;
|
||||
std::string email;
|
||||
std::string userId;
|
||||
std::string comments;
|
||||
std::string displayName;
|
||||
std::string createDate;
|
||||
std::string mobilePhone;
|
||||
};
|
||||
|
||||
|
||||
CreateUserResult();
|
||||
explicit CreateUserResult(const std::string &payload);
|
||||
~CreateUserResult();
|
||||
User getUser()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
User user_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_CREATEUSERRESULT_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_RAM_MODEL_CREATEVIRTUALMFADEVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_CREATEVIRTUALMFADEVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT CreateVirtualMFADeviceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateVirtualMFADeviceRequest();
|
||||
~CreateVirtualMFADeviceRequest();
|
||||
|
||||
std::string getVirtualMFADeviceName()const;
|
||||
void setVirtualMFADeviceName(const std::string& virtualMFADeviceName);
|
||||
|
||||
private:
|
||||
std::string virtualMFADeviceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_CREATEVIRTUALMFADEVICEREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_CREATEVIRTUALMFADEVICERESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_CREATEVIRTUALMFADEVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT CreateVirtualMFADeviceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct VirtualMFADevice
|
||||
{
|
||||
std::string serialNumber;
|
||||
std::string qRCodePNG;
|
||||
std::string base32StringSeed;
|
||||
};
|
||||
|
||||
|
||||
CreateVirtualMFADeviceResult();
|
||||
explicit CreateVirtualMFADeviceResult(const std::string &payload);
|
||||
~CreateVirtualMFADeviceResult();
|
||||
VirtualMFADevice getVirtualMFADevice()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
VirtualMFADevice virtualMFADevice_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_CREATEVIRTUALMFADEVICERESULT_H_
|
||||
51
ram/include/alibabacloud/ram/model/DeleteAccessKeyRequest.h
Normal file
51
ram/include/alibabacloud/ram/model/DeleteAccessKeyRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_DELETEACCESSKEYREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_DELETEACCESSKEYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT DeleteAccessKeyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteAccessKeyRequest();
|
||||
~DeleteAccessKeyRequest();
|
||||
|
||||
std::string getUserAccessKeyId()const;
|
||||
void setUserAccessKeyId(const std::string& userAccessKeyId);
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
std::string userAccessKeyId_;
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_DELETEACCESSKEYREQUEST_H_
|
||||
49
ram/include/alibabacloud/ram/model/DeleteAccessKeyResult.h
Normal file
49
ram/include/alibabacloud/ram/model/DeleteAccessKeyResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_DELETEACCESSKEYRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_DELETEACCESSKEYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT DeleteAccessKeyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteAccessKeyResult();
|
||||
explicit DeleteAccessKeyResult(const std::string &payload);
|
||||
~DeleteAccessKeyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_DELETEACCESSKEYRESULT_H_
|
||||
48
ram/include/alibabacloud/ram/model/DeleteGroupRequest.h
Normal file
48
ram/include/alibabacloud/ram/model/DeleteGroupRequest.h
Normal file
@@ -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_RAM_MODEL_DELETEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_DELETEGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT DeleteGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteGroupRequest();
|
||||
~DeleteGroupRequest();
|
||||
|
||||
std::string getGroupName()const;
|
||||
void setGroupName(const std::string& groupName);
|
||||
|
||||
private:
|
||||
std::string groupName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_DELETEGROUPREQUEST_H_
|
||||
49
ram/include/alibabacloud/ram/model/DeleteGroupResult.h
Normal file
49
ram/include/alibabacloud/ram/model/DeleteGroupResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_DELETEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_DELETEGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT DeleteGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteGroupResult();
|
||||
explicit DeleteGroupResult(const std::string &payload);
|
||||
~DeleteGroupResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_DELETEGROUPRESULT_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_RAM_MODEL_DELETELOGINPROFILEREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_DELETELOGINPROFILEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT DeleteLoginProfileRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteLoginProfileRequest();
|
||||
~DeleteLoginProfileRequest();
|
||||
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_DELETELOGINPROFILEREQUEST_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_RAM_MODEL_DELETELOGINPROFILERESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_DELETELOGINPROFILERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT DeleteLoginProfileResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteLoginProfileResult();
|
||||
explicit DeleteLoginProfileResult(const std::string &payload);
|
||||
~DeleteLoginProfileResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_DELETELOGINPROFILERESULT_H_
|
||||
48
ram/include/alibabacloud/ram/model/DeletePolicyRequest.h
Normal file
48
ram/include/alibabacloud/ram/model/DeletePolicyRequest.h
Normal file
@@ -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_RAM_MODEL_DELETEPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_DELETEPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT DeletePolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeletePolicyRequest();
|
||||
~DeletePolicyRequest();
|
||||
|
||||
std::string getPolicyName()const;
|
||||
void setPolicyName(const std::string& policyName);
|
||||
|
||||
private:
|
||||
std::string policyName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_DELETEPOLICYREQUEST_H_
|
||||
49
ram/include/alibabacloud/ram/model/DeletePolicyResult.h
Normal file
49
ram/include/alibabacloud/ram/model/DeletePolicyResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_DELETEPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_DELETEPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT DeletePolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeletePolicyResult();
|
||||
explicit DeletePolicyResult(const std::string &payload);
|
||||
~DeletePolicyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_DELETEPOLICYRESULT_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_RAM_MODEL_DELETEPOLICYVERSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_DELETEPOLICYVERSIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT DeletePolicyVersionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeletePolicyVersionRequest();
|
||||
~DeletePolicyVersionRequest();
|
||||
|
||||
std::string getVersionId()const;
|
||||
void setVersionId(const std::string& versionId);
|
||||
std::string getPolicyName()const;
|
||||
void setPolicyName(const std::string& policyName);
|
||||
|
||||
private:
|
||||
std::string versionId_;
|
||||
std::string policyName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_DELETEPOLICYVERSIONREQUEST_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_RAM_MODEL_DELETEPOLICYVERSIONRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_DELETEPOLICYVERSIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT DeletePolicyVersionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeletePolicyVersionResult();
|
||||
explicit DeletePolicyVersionResult(const std::string &payload);
|
||||
~DeletePolicyVersionResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_DELETEPOLICYVERSIONRESULT_H_
|
||||
51
ram/include/alibabacloud/ram/model/DeletePublicKeyRequest.h
Normal file
51
ram/include/alibabacloud/ram/model/DeletePublicKeyRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_DELETEPUBLICKEYREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_DELETEPUBLICKEYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT DeletePublicKeyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeletePublicKeyRequest();
|
||||
~DeletePublicKeyRequest();
|
||||
|
||||
std::string getUserPublicKeyId()const;
|
||||
void setUserPublicKeyId(const std::string& userPublicKeyId);
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
std::string userPublicKeyId_;
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_DELETEPUBLICKEYREQUEST_H_
|
||||
49
ram/include/alibabacloud/ram/model/DeletePublicKeyResult.h
Normal file
49
ram/include/alibabacloud/ram/model/DeletePublicKeyResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_DELETEPUBLICKEYRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_DELETEPUBLICKEYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT DeletePublicKeyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeletePublicKeyResult();
|
||||
explicit DeletePublicKeyResult(const std::string &payload);
|
||||
~DeletePublicKeyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_DELETEPUBLICKEYRESULT_H_
|
||||
48
ram/include/alibabacloud/ram/model/DeleteRoleRequest.h
Normal file
48
ram/include/alibabacloud/ram/model/DeleteRoleRequest.h
Normal file
@@ -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_RAM_MODEL_DELETEROLEREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_DELETEROLEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT DeleteRoleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteRoleRequest();
|
||||
~DeleteRoleRequest();
|
||||
|
||||
std::string getRoleName()const;
|
||||
void setRoleName(const std::string& roleName);
|
||||
|
||||
private:
|
||||
std::string roleName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_DELETEROLEREQUEST_H_
|
||||
49
ram/include/alibabacloud/ram/model/DeleteRoleResult.h
Normal file
49
ram/include/alibabacloud/ram/model/DeleteRoleResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_DELETEROLERESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_DELETEROLERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT DeleteRoleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteRoleResult();
|
||||
explicit DeleteRoleResult(const std::string &payload);
|
||||
~DeleteRoleResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_DELETEROLERESULT_H_
|
||||
48
ram/include/alibabacloud/ram/model/DeleteUserRequest.h
Normal file
48
ram/include/alibabacloud/ram/model/DeleteUserRequest.h
Normal file
@@ -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_RAM_MODEL_DELETEUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_DELETEUSERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT DeleteUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteUserRequest();
|
||||
~DeleteUserRequest();
|
||||
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_DELETEUSERREQUEST_H_
|
||||
49
ram/include/alibabacloud/ram/model/DeleteUserResult.h
Normal file
49
ram/include/alibabacloud/ram/model/DeleteUserResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_DELETEUSERRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_DELETEUSERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT DeleteUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteUserResult();
|
||||
explicit DeleteUserResult(const std::string &payload);
|
||||
~DeleteUserResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_DELETEUSERRESULT_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_RAM_MODEL_DELETEVIRTUALMFADEVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_DELETEVIRTUALMFADEVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT DeleteVirtualMFADeviceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteVirtualMFADeviceRequest();
|
||||
~DeleteVirtualMFADeviceRequest();
|
||||
|
||||
std::string getSerialNumber()const;
|
||||
void setSerialNumber(const std::string& serialNumber);
|
||||
|
||||
private:
|
||||
std::string serialNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_DELETEVIRTUALMFADEVICEREQUEST_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_RAM_MODEL_DELETEVIRTUALMFADEVICERESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_DELETEVIRTUALMFADEVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT DeleteVirtualMFADeviceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteVirtualMFADeviceResult();
|
||||
explicit DeleteVirtualMFADeviceResult(const std::string &payload);
|
||||
~DeleteVirtualMFADeviceResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_DELETEVIRTUALMFADEVICERESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_DETACHPOLICYFROMGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_DETACHPOLICYFROMGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT DetachPolicyFromGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DetachPolicyFromGroupRequest();
|
||||
~DetachPolicyFromGroupRequest();
|
||||
|
||||
std::string getPolicyType()const;
|
||||
void setPolicyType(const std::string& policyType);
|
||||
std::string getPolicyName()const;
|
||||
void setPolicyName(const std::string& policyName);
|
||||
std::string getGroupName()const;
|
||||
void setGroupName(const std::string& groupName);
|
||||
|
||||
private:
|
||||
std::string policyType_;
|
||||
std::string policyName_;
|
||||
std::string groupName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_DETACHPOLICYFROMGROUPREQUEST_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_RAM_MODEL_DETACHPOLICYFROMGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_DETACHPOLICYFROMGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT DetachPolicyFromGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DetachPolicyFromGroupResult();
|
||||
explicit DetachPolicyFromGroupResult(const std::string &payload);
|
||||
~DetachPolicyFromGroupResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_DETACHPOLICYFROMGROUPRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_DETACHPOLICYFROMROLEREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_DETACHPOLICYFROMROLEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT DetachPolicyFromRoleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DetachPolicyFromRoleRequest();
|
||||
~DetachPolicyFromRoleRequest();
|
||||
|
||||
std::string getPolicyType()const;
|
||||
void setPolicyType(const std::string& policyType);
|
||||
std::string getRoleName()const;
|
||||
void setRoleName(const std::string& roleName);
|
||||
std::string getPolicyName()const;
|
||||
void setPolicyName(const std::string& policyName);
|
||||
|
||||
private:
|
||||
std::string policyType_;
|
||||
std::string roleName_;
|
||||
std::string policyName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_DETACHPOLICYFROMROLEREQUEST_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_RAM_MODEL_DETACHPOLICYFROMROLERESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_DETACHPOLICYFROMROLERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT DetachPolicyFromRoleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DetachPolicyFromRoleResult();
|
||||
explicit DetachPolicyFromRoleResult(const std::string &payload);
|
||||
~DetachPolicyFromRoleResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_DETACHPOLICYFROMROLERESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_DETACHPOLICYFROMUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_DETACHPOLICYFROMUSERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT DetachPolicyFromUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DetachPolicyFromUserRequest();
|
||||
~DetachPolicyFromUserRequest();
|
||||
|
||||
std::string getPolicyType()const;
|
||||
void setPolicyType(const std::string& policyType);
|
||||
std::string getPolicyName()const;
|
||||
void setPolicyName(const std::string& policyName);
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
std::string policyType_;
|
||||
std::string policyName_;
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_DETACHPOLICYFROMUSERREQUEST_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_RAM_MODEL_DETACHPOLICYFROMUSERRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_DETACHPOLICYFROMUSERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT DetachPolicyFromUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DetachPolicyFromUserResult();
|
||||
explicit DetachPolicyFromUserResult(const std::string &payload);
|
||||
~DetachPolicyFromUserResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_DETACHPOLICYFROMUSERRESULT_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_RAM_MODEL_GETACCESSKEYLASTUSEDREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_GETACCESSKEYLASTUSEDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT GetAccessKeyLastUsedRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetAccessKeyLastUsedRequest();
|
||||
~GetAccessKeyLastUsedRequest();
|
||||
|
||||
std::string getUserAccessKeyId()const;
|
||||
void setUserAccessKeyId(const std::string& userAccessKeyId);
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
std::string userAccessKeyId_;
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_GETACCESSKEYLASTUSEDREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_RAM_MODEL_GETACCESSKEYLASTUSEDRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_GETACCESSKEYLASTUSEDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT GetAccessKeyLastUsedResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AccessKeyLastUsed
|
||||
{
|
||||
std::string lastUsedDate;
|
||||
};
|
||||
|
||||
|
||||
GetAccessKeyLastUsedResult();
|
||||
explicit GetAccessKeyLastUsedResult(const std::string &payload);
|
||||
~GetAccessKeyLastUsedResult();
|
||||
AccessKeyLastUsed getAccessKeyLastUsed()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
AccessKeyLastUsed accessKeyLastUsed_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_GETACCESSKEYLASTUSEDRESULT_H_
|
||||
45
ram/include/alibabacloud/ram/model/GetAccountAliasRequest.h
Normal file
45
ram/include/alibabacloud/ram/model/GetAccountAliasRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_GETACCOUNTALIASREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_GETACCOUNTALIASREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT GetAccountAliasRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetAccountAliasRequest();
|
||||
~GetAccountAliasRequest();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_GETACCOUNTALIASREQUEST_H_
|
||||
51
ram/include/alibabacloud/ram/model/GetAccountAliasResult.h
Normal file
51
ram/include/alibabacloud/ram/model/GetAccountAliasResult.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_GETACCOUNTALIASRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_GETACCOUNTALIASRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT GetAccountAliasResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetAccountAliasResult();
|
||||
explicit GetAccountAliasResult(const std::string &payload);
|
||||
~GetAccountAliasResult();
|
||||
std::string getAccountAlias()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string accountAlias_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_GETACCOUNTALIASRESULT_H_
|
||||
48
ram/include/alibabacloud/ram/model/GetGroupRequest.h
Normal file
48
ram/include/alibabacloud/ram/model/GetGroupRequest.h
Normal file
@@ -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_RAM_MODEL_GETGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_GETGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT GetGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetGroupRequest();
|
||||
~GetGroupRequest();
|
||||
|
||||
std::string getGroupName()const;
|
||||
void setGroupName(const std::string& groupName);
|
||||
|
||||
private:
|
||||
std::string groupName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_GETGROUPREQUEST_H_
|
||||
58
ram/include/alibabacloud/ram/model/GetGroupResult.h
Normal file
58
ram/include/alibabacloud/ram/model/GetGroupResult.h
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_GETGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_GETGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT GetGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Group
|
||||
{
|
||||
std::string groupName;
|
||||
std::string updateDate;
|
||||
std::string comments;
|
||||
std::string createDate;
|
||||
};
|
||||
|
||||
|
||||
GetGroupResult();
|
||||
explicit GetGroupResult(const std::string &payload);
|
||||
~GetGroupResult();
|
||||
Group getGroup()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Group group_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_GETGROUPRESULT_H_
|
||||
48
ram/include/alibabacloud/ram/model/GetLoginProfileRequest.h
Normal file
48
ram/include/alibabacloud/ram/model/GetLoginProfileRequest.h
Normal file
@@ -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_RAM_MODEL_GETLOGINPROFILEREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_GETLOGINPROFILEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT GetLoginProfileRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetLoginProfileRequest();
|
||||
~GetLoginProfileRequest();
|
||||
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_GETLOGINPROFILEREQUEST_H_
|
||||
58
ram/include/alibabacloud/ram/model/GetLoginProfileResult.h
Normal file
58
ram/include/alibabacloud/ram/model/GetLoginProfileResult.h
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_GETLOGINPROFILERESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_GETLOGINPROFILERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT GetLoginProfileResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct LoginProfile
|
||||
{
|
||||
bool passwordResetRequired;
|
||||
std::string userName;
|
||||
bool mFABindRequired;
|
||||
std::string createDate;
|
||||
};
|
||||
|
||||
|
||||
GetLoginProfileResult();
|
||||
explicit GetLoginProfileResult(const std::string &payload);
|
||||
~GetLoginProfileResult();
|
||||
LoginProfile getLoginProfile()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
LoginProfile loginProfile_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_GETLOGINPROFILERESULT_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_RAM_MODEL_GETPASSWORDPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_GETPASSWORDPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT GetPasswordPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetPasswordPolicyRequest();
|
||||
~GetPasswordPolicyRequest();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_GETPASSWORDPOLICYREQUEST_H_
|
||||
63
ram/include/alibabacloud/ram/model/GetPasswordPolicyResult.h
Normal file
63
ram/include/alibabacloud/ram/model/GetPasswordPolicyResult.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_GETPASSWORDPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_GETPASSWORDPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT GetPasswordPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PasswordPolicy
|
||||
{
|
||||
int minimumPasswordLength;
|
||||
bool requireLowercaseCharacters;
|
||||
bool requireNumbers;
|
||||
int maxPasswordAge;
|
||||
int passwordReusePrevention;
|
||||
int maxLoginAttemps;
|
||||
bool hardExpiry;
|
||||
bool requireUppercaseCharacters;
|
||||
bool requireSymbols;
|
||||
};
|
||||
|
||||
|
||||
GetPasswordPolicyResult();
|
||||
explicit GetPasswordPolicyResult(const std::string &payload);
|
||||
~GetPasswordPolicyResult();
|
||||
PasswordPolicy getPasswordPolicy()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
PasswordPolicy passwordPolicy_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_GETPASSWORDPOLICYRESULT_H_
|
||||
51
ram/include/alibabacloud/ram/model/GetPolicyRequest.h
Normal file
51
ram/include/alibabacloud/ram/model/GetPolicyRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_GETPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_GETPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT GetPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetPolicyRequest();
|
||||
~GetPolicyRequest();
|
||||
|
||||
std::string getPolicyType()const;
|
||||
void setPolicyType(const std::string& policyType);
|
||||
std::string getPolicyName()const;
|
||||
void setPolicyName(const std::string& policyName);
|
||||
|
||||
private:
|
||||
std::string policyType_;
|
||||
std::string policyName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_GETPOLICYREQUEST_H_
|
||||
62
ram/include/alibabacloud/ram/model/GetPolicyResult.h
Normal file
62
ram/include/alibabacloud/ram/model/GetPolicyResult.h
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_GETPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_GETPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT GetPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Policy
|
||||
{
|
||||
std::string policyType;
|
||||
std::string updateDate;
|
||||
std::string description;
|
||||
int attachmentCount;
|
||||
std::string policyName;
|
||||
std::string defaultVersion;
|
||||
std::string policyDocument;
|
||||
std::string createDate;
|
||||
};
|
||||
|
||||
|
||||
GetPolicyResult();
|
||||
explicit GetPolicyResult(const std::string &payload);
|
||||
~GetPolicyResult();
|
||||
Policy getPolicy()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Policy policy_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_GETPOLICYRESULT_H_
|
||||
54
ram/include/alibabacloud/ram/model/GetPolicyVersionRequest.h
Normal file
54
ram/include/alibabacloud/ram/model/GetPolicyVersionRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_GETPOLICYVERSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_GETPOLICYVERSIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT GetPolicyVersionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetPolicyVersionRequest();
|
||||
~GetPolicyVersionRequest();
|
||||
|
||||
std::string getVersionId()const;
|
||||
void setVersionId(const std::string& versionId);
|
||||
std::string getPolicyType()const;
|
||||
void setPolicyType(const std::string& policyType);
|
||||
std::string getPolicyName()const;
|
||||
void setPolicyName(const std::string& policyName);
|
||||
|
||||
private:
|
||||
std::string versionId_;
|
||||
std::string policyType_;
|
||||
std::string policyName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_GETPOLICYVERSIONREQUEST_H_
|
||||
58
ram/include/alibabacloud/ram/model/GetPolicyVersionResult.h
Normal file
58
ram/include/alibabacloud/ram/model/GetPolicyVersionResult.h
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_GETPOLICYVERSIONRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_GETPOLICYVERSIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT GetPolicyVersionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PolicyVersion
|
||||
{
|
||||
std::string versionId;
|
||||
bool isDefaultVersion;
|
||||
std::string policyDocument;
|
||||
std::string createDate;
|
||||
};
|
||||
|
||||
|
||||
GetPolicyVersionResult();
|
||||
explicit GetPolicyVersionResult(const std::string &payload);
|
||||
~GetPolicyVersionResult();
|
||||
PolicyVersion getPolicyVersion()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
PolicyVersion policyVersion_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_GETPOLICYVERSIONRESULT_H_
|
||||
51
ram/include/alibabacloud/ram/model/GetPublicKeyRequest.h
Normal file
51
ram/include/alibabacloud/ram/model/GetPublicKeyRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_GETPUBLICKEYREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_GETPUBLICKEYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT GetPublicKeyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetPublicKeyRequest();
|
||||
~GetPublicKeyRequest();
|
||||
|
||||
std::string getUserPublicKeyId()const;
|
||||
void setUserPublicKeyId(const std::string& userPublicKeyId);
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
std::string userPublicKeyId_;
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_GETPUBLICKEYREQUEST_H_
|
||||
58
ram/include/alibabacloud/ram/model/GetPublicKeyResult.h
Normal file
58
ram/include/alibabacloud/ram/model/GetPublicKeyResult.h
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_GETPUBLICKEYRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_GETPUBLICKEYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT GetPublicKeyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PublicKey
|
||||
{
|
||||
std::string status;
|
||||
std::string publicKeyId;
|
||||
std::string publicKeySpec;
|
||||
std::string createDate;
|
||||
};
|
||||
|
||||
|
||||
GetPublicKeyResult();
|
||||
explicit GetPublicKeyResult(const std::string &payload);
|
||||
~GetPublicKeyResult();
|
||||
PublicKey getPublicKey()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
PublicKey publicKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_GETPUBLICKEYRESULT_H_
|
||||
48
ram/include/alibabacloud/ram/model/GetRoleRequest.h
Normal file
48
ram/include/alibabacloud/ram/model/GetRoleRequest.h
Normal file
@@ -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_RAM_MODEL_GETROLEREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_GETROLEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT GetRoleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetRoleRequest();
|
||||
~GetRoleRequest();
|
||||
|
||||
std::string getRoleName()const;
|
||||
void setRoleName(const std::string& roleName);
|
||||
|
||||
private:
|
||||
std::string roleName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_GETROLEREQUEST_H_
|
||||
61
ram/include/alibabacloud/ram/model/GetRoleResult.h
Normal file
61
ram/include/alibabacloud/ram/model/GetRoleResult.h
Normal file
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_GETROLERESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_GETROLERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT GetRoleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Role
|
||||
{
|
||||
std::string updateDate;
|
||||
std::string roleName;
|
||||
std::string description;
|
||||
std::string assumeRolePolicyDocument;
|
||||
std::string arn;
|
||||
std::string roleId;
|
||||
std::string createDate;
|
||||
};
|
||||
|
||||
|
||||
GetRoleResult();
|
||||
explicit GetRoleResult(const std::string &payload);
|
||||
~GetRoleResult();
|
||||
Role getRole()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Role role_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_GETROLERESULT_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_RAM_MODEL_GETSECURITYPREFERENCEREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_GETSECURITYPREFERENCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT GetSecurityPreferenceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetSecurityPreferenceRequest();
|
||||
~GetSecurityPreferenceRequest();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_GETSECURITYPREFERENCEREQUEST_H_
|
||||
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_GETSECURITYPREFERENCERESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_GETSECURITYPREFERENCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT GetSecurityPreferenceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SecurityPreference
|
||||
{
|
||||
struct LoginProfilePreference
|
||||
{
|
||||
int loginSessionDuration;
|
||||
std::string loginNetworkMasks;
|
||||
bool allowUserToChangePassword;
|
||||
bool enableSaveMFATicket;
|
||||
};
|
||||
struct AccessKeyPreference
|
||||
{
|
||||
bool allowUserToManageAccessKeys;
|
||||
};
|
||||
struct PublicKeyPreference
|
||||
{
|
||||
bool allowUserToManagePublicKeys;
|
||||
};
|
||||
struct MFAPreference
|
||||
{
|
||||
bool allowUserToManageMFADevices;
|
||||
};
|
||||
LoginProfilePreference loginProfilePreference;
|
||||
AccessKeyPreference accessKeyPreference;
|
||||
PublicKeyPreference publicKeyPreference;
|
||||
MFAPreference mFAPreference;
|
||||
};
|
||||
|
||||
|
||||
GetSecurityPreferenceResult();
|
||||
explicit GetSecurityPreferenceResult(const std::string &payload);
|
||||
~GetSecurityPreferenceResult();
|
||||
SecurityPreference getSecurityPreference()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
SecurityPreference securityPreference_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_GETSECURITYPREFERENCERESULT_H_
|
||||
48
ram/include/alibabacloud/ram/model/GetUserMFAInfoRequest.h
Normal file
48
ram/include/alibabacloud/ram/model/GetUserMFAInfoRequest.h
Normal file
@@ -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_RAM_MODEL_GETUSERMFAINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_GETUSERMFAINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT GetUserMFAInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetUserMFAInfoRequest();
|
||||
~GetUserMFAInfoRequest();
|
||||
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_GETUSERMFAINFOREQUEST_H_
|
||||
55
ram/include/alibabacloud/ram/model/GetUserMFAInfoResult.h
Normal file
55
ram/include/alibabacloud/ram/model/GetUserMFAInfoResult.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_RAM_MODEL_GETUSERMFAINFORESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_GETUSERMFAINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT GetUserMFAInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MFADevice
|
||||
{
|
||||
std::string serialNumber;
|
||||
};
|
||||
|
||||
|
||||
GetUserMFAInfoResult();
|
||||
explicit GetUserMFAInfoResult(const std::string &payload);
|
||||
~GetUserMFAInfoResult();
|
||||
MFADevice getMFADevice()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
MFADevice mFADevice_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_GETUSERMFAINFORESULT_H_
|
||||
48
ram/include/alibabacloud/ram/model/GetUserRequest.h
Normal file
48
ram/include/alibabacloud/ram/model/GetUserRequest.h
Normal file
@@ -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_RAM_MODEL_GETUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_GETUSERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT GetUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetUserRequest();
|
||||
~GetUserRequest();
|
||||
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_GETUSERREQUEST_H_
|
||||
63
ram/include/alibabacloud/ram/model/GetUserResult.h
Normal file
63
ram/include/alibabacloud/ram/model/GetUserResult.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_GETUSERRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_GETUSERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT GetUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct User
|
||||
{
|
||||
std::string updateDate;
|
||||
std::string userName;
|
||||
std::string email;
|
||||
std::string userId;
|
||||
std::string comments;
|
||||
std::string displayName;
|
||||
std::string lastLoginDate;
|
||||
std::string createDate;
|
||||
std::string mobilePhone;
|
||||
};
|
||||
|
||||
|
||||
GetUserResult();
|
||||
explicit GetUserResult(const std::string &payload);
|
||||
~GetUserResult();
|
||||
User getUser()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
User user_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_GETUSERRESULT_H_
|
||||
48
ram/include/alibabacloud/ram/model/ListAccessKeysRequest.h
Normal file
48
ram/include/alibabacloud/ram/model/ListAccessKeysRequest.h
Normal file
@@ -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_RAM_MODEL_LISTACCESSKEYSREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_LISTACCESSKEYSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT ListAccessKeysRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListAccessKeysRequest();
|
||||
~ListAccessKeysRequest();
|
||||
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_LISTACCESSKEYSREQUEST_H_
|
||||
57
ram/include/alibabacloud/ram/model/ListAccessKeysResult.h
Normal file
57
ram/include/alibabacloud/ram/model/ListAccessKeysResult.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_LISTACCESSKEYSRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_LISTACCESSKEYSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT ListAccessKeysResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AccessKey
|
||||
{
|
||||
std::string status;
|
||||
std::string accessKeyId;
|
||||
std::string createDate;
|
||||
};
|
||||
|
||||
|
||||
ListAccessKeysResult();
|
||||
explicit ListAccessKeysResult(const std::string &payload);
|
||||
~ListAccessKeysResult();
|
||||
std::vector<AccessKey> getAccessKeys()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AccessKey> accessKeys_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_LISTACCESSKEYSRESULT_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_RAM_MODEL_LISTENTITIESFORPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_LISTENTITIESFORPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT ListEntitiesForPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListEntitiesForPolicyRequest();
|
||||
~ListEntitiesForPolicyRequest();
|
||||
|
||||
std::string getPolicyType()const;
|
||||
void setPolicyType(const std::string& policyType);
|
||||
std::string getPolicyName()const;
|
||||
void setPolicyName(const std::string& policyName);
|
||||
|
||||
private:
|
||||
std::string policyType_;
|
||||
std::string policyName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_LISTENTITIESFORPOLICYREQUEST_H_
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_LISTENTITIESFORPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_LISTENTITIESFORPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT ListEntitiesForPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Group
|
||||
{
|
||||
std::string groupName;
|
||||
std::string attachDate;
|
||||
std::string comments;
|
||||
};
|
||||
struct User
|
||||
{
|
||||
std::string userName;
|
||||
std::string attachDate;
|
||||
std::string userId;
|
||||
std::string displayName;
|
||||
};
|
||||
struct Role
|
||||
{
|
||||
std::string roleName;
|
||||
std::string description;
|
||||
std::string attachDate;
|
||||
std::string arn;
|
||||
std::string roleId;
|
||||
};
|
||||
|
||||
|
||||
ListEntitiesForPolicyResult();
|
||||
explicit ListEntitiesForPolicyResult(const std::string &payload);
|
||||
~ListEntitiesForPolicyResult();
|
||||
std::vector<Group> getGroups()const;
|
||||
std::vector<Role> getRoles()const;
|
||||
std::vector<User> getUsers()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Group> groups_;
|
||||
std::vector<Role> roles_;
|
||||
std::vector<User> users_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_LISTENTITIESFORPOLICYRESULT_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_RAM_MODEL_LISTGROUPSFORUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_LISTGROUPSFORUSERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT ListGroupsForUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListGroupsForUserRequest();
|
||||
~ListGroupsForUserRequest();
|
||||
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_LISTGROUPSFORUSERREQUEST_H_
|
||||
57
ram/include/alibabacloud/ram/model/ListGroupsForUserResult.h
Normal file
57
ram/include/alibabacloud/ram/model/ListGroupsForUserResult.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_LISTGROUPSFORUSERRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_LISTGROUPSFORUSERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT ListGroupsForUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Group
|
||||
{
|
||||
std::string groupName;
|
||||
std::string comments;
|
||||
std::string joinDate;
|
||||
};
|
||||
|
||||
|
||||
ListGroupsForUserResult();
|
||||
explicit ListGroupsForUserResult(const std::string &payload);
|
||||
~ListGroupsForUserResult();
|
||||
std::vector<Group> getGroups()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Group> groups_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_LISTGROUPSFORUSERRESULT_H_
|
||||
51
ram/include/alibabacloud/ram/model/ListGroupsRequest.h
Normal file
51
ram/include/alibabacloud/ram/model/ListGroupsRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_LISTGROUPSREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_LISTGROUPSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT ListGroupsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListGroupsRequest();
|
||||
~ListGroupsRequest();
|
||||
|
||||
std::string getMarker()const;
|
||||
void setMarker(const std::string& marker);
|
||||
int getMaxItems()const;
|
||||
void setMaxItems(int maxItems);
|
||||
|
||||
private:
|
||||
std::string marker_;
|
||||
int maxItems_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_LISTGROUPSREQUEST_H_
|
||||
62
ram/include/alibabacloud/ram/model/ListGroupsResult.h
Normal file
62
ram/include/alibabacloud/ram/model/ListGroupsResult.h
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_LISTGROUPSRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_LISTGROUPSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT ListGroupsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Group
|
||||
{
|
||||
std::string groupName;
|
||||
std::string updateDate;
|
||||
std::string comments;
|
||||
std::string createDate;
|
||||
};
|
||||
|
||||
|
||||
ListGroupsResult();
|
||||
explicit ListGroupsResult(const std::string &payload);
|
||||
~ListGroupsResult();
|
||||
std::vector<Group> getGroups()const;
|
||||
bool getIsTruncated()const;
|
||||
std::string getMarker()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Group> groups_;
|
||||
bool isTruncated_;
|
||||
std::string marker_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_LISTGROUPSRESULT_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_RAM_MODEL_LISTPOLICIESFORGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_LISTPOLICIESFORGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT ListPoliciesForGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPoliciesForGroupRequest();
|
||||
~ListPoliciesForGroupRequest();
|
||||
|
||||
std::string getGroupName()const;
|
||||
void setGroupName(const std::string& groupName);
|
||||
|
||||
private:
|
||||
std::string groupName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_LISTPOLICIESFORGROUPREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_LISTPOLICIESFORGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_LISTPOLICIESFORGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT ListPoliciesForGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Policy
|
||||
{
|
||||
std::string policyType;
|
||||
std::string description;
|
||||
std::string attachDate;
|
||||
std::string policyName;
|
||||
std::string defaultVersion;
|
||||
};
|
||||
|
||||
|
||||
ListPoliciesForGroupResult();
|
||||
explicit ListPoliciesForGroupResult(const std::string &payload);
|
||||
~ListPoliciesForGroupResult();
|
||||
std::vector<Policy> getPolicies()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Policy> policies_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_LISTPOLICIESFORGROUPRESULT_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_RAM_MODEL_LISTPOLICIESFORROLEREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_LISTPOLICIESFORROLEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT ListPoliciesForRoleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPoliciesForRoleRequest();
|
||||
~ListPoliciesForRoleRequest();
|
||||
|
||||
std::string getRoleName()const;
|
||||
void setRoleName(const std::string& roleName);
|
||||
|
||||
private:
|
||||
std::string roleName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_LISTPOLICIESFORROLEREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_LISTPOLICIESFORROLERESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_LISTPOLICIESFORROLERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT ListPoliciesForRoleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Policy
|
||||
{
|
||||
std::string policyType;
|
||||
std::string description;
|
||||
std::string attachDate;
|
||||
std::string policyName;
|
||||
std::string defaultVersion;
|
||||
};
|
||||
|
||||
|
||||
ListPoliciesForRoleResult();
|
||||
explicit ListPoliciesForRoleResult(const std::string &payload);
|
||||
~ListPoliciesForRoleResult();
|
||||
std::vector<Policy> getPolicies()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Policy> policies_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_LISTPOLICIESFORROLERESULT_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_RAM_MODEL_LISTPOLICIESFORUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_LISTPOLICIESFORUSERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT ListPoliciesForUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPoliciesForUserRequest();
|
||||
~ListPoliciesForUserRequest();
|
||||
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_LISTPOLICIESFORUSERREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_LISTPOLICIESFORUSERRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_LISTPOLICIESFORUSERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT ListPoliciesForUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Policy
|
||||
{
|
||||
std::string policyType;
|
||||
std::string description;
|
||||
std::string attachDate;
|
||||
std::string policyName;
|
||||
std::string defaultVersion;
|
||||
};
|
||||
|
||||
|
||||
ListPoliciesForUserResult();
|
||||
explicit ListPoliciesForUserResult(const std::string &payload);
|
||||
~ListPoliciesForUserResult();
|
||||
std::vector<Policy> getPolicies()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Policy> policies_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_LISTPOLICIESFORUSERRESULT_H_
|
||||
54
ram/include/alibabacloud/ram/model/ListPoliciesRequest.h
Normal file
54
ram/include/alibabacloud/ram/model/ListPoliciesRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_LISTPOLICIESREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_LISTPOLICIESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT ListPoliciesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPoliciesRequest();
|
||||
~ListPoliciesRequest();
|
||||
|
||||
std::string getPolicyType()const;
|
||||
void setPolicyType(const std::string& policyType);
|
||||
std::string getMarker()const;
|
||||
void setMarker(const std::string& marker);
|
||||
int getMaxItems()const;
|
||||
void setMaxItems(int maxItems);
|
||||
|
||||
private:
|
||||
std::string policyType_;
|
||||
std::string marker_;
|
||||
int maxItems_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_LISTPOLICIESREQUEST_H_
|
||||
65
ram/include/alibabacloud/ram/model/ListPoliciesResult.h
Normal file
65
ram/include/alibabacloud/ram/model/ListPoliciesResult.h
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_LISTPOLICIESRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_LISTPOLICIESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT ListPoliciesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Policy
|
||||
{
|
||||
std::string policyType;
|
||||
std::string updateDate;
|
||||
std::string description;
|
||||
int attachmentCount;
|
||||
std::string policyName;
|
||||
std::string defaultVersion;
|
||||
std::string createDate;
|
||||
};
|
||||
|
||||
|
||||
ListPoliciesResult();
|
||||
explicit ListPoliciesResult(const std::string &payload);
|
||||
~ListPoliciesResult();
|
||||
std::vector<Policy> getPolicies()const;
|
||||
bool getIsTruncated()const;
|
||||
std::string getMarker()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Policy> policies_;
|
||||
bool isTruncated_;
|
||||
std::string marker_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_LISTPOLICIESRESULT_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_RAM_MODEL_LISTPOLICYVERSIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_LISTPOLICYVERSIONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT ListPolicyVersionsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPolicyVersionsRequest();
|
||||
~ListPolicyVersionsRequest();
|
||||
|
||||
std::string getPolicyType()const;
|
||||
void setPolicyType(const std::string& policyType);
|
||||
std::string getPolicyName()const;
|
||||
void setPolicyName(const std::string& policyName);
|
||||
|
||||
private:
|
||||
std::string policyType_;
|
||||
std::string policyName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_LISTPOLICYVERSIONSREQUEST_H_
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RAM_MODEL_LISTPOLICYVERSIONSRESULT_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_LISTPOLICYVERSIONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT ListPolicyVersionsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PolicyVersion
|
||||
{
|
||||
std::string versionId;
|
||||
bool isDefaultVersion;
|
||||
std::string policyDocument;
|
||||
std::string createDate;
|
||||
};
|
||||
|
||||
|
||||
ListPolicyVersionsResult();
|
||||
explicit ListPolicyVersionsResult(const std::string &payload);
|
||||
~ListPolicyVersionsResult();
|
||||
std::vector<PolicyVersion> getPolicyVersions()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<PolicyVersion> policyVersions_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_LISTPOLICYVERSIONSRESULT_H_
|
||||
48
ram/include/alibabacloud/ram/model/ListPublicKeysRequest.h
Normal file
48
ram/include/alibabacloud/ram/model/ListPublicKeysRequest.h
Normal file
@@ -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_RAM_MODEL_LISTPUBLICKEYSREQUEST_H_
|
||||
#define ALIBABACLOUD_RAM_MODEL_LISTPUBLICKEYSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ram/RamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ram
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RAM_EXPORT ListPublicKeysRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPublicKeysRequest();
|
||||
~ListPublicKeysRequest();
|
||||
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RAM_MODEL_LISTPUBLICKEYSREQUEST_H_
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user