Files
aliyun-openapi-cpp-sdk/bssopenapi/src/model/SetCreditLabelActionRequest.cc
2021-01-14 10:19:58 +00:00

217 lines
5.5 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/bssopenapi/model/SetCreditLabelActionRequest.h>
using AlibabaCloud::BssOpenApi::Model::SetCreditLabelActionRequest;
SetCreditLabelActionRequest::SetCreditLabelActionRequest() :
RpcServiceRequest("bssopenapi", "2017-12-14", "SetCreditLabelAction")
{
setMethod(HttpRequest::Method::Post);
}
SetCreditLabelActionRequest::~SetCreditLabelActionRequest()
{}
std::string SetCreditLabelActionRequest::getActionType()const
{
return actionType_;
}
void SetCreditLabelActionRequest::setActionType(const std::string& actionType)
{
actionType_ = actionType;
setParameter("ActionType", actionType);
}
std::string SetCreditLabelActionRequest::getIsNeedSaveNotifyRule()const
{
return isNeedSaveNotifyRule_;
}
void SetCreditLabelActionRequest::setIsNeedSaveNotifyRule(const std::string& isNeedSaveNotifyRule)
{
isNeedSaveNotifyRule_ = isNeedSaveNotifyRule;
setParameter("IsNeedSaveNotifyRule", isNeedSaveNotifyRule);
}
std::string SetCreditLabelActionRequest::getIsNeedAdjustCreditAccount()const
{
return isNeedAdjustCreditAccount_;
}
void SetCreditLabelActionRequest::setIsNeedAdjustCreditAccount(const std::string& isNeedAdjustCreditAccount)
{
isNeedAdjustCreditAccount_ = isNeedAdjustCreditAccount;
setParameter("IsNeedAdjustCreditAccount", isNeedAdjustCreditAccount);
}
bool SetCreditLabelActionRequest::getNewCreateMode()const
{
return newCreateMode_;
}
void SetCreditLabelActionRequest::setNewCreateMode(bool newCreateMode)
{
newCreateMode_ = newCreateMode;
setParameter("NewCreateMode", newCreateMode ? "true" : "false");
}
std::string SetCreditLabelActionRequest::getDescription()const
{
return description_;
}
void SetCreditLabelActionRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
}
std::string SetCreditLabelActionRequest::getSource()const
{
return source_;
}
void SetCreditLabelActionRequest::setSource(const std::string& source)
{
source_ = source;
setParameter("Source", source);
}
std::string SetCreditLabelActionRequest::getCurrencyCode()const
{
return currencyCode_;
}
void SetCreditLabelActionRequest::setCurrencyCode(const std::string& currencyCode)
{
currencyCode_ = currencyCode;
setParameter("CurrencyCode", currencyCode);
}
std::string SetCreditLabelActionRequest::getDailyCycle()const
{
return dailyCycle_;
}
void SetCreditLabelActionRequest::setDailyCycle(const std::string& dailyCycle)
{
dailyCycle_ = dailyCycle;
setParameter("DailyCycle", dailyCycle);
}
std::string SetCreditLabelActionRequest::get_Operator()const
{
return _operator_;
}
void SetCreditLabelActionRequest::set_Operator(const std::string& _operator)
{
_operator_ = _operator;
setParameter("_Operator", _operator);
}
std::string SetCreditLabelActionRequest::getUid()const
{
return uid_;
}
void SetCreditLabelActionRequest::setUid(const std::string& uid)
{
uid_ = uid;
setParameter("Uid", uid);
}
std::string SetCreditLabelActionRequest::getSiteCode()const
{
return siteCode_;
}
void SetCreditLabelActionRequest::setSiteCode(const std::string& siteCode)
{
siteCode_ = siteCode;
setParameter("SiteCode", siteCode);
}
std::string SetCreditLabelActionRequest::getClearCycle()const
{
return clearCycle_;
}
void SetCreditLabelActionRequest::setClearCycle(const std::string& clearCycle)
{
clearCycle_ = clearCycle;
setParameter("ClearCycle", clearCycle);
}
bool SetCreditLabelActionRequest::getNeedNotice()const
{
return needNotice_;
}
void SetCreditLabelActionRequest::setNeedNotice(bool needNotice)
{
needNotice_ = needNotice;
setParameter("NeedNotice", needNotice ? "true" : "false");
}
std::string SetCreditLabelActionRequest::getRequestId()const
{
return requestId_;
}
void SetCreditLabelActionRequest::setRequestId(const std::string& requestId)
{
requestId_ = requestId;
setParameter("RequestId", requestId);
}
std::string SetCreditLabelActionRequest::getIsNeedSetCreditAmount()const
{
return isNeedSetCreditAmount_;
}
void SetCreditLabelActionRequest::setIsNeedSetCreditAmount(const std::string& isNeedSetCreditAmount)
{
isNeedSetCreditAmount_ = isNeedSetCreditAmount;
setParameter("IsNeedSetCreditAmount", isNeedSetCreditAmount);
}
std::string SetCreditLabelActionRequest::getCreditAmount()const
{
return creditAmount_;
}
void SetCreditLabelActionRequest::setCreditAmount(const std::string& creditAmount)
{
creditAmount_ = creditAmount;
setParameter("CreditAmount", creditAmount);
}
std::string SetCreditLabelActionRequest::getIsNeedAddSettleLabel()const
{
return isNeedAddSettleLabel_;
}
void SetCreditLabelActionRequest::setIsNeedAddSettleLabel(const std::string& isNeedAddSettleLabel)
{
isNeedAddSettleLabel_ = isNeedAddSettleLabel;
setParameter("IsNeedAddSettleLabel", isNeedAddSettleLabel);
}