Files
aliyun-openapi-cpp-sdk/vod/src/model/DeleteMultipartUploadRequest.cc
2020-03-26 17:47:49 +08:00

118 lines
3.1 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/vod/model/DeleteMultipartUploadRequest.h>
using AlibabaCloud::Vod::Model::DeleteMultipartUploadRequest;
DeleteMultipartUploadRequest::DeleteMultipartUploadRequest() :
RpcServiceRequest("vod", "2017-03-21", "DeleteMultipartUpload")
{
setMethod(HttpRequest::Method::Post);
}
DeleteMultipartUploadRequest::~DeleteMultipartUploadRequest()
{}
std::string DeleteMultipartUploadRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DeleteMultipartUploadRequest::setResourceOwnerId(const std::string& resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", resourceOwnerId);
}
long DeleteMultipartUploadRequest::getResourceRealOwnerId()const
{
return resourceRealOwnerId_;
}
void DeleteMultipartUploadRequest::setResourceRealOwnerId(long resourceRealOwnerId)
{
resourceRealOwnerId_ = resourceRealOwnerId;
setParameter("ResourceRealOwnerId", std::to_string(resourceRealOwnerId));
}
std::string DeleteMultipartUploadRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DeleteMultipartUploadRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string DeleteMultipartUploadRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DeleteMultipartUploadRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteMultipartUploadRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DeleteMultipartUploadRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
std::string DeleteMultipartUploadRequest::getOwnerId()const
{
return ownerId_;
}
void DeleteMultipartUploadRequest::setOwnerId(const std::string& ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", ownerId);
}
std::string DeleteMultipartUploadRequest::getMediaId()const
{
return mediaId_;
}
void DeleteMultipartUploadRequest::setMediaId(const std::string& mediaId)
{
mediaId_ = mediaId;
setParameter("MediaId", mediaId);
}
std::string DeleteMultipartUploadRequest::getMediaType()const
{
return mediaType_;
}
void DeleteMultipartUploadRequest::setMediaType(const std::string& mediaType)
{
mediaType_ = mediaType;
setParameter("MediaType", mediaType);
}