Generated 2020-05-18 for dataworks-public.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2020-08-07 Version: 1.36.560
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
2020-08-07 Version: 1.36.559
|
||||
- GetTitleDiagnose GetTitleGenerate GetImageTranslate supported.
|
||||
|
||||
|
||||
@@ -23,6 +23,8 @@ set(dataworks-public_public_header
|
||||
set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/AbolishDataServiceApiRequest.h
|
||||
include/alibabacloud/dataworks-public/model/AbolishDataServiceApiResult.h
|
||||
include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleRequest.h
|
||||
include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleResult.h
|
||||
include/alibabacloud/dataworks-public/model/AddToMetaCategoryRequest.h
|
||||
include/alibabacloud/dataworks-public/model/AddToMetaCategoryResult.h
|
||||
include/alibabacloud/dataworks-public/model/CheckMetaPartitionRequest.h
|
||||
@@ -43,6 +45,8 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/CreateFolderResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateMetaCategoryRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateMetaCategoryResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateProjectMemberRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateProjectMemberResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateQualityEntityRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateQualityEntityResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateQualityFollowerRequest.h
|
||||
@@ -69,6 +73,8 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteMetaCategoryRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteMetaCategoryResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteProjectMemberRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteProjectMemberResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteQualityEntityRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteQualityEntityResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteQualityFollowerRequest.h
|
||||
@@ -189,6 +195,10 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/ListNodeIOResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListNodesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListNodesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListProjectMembersRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListProjectMembersResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListProjectRolesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListProjectRolesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListQualityRulesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListQualityRulesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListRemindsRequest.h
|
||||
@@ -199,6 +209,8 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/ListTopicsResult.h
|
||||
include/alibabacloud/dataworks-public/model/PublishDataServiceApiRequest.h
|
||||
include/alibabacloud/dataworks-public/model/PublishDataServiceApiResult.h
|
||||
include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleRequest.h
|
||||
include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleResult.h
|
||||
include/alibabacloud/dataworks-public/model/RestartInstanceRequest.h
|
||||
include/alibabacloud/dataworks-public/model/RestartInstanceResult.h
|
||||
include/alibabacloud/dataworks-public/model/ResumeInstanceRequest.h
|
||||
@@ -238,6 +250,8 @@ set(dataworks-public_src
|
||||
src/Dataworks-publicClient.cc
|
||||
src/model/AbolishDataServiceApiRequest.cc
|
||||
src/model/AbolishDataServiceApiResult.cc
|
||||
src/model/AddProjectMemberToRoleRequest.cc
|
||||
src/model/AddProjectMemberToRoleResult.cc
|
||||
src/model/AddToMetaCategoryRequest.cc
|
||||
src/model/AddToMetaCategoryResult.cc
|
||||
src/model/CheckMetaPartitionRequest.cc
|
||||
@@ -258,6 +272,8 @@ set(dataworks-public_src
|
||||
src/model/CreateFolderResult.cc
|
||||
src/model/CreateMetaCategoryRequest.cc
|
||||
src/model/CreateMetaCategoryResult.cc
|
||||
src/model/CreateProjectMemberRequest.cc
|
||||
src/model/CreateProjectMemberResult.cc
|
||||
src/model/CreateQualityEntityRequest.cc
|
||||
src/model/CreateQualityEntityResult.cc
|
||||
src/model/CreateQualityFollowerRequest.cc
|
||||
@@ -284,6 +300,8 @@ set(dataworks-public_src
|
||||
src/model/DeleteFromMetaCategoryResult.cc
|
||||
src/model/DeleteMetaCategoryRequest.cc
|
||||
src/model/DeleteMetaCategoryResult.cc
|
||||
src/model/DeleteProjectMemberRequest.cc
|
||||
src/model/DeleteProjectMemberResult.cc
|
||||
src/model/DeleteQualityEntityRequest.cc
|
||||
src/model/DeleteQualityEntityResult.cc
|
||||
src/model/DeleteQualityFollowerRequest.cc
|
||||
@@ -404,6 +422,10 @@ set(dataworks-public_src
|
||||
src/model/ListNodeIOResult.cc
|
||||
src/model/ListNodesRequest.cc
|
||||
src/model/ListNodesResult.cc
|
||||
src/model/ListProjectMembersRequest.cc
|
||||
src/model/ListProjectMembersResult.cc
|
||||
src/model/ListProjectRolesRequest.cc
|
||||
src/model/ListProjectRolesResult.cc
|
||||
src/model/ListQualityRulesRequest.cc
|
||||
src/model/ListQualityRulesResult.cc
|
||||
src/model/ListRemindsRequest.cc
|
||||
@@ -414,6 +436,8 @@ set(dataworks-public_src
|
||||
src/model/ListTopicsResult.cc
|
||||
src/model/PublishDataServiceApiRequest.cc
|
||||
src/model/PublishDataServiceApiResult.cc
|
||||
src/model/RemoveProjectMemberFromRoleRequest.cc
|
||||
src/model/RemoveProjectMemberFromRoleResult.cc
|
||||
src/model/RestartInstanceRequest.cc
|
||||
src/model/RestartInstanceResult.cc
|
||||
src/model/ResumeInstanceRequest.cc
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
#include "Dataworks_publicExport.h"
|
||||
#include "model/AbolishDataServiceApiRequest.h"
|
||||
#include "model/AbolishDataServiceApiResult.h"
|
||||
#include "model/AddProjectMemberToRoleRequest.h"
|
||||
#include "model/AddProjectMemberToRoleResult.h"
|
||||
#include "model/AddToMetaCategoryRequest.h"
|
||||
#include "model/AddToMetaCategoryResult.h"
|
||||
#include "model/CheckMetaPartitionRequest.h"
|
||||
@@ -44,6 +46,8 @@
|
||||
#include "model/CreateFolderResult.h"
|
||||
#include "model/CreateMetaCategoryRequest.h"
|
||||
#include "model/CreateMetaCategoryResult.h"
|
||||
#include "model/CreateProjectMemberRequest.h"
|
||||
#include "model/CreateProjectMemberResult.h"
|
||||
#include "model/CreateQualityEntityRequest.h"
|
||||
#include "model/CreateQualityEntityResult.h"
|
||||
#include "model/CreateQualityFollowerRequest.h"
|
||||
@@ -70,6 +74,8 @@
|
||||
#include "model/DeleteFromMetaCategoryResult.h"
|
||||
#include "model/DeleteMetaCategoryRequest.h"
|
||||
#include "model/DeleteMetaCategoryResult.h"
|
||||
#include "model/DeleteProjectMemberRequest.h"
|
||||
#include "model/DeleteProjectMemberResult.h"
|
||||
#include "model/DeleteQualityEntityRequest.h"
|
||||
#include "model/DeleteQualityEntityResult.h"
|
||||
#include "model/DeleteQualityFollowerRequest.h"
|
||||
@@ -190,6 +196,10 @@
|
||||
#include "model/ListNodeIOResult.h"
|
||||
#include "model/ListNodesRequest.h"
|
||||
#include "model/ListNodesResult.h"
|
||||
#include "model/ListProjectMembersRequest.h"
|
||||
#include "model/ListProjectMembersResult.h"
|
||||
#include "model/ListProjectRolesRequest.h"
|
||||
#include "model/ListProjectRolesResult.h"
|
||||
#include "model/ListQualityRulesRequest.h"
|
||||
#include "model/ListQualityRulesResult.h"
|
||||
#include "model/ListRemindsRequest.h"
|
||||
@@ -200,6 +210,8 @@
|
||||
#include "model/ListTopicsResult.h"
|
||||
#include "model/PublishDataServiceApiRequest.h"
|
||||
#include "model/PublishDataServiceApiResult.h"
|
||||
#include "model/RemoveProjectMemberFromRoleRequest.h"
|
||||
#include "model/RemoveProjectMemberFromRoleResult.h"
|
||||
#include "model/RestartInstanceRequest.h"
|
||||
#include "model/RestartInstanceResult.h"
|
||||
#include "model/ResumeInstanceRequest.h"
|
||||
@@ -246,6 +258,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::AbolishDataServiceApiResult> AbolishDataServiceApiOutcome;
|
||||
typedef std::future<AbolishDataServiceApiOutcome> AbolishDataServiceApiOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::AbolishDataServiceApiRequest&, const AbolishDataServiceApiOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AbolishDataServiceApiAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddProjectMemberToRoleResult> AddProjectMemberToRoleOutcome;
|
||||
typedef std::future<AddProjectMemberToRoleOutcome> AddProjectMemberToRoleOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::AddProjectMemberToRoleRequest&, const AddProjectMemberToRoleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddProjectMemberToRoleAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddToMetaCategoryResult> AddToMetaCategoryOutcome;
|
||||
typedef std::future<AddToMetaCategoryOutcome> AddToMetaCategoryOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::AddToMetaCategoryRequest&, const AddToMetaCategoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddToMetaCategoryAsyncHandler;
|
||||
@@ -276,6 +291,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateMetaCategoryResult> CreateMetaCategoryOutcome;
|
||||
typedef std::future<CreateMetaCategoryOutcome> CreateMetaCategoryOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::CreateMetaCategoryRequest&, const CreateMetaCategoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMetaCategoryAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateProjectMemberResult> CreateProjectMemberOutcome;
|
||||
typedef std::future<CreateProjectMemberOutcome> CreateProjectMemberOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::CreateProjectMemberRequest&, const CreateProjectMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateProjectMemberAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateQualityEntityResult> CreateQualityEntityOutcome;
|
||||
typedef std::future<CreateQualityEntityOutcome> CreateQualityEntityOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::CreateQualityEntityRequest&, const CreateQualityEntityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateQualityEntityAsyncHandler;
|
||||
@@ -315,6 +333,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteMetaCategoryResult> DeleteMetaCategoryOutcome;
|
||||
typedef std::future<DeleteMetaCategoryOutcome> DeleteMetaCategoryOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::DeleteMetaCategoryRequest&, const DeleteMetaCategoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMetaCategoryAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteProjectMemberResult> DeleteProjectMemberOutcome;
|
||||
typedef std::future<DeleteProjectMemberOutcome> DeleteProjectMemberOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::DeleteProjectMemberRequest&, const DeleteProjectMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteProjectMemberAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteQualityEntityResult> DeleteQualityEntityOutcome;
|
||||
typedef std::future<DeleteQualityEntityOutcome> DeleteQualityEntityOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::DeleteQualityEntityRequest&, const DeleteQualityEntityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteQualityEntityAsyncHandler;
|
||||
@@ -495,6 +516,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListNodesResult> ListNodesOutcome;
|
||||
typedef std::future<ListNodesOutcome> ListNodesOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListNodesRequest&, const ListNodesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListNodesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListProjectMembersResult> ListProjectMembersOutcome;
|
||||
typedef std::future<ListProjectMembersOutcome> ListProjectMembersOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListProjectMembersRequest&, const ListProjectMembersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListProjectMembersAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListProjectRolesResult> ListProjectRolesOutcome;
|
||||
typedef std::future<ListProjectRolesOutcome> ListProjectRolesOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListProjectRolesRequest&, const ListProjectRolesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListProjectRolesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListQualityRulesResult> ListQualityRulesOutcome;
|
||||
typedef std::future<ListQualityRulesOutcome> ListQualityRulesOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListQualityRulesRequest&, const ListQualityRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListQualityRulesAsyncHandler;
|
||||
@@ -510,6 +537,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::PublishDataServiceApiResult> PublishDataServiceApiOutcome;
|
||||
typedef std::future<PublishDataServiceApiOutcome> PublishDataServiceApiOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::PublishDataServiceApiRequest&, const PublishDataServiceApiOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishDataServiceApiAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveProjectMemberFromRoleResult> RemoveProjectMemberFromRoleOutcome;
|
||||
typedef std::future<RemoveProjectMemberFromRoleOutcome> RemoveProjectMemberFromRoleOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::RemoveProjectMemberFromRoleRequest&, const RemoveProjectMemberFromRoleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveProjectMemberFromRoleAsyncHandler;
|
||||
typedef Outcome<Error, Model::RestartInstanceResult> RestartInstanceOutcome;
|
||||
typedef std::future<RestartInstanceOutcome> RestartInstanceOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::RestartInstanceRequest&, const RestartInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestartInstanceAsyncHandler;
|
||||
@@ -569,6 +599,9 @@ namespace AlibabaCloud
|
||||
AbolishDataServiceApiOutcome abolishDataServiceApi(const Model::AbolishDataServiceApiRequest &request)const;
|
||||
void abolishDataServiceApiAsync(const Model::AbolishDataServiceApiRequest& request, const AbolishDataServiceApiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AbolishDataServiceApiOutcomeCallable abolishDataServiceApiCallable(const Model::AbolishDataServiceApiRequest& request) const;
|
||||
AddProjectMemberToRoleOutcome addProjectMemberToRole(const Model::AddProjectMemberToRoleRequest &request)const;
|
||||
void addProjectMemberToRoleAsync(const Model::AddProjectMemberToRoleRequest& request, const AddProjectMemberToRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddProjectMemberToRoleOutcomeCallable addProjectMemberToRoleCallable(const Model::AddProjectMemberToRoleRequest& request) const;
|
||||
AddToMetaCategoryOutcome addToMetaCategory(const Model::AddToMetaCategoryRequest &request)const;
|
||||
void addToMetaCategoryAsync(const Model::AddToMetaCategoryRequest& request, const AddToMetaCategoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddToMetaCategoryOutcomeCallable addToMetaCategoryCallable(const Model::AddToMetaCategoryRequest& request) const;
|
||||
@@ -599,6 +632,9 @@ namespace AlibabaCloud
|
||||
CreateMetaCategoryOutcome createMetaCategory(const Model::CreateMetaCategoryRequest &request)const;
|
||||
void createMetaCategoryAsync(const Model::CreateMetaCategoryRequest& request, const CreateMetaCategoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateMetaCategoryOutcomeCallable createMetaCategoryCallable(const Model::CreateMetaCategoryRequest& request) const;
|
||||
CreateProjectMemberOutcome createProjectMember(const Model::CreateProjectMemberRequest &request)const;
|
||||
void createProjectMemberAsync(const Model::CreateProjectMemberRequest& request, const CreateProjectMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateProjectMemberOutcomeCallable createProjectMemberCallable(const Model::CreateProjectMemberRequest& request) const;
|
||||
CreateQualityEntityOutcome createQualityEntity(const Model::CreateQualityEntityRequest &request)const;
|
||||
void createQualityEntityAsync(const Model::CreateQualityEntityRequest& request, const CreateQualityEntityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateQualityEntityOutcomeCallable createQualityEntityCallable(const Model::CreateQualityEntityRequest& request) const;
|
||||
@@ -638,6 +674,9 @@ namespace AlibabaCloud
|
||||
DeleteMetaCategoryOutcome deleteMetaCategory(const Model::DeleteMetaCategoryRequest &request)const;
|
||||
void deleteMetaCategoryAsync(const Model::DeleteMetaCategoryRequest& request, const DeleteMetaCategoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteMetaCategoryOutcomeCallable deleteMetaCategoryCallable(const Model::DeleteMetaCategoryRequest& request) const;
|
||||
DeleteProjectMemberOutcome deleteProjectMember(const Model::DeleteProjectMemberRequest &request)const;
|
||||
void deleteProjectMemberAsync(const Model::DeleteProjectMemberRequest& request, const DeleteProjectMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteProjectMemberOutcomeCallable deleteProjectMemberCallable(const Model::DeleteProjectMemberRequest& request) const;
|
||||
DeleteQualityEntityOutcome deleteQualityEntity(const Model::DeleteQualityEntityRequest &request)const;
|
||||
void deleteQualityEntityAsync(const Model::DeleteQualityEntityRequest& request, const DeleteQualityEntityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteQualityEntityOutcomeCallable deleteQualityEntityCallable(const Model::DeleteQualityEntityRequest& request) const;
|
||||
@@ -818,6 +857,12 @@ namespace AlibabaCloud
|
||||
ListNodesOutcome listNodes(const Model::ListNodesRequest &request)const;
|
||||
void listNodesAsync(const Model::ListNodesRequest& request, const ListNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListNodesOutcomeCallable listNodesCallable(const Model::ListNodesRequest& request) const;
|
||||
ListProjectMembersOutcome listProjectMembers(const Model::ListProjectMembersRequest &request)const;
|
||||
void listProjectMembersAsync(const Model::ListProjectMembersRequest& request, const ListProjectMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListProjectMembersOutcomeCallable listProjectMembersCallable(const Model::ListProjectMembersRequest& request) const;
|
||||
ListProjectRolesOutcome listProjectRoles(const Model::ListProjectRolesRequest &request)const;
|
||||
void listProjectRolesAsync(const Model::ListProjectRolesRequest& request, const ListProjectRolesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListProjectRolesOutcomeCallable listProjectRolesCallable(const Model::ListProjectRolesRequest& request) const;
|
||||
ListQualityRulesOutcome listQualityRules(const Model::ListQualityRulesRequest &request)const;
|
||||
void listQualityRulesAsync(const Model::ListQualityRulesRequest& request, const ListQualityRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListQualityRulesOutcomeCallable listQualityRulesCallable(const Model::ListQualityRulesRequest& request) const;
|
||||
@@ -833,6 +878,9 @@ namespace AlibabaCloud
|
||||
PublishDataServiceApiOutcome publishDataServiceApi(const Model::PublishDataServiceApiRequest &request)const;
|
||||
void publishDataServiceApiAsync(const Model::PublishDataServiceApiRequest& request, const PublishDataServiceApiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PublishDataServiceApiOutcomeCallable publishDataServiceApiCallable(const Model::PublishDataServiceApiRequest& request) const;
|
||||
RemoveProjectMemberFromRoleOutcome removeProjectMemberFromRole(const Model::RemoveProjectMemberFromRoleRequest &request)const;
|
||||
void removeProjectMemberFromRoleAsync(const Model::RemoveProjectMemberFromRoleRequest& request, const RemoveProjectMemberFromRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveProjectMemberFromRoleOutcomeCallable removeProjectMemberFromRoleCallable(const Model::RemoveProjectMemberFromRoleRequest& request) const;
|
||||
RestartInstanceOutcome restartInstance(const Model::RestartInstanceRequest &request)const;
|
||||
void restartInstanceAsync(const Model::RestartInstanceRequest& request, const RestartInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RestartInstanceOutcomeCallable restartInstanceCallable(const Model::RestartInstanceRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLEREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT AddProjectMemberToRoleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddProjectMemberToRoleRequest();
|
||||
~AddProjectMemberToRoleRequest();
|
||||
|
||||
std::string getRoleCode()const;
|
||||
void setRoleCode(const std::string& roleCode);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
|
||||
private:
|
||||
std::string roleCode_;
|
||||
std::string clientToken_;
|
||||
long projectId_;
|
||||
std::string userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLEREQUEST_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_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLERESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT AddProjectMemberToRoleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddProjectMemberToRoleResult();
|
||||
explicit AddProjectMemberToRoleResult(const std::string &payload);
|
||||
~AddProjectMemberToRoleResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLERESULT_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_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateProjectMemberRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateProjectMemberRequest();
|
||||
~CreateProjectMemberRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
long projectId_;
|
||||
std::string userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERREQUEST_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_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateProjectMemberResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateProjectMemberResult();
|
||||
explicit CreateProjectMemberResult(const std::string &payload);
|
||||
~CreateProjectMemberResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERRESULT_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_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteProjectMemberRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteProjectMemberRequest();
|
||||
~DeleteProjectMemberRequest();
|
||||
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
|
||||
private:
|
||||
long projectId_;
|
||||
std::string userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERREQUEST_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_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteProjectMemberResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteProjectMemberResult();
|
||||
explicit DeleteProjectMemberResult(const std::string &payload);
|
||||
~DeleteProjectMemberResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERRESULT_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_DATAWORKS_PUBLIC_MODEL_LISTPROJECTMEMBERSREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTMEMBERSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProjectMembersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListProjectMembersRequest();
|
||||
~ListProjectMembersRequest();
|
||||
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageNum_;
|
||||
long projectId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTMEMBERSREQUEST_H_
|
||||
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTMEMBERSRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTMEMBERSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProjectMembersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ProjectMember
|
||||
{
|
||||
struct Role
|
||||
{
|
||||
std::string projectRoleName;
|
||||
std::string projectRoleType;
|
||||
std::string projectRoleCode;
|
||||
int projectRoleId;
|
||||
};
|
||||
std::string createOn;
|
||||
std::string status;
|
||||
std::vector<ProjectMember::Role> projectRoleList;
|
||||
std::string projectMemberType;
|
||||
std::string projectMemberId;
|
||||
std::string nick;
|
||||
std::string projectMemberName;
|
||||
};
|
||||
|
||||
|
||||
ListProjectMembersResult();
|
||||
explicit ListProjectMembersResult(const std::string &payload);
|
||||
~ListProjectMembersResult();
|
||||
int getTotalNum()const;
|
||||
std::vector<ProjectMember> getProjectMemberList()const;
|
||||
int getPageNum()const;
|
||||
int getPageSize()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalNum_;
|
||||
std::vector<ProjectMember> projectMemberList_;
|
||||
int pageNum_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTMEMBERSRESULT_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_DATAWORKS_PUBLIC_MODEL_LISTPROJECTROLESREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTROLESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProjectRolesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListProjectRolesRequest();
|
||||
~ListProjectRolesRequest();
|
||||
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
long projectId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTROLESREQUEST_H_
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTROLESRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTROLESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProjectRolesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Role
|
||||
{
|
||||
std::string projectRoleName;
|
||||
std::string projectRoleType;
|
||||
std::string projectRoleCode;
|
||||
int projectRoleId;
|
||||
};
|
||||
|
||||
|
||||
ListProjectRolesResult();
|
||||
explicit ListProjectRolesResult(const std::string &payload);
|
||||
~ListProjectRolesResult();
|
||||
std::vector<Role> getProjectRoleList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Role> projectRoleList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTROLESRESULT_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_DATAWORKS_PUBLIC_MODEL_REMOVEPROJECTMEMBERFROMROLEREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEPROJECTMEMBERFROMROLEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RemoveProjectMemberFromRoleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RemoveProjectMemberFromRoleRequest();
|
||||
~RemoveProjectMemberFromRoleRequest();
|
||||
|
||||
std::string getRoleCode()const;
|
||||
void setRoleCode(const std::string& roleCode);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
|
||||
private:
|
||||
std::string roleCode_;
|
||||
long projectId_;
|
||||
std::string userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEPROJECTMEMBERFROMROLEREQUEST_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_DATAWORKS_PUBLIC_MODEL_REMOVEPROJECTMEMBERFROMROLERESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEPROJECTMEMBERFROMROLERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RemoveProjectMemberFromRoleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RemoveProjectMemberFromRoleResult();
|
||||
explicit RemoveProjectMemberFromRoleResult(const std::string &payload);
|
||||
~RemoveProjectMemberFromRoleResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEPROJECTMEMBERFROMROLERESULT_H_
|
||||
@@ -87,6 +87,42 @@ Dataworks_publicClient::AbolishDataServiceApiOutcomeCallable Dataworks_publicCli
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::AddProjectMemberToRoleOutcome Dataworks_publicClient::addProjectMemberToRole(const AddProjectMemberToRoleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddProjectMemberToRoleOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddProjectMemberToRoleOutcome(AddProjectMemberToRoleResult(outcome.result()));
|
||||
else
|
||||
return AddProjectMemberToRoleOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::addProjectMemberToRoleAsync(const AddProjectMemberToRoleRequest& request, const AddProjectMemberToRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addProjectMemberToRole(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::AddProjectMemberToRoleOutcomeCallable Dataworks_publicClient::addProjectMemberToRoleCallable(const AddProjectMemberToRoleRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddProjectMemberToRoleOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addProjectMemberToRole(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::AddToMetaCategoryOutcome Dataworks_publicClient::addToMetaCategory(const AddToMetaCategoryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -447,6 +483,42 @@ Dataworks_publicClient::CreateMetaCategoryOutcomeCallable Dataworks_publicClient
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::CreateProjectMemberOutcome Dataworks_publicClient::createProjectMember(const CreateProjectMemberRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateProjectMemberOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateProjectMemberOutcome(CreateProjectMemberResult(outcome.result()));
|
||||
else
|
||||
return CreateProjectMemberOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::createProjectMemberAsync(const CreateProjectMemberRequest& request, const CreateProjectMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createProjectMember(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::CreateProjectMemberOutcomeCallable Dataworks_publicClient::createProjectMemberCallable(const CreateProjectMemberRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateProjectMemberOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createProjectMember(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::CreateQualityEntityOutcome Dataworks_publicClient::createQualityEntity(const CreateQualityEntityRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -915,6 +987,42 @@ Dataworks_publicClient::DeleteMetaCategoryOutcomeCallable Dataworks_publicClient
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::DeleteProjectMemberOutcome Dataworks_publicClient::deleteProjectMember(const DeleteProjectMemberRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteProjectMemberOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteProjectMemberOutcome(DeleteProjectMemberResult(outcome.result()));
|
||||
else
|
||||
return DeleteProjectMemberOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::deleteProjectMemberAsync(const DeleteProjectMemberRequest& request, const DeleteProjectMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteProjectMember(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::DeleteProjectMemberOutcomeCallable Dataworks_publicClient::deleteProjectMemberCallable(const DeleteProjectMemberRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteProjectMemberOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteProjectMember(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::DeleteQualityEntityOutcome Dataworks_publicClient::deleteQualityEntity(const DeleteQualityEntityRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3075,6 +3183,78 @@ Dataworks_publicClient::ListNodesOutcomeCallable Dataworks_publicClient::listNod
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListProjectMembersOutcome Dataworks_publicClient::listProjectMembers(const ListProjectMembersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListProjectMembersOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListProjectMembersOutcome(ListProjectMembersResult(outcome.result()));
|
||||
else
|
||||
return ListProjectMembersOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::listProjectMembersAsync(const ListProjectMembersRequest& request, const ListProjectMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listProjectMembers(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListProjectMembersOutcomeCallable Dataworks_publicClient::listProjectMembersCallable(const ListProjectMembersRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListProjectMembersOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listProjectMembers(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListProjectRolesOutcome Dataworks_publicClient::listProjectRoles(const ListProjectRolesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListProjectRolesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListProjectRolesOutcome(ListProjectRolesResult(outcome.result()));
|
||||
else
|
||||
return ListProjectRolesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::listProjectRolesAsync(const ListProjectRolesRequest& request, const ListProjectRolesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listProjectRoles(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListProjectRolesOutcomeCallable Dataworks_publicClient::listProjectRolesCallable(const ListProjectRolesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListProjectRolesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listProjectRoles(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListQualityRulesOutcome Dataworks_publicClient::listQualityRules(const ListQualityRulesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3255,6 +3435,42 @@ Dataworks_publicClient::PublishDataServiceApiOutcomeCallable Dataworks_publicCli
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::RemoveProjectMemberFromRoleOutcome Dataworks_publicClient::removeProjectMemberFromRole(const RemoveProjectMemberFromRoleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RemoveProjectMemberFromRoleOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RemoveProjectMemberFromRoleOutcome(RemoveProjectMemberFromRoleResult(outcome.result()));
|
||||
else
|
||||
return RemoveProjectMemberFromRoleOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::removeProjectMemberFromRoleAsync(const RemoveProjectMemberFromRoleRequest& request, const RemoveProjectMemberFromRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, removeProjectMemberFromRole(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::RemoveProjectMemberFromRoleOutcomeCallable Dataworks_publicClient::removeProjectMemberFromRoleCallable(const RemoveProjectMemberFromRoleRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RemoveProjectMemberFromRoleOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->removeProjectMemberFromRole(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::RestartInstanceOutcome Dataworks_publicClient::restartInstance(const RestartInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
73
dataworks-public/src/model/AddProjectMemberToRoleRequest.cc
Normal file
73
dataworks-public/src/model/AddProjectMemberToRoleRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/dataworks-public/model/AddProjectMemberToRoleRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::AddProjectMemberToRoleRequest;
|
||||
|
||||
AddProjectMemberToRoleRequest::AddProjectMemberToRoleRequest() :
|
||||
RpcServiceRequest("dataworks-public", "2020-05-18", "AddProjectMemberToRole")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddProjectMemberToRoleRequest::~AddProjectMemberToRoleRequest()
|
||||
{}
|
||||
|
||||
std::string AddProjectMemberToRoleRequest::getRoleCode()const
|
||||
{
|
||||
return roleCode_;
|
||||
}
|
||||
|
||||
void AddProjectMemberToRoleRequest::setRoleCode(const std::string& roleCode)
|
||||
{
|
||||
roleCode_ = roleCode;
|
||||
setParameter("RoleCode", roleCode);
|
||||
}
|
||||
|
||||
std::string AddProjectMemberToRoleRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void AddProjectMemberToRoleRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
long AddProjectMemberToRoleRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void AddProjectMemberToRoleRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string AddProjectMemberToRoleRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void AddProjectMemberToRoleRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setParameter("UserId", userId);
|
||||
}
|
||||
|
||||
44
dataworks-public/src/model/AddProjectMemberToRoleResult.cc
Normal file
44
dataworks-public/src/model/AddProjectMemberToRoleResult.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/dataworks-public/model/AddProjectMemberToRoleResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
AddProjectMemberToRoleResult::AddProjectMemberToRoleResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddProjectMemberToRoleResult::AddProjectMemberToRoleResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddProjectMemberToRoleResult::~AddProjectMemberToRoleResult()
|
||||
{}
|
||||
|
||||
void AddProjectMemberToRoleResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
62
dataworks-public/src/model/CreateProjectMemberRequest.cc
Normal file
62
dataworks-public/src/model/CreateProjectMemberRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateProjectMemberRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::CreateProjectMemberRequest;
|
||||
|
||||
CreateProjectMemberRequest::CreateProjectMemberRequest() :
|
||||
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateProjectMember")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateProjectMemberRequest::~CreateProjectMemberRequest()
|
||||
{}
|
||||
|
||||
std::string CreateProjectMemberRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateProjectMemberRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
long CreateProjectMemberRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateProjectMemberRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string CreateProjectMemberRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void CreateProjectMemberRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setParameter("UserId", userId);
|
||||
}
|
||||
|
||||
44
dataworks-public/src/model/CreateProjectMemberResult.cc
Normal file
44
dataworks-public/src/model/CreateProjectMemberResult.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/dataworks-public/model/CreateProjectMemberResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CreateProjectMemberResult::CreateProjectMemberResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateProjectMemberResult::CreateProjectMemberResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateProjectMemberResult::~CreateProjectMemberResult()
|
||||
{}
|
||||
|
||||
void CreateProjectMemberResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
51
dataworks-public/src/model/DeleteProjectMemberRequest.cc
Normal file
51
dataworks-public/src/model/DeleteProjectMemberRequest.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/dataworks-public/model/DeleteProjectMemberRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::DeleteProjectMemberRequest;
|
||||
|
||||
DeleteProjectMemberRequest::DeleteProjectMemberRequest() :
|
||||
RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteProjectMember")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteProjectMemberRequest::~DeleteProjectMemberRequest()
|
||||
{}
|
||||
|
||||
long DeleteProjectMemberRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void DeleteProjectMemberRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string DeleteProjectMemberRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void DeleteProjectMemberRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setParameter("UserId", userId);
|
||||
}
|
||||
|
||||
44
dataworks-public/src/model/DeleteProjectMemberResult.cc
Normal file
44
dataworks-public/src/model/DeleteProjectMemberResult.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/dataworks-public/model/DeleteProjectMemberResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
DeleteProjectMemberResult::DeleteProjectMemberResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteProjectMemberResult::DeleteProjectMemberResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteProjectMemberResult::~DeleteProjectMemberResult()
|
||||
{}
|
||||
|
||||
void DeleteProjectMemberResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
62
dataworks-public/src/model/ListProjectMembersRequest.cc
Normal file
62
dataworks-public/src/model/ListProjectMembersRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/ListProjectMembersRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::ListProjectMembersRequest;
|
||||
|
||||
ListProjectMembersRequest::ListProjectMembersRequest() :
|
||||
RpcServiceRequest("dataworks-public", "2020-05-18", "ListProjectMembers")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListProjectMembersRequest::~ListProjectMembersRequest()
|
||||
{}
|
||||
|
||||
int ListProjectMembersRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListProjectMembersRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
int ListProjectMembersRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void ListProjectMembersRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
long ListProjectMembersRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void ListProjectMembersRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
102
dataworks-public/src/model/ListProjectMembersResult.cc
Normal file
102
dataworks-public/src/model/ListProjectMembersResult.cc
Normal file
@@ -0,0 +1,102 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/dataworks-public/model/ListProjectMembersResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
ListProjectMembersResult::ListProjectMembersResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListProjectMembersResult::ListProjectMembersResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListProjectMembersResult::~ListProjectMembersResult()
|
||||
{}
|
||||
|
||||
void ListProjectMembersResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allProjectMemberListNode = value["ProjectMemberList"]["ProjectMember"];
|
||||
for (auto valueProjectMemberListProjectMember : allProjectMemberListNode)
|
||||
{
|
||||
ProjectMember projectMemberListObject;
|
||||
if(!valueProjectMemberListProjectMember["ProjectMemberId"].isNull())
|
||||
projectMemberListObject.projectMemberId = valueProjectMemberListProjectMember["ProjectMemberId"].asString();
|
||||
if(!valueProjectMemberListProjectMember["ProjectMemberName"].isNull())
|
||||
projectMemberListObject.projectMemberName = valueProjectMemberListProjectMember["ProjectMemberName"].asString();
|
||||
if(!valueProjectMemberListProjectMember["ProjectMemberType"].isNull())
|
||||
projectMemberListObject.projectMemberType = valueProjectMemberListProjectMember["ProjectMemberType"].asString();
|
||||
if(!valueProjectMemberListProjectMember["CreateOn"].isNull())
|
||||
projectMemberListObject.createOn = valueProjectMemberListProjectMember["CreateOn"].asString();
|
||||
if(!valueProjectMemberListProjectMember["Nick"].isNull())
|
||||
projectMemberListObject.nick = valueProjectMemberListProjectMember["Nick"].asString();
|
||||
if(!valueProjectMemberListProjectMember["Status"].isNull())
|
||||
projectMemberListObject.status = valueProjectMemberListProjectMember["Status"].asString();
|
||||
auto allProjectRoleListNode = allProjectMemberListNode["ProjectRoleList"]["Role"];
|
||||
for (auto allProjectMemberListNodeProjectRoleListRole : allProjectRoleListNode)
|
||||
{
|
||||
ProjectMember::Role projectRoleListObject;
|
||||
if(!allProjectMemberListNodeProjectRoleListRole["ProjectRoleCode"].isNull())
|
||||
projectRoleListObject.projectRoleCode = allProjectMemberListNodeProjectRoleListRole["ProjectRoleCode"].asString();
|
||||
if(!allProjectMemberListNodeProjectRoleListRole["ProjectRoleId"].isNull())
|
||||
projectRoleListObject.projectRoleId = std::stoi(allProjectMemberListNodeProjectRoleListRole["ProjectRoleId"].asString());
|
||||
if(!allProjectMemberListNodeProjectRoleListRole["ProjectRoleName"].isNull())
|
||||
projectRoleListObject.projectRoleName = allProjectMemberListNodeProjectRoleListRole["ProjectRoleName"].asString();
|
||||
if(!allProjectMemberListNodeProjectRoleListRole["ProjectRoleType"].isNull())
|
||||
projectRoleListObject.projectRoleType = allProjectMemberListNodeProjectRoleListRole["ProjectRoleType"].asString();
|
||||
projectMemberListObject.projectRoleList.push_back(projectRoleListObject);
|
||||
}
|
||||
projectMemberList_.push_back(projectMemberListObject);
|
||||
}
|
||||
if(!value["PageNum"].isNull())
|
||||
pageNum_ = std::stoi(value["PageNum"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalNum"].isNull())
|
||||
totalNum_ = std::stoi(value["TotalNum"].asString());
|
||||
|
||||
}
|
||||
|
||||
int ListProjectMembersResult::getTotalNum()const
|
||||
{
|
||||
return totalNum_;
|
||||
}
|
||||
|
||||
std::vector<ListProjectMembersResult::ProjectMember> ListProjectMembersResult::getProjectMemberList()const
|
||||
{
|
||||
return projectMemberList_;
|
||||
}
|
||||
|
||||
int ListProjectMembersResult::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
int ListProjectMembersResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
40
dataworks-public/src/model/ListProjectRolesRequest.cc
Normal file
40
dataworks-public/src/model/ListProjectRolesRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/dataworks-public/model/ListProjectRolesRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::ListProjectRolesRequest;
|
||||
|
||||
ListProjectRolesRequest::ListProjectRolesRequest() :
|
||||
RpcServiceRequest("dataworks-public", "2020-05-18", "ListProjectRoles")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListProjectRolesRequest::~ListProjectRolesRequest()
|
||||
{}
|
||||
|
||||
long ListProjectRolesRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void ListProjectRolesRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
63
dataworks-public/src/model/ListProjectRolesResult.cc
Normal file
63
dataworks-public/src/model/ListProjectRolesResult.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/ListProjectRolesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
ListProjectRolesResult::ListProjectRolesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListProjectRolesResult::ListProjectRolesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListProjectRolesResult::~ListProjectRolesResult()
|
||||
{}
|
||||
|
||||
void ListProjectRolesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allProjectRoleListNode = value["ProjectRoleList"]["Role"];
|
||||
for (auto valueProjectRoleListRole : allProjectRoleListNode)
|
||||
{
|
||||
Role projectRoleListObject;
|
||||
if(!valueProjectRoleListRole["ProjectRoleCode"].isNull())
|
||||
projectRoleListObject.projectRoleCode = valueProjectRoleListRole["ProjectRoleCode"].asString();
|
||||
if(!valueProjectRoleListRole["ProjectRoleId"].isNull())
|
||||
projectRoleListObject.projectRoleId = std::stoi(valueProjectRoleListRole["ProjectRoleId"].asString());
|
||||
if(!valueProjectRoleListRole["ProjectRoleName"].isNull())
|
||||
projectRoleListObject.projectRoleName = valueProjectRoleListRole["ProjectRoleName"].asString();
|
||||
if(!valueProjectRoleListRole["ProjectRoleType"].isNull())
|
||||
projectRoleListObject.projectRoleType = valueProjectRoleListRole["ProjectRoleType"].asString();
|
||||
projectRoleList_.push_back(projectRoleListObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<ListProjectRolesResult::Role> ListProjectRolesResult::getProjectRoleList()const
|
||||
{
|
||||
return projectRoleList_;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::RemoveProjectMemberFromRoleRequest;
|
||||
|
||||
RemoveProjectMemberFromRoleRequest::RemoveProjectMemberFromRoleRequest() :
|
||||
RpcServiceRequest("dataworks-public", "2020-05-18", "RemoveProjectMemberFromRole")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RemoveProjectMemberFromRoleRequest::~RemoveProjectMemberFromRoleRequest()
|
||||
{}
|
||||
|
||||
std::string RemoveProjectMemberFromRoleRequest::getRoleCode()const
|
||||
{
|
||||
return roleCode_;
|
||||
}
|
||||
|
||||
void RemoveProjectMemberFromRoleRequest::setRoleCode(const std::string& roleCode)
|
||||
{
|
||||
roleCode_ = roleCode;
|
||||
setParameter("RoleCode", roleCode);
|
||||
}
|
||||
|
||||
long RemoveProjectMemberFromRoleRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void RemoveProjectMemberFromRoleRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string RemoveProjectMemberFromRoleRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void RemoveProjectMemberFromRoleRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setParameter("UserId", userId);
|
||||
}
|
||||
|
||||
@@ -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/dataworks-public/model/RemoveProjectMemberFromRoleResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
RemoveProjectMemberFromRoleResult::RemoveProjectMemberFromRoleResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RemoveProjectMemberFromRoleResult::RemoveProjectMemberFromRoleResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RemoveProjectMemberFromRoleResult::~RemoveProjectMemberFromRoleResult()
|
||||
{}
|
||||
|
||||
void RemoveProjectMemberFromRoleResult::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