55 lines
1.9 KiB
C++
55 lines
1.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/drds/model/CreateInstanceInternetAddressRequest.h>
|
|
|
|
using AlibabaCloud::Drds::Model::CreateInstanceInternetAddressRequest;
|
|
|
|
CreateInstanceInternetAddressRequest::CreateInstanceInternetAddressRequest()
|
|
: RpcServiceRequest("drds", "2019-01-23", "CreateInstanceInternetAddress") {
|
|
setMethod(HttpRequest::Method::Post);
|
|
}
|
|
|
|
CreateInstanceInternetAddressRequest::~CreateInstanceInternetAddressRequest() {}
|
|
|
|
std::string CreateInstanceInternetAddressRequest::getDrdsPassword() const {
|
|
return drdsPassword_;
|
|
}
|
|
|
|
void CreateInstanceInternetAddressRequest::setDrdsPassword(const std::string &drdsPassword) {
|
|
drdsPassword_ = drdsPassword;
|
|
setParameter(std::string("DrdsPassword"), drdsPassword);
|
|
}
|
|
|
|
std::string CreateInstanceInternetAddressRequest::getDrdsInstanceId() const {
|
|
return drdsInstanceId_;
|
|
}
|
|
|
|
void CreateInstanceInternetAddressRequest::setDrdsInstanceId(const std::string &drdsInstanceId) {
|
|
drdsInstanceId_ = drdsInstanceId;
|
|
setParameter(std::string("DrdsInstanceId"), drdsInstanceId);
|
|
}
|
|
|
|
std::string CreateInstanceInternetAddressRequest::getRegionId() const {
|
|
return regionId_;
|
|
}
|
|
|
|
void CreateInstanceInternetAddressRequest::setRegionId(const std::string ®ionId) {
|
|
regionId_ = regionId;
|
|
setParameter(std::string("RegionId"), regionId);
|
|
}
|
|
|