Supported Custom Privacy Policy.
This commit is contained in:
@@ -23,6 +23,8 @@ set(eiam_public_header
|
||||
set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/AddApplicationAccountToUserRequest.h
|
||||
include/alibabacloud/eiam/model/AddApplicationAccountToUserResult.h
|
||||
include/alibabacloud/eiam/model/AddCustomPrivacyPoliciesToBrandRequest.h
|
||||
include/alibabacloud/eiam/model/AddCustomPrivacyPoliciesToBrandResult.h
|
||||
include/alibabacloud/eiam/model/AddUserToOrganizationalUnitsRequest.h
|
||||
include/alibabacloud/eiam/model/AddUserToOrganizationalUnitsResult.h
|
||||
include/alibabacloud/eiam/model/AddUsersToGroupRequest.h
|
||||
@@ -45,6 +47,8 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/CreateBrandResult.h
|
||||
include/alibabacloud/eiam/model/CreateConditionalAccessPolicyRequest.h
|
||||
include/alibabacloud/eiam/model/CreateConditionalAccessPolicyResult.h
|
||||
include/alibabacloud/eiam/model/CreateCustomPrivacyPolicyRequest.h
|
||||
include/alibabacloud/eiam/model/CreateCustomPrivacyPolicyResult.h
|
||||
include/alibabacloud/eiam/model/CreateDomainRequest.h
|
||||
include/alibabacloud/eiam/model/CreateDomainResult.h
|
||||
include/alibabacloud/eiam/model/CreateDomainProxyTokenRequest.h
|
||||
@@ -77,6 +81,8 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/DeleteBrandResult.h
|
||||
include/alibabacloud/eiam/model/DeleteConditionalAccessPolicyRequest.h
|
||||
include/alibabacloud/eiam/model/DeleteConditionalAccessPolicyResult.h
|
||||
include/alibabacloud/eiam/model/DeleteCustomPrivacyPolicyRequest.h
|
||||
include/alibabacloud/eiam/model/DeleteCustomPrivacyPolicyResult.h
|
||||
include/alibabacloud/eiam/model/DeleteDomainRequest.h
|
||||
include/alibabacloud/eiam/model/DeleteDomainResult.h
|
||||
include/alibabacloud/eiam/model/DeleteDomainProxyTokenRequest.h
|
||||
@@ -117,6 +123,8 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/DisableBrandResult.h
|
||||
include/alibabacloud/eiam/model/DisableConditionalAccessPolicyRequest.h
|
||||
include/alibabacloud/eiam/model/DisableConditionalAccessPolicyResult.h
|
||||
include/alibabacloud/eiam/model/DisableCustomPrivacyPolicyRequest.h
|
||||
include/alibabacloud/eiam/model/DisableCustomPrivacyPolicyResult.h
|
||||
include/alibabacloud/eiam/model/DisableDomainProxyTokenRequest.h
|
||||
include/alibabacloud/eiam/model/DisableDomainProxyTokenResult.h
|
||||
include/alibabacloud/eiam/model/DisableFederatedCredentialProviderRequest.h
|
||||
@@ -147,6 +155,8 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/EnableBrandResult.h
|
||||
include/alibabacloud/eiam/model/EnableConditionalAccessPolicyRequest.h
|
||||
include/alibabacloud/eiam/model/EnableConditionalAccessPolicyResult.h
|
||||
include/alibabacloud/eiam/model/EnableCustomPrivacyPolicyRequest.h
|
||||
include/alibabacloud/eiam/model/EnableCustomPrivacyPolicyResult.h
|
||||
include/alibabacloud/eiam/model/EnableDomainProxyTokenRequest.h
|
||||
include/alibabacloud/eiam/model/EnableDomainProxyTokenResult.h
|
||||
include/alibabacloud/eiam/model/EnableFederatedCredentialProviderRequest.h
|
||||
@@ -177,6 +187,8 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/GetBrandResult.h
|
||||
include/alibabacloud/eiam/model/GetConditionalAccessPolicyRequest.h
|
||||
include/alibabacloud/eiam/model/GetConditionalAccessPolicyResult.h
|
||||
include/alibabacloud/eiam/model/GetCustomPrivacyPolicyRequest.h
|
||||
include/alibabacloud/eiam/model/GetCustomPrivacyPolicyResult.h
|
||||
include/alibabacloud/eiam/model/GetDomainRequest.h
|
||||
include/alibabacloud/eiam/model/GetDomainResult.h
|
||||
include/alibabacloud/eiam/model/GetDomainDnsChallengeRequest.h
|
||||
@@ -253,6 +265,10 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/ListConditionalAccessPoliciesForNetworkZoneResult.h
|
||||
include/alibabacloud/eiam/model/ListConditionalAccessPoliciesForUserRequest.h
|
||||
include/alibabacloud/eiam/model/ListConditionalAccessPoliciesForUserResult.h
|
||||
include/alibabacloud/eiam/model/ListCustomPrivacyPoliciesRequest.h
|
||||
include/alibabacloud/eiam/model/ListCustomPrivacyPoliciesResult.h
|
||||
include/alibabacloud/eiam/model/ListCustomPrivacyPoliciesForBrandRequest.h
|
||||
include/alibabacloud/eiam/model/ListCustomPrivacyPoliciesForBrandResult.h
|
||||
include/alibabacloud/eiam/model/ListDomainProxyTokensRequest.h
|
||||
include/alibabacloud/eiam/model/ListDomainProxyTokensResult.h
|
||||
include/alibabacloud/eiam/model/ListDomainsRequest.h
|
||||
@@ -309,6 +325,8 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/ObtainDomainProxyTokenResult.h
|
||||
include/alibabacloud/eiam/model/RemoveApplicationAccountFromUserRequest.h
|
||||
include/alibabacloud/eiam/model/RemoveApplicationAccountFromUserResult.h
|
||||
include/alibabacloud/eiam/model/RemoveCustomPrivacyPoliciesFromBrandRequest.h
|
||||
include/alibabacloud/eiam/model/RemoveCustomPrivacyPoliciesFromBrandResult.h
|
||||
include/alibabacloud/eiam/model/RemoveUserFromOrganizationalUnitsRequest.h
|
||||
include/alibabacloud/eiam/model/RemoveUserFromOrganizationalUnitsResult.h
|
||||
include/alibabacloud/eiam/model/RemoveUsersFromGroupRequest.h
|
||||
@@ -369,6 +387,8 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/UpdateConditionalAccessPolicyResult.h
|
||||
include/alibabacloud/eiam/model/UpdateConditionalAccessPolicyDescriptionRequest.h
|
||||
include/alibabacloud/eiam/model/UpdateConditionalAccessPolicyDescriptionResult.h
|
||||
include/alibabacloud/eiam/model/UpdateCustomPrivacyPolicyRequest.h
|
||||
include/alibabacloud/eiam/model/UpdateCustomPrivacyPolicyResult.h
|
||||
include/alibabacloud/eiam/model/UpdateDomainBrandRequest.h
|
||||
include/alibabacloud/eiam/model/UpdateDomainBrandResult.h
|
||||
include/alibabacloud/eiam/model/UpdateDomainIcpNumberRequest.h
|
||||
@@ -408,6 +428,8 @@ set(eiam_src
|
||||
src/EiamClient.cc
|
||||
src/model/AddApplicationAccountToUserRequest.cc
|
||||
src/model/AddApplicationAccountToUserResult.cc
|
||||
src/model/AddCustomPrivacyPoliciesToBrandRequest.cc
|
||||
src/model/AddCustomPrivacyPoliciesToBrandResult.cc
|
||||
src/model/AddUserToOrganizationalUnitsRequest.cc
|
||||
src/model/AddUserToOrganizationalUnitsResult.cc
|
||||
src/model/AddUsersToGroupRequest.cc
|
||||
@@ -430,6 +452,8 @@ set(eiam_src
|
||||
src/model/CreateBrandResult.cc
|
||||
src/model/CreateConditionalAccessPolicyRequest.cc
|
||||
src/model/CreateConditionalAccessPolicyResult.cc
|
||||
src/model/CreateCustomPrivacyPolicyRequest.cc
|
||||
src/model/CreateCustomPrivacyPolicyResult.cc
|
||||
src/model/CreateDomainRequest.cc
|
||||
src/model/CreateDomainResult.cc
|
||||
src/model/CreateDomainProxyTokenRequest.cc
|
||||
@@ -462,6 +486,8 @@ set(eiam_src
|
||||
src/model/DeleteBrandResult.cc
|
||||
src/model/DeleteConditionalAccessPolicyRequest.cc
|
||||
src/model/DeleteConditionalAccessPolicyResult.cc
|
||||
src/model/DeleteCustomPrivacyPolicyRequest.cc
|
||||
src/model/DeleteCustomPrivacyPolicyResult.cc
|
||||
src/model/DeleteDomainRequest.cc
|
||||
src/model/DeleteDomainResult.cc
|
||||
src/model/DeleteDomainProxyTokenRequest.cc
|
||||
@@ -502,6 +528,8 @@ set(eiam_src
|
||||
src/model/DisableBrandResult.cc
|
||||
src/model/DisableConditionalAccessPolicyRequest.cc
|
||||
src/model/DisableConditionalAccessPolicyResult.cc
|
||||
src/model/DisableCustomPrivacyPolicyRequest.cc
|
||||
src/model/DisableCustomPrivacyPolicyResult.cc
|
||||
src/model/DisableDomainProxyTokenRequest.cc
|
||||
src/model/DisableDomainProxyTokenResult.cc
|
||||
src/model/DisableFederatedCredentialProviderRequest.cc
|
||||
@@ -532,6 +560,8 @@ set(eiam_src
|
||||
src/model/EnableBrandResult.cc
|
||||
src/model/EnableConditionalAccessPolicyRequest.cc
|
||||
src/model/EnableConditionalAccessPolicyResult.cc
|
||||
src/model/EnableCustomPrivacyPolicyRequest.cc
|
||||
src/model/EnableCustomPrivacyPolicyResult.cc
|
||||
src/model/EnableDomainProxyTokenRequest.cc
|
||||
src/model/EnableDomainProxyTokenResult.cc
|
||||
src/model/EnableFederatedCredentialProviderRequest.cc
|
||||
@@ -562,6 +592,8 @@ set(eiam_src
|
||||
src/model/GetBrandResult.cc
|
||||
src/model/GetConditionalAccessPolicyRequest.cc
|
||||
src/model/GetConditionalAccessPolicyResult.cc
|
||||
src/model/GetCustomPrivacyPolicyRequest.cc
|
||||
src/model/GetCustomPrivacyPolicyResult.cc
|
||||
src/model/GetDomainRequest.cc
|
||||
src/model/GetDomainResult.cc
|
||||
src/model/GetDomainDnsChallengeRequest.cc
|
||||
@@ -638,6 +670,10 @@ set(eiam_src
|
||||
src/model/ListConditionalAccessPoliciesForNetworkZoneResult.cc
|
||||
src/model/ListConditionalAccessPoliciesForUserRequest.cc
|
||||
src/model/ListConditionalAccessPoliciesForUserResult.cc
|
||||
src/model/ListCustomPrivacyPoliciesRequest.cc
|
||||
src/model/ListCustomPrivacyPoliciesResult.cc
|
||||
src/model/ListCustomPrivacyPoliciesForBrandRequest.cc
|
||||
src/model/ListCustomPrivacyPoliciesForBrandResult.cc
|
||||
src/model/ListDomainProxyTokensRequest.cc
|
||||
src/model/ListDomainProxyTokensResult.cc
|
||||
src/model/ListDomainsRequest.cc
|
||||
@@ -694,6 +730,8 @@ set(eiam_src
|
||||
src/model/ObtainDomainProxyTokenResult.cc
|
||||
src/model/RemoveApplicationAccountFromUserRequest.cc
|
||||
src/model/RemoveApplicationAccountFromUserResult.cc
|
||||
src/model/RemoveCustomPrivacyPoliciesFromBrandRequest.cc
|
||||
src/model/RemoveCustomPrivacyPoliciesFromBrandResult.cc
|
||||
src/model/RemoveUserFromOrganizationalUnitsRequest.cc
|
||||
src/model/RemoveUserFromOrganizationalUnitsResult.cc
|
||||
src/model/RemoveUsersFromGroupRequest.cc
|
||||
@@ -754,6 +792,8 @@ set(eiam_src
|
||||
src/model/UpdateConditionalAccessPolicyResult.cc
|
||||
src/model/UpdateConditionalAccessPolicyDescriptionRequest.cc
|
||||
src/model/UpdateConditionalAccessPolicyDescriptionResult.cc
|
||||
src/model/UpdateCustomPrivacyPolicyRequest.cc
|
||||
src/model/UpdateCustomPrivacyPolicyResult.cc
|
||||
src/model/UpdateDomainBrandRequest.cc
|
||||
src/model/UpdateDomainBrandResult.cc
|
||||
src/model/UpdateDomainIcpNumberRequest.cc
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
#include "EiamExport.h"
|
||||
#include "model/AddApplicationAccountToUserRequest.h"
|
||||
#include "model/AddApplicationAccountToUserResult.h"
|
||||
#include "model/AddCustomPrivacyPoliciesToBrandRequest.h"
|
||||
#include "model/AddCustomPrivacyPoliciesToBrandResult.h"
|
||||
#include "model/AddUserToOrganizationalUnitsRequest.h"
|
||||
#include "model/AddUserToOrganizationalUnitsResult.h"
|
||||
#include "model/AddUsersToGroupRequest.h"
|
||||
@@ -46,6 +48,8 @@
|
||||
#include "model/CreateBrandResult.h"
|
||||
#include "model/CreateConditionalAccessPolicyRequest.h"
|
||||
#include "model/CreateConditionalAccessPolicyResult.h"
|
||||
#include "model/CreateCustomPrivacyPolicyRequest.h"
|
||||
#include "model/CreateCustomPrivacyPolicyResult.h"
|
||||
#include "model/CreateDomainRequest.h"
|
||||
#include "model/CreateDomainResult.h"
|
||||
#include "model/CreateDomainProxyTokenRequest.h"
|
||||
@@ -78,6 +82,8 @@
|
||||
#include "model/DeleteBrandResult.h"
|
||||
#include "model/DeleteConditionalAccessPolicyRequest.h"
|
||||
#include "model/DeleteConditionalAccessPolicyResult.h"
|
||||
#include "model/DeleteCustomPrivacyPolicyRequest.h"
|
||||
#include "model/DeleteCustomPrivacyPolicyResult.h"
|
||||
#include "model/DeleteDomainRequest.h"
|
||||
#include "model/DeleteDomainResult.h"
|
||||
#include "model/DeleteDomainProxyTokenRequest.h"
|
||||
@@ -118,6 +124,8 @@
|
||||
#include "model/DisableBrandResult.h"
|
||||
#include "model/DisableConditionalAccessPolicyRequest.h"
|
||||
#include "model/DisableConditionalAccessPolicyResult.h"
|
||||
#include "model/DisableCustomPrivacyPolicyRequest.h"
|
||||
#include "model/DisableCustomPrivacyPolicyResult.h"
|
||||
#include "model/DisableDomainProxyTokenRequest.h"
|
||||
#include "model/DisableDomainProxyTokenResult.h"
|
||||
#include "model/DisableFederatedCredentialProviderRequest.h"
|
||||
@@ -148,6 +156,8 @@
|
||||
#include "model/EnableBrandResult.h"
|
||||
#include "model/EnableConditionalAccessPolicyRequest.h"
|
||||
#include "model/EnableConditionalAccessPolicyResult.h"
|
||||
#include "model/EnableCustomPrivacyPolicyRequest.h"
|
||||
#include "model/EnableCustomPrivacyPolicyResult.h"
|
||||
#include "model/EnableDomainProxyTokenRequest.h"
|
||||
#include "model/EnableDomainProxyTokenResult.h"
|
||||
#include "model/EnableFederatedCredentialProviderRequest.h"
|
||||
@@ -178,6 +188,8 @@
|
||||
#include "model/GetBrandResult.h"
|
||||
#include "model/GetConditionalAccessPolicyRequest.h"
|
||||
#include "model/GetConditionalAccessPolicyResult.h"
|
||||
#include "model/GetCustomPrivacyPolicyRequest.h"
|
||||
#include "model/GetCustomPrivacyPolicyResult.h"
|
||||
#include "model/GetDomainRequest.h"
|
||||
#include "model/GetDomainResult.h"
|
||||
#include "model/GetDomainDnsChallengeRequest.h"
|
||||
@@ -254,6 +266,10 @@
|
||||
#include "model/ListConditionalAccessPoliciesForNetworkZoneResult.h"
|
||||
#include "model/ListConditionalAccessPoliciesForUserRequest.h"
|
||||
#include "model/ListConditionalAccessPoliciesForUserResult.h"
|
||||
#include "model/ListCustomPrivacyPoliciesRequest.h"
|
||||
#include "model/ListCustomPrivacyPoliciesResult.h"
|
||||
#include "model/ListCustomPrivacyPoliciesForBrandRequest.h"
|
||||
#include "model/ListCustomPrivacyPoliciesForBrandResult.h"
|
||||
#include "model/ListDomainProxyTokensRequest.h"
|
||||
#include "model/ListDomainProxyTokensResult.h"
|
||||
#include "model/ListDomainsRequest.h"
|
||||
@@ -310,6 +326,8 @@
|
||||
#include "model/ObtainDomainProxyTokenResult.h"
|
||||
#include "model/RemoveApplicationAccountFromUserRequest.h"
|
||||
#include "model/RemoveApplicationAccountFromUserResult.h"
|
||||
#include "model/RemoveCustomPrivacyPoliciesFromBrandRequest.h"
|
||||
#include "model/RemoveCustomPrivacyPoliciesFromBrandResult.h"
|
||||
#include "model/RemoveUserFromOrganizationalUnitsRequest.h"
|
||||
#include "model/RemoveUserFromOrganizationalUnitsResult.h"
|
||||
#include "model/RemoveUsersFromGroupRequest.h"
|
||||
@@ -370,6 +388,8 @@
|
||||
#include "model/UpdateConditionalAccessPolicyResult.h"
|
||||
#include "model/UpdateConditionalAccessPolicyDescriptionRequest.h"
|
||||
#include "model/UpdateConditionalAccessPolicyDescriptionResult.h"
|
||||
#include "model/UpdateCustomPrivacyPolicyRequest.h"
|
||||
#include "model/UpdateCustomPrivacyPolicyResult.h"
|
||||
#include "model/UpdateDomainBrandRequest.h"
|
||||
#include "model/UpdateDomainBrandResult.h"
|
||||
#include "model/UpdateDomainIcpNumberRequest.h"
|
||||
@@ -416,6 +436,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::AddApplicationAccountToUserResult> AddApplicationAccountToUserOutcome;
|
||||
typedef std::future<AddApplicationAccountToUserOutcome> AddApplicationAccountToUserOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::AddApplicationAccountToUserRequest&, const AddApplicationAccountToUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddApplicationAccountToUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddCustomPrivacyPoliciesToBrandResult> AddCustomPrivacyPoliciesToBrandOutcome;
|
||||
typedef std::future<AddCustomPrivacyPoliciesToBrandOutcome> AddCustomPrivacyPoliciesToBrandOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::AddCustomPrivacyPoliciesToBrandRequest&, const AddCustomPrivacyPoliciesToBrandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddCustomPrivacyPoliciesToBrandAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddUserToOrganizationalUnitsResult> AddUserToOrganizationalUnitsOutcome;
|
||||
typedef std::future<AddUserToOrganizationalUnitsOutcome> AddUserToOrganizationalUnitsOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::AddUserToOrganizationalUnitsRequest&, const AddUserToOrganizationalUnitsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddUserToOrganizationalUnitsAsyncHandler;
|
||||
@@ -449,6 +472,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateConditionalAccessPolicyResult> CreateConditionalAccessPolicyOutcome;
|
||||
typedef std::future<CreateConditionalAccessPolicyOutcome> CreateConditionalAccessPolicyOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::CreateConditionalAccessPolicyRequest&, const CreateConditionalAccessPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateConditionalAccessPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCustomPrivacyPolicyResult> CreateCustomPrivacyPolicyOutcome;
|
||||
typedef std::future<CreateCustomPrivacyPolicyOutcome> CreateCustomPrivacyPolicyOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::CreateCustomPrivacyPolicyRequest&, const CreateCustomPrivacyPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCustomPrivacyPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDomainResult> CreateDomainOutcome;
|
||||
typedef std::future<CreateDomainOutcome> CreateDomainOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::CreateDomainRequest&, const CreateDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDomainAsyncHandler;
|
||||
@@ -497,6 +523,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteConditionalAccessPolicyResult> DeleteConditionalAccessPolicyOutcome;
|
||||
typedef std::future<DeleteConditionalAccessPolicyOutcome> DeleteConditionalAccessPolicyOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::DeleteConditionalAccessPolicyRequest&, const DeleteConditionalAccessPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteConditionalAccessPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCustomPrivacyPolicyResult> DeleteCustomPrivacyPolicyOutcome;
|
||||
typedef std::future<DeleteCustomPrivacyPolicyOutcome> DeleteCustomPrivacyPolicyOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::DeleteCustomPrivacyPolicyRequest&, const DeleteCustomPrivacyPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCustomPrivacyPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDomainResult> DeleteDomainOutcome;
|
||||
typedef std::future<DeleteDomainOutcome> DeleteDomainOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::DeleteDomainRequest&, const DeleteDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDomainAsyncHandler;
|
||||
@@ -557,6 +586,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DisableConditionalAccessPolicyResult> DisableConditionalAccessPolicyOutcome;
|
||||
typedef std::future<DisableConditionalAccessPolicyOutcome> DisableConditionalAccessPolicyOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::DisableConditionalAccessPolicyRequest&, const DisableConditionalAccessPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableConditionalAccessPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DisableCustomPrivacyPolicyResult> DisableCustomPrivacyPolicyOutcome;
|
||||
typedef std::future<DisableCustomPrivacyPolicyOutcome> DisableCustomPrivacyPolicyOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::DisableCustomPrivacyPolicyRequest&, const DisableCustomPrivacyPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableCustomPrivacyPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DisableDomainProxyTokenResult> DisableDomainProxyTokenOutcome;
|
||||
typedef std::future<DisableDomainProxyTokenOutcome> DisableDomainProxyTokenOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::DisableDomainProxyTokenRequest&, const DisableDomainProxyTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableDomainProxyTokenAsyncHandler;
|
||||
@@ -602,6 +634,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::EnableConditionalAccessPolicyResult> EnableConditionalAccessPolicyOutcome;
|
||||
typedef std::future<EnableConditionalAccessPolicyOutcome> EnableConditionalAccessPolicyOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::EnableConditionalAccessPolicyRequest&, const EnableConditionalAccessPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableConditionalAccessPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::EnableCustomPrivacyPolicyResult> EnableCustomPrivacyPolicyOutcome;
|
||||
typedef std::future<EnableCustomPrivacyPolicyOutcome> EnableCustomPrivacyPolicyOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::EnableCustomPrivacyPolicyRequest&, const EnableCustomPrivacyPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableCustomPrivacyPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::EnableDomainProxyTokenResult> EnableDomainProxyTokenOutcome;
|
||||
typedef std::future<EnableDomainProxyTokenOutcome> EnableDomainProxyTokenOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::EnableDomainProxyTokenRequest&, const EnableDomainProxyTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableDomainProxyTokenAsyncHandler;
|
||||
@@ -647,6 +682,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetConditionalAccessPolicyResult> GetConditionalAccessPolicyOutcome;
|
||||
typedef std::future<GetConditionalAccessPolicyOutcome> GetConditionalAccessPolicyOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::GetConditionalAccessPolicyRequest&, const GetConditionalAccessPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetConditionalAccessPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetCustomPrivacyPolicyResult> GetCustomPrivacyPolicyOutcome;
|
||||
typedef std::future<GetCustomPrivacyPolicyOutcome> GetCustomPrivacyPolicyOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::GetCustomPrivacyPolicyRequest&, const GetCustomPrivacyPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCustomPrivacyPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDomainResult> GetDomainOutcome;
|
||||
typedef std::future<GetDomainOutcome> GetDomainOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::GetDomainRequest&, const GetDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDomainAsyncHandler;
|
||||
@@ -761,6 +799,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListConditionalAccessPoliciesForUserResult> ListConditionalAccessPoliciesForUserOutcome;
|
||||
typedef std::future<ListConditionalAccessPoliciesForUserOutcome> ListConditionalAccessPoliciesForUserOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::ListConditionalAccessPoliciesForUserRequest&, const ListConditionalAccessPoliciesForUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListConditionalAccessPoliciesForUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCustomPrivacyPoliciesResult> ListCustomPrivacyPoliciesOutcome;
|
||||
typedef std::future<ListCustomPrivacyPoliciesOutcome> ListCustomPrivacyPoliciesOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::ListCustomPrivacyPoliciesRequest&, const ListCustomPrivacyPoliciesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCustomPrivacyPoliciesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCustomPrivacyPoliciesForBrandResult> ListCustomPrivacyPoliciesForBrandOutcome;
|
||||
typedef std::future<ListCustomPrivacyPoliciesForBrandOutcome> ListCustomPrivacyPoliciesForBrandOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::ListCustomPrivacyPoliciesForBrandRequest&, const ListCustomPrivacyPoliciesForBrandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCustomPrivacyPoliciesForBrandAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDomainProxyTokensResult> ListDomainProxyTokensOutcome;
|
||||
typedef std::future<ListDomainProxyTokensOutcome> ListDomainProxyTokensOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::ListDomainProxyTokensRequest&, const ListDomainProxyTokensOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDomainProxyTokensAsyncHandler;
|
||||
@@ -845,6 +889,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::RemoveApplicationAccountFromUserResult> RemoveApplicationAccountFromUserOutcome;
|
||||
typedef std::future<RemoveApplicationAccountFromUserOutcome> RemoveApplicationAccountFromUserOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::RemoveApplicationAccountFromUserRequest&, const RemoveApplicationAccountFromUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveApplicationAccountFromUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveCustomPrivacyPoliciesFromBrandResult> RemoveCustomPrivacyPoliciesFromBrandOutcome;
|
||||
typedef std::future<RemoveCustomPrivacyPoliciesFromBrandOutcome> RemoveCustomPrivacyPoliciesFromBrandOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::RemoveCustomPrivacyPoliciesFromBrandRequest&, const RemoveCustomPrivacyPoliciesFromBrandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveCustomPrivacyPoliciesFromBrandAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveUserFromOrganizationalUnitsResult> RemoveUserFromOrganizationalUnitsOutcome;
|
||||
typedef std::future<RemoveUserFromOrganizationalUnitsOutcome> RemoveUserFromOrganizationalUnitsOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::RemoveUserFromOrganizationalUnitsRequest&, const RemoveUserFromOrganizationalUnitsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveUserFromOrganizationalUnitsAsyncHandler;
|
||||
@@ -935,6 +982,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateConditionalAccessPolicyDescriptionResult> UpdateConditionalAccessPolicyDescriptionOutcome;
|
||||
typedef std::future<UpdateConditionalAccessPolicyDescriptionOutcome> UpdateConditionalAccessPolicyDescriptionOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::UpdateConditionalAccessPolicyDescriptionRequest&, const UpdateConditionalAccessPolicyDescriptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateConditionalAccessPolicyDescriptionAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateCustomPrivacyPolicyResult> UpdateCustomPrivacyPolicyOutcome;
|
||||
typedef std::future<UpdateCustomPrivacyPolicyOutcome> UpdateCustomPrivacyPolicyOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::UpdateCustomPrivacyPolicyRequest&, const UpdateCustomPrivacyPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCustomPrivacyPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateDomainBrandResult> UpdateDomainBrandOutcome;
|
||||
typedef std::future<UpdateDomainBrandOutcome> UpdateDomainBrandOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::UpdateDomainBrandRequest&, const UpdateDomainBrandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDomainBrandAsyncHandler;
|
||||
@@ -994,6 +1044,9 @@ namespace AlibabaCloud
|
||||
AddApplicationAccountToUserOutcome addApplicationAccountToUser(const Model::AddApplicationAccountToUserRequest &request)const;
|
||||
void addApplicationAccountToUserAsync(const Model::AddApplicationAccountToUserRequest& request, const AddApplicationAccountToUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddApplicationAccountToUserOutcomeCallable addApplicationAccountToUserCallable(const Model::AddApplicationAccountToUserRequest& request) const;
|
||||
AddCustomPrivacyPoliciesToBrandOutcome addCustomPrivacyPoliciesToBrand(const Model::AddCustomPrivacyPoliciesToBrandRequest &request)const;
|
||||
void addCustomPrivacyPoliciesToBrandAsync(const Model::AddCustomPrivacyPoliciesToBrandRequest& request, const AddCustomPrivacyPoliciesToBrandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddCustomPrivacyPoliciesToBrandOutcomeCallable addCustomPrivacyPoliciesToBrandCallable(const Model::AddCustomPrivacyPoliciesToBrandRequest& request) const;
|
||||
AddUserToOrganizationalUnitsOutcome addUserToOrganizationalUnits(const Model::AddUserToOrganizationalUnitsRequest &request)const;
|
||||
void addUserToOrganizationalUnitsAsync(const Model::AddUserToOrganizationalUnitsRequest& request, const AddUserToOrganizationalUnitsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddUserToOrganizationalUnitsOutcomeCallable addUserToOrganizationalUnitsCallable(const Model::AddUserToOrganizationalUnitsRequest& request) const;
|
||||
@@ -1027,6 +1080,9 @@ namespace AlibabaCloud
|
||||
CreateConditionalAccessPolicyOutcome createConditionalAccessPolicy(const Model::CreateConditionalAccessPolicyRequest &request)const;
|
||||
void createConditionalAccessPolicyAsync(const Model::CreateConditionalAccessPolicyRequest& request, const CreateConditionalAccessPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateConditionalAccessPolicyOutcomeCallable createConditionalAccessPolicyCallable(const Model::CreateConditionalAccessPolicyRequest& request) const;
|
||||
CreateCustomPrivacyPolicyOutcome createCustomPrivacyPolicy(const Model::CreateCustomPrivacyPolicyRequest &request)const;
|
||||
void createCustomPrivacyPolicyAsync(const Model::CreateCustomPrivacyPolicyRequest& request, const CreateCustomPrivacyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCustomPrivacyPolicyOutcomeCallable createCustomPrivacyPolicyCallable(const Model::CreateCustomPrivacyPolicyRequest& request) const;
|
||||
CreateDomainOutcome createDomain(const Model::CreateDomainRequest &request)const;
|
||||
void createDomainAsync(const Model::CreateDomainRequest& request, const CreateDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDomainOutcomeCallable createDomainCallable(const Model::CreateDomainRequest& request) const;
|
||||
@@ -1075,6 +1131,9 @@ namespace AlibabaCloud
|
||||
DeleteConditionalAccessPolicyOutcome deleteConditionalAccessPolicy(const Model::DeleteConditionalAccessPolicyRequest &request)const;
|
||||
void deleteConditionalAccessPolicyAsync(const Model::DeleteConditionalAccessPolicyRequest& request, const DeleteConditionalAccessPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteConditionalAccessPolicyOutcomeCallable deleteConditionalAccessPolicyCallable(const Model::DeleteConditionalAccessPolicyRequest& request) const;
|
||||
DeleteCustomPrivacyPolicyOutcome deleteCustomPrivacyPolicy(const Model::DeleteCustomPrivacyPolicyRequest &request)const;
|
||||
void deleteCustomPrivacyPolicyAsync(const Model::DeleteCustomPrivacyPolicyRequest& request, const DeleteCustomPrivacyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCustomPrivacyPolicyOutcomeCallable deleteCustomPrivacyPolicyCallable(const Model::DeleteCustomPrivacyPolicyRequest& request) const;
|
||||
DeleteDomainOutcome deleteDomain(const Model::DeleteDomainRequest &request)const;
|
||||
void deleteDomainAsync(const Model::DeleteDomainRequest& request, const DeleteDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDomainOutcomeCallable deleteDomainCallable(const Model::DeleteDomainRequest& request) const;
|
||||
@@ -1135,6 +1194,9 @@ namespace AlibabaCloud
|
||||
DisableConditionalAccessPolicyOutcome disableConditionalAccessPolicy(const Model::DisableConditionalAccessPolicyRequest &request)const;
|
||||
void disableConditionalAccessPolicyAsync(const Model::DisableConditionalAccessPolicyRequest& request, const DisableConditionalAccessPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DisableConditionalAccessPolicyOutcomeCallable disableConditionalAccessPolicyCallable(const Model::DisableConditionalAccessPolicyRequest& request) const;
|
||||
DisableCustomPrivacyPolicyOutcome disableCustomPrivacyPolicy(const Model::DisableCustomPrivacyPolicyRequest &request)const;
|
||||
void disableCustomPrivacyPolicyAsync(const Model::DisableCustomPrivacyPolicyRequest& request, const DisableCustomPrivacyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DisableCustomPrivacyPolicyOutcomeCallable disableCustomPrivacyPolicyCallable(const Model::DisableCustomPrivacyPolicyRequest& request) const;
|
||||
DisableDomainProxyTokenOutcome disableDomainProxyToken(const Model::DisableDomainProxyTokenRequest &request)const;
|
||||
void disableDomainProxyTokenAsync(const Model::DisableDomainProxyTokenRequest& request, const DisableDomainProxyTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DisableDomainProxyTokenOutcomeCallable disableDomainProxyTokenCallable(const Model::DisableDomainProxyTokenRequest& request) const;
|
||||
@@ -1180,6 +1242,9 @@ namespace AlibabaCloud
|
||||
EnableConditionalAccessPolicyOutcome enableConditionalAccessPolicy(const Model::EnableConditionalAccessPolicyRequest &request)const;
|
||||
void enableConditionalAccessPolicyAsync(const Model::EnableConditionalAccessPolicyRequest& request, const EnableConditionalAccessPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableConditionalAccessPolicyOutcomeCallable enableConditionalAccessPolicyCallable(const Model::EnableConditionalAccessPolicyRequest& request) const;
|
||||
EnableCustomPrivacyPolicyOutcome enableCustomPrivacyPolicy(const Model::EnableCustomPrivacyPolicyRequest &request)const;
|
||||
void enableCustomPrivacyPolicyAsync(const Model::EnableCustomPrivacyPolicyRequest& request, const EnableCustomPrivacyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableCustomPrivacyPolicyOutcomeCallable enableCustomPrivacyPolicyCallable(const Model::EnableCustomPrivacyPolicyRequest& request) const;
|
||||
EnableDomainProxyTokenOutcome enableDomainProxyToken(const Model::EnableDomainProxyTokenRequest &request)const;
|
||||
void enableDomainProxyTokenAsync(const Model::EnableDomainProxyTokenRequest& request, const EnableDomainProxyTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableDomainProxyTokenOutcomeCallable enableDomainProxyTokenCallable(const Model::EnableDomainProxyTokenRequest& request) const;
|
||||
@@ -1225,6 +1290,9 @@ namespace AlibabaCloud
|
||||
GetConditionalAccessPolicyOutcome getConditionalAccessPolicy(const Model::GetConditionalAccessPolicyRequest &request)const;
|
||||
void getConditionalAccessPolicyAsync(const Model::GetConditionalAccessPolicyRequest& request, const GetConditionalAccessPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetConditionalAccessPolicyOutcomeCallable getConditionalAccessPolicyCallable(const Model::GetConditionalAccessPolicyRequest& request) const;
|
||||
GetCustomPrivacyPolicyOutcome getCustomPrivacyPolicy(const Model::GetCustomPrivacyPolicyRequest &request)const;
|
||||
void getCustomPrivacyPolicyAsync(const Model::GetCustomPrivacyPolicyRequest& request, const GetCustomPrivacyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetCustomPrivacyPolicyOutcomeCallable getCustomPrivacyPolicyCallable(const Model::GetCustomPrivacyPolicyRequest& request) const;
|
||||
GetDomainOutcome getDomain(const Model::GetDomainRequest &request)const;
|
||||
void getDomainAsync(const Model::GetDomainRequest& request, const GetDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDomainOutcomeCallable getDomainCallable(const Model::GetDomainRequest& request) const;
|
||||
@@ -1339,6 +1407,12 @@ namespace AlibabaCloud
|
||||
ListConditionalAccessPoliciesForUserOutcome listConditionalAccessPoliciesForUser(const Model::ListConditionalAccessPoliciesForUserRequest &request)const;
|
||||
void listConditionalAccessPoliciesForUserAsync(const Model::ListConditionalAccessPoliciesForUserRequest& request, const ListConditionalAccessPoliciesForUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListConditionalAccessPoliciesForUserOutcomeCallable listConditionalAccessPoliciesForUserCallable(const Model::ListConditionalAccessPoliciesForUserRequest& request) const;
|
||||
ListCustomPrivacyPoliciesOutcome listCustomPrivacyPolicies(const Model::ListCustomPrivacyPoliciesRequest &request)const;
|
||||
void listCustomPrivacyPoliciesAsync(const Model::ListCustomPrivacyPoliciesRequest& request, const ListCustomPrivacyPoliciesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCustomPrivacyPoliciesOutcomeCallable listCustomPrivacyPoliciesCallable(const Model::ListCustomPrivacyPoliciesRequest& request) const;
|
||||
ListCustomPrivacyPoliciesForBrandOutcome listCustomPrivacyPoliciesForBrand(const Model::ListCustomPrivacyPoliciesForBrandRequest &request)const;
|
||||
void listCustomPrivacyPoliciesForBrandAsync(const Model::ListCustomPrivacyPoliciesForBrandRequest& request, const ListCustomPrivacyPoliciesForBrandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCustomPrivacyPoliciesForBrandOutcomeCallable listCustomPrivacyPoliciesForBrandCallable(const Model::ListCustomPrivacyPoliciesForBrandRequest& request) const;
|
||||
ListDomainProxyTokensOutcome listDomainProxyTokens(const Model::ListDomainProxyTokensRequest &request)const;
|
||||
void listDomainProxyTokensAsync(const Model::ListDomainProxyTokensRequest& request, const ListDomainProxyTokensAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDomainProxyTokensOutcomeCallable listDomainProxyTokensCallable(const Model::ListDomainProxyTokensRequest& request) const;
|
||||
@@ -1423,6 +1497,9 @@ namespace AlibabaCloud
|
||||
RemoveApplicationAccountFromUserOutcome removeApplicationAccountFromUser(const Model::RemoveApplicationAccountFromUserRequest &request)const;
|
||||
void removeApplicationAccountFromUserAsync(const Model::RemoveApplicationAccountFromUserRequest& request, const RemoveApplicationAccountFromUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveApplicationAccountFromUserOutcomeCallable removeApplicationAccountFromUserCallable(const Model::RemoveApplicationAccountFromUserRequest& request) const;
|
||||
RemoveCustomPrivacyPoliciesFromBrandOutcome removeCustomPrivacyPoliciesFromBrand(const Model::RemoveCustomPrivacyPoliciesFromBrandRequest &request)const;
|
||||
void removeCustomPrivacyPoliciesFromBrandAsync(const Model::RemoveCustomPrivacyPoliciesFromBrandRequest& request, const RemoveCustomPrivacyPoliciesFromBrandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveCustomPrivacyPoliciesFromBrandOutcomeCallable removeCustomPrivacyPoliciesFromBrandCallable(const Model::RemoveCustomPrivacyPoliciesFromBrandRequest& request) const;
|
||||
RemoveUserFromOrganizationalUnitsOutcome removeUserFromOrganizationalUnits(const Model::RemoveUserFromOrganizationalUnitsRequest &request)const;
|
||||
void removeUserFromOrganizationalUnitsAsync(const Model::RemoveUserFromOrganizationalUnitsRequest& request, const RemoveUserFromOrganizationalUnitsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveUserFromOrganizationalUnitsOutcomeCallable removeUserFromOrganizationalUnitsCallable(const Model::RemoveUserFromOrganizationalUnitsRequest& request) const;
|
||||
@@ -1513,6 +1590,9 @@ namespace AlibabaCloud
|
||||
UpdateConditionalAccessPolicyDescriptionOutcome updateConditionalAccessPolicyDescription(const Model::UpdateConditionalAccessPolicyDescriptionRequest &request)const;
|
||||
void updateConditionalAccessPolicyDescriptionAsync(const Model::UpdateConditionalAccessPolicyDescriptionRequest& request, const UpdateConditionalAccessPolicyDescriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateConditionalAccessPolicyDescriptionOutcomeCallable updateConditionalAccessPolicyDescriptionCallable(const Model::UpdateConditionalAccessPolicyDescriptionRequest& request) const;
|
||||
UpdateCustomPrivacyPolicyOutcome updateCustomPrivacyPolicy(const Model::UpdateCustomPrivacyPolicyRequest &request)const;
|
||||
void updateCustomPrivacyPolicyAsync(const Model::UpdateCustomPrivacyPolicyRequest& request, const UpdateCustomPrivacyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateCustomPrivacyPolicyOutcomeCallable updateCustomPrivacyPolicyCallable(const Model::UpdateCustomPrivacyPolicyRequest& request) const;
|
||||
UpdateDomainBrandOutcome updateDomainBrand(const Model::UpdateDomainBrandRequest &request)const;
|
||||
void updateDomainBrandAsync(const Model::UpdateDomainBrandRequest& request, const UpdateDomainBrandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateDomainBrandOutcomeCallable updateDomainBrandCallable(const Model::UpdateDomainBrandRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_ADDCUSTOMPRIVACYPOLICIESTOBRANDREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_ADDCUSTOMPRIVACYPOLICIESTOBRANDREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eiam {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EIAM_EXPORT AddCustomPrivacyPoliciesToBrandRequest : public RpcServiceRequest {
|
||||
public:
|
||||
AddCustomPrivacyPoliciesToBrandRequest();
|
||||
~AddCustomPrivacyPoliciesToBrandRequest();
|
||||
std::string getBrandId() const;
|
||||
void setBrandId(const std::string &brandId);
|
||||
std::vector<std::string> getCustomPrivacyPolicyIds() const;
|
||||
void setCustomPrivacyPolicyIds(const std::vector<std::string> &customPrivacyPolicyIds);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
std::string brandId_;
|
||||
std::vector<std::string> customPrivacyPolicyIds_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_ADDCUSTOMPRIVACYPOLICIESTOBRANDREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_ADDCUSTOMPRIVACYPOLICIESTOBRANDRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_ADDCUSTOMPRIVACYPOLICIESTOBRANDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eiam
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIAM_EXPORT AddCustomPrivacyPoliciesToBrandResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddCustomPrivacyPoliciesToBrandResult();
|
||||
explicit AddCustomPrivacyPoliciesToBrandResult(const std::string &payload);
|
||||
~AddCustomPrivacyPoliciesToBrandResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_ADDCUSTOMPRIVACYPOLICIESTOBRANDRESULT_H_
|
||||
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_CREATECUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_CREATECUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eiam {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EIAM_EXPORT CreateCustomPrivacyPolicyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct CustomPrivacyPolicyContents {
|
||||
std::string customPrivacyPolicyTip;
|
||||
std::string languageCode;
|
||||
struct CustomPrivacyPolicyItemsItem {
|
||||
std::string customPrivacyPolicyItemUrl;
|
||||
std::string customPrivacyPolicyItemName;
|
||||
};
|
||||
CustomPrivacyPolicyItemsItem customPrivacyPolicyItemsItem;
|
||||
std::vector<CustomPrivacyPolicyItemsItem> customPrivacyPolicyItems;
|
||||
};
|
||||
CreateCustomPrivacyPolicyRequest();
|
||||
~CreateCustomPrivacyPolicyRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getDefaultLanguageCode() const;
|
||||
void setDefaultLanguageCode(const std::string &defaultLanguageCode);
|
||||
std::string getUserConsentType() const;
|
||||
void setUserConsentType(const std::string &userConsentType);
|
||||
std::vector<CustomPrivacyPolicyContents> getCustomPrivacyPolicyContents() const;
|
||||
void setCustomPrivacyPolicyContents(const std::vector<CustomPrivacyPolicyContents> &customPrivacyPolicyContents);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getCustomPrivacyPolicyName() const;
|
||||
void setCustomPrivacyPolicyName(const std::string &customPrivacyPolicyName);
|
||||
std::string getStatus() const;
|
||||
void setStatus(const std::string &status);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string defaultLanguageCode_;
|
||||
std::string userConsentType_;
|
||||
std::vector<CustomPrivacyPolicyContents> customPrivacyPolicyContents_;
|
||||
std::string instanceId_;
|
||||
std::string customPrivacyPolicyName_;
|
||||
std::string status_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_CREATECUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_CREATECUSTOMPRIVACYPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_CREATECUSTOMPRIVACYPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eiam
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIAM_EXPORT CreateCustomPrivacyPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateCustomPrivacyPolicyResult();
|
||||
explicit CreateCustomPrivacyPolicyResult(const std::string &payload);
|
||||
~CreateCustomPrivacyPolicyResult();
|
||||
std::string getCustomPrivacyPolicyId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string customPrivacyPolicyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_CREATECUSTOMPRIVACYPOLICYRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_DELETECUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_DELETECUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eiam {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EIAM_EXPORT DeleteCustomPrivacyPolicyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteCustomPrivacyPolicyRequest();
|
||||
~DeleteCustomPrivacyPolicyRequest();
|
||||
std::string getCustomPrivacyPolicyId() const;
|
||||
void setCustomPrivacyPolicyId(const std::string &customPrivacyPolicyId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
std::string customPrivacyPolicyId_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_DELETECUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_DELETECUSTOMPRIVACYPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_DELETECUSTOMPRIVACYPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eiam
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIAM_EXPORT DeleteCustomPrivacyPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteCustomPrivacyPolicyResult();
|
||||
explicit DeleteCustomPrivacyPolicyResult(const std::string &payload);
|
||||
~DeleteCustomPrivacyPolicyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_DELETECUSTOMPRIVACYPOLICYRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_DISABLECUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_DISABLECUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eiam {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EIAM_EXPORT DisableCustomPrivacyPolicyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DisableCustomPrivacyPolicyRequest();
|
||||
~DisableCustomPrivacyPolicyRequest();
|
||||
std::string getCustomPrivacyPolicyId() const;
|
||||
void setCustomPrivacyPolicyId(const std::string &customPrivacyPolicyId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
std::string customPrivacyPolicyId_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_DISABLECUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_DISABLECUSTOMPRIVACYPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_DISABLECUSTOMPRIVACYPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eiam
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIAM_EXPORT DisableCustomPrivacyPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DisableCustomPrivacyPolicyResult();
|
||||
explicit DisableCustomPrivacyPolicyResult(const std::string &payload);
|
||||
~DisableCustomPrivacyPolicyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_DISABLECUSTOMPRIVACYPOLICYRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_ENABLECUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_ENABLECUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eiam {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EIAM_EXPORT EnableCustomPrivacyPolicyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
EnableCustomPrivacyPolicyRequest();
|
||||
~EnableCustomPrivacyPolicyRequest();
|
||||
std::string getCustomPrivacyPolicyId() const;
|
||||
void setCustomPrivacyPolicyId(const std::string &customPrivacyPolicyId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
std::string customPrivacyPolicyId_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_ENABLECUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_ENABLECUSTOMPRIVACYPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_ENABLECUSTOMPRIVACYPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eiam
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIAM_EXPORT EnableCustomPrivacyPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
EnableCustomPrivacyPolicyResult();
|
||||
explicit EnableCustomPrivacyPolicyResult(const std::string &payload);
|
||||
~EnableCustomPrivacyPolicyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_ENABLECUSTOMPRIVACYPOLICYRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_GETCUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_GETCUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eiam {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EIAM_EXPORT GetCustomPrivacyPolicyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetCustomPrivacyPolicyRequest();
|
||||
~GetCustomPrivacyPolicyRequest();
|
||||
std::string getCustomPrivacyPolicyId() const;
|
||||
void setCustomPrivacyPolicyId(const std::string &customPrivacyPolicyId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
std::string customPrivacyPolicyId_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_GETCUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_GETCUSTOMPRIVACYPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_GETCUSTOMPRIVACYPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eiam
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIAM_EXPORT GetCustomPrivacyPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CustomPrivacyPolicy
|
||||
{
|
||||
struct CustomPrivacyPolicyContentsItem
|
||||
{
|
||||
struct CustomPrivacyPolicyItemsItem
|
||||
{
|
||||
std::string customPrivacyPolicyItemName;
|
||||
std::string customPrivacyPolicyItemUrl;
|
||||
};
|
||||
std::string languageCode;
|
||||
std::vector<CustomPrivacyPolicyContentsItem::CustomPrivacyPolicyItemsItem> customPrivacyPolicyItems;
|
||||
std::string customPrivacyPolicyTip;
|
||||
};
|
||||
std::string status;
|
||||
std::string customPrivacyPolicyId;
|
||||
std::string customPrivacyPolicyName;
|
||||
std::string instanceId;
|
||||
std::string userConsentType;
|
||||
std::vector<CustomPrivacyPolicyContentsItem> customPrivacyPolicyContents;
|
||||
std::string defaultLanguageCode;
|
||||
};
|
||||
|
||||
|
||||
GetCustomPrivacyPolicyResult();
|
||||
explicit GetCustomPrivacyPolicyResult(const std::string &payload);
|
||||
~GetCustomPrivacyPolicyResult();
|
||||
CustomPrivacyPolicy getCustomPrivacyPolicy()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
CustomPrivacyPolicy customPrivacyPolicy_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_GETCUSTOMPRIVACYPOLICYRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_LISTCUSTOMPRIVACYPOLICIESFORBRANDREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_LISTCUSTOMPRIVACYPOLICIESFORBRANDREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eiam {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EIAM_EXPORT ListCustomPrivacyPoliciesForBrandRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListCustomPrivacyPoliciesForBrandRequest();
|
||||
~ListCustomPrivacyPoliciesForBrandRequest();
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
std::string getBrandId() const;
|
||||
void setBrandId(const std::string &brandId);
|
||||
std::string getPreviousToken() const;
|
||||
void setPreviousToken(const std::string &previousToken);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
long getMaxResults() const;
|
||||
void setMaxResults(long maxResults);
|
||||
|
||||
private:
|
||||
std::string nextToken_;
|
||||
std::string brandId_;
|
||||
std::string previousToken_;
|
||||
std::string instanceId_;
|
||||
long maxResults_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_LISTCUSTOMPRIVACYPOLICIESFORBRANDREQUEST_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_LISTCUSTOMPRIVACYPOLICIESFORBRANDRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_LISTCUSTOMPRIVACYPOLICIESFORBRANDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eiam
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIAM_EXPORT ListCustomPrivacyPoliciesForBrandResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct BrandCustomPrivacyPolicy
|
||||
{
|
||||
std::string customPrivacyPolicyId;
|
||||
};
|
||||
|
||||
|
||||
ListCustomPrivacyPoliciesForBrandResult();
|
||||
explicit ListCustomPrivacyPoliciesForBrandResult(const std::string &payload);
|
||||
~ListCustomPrivacyPoliciesForBrandResult();
|
||||
long getTotalCount()const;
|
||||
std::string getPreviousToken()const;
|
||||
std::vector<BrandCustomPrivacyPolicy> getBrandCustomPrivacyPolicies()const;
|
||||
std::string getNextToken()const;
|
||||
long getMaxResults()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string previousToken_;
|
||||
std::vector<BrandCustomPrivacyPolicy> brandCustomPrivacyPolicies_;
|
||||
std::string nextToken_;
|
||||
long maxResults_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_LISTCUSTOMPRIVACYPOLICIESFORBRANDRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_LISTCUSTOMPRIVACYPOLICIESREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_LISTCUSTOMPRIVACYPOLICIESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eiam {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EIAM_EXPORT ListCustomPrivacyPoliciesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListCustomPrivacyPoliciesRequest();
|
||||
~ListCustomPrivacyPoliciesRequest();
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
std::string getPreviousToken() const;
|
||||
void setPreviousToken(const std::string &previousToken);
|
||||
std::string getCustomPrivacyPolicyNameStartsWith() const;
|
||||
void setCustomPrivacyPolicyNameStartsWith(const std::string &customPrivacyPolicyNameStartsWith);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
long getMaxResults() const;
|
||||
void setMaxResults(long maxResults);
|
||||
|
||||
private:
|
||||
std::string nextToken_;
|
||||
std::string previousToken_;
|
||||
std::string customPrivacyPolicyNameStartsWith_;
|
||||
std::string instanceId_;
|
||||
long maxResults_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_LISTCUSTOMPRIVACYPOLICIESREQUEST_H_
|
||||
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_LISTCUSTOMPRIVACYPOLICIESRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_LISTCUSTOMPRIVACYPOLICIESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eiam
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIAM_EXPORT ListCustomPrivacyPoliciesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CustomPrivacyPolicy
|
||||
{
|
||||
std::string status;
|
||||
std::string customPrivacyPolicyId;
|
||||
std::string instanceId;
|
||||
std::string customPrivacyPolicyName;
|
||||
std::string userConsentType;
|
||||
std::string defaultLanguageCode;
|
||||
};
|
||||
|
||||
|
||||
ListCustomPrivacyPoliciesResult();
|
||||
explicit ListCustomPrivacyPoliciesResult(const std::string &payload);
|
||||
~ListCustomPrivacyPoliciesResult();
|
||||
std::vector<CustomPrivacyPolicy> getCustomPrivacyPolicies()const;
|
||||
long getTotalCount()const;
|
||||
std::string getPreviousToken()const;
|
||||
std::string getNextToken()const;
|
||||
long getMaxResults()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<CustomPrivacyPolicy> customPrivacyPolicies_;
|
||||
long totalCount_;
|
||||
std::string previousToken_;
|
||||
std::string nextToken_;
|
||||
long maxResults_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_LISTCUSTOMPRIVACYPOLICIESRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_REMOVECUSTOMPRIVACYPOLICIESFROMBRANDREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_REMOVECUSTOMPRIVACYPOLICIESFROMBRANDREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eiam {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EIAM_EXPORT RemoveCustomPrivacyPoliciesFromBrandRequest : public RpcServiceRequest {
|
||||
public:
|
||||
RemoveCustomPrivacyPoliciesFromBrandRequest();
|
||||
~RemoveCustomPrivacyPoliciesFromBrandRequest();
|
||||
std::string getBrandId() const;
|
||||
void setBrandId(const std::string &brandId);
|
||||
std::vector<std::string> getCustomPrivacyPolicyIds() const;
|
||||
void setCustomPrivacyPolicyIds(const std::vector<std::string> &customPrivacyPolicyIds);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
std::string brandId_;
|
||||
std::vector<std::string> customPrivacyPolicyIds_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_REMOVECUSTOMPRIVACYPOLICIESFROMBRANDREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_REMOVECUSTOMPRIVACYPOLICIESFROMBRANDRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_REMOVECUSTOMPRIVACYPOLICIESFROMBRANDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eiam
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIAM_EXPORT RemoveCustomPrivacyPoliciesFromBrandResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RemoveCustomPrivacyPoliciesFromBrandResult();
|
||||
explicit RemoveCustomPrivacyPoliciesFromBrandResult(const std::string &payload);
|
||||
~RemoveCustomPrivacyPoliciesFromBrandResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_REMOVECUSTOMPRIVACYPOLICIESFROMBRANDRESULT_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_UPDATECUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_UPDATECUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eiam {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EIAM_EXPORT UpdateCustomPrivacyPolicyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct CustomPrivacyPolicyContents {
|
||||
std::string customPrivacyPolicyTip;
|
||||
std::string languageCode;
|
||||
struct CustomPrivacyPolicyItemsItem {
|
||||
std::string customPrivacyPolicyItemUrl;
|
||||
std::string customPrivacyPolicyItemName;
|
||||
};
|
||||
CustomPrivacyPolicyItemsItem customPrivacyPolicyItemsItem;
|
||||
std::vector<CustomPrivacyPolicyItemsItem> customPrivacyPolicyItems;
|
||||
};
|
||||
UpdateCustomPrivacyPolicyRequest();
|
||||
~UpdateCustomPrivacyPolicyRequest();
|
||||
std::string getDefaultLanguageCode() const;
|
||||
void setDefaultLanguageCode(const std::string &defaultLanguageCode);
|
||||
std::string getUserConsentType() const;
|
||||
void setUserConsentType(const std::string &userConsentType);
|
||||
std::vector<CustomPrivacyPolicyContents> getCustomPrivacyPolicyContents() const;
|
||||
void setCustomPrivacyPolicyContents(const std::vector<CustomPrivacyPolicyContents> &customPrivacyPolicyContents);
|
||||
std::string getCustomPrivacyPolicyId() const;
|
||||
void setCustomPrivacyPolicyId(const std::string &customPrivacyPolicyId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getCustomPrivacyPolicyName() const;
|
||||
void setCustomPrivacyPolicyName(const std::string &customPrivacyPolicyName);
|
||||
|
||||
private:
|
||||
std::string defaultLanguageCode_;
|
||||
std::string userConsentType_;
|
||||
std::vector<CustomPrivacyPolicyContents> customPrivacyPolicyContents_;
|
||||
std::string customPrivacyPolicyId_;
|
||||
std::string instanceId_;
|
||||
std::string customPrivacyPolicyName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_UPDATECUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_UPDATECUSTOMPRIVACYPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_UPDATECUSTOMPRIVACYPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eiam
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIAM_EXPORT UpdateCustomPrivacyPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateCustomPrivacyPolicyResult();
|
||||
explicit UpdateCustomPrivacyPolicyResult(const std::string &payload);
|
||||
~UpdateCustomPrivacyPolicyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_UPDATECUSTOMPRIVACYPOLICYRESULT_H_
|
||||
@@ -87,6 +87,42 @@ EiamClient::AddApplicationAccountToUserOutcomeCallable EiamClient::addApplicatio
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::AddCustomPrivacyPoliciesToBrandOutcome EiamClient::addCustomPrivacyPoliciesToBrand(const AddCustomPrivacyPoliciesToBrandRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddCustomPrivacyPoliciesToBrandOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddCustomPrivacyPoliciesToBrandOutcome(AddCustomPrivacyPoliciesToBrandResult(outcome.result()));
|
||||
else
|
||||
return AddCustomPrivacyPoliciesToBrandOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EiamClient::addCustomPrivacyPoliciesToBrandAsync(const AddCustomPrivacyPoliciesToBrandRequest& request, const AddCustomPrivacyPoliciesToBrandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addCustomPrivacyPoliciesToBrand(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EiamClient::AddCustomPrivacyPoliciesToBrandOutcomeCallable EiamClient::addCustomPrivacyPoliciesToBrandCallable(const AddCustomPrivacyPoliciesToBrandRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddCustomPrivacyPoliciesToBrandOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addCustomPrivacyPoliciesToBrand(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::AddUserToOrganizationalUnitsOutcome EiamClient::addUserToOrganizationalUnits(const AddUserToOrganizationalUnitsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -483,6 +519,42 @@ EiamClient::CreateConditionalAccessPolicyOutcomeCallable EiamClient::createCondi
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::CreateCustomPrivacyPolicyOutcome EiamClient::createCustomPrivacyPolicy(const CreateCustomPrivacyPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateCustomPrivacyPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateCustomPrivacyPolicyOutcome(CreateCustomPrivacyPolicyResult(outcome.result()));
|
||||
else
|
||||
return CreateCustomPrivacyPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EiamClient::createCustomPrivacyPolicyAsync(const CreateCustomPrivacyPolicyRequest& request, const CreateCustomPrivacyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createCustomPrivacyPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EiamClient::CreateCustomPrivacyPolicyOutcomeCallable EiamClient::createCustomPrivacyPolicyCallable(const CreateCustomPrivacyPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateCustomPrivacyPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createCustomPrivacyPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::CreateDomainOutcome EiamClient::createDomain(const CreateDomainRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1059,6 +1131,42 @@ EiamClient::DeleteConditionalAccessPolicyOutcomeCallable EiamClient::deleteCondi
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::DeleteCustomPrivacyPolicyOutcome EiamClient::deleteCustomPrivacyPolicy(const DeleteCustomPrivacyPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteCustomPrivacyPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteCustomPrivacyPolicyOutcome(DeleteCustomPrivacyPolicyResult(outcome.result()));
|
||||
else
|
||||
return DeleteCustomPrivacyPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EiamClient::deleteCustomPrivacyPolicyAsync(const DeleteCustomPrivacyPolicyRequest& request, const DeleteCustomPrivacyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteCustomPrivacyPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EiamClient::DeleteCustomPrivacyPolicyOutcomeCallable EiamClient::deleteCustomPrivacyPolicyCallable(const DeleteCustomPrivacyPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteCustomPrivacyPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteCustomPrivacyPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::DeleteDomainOutcome EiamClient::deleteDomain(const DeleteDomainRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1779,6 +1887,42 @@ EiamClient::DisableConditionalAccessPolicyOutcomeCallable EiamClient::disableCon
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::DisableCustomPrivacyPolicyOutcome EiamClient::disableCustomPrivacyPolicy(const DisableCustomPrivacyPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DisableCustomPrivacyPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DisableCustomPrivacyPolicyOutcome(DisableCustomPrivacyPolicyResult(outcome.result()));
|
||||
else
|
||||
return DisableCustomPrivacyPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EiamClient::disableCustomPrivacyPolicyAsync(const DisableCustomPrivacyPolicyRequest& request, const DisableCustomPrivacyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, disableCustomPrivacyPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EiamClient::DisableCustomPrivacyPolicyOutcomeCallable EiamClient::disableCustomPrivacyPolicyCallable(const DisableCustomPrivacyPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DisableCustomPrivacyPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->disableCustomPrivacyPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::DisableDomainProxyTokenOutcome EiamClient::disableDomainProxyToken(const DisableDomainProxyTokenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2319,6 +2463,42 @@ EiamClient::EnableConditionalAccessPolicyOutcomeCallable EiamClient::enableCondi
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::EnableCustomPrivacyPolicyOutcome EiamClient::enableCustomPrivacyPolicy(const EnableCustomPrivacyPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return EnableCustomPrivacyPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return EnableCustomPrivacyPolicyOutcome(EnableCustomPrivacyPolicyResult(outcome.result()));
|
||||
else
|
||||
return EnableCustomPrivacyPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EiamClient::enableCustomPrivacyPolicyAsync(const EnableCustomPrivacyPolicyRequest& request, const EnableCustomPrivacyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, enableCustomPrivacyPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EiamClient::EnableCustomPrivacyPolicyOutcomeCallable EiamClient::enableCustomPrivacyPolicyCallable(const EnableCustomPrivacyPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<EnableCustomPrivacyPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->enableCustomPrivacyPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::EnableDomainProxyTokenOutcome EiamClient::enableDomainProxyToken(const EnableDomainProxyTokenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2859,6 +3039,42 @@ EiamClient::GetConditionalAccessPolicyOutcomeCallable EiamClient::getConditional
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::GetCustomPrivacyPolicyOutcome EiamClient::getCustomPrivacyPolicy(const GetCustomPrivacyPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetCustomPrivacyPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetCustomPrivacyPolicyOutcome(GetCustomPrivacyPolicyResult(outcome.result()));
|
||||
else
|
||||
return GetCustomPrivacyPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EiamClient::getCustomPrivacyPolicyAsync(const GetCustomPrivacyPolicyRequest& request, const GetCustomPrivacyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getCustomPrivacyPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EiamClient::GetCustomPrivacyPolicyOutcomeCallable EiamClient::getCustomPrivacyPolicyCallable(const GetCustomPrivacyPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetCustomPrivacyPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getCustomPrivacyPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::GetDomainOutcome EiamClient::getDomain(const GetDomainRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4227,6 +4443,78 @@ EiamClient::ListConditionalAccessPoliciesForUserOutcomeCallable EiamClient::list
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::ListCustomPrivacyPoliciesOutcome EiamClient::listCustomPrivacyPolicies(const ListCustomPrivacyPoliciesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListCustomPrivacyPoliciesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListCustomPrivacyPoliciesOutcome(ListCustomPrivacyPoliciesResult(outcome.result()));
|
||||
else
|
||||
return ListCustomPrivacyPoliciesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EiamClient::listCustomPrivacyPoliciesAsync(const ListCustomPrivacyPoliciesRequest& request, const ListCustomPrivacyPoliciesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listCustomPrivacyPolicies(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EiamClient::ListCustomPrivacyPoliciesOutcomeCallable EiamClient::listCustomPrivacyPoliciesCallable(const ListCustomPrivacyPoliciesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListCustomPrivacyPoliciesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listCustomPrivacyPolicies(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::ListCustomPrivacyPoliciesForBrandOutcome EiamClient::listCustomPrivacyPoliciesForBrand(const ListCustomPrivacyPoliciesForBrandRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListCustomPrivacyPoliciesForBrandOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListCustomPrivacyPoliciesForBrandOutcome(ListCustomPrivacyPoliciesForBrandResult(outcome.result()));
|
||||
else
|
||||
return ListCustomPrivacyPoliciesForBrandOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EiamClient::listCustomPrivacyPoliciesForBrandAsync(const ListCustomPrivacyPoliciesForBrandRequest& request, const ListCustomPrivacyPoliciesForBrandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listCustomPrivacyPoliciesForBrand(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EiamClient::ListCustomPrivacyPoliciesForBrandOutcomeCallable EiamClient::listCustomPrivacyPoliciesForBrandCallable(const ListCustomPrivacyPoliciesForBrandRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListCustomPrivacyPoliciesForBrandOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listCustomPrivacyPoliciesForBrand(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::ListDomainProxyTokensOutcome EiamClient::listDomainProxyTokens(const ListDomainProxyTokensRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -5235,6 +5523,42 @@ EiamClient::RemoveApplicationAccountFromUserOutcomeCallable EiamClient::removeAp
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::RemoveCustomPrivacyPoliciesFromBrandOutcome EiamClient::removeCustomPrivacyPoliciesFromBrand(const RemoveCustomPrivacyPoliciesFromBrandRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RemoveCustomPrivacyPoliciesFromBrandOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RemoveCustomPrivacyPoliciesFromBrandOutcome(RemoveCustomPrivacyPoliciesFromBrandResult(outcome.result()));
|
||||
else
|
||||
return RemoveCustomPrivacyPoliciesFromBrandOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EiamClient::removeCustomPrivacyPoliciesFromBrandAsync(const RemoveCustomPrivacyPoliciesFromBrandRequest& request, const RemoveCustomPrivacyPoliciesFromBrandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, removeCustomPrivacyPoliciesFromBrand(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EiamClient::RemoveCustomPrivacyPoliciesFromBrandOutcomeCallable EiamClient::removeCustomPrivacyPoliciesFromBrandCallable(const RemoveCustomPrivacyPoliciesFromBrandRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RemoveCustomPrivacyPoliciesFromBrandOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->removeCustomPrivacyPoliciesFromBrand(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::RemoveUserFromOrganizationalUnitsOutcome EiamClient::removeUserFromOrganizationalUnits(const RemoveUserFromOrganizationalUnitsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -6315,6 +6639,42 @@ EiamClient::UpdateConditionalAccessPolicyDescriptionOutcomeCallable EiamClient::
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::UpdateCustomPrivacyPolicyOutcome EiamClient::updateCustomPrivacyPolicy(const UpdateCustomPrivacyPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateCustomPrivacyPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateCustomPrivacyPolicyOutcome(UpdateCustomPrivacyPolicyResult(outcome.result()));
|
||||
else
|
||||
return UpdateCustomPrivacyPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EiamClient::updateCustomPrivacyPolicyAsync(const UpdateCustomPrivacyPolicyRequest& request, const UpdateCustomPrivacyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateCustomPrivacyPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EiamClient::UpdateCustomPrivacyPolicyOutcomeCallable EiamClient::updateCustomPrivacyPolicyCallable(const UpdateCustomPrivacyPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateCustomPrivacyPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateCustomPrivacyPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::UpdateDomainBrandOutcome EiamClient::updateDomainBrand(const UpdateDomainBrandRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
56
eiam/src/model/AddCustomPrivacyPoliciesToBrandRequest.cc
Normal file
56
eiam/src/model/AddCustomPrivacyPoliciesToBrandRequest.cc
Normal file
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eiam/model/AddCustomPrivacyPoliciesToBrandRequest.h>
|
||||
|
||||
using AlibabaCloud::Eiam::Model::AddCustomPrivacyPoliciesToBrandRequest;
|
||||
|
||||
AddCustomPrivacyPoliciesToBrandRequest::AddCustomPrivacyPoliciesToBrandRequest()
|
||||
: RpcServiceRequest("eiam", "2021-12-01", "AddCustomPrivacyPoliciesToBrand") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddCustomPrivacyPoliciesToBrandRequest::~AddCustomPrivacyPoliciesToBrandRequest() {}
|
||||
|
||||
std::string AddCustomPrivacyPoliciesToBrandRequest::getBrandId() const {
|
||||
return brandId_;
|
||||
}
|
||||
|
||||
void AddCustomPrivacyPoliciesToBrandRequest::setBrandId(const std::string &brandId) {
|
||||
brandId_ = brandId;
|
||||
setParameter(std::string("BrandId"), brandId);
|
||||
}
|
||||
|
||||
std::vector<AddCustomPrivacyPoliciesToBrandRequest::std::string> AddCustomPrivacyPoliciesToBrandRequest::getCustomPrivacyPolicyIds() const {
|
||||
return customPrivacyPolicyIds_;
|
||||
}
|
||||
|
||||
void AddCustomPrivacyPoliciesToBrandRequest::setCustomPrivacyPolicyIds(const std::vector<AddCustomPrivacyPoliciesToBrandRequest::std::string> &customPrivacyPolicyIds) {
|
||||
customPrivacyPolicyIds_ = customPrivacyPolicyIds;
|
||||
for(int dep1 = 0; dep1 != customPrivacyPolicyIds.size(); dep1++) {
|
||||
setParameter(std::string("CustomPrivacyPolicyIds") + "." + std::to_string(dep1 + 1), customPrivacyPolicyIds[dep1]);
|
||||
}
|
||||
}
|
||||
|
||||
std::string AddCustomPrivacyPoliciesToBrandRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void AddCustomPrivacyPoliciesToBrandRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
44
eiam/src/model/AddCustomPrivacyPoliciesToBrandResult.cc
Normal file
44
eiam/src/model/AddCustomPrivacyPoliciesToBrandResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eiam/model/AddCustomPrivacyPoliciesToBrandResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eiam;
|
||||
using namespace AlibabaCloud::Eiam::Model;
|
||||
|
||||
AddCustomPrivacyPoliciesToBrandResult::AddCustomPrivacyPoliciesToBrandResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddCustomPrivacyPoliciesToBrandResult::AddCustomPrivacyPoliciesToBrandResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddCustomPrivacyPoliciesToBrandResult::~AddCustomPrivacyPoliciesToBrandResult()
|
||||
{}
|
||||
|
||||
void AddCustomPrivacyPoliciesToBrandResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
97
eiam/src/model/CreateCustomPrivacyPolicyRequest.cc
Normal file
97
eiam/src/model/CreateCustomPrivacyPolicyRequest.cc
Normal file
@@ -0,0 +1,97 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eiam/model/CreateCustomPrivacyPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Eiam::Model::CreateCustomPrivacyPolicyRequest;
|
||||
|
||||
CreateCustomPrivacyPolicyRequest::CreateCustomPrivacyPolicyRequest()
|
||||
: RpcServiceRequest("eiam", "2021-12-01", "CreateCustomPrivacyPolicy") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateCustomPrivacyPolicyRequest::~CreateCustomPrivacyPolicyRequest() {}
|
||||
|
||||
std::string CreateCustomPrivacyPolicyRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateCustomPrivacyPolicyRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
std::string CreateCustomPrivacyPolicyRequest::getDefaultLanguageCode() const {
|
||||
return defaultLanguageCode_;
|
||||
}
|
||||
|
||||
void CreateCustomPrivacyPolicyRequest::setDefaultLanguageCode(const std::string &defaultLanguageCode) {
|
||||
defaultLanguageCode_ = defaultLanguageCode;
|
||||
setParameter(std::string("DefaultLanguageCode"), defaultLanguageCode);
|
||||
}
|
||||
|
||||
std::string CreateCustomPrivacyPolicyRequest::getUserConsentType() const {
|
||||
return userConsentType_;
|
||||
}
|
||||
|
||||
void CreateCustomPrivacyPolicyRequest::setUserConsentType(const std::string &userConsentType) {
|
||||
userConsentType_ = userConsentType;
|
||||
setParameter(std::string("UserConsentType"), userConsentType);
|
||||
}
|
||||
|
||||
std::vector<CreateCustomPrivacyPolicyRequest::CustomPrivacyPolicyContents> CreateCustomPrivacyPolicyRequest::getCustomPrivacyPolicyContents() const {
|
||||
return customPrivacyPolicyContents_;
|
||||
}
|
||||
|
||||
void CreateCustomPrivacyPolicyRequest::setCustomPrivacyPolicyContents(const std::vector<CreateCustomPrivacyPolicyRequest::CustomPrivacyPolicyContents> &customPrivacyPolicyContents) {
|
||||
customPrivacyPolicyContents_ = customPrivacyPolicyContents;
|
||||
for(int dep1 = 0; dep1 != customPrivacyPolicyContents.size(); dep1++) {
|
||||
setParameter(std::string("CustomPrivacyPolicyContents") + "." + std::to_string(dep1 + 1) + ".CustomPrivacyPolicyTip", customPrivacyPolicyContents[dep1].customPrivacyPolicyTip);
|
||||
setParameter(std::string("CustomPrivacyPolicyContents") + "." + std::to_string(dep1 + 1) + ".LanguageCode", customPrivacyPolicyContents[dep1].languageCode);
|
||||
for(int dep2 = 0; dep2 != customPrivacyPolicyContents[dep1].customPrivacyPolicyItems.size(); dep2++) {
|
||||
setParameter(std::string("CustomPrivacyPolicyContents") + "." + std::to_string(dep1 + 1) + ".CustomPrivacyPolicyItems." + std::to_string(dep2 + 1) + ".CustomPrivacyPolicyItemUrl", customPrivacyPolicyContents[dep1].customPrivacyPolicyItems[dep2].customPrivacyPolicyItemUrl);
|
||||
setParameter(std::string("CustomPrivacyPolicyContents") + "." + std::to_string(dep1 + 1) + ".CustomPrivacyPolicyItems." + std::to_string(dep2 + 1) + ".CustomPrivacyPolicyItemName", customPrivacyPolicyContents[dep1].customPrivacyPolicyItems[dep2].customPrivacyPolicyItemName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateCustomPrivacyPolicyRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void CreateCustomPrivacyPolicyRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
std::string CreateCustomPrivacyPolicyRequest::getCustomPrivacyPolicyName() const {
|
||||
return customPrivacyPolicyName_;
|
||||
}
|
||||
|
||||
void CreateCustomPrivacyPolicyRequest::setCustomPrivacyPolicyName(const std::string &customPrivacyPolicyName) {
|
||||
customPrivacyPolicyName_ = customPrivacyPolicyName;
|
||||
setParameter(std::string("CustomPrivacyPolicyName"), customPrivacyPolicyName);
|
||||
}
|
||||
|
||||
std::string CreateCustomPrivacyPolicyRequest::getStatus() const {
|
||||
return status_;
|
||||
}
|
||||
|
||||
void CreateCustomPrivacyPolicyRequest::setStatus(const std::string &status) {
|
||||
status_ = status;
|
||||
setParameter(std::string("Status"), status);
|
||||
}
|
||||
|
||||
51
eiam/src/model/CreateCustomPrivacyPolicyResult.cc
Normal file
51
eiam/src/model/CreateCustomPrivacyPolicyResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eiam/model/CreateCustomPrivacyPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eiam;
|
||||
using namespace AlibabaCloud::Eiam::Model;
|
||||
|
||||
CreateCustomPrivacyPolicyResult::CreateCustomPrivacyPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateCustomPrivacyPolicyResult::CreateCustomPrivacyPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateCustomPrivacyPolicyResult::~CreateCustomPrivacyPolicyResult()
|
||||
{}
|
||||
|
||||
void CreateCustomPrivacyPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CustomPrivacyPolicyId"].isNull())
|
||||
customPrivacyPolicyId_ = value["CustomPrivacyPolicyId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateCustomPrivacyPolicyResult::getCustomPrivacyPolicyId()const
|
||||
{
|
||||
return customPrivacyPolicyId_;
|
||||
}
|
||||
|
||||
45
eiam/src/model/DeleteCustomPrivacyPolicyRequest.cc
Normal file
45
eiam/src/model/DeleteCustomPrivacyPolicyRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eiam/model/DeleteCustomPrivacyPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Eiam::Model::DeleteCustomPrivacyPolicyRequest;
|
||||
|
||||
DeleteCustomPrivacyPolicyRequest::DeleteCustomPrivacyPolicyRequest()
|
||||
: RpcServiceRequest("eiam", "2021-12-01", "DeleteCustomPrivacyPolicy") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteCustomPrivacyPolicyRequest::~DeleteCustomPrivacyPolicyRequest() {}
|
||||
|
||||
std::string DeleteCustomPrivacyPolicyRequest::getCustomPrivacyPolicyId() const {
|
||||
return customPrivacyPolicyId_;
|
||||
}
|
||||
|
||||
void DeleteCustomPrivacyPolicyRequest::setCustomPrivacyPolicyId(const std::string &customPrivacyPolicyId) {
|
||||
customPrivacyPolicyId_ = customPrivacyPolicyId;
|
||||
setParameter(std::string("CustomPrivacyPolicyId"), customPrivacyPolicyId);
|
||||
}
|
||||
|
||||
std::string DeleteCustomPrivacyPolicyRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void DeleteCustomPrivacyPolicyRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
44
eiam/src/model/DeleteCustomPrivacyPolicyResult.cc
Normal file
44
eiam/src/model/DeleteCustomPrivacyPolicyResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eiam/model/DeleteCustomPrivacyPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eiam;
|
||||
using namespace AlibabaCloud::Eiam::Model;
|
||||
|
||||
DeleteCustomPrivacyPolicyResult::DeleteCustomPrivacyPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteCustomPrivacyPolicyResult::DeleteCustomPrivacyPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteCustomPrivacyPolicyResult::~DeleteCustomPrivacyPolicyResult()
|
||||
{}
|
||||
|
||||
void DeleteCustomPrivacyPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
45
eiam/src/model/DisableCustomPrivacyPolicyRequest.cc
Normal file
45
eiam/src/model/DisableCustomPrivacyPolicyRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eiam/model/DisableCustomPrivacyPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Eiam::Model::DisableCustomPrivacyPolicyRequest;
|
||||
|
||||
DisableCustomPrivacyPolicyRequest::DisableCustomPrivacyPolicyRequest()
|
||||
: RpcServiceRequest("eiam", "2021-12-01", "DisableCustomPrivacyPolicy") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DisableCustomPrivacyPolicyRequest::~DisableCustomPrivacyPolicyRequest() {}
|
||||
|
||||
std::string DisableCustomPrivacyPolicyRequest::getCustomPrivacyPolicyId() const {
|
||||
return customPrivacyPolicyId_;
|
||||
}
|
||||
|
||||
void DisableCustomPrivacyPolicyRequest::setCustomPrivacyPolicyId(const std::string &customPrivacyPolicyId) {
|
||||
customPrivacyPolicyId_ = customPrivacyPolicyId;
|
||||
setParameter(std::string("CustomPrivacyPolicyId"), customPrivacyPolicyId);
|
||||
}
|
||||
|
||||
std::string DisableCustomPrivacyPolicyRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void DisableCustomPrivacyPolicyRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
44
eiam/src/model/DisableCustomPrivacyPolicyResult.cc
Normal file
44
eiam/src/model/DisableCustomPrivacyPolicyResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eiam/model/DisableCustomPrivacyPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eiam;
|
||||
using namespace AlibabaCloud::Eiam::Model;
|
||||
|
||||
DisableCustomPrivacyPolicyResult::DisableCustomPrivacyPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DisableCustomPrivacyPolicyResult::DisableCustomPrivacyPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DisableCustomPrivacyPolicyResult::~DisableCustomPrivacyPolicyResult()
|
||||
{}
|
||||
|
||||
void DisableCustomPrivacyPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
45
eiam/src/model/EnableCustomPrivacyPolicyRequest.cc
Normal file
45
eiam/src/model/EnableCustomPrivacyPolicyRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eiam/model/EnableCustomPrivacyPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Eiam::Model::EnableCustomPrivacyPolicyRequest;
|
||||
|
||||
EnableCustomPrivacyPolicyRequest::EnableCustomPrivacyPolicyRequest()
|
||||
: RpcServiceRequest("eiam", "2021-12-01", "EnableCustomPrivacyPolicy") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
EnableCustomPrivacyPolicyRequest::~EnableCustomPrivacyPolicyRequest() {}
|
||||
|
||||
std::string EnableCustomPrivacyPolicyRequest::getCustomPrivacyPolicyId() const {
|
||||
return customPrivacyPolicyId_;
|
||||
}
|
||||
|
||||
void EnableCustomPrivacyPolicyRequest::setCustomPrivacyPolicyId(const std::string &customPrivacyPolicyId) {
|
||||
customPrivacyPolicyId_ = customPrivacyPolicyId;
|
||||
setParameter(std::string("CustomPrivacyPolicyId"), customPrivacyPolicyId);
|
||||
}
|
||||
|
||||
std::string EnableCustomPrivacyPolicyRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void EnableCustomPrivacyPolicyRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
44
eiam/src/model/EnableCustomPrivacyPolicyResult.cc
Normal file
44
eiam/src/model/EnableCustomPrivacyPolicyResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eiam/model/EnableCustomPrivacyPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eiam;
|
||||
using namespace AlibabaCloud::Eiam::Model;
|
||||
|
||||
EnableCustomPrivacyPolicyResult::EnableCustomPrivacyPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
EnableCustomPrivacyPolicyResult::EnableCustomPrivacyPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
EnableCustomPrivacyPolicyResult::~EnableCustomPrivacyPolicyResult()
|
||||
{}
|
||||
|
||||
void EnableCustomPrivacyPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
45
eiam/src/model/GetCustomPrivacyPolicyRequest.cc
Normal file
45
eiam/src/model/GetCustomPrivacyPolicyRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eiam/model/GetCustomPrivacyPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Eiam::Model::GetCustomPrivacyPolicyRequest;
|
||||
|
||||
GetCustomPrivacyPolicyRequest::GetCustomPrivacyPolicyRequest()
|
||||
: RpcServiceRequest("eiam", "2021-12-01", "GetCustomPrivacyPolicy") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetCustomPrivacyPolicyRequest::~GetCustomPrivacyPolicyRequest() {}
|
||||
|
||||
std::string GetCustomPrivacyPolicyRequest::getCustomPrivacyPolicyId() const {
|
||||
return customPrivacyPolicyId_;
|
||||
}
|
||||
|
||||
void GetCustomPrivacyPolicyRequest::setCustomPrivacyPolicyId(const std::string &customPrivacyPolicyId) {
|
||||
customPrivacyPolicyId_ = customPrivacyPolicyId;
|
||||
setParameter(std::string("CustomPrivacyPolicyId"), customPrivacyPolicyId);
|
||||
}
|
||||
|
||||
std::string GetCustomPrivacyPolicyRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void GetCustomPrivacyPolicyRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
82
eiam/src/model/GetCustomPrivacyPolicyResult.cc
Normal file
82
eiam/src/model/GetCustomPrivacyPolicyResult.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eiam/model/GetCustomPrivacyPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eiam;
|
||||
using namespace AlibabaCloud::Eiam::Model;
|
||||
|
||||
GetCustomPrivacyPolicyResult::GetCustomPrivacyPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetCustomPrivacyPolicyResult::GetCustomPrivacyPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetCustomPrivacyPolicyResult::~GetCustomPrivacyPolicyResult()
|
||||
{}
|
||||
|
||||
void GetCustomPrivacyPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto customPrivacyPolicyNode = value["CustomPrivacyPolicy"];
|
||||
if(!customPrivacyPolicyNode["CustomPrivacyPolicyId"].isNull())
|
||||
customPrivacyPolicy_.customPrivacyPolicyId = customPrivacyPolicyNode["CustomPrivacyPolicyId"].asString();
|
||||
if(!customPrivacyPolicyNode["CustomPrivacyPolicyName"].isNull())
|
||||
customPrivacyPolicy_.customPrivacyPolicyName = customPrivacyPolicyNode["CustomPrivacyPolicyName"].asString();
|
||||
if(!customPrivacyPolicyNode["Status"].isNull())
|
||||
customPrivacyPolicy_.status = customPrivacyPolicyNode["Status"].asString();
|
||||
if(!customPrivacyPolicyNode["DefaultLanguageCode"].isNull())
|
||||
customPrivacyPolicy_.defaultLanguageCode = customPrivacyPolicyNode["DefaultLanguageCode"].asString();
|
||||
if(!customPrivacyPolicyNode["UserConsentType"].isNull())
|
||||
customPrivacyPolicy_.userConsentType = customPrivacyPolicyNode["UserConsentType"].asString();
|
||||
if(!customPrivacyPolicyNode["InstanceId"].isNull())
|
||||
customPrivacyPolicy_.instanceId = customPrivacyPolicyNode["InstanceId"].asString();
|
||||
auto allCustomPrivacyPolicyContentsNode = customPrivacyPolicyNode["CustomPrivacyPolicyContents"]["customPrivacyPolicyContentsItem"];
|
||||
for (auto customPrivacyPolicyNodeCustomPrivacyPolicyContentscustomPrivacyPolicyContentsItem : allCustomPrivacyPolicyContentsNode)
|
||||
{
|
||||
CustomPrivacyPolicy::CustomPrivacyPolicyContentsItem customPrivacyPolicyContentsItemObject;
|
||||
if(!customPrivacyPolicyNodeCustomPrivacyPolicyContentscustomPrivacyPolicyContentsItem["CustomPrivacyPolicyTip"].isNull())
|
||||
customPrivacyPolicyContentsItemObject.customPrivacyPolicyTip = customPrivacyPolicyNodeCustomPrivacyPolicyContentscustomPrivacyPolicyContentsItem["CustomPrivacyPolicyTip"].asString();
|
||||
if(!customPrivacyPolicyNodeCustomPrivacyPolicyContentscustomPrivacyPolicyContentsItem["LanguageCode"].isNull())
|
||||
customPrivacyPolicyContentsItemObject.languageCode = customPrivacyPolicyNodeCustomPrivacyPolicyContentscustomPrivacyPolicyContentsItem["LanguageCode"].asString();
|
||||
auto allCustomPrivacyPolicyItemsNode = customPrivacyPolicyNodeCustomPrivacyPolicyContentscustomPrivacyPolicyContentsItem["CustomPrivacyPolicyItems"]["customPrivacyPolicyItemsItem"];
|
||||
for (auto customPrivacyPolicyNodeCustomPrivacyPolicyContentscustomPrivacyPolicyContentsItemCustomPrivacyPolicyItemscustomPrivacyPolicyItemsItem : allCustomPrivacyPolicyItemsNode)
|
||||
{
|
||||
CustomPrivacyPolicy::CustomPrivacyPolicyContentsItem::CustomPrivacyPolicyItemsItem customPrivacyPolicyItemsObject;
|
||||
if(!customPrivacyPolicyNodeCustomPrivacyPolicyContentscustomPrivacyPolicyContentsItemCustomPrivacyPolicyItemscustomPrivacyPolicyItemsItem["CustomPrivacyPolicyItemName"].isNull())
|
||||
customPrivacyPolicyItemsObject.customPrivacyPolicyItemName = customPrivacyPolicyNodeCustomPrivacyPolicyContentscustomPrivacyPolicyContentsItemCustomPrivacyPolicyItemscustomPrivacyPolicyItemsItem["CustomPrivacyPolicyItemName"].asString();
|
||||
if(!customPrivacyPolicyNodeCustomPrivacyPolicyContentscustomPrivacyPolicyContentsItemCustomPrivacyPolicyItemscustomPrivacyPolicyItemsItem["CustomPrivacyPolicyItemUrl"].isNull())
|
||||
customPrivacyPolicyItemsObject.customPrivacyPolicyItemUrl = customPrivacyPolicyNodeCustomPrivacyPolicyContentscustomPrivacyPolicyContentsItemCustomPrivacyPolicyItemscustomPrivacyPolicyItemsItem["CustomPrivacyPolicyItemUrl"].asString();
|
||||
customPrivacyPolicyContentsItemObject.customPrivacyPolicyItems.push_back(customPrivacyPolicyItemsObject);
|
||||
}
|
||||
customPrivacyPolicy_.customPrivacyPolicyContents.push_back(customPrivacyPolicyContentsItemObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
GetCustomPrivacyPolicyResult::CustomPrivacyPolicy GetCustomPrivacyPolicyResult::getCustomPrivacyPolicy()const
|
||||
{
|
||||
return customPrivacyPolicy_;
|
||||
}
|
||||
|
||||
72
eiam/src/model/ListCustomPrivacyPoliciesForBrandRequest.cc
Normal file
72
eiam/src/model/ListCustomPrivacyPoliciesForBrandRequest.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eiam/model/ListCustomPrivacyPoliciesForBrandRequest.h>
|
||||
|
||||
using AlibabaCloud::Eiam::Model::ListCustomPrivacyPoliciesForBrandRequest;
|
||||
|
||||
ListCustomPrivacyPoliciesForBrandRequest::ListCustomPrivacyPoliciesForBrandRequest()
|
||||
: RpcServiceRequest("eiam", "2021-12-01", "ListCustomPrivacyPoliciesForBrand") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListCustomPrivacyPoliciesForBrandRequest::~ListCustomPrivacyPoliciesForBrandRequest() {}
|
||||
|
||||
std::string ListCustomPrivacyPoliciesForBrandRequest::getNextToken() const {
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void ListCustomPrivacyPoliciesForBrandRequest::setNextToken(const std::string &nextToken) {
|
||||
nextToken_ = nextToken;
|
||||
setParameter(std::string("NextToken"), nextToken);
|
||||
}
|
||||
|
||||
std::string ListCustomPrivacyPoliciesForBrandRequest::getBrandId() const {
|
||||
return brandId_;
|
||||
}
|
||||
|
||||
void ListCustomPrivacyPoliciesForBrandRequest::setBrandId(const std::string &brandId) {
|
||||
brandId_ = brandId;
|
||||
setParameter(std::string("BrandId"), brandId);
|
||||
}
|
||||
|
||||
std::string ListCustomPrivacyPoliciesForBrandRequest::getPreviousToken() const {
|
||||
return previousToken_;
|
||||
}
|
||||
|
||||
void ListCustomPrivacyPoliciesForBrandRequest::setPreviousToken(const std::string &previousToken) {
|
||||
previousToken_ = previousToken;
|
||||
setParameter(std::string("PreviousToken"), previousToken);
|
||||
}
|
||||
|
||||
std::string ListCustomPrivacyPoliciesForBrandRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ListCustomPrivacyPoliciesForBrandRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
long ListCustomPrivacyPoliciesForBrandRequest::getMaxResults() const {
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
void ListCustomPrivacyPoliciesForBrandRequest::setMaxResults(long maxResults) {
|
||||
maxResults_ = maxResults;
|
||||
setParameter(std::string("MaxResults"), std::to_string(maxResults));
|
||||
}
|
||||
|
||||
85
eiam/src/model/ListCustomPrivacyPoliciesForBrandResult.cc
Normal file
85
eiam/src/model/ListCustomPrivacyPoliciesForBrandResult.cc
Normal file
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eiam/model/ListCustomPrivacyPoliciesForBrandResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eiam;
|
||||
using namespace AlibabaCloud::Eiam::Model;
|
||||
|
||||
ListCustomPrivacyPoliciesForBrandResult::ListCustomPrivacyPoliciesForBrandResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListCustomPrivacyPoliciesForBrandResult::ListCustomPrivacyPoliciesForBrandResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListCustomPrivacyPoliciesForBrandResult::~ListCustomPrivacyPoliciesForBrandResult()
|
||||
{}
|
||||
|
||||
void ListCustomPrivacyPoliciesForBrandResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allBrandCustomPrivacyPoliciesNode = value["BrandCustomPrivacyPolicies"]["BrandCustomPrivacyPolicy"];
|
||||
for (auto valueBrandCustomPrivacyPoliciesBrandCustomPrivacyPolicy : allBrandCustomPrivacyPoliciesNode)
|
||||
{
|
||||
BrandCustomPrivacyPolicy brandCustomPrivacyPoliciesObject;
|
||||
if(!valueBrandCustomPrivacyPoliciesBrandCustomPrivacyPolicy["CustomPrivacyPolicyId"].isNull())
|
||||
brandCustomPrivacyPoliciesObject.customPrivacyPolicyId = valueBrandCustomPrivacyPoliciesBrandCustomPrivacyPolicy["CustomPrivacyPolicyId"].asString();
|
||||
brandCustomPrivacyPolicies_.push_back(brandCustomPrivacyPoliciesObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
if(!value["PreviousToken"].isNull())
|
||||
previousToken_ = value["PreviousToken"].asString();
|
||||
if(!value["MaxResults"].isNull())
|
||||
maxResults_ = std::stol(value["MaxResults"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ListCustomPrivacyPoliciesForBrandResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string ListCustomPrivacyPoliciesForBrandResult::getPreviousToken()const
|
||||
{
|
||||
return previousToken_;
|
||||
}
|
||||
|
||||
std::vector<ListCustomPrivacyPoliciesForBrandResult::BrandCustomPrivacyPolicy> ListCustomPrivacyPoliciesForBrandResult::getBrandCustomPrivacyPolicies()const
|
||||
{
|
||||
return brandCustomPrivacyPolicies_;
|
||||
}
|
||||
|
||||
std::string ListCustomPrivacyPoliciesForBrandResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
long ListCustomPrivacyPoliciesForBrandResult::getMaxResults()const
|
||||
{
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
72
eiam/src/model/ListCustomPrivacyPoliciesRequest.cc
Normal file
72
eiam/src/model/ListCustomPrivacyPoliciesRequest.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eiam/model/ListCustomPrivacyPoliciesRequest.h>
|
||||
|
||||
using AlibabaCloud::Eiam::Model::ListCustomPrivacyPoliciesRequest;
|
||||
|
||||
ListCustomPrivacyPoliciesRequest::ListCustomPrivacyPoliciesRequest()
|
||||
: RpcServiceRequest("eiam", "2021-12-01", "ListCustomPrivacyPolicies") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListCustomPrivacyPoliciesRequest::~ListCustomPrivacyPoliciesRequest() {}
|
||||
|
||||
std::string ListCustomPrivacyPoliciesRequest::getNextToken() const {
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void ListCustomPrivacyPoliciesRequest::setNextToken(const std::string &nextToken) {
|
||||
nextToken_ = nextToken;
|
||||
setParameter(std::string("NextToken"), nextToken);
|
||||
}
|
||||
|
||||
std::string ListCustomPrivacyPoliciesRequest::getPreviousToken() const {
|
||||
return previousToken_;
|
||||
}
|
||||
|
||||
void ListCustomPrivacyPoliciesRequest::setPreviousToken(const std::string &previousToken) {
|
||||
previousToken_ = previousToken;
|
||||
setParameter(std::string("PreviousToken"), previousToken);
|
||||
}
|
||||
|
||||
std::string ListCustomPrivacyPoliciesRequest::getCustomPrivacyPolicyNameStartsWith() const {
|
||||
return customPrivacyPolicyNameStartsWith_;
|
||||
}
|
||||
|
||||
void ListCustomPrivacyPoliciesRequest::setCustomPrivacyPolicyNameStartsWith(const std::string &customPrivacyPolicyNameStartsWith) {
|
||||
customPrivacyPolicyNameStartsWith_ = customPrivacyPolicyNameStartsWith;
|
||||
setParameter(std::string("CustomPrivacyPolicyNameStartsWith"), customPrivacyPolicyNameStartsWith);
|
||||
}
|
||||
|
||||
std::string ListCustomPrivacyPoliciesRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ListCustomPrivacyPoliciesRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
long ListCustomPrivacyPoliciesRequest::getMaxResults() const {
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
void ListCustomPrivacyPoliciesRequest::setMaxResults(long maxResults) {
|
||||
maxResults_ = maxResults;
|
||||
setParameter(std::string("MaxResults"), std::to_string(maxResults));
|
||||
}
|
||||
|
||||
95
eiam/src/model/ListCustomPrivacyPoliciesResult.cc
Normal file
95
eiam/src/model/ListCustomPrivacyPoliciesResult.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eiam/model/ListCustomPrivacyPoliciesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eiam;
|
||||
using namespace AlibabaCloud::Eiam::Model;
|
||||
|
||||
ListCustomPrivacyPoliciesResult::ListCustomPrivacyPoliciesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListCustomPrivacyPoliciesResult::ListCustomPrivacyPoliciesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListCustomPrivacyPoliciesResult::~ListCustomPrivacyPoliciesResult()
|
||||
{}
|
||||
|
||||
void ListCustomPrivacyPoliciesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCustomPrivacyPoliciesNode = value["CustomPrivacyPolicies"]["CustomPrivacyPolicy"];
|
||||
for (auto valueCustomPrivacyPoliciesCustomPrivacyPolicy : allCustomPrivacyPoliciesNode)
|
||||
{
|
||||
CustomPrivacyPolicy customPrivacyPoliciesObject;
|
||||
if(!valueCustomPrivacyPoliciesCustomPrivacyPolicy["InstanceId"].isNull())
|
||||
customPrivacyPoliciesObject.instanceId = valueCustomPrivacyPoliciesCustomPrivacyPolicy["InstanceId"].asString();
|
||||
if(!valueCustomPrivacyPoliciesCustomPrivacyPolicy["CustomPrivacyPolicyId"].isNull())
|
||||
customPrivacyPoliciesObject.customPrivacyPolicyId = valueCustomPrivacyPoliciesCustomPrivacyPolicy["CustomPrivacyPolicyId"].asString();
|
||||
if(!valueCustomPrivacyPoliciesCustomPrivacyPolicy["CustomPrivacyPolicyName"].isNull())
|
||||
customPrivacyPoliciesObject.customPrivacyPolicyName = valueCustomPrivacyPoliciesCustomPrivacyPolicy["CustomPrivacyPolicyName"].asString();
|
||||
if(!valueCustomPrivacyPoliciesCustomPrivacyPolicy["Status"].isNull())
|
||||
customPrivacyPoliciesObject.status = valueCustomPrivacyPoliciesCustomPrivacyPolicy["Status"].asString();
|
||||
if(!valueCustomPrivacyPoliciesCustomPrivacyPolicy["UserConsentType"].isNull())
|
||||
customPrivacyPoliciesObject.userConsentType = valueCustomPrivacyPoliciesCustomPrivacyPolicy["UserConsentType"].asString();
|
||||
if(!valueCustomPrivacyPoliciesCustomPrivacyPolicy["DefaultLanguageCode"].isNull())
|
||||
customPrivacyPoliciesObject.defaultLanguageCode = valueCustomPrivacyPoliciesCustomPrivacyPolicy["DefaultLanguageCode"].asString();
|
||||
customPrivacyPolicies_.push_back(customPrivacyPoliciesObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
if(!value["PreviousToken"].isNull())
|
||||
previousToken_ = value["PreviousToken"].asString();
|
||||
if(!value["MaxResults"].isNull())
|
||||
maxResults_ = std::stol(value["MaxResults"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<ListCustomPrivacyPoliciesResult::CustomPrivacyPolicy> ListCustomPrivacyPoliciesResult::getCustomPrivacyPolicies()const
|
||||
{
|
||||
return customPrivacyPolicies_;
|
||||
}
|
||||
|
||||
long ListCustomPrivacyPoliciesResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string ListCustomPrivacyPoliciesResult::getPreviousToken()const
|
||||
{
|
||||
return previousToken_;
|
||||
}
|
||||
|
||||
std::string ListCustomPrivacyPoliciesResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
long ListCustomPrivacyPoliciesResult::getMaxResults()const
|
||||
{
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eiam/model/RemoveCustomPrivacyPoliciesFromBrandRequest.h>
|
||||
|
||||
using AlibabaCloud::Eiam::Model::RemoveCustomPrivacyPoliciesFromBrandRequest;
|
||||
|
||||
RemoveCustomPrivacyPoliciesFromBrandRequest::RemoveCustomPrivacyPoliciesFromBrandRequest()
|
||||
: RpcServiceRequest("eiam", "2021-12-01", "RemoveCustomPrivacyPoliciesFromBrand") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RemoveCustomPrivacyPoliciesFromBrandRequest::~RemoveCustomPrivacyPoliciesFromBrandRequest() {}
|
||||
|
||||
std::string RemoveCustomPrivacyPoliciesFromBrandRequest::getBrandId() const {
|
||||
return brandId_;
|
||||
}
|
||||
|
||||
void RemoveCustomPrivacyPoliciesFromBrandRequest::setBrandId(const std::string &brandId) {
|
||||
brandId_ = brandId;
|
||||
setParameter(std::string("BrandId"), brandId);
|
||||
}
|
||||
|
||||
std::vector<RemoveCustomPrivacyPoliciesFromBrandRequest::std::string> RemoveCustomPrivacyPoliciesFromBrandRequest::getCustomPrivacyPolicyIds() const {
|
||||
return customPrivacyPolicyIds_;
|
||||
}
|
||||
|
||||
void RemoveCustomPrivacyPoliciesFromBrandRequest::setCustomPrivacyPolicyIds(const std::vector<RemoveCustomPrivacyPoliciesFromBrandRequest::std::string> &customPrivacyPolicyIds) {
|
||||
customPrivacyPolicyIds_ = customPrivacyPolicyIds;
|
||||
for(int dep1 = 0; dep1 != customPrivacyPolicyIds.size(); dep1++) {
|
||||
setParameter(std::string("CustomPrivacyPolicyIds") + "." + std::to_string(dep1 + 1), customPrivacyPolicyIds[dep1]);
|
||||
}
|
||||
}
|
||||
|
||||
std::string RemoveCustomPrivacyPoliciesFromBrandRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void RemoveCustomPrivacyPoliciesFromBrandRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
44
eiam/src/model/RemoveCustomPrivacyPoliciesFromBrandResult.cc
Normal file
44
eiam/src/model/RemoveCustomPrivacyPoliciesFromBrandResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eiam/model/RemoveCustomPrivacyPoliciesFromBrandResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eiam;
|
||||
using namespace AlibabaCloud::Eiam::Model;
|
||||
|
||||
RemoveCustomPrivacyPoliciesFromBrandResult::RemoveCustomPrivacyPoliciesFromBrandResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RemoveCustomPrivacyPoliciesFromBrandResult::RemoveCustomPrivacyPoliciesFromBrandResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RemoveCustomPrivacyPoliciesFromBrandResult::~RemoveCustomPrivacyPoliciesFromBrandResult()
|
||||
{}
|
||||
|
||||
void RemoveCustomPrivacyPoliciesFromBrandResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
88
eiam/src/model/UpdateCustomPrivacyPolicyRequest.cc
Normal file
88
eiam/src/model/UpdateCustomPrivacyPolicyRequest.cc
Normal file
@@ -0,0 +1,88 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eiam/model/UpdateCustomPrivacyPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Eiam::Model::UpdateCustomPrivacyPolicyRequest;
|
||||
|
||||
UpdateCustomPrivacyPolicyRequest::UpdateCustomPrivacyPolicyRequest()
|
||||
: RpcServiceRequest("eiam", "2021-12-01", "UpdateCustomPrivacyPolicy") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateCustomPrivacyPolicyRequest::~UpdateCustomPrivacyPolicyRequest() {}
|
||||
|
||||
std::string UpdateCustomPrivacyPolicyRequest::getDefaultLanguageCode() const {
|
||||
return defaultLanguageCode_;
|
||||
}
|
||||
|
||||
void UpdateCustomPrivacyPolicyRequest::setDefaultLanguageCode(const std::string &defaultLanguageCode) {
|
||||
defaultLanguageCode_ = defaultLanguageCode;
|
||||
setParameter(std::string("DefaultLanguageCode"), defaultLanguageCode);
|
||||
}
|
||||
|
||||
std::string UpdateCustomPrivacyPolicyRequest::getUserConsentType() const {
|
||||
return userConsentType_;
|
||||
}
|
||||
|
||||
void UpdateCustomPrivacyPolicyRequest::setUserConsentType(const std::string &userConsentType) {
|
||||
userConsentType_ = userConsentType;
|
||||
setParameter(std::string("UserConsentType"), userConsentType);
|
||||
}
|
||||
|
||||
std::vector<UpdateCustomPrivacyPolicyRequest::CustomPrivacyPolicyContents> UpdateCustomPrivacyPolicyRequest::getCustomPrivacyPolicyContents() const {
|
||||
return customPrivacyPolicyContents_;
|
||||
}
|
||||
|
||||
void UpdateCustomPrivacyPolicyRequest::setCustomPrivacyPolicyContents(const std::vector<UpdateCustomPrivacyPolicyRequest::CustomPrivacyPolicyContents> &customPrivacyPolicyContents) {
|
||||
customPrivacyPolicyContents_ = customPrivacyPolicyContents;
|
||||
for(int dep1 = 0; dep1 != customPrivacyPolicyContents.size(); dep1++) {
|
||||
setParameter(std::string("CustomPrivacyPolicyContents") + "." + std::to_string(dep1 + 1) + ".CustomPrivacyPolicyTip", customPrivacyPolicyContents[dep1].customPrivacyPolicyTip);
|
||||
setParameter(std::string("CustomPrivacyPolicyContents") + "." + std::to_string(dep1 + 1) + ".LanguageCode", customPrivacyPolicyContents[dep1].languageCode);
|
||||
for(int dep2 = 0; dep2 != customPrivacyPolicyContents[dep1].customPrivacyPolicyItems.size(); dep2++) {
|
||||
setParameter(std::string("CustomPrivacyPolicyContents") + "." + std::to_string(dep1 + 1) + ".CustomPrivacyPolicyItems." + std::to_string(dep2 + 1) + ".CustomPrivacyPolicyItemUrl", customPrivacyPolicyContents[dep1].customPrivacyPolicyItems[dep2].customPrivacyPolicyItemUrl);
|
||||
setParameter(std::string("CustomPrivacyPolicyContents") + "." + std::to_string(dep1 + 1) + ".CustomPrivacyPolicyItems." + std::to_string(dep2 + 1) + ".CustomPrivacyPolicyItemName", customPrivacyPolicyContents[dep1].customPrivacyPolicyItems[dep2].customPrivacyPolicyItemName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
std::string UpdateCustomPrivacyPolicyRequest::getCustomPrivacyPolicyId() const {
|
||||
return customPrivacyPolicyId_;
|
||||
}
|
||||
|
||||
void UpdateCustomPrivacyPolicyRequest::setCustomPrivacyPolicyId(const std::string &customPrivacyPolicyId) {
|
||||
customPrivacyPolicyId_ = customPrivacyPolicyId;
|
||||
setParameter(std::string("CustomPrivacyPolicyId"), customPrivacyPolicyId);
|
||||
}
|
||||
|
||||
std::string UpdateCustomPrivacyPolicyRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void UpdateCustomPrivacyPolicyRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
std::string UpdateCustomPrivacyPolicyRequest::getCustomPrivacyPolicyName() const {
|
||||
return customPrivacyPolicyName_;
|
||||
}
|
||||
|
||||
void UpdateCustomPrivacyPolicyRequest::setCustomPrivacyPolicyName(const std::string &customPrivacyPolicyName) {
|
||||
customPrivacyPolicyName_ = customPrivacyPolicyName;
|
||||
setParameter(std::string("CustomPrivacyPolicyName"), customPrivacyPolicyName);
|
||||
}
|
||||
|
||||
44
eiam/src/model/UpdateCustomPrivacyPolicyResult.cc
Normal file
44
eiam/src/model/UpdateCustomPrivacyPolicyResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eiam/model/UpdateCustomPrivacyPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eiam;
|
||||
using namespace AlibabaCloud::Eiam::Model;
|
||||
|
||||
UpdateCustomPrivacyPolicyResult::UpdateCustomPrivacyPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateCustomPrivacyPolicyResult::UpdateCustomPrivacyPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateCustomPrivacyPolicyResult::~UpdateCustomPrivacyPolicyResult()
|
||||
{}
|
||||
|
||||
void UpdateCustomPrivacyPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user