Support devops organization deletion.

This commit is contained in:
sdk-team
2021-04-16 12:53:35 +00:00
parent 5ce3266e7f
commit ed4870b066
76 changed files with 337 additions and 1 deletions

View File

@@ -46,6 +46,8 @@
#include "model/CreateServiceConnectionResult.h"
#include "model/DeleteCommonGroupRequest.h"
#include "model/DeleteCommonGroupResult.h"
#include "model/DeleteDevopsOrganizationRequest.h"
#include "model/DeleteDevopsOrganizationResult.h"
#include "model/DeleteDevopsOrganizationMembersRequest.h"
#include "model/DeleteDevopsOrganizationMembersResult.h"
#include "model/DeleteDevopsProjectRequest.h"
@@ -191,6 +193,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteCommonGroupResult> DeleteCommonGroupOutcome;
typedef std::future<DeleteCommonGroupOutcome> DeleteCommonGroupOutcomeCallable;
typedef std::function<void(const Devops_rdcClient*, const Model::DeleteCommonGroupRequest&, const DeleteCommonGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCommonGroupAsyncHandler;
typedef Outcome<Error, Model::DeleteDevopsOrganizationResult> DeleteDevopsOrganizationOutcome;
typedef std::future<DeleteDevopsOrganizationOutcome> DeleteDevopsOrganizationOutcomeCallable;
typedef std::function<void(const Devops_rdcClient*, const Model::DeleteDevopsOrganizationRequest&, const DeleteDevopsOrganizationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDevopsOrganizationAsyncHandler;
typedef Outcome<Error, Model::DeleteDevopsOrganizationMembersResult> DeleteDevopsOrganizationMembersOutcome;
typedef std::future<DeleteDevopsOrganizationMembersOutcome> DeleteDevopsOrganizationMembersOutcomeCallable;
typedef std::function<void(const Devops_rdcClient*, const Model::DeleteDevopsOrganizationMembersRequest&, const DeleteDevopsOrganizationMembersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDevopsOrganizationMembersAsyncHandler;
@@ -382,6 +387,9 @@ namespace AlibabaCloud
DeleteCommonGroupOutcome deleteCommonGroup(const Model::DeleteCommonGroupRequest &request)const;
void deleteCommonGroupAsync(const Model::DeleteCommonGroupRequest& request, const DeleteCommonGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteCommonGroupOutcomeCallable deleteCommonGroupCallable(const Model::DeleteCommonGroupRequest& request) const;
DeleteDevopsOrganizationOutcome deleteDevopsOrganization(const Model::DeleteDevopsOrganizationRequest &request)const;
void deleteDevopsOrganizationAsync(const Model::DeleteDevopsOrganizationRequest& request, const DeleteDevopsOrganizationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDevopsOrganizationOutcomeCallable deleteDevopsOrganizationCallable(const Model::DeleteDevopsOrganizationRequest& request) const;
DeleteDevopsOrganizationMembersOutcome deleteDevopsOrganizationMembers(const Model::DeleteDevopsOrganizationMembersRequest &request)const;
void deleteDevopsOrganizationMembersAsync(const Model::DeleteDevopsOrganizationMembersRequest& request, const DeleteDevopsOrganizationMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDevopsOrganizationMembersOutcomeCallable deleteDevopsOrganizationMembersCallable(const Model::DeleteDevopsOrganizationMembersRequest& request) const;

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSORGANIZATIONREQUEST_H_
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSORGANIZATIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
namespace AlibabaCloud
{
namespace Devops_rdc
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_RDC_EXPORT DeleteDevopsOrganizationRequest : public RpcServiceRequest
{
public:
DeleteDevopsOrganizationRequest();
~DeleteDevopsOrganizationRequest();
std::string getOrgId()const;
void setOrgId(const std::string& orgId);
private:
std::string orgId_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSORGANIZATIONREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSORGANIZATIONRESULT_H_
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSORGANIZATIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
namespace AlibabaCloud
{
namespace Devops_rdc
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_RDC_EXPORT DeleteDevopsOrganizationResult : public ServiceResult
{
public:
DeleteDevopsOrganizationResult();
explicit DeleteDevopsOrganizationResult(const std::string &payload);
~DeleteDevopsOrganizationResult();
std::string getObject()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string object_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_DELETEDEVOPSORGANIZATIONRESULT_H_