Standardizing api.

This commit is contained in:
sdk-team
2023-11-01 06:56:30 +00:00
parent 436e293e96
commit c94a2b34a1
269 changed files with 20591 additions and 113 deletions

View 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/cloud-siem/model/DescribeEventDisposeRequest.h>
using AlibabaCloud::Cloud_siem::Model::DescribeEventDisposeRequest;
DescribeEventDisposeRequest::DescribeEventDisposeRequest()
: RpcServiceRequest("cloud-siem", "2022-06-16", "DescribeEventDispose") {
setMethod(HttpRequest::Method::Post);
}
DescribeEventDisposeRequest::~DescribeEventDisposeRequest() {}
std::string DescribeEventDisposeRequest::getRegionId() const {
return regionId_;
}
void DescribeEventDisposeRequest::setRegionId(const std::string &regionId) {
regionId_ = regionId;
setBodyParameter(std::string("RegionId"), regionId);
}
int DescribeEventDisposeRequest::getPageSize() const {
return pageSize_;
}
void DescribeEventDisposeRequest::setPageSize(int pageSize) {
pageSize_ = pageSize;
setBodyParameter(std::string("PageSize"), std::to_string(pageSize));
}
int DescribeEventDisposeRequest::getCurrentPage() const {
return currentPage_;
}
void DescribeEventDisposeRequest::setCurrentPage(int currentPage) {
currentPage_ = currentPage;
setBodyParameter(std::string("CurrentPage"), std::to_string(currentPage));
}
std::string DescribeEventDisposeRequest::getIncidentUuid() const {
return incidentUuid_;
}
void DescribeEventDisposeRequest::setIncidentUuid(const std::string &incidentUuid) {
incidentUuid_ = incidentUuid;
setBodyParameter(std::string("IncidentUuid"), incidentUuid);
}