Generated 2015-05-01 for Ram.

This commit is contained in:
sdk-team
2025-06-13 08:55:13 +00:00
parent 692a2a3429
commit ee32114ccc
219 changed files with 5260 additions and 5750 deletions

View File

@@ -1 +1 @@
1.36.2077
1.36.2078

View File

@@ -51,6 +51,8 @@ set(ram_public_header_model
include/alibabacloud/ram/model/CreateUserResult.h
include/alibabacloud/ram/model/CreateVirtualMFADeviceRequest.h
include/alibabacloud/ram/model/CreateVirtualMFADeviceResult.h
include/alibabacloud/ram/model/DecodeDiagnosticMessageRequest.h
include/alibabacloud/ram/model/DecodeDiagnosticMessageResult.h
include/alibabacloud/ram/model/DeleteAccessKeyRequest.h
include/alibabacloud/ram/model/DeleteAccessKeyResult.h
include/alibabacloud/ram/model/DeleteGroupRequest.h
@@ -61,8 +63,6 @@ set(ram_public_header_model
include/alibabacloud/ram/model/DeletePolicyResult.h
include/alibabacloud/ram/model/DeletePolicyVersionRequest.h
include/alibabacloud/ram/model/DeletePolicyVersionResult.h
include/alibabacloud/ram/model/DeletePublicKeyRequest.h
include/alibabacloud/ram/model/DeletePublicKeyResult.h
include/alibabacloud/ram/model/DeleteRoleRequest.h
include/alibabacloud/ram/model/DeleteRoleResult.h
include/alibabacloud/ram/model/DeleteUserRequest.h
@@ -89,8 +89,6 @@ set(ram_public_header_model
include/alibabacloud/ram/model/GetPolicyResult.h
include/alibabacloud/ram/model/GetPolicyVersionRequest.h
include/alibabacloud/ram/model/GetPolicyVersionResult.h
include/alibabacloud/ram/model/GetPublicKeyRequest.h
include/alibabacloud/ram/model/GetPublicKeyResult.h
include/alibabacloud/ram/model/GetRoleRequest.h
include/alibabacloud/ram/model/GetRoleResult.h
include/alibabacloud/ram/model/GetSecurityPreferenceRequest.h
@@ -117,10 +115,10 @@ set(ram_public_header_model
include/alibabacloud/ram/model/ListPoliciesForUserResult.h
include/alibabacloud/ram/model/ListPolicyVersionsRequest.h
include/alibabacloud/ram/model/ListPolicyVersionsResult.h
include/alibabacloud/ram/model/ListPublicKeysRequest.h
include/alibabacloud/ram/model/ListPublicKeysResult.h
include/alibabacloud/ram/model/ListRolesRequest.h
include/alibabacloud/ram/model/ListRolesResult.h
include/alibabacloud/ram/model/ListTagResourcesRequest.h
include/alibabacloud/ram/model/ListTagResourcesResult.h
include/alibabacloud/ram/model/ListUsersRequest.h
include/alibabacloud/ram/model/ListUsersResult.h
include/alibabacloud/ram/model/ListUsersForGroupRequest.h
@@ -137,22 +135,24 @@ set(ram_public_header_model
include/alibabacloud/ram/model/SetPasswordPolicyResult.h
include/alibabacloud/ram/model/SetSecurityPreferenceRequest.h
include/alibabacloud/ram/model/SetSecurityPreferenceResult.h
include/alibabacloud/ram/model/TagResourcesRequest.h
include/alibabacloud/ram/model/TagResourcesResult.h
include/alibabacloud/ram/model/UnbindMFADeviceRequest.h
include/alibabacloud/ram/model/UnbindMFADeviceResult.h
include/alibabacloud/ram/model/UntagResourcesRequest.h
include/alibabacloud/ram/model/UntagResourcesResult.h
include/alibabacloud/ram/model/UpdateAccessKeyRequest.h
include/alibabacloud/ram/model/UpdateAccessKeyResult.h
include/alibabacloud/ram/model/UpdateGroupRequest.h
include/alibabacloud/ram/model/UpdateGroupResult.h
include/alibabacloud/ram/model/UpdateLoginProfileRequest.h
include/alibabacloud/ram/model/UpdateLoginProfileResult.h
include/alibabacloud/ram/model/UpdatePublicKeyRequest.h
include/alibabacloud/ram/model/UpdatePublicKeyResult.h
include/alibabacloud/ram/model/UpdatePolicyDescriptionRequest.h
include/alibabacloud/ram/model/UpdatePolicyDescriptionResult.h
include/alibabacloud/ram/model/UpdateRoleRequest.h
include/alibabacloud/ram/model/UpdateRoleResult.h
include/alibabacloud/ram/model/UpdateUserRequest.h
include/alibabacloud/ram/model/UpdateUserResult.h
include/alibabacloud/ram/model/UploadPublicKeyRequest.h
include/alibabacloud/ram/model/UploadPublicKeyResult.h )
include/alibabacloud/ram/model/UpdateUserResult.h )
set(ram_src
src/RamClient.cc
@@ -186,6 +186,8 @@ set(ram_src
src/model/CreateUserResult.cc
src/model/CreateVirtualMFADeviceRequest.cc
src/model/CreateVirtualMFADeviceResult.cc
src/model/DecodeDiagnosticMessageRequest.cc
src/model/DecodeDiagnosticMessageResult.cc
src/model/DeleteAccessKeyRequest.cc
src/model/DeleteAccessKeyResult.cc
src/model/DeleteGroupRequest.cc
@@ -196,8 +198,6 @@ set(ram_src
src/model/DeletePolicyResult.cc
src/model/DeletePolicyVersionRequest.cc
src/model/DeletePolicyVersionResult.cc
src/model/DeletePublicKeyRequest.cc
src/model/DeletePublicKeyResult.cc
src/model/DeleteRoleRequest.cc
src/model/DeleteRoleResult.cc
src/model/DeleteUserRequest.cc
@@ -224,8 +224,6 @@ set(ram_src
src/model/GetPolicyResult.cc
src/model/GetPolicyVersionRequest.cc
src/model/GetPolicyVersionResult.cc
src/model/GetPublicKeyRequest.cc
src/model/GetPublicKeyResult.cc
src/model/GetRoleRequest.cc
src/model/GetRoleResult.cc
src/model/GetSecurityPreferenceRequest.cc
@@ -252,10 +250,10 @@ set(ram_src
src/model/ListPoliciesForUserResult.cc
src/model/ListPolicyVersionsRequest.cc
src/model/ListPolicyVersionsResult.cc
src/model/ListPublicKeysRequest.cc
src/model/ListPublicKeysResult.cc
src/model/ListRolesRequest.cc
src/model/ListRolesResult.cc
src/model/ListTagResourcesRequest.cc
src/model/ListTagResourcesResult.cc
src/model/ListUsersRequest.cc
src/model/ListUsersResult.cc
src/model/ListUsersForGroupRequest.cc
@@ -272,22 +270,24 @@ set(ram_src
src/model/SetPasswordPolicyResult.cc
src/model/SetSecurityPreferenceRequest.cc
src/model/SetSecurityPreferenceResult.cc
src/model/TagResourcesRequest.cc
src/model/TagResourcesResult.cc
src/model/UnbindMFADeviceRequest.cc
src/model/UnbindMFADeviceResult.cc
src/model/UntagResourcesRequest.cc
src/model/UntagResourcesResult.cc
src/model/UpdateAccessKeyRequest.cc
src/model/UpdateAccessKeyResult.cc
src/model/UpdateGroupRequest.cc
src/model/UpdateGroupResult.cc
src/model/UpdateLoginProfileRequest.cc
src/model/UpdateLoginProfileResult.cc
src/model/UpdatePublicKeyRequest.cc
src/model/UpdatePublicKeyResult.cc
src/model/UpdatePolicyDescriptionRequest.cc
src/model/UpdatePolicyDescriptionResult.cc
src/model/UpdateRoleRequest.cc
src/model/UpdateRoleResult.cc
src/model/UpdateUserRequest.cc
src/model/UpdateUserResult.cc
src/model/UploadPublicKeyRequest.cc
src/model/UploadPublicKeyResult.cc )
src/model/UpdateUserResult.cc )
add_library(ram ${LIB_TYPE}
${ram_public_header}

View File

@@ -52,6 +52,8 @@
#include "model/CreateUserResult.h"
#include "model/CreateVirtualMFADeviceRequest.h"
#include "model/CreateVirtualMFADeviceResult.h"
#include "model/DecodeDiagnosticMessageRequest.h"
#include "model/DecodeDiagnosticMessageResult.h"
#include "model/DeleteAccessKeyRequest.h"
#include "model/DeleteAccessKeyResult.h"
#include "model/DeleteGroupRequest.h"
@@ -62,8 +64,6 @@
#include "model/DeletePolicyResult.h"
#include "model/DeletePolicyVersionRequest.h"
#include "model/DeletePolicyVersionResult.h"
#include "model/DeletePublicKeyRequest.h"
#include "model/DeletePublicKeyResult.h"
#include "model/DeleteRoleRequest.h"
#include "model/DeleteRoleResult.h"
#include "model/DeleteUserRequest.h"
@@ -90,8 +90,6 @@
#include "model/GetPolicyResult.h"
#include "model/GetPolicyVersionRequest.h"
#include "model/GetPolicyVersionResult.h"
#include "model/GetPublicKeyRequest.h"
#include "model/GetPublicKeyResult.h"
#include "model/GetRoleRequest.h"
#include "model/GetRoleResult.h"
#include "model/GetSecurityPreferenceRequest.h"
@@ -118,10 +116,10 @@
#include "model/ListPoliciesForUserResult.h"
#include "model/ListPolicyVersionsRequest.h"
#include "model/ListPolicyVersionsResult.h"
#include "model/ListPublicKeysRequest.h"
#include "model/ListPublicKeysResult.h"
#include "model/ListRolesRequest.h"
#include "model/ListRolesResult.h"
#include "model/ListTagResourcesRequest.h"
#include "model/ListTagResourcesResult.h"
#include "model/ListUsersRequest.h"
#include "model/ListUsersResult.h"
#include "model/ListUsersForGroupRequest.h"
@@ -138,22 +136,24 @@
#include "model/SetPasswordPolicyResult.h"
#include "model/SetSecurityPreferenceRequest.h"
#include "model/SetSecurityPreferenceResult.h"
#include "model/TagResourcesRequest.h"
#include "model/TagResourcesResult.h"
#include "model/UnbindMFADeviceRequest.h"
#include "model/UnbindMFADeviceResult.h"
#include "model/UntagResourcesRequest.h"
#include "model/UntagResourcesResult.h"
#include "model/UpdateAccessKeyRequest.h"
#include "model/UpdateAccessKeyResult.h"
#include "model/UpdateGroupRequest.h"
#include "model/UpdateGroupResult.h"
#include "model/UpdateLoginProfileRequest.h"
#include "model/UpdateLoginProfileResult.h"
#include "model/UpdatePublicKeyRequest.h"
#include "model/UpdatePublicKeyResult.h"
#include "model/UpdatePolicyDescriptionRequest.h"
#include "model/UpdatePolicyDescriptionResult.h"
#include "model/UpdateRoleRequest.h"
#include "model/UpdateRoleResult.h"
#include "model/UpdateUserRequest.h"
#include "model/UpdateUserResult.h"
#include "model/UploadPublicKeyRequest.h"
#include "model/UploadPublicKeyResult.h"
namespace AlibabaCloud
@@ -208,6 +208,9 @@ namespace AlibabaCloud
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::DecodeDiagnosticMessageResult> DecodeDiagnosticMessageOutcome;
typedef std::future<DecodeDiagnosticMessageOutcome> DecodeDiagnosticMessageOutcomeCallable;
typedef std::function<void(const RamClient*, const Model::DecodeDiagnosticMessageRequest&, const DecodeDiagnosticMessageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DecodeDiagnosticMessageAsyncHandler;
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;
@@ -223,9 +226,6 @@ namespace AlibabaCloud
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::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::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;
@@ -265,9 +265,6 @@ namespace AlibabaCloud
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::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::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;
@@ -307,12 +304,12 @@ namespace AlibabaCloud
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::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::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::ListTagResourcesResult> ListTagResourcesOutcome;
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
typedef std::function<void(const RamClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
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;
@@ -337,9 +334,15 @@ namespace AlibabaCloud
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::TagResourcesResult> TagResourcesOutcome;
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
typedef std::function<void(const RamClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
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::UntagResourcesResult> UntagResourcesOutcome;
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
typedef std::function<void(const RamClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
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;
@@ -349,18 +352,15 @@ namespace AlibabaCloud
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::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::UpdatePolicyDescriptionResult> UpdatePolicyDescriptionOutcome;
typedef std::future<UpdatePolicyDescriptionOutcome> UpdatePolicyDescriptionOutcomeCallable;
typedef std::function<void(const RamClient*, const Model::UpdatePolicyDescriptionRequest&, const UpdatePolicyDescriptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdatePolicyDescriptionAsyncHandler;
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::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::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;
RamClient(const Credentials &credentials, const ClientConfiguration &configuration);
RamClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
@@ -411,6 +411,9 @@ namespace AlibabaCloud
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;
DecodeDiagnosticMessageOutcome decodeDiagnosticMessage(const Model::DecodeDiagnosticMessageRequest &request)const;
void decodeDiagnosticMessageAsync(const Model::DecodeDiagnosticMessageRequest& request, const DecodeDiagnosticMessageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DecodeDiagnosticMessageOutcomeCallable decodeDiagnosticMessageCallable(const Model::DecodeDiagnosticMessageRequest& 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;
@@ -426,9 +429,6 @@ namespace AlibabaCloud
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;
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;
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;
@@ -468,9 +468,6 @@ namespace AlibabaCloud
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;
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;
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;
@@ -510,12 +507,12 @@ namespace AlibabaCloud
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;
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;
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;
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& 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;
@@ -540,9 +537,15 @@ namespace AlibabaCloud
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;
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& 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;
UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const;
void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& 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;
@@ -552,18 +555,15 @@ namespace AlibabaCloud
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;
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;
UpdatePolicyDescriptionOutcome updatePolicyDescription(const Model::UpdatePolicyDescriptionRequest &request)const;
void updatePolicyDescriptionAsync(const Model::UpdatePolicyDescriptionRequest& request, const UpdatePolicyDescriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdatePolicyDescriptionOutcomeCallable updatePolicyDescriptionCallable(const Model::UpdatePolicyDescriptionRequest& 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;
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;
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;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -1,51 +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_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_ADDUSERTOGROUPREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_ADDUSERTOGROUPREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_ADDUSERTOGROUPREQUEST_H_

View File

@@ -1,54 +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_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 getGroupName()const;
void setGroupName(const std::string& groupName);
std::string getPolicyName()const;
void setPolicyName(const std::string& policyName);
private:
std::string policyType_;
std::string groupName_;
std::string policyName_;
};
}
}
}
#endif // !ALIBABACLOUD_RAM_MODEL_ATTACHPOLICYTOGROUPREQUEST_H_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_ATTACHPOLICYTOGROUPREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_ATTACHPOLICYTOGROUPREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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 getGroupName() const;
void setGroupName(const std::string &groupName);
std::string getPolicyName() const;
void setPolicyName(const std::string &policyName);
private:
std::string policyType_;
std::string groupName_;
std::string policyName_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_ATTACHPOLICYTOGROUPREQUEST_H_

View File

@@ -1,54 +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_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_ATTACHPOLICYTOROLEREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_ATTACHPOLICYTOROLEREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_ATTACHPOLICYTOROLEREQUEST_H_

View File

@@ -1,54 +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_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_ATTACHPOLICYTOUSERREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_ATTACHPOLICYTOUSERREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_ATTACHPOLICYTOUSERREQUEST_H_

View File

@@ -1,57 +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_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_BINDMFADEVICEREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_BINDMFADEVICEREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT BindMFADeviceRequest : public RpcServiceRequest {
public:
BindMFADeviceRequest();
~BindMFADeviceRequest();
std::string getAuthenticationCode2() const;
void setAuthenticationCode2(const std::string &authenticationCode2);
std::string getAuthenticationCode1() const;
void setAuthenticationCode1(const std::string &authenticationCode1);
std::string getSerialNumber() const;
void setSerialNumber(const std::string &serialNumber);
std::string getUserName() const;
void setUserName(const std::string &userName);
private:
std::string authenticationCode2_;
std::string authenticationCode1_;
std::string serialNumber_;
std::string userName_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_BINDMFADEVICEREQUEST_H_

View File

@@ -1,51 +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_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_CHANGEPASSWORDREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_CHANGEPASSWORDREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_CHANGEPASSWORDREQUEST_H_

View File

@@ -1,45 +1,39 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_CLEARACCOUNTALIASREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_CLEARACCOUNTALIASREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT ClearAccountAliasRequest : public RpcServiceRequest {
public:
ClearAccountAliasRequest();
~ClearAccountAliasRequest();
private:
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_CLEARACCOUNTALIASREQUEST_H_

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_CREATEACCESSKEYREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_CREATEACCESSKEYREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_CREATEACCESSKEYREQUEST_H_

View File

@@ -1,51 +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_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_CREATEGROUPREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_CREATEGROUPREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_CREATEGROUPREQUEST_H_

View File

@@ -37,6 +37,7 @@ namespace AlibabaCloud
std::string groupName;
std::string comments;
std::string createDate;
std::string groupId;
};

View File

@@ -1,57 +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_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();
bool getPasswordResetRequired()const;
void setPasswordResetRequired(bool passwordResetRequired);
std::string getPassword()const;
void setPassword(const std::string& password);
bool getMFABindRequired()const;
void setMFABindRequired(bool mFABindRequired);
std::string getUserName()const;
void setUserName(const std::string& userName);
private:
bool passwordResetRequired_;
std::string password_;
bool mFABindRequired_;
std::string userName_;
};
}
}
}
#endif // !ALIBABACLOUD_RAM_MODEL_CREATELOGINPROFILEREQUEST_H_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_CREATELOGINPROFILEREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_CREATELOGINPROFILEREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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 getMFABindRequired() const;
void setMFABindRequired(bool mFABindRequired);
bool getPasswordResetRequired() const;
void setPasswordResetRequired(bool passwordResetRequired);
std::string getUserName() const;
void setUserName(const std::string &userName);
private:
std::string password_;
bool mFABindRequired_;
bool passwordResetRequired_;
std::string userName_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_CREATELOGINPROFILEREQUEST_H_

View File

@@ -1,54 +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_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_CREATEPOLICYREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_CREATEPOLICYREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT CreatePolicyRequest : public RpcServiceRequest {
public:
struct Tag {
std::string value;
std::string key;
};
CreatePolicyRequest();
~CreatePolicyRequest();
std::string getDescription() const;
void setDescription(const std::string &description);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
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::vector<Tag> tag_;
std::string policyName_;
std::string policyDocument_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_CREATEPOLICYREQUEST_H_

View File

@@ -36,8 +36,8 @@ namespace AlibabaCloud
{
std::string policyType;
std::string description;
std::string policyName;
std::string defaultVersion;
std::string policyName;
std::string createDate;
};

View File

@@ -1,57 +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_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);
std::string getRotateStrategy()const;
void setRotateStrategy(const std::string& rotateStrategy);
private:
bool setAsDefault_;
std::string policyName_;
std::string policyDocument_;
std::string rotateStrategy_;
};
}
}
}
#endif // !ALIBABACLOUD_RAM_MODEL_CREATEPOLICYVERSIONREQUEST_H_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_CREATEPOLICYVERSIONREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_CREATEPOLICYVERSIONREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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 getRotateStrategy() const;
void setRotateStrategy(const std::string &rotateStrategy);
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 rotateStrategy_;
std::string policyName_;
std::string policyDocument_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_CREATEPOLICYVERSIONREQUEST_H_

View File

@@ -1,57 +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_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();
long getMaxSessionDuration()const;
void setMaxSessionDuration(long maxSessionDuration);
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:
long maxSessionDuration_;
std::string roleName_;
std::string description_;
std::string assumeRolePolicyDocument_;
};
}
}
}
#endif // !ALIBABACLOUD_RAM_MODEL_CREATEROLEREQUEST_H_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_CREATEROLEREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_CREATEROLEREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT CreateRoleRequest : public RpcServiceRequest {
public:
struct Tag {
std::string value;
std::string key;
};
CreateRoleRequest();
~CreateRoleRequest();
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getAssumeRolePolicyDocument() const;
void setAssumeRolePolicyDocument(const std::string &assumeRolePolicyDocument);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
long getMaxSessionDuration() const;
void setMaxSessionDuration(long maxSessionDuration);
std::string getRoleName() const;
void setRoleName(const std::string &roleName);
private:
std::string description_;
std::string assumeRolePolicyDocument_;
std::vector<Tag> tag_;
long maxSessionDuration_;
std::string roleName_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_CREATEROLEREQUEST_H_

View File

@@ -39,8 +39,8 @@ namespace AlibabaCloud
std::string description;
std::string assumeRolePolicyDocument;
std::string arn;
std::string roleId;
std::string createDate;
std::string roleId;
};

View File

@@ -1,60 +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_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 getMobilePhone()const;
void setMobilePhone(const std::string& mobilePhone);
std::string getEmail()const;
void setEmail(const std::string& email);
std::string getComments()const;
void setComments(const std::string& comments);
std::string getDisplayName()const;
void setDisplayName(const std::string& displayName);
std::string getUserName()const;
void setUserName(const std::string& userName);
private:
std::string mobilePhone_;
std::string email_;
std::string comments_;
std::string displayName_;
std::string userName_;
};
}
}
}
#endif // !ALIBABACLOUD_RAM_MODEL_CREATEUSERREQUEST_H_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_CREATEUSERREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_CREATEUSERREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT CreateUserRequest : public RpcServiceRequest {
public:
CreateUserRequest();
~CreateUserRequest();
std::string getMobilePhone() const;
void setMobilePhone(const std::string &mobilePhone);
std::string getEmail() const;
void setEmail(const std::string &email);
std::string getComments() const;
void setComments(const std::string &comments);
std::string getDisplayName() const;
void setDisplayName(const std::string &displayName);
std::string getUserName() const;
void setUserName(const std::string &userName);
private:
std::string mobilePhone_;
std::string email_;
std::string comments_;
std::string displayName_;
std::string userName_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_CREATEUSERREQUEST_H_

