Files
aliyun-openapi-cpp-sdk/cams/src/model/GetFlowRequest.cc
2024-04-11 01:18:21 +00:00

64 lines
1.8 KiB
C++

/*
* 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/cams/model/GetFlowRequest.h>
using AlibabaCloud::Cams::Model::GetFlowRequest;
GetFlowRequest::GetFlowRequest()
: RpcServiceRequest("cams", "2020-06-06", "GetFlow") {
setMethod(HttpRequest::Method::Post);
}
GetFlowRequest::~GetFlowRequest() {}
std::string GetFlowRequest::getApiCode() const {
return apiCode_;
}
void GetFlowRequest::setApiCode(const std::string &apiCode) {
apiCode_ = apiCode;
setParameter(std::string("ApiCode"), apiCode);
}
std::string GetFlowRequest::getProdCode() const {
return prodCode_;
}
void GetFlowRequest::setProdCode(const std::string &prodCode) {
prodCode_ = prodCode;
setParameter(std::string("ProdCode"), prodCode);
}
std::string GetFlowRequest::getCustSpaceId() const {
return custSpaceId_;
}
void GetFlowRequest::setCustSpaceId(const std::string &custSpaceId) {
custSpaceId_ = custSpaceId;
setBodyParameter(std::string("CustSpaceId"), custSpaceId);
}
std::string GetFlowRequest::getFlowId() const {
return flowId_;
}
void GetFlowRequest::setFlowId(const std::string &flowId) {
flowId_ = flowId;
setBodyParameter(std::string("FlowId"), flowId);
}