Files
aliyun-openapi-cpp-sdk/sgw/src/model/CreateExpressSyncRequest.cc
2020-10-21 08:58:16 +00:00

107 lines
2.6 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/sgw/model/CreateExpressSyncRequest.h>
using AlibabaCloud::Sgw::Model::CreateExpressSyncRequest;
CreateExpressSyncRequest::CreateExpressSyncRequest() :
RpcServiceRequest("sgw", "2018-05-11", "CreateExpressSync")
{
setMethod(HttpRequest::Method::Post);
}
CreateExpressSyncRequest::~CreateExpressSyncRequest()
{}
std::string CreateExpressSyncRequest::getBucketRegion()const
{
return bucketRegion_;
}
void CreateExpressSyncRequest::setBucketRegion(const std::string& bucketRegion)
{
bucketRegion_ = bucketRegion;
setParameter("BucketRegion", bucketRegion);
}
std::string CreateExpressSyncRequest::getDescription()const
{
return description_;
}
void CreateExpressSyncRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
}
std::string CreateExpressSyncRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CreateExpressSyncRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string CreateExpressSyncRequest::getSecurityToken()const
{
return securityToken_;
}
void CreateExpressSyncRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}
std::string CreateExpressSyncRequest::getBucketName()const
{
return bucketName_;
}
void CreateExpressSyncRequest::setBucketName(const std::string& bucketName)
{
bucketName_ = bucketName;
setParameter("BucketName", bucketName);
}
std::string CreateExpressSyncRequest::getName()const
{
return name_;
}
void CreateExpressSyncRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}
std::string CreateExpressSyncRequest::getBucketPrefix()const
{
return bucketPrefix_;
}
void CreateExpressSyncRequest::setBucketPrefix(const std::string& bucketPrefix)
{
bucketPrefix_ = bucketPrefix;
setParameter("BucketPrefix", bucketPrefix);
}