View File

@@ -34,8 +34,8 @@ namespace AlibabaCloud
public:
struct User
{
std::string userName;
std::string email;
std::string userName;
std::string userId;
std::string comments;
std::string displayName;

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_CREATEVIRTUALMFADEVICEREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_CREATEVIRTUALMFADEVICEREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_CREATEVIRTUALMFADEVICEREQUEST_H_

View File

@@ -1,51 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_DECODEDIAGNOSTICMESSAGEREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_DECODEDIAGNOSTICMESSAGEREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT DecodeDiagnosticMessageRequest : public RpcServiceRequest {
public:
DecodeDiagnosticMessageRequest();
~DecodeDiagnosticMessageRequest();
std::string getEncodedDiagnosticMessage() const;
void setEncodedDiagnosticMessage(const std::string &encodedDiagnosticMessage);
private:
std::string encodedDiagnosticMessage_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_DECODEDIAGNOSTICMESSAGEREQUEST_H_

View File

@@ -0,0 +1,81 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RAM_MODEL_DECODEDIAGNOSTICMESSAGERESULT_H_
#define ALIBABACLOUD_RAM_MODEL_DECODEDIAGNOSTICMESSAGERESULT_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 DecodeDiagnosticMessageResult : public ServiceResult
{
public:
struct DecodedDiagnosticMessage
{
struct AuthPrincipal
{
std::string authPrincipalOwnerId;
std::string authPrincipalType;
std::string authPrincipalDisplayName;
};
struct AuthConditionsItem
{
std::vector<std::string> conditionValues;
std::string conditionKey;
};
struct MatchedPoliciesItem
{
std::string policyVersion;
std::string policyType;
std::string attachedScope;
std::string policyIdentifier;
std::string attachedEntityType;
std::string effect;
};
std::string noPermissionPolicyType;
bool explicitDeny;
AuthPrincipal authPrincipal;
std::string authResource;
std::vector<AuthConditionsItem> authConditions;
std::vector<MatchedPoliciesItem> matchedPolicies;
std::string authAction;
};
DecodeDiagnosticMessageResult();
explicit DecodeDiagnosticMessageResult(const std::string &payload);
~DecodeDiagnosticMessageResult();
DecodedDiagnosticMessage getDecodedDiagnosticMessage()const;
protected:
void parse(const std::string &payload);
private:
DecodedDiagnosticMessage decodedDiagnosticMessage_;
};
}
}
}
#endif // !ALIBABACLOUD_RAM_MODEL_DECODEDIAGNOSTICMESSAGERESULT_H_

