| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271 |
- /*
- * 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/domain/model/SaveRegistrantProfileRequest.h>
- using AlibabaCloud::Domain::Model::SaveRegistrantProfileRequest;
- SaveRegistrantProfileRequest::SaveRegistrantProfileRequest() :
- RpcServiceRequest("domain", "2018-01-29", "SaveRegistrantProfile")
- {
- setMethod(HttpRequest::Method::Post);
- }
- SaveRegistrantProfileRequest::~SaveRegistrantProfileRequest()
- {}
- std::string SaveRegistrantProfileRequest::getCountry()const
- {
- return country_;
- }
- void SaveRegistrantProfileRequest::setCountry(const std::string& country)
- {
- country_ = country;
- setParameter("Country", country);
- }
- std::string SaveRegistrantProfileRequest::getCity()const
- {
- return city_;
- }
- void SaveRegistrantProfileRequest::setCity(const std::string& city)
- {
- city_ = city;
- setParameter("City", city);
- }
- long SaveRegistrantProfileRequest::getRegistrantProfileId()const
- {
- return registrantProfileId_;
- }
- void SaveRegistrantProfileRequest::setRegistrantProfileId(long registrantProfileId)
- {
- registrantProfileId_ = registrantProfileId;
- setParameter("RegistrantProfileId", std::to_string(registrantProfileId));
- }
- std::string SaveRegistrantProfileRequest::getZhCity()const
- {
- return zhCity_;
- }
- void SaveRegistrantProfileRequest::setZhCity(const std::string& zhCity)
- {
- zhCity_ = zhCity;
- setParameter("ZhCity", zhCity);
- }
- std::string SaveRegistrantProfileRequest::getTelExt()const
- {
- return telExt_;
- }
- void SaveRegistrantProfileRequest::setTelExt(const std::string& telExt)
- {
- telExt_ = telExt;
- setParameter("TelExt", telExt);
- }
- std::string SaveRegistrantProfileRequest::getProvince()const
- {
- return province_;
- }
- void SaveRegistrantProfileRequest::setProvince(const std::string& province)
- {
- province_ = province;
- setParameter("Province", province);
- }
- std::string SaveRegistrantProfileRequest::getZhRegistrantName()const
- {
- return zhRegistrantName_;
- }
- void SaveRegistrantProfileRequest::setZhRegistrantName(const std::string& zhRegistrantName)
- {
- zhRegistrantName_ = zhRegistrantName;
- setParameter("ZhRegistrantName", zhRegistrantName);
- }
- std::string SaveRegistrantProfileRequest::getPostalCode()const
- {
- return postalCode_;
- }
- void SaveRegistrantProfileRequest::setPostalCode(const std::string& postalCode)
- {
- postalCode_ = postalCode;
- setParameter("PostalCode", postalCode);
- }
- std::string SaveRegistrantProfileRequest::getLang()const
- {
- return lang_;
- }
- void SaveRegistrantProfileRequest::setLang(const std::string& lang)
- {
- lang_ = lang;
- setParameter("Lang", lang);
- }
- std::string SaveRegistrantProfileRequest::getEmail()const
- {
- return email_;
- }
- void SaveRegistrantProfileRequest::setEmail(const std::string& email)
- {
- email_ = email;
- setParameter("Email", email);
- }
- std::string SaveRegistrantProfileRequest::getZhRegistrantOrganization()const
- {
- return zhRegistrantOrganization_;
- }
- void SaveRegistrantProfileRequest::setZhRegistrantOrganization(const std::string& zhRegistrantOrganization)
- {
- zhRegistrantOrganization_ = zhRegistrantOrganization;
- setParameter("ZhRegistrantOrganization", zhRegistrantOrganization);
- }
- std::string SaveRegistrantProfileRequest::getAddress()const
- {
- return address_;
- }
- void SaveRegistrantProfileRequest::setAddress(const std::string& address)
- {
- address_ = address;
- setParameter("Address", address);
- }
- std::string SaveRegistrantProfileRequest::getTelArea()const
- {
- return telArea_;
- }
- void SaveRegistrantProfileRequest::setTelArea(const std::string& telArea)
- {
- telArea_ = telArea;
- setParameter("TelArea", telArea);
- }
- std::string SaveRegistrantProfileRequest::getZhAddress()const
- {
- return zhAddress_;
- }
- void SaveRegistrantProfileRequest::setZhAddress(const std::string& zhAddress)
- {
- zhAddress_ = zhAddress;
- setParameter("ZhAddress", zhAddress);
- }
- std::string SaveRegistrantProfileRequest::getRegistrantType()const
- {
- return registrantType_;
- }
- void SaveRegistrantProfileRequest::setRegistrantType(const std::string& registrantType)
- {
- registrantType_ = registrantType;
- setParameter("RegistrantType", registrantType);
- }
- std::string SaveRegistrantProfileRequest::getRegistrantProfileType()const
- {
- return registrantProfileType_;
- }
- void SaveRegistrantProfileRequest::setRegistrantProfileType(const std::string& registrantProfileType)
- {
- registrantProfileType_ = registrantProfileType;
- setParameter("RegistrantProfileType", registrantProfileType);
- }
- std::string SaveRegistrantProfileRequest::getTelephone()const
- {
- return telephone_;
- }
- void SaveRegistrantProfileRequest::setTelephone(const std::string& telephone)
- {
- telephone_ = telephone;
- setParameter("Telephone", telephone);
- }
- bool SaveRegistrantProfileRequest::getDefaultRegistrantProfile()const
- {
- return defaultRegistrantProfile_;
- }
- void SaveRegistrantProfileRequest::setDefaultRegistrantProfile(bool defaultRegistrantProfile)
- {
- defaultRegistrantProfile_ = defaultRegistrantProfile;
- setParameter("DefaultRegistrantProfile", defaultRegistrantProfile ? "true" : "false");
- }
- std::string SaveRegistrantProfileRequest::getZhProvince()const
- {
- return zhProvince_;
- }
- void SaveRegistrantProfileRequest::setZhProvince(const std::string& zhProvince)
- {
- zhProvince_ = zhProvince;
- setParameter("ZhProvince", zhProvince);
- }
- std::string SaveRegistrantProfileRequest::getRegistrantOrganization()const
- {
- return registrantOrganization_;
- }
- void SaveRegistrantProfileRequest::setRegistrantOrganization(const std::string& registrantOrganization)
- {
- registrantOrganization_ = registrantOrganization;
- setParameter("RegistrantOrganization", registrantOrganization);
- }
- std::string SaveRegistrantProfileRequest::getUserClientIp()const
- {
- return userClientIp_;
- }
- void SaveRegistrantProfileRequest::setUserClientIp(const std::string& userClientIp)
- {
- userClientIp_ = userClientIp;
- setParameter("UserClientIp", userClientIp);
- }
- std::string SaveRegistrantProfileRequest::getRegistrantName()const
- {
- return registrantName_;
- }
- void SaveRegistrantProfileRequest::setRegistrantName(const std::string& registrantName)
- {
- registrantName_ = registrantName;
- setParameter("RegistrantName", registrantName);
- }
|