Modify endpoint for resourcemanager.
This commit is contained in:
@@ -25,15 +25,6 @@ BindSecureMobilePhoneRequest::BindSecureMobilePhoneRequest()
|
||||
|
||||
BindSecureMobilePhoneRequest::~BindSecureMobilePhoneRequest() {}
|
||||
|
||||
std::string BindSecureMobilePhoneRequest::getInheritSecureMobilePhoneFrom() const {
|
||||
return inheritSecureMobilePhoneFrom_;
|
||||
}
|
||||
|
||||
void BindSecureMobilePhoneRequest::setInheritSecureMobilePhoneFrom(const std::string &inheritSecureMobilePhoneFrom) {
|
||||
inheritSecureMobilePhoneFrom_ = inheritSecureMobilePhoneFrom;
|
||||
setParameter(std::string("InheritSecureMobilePhoneFrom"), inheritSecureMobilePhoneFrom);
|
||||
}
|
||||
|
||||
std::string BindSecureMobilePhoneRequest::getSecureMobilePhone() const {
|
||||
return secureMobilePhone_;
|
||||
}
|
||||
|
||||
@@ -37,15 +37,6 @@ void CreateResourceAccountRequest::setTag(const std::vector<CreateResourceAccoun
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateResourceAccountRequest::getVerificationCode() const {
|
||||
return verificationCode_;
|
||||
}
|
||||
|
||||
void CreateResourceAccountRequest::setVerificationCode(const std::string &verificationCode) {
|
||||
verificationCode_ = verificationCode;
|
||||
setParameter(std::string("VerificationCode"), verificationCode);
|
||||
}
|
||||
|
||||
std::string CreateResourceAccountRequest::getAccountNamePrefix() const {
|
||||
return accountNamePrefix_;
|
||||
}
|
||||
@@ -55,24 +46,6 @@ void CreateResourceAccountRequest::setAccountNamePrefix(const std::string &accou
|
||||
setParameter(std::string("AccountNamePrefix"), accountNamePrefix);
|
||||
}
|
||||
|
||||
std::string CreateResourceAccountRequest::getInheritSecureMobilePhoneFrom() const {
|
||||
return inheritSecureMobilePhoneFrom_;
|
||||
}
|
||||
|
||||
void CreateResourceAccountRequest::setInheritSecureMobilePhoneFrom(const std::string &inheritSecureMobilePhoneFrom) {
|
||||
inheritSecureMobilePhoneFrom_ = inheritSecureMobilePhoneFrom;
|
||||
setParameter(std::string("InheritSecureMobilePhoneFrom"), inheritSecureMobilePhoneFrom);
|
||||
}
|
||||
|
||||
std::string CreateResourceAccountRequest::getSecureMobilePhone() const {
|
||||
return secureMobilePhone_;
|
||||
}
|
||||
|
||||
void CreateResourceAccountRequest::setSecureMobilePhone(const std::string &secureMobilePhone) {
|
||||
secureMobilePhone_ = secureMobilePhone;
|
||||
setParameter(std::string("SecureMobilePhone"), secureMobilePhone);
|
||||
}
|
||||
|
||||
std::string CreateResourceAccountRequest::getResellAccountType() const {
|
||||
return resellAccountType_;
|
||||
}
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
/*
|
||||
* 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/resourcemanager/model/GetResourceGroupListAclModeRequest.h>
|
||||
|
||||
using AlibabaCloud::ResourceManager::Model::GetResourceGroupListAclModeRequest;
|
||||
|
||||
GetResourceGroupListAclModeRequest::GetResourceGroupListAclModeRequest()
|
||||
: RpcServiceRequest("resourcemanager", "2020-03-31", "GetResourceGroupListAclMode") {
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
GetResourceGroupListAclModeRequest::~GetResourceGroupListAclModeRequest() {}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* 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/resourcemanager/model/GetResourceGroupListAclModeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ResourceManager;
|
||||
using namespace AlibabaCloud::ResourceManager::Model;
|
||||
|
||||
GetResourceGroupListAclModeResult::GetResourceGroupListAclModeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetResourceGroupListAclModeResult::GetResourceGroupListAclModeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetResourceGroupListAclModeResult::~GetResourceGroupListAclModeResult()
|
||||
{}
|
||||
|
||||
void GetResourceGroupListAclModeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Mode"].isNull())
|
||||
mode_ = value["Mode"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetResourceGroupListAclModeResult::getMode()const
|
||||
{
|
||||
return mode_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user