View File

@@ -1,51 +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_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_DELETEACCESSKEYREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_DELETEACCESSKEYREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_DELETEACCESSKEYREQUEST_H_

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_DELETEGROUPREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_DELETEGROUPREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_DELETEGROUPREQUEST_H_

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_DELETELOGINPROFILEREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_DELETELOGINPROFILEREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_DELETELOGINPROFILEREQUEST_H_

View File

@@ -1,48 +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_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_DELETEPOLICYREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_DELETEPOLICYREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT DeletePolicyRequest : public RpcServiceRequest {
public:
DeletePolicyRequest();
~DeletePolicyRequest();
bool getCascadingDelete() const;
void setCascadingDelete(bool cascadingDelete);
std::string getPolicyName() const;
void setPolicyName(const std::string &policyName);
private:
bool cascadingDelete_;
std::string policyName_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_DELETEPOLICYREQUEST_H_

View File

@@ -1,51 +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_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_DELETEPOLICYVERSIONREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_DELETEPOLICYVERSIONREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_DELETEPOLICYVERSIONREQUEST_H_

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_DELETEROLEREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_DELETEROLEREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_DELETEROLEREQUEST_H_

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_DELETEUSERREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_DELETEUSERREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_DELETEUSERREQUEST_H_

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_DELETEVIRTUALMFADEVICEREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_DELETEVIRTUALMFADEVICEREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_DELETEVIRTUALMFADEVICEREQUEST_H_

View File

@@ -1,54 +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_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 getGroupName()const;
void setGroupName(const std::string& groupName);
std::string getPolicyName()const;
void setPolicyName(const std::string& policyName);
private:
std::string policyType_;
std::string groupName_;
std::string policyName_;
};
}
}
}
#endif // !ALIBABACLOUD_RAM_MODEL_DETACHPOLICYFROMGROUPREQUEST_H_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_DETACHPOLICYFROMGROUPREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_DETACHPOLICYFROMGROUPREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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 getGroupName() const;
void setGroupName(const std::string &groupName);
std::string getPolicyName() const;
void setPolicyName(const std::string &policyName);
private:
std::string policyType_;
std::string groupName_;
std::string policyName_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_DETACHPOLICYFROMGROUPREQUEST_H_

View File

@@ -1,54 +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_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_DETACHPOLICYFROMROLEREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_DETACHPOLICYFROMROLEREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_DETACHPOLICYFROMROLEREQUEST_H_

View File

@@ -1,54 +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_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_DETACHPOLICYFROMUSERREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_DETACHPOLICYFROMUSERREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_DETACHPOLICYFROMUSERREQUEST_H_

View File

@@ -1,51 +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_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_GETACCESSKEYLASTUSEDREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_GETACCESSKEYLASTUSEDREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_GETACCESSKEYLASTUSEDREQUEST_H_

View File

@@ -1,45 +1,39 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_GETACCOUNTALIASREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_GETACCOUNTALIASREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT GetAccountAliasRequest : public RpcServiceRequest {
public:
GetAccountAliasRequest();
~GetAccountAliasRequest();
private:
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_GETACCOUNTALIASREQUEST_H_

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_GETGROUPREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_GETGROUPREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_GETGROUPREQUEST_H_

View File

@@ -38,6 +38,7 @@ namespace AlibabaCloud
std::string updateDate;
std::string comments;
std::string createDate;
std::string groupId;
};

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_GETLOGINPROFILEREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_GETLOGINPROFILEREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_GETLOGINPROFILEREQUEST_H_

View File

@@ -1,45 +1,39 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_GETPASSWORDPOLICYREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_GETPASSWORDPOLICYREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT GetPasswordPolicyRequest : public RpcServiceRequest {
public:
GetPasswordPolicyRequest();
~GetPasswordPolicyRequest();
private:
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_GETPASSWORDPOLICYREQUEST_H_

View File

@@ -37,8 +37,8 @@ namespace AlibabaCloud
int minimumPasswordLength;
bool requireLowercaseCharacters;
bool requireNumbers;
int maxPasswordAge;
int passwordReusePrevention;
int maxPasswordAge;
int maxLoginAttemps;
bool hardExpiry;
bool requireUppercaseCharacters;

View File

@@ -1,51 +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_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_GETPOLICYREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_GETPOLICYREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_GETPOLICYREQUEST_H_

View File

@@ -34,12 +34,12 @@ namespace AlibabaCloud
public:
struct Policy
{
std::string policyType;
std::string updateDate;
std::string policyType;
std::string description;
int attachmentCount;
std::string policyName;
std::string defaultVersion;
std::string policyName;
std::string policyDocument;
std::string createDate;
};

View File

@@ -1,54 +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_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 getPolicyType()const;
void setPolicyType(const std::string& policyType);
std::string getVersionId()const;
void setVersionId(const std::string& versionId);
std::string getPolicyName()const;
void setPolicyName(const std::string& policyName);
private:
std::string policyType_;
std::string versionId_;
std::string policyName_;
};
}
}
}
#endif // !ALIBABACLOUD_RAM_MODEL_GETPOLICYVERSIONREQUEST_H_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_GETPOLICYVERSIONREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_GETPOLICYVERSIONREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_GETPOLICYVERSIONREQUEST_H_

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR 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_

View File

@@ -1,58 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR 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_

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_GETROLEREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_GETROLEREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_GETROLEREQUEST_H_

View File

@@ -40,8 +40,8 @@ namespace AlibabaCloud
std::string description;
std::string assumeRolePolicyDocument;
std::string arn;
std::string roleId;
std::string createDate;
std::string roleId;
};

View File

@@ -1,45 +1,39 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_GETSECURITYPREFERENCEREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_GETSECURITYPREFERENCEREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT GetSecurityPreferenceRequest : public RpcServiceRequest {
public:
GetSecurityPreferenceRequest();
~GetSecurityPreferenceRequest();
private:
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_GETSECURITYPREFERENCEREQUEST_H_

View File

@@ -34,6 +34,14 @@ namespace AlibabaCloud
public:
struct SecurityPreference
{
struct AccessKeyPreference
{
bool allowUserToManageAccessKeys;
};
struct MFAPreference
{
bool allowUserToManageMFADevices;
};
struct LoginProfilePreference
{
int loginSessionDuration;
@@ -41,18 +49,10 @@ namespace AlibabaCloud
bool allowUserToChangePassword;
bool enableSaveMFATicket;
};
struct AccessKeyPreference
{
bool allowUserToManageAccessKeys;
};
struct PublicKeyPreference
{
bool allowUserToManagePublicKeys;
};
struct MFAPreference
{
bool allowUserToManageMFADevices;
};
LoginProfilePreference loginProfilePreference;
AccessKeyPreference accessKeyPreference;
PublicKeyPreference publicKeyPreference;

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_GETUSERMFAINFOREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_GETUSERMFAINFOREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_GETUSERMFAINFOREQUEST_H_

View File

@@ -34,6 +34,7 @@ namespace AlibabaCloud
public:
struct MFADevice
{
std::string type;
std::string serialNumber;
};

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_GETUSERREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_GETUSERREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_GETUSERREQUEST_H_

View File

@@ -35,8 +35,8 @@ namespace AlibabaCloud
struct User
{
std::string updateDate;
std::string userName;
std::string email;
std::string userName;
std::string userId;
std::string comments;
std::string displayName;

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_LISTACCESSKEYSREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_LISTACCESSKEYSREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_LISTACCESSKEYSREQUEST_H_

View File

@@ -1,51 +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_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_LISTENTITIESFORPOLICYREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_LISTENTITIESFORPOLICYREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_LISTENTITIESFORPOLICYREQUEST_H_

View File

@@ -38,13 +38,6 @@ namespace AlibabaCloud
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;
@@ -53,6 +46,13 @@ namespace AlibabaCloud
std::string arn;
std::string roleId;
};
struct User
{
std::string userName;
std::string attachDate;
std::string userId;
std::string displayName;
};
ListEntitiesForPolicyResult();

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_LISTGROUPSFORUSERREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_LISTGROUPSFORUSERREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_LISTGROUPSFORUSERREQUEST_H_

View File

@@ -37,6 +37,7 @@ namespace AlibabaCloud
std::string groupName;
std::string comments;
std::string joinDate;
std::string groupId;
};

View File

@@ -1,51 +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_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_LISTGROUPSREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_LISTGROUPSREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_LISTGROUPSREQUEST_H_

View File

@@ -38,6 +38,7 @@ namespace AlibabaCloud
std::string updateDate;
std::string comments;
std::string createDate;
std::string groupId;
};

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_LISTPOLICIESFORGROUPREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_LISTPOLICIESFORGROUPREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_LISTPOLICIESFORGROUPREQUEST_H_

View File

@@ -37,8 +37,8 @@ namespace AlibabaCloud
std::string policyType;
std::string description;
std::string attachDate;
std::string policyName;
std::string defaultVersion;
std::string policyName;
};

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_LISTPOLICIESFORROLEREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_LISTPOLICIESFORROLEREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_LISTPOLICIESFORROLEREQUEST_H_

View File

@@ -37,8 +37,8 @@ namespace AlibabaCloud
std::string policyType;
std::string description;
std::string attachDate;
std::string policyName;
std::string defaultVersion;
std::string policyName;
};

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_LISTPOLICIESFORUSERREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_LISTPOLICIESFORUSERREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_LISTPOLICIESFORUSERREQUEST_H_

View File

@@ -37,8 +37,8 @@ namespace AlibabaCloud
std::string policyType;
std::string description;
std::string attachDate;
std::string policyName;
std::string defaultVersion;
std::string policyName;
};

View File

@@ -1,54 +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_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_LISTPOLICIESREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_LISTPOLICIESREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT ListPoliciesRequest : public RpcServiceRequest {
public:
struct Tag {
std::string value;
std::string key;
};
ListPoliciesRequest();
~ListPoliciesRequest();
std::string getLanguage() const;
void setLanguage(const std::string &language);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
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 language_;
std::vector<Tag> tag_;
std::string policyType_;
std::string marker_;
int maxItems_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_LISTPOLICIESREQUEST_H_

View File

@@ -34,13 +34,19 @@ namespace AlibabaCloud
public:
struct Policy
{
std::string policyType;
struct Tag
{
std::string tagKey;
std::string tagValue;
};
std::string updateDate;
std::string policyType;
std::string description;
int attachmentCount;
std::string policyName;
std::string defaultVersion;
std::string policyName;
std::string createDate;
std::vector<Policy::Tag> tags;
};

View File

@@ -1,51 +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_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_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_LISTPOLICYVERSIONSREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_LISTPOLICYVERSIONSREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_LISTPOLICYVERSIONSREQUEST_H_

View File

@@ -1,48 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR 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_

View File

@@ -1,51 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RAM_MODEL_LISTROLESREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_LISTROLESREQUEST_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 ListRolesRequest : public RpcServiceRequest
{
public:
ListRolesRequest();
~ListRolesRequest();
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_LISTROLESREQUEST_H_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_LISTROLESREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_LISTROLESREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT ListRolesRequest : public RpcServiceRequest {
public:
struct Tag {
std::string value;
std::string key;
};
ListRolesRequest();
~ListRolesRequest();
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
std::string getMarker() const;
void setMarker(const std::string &marker);
int getMaxItems() const;
void setMaxItems(int maxItems);
private:
std::vector<Tag> tag_;
std::string marker_;
int maxItems_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_LISTROLESREQUEST_H_

View File

@@ -34,13 +34,19 @@ namespace AlibabaCloud
public:
struct Role
{
struct Tag
{
std::string tagKey;
std::string tagValue;
};
std::string updateDate;
long maxSessionDuration;
std::string roleName;
std::string description;
std::string arn;
std::string roleId;
std::string createDate;
std::string roleId;
std::vector<Role::Tag> tags;
};

View 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_LISTTAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_LISTTAGRESOURCESREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT ListTagResourcesRequest : public RpcServiceRequest {
public:
struct Tag {
std::string value;
std::string key;
};
ListTagResourcesRequest();
~ListTagResourcesRequest();
std::vector<std::string> getResourceNames() const;
void setResourceNames(const std::vector<std::string> &resourceNames);
std::string getNextToken() const;
void setNextToken(const std::string &nextToken);
int getPageSize() const;
void setPageSize(int pageSize);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
private:
std::vector<std::string> resourceNames_;
std::string nextToken_;
int pageSize_;
std::vector<Tag> tag_;
std::string resourceType_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_LISTTAGRESOURCESREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RAM_MODEL_UPLOADPUBLICKEYRESULT_H_
#define ALIBABACLOUD_RAM_MODEL_UPLOADPUBLICKEYRESULT_H_
#ifndef ALIBABACLOUD_RAM_MODEL_LISTTAGRESOURCESRESULT_H_
#define ALIBABACLOUD_RAM_MODEL_LISTTAGRESOURCESRESULT_H_
#include <string>
#include <vector>
@@ -29,30 +29,32 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_RAM_EXPORT UploadPublicKeyResult : public ServiceResult
class ALIBABACLOUD_RAM_EXPORT ListTagResourcesResult : public ServiceResult
{
public:
struct PublicKey
struct TagResourcesItem
{
std::string status;
std::string publicKeyId;
std::string publicKeySpec;
std::string createDate;
std::string resourceName;
std::string tagKey;
std::string resourceType;
std::string tagValue;
};
UploadPublicKeyResult();
explicit UploadPublicKeyResult(const std::string &payload);
~UploadPublicKeyResult();
PublicKey getPublicKey()const;
ListTagResourcesResult();
explicit ListTagResourcesResult(const std::string &payload);
~ListTagResourcesResult();
std::string getNextToken()const;
std::vector<TagResourcesItem> getTagResources()const;
protected:
void parse(const std::string &payload);
private:
PublicKey publicKey_;
std::string nextToken_;
std::vector<TagResourcesItem> tagResources_;
};
}
}
}
#endif // !ALIBABACLOUD_RAM_MODEL_UPLOADPUBLICKEYRESULT_H_
#endif // !ALIBABACLOUD_RAM_MODEL_LISTTAGRESOURCESRESULT_H_

View File

@@ -1,54 +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_LISTUSERSFORGROUPREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_LISTUSERSFORGROUPREQUEST_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 ListUsersForGroupRequest : public RpcServiceRequest
{
public:
ListUsersForGroupRequest();
~ListUsersForGroupRequest();
std::string getGroupName()const;
void setGroupName(const std::string& groupName);
std::string getMarker()const;
void setMarker(const std::string& marker);
int getMaxItems()const;
void setMaxItems(int maxItems);
private:
std::string groupName_;
std::string marker_;
int maxItems_;
};
}
}
}
#endif // !ALIBABACLOUD_RAM_MODEL_LISTUSERSFORGROUPREQUEST_H_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_LISTUSERSFORGROUPREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_LISTUSERSFORGROUPREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT ListUsersForGroupRequest : public RpcServiceRequest {
public:
ListUsersForGroupRequest();
~ListUsersForGroupRequest();
std::string getGroupName() const;
void setGroupName(const std::string &groupName);
std::string getMarker() const;
void setMarker(const std::string &marker);
int getMaxItems() const;
void setMaxItems(int maxItems);
private:
std::string groupName_;
std::string marker_;
int maxItems_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_LISTUSERSFORGROUPREQUEST_H_

View File

@@ -1,51 +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_LISTUSERSREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_LISTUSERSREQUEST_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 ListUsersRequest : public RpcServiceRequest
{
public:
ListUsersRequest();
~ListUsersRequest();
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_LISTUSERSREQUEST_H_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_LISTUSERSREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_LISTUSERSREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT ListUsersRequest : public RpcServiceRequest {
public:
ListUsersRequest();
~ListUsersRequest();
std::string getMarker() const;
void setMarker(const std::string &marker);
int getMaxItems() const;
void setMaxItems(int maxItems);
private:
std::string marker_;
int maxItems_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_LISTUSERSREQUEST_H_

View File

@@ -35,8 +35,8 @@ namespace AlibabaCloud
struct User
{
std::string updateDate;
std::string userName;
std::string email;
std::string userName;
std::string userId;
std::string comments;
std::string displayName;

View File

@@ -1,45 +1,39 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RAM_MODEL_LISTVIRTUALMFADEVICESREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_LISTVIRTUALMFADEVICESREQUEST_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 ListVirtualMFADevicesRequest : public RpcServiceRequest
{
public:
ListVirtualMFADevicesRequest();
~ListVirtualMFADevicesRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_RAM_MODEL_LISTVIRTUALMFADEVICESREQUEST_H_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_LISTVIRTUALMFADEVICESREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_LISTVIRTUALMFADEVICESREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT ListVirtualMFADevicesRequest : public RpcServiceRequest {
public:
ListVirtualMFADevicesRequest();
~ListVirtualMFADevicesRequest();
private:
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_LISTVIRTUALMFADEVICESREQUEST_H_

View File

@@ -1,51 +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_REMOVEUSERFROMGROUPREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_REMOVEUSERFROMGROUPREQUEST_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 RemoveUserFromGroupRequest : public RpcServiceRequest
{
public:
RemoveUserFromGroupRequest();
~RemoveUserFromGroupRequest();
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_REMOVEUSERFROMGROUPREQUEST_H_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_REMOVEUSERFROMGROUPREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_REMOVEUSERFROMGROUPREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT RemoveUserFromGroupRequest : public RpcServiceRequest {
public:
RemoveUserFromGroupRequest();
~RemoveUserFromGroupRequest();
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_REMOVEUSERFROMGROUPREQUEST_H_

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RAM_MODEL_SETACCOUNTALIASREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_SETACCOUNTALIASREQUEST_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 SetAccountAliasRequest : public RpcServiceRequest
{
public:
SetAccountAliasRequest();
~SetAccountAliasRequest();
std::string getAccountAlias()const;
void setAccountAlias(const std::string& accountAlias);
private:
std::string accountAlias_;
};
}
}
}
#endif // !ALIBABACLOUD_RAM_MODEL_SETACCOUNTALIASREQUEST_H_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_SETACCOUNTALIASREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_SETACCOUNTALIASREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT SetAccountAliasRequest : public RpcServiceRequest {
public:
SetAccountAliasRequest();
~SetAccountAliasRequest();
std::string getAccountAlias() const;
void setAccountAlias(const std::string &accountAlias);
private:
std::string accountAlias_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_SETACCOUNTALIASREQUEST_H_

View File

@@ -1,51 +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_SETDEFAULTPOLICYVERSIONREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_SETDEFAULTPOLICYVERSIONREQUEST_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 SetDefaultPolicyVersionRequest : public RpcServiceRequest
{
public:
SetDefaultPolicyVersionRequest();
~SetDefaultPolicyVersionRequest();
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_SETDEFAULTPOLICYVERSIONREQUEST_H_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_SETDEFAULTPOLICYVERSIONREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_SETDEFAULTPOLICYVERSIONREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT SetDefaultPolicyVersionRequest : public RpcServiceRequest {
public:
SetDefaultPolicyVersionRequest();
~SetDefaultPolicyVersionRequest();
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_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_SETDEFAULTPOLICYVERSIONREQUEST_H_

View File

@@ -1,72 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RAM_MODEL_SETPASSWORDPOLICYREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_SETPASSWORDPOLICYREQUEST_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 SetPasswordPolicyRequest : public RpcServiceRequest
{
public:
SetPasswordPolicyRequest();
~SetPasswordPolicyRequest();
int getPasswordReusePrevention()const;
void setPasswordReusePrevention(int passwordReusePrevention);
bool getRequireUppercaseCharacters()const;
void setRequireUppercaseCharacters(bool requireUppercaseCharacters);
int getMinimumPasswordLength()const;
void setMinimumPasswordLength(int minimumPasswordLength);
bool getRequireNumbers()const;
void setRequireNumbers(bool requireNumbers);
bool getRequireLowercaseCharacters()const;
void setRequireLowercaseCharacters(bool requireLowercaseCharacters);
int getMaxPasswordAge()const;
void setMaxPasswordAge(int maxPasswordAge);
int getMaxLoginAttemps()const;
void setMaxLoginAttemps(int maxLoginAttemps);
bool getHardExpiry()const;
void setHardExpiry(bool hardExpiry);
bool getRequireSymbols()const;
void setRequireSymbols(bool requireSymbols);
private:
int passwordReusePrevention_;
bool requireUppercaseCharacters_;
int minimumPasswordLength_;
bool requireNumbers_;
bool requireLowercaseCharacters_;
int maxPasswordAge_;
int maxLoginAttemps_;
bool hardExpiry_;
bool requireSymbols_;
};
}
}
}
#endif // !ALIBABACLOUD_RAM_MODEL_SETPASSWORDPOLICYREQUEST_H_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_SETPASSWORDPOLICYREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_SETPASSWORDPOLICYREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT SetPasswordPolicyRequest : public RpcServiceRequest {
public:
SetPasswordPolicyRequest();
~SetPasswordPolicyRequest();
int getPasswordReusePrevention() const;
void setPasswordReusePrevention(int passwordReusePrevention);
bool getRequireUppercaseCharacters() const;
void setRequireUppercaseCharacters(bool requireUppercaseCharacters);
int getMinimumPasswordLength() const;
void setMinimumPasswordLength(int minimumPasswordLength);
bool getRequireNumbers() const;
void setRequireNumbers(bool requireNumbers);
bool getRequireLowercaseCharacters() const;
void setRequireLowercaseCharacters(bool requireLowercaseCharacters);
int getMaxPasswordAge() const;
void setMaxPasswordAge(int maxPasswordAge);
int getMaxLoginAttemps() const;
void setMaxLoginAttemps(int maxLoginAttemps);
bool getHardExpiry() const;
void setHardExpiry(bool hardExpiry);
bool getRequireSymbols() const;
void setRequireSymbols(bool requireSymbols);
private:
int passwordReusePrevention_;
bool requireUppercaseCharacters_;
int minimumPasswordLength_;
bool requireNumbers_;
bool requireLowercaseCharacters_;
int maxPasswordAge_;
int maxLoginAttemps_;
bool hardExpiry_;
bool requireSymbols_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_SETPASSWORDPOLICYREQUEST_H_

View File

@@ -37,8 +37,8 @@ namespace AlibabaCloud
int minimumPasswordLength;
bool requireLowercaseCharacters;
bool requireNumbers;
int maxPasswordAge;
int passwordReusePrevention;
int maxPasswordAge;
int maxLoginAttemps;
bool hardExpiry;
bool requireUppercaseCharacters;

View File

@@ -1,66 +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_SETSECURITYPREFERENCEREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_SETSECURITYPREFERENCEREQUEST_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 SetSecurityPreferenceRequest : public RpcServiceRequest
{
public:
SetSecurityPreferenceRequest();
~SetSecurityPreferenceRequest();
bool getEnableSaveMFATicket()const;
void setEnableSaveMFATicket(bool enableSaveMFATicket);
std::string getLoginNetworkMasks()const;
void setLoginNetworkMasks(const std::string& loginNetworkMasks);
bool getAllowUserToChangePassword()const;
void setAllowUserToChangePassword(bool allowUserToChangePassword);
bool getAllowUserToManagePublicKeys()const;
void setAllowUserToManagePublicKeys(bool allowUserToManagePublicKeys);
int getLoginSessionDuration()const;
void setLoginSessionDuration(int loginSessionDuration);
bool getAllowUserToManageAccessKeys()const;
void setAllowUserToManageAccessKeys(bool allowUserToManageAccessKeys);
bool getAllowUserToManageMFADevices()const;
void setAllowUserToManageMFADevices(bool allowUserToManageMFADevices);
private:
bool enableSaveMFATicket_;
std::string loginNetworkMasks_;
bool allowUserToChangePassword_;
bool allowUserToManagePublicKeys_;
int loginSessionDuration_;
bool allowUserToManageAccessKeys_;
bool allowUserToManageMFADevices_;
};
}
}
}
#endif // !ALIBABACLOUD_RAM_MODEL_SETSECURITYPREFERENCEREQUEST_H_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_SETSECURITYPREFERENCEREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_SETSECURITYPREFERENCEREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT SetSecurityPreferenceRequest : public RpcServiceRequest {
public:
SetSecurityPreferenceRequest();
~SetSecurityPreferenceRequest();
bool getEnableSaveMFATicket() const;
void setEnableSaveMFATicket(bool enableSaveMFATicket);
std::string getLoginNetworkMasks() const;
void setLoginNetworkMasks(const std::string &loginNetworkMasks);
bool getAllowUserToChangePassword() const;
void setAllowUserToChangePassword(bool allowUserToChangePassword);
bool getAllowUserToManagePublicKeys() const;
void setAllowUserToManagePublicKeys(bool allowUserToManagePublicKeys);
int getLoginSessionDuration() const;
void setLoginSessionDuration(int loginSessionDuration);
bool getAllowUserToManageAccessKeys() const;
void setAllowUserToManageAccessKeys(bool allowUserToManageAccessKeys);
bool getAllowUserToManageMFADevices() const;
void setAllowUserToManageMFADevices(bool allowUserToManageMFADevices);
private:
bool enableSaveMFATicket_;
std::string loginNetworkMasks_;
bool allowUserToChangePassword_;
bool allowUserToManagePublicKeys_;
int loginSessionDuration_;
bool allowUserToManageAccessKeys_;
bool allowUserToManageMFADevices_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_SETSECURITYPREFERENCEREQUEST_H_

View File

@@ -34,6 +34,14 @@ namespace AlibabaCloud
public:
struct SecurityPreference
{
struct AccessKeyPreference
{
bool allowUserToManageAccessKeys;
};
struct MFAPreference
{
bool allowUserToManageMFADevices;
};
struct LoginProfilePreference
{
int loginSessionDuration;
@@ -41,18 +49,10 @@ namespace AlibabaCloud
bool allowUserToChangePassword;
bool enableSaveMFATicket;
};
struct AccessKeyPreference
{
bool allowUserToManageAccessKeys;
};
struct PublicKeyPreference
{
bool allowUserToManagePublicKeys;
};
struct MFAPreference
{
bool allowUserToManageMFADevices;
};
LoginProfilePreference loginProfilePreference;
AccessKeyPreference accessKeyPreference;
PublicKeyPreference publicKeyPreference;

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RAM_MODEL_TAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_TAGRESOURCESREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT TagResourcesRequest : public RpcServiceRequest {
public:
struct Tag {
std::string value;
std::string key;
};
TagResourcesRequest();
~TagResourcesRequest();
std::vector<std::string> getResourceNames() const;
void setResourceNames(const std::vector<std::string> &resourceNames);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
private:
std::vector<std::string> resourceNames_;
std::vector<Tag> tag_;
std::string resourceType_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_TAGRESOURCESREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RAM_MODEL_UPDATEPUBLICKEYRESULT_H_
#define ALIBABACLOUD_RAM_MODEL_UPDATEPUBLICKEYRESULT_H_
#ifndef ALIBABACLOUD_RAM_MODEL_TAGRESOURCESRESULT_H_
#define ALIBABACLOUD_RAM_MODEL_TAGRESOURCESRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_RAM_EXPORT UpdatePublicKeyResult : public ServiceResult
class ALIBABACLOUD_RAM_EXPORT TagResourcesResult : public ServiceResult
{
public:
UpdatePublicKeyResult();
explicit UpdatePublicKeyResult(const std::string &payload);
~UpdatePublicKeyResult();
TagResourcesResult();
explicit TagResourcesResult(const std::string &payload);
~TagResourcesResult();
protected:
void parse(const std::string &payload);
@@ -46,4 +46,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_RAM_MODEL_UPDATEPUBLICKEYRESULT_H_
#endif // !ALIBABACLOUD_RAM_MODEL_TAGRESOURCESRESULT_H_

View File

@@ -1,48 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RAM_MODEL_UNBINDMFADEVICEREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_UNBINDMFADEVICEREQUEST_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 UnbindMFADeviceRequest : public RpcServiceRequest
{
public:
UnbindMFADeviceRequest();
~UnbindMFADeviceRequest();
std::string getUserName()const;
void setUserName(const std::string& userName);
private:
std::string userName_;
};
}
}
}
#endif // !ALIBABACLOUD_RAM_MODEL_UNBINDMFADEVICEREQUEST_H_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_UNBINDMFADEVICEREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_UNBINDMFADEVICEREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT UnbindMFADeviceRequest : public RpcServiceRequest {
public:
UnbindMFADeviceRequest();
~UnbindMFADeviceRequest();
std::string getUserName() const;
void setUserName(const std::string &userName);
private:
std::string userName_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_UNBINDMFADEVICEREQUEST_H_

View 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_UNTAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_UNTAGRESOURCESREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT UntagResourcesRequest : public RpcServiceRequest {
public:
UntagResourcesRequest();
~UntagResourcesRequest();
std::vector<std::string> getResourceNames() const;
void setResourceNames(const std::vector<std::string> &resourceNames);
bool getAll() const;
void setAll(bool all);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
std::vector<std::string> getTagKeys() const;
void setTagKeys(const std::vector<std::string> &tagKeys);
private:
std::vector<std::string> resourceNames_;
bool all_;
std::string resourceType_;
std::vector<std::string> tagKeys_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_UNTAGRESOURCESREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RAM_MODEL_DELETEPUBLICKEYRESULT_H_
#define ALIBABACLOUD_RAM_MODEL_DELETEPUBLICKEYRESULT_H_
#ifndef ALIBABACLOUD_RAM_MODEL_UNTAGRESOURCESRESULT_H_
#define ALIBABACLOUD_RAM_MODEL_UNTAGRESOURCESRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_RAM_EXPORT DeletePublicKeyResult : public ServiceResult
class ALIBABACLOUD_RAM_EXPORT UntagResourcesResult : public ServiceResult
{
public:
DeletePublicKeyResult();
explicit DeletePublicKeyResult(const std::string &payload);
~DeletePublicKeyResult();
UntagResourcesResult();
explicit UntagResourcesResult(const std::string &payload);
~UntagResourcesResult();
protected:
void parse(const std::string &payload);
@@ -46,4 +46,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_RAM_MODEL_DELETEPUBLICKEYRESULT_H_
#endif // !ALIBABACLOUD_RAM_MODEL_UNTAGRESOURCESRESULT_H_

View File

@@ -1,54 +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_UPDATEACCESSKEYREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_UPDATEACCESSKEYREQUEST_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 UpdateAccessKeyRequest : public RpcServiceRequest
{
public:
UpdateAccessKeyRequest();
~UpdateAccessKeyRequest();
std::string getUserAccessKeyId()const;
void setUserAccessKeyId(const std::string& userAccessKeyId);
std::string getUserName()const;
void setUserName(const std::string& userName);
std::string getStatus()const;
void setStatus(const std::string& status);
private:
std::string userAccessKeyId_;
std::string userName_;
std::string status_;
};
}
}
}
#endif // !ALIBABACLOUD_RAM_MODEL_UPDATEACCESSKEYREQUEST_H_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_UPDATEACCESSKEYREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_UPDATEACCESSKEYREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT UpdateAccessKeyRequest : public RpcServiceRequest {
public:
UpdateAccessKeyRequest();
~UpdateAccessKeyRequest();
std::string getUserAccessKeyId() const;
void setUserAccessKeyId(const std::string &userAccessKeyId);
std::string getUserName() const;
void setUserName(const std::string &userName);
std::string getStatus() const;
void setStatus(const std::string &status);
private:
std::string userAccessKeyId_;
std::string userName_;
std::string status_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_UPDATEACCESSKEYREQUEST_H_

View File

@@ -1,54 +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_UPDATEGROUPREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_UPDATEGROUPREQUEST_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 UpdateGroupRequest : public RpcServiceRequest
{
public:
UpdateGroupRequest();
~UpdateGroupRequest();
std::string getGroupName()const;
void setGroupName(const std::string& groupName);
std::string getNewGroupName()const;
void setNewGroupName(const std::string& newGroupName);
std::string getNewComments()const;
void setNewComments(const std::string& newComments);
private:
std::string groupName_;
std::string newGroupName_;
std::string newComments_;
};
}
}
}
#endif // !ALIBABACLOUD_RAM_MODEL_UPDATEGROUPREQUEST_H_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_UPDATEGROUPREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_UPDATEGROUPREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT UpdateGroupRequest : public RpcServiceRequest {
public:
UpdateGroupRequest();
~UpdateGroupRequest();
std::string getGroupName() const;
void setGroupName(const std::string &groupName);
std::string getNewGroupName() const;
void setNewGroupName(const std::string &newGroupName);
std::string getNewComments() const;
void setNewComments(const std::string &newComments);
private:
std::string groupName_;
std::string newGroupName_;
std::string newComments_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_UPDATEGROUPREQUEST_H_

View File

@@ -38,6 +38,7 @@ namespace AlibabaCloud
std::string updateDate;
std::string comments;
std::string createDate;
std::string groupId;
};

View File

@@ -1,57 +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_UPDATELOGINPROFILEREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_UPDATELOGINPROFILEREQUEST_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 UpdateLoginProfileRequest : public RpcServiceRequest
{
public:
UpdateLoginProfileRequest();
~UpdateLoginProfileRequest();
bool getPasswordResetRequired()const;
void setPasswordResetRequired(bool passwordResetRequired);
std::string getPassword()const;
void setPassword(const std::string& password);
bool getMFABindRequired()const;
void setMFABindRequired(bool mFABindRequired);
std::string getUserName()const;
void setUserName(const std::string& userName);
private:
bool passwordResetRequired_;
std::string password_;
bool mFABindRequired_;
std::string userName_;
};
}
}
}
#endif // !ALIBABACLOUD_RAM_MODEL_UPDATELOGINPROFILEREQUEST_H_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_UPDATELOGINPROFILEREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_UPDATELOGINPROFILEREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT UpdateLoginProfileRequest : public RpcServiceRequest {
public:
UpdateLoginProfileRequest();
~UpdateLoginProfileRequest();
std::string getPassword() const;
void setPassword(const std::string &password);
bool getMFABindRequired() const;
void setMFABindRequired(bool mFABindRequired);
bool getPasswordResetRequired() const;
void setPasswordResetRequired(bool passwordResetRequired);
std::string getUserName() const;
void setUserName(const std::string &userName);
private:
std::string password_;
bool mFABindRequired_;
bool passwordResetRequired_;
std::string userName_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_UPDATELOGINPROFILEREQUEST_H_

View 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_UPDATEPOLICYDESCRIPTIONREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_UPDATEPOLICYDESCRIPTIONREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT UpdatePolicyDescriptionRequest : public RpcServiceRequest {
public:
UpdatePolicyDescriptionRequest();
~UpdatePolicyDescriptionRequest();
std::string getPolicyName() const;
void setPolicyName(const std::string &policyName);
std::string getNewDescription() const;
void setNewDescription(const std::string &newDescription);
private:
std::string policyName_;
std::string newDescription_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_UPDATEPOLICYDESCRIPTIONREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RAM_MODEL_LISTPUBLICKEYSRESULT_H_
#define ALIBABACLOUD_RAM_MODEL_LISTPUBLICKEYSRESULT_H_
#ifndef ALIBABACLOUD_RAM_MODEL_UPDATEPOLICYDESCRIPTIONRESULT_H_
#define ALIBABACLOUD_RAM_MODEL_UPDATEPOLICYDESCRIPTIONRESULT_H_
#include <string>
#include <vector>
@@ -29,29 +29,32 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_RAM_EXPORT ListPublicKeysResult : public ServiceResult
class ALIBABACLOUD_RAM_EXPORT UpdatePolicyDescriptionResult : public ServiceResult
{
public:
struct PublicKey
struct Policy
{
std::string status;
std::string publicKeyId;
std::string policyType;
std::string updateDate;
std::string description;
std::string policyName;
std::string defaultVersion;
std::string createDate;
};
ListPublicKeysResult();
explicit ListPublicKeysResult(const std::string &payload);
~ListPublicKeysResult();
std::vector<PublicKey> getPublicKeys()const;
UpdatePolicyDescriptionResult();
explicit UpdatePolicyDescriptionResult(const std::string &payload);
~UpdatePolicyDescriptionResult();
Policy getPolicy()const;
protected:
void parse(const std::string &payload);
private:
std::vector<PublicKey> publicKeys_;
Policy policy_;
};
}
}
}
#endif // !ALIBABACLOUD_RAM_MODEL_LISTPUBLICKEYSRESULT_H_
#endif // !ALIBABACLOUD_RAM_MODEL_UPDATEPOLICYDESCRIPTIONRESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR 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_UPDATEPUBLICKEYREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_UPDATEPUBLICKEYREQUEST_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 UpdatePublicKeyRequest : public RpcServiceRequest
{
public:
UpdatePublicKeyRequest();
~UpdatePublicKeyRequest();
std::string getUserPublicKeyId()const;
void setUserPublicKeyId(const std::string& userPublicKeyId);
std::string getUserName()const;
void setUserName(const std::string& userName);
std::string getStatus()const;
void setStatus(const std::string& status);
private:
std::string userPublicKeyId_;
std::string userName_;
std::string status_;
};
}
}
}
#endif // !ALIBABACLOUD_RAM_MODEL_UPDATEPUBLICKEYREQUEST_H_

View File

@@ -1,54 +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_UPDATEROLEREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_UPDATEROLEREQUEST_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 UpdateRoleRequest : public RpcServiceRequest
{
public:
UpdateRoleRequest();
~UpdateRoleRequest();
std::string getNewAssumeRolePolicyDocument()const;
void setNewAssumeRolePolicyDocument(const std::string& newAssumeRolePolicyDocument);
std::string getRoleName()const;
void setRoleName(const std::string& roleName);
long getNewMaxSessionDuration()const;
void setNewMaxSessionDuration(long newMaxSessionDuration);
private:
std::string newAssumeRolePolicyDocument_;
std::string roleName_;
long newMaxSessionDuration_;
};
}
}
}
#endif // !ALIBABACLOUD_RAM_MODEL_UPDATEROLEREQUEST_H_
*/
#ifndef ALIBABACLOUD_RAM_MODEL_UPDATEROLEREQUEST_H_
#define ALIBABACLOUD_RAM_MODEL_UPDATEROLEREQUEST_H_
#include <alibabacloud/ram/RamExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ram {
namespace Model {
class ALIBABACLOUD_RAM_EXPORT UpdateRoleRequest : public RpcServiceRequest {
public:
UpdateRoleRequest();
~UpdateRoleRequest();
long getNewMaxSessionDuration() const;
void setNewMaxSessionDuration(long newMaxSessionDuration);
std::string getNewDescription() const;
void setNewDescription(const std::string &newDescription);
std::string getNewAssumeRolePolicyDocument() const;
void setNewAssumeRolePolicyDocument(const std::string &newAssumeRolePolicyDocument);
std::string getRoleName() const;
void setRoleName(const std::string &roleName);
private:
long newMaxSessionDuration_;
std::string newDescription_;
std::string newAssumeRolePolicyDocument_;
std::string roleName_;
};
} // namespace Model
} // namespace Ram
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RAM_MODEL_UPDATEROLEREQUEST_H_

Some files were not shown because too many files have changed in this diff Show More