Files
aliyun-openapi-cpp-sdk/cdn/src/model/SetReqAuthConfigRequest.cc
2018-09-30 16:30:31 +08:00

127 lines
2.9 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/cdn/model/SetReqAuthConfigRequest.h>
using AlibabaCloud::Cdn::Model::SetReqAuthConfigRequest;
SetReqAuthConfigRequest::SetReqAuthConfigRequest() :
RpcServiceRequest("cdn", "2018-05-10", "SetReqAuthConfig")
{}
SetReqAuthConfigRequest::~SetReqAuthConfigRequest()
{}
std::string SetReqAuthConfigRequest::getKey1()const
{
return key1_;
}
void SetReqAuthConfigRequest::setKey1(const std::string& key1)
{
key1_ = key1;
setParameter("Key1", key1);
}
std::string SetReqAuthConfigRequest::getKey2()const
{
return key2_;
}
void SetReqAuthConfigRequest::setKey2(const std::string& key2)
{
key2_ = key2;
setParameter("Key2", key2);
}
std::string SetReqAuthConfigRequest::getAuthRemoteDesc()const
{
return authRemoteDesc_;
}
void SetReqAuthConfigRequest::setAuthRemoteDesc(const std::string& authRemoteDesc)
{
authRemoteDesc_ = authRemoteDesc;
setParameter("AuthRemoteDesc", authRemoteDesc);
}
std::string SetReqAuthConfigRequest::getSecurityToken()const
{
return securityToken_;
}
void SetReqAuthConfigRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}
std::string SetReqAuthConfigRequest::getDomainName()const
{
return domainName_;
}
void SetReqAuthConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
long SetReqAuthConfigRequest::getOwnerId()const
{
return ownerId_;
}
void SetReqAuthConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string SetReqAuthConfigRequest::getTimeOut()const
{
return timeOut_;
}
void SetReqAuthConfigRequest::setTimeOut(const std::string& timeOut)
{
timeOut_ = timeOut;
setParameter("TimeOut", timeOut);
}
std::string SetReqAuthConfigRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void SetReqAuthConfigRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string SetReqAuthConfigRequest::getAuthType()const
{
return authType_;
}
void SetReqAuthConfigRequest::setAuthType(const std::string& authType)
{
authType_ = authType;
setParameter("AuthType", authType);
}