Support Conditional Access Policy.

This commit is contained in:
sdk-team
2025-03-21 09:12:12 +00:00
parent 338fe94f31
commit 4208be77a5
541 changed files with 38251 additions and 1 deletions

4877
eiam/src/EiamClient.cc Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,56 @@
/*
* 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/eiam/model/AddUserToOrganizationalUnitsRequest.h>
using AlibabaCloud::Eiam::Model::AddUserToOrganizationalUnitsRequest;
AddUserToOrganizationalUnitsRequest::AddUserToOrganizationalUnitsRequest()
: RpcServiceRequest("eiam", "2021-12-01", "AddUserToOrganizationalUnits") {
setMethod(HttpRequest::Method::Post);
}
AddUserToOrganizationalUnitsRequest::~AddUserToOrganizationalUnitsRequest() {}
std::string AddUserToOrganizationalUnitsRequest::getUserId() const {
return userId_;
}
void AddUserToOrganizationalUnitsRequest::setUserId(const std::string &userId) {
userId_ = userId;
setParameter(std::string("UserId"), userId);
}
std::vector<AddUserToOrganizationalUnitsRequest::std::string> AddUserToOrganizationalUnitsRequest::getOrganizationalUnitIds() const {
return organizationalUnitIds_;
}
void AddUserToOrganizationalUnitsRequest::setOrganizationalUnitIds(const std::vector<AddUserToOrganizationalUnitsRequest::std::string> &organizationalUnitIds) {
organizationalUnitIds_ = organizationalUnitIds;
for(int dep1 = 0; dep1 != organizationalUnitIds.size(); dep1++) {
setParameter(std::string("OrganizationalUnitIds") + "." + std::to_string(dep1 + 1), organizationalUnitIds[dep1]);
}
}
std::string AddUserToOrganizationalUnitsRequest::getInstanceId() const {
return instanceId_;
}
void AddUserToOrganizationalUnitsRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/AddUserToOrganizationalUnitsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
AddUserToOrganizationalUnitsResult::AddUserToOrganizationalUnitsResult() :
ServiceResult()
{}
AddUserToOrganizationalUnitsResult::AddUserToOrganizationalUnitsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddUserToOrganizationalUnitsResult::~AddUserToOrganizationalUnitsResult()
{}
void AddUserToOrganizationalUnitsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,56 @@
/*
* 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/eiam/model/AddUsersToGroupRequest.h>
using AlibabaCloud::Eiam::Model::AddUsersToGroupRequest;
AddUsersToGroupRequest::AddUsersToGroupRequest()
: RpcServiceRequest("eiam", "2021-12-01", "AddUsersToGroup") {
setMethod(HttpRequest::Method::Post);
}
AddUsersToGroupRequest::~AddUsersToGroupRequest() {}
std::string AddUsersToGroupRequest::getGroupId() const {
return groupId_;
}
void AddUsersToGroupRequest::setGroupId(const std::string &groupId) {
groupId_ = groupId;
setParameter(std::string("GroupId"), groupId);
}
std::string AddUsersToGroupRequest::getInstanceId() const {
return instanceId_;
}
void AddUsersToGroupRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::vector<AddUsersToGroupRequest::std::string> AddUsersToGroupRequest::getUserIds() const {
return userIds_;
}
void AddUsersToGroupRequest::setUserIds(const std::vector<AddUsersToGroupRequest::std::string> &userIds) {
userIds_ = userIds;
for(int dep1 = 0; dep1 != userIds.size(); dep1++) {
setParameter(std::string("UserIds") + "." + std::to_string(dep1 + 1), userIds[dep1]);
}
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/AddUsersToGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
AddUsersToGroupResult::AddUsersToGroupResult() :
ServiceResult()
{}
AddUsersToGroupResult::AddUsersToGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddUsersToGroupResult::~AddUsersToGroupResult()
{}
void AddUsersToGroupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,56 @@
/*
* 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/eiam/model/AuthorizeApplicationToGroupsRequest.h>
using AlibabaCloud::Eiam::Model::AuthorizeApplicationToGroupsRequest;
AuthorizeApplicationToGroupsRequest::AuthorizeApplicationToGroupsRequest()
: RpcServiceRequest("eiam", "2021-12-01", "AuthorizeApplicationToGroups") {
setMethod(HttpRequest::Method::Post);
}
AuthorizeApplicationToGroupsRequest::~AuthorizeApplicationToGroupsRequest() {}
std::string AuthorizeApplicationToGroupsRequest::getApplicationId() const {
return applicationId_;
}
void AuthorizeApplicationToGroupsRequest::setApplicationId(const std::string &applicationId) {
applicationId_ = applicationId;
setParameter(std::string("ApplicationId"), applicationId);
}
std::string AuthorizeApplicationToGroupsRequest::getInstanceId() const {
return instanceId_;
}
void AuthorizeApplicationToGroupsRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::vector<AuthorizeApplicationToGroupsRequest::std::string> AuthorizeApplicationToGroupsRequest::getGroupIds() const {
return groupIds_;
}
void AuthorizeApplicationToGroupsRequest::setGroupIds(const std::vector<AuthorizeApplicationToGroupsRequest::std::string> &groupIds) {
groupIds_ = groupIds;
for(int dep1 = 0; dep1 != groupIds.size(); dep1++) {
setParameter(std::string("GroupIds") + "." + std::to_string(dep1 + 1), groupIds[dep1]);
}
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/AuthorizeApplicationToGroupsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
AuthorizeApplicationToGroupsResult::AuthorizeApplicationToGroupsResult() :
ServiceResult()
{}
AuthorizeApplicationToGroupsResult::AuthorizeApplicationToGroupsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AuthorizeApplicationToGroupsResult::~AuthorizeApplicationToGroupsResult()
{}
void AuthorizeApplicationToGroupsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,56 @@
/*
* 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/eiam/model/AuthorizeApplicationToOrganizationalUnitsRequest.h>
using AlibabaCloud::Eiam::Model::AuthorizeApplicationToOrganizationalUnitsRequest;
AuthorizeApplicationToOrganizationalUnitsRequest::AuthorizeApplicationToOrganizationalUnitsRequest()
: RpcServiceRequest("eiam", "2021-12-01", "AuthorizeApplicationToOrganizationalUnits") {
setMethod(HttpRequest::Method::Post);
}
AuthorizeApplicationToOrganizationalUnitsRequest::~AuthorizeApplicationToOrganizationalUnitsRequest() {}
std::string AuthorizeApplicationToOrganizationalUnitsRequest::getApplicationId() const {
return applicationId_;
}
void AuthorizeApplicationToOrganizationalUnitsRequest::setApplicationId(const std::string &applicationId) {
applicationId_ = applicationId;
setParameter(std::string("ApplicationId"), applicationId);
}
std::vector<AuthorizeApplicationToOrganizationalUnitsRequest::std::string> AuthorizeApplicationToOrganizationalUnitsRequest::getOrganizationalUnitIds() const {
return organizationalUnitIds_;
}
void AuthorizeApplicationToOrganizationalUnitsRequest::setOrganizationalUnitIds(const std::vector<AuthorizeApplicationToOrganizationalUnitsRequest::std::string> &organizationalUnitIds) {
organizationalUnitIds_ = organizationalUnitIds;
for(int dep1 = 0; dep1 != organizationalUnitIds.size(); dep1++) {
setParameter(std::string("OrganizationalUnitIds") + "." + std::to_string(dep1 + 1), organizationalUnitIds[dep1]);
}
}
std::string AuthorizeApplicationToOrganizationalUnitsRequest::getInstanceId() const {
return instanceId_;
}
void AuthorizeApplicationToOrganizationalUnitsRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/AuthorizeApplicationToOrganizationalUnitsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
AuthorizeApplicationToOrganizationalUnitsResult::AuthorizeApplicationToOrganizationalUnitsResult() :
ServiceResult()
{}
AuthorizeApplicationToOrganizationalUnitsResult::AuthorizeApplicationToOrganizationalUnitsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AuthorizeApplicationToOrganizationalUnitsResult::~AuthorizeApplicationToOrganizationalUnitsResult()
{}
void AuthorizeApplicationToOrganizationalUnitsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,56 @@
/*
* 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/eiam/model/AuthorizeApplicationToUsersRequest.h>
using AlibabaCloud::Eiam::Model::AuthorizeApplicationToUsersRequest;
AuthorizeApplicationToUsersRequest::AuthorizeApplicationToUsersRequest()
: RpcServiceRequest("eiam", "2021-12-01", "AuthorizeApplicationToUsers") {
setMethod(HttpRequest::Method::Post);
}
AuthorizeApplicationToUsersRequest::~AuthorizeApplicationToUsersRequest() {}
std::string AuthorizeApplicationToUsersRequest::getApplicationId() const {
return applicationId_;
}
void AuthorizeApplicationToUsersRequest::setApplicationId(const std::string &applicationId) {
applicationId_ = applicationId;
setParameter(std::string("ApplicationId"), applicationId);
}
std::string AuthorizeApplicationToUsersRequest::getInstanceId() const {
return instanceId_;
}
void AuthorizeApplicationToUsersRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::vector<AuthorizeApplicationToUsersRequest::std::string> AuthorizeApplicationToUsersRequest::getUserIds() const {
return userIds_;
}
void AuthorizeApplicationToUsersRequest::setUserIds(const std::vector<AuthorizeApplicationToUsersRequest::std::string> &userIds) {
userIds_ = userIds;
for(int dep1 = 0; dep1 != userIds.size(); dep1++) {
setParameter(std::string("UserIds") + "." + std::to_string(dep1 + 1), userIds[dep1]);
}
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/AuthorizeApplicationToUsersResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
AuthorizeApplicationToUsersResult::AuthorizeApplicationToUsersResult() :
ServiceResult()
{}
AuthorizeApplicationToUsersResult::AuthorizeApplicationToUsersResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AuthorizeApplicationToUsersResult::~AuthorizeApplicationToUsersResult()
{}
void AuthorizeApplicationToUsersResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/CreateApplicationClientSecretRequest.h>
using AlibabaCloud::Eiam::Model::CreateApplicationClientSecretRequest;
CreateApplicationClientSecretRequest::CreateApplicationClientSecretRequest()
: RpcServiceRequest("eiam", "2021-12-01", "CreateApplicationClientSecret") {
setMethod(HttpRequest::Method::Post);
}
CreateApplicationClientSecretRequest::~CreateApplicationClientSecretRequest() {}
std::string CreateApplicationClientSecretRequest::getInstanceId() const {
return instanceId_;
}
void CreateApplicationClientSecretRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::string CreateApplicationClientSecretRequest::getApplicationId() const {
return applicationId_;
}
void CreateApplicationClientSecretRequest::setApplicationId(const std::string &applicationId) {
applicationId_ = applicationId;
setParameter(std::string("ApplicationId"), applicationId);
}

View File

@@ -0,0 +1,56 @@
/*
* 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/eiam/model/CreateApplicationClientSecretResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
CreateApplicationClientSecretResult::CreateApplicationClientSecretResult() :
ServiceResult()
{}
CreateApplicationClientSecretResult::CreateApplicationClientSecretResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateApplicationClientSecretResult::~CreateApplicationClientSecretResult()
{}
void CreateApplicationClientSecretResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto applicationClientSecretNode = value["ApplicationClientSecret"];
if(!applicationClientSecretNode["ClientId"].isNull())
applicationClientSecret_.clientId = applicationClientSecretNode["ClientId"].asString();
if(!applicationClientSecretNode["SecretId"].isNull())
applicationClientSecret_.secretId = applicationClientSecretNode["SecretId"].asString();
if(!applicationClientSecretNode["ClientSecret"].isNull())
applicationClientSecret_.clientSecret = applicationClientSecretNode["ClientSecret"].asString();
}
CreateApplicationClientSecretResult::ApplicationClientSecret CreateApplicationClientSecretResult::getApplicationClientSecret()const
{
return applicationClientSecret_;
}

View File

@@ -0,0 +1,90 @@
/*
* 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/eiam/model/CreateApplicationRequest.h>
using AlibabaCloud::Eiam::Model::CreateApplicationRequest;
CreateApplicationRequest::CreateApplicationRequest()
: RpcServiceRequest("eiam", "2021-12-01", "CreateApplication") {
setMethod(HttpRequest::Method::Post);
}
CreateApplicationRequest::~CreateApplicationRequest() {}
std::string CreateApplicationRequest::getDescription() const {
return description_;
}
void CreateApplicationRequest::setDescription(const std::string &description) {
description_ = description;
setParameter(std::string("Description"), description);
}
std::string CreateApplicationRequest::getApplicationSourceType() const {
return applicationSourceType_;
}
void CreateApplicationRequest::setApplicationSourceType(const std::string &applicationSourceType) {
applicationSourceType_ = applicationSourceType;
setParameter(std::string("ApplicationSourceType"), applicationSourceType);
}
std::string CreateApplicationRequest::getLogoUrl() const {
return logoUrl_;
}
void CreateApplicationRequest::setLogoUrl(const std::string &logoUrl) {
logoUrl_ = logoUrl;
setParameter(std::string("LogoUrl"), logoUrl);
}
std::string CreateApplicationRequest::getApplicationName() const {
return applicationName_;
}
void CreateApplicationRequest::setApplicationName(const std::string &applicationName) {
applicationName_ = applicationName;
setParameter(std::string("ApplicationName"), applicationName);
}
std::string CreateApplicationRequest::getInstanceId() const {
return instanceId_;
}
void CreateApplicationRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::string CreateApplicationRequest::getSsoType() const {
return ssoType_;
}
void CreateApplicationRequest::setSsoType(const std::string &ssoType) {
ssoType_ = ssoType;
setParameter(std::string("SsoType"), ssoType);
}
std::string CreateApplicationRequest::getApplicationTemplateId() const {
return applicationTemplateId_;
}
void CreateApplicationRequest::setApplicationTemplateId(const std::string &applicationTemplateId) {
applicationTemplateId_ = applicationTemplateId;
setParameter(std::string("ApplicationTemplateId"), applicationTemplateId);
}

View File

@@ -0,0 +1,51 @@
/*
* 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/eiam/model/CreateApplicationResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
CreateApplicationResult::CreateApplicationResult() :
ServiceResult()
{}
CreateApplicationResult::CreateApplicationResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateApplicationResult::~CreateApplicationResult()
{}
void CreateApplicationResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ApplicationId"].isNull())
applicationId_ = value["ApplicationId"].asString();
}
std::string CreateApplicationResult::getApplicationId()const
{
return applicationId_;
}

View File

@@ -0,0 +1,152 @@
/*
* 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/eiam/model/CreateConditionalAccessPolicyRequest.h>
using AlibabaCloud::Eiam::Model::CreateConditionalAccessPolicyRequest;
CreateConditionalAccessPolicyRequest::CreateConditionalAccessPolicyRequest()
: RpcServiceRequest("eiam", "2021-12-01", "CreateConditionalAccessPolicy") {
setMethod(HttpRequest::Method::Post);
}
CreateConditionalAccessPolicyRequest::~CreateConditionalAccessPolicyRequest() {}
std::string CreateConditionalAccessPolicyRequest::getClientToken() const {
return clientToken_;
}
void CreateConditionalAccessPolicyRequest::setClientToken(const std::string &clientToken) {
clientToken_ = clientToken;
setParameter(std::string("ClientToken"), clientToken);
}
CreateConditionalAccessPolicyRequest::ConditionsConfig CreateConditionalAccessPolicyRequest::getConditionsConfig() const {
return conditionsConfig_;
}
void CreateConditionalAccessPolicyRequest::setConditionsConfig(const CreateConditionalAccessPolicyRequest::ConditionsConfig &conditionsConfig) {
conditionsConfig_ = conditionsConfig;
for(int dep1 = 0; dep1 != conditionsConfig.networkZones.excludeNetworkZones.size(); dep1++) {
setParameter(std::string("ConditionsConfig") + ".NetworkZones.ExcludeNetworkZones." + std::to_string(dep1 + 1), conditionsConfig.networkZones.excludeNetworkZones[dep1]);
}
for(int dep1 = 0; dep1 != conditionsConfig.networkZones.includeNetworkZones.size(); dep1++) {
setParameter(std::string("ConditionsConfig") + ".NetworkZones.IncludeNetworkZones." + std::to_string(dep1 + 1), conditionsConfig.networkZones.includeNetworkZones[dep1]);
}
for(int dep1 = 0; dep1 != conditionsConfig.users.includeGroups.size(); dep1++) {
setParameter(std::string("ConditionsConfig") + ".Users.IncludeGroups." + std::to_string(dep1 + 1), conditionsConfig.users.includeGroups[dep1]);
}
for(int dep1 = 0; dep1 != conditionsConfig.users.excludeUsers.size(); dep1++) {
setParameter(std::string("ConditionsConfig") + ".Users.ExcludeUsers." + std::to_string(dep1 + 1), conditionsConfig.users.excludeUsers[dep1]);
}
for(int dep1 = 0; dep1 != conditionsConfig.users.includeOrganizationalUnits.size(); dep1++) {
setParameter(std::string("ConditionsConfig") + ".Users.IncludeOrganizationalUnits." + std::to_string(dep1 + 1), conditionsConfig.users.includeOrganizationalUnits[dep1]);
}
for(int dep1 = 0; dep1 != conditionsConfig.users.excludeOrganizationalUnits.size(); dep1++) {
setParameter(std::string("ConditionsConfig") + ".Users.ExcludeOrganizationalUnits." + std::to_string(dep1 + 1), conditionsConfig.users.excludeOrganizationalUnits[dep1]);
}
for(int dep1 = 0; dep1 != conditionsConfig.users.excludeGroups.size(); dep1++) {
setParameter(std::string("ConditionsConfig") + ".Users.ExcludeGroups." + std::to_string(dep1 + 1), conditionsConfig.users.excludeGroups[dep1]);
}
for(int dep1 = 0; dep1 != conditionsConfig.users.includeUsers.size(); dep1++) {
setParameter(std::string("ConditionsConfig") + ".Users.IncludeUsers." + std::to_string(dep1 + 1), conditionsConfig.users.includeUsers[dep1]);
}
for(int dep1 = 0; dep1 != conditionsConfig.applications.excludeApplications.size(); dep1++) {
setParameter(std::string("ConditionsConfig") + ".Applications.ExcludeApplications." + std::to_string(dep1 + 1), conditionsConfig.applications.excludeApplications[dep1]);
}
for(int dep1 = 0; dep1 != conditionsConfig.applications.includeApplications.size(); dep1++) {
setParameter(std::string("ConditionsConfig") + ".Applications.IncludeApplications." + std::to_string(dep1 + 1), conditionsConfig.applications.includeApplications[dep1]);
}
}
std::string CreateConditionalAccessPolicyRequest::getDescription() const {
return description_;
}
void CreateConditionalAccessPolicyRequest::setDescription(const std::string &description) {
description_ = description;
setParameter(std::string("Description"), description);
}
std::string CreateConditionalAccessPolicyRequest::getConditionalAccessPolicyType() const {
return conditionalAccessPolicyType_;
}
void CreateConditionalAccessPolicyRequest::setConditionalAccessPolicyType(const std::string &conditionalAccessPolicyType) {
conditionalAccessPolicyType_ = conditionalAccessPolicyType;
setParameter(std::string("ConditionalAccessPolicyType"), conditionalAccessPolicyType);
}
std::string CreateConditionalAccessPolicyRequest::getDecisionType() const {
return decisionType_;
}
void CreateConditionalAccessPolicyRequest::setDecisionType(const std::string &decisionType) {
decisionType_ = decisionType;
setParameter(std::string("DecisionType"), decisionType);
}
std::string CreateConditionalAccessPolicyRequest::getEvaluateAt() const {
return evaluateAt_;
}
void CreateConditionalAccessPolicyRequest::setEvaluateAt(const std::string &evaluateAt) {
evaluateAt_ = evaluateAt;
setParameter(std::string("EvaluateAt"), evaluateAt);
}
int CreateConditionalAccessPolicyRequest::getPriority() const {
return priority_;
}
void CreateConditionalAccessPolicyRequest::setPriority(int priority) {
priority_ = priority;
setParameter(std::string("Priority"), std::to_string(priority));
}
CreateConditionalAccessPolicyRequest::DecisionConfig CreateConditionalAccessPolicyRequest::getDecisionConfig() const {
return decisionConfig_;
}
void CreateConditionalAccessPolicyRequest::setDecisionConfig(const CreateConditionalAccessPolicyRequest::DecisionConfig &decisionConfig) {
decisionConfig_ = decisionConfig;
setParameter(std::string("DecisionConfig") + ".MfaType", decisionConfig.mfaType);
setParameter(std::string("DecisionConfig") + ".MfaAuthenticationIntervalSeconds", std::to_string(decisionConfig.mfaAuthenticationIntervalSeconds));
setParameter(std::string("DecisionConfig") + ".Effect", decisionConfig.effect);
setParameter(std::string("DecisionConfig") + ".ActiveSessionReuseStatus", decisionConfig.activeSessionReuseStatus);
for(int dep1 = 0; dep1 != decisionConfig.mfaAuthenticationMethods.size(); dep1++) {
setParameter(std::string("DecisionConfig") + ".MfaAuthenticationMethods." + std::to_string(dep1 + 1), decisionConfig.mfaAuthenticationMethods[dep1]);
}
}
std::string CreateConditionalAccessPolicyRequest::getConditionalAccessPolicyName() const {
return conditionalAccessPolicyName_;
}
void CreateConditionalAccessPolicyRequest::setConditionalAccessPolicyName(const std::string &conditionalAccessPolicyName) {
conditionalAccessPolicyName_ = conditionalAccessPolicyName;
setParameter(std::string("ConditionalAccessPolicyName"), conditionalAccessPolicyName);
}
std::string CreateConditionalAccessPolicyRequest::getInstanceId() const {
return instanceId_;
}
void CreateConditionalAccessPolicyRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -0,0 +1,51 @@
/*
* 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/eiam/model/CreateConditionalAccessPolicyResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
CreateConditionalAccessPolicyResult::CreateConditionalAccessPolicyResult() :
ServiceResult()
{}
CreateConditionalAccessPolicyResult::CreateConditionalAccessPolicyResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateConditionalAccessPolicyResult::~CreateConditionalAccessPolicyResult()
{}
void CreateConditionalAccessPolicyResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ConditionalAccessPolicyId"].isNull())
conditionalAccessPolicyId_ = value["ConditionalAccessPolicyId"].asString();
}
std::string CreateConditionalAccessPolicyResult::getConditionalAccessPolicyId()const
{
return conditionalAccessPolicyId_;
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/CreateDomainProxyTokenRequest.h>
using AlibabaCloud::Eiam::Model::CreateDomainProxyTokenRequest;
CreateDomainProxyTokenRequest::CreateDomainProxyTokenRequest()
: RpcServiceRequest("eiam", "2021-12-01", "CreateDomainProxyToken") {
setMethod(HttpRequest::Method::Post);
}
CreateDomainProxyTokenRequest::~CreateDomainProxyTokenRequest() {}
std::string CreateDomainProxyTokenRequest::getDomainId() const {
return domainId_;
}
void CreateDomainProxyTokenRequest::setDomainId(const std::string &domainId) {
domainId_ = domainId;
setParameter(std::string("DomainId"), domainId);
}
std::string CreateDomainProxyTokenRequest::getInstanceId() const {
return instanceId_;
}
void CreateDomainProxyTokenRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -0,0 +1,51 @@
/*
* 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/eiam/model/CreateDomainProxyTokenResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
CreateDomainProxyTokenResult::CreateDomainProxyTokenResult() :
ServiceResult()
{}
CreateDomainProxyTokenResult::CreateDomainProxyTokenResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateDomainProxyTokenResult::~CreateDomainProxyTokenResult()
{}
void CreateDomainProxyTokenResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["DomainProxyTokenId"].isNull())
domainProxyTokenId_ = value["DomainProxyTokenId"].asString();
}
std::string CreateDomainProxyTokenResult::getDomainProxyTokenId()const
{
return domainProxyTokenId_;
}

View File

@@ -0,0 +1,54 @@
/*
* 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/eiam/model/CreateDomainRequest.h>
using AlibabaCloud::Eiam::Model::CreateDomainRequest;
CreateDomainRequest::CreateDomainRequest()
: RpcServiceRequest("eiam", "2021-12-01", "CreateDomain") {
setMethod(HttpRequest::Method::Post);
}
CreateDomainRequest::~CreateDomainRequest() {}
CreateDomainRequest::Filing CreateDomainRequest::getFiling() const {
return filing_;
}
void CreateDomainRequest::setFiling(const CreateDomainRequest::Filing &filing) {
filing_ = filing;
setParameter(std::string("Filing") + ".IcpNumber", filing.icpNumber);
}
std::string CreateDomainRequest::getInstanceId() const {
return instanceId_;
}
void CreateDomainRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::string CreateDomainRequest::getDomain() const {
return domain_;
}
void CreateDomainRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}

View File

@@ -0,0 +1,51 @@
/*
* 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/eiam/model/CreateDomainResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
CreateDomainResult::CreateDomainResult() :
ServiceResult()
{}
CreateDomainResult::CreateDomainResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateDomainResult::~CreateDomainResult()
{}
void CreateDomainResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["DomainId"].isNull())
domainId_ = value["DomainId"].asString();
}
std::string CreateDomainResult::getDomainId()const
{
return domainId_;
}

View File

@@ -0,0 +1,63 @@
/*
* 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/eiam/model/CreateGroupRequest.h>
using AlibabaCloud::Eiam::Model::CreateGroupRequest;
CreateGroupRequest::CreateGroupRequest()
: RpcServiceRequest("eiam", "2021-12-01", "CreateGroup") {
setMethod(HttpRequest::Method::Post);
}
CreateGroupRequest::~CreateGroupRequest() {}
std::string CreateGroupRequest::getDescription() const {
return description_;
}
void CreateGroupRequest::setDescription(const std::string &description) {
description_ = description;
setParameter(std::string("Description"), description);
}
std::string CreateGroupRequest::getGroupExternalId() const {
return groupExternalId_;
}
void CreateGroupRequest::setGroupExternalId(const std::string &groupExternalId) {
groupExternalId_ = groupExternalId;
setParameter(std::string("GroupExternalId"), groupExternalId);
}
std::string CreateGroupRequest::getGroupName() const {
return groupName_;
}
void CreateGroupRequest::setGroupName(const std::string &groupName) {
groupName_ = groupName;
setParameter(std::string("GroupName"), groupName);
}
std::string CreateGroupRequest::getInstanceId() const {
return instanceId_;
}
void CreateGroupRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -0,0 +1,51 @@
/*
* 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/eiam/model/CreateGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
CreateGroupResult::CreateGroupResult() :
ServiceResult()
{}
CreateGroupResult::CreateGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateGroupResult::~CreateGroupResult()
{}
void CreateGroupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["GroupId"].isNull())
groupId_ = value["GroupId"].asString();
}
std::string CreateGroupResult::getGroupId()const
{
return groupId_;
}

View File

@@ -0,0 +1,240 @@
/*
* 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/eiam/model/CreateIdentityProviderRequest.h>
using AlibabaCloud::Eiam::Model::CreateIdentityProviderRequest;
CreateIdentityProviderRequest::CreateIdentityProviderRequest()
: RpcServiceRequest("eiam", "2021-12-01", "CreateIdentityProvider") {
setMethod(HttpRequest::Method::Post);
}
CreateIdentityProviderRequest::~CreateIdentityProviderRequest() {}
CreateIdentityProviderRequest::DingtalkAppConfig CreateIdentityProviderRequest::getDingtalkAppConfig() const {
return dingtalkAppConfig_;
}
void CreateIdentityProviderRequest::setDingtalkAppConfig(const CreateIdentityProviderRequest::DingtalkAppConfig &dingtalkAppConfig) {
dingtalkAppConfig_ = dingtalkAppConfig;
setParameter(std::string("DingtalkAppConfig") + ".CorpId", dingtalkAppConfig.corpId);
setParameter(std::string("DingtalkAppConfig") + ".DingtalkVersion", dingtalkAppConfig.dingtalkVersion);
setParameter(std::string("DingtalkAppConfig") + ".AppSecret", dingtalkAppConfig.appSecret);
setParameter(std::string("DingtalkAppConfig") + ".AppKey", dingtalkAppConfig.appKey);
}
std::string CreateIdentityProviderRequest::getNetworkAccessEndpointId() const {
return networkAccessEndpointId_;
}
void CreateIdentityProviderRequest::setNetworkAccessEndpointId(const std::string &networkAccessEndpointId) {
networkAccessEndpointId_ = networkAccessEndpointId;
setParameter(std::string("NetworkAccessEndpointId"), networkAccessEndpointId);
}
CreateIdentityProviderRequest::AutoUpdateUserConfig CreateIdentityProviderRequest::getAutoUpdateUserConfig() const {
return autoUpdateUserConfig_;
}
void CreateIdentityProviderRequest::setAutoUpdateUserConfig(const CreateIdentityProviderRequest::AutoUpdateUserConfig &autoUpdateUserConfig) {
autoUpdateUserConfig_ = autoUpdateUserConfig;
setParameter(std::string("AutoUpdateUserConfig") + ".AutoUpdateUserStatus", autoUpdateUserConfig.autoUpdateUserStatus);
}
std::string CreateIdentityProviderRequest::getLogoUrl() const {
return logoUrl_;
}
void CreateIdentityProviderRequest::setLogoUrl(const std::string &logoUrl) {
logoUrl_ = logoUrl;
setParameter(std::string("LogoUrl"), logoUrl);
}
CreateIdentityProviderRequest::UdPullConfig CreateIdentityProviderRequest::getUdPullConfig() const {
return udPullConfig_;
}
void CreateIdentityProviderRequest::setUdPullConfig(const CreateIdentityProviderRequest::UdPullConfig &udPullConfig) {
udPullConfig_ = udPullConfig;
setParameter(std::string("UdPullConfig") + ".GroupSyncStatus", udPullConfig.groupSyncStatus);
setParameter(std::string("UdPullConfig") + ".UdSyncScopeConfig.TargetScope", udPullConfig.udSyncScopeConfig.targetScope);
for(int dep1 = 0; dep1 != udPullConfig.udSyncScopeConfig.sourceScopes.size(); dep1++) {
setParameter(std::string("UdPullConfig") + ".UdSyncScopeConfig.SourceScopes." + std::to_string(dep1 + 1), udPullConfig.udSyncScopeConfig.sourceScopes[dep1]);
}
setParameter(std::string("UdPullConfig") + ".PeriodicSyncStatus", udPullConfig.periodicSyncStatus);
for(int dep1 = 0; dep1 != udPullConfig.periodicSyncConfig.periodicSyncTimes.size(); dep1++) {
setParameter(std::string("UdPullConfig") + ".PeriodicSyncConfig.PeriodicSyncTimes." + std::to_string(dep1 + 1), std::to_string(udPullConfig.periodicSyncConfig.periodicSyncTimes[dep1]));
}
setParameter(std::string("UdPullConfig") + ".PeriodicSyncConfig.PeriodicSyncCron", udPullConfig.periodicSyncConfig.periodicSyncCron);
setParameter(std::string("UdPullConfig") + ".PeriodicSyncConfig.PeriodicSyncType", udPullConfig.periodicSyncConfig.periodicSyncType);
setParameter(std::string("UdPullConfig") + ".IncrementalCallbackStatus", udPullConfig.incrementalCallbackStatus);
}
CreateIdentityProviderRequest::LarkConfig CreateIdentityProviderRequest::getLarkConfig() const {
return larkConfig_;
}
void CreateIdentityProviderRequest::setLarkConfig(const CreateIdentityProviderRequest::LarkConfig &larkConfig) {
larkConfig_ = larkConfig;
setParameter(std::string("LarkConfig") + ".EnterpriseNumber", larkConfig.enterpriseNumber);
setParameter(std::string("LarkConfig") + ".AppId", larkConfig.appId);
setParameter(std::string("LarkConfig") + ".AppSecret", larkConfig.appSecret);
setParameter(std::string("LarkConfig") + ".VerificationToken", larkConfig.verificationToken);
setParameter(std::string("LarkConfig") + ".EncryptKey", larkConfig.encryptKey);
}
CreateIdentityProviderRequest::WeComConfig CreateIdentityProviderRequest::getWeComConfig() const {
return weComConfig_;
}
void CreateIdentityProviderRequest::setWeComConfig(const CreateIdentityProviderRequest::WeComConfig &weComConfig) {
weComConfig_ = weComConfig;
setParameter(std::string("WeComConfig") + ".AgentId", weComConfig.agentId);
setParameter(std::string("WeComConfig") + ".CorpId", weComConfig.corpId);
setParameter(std::string("WeComConfig") + ".CorpSecret", weComConfig.corpSecret);
setParameter(std::string("WeComConfig") + ".AuthorizeCallbackDomain", weComConfig.authorizeCallbackDomain);
setParameter(std::string("WeComConfig") + ".TrustableDomain", weComConfig.trustableDomain);
}
CreateIdentityProviderRequest::AutoCreateUserConfig CreateIdentityProviderRequest::getAutoCreateUserConfig() const {
return autoCreateUserConfig_;
}
void CreateIdentityProviderRequest::setAutoCreateUserConfig(const CreateIdentityProviderRequest::AutoCreateUserConfig &autoCreateUserConfig) {
autoCreateUserConfig_ = autoCreateUserConfig;
setParameter(std::string("AutoCreateUserConfig") + ".AutoCreateUserStatus", autoCreateUserConfig.autoCreateUserStatus);
for(int dep1 = 0; dep1 != autoCreateUserConfig.targetOrganizationalUnitIds.size(); dep1++) {
setParameter(std::string("AutoCreateUserConfig") + ".TargetOrganizationalUnitIds." + std::to_string(dep1 + 1), autoCreateUserConfig.targetOrganizationalUnitIds[dep1]);
}
}
CreateIdentityProviderRequest::AuthnConfig CreateIdentityProviderRequest::getAuthnConfig() const {
return authnConfig_;
}
void CreateIdentityProviderRequest::setAuthnConfig(const CreateIdentityProviderRequest::AuthnConfig &authnConfig) {
authnConfig_ = authnConfig;
setParameter(std::string("AuthnConfig") + ".AuthnStatus", authnConfig.authnStatus);
setParameter(std::string("AuthnConfig") + ".AutoUpdatePasswordStatus", authnConfig.autoUpdatePasswordStatus);
}
CreateIdentityProviderRequest::BindingConfig CreateIdentityProviderRequest::getBindingConfig() const {
return bindingConfig_;
}
void CreateIdentityProviderRequest::setBindingConfig(const CreateIdentityProviderRequest::BindingConfig &bindingConfig) {
bindingConfig_ = bindingConfig;
for(int dep1 = 0; dep1 != bindingConfig.autoMatchUserProfileExpressions.size(); dep1++) {
setParameter(std::string("BindingConfig") + ".AutoMatchUserProfileExpressions." + std::to_string(dep1 + 1) + ".SourceValueExpression", bindingConfig.autoMatchUserProfileExpressions[dep1].sourceValueExpression);
setParameter(std::string("BindingConfig") + ".AutoMatchUserProfileExpressions." + std::to_string(dep1 + 1) + ".TargetFieldDescription", bindingConfig.autoMatchUserProfileExpressions[dep1].targetFieldDescription);
setParameter(std::string("BindingConfig") + ".AutoMatchUserProfileExpressions." + std::to_string(dep1 + 1) + ".TargetField", bindingConfig.autoMatchUserProfileExpressions[dep1].targetField);
setParameter(std::string("BindingConfig") + ".AutoMatchUserProfileExpressions." + std::to_string(dep1 + 1) + ".ExpressionMappingType", bindingConfig.autoMatchUserProfileExpressions[dep1].expressionMappingType);
}
setParameter(std::string("BindingConfig") + ".MappingBindingStatus", bindingConfig.mappingBindingStatus);
setParameter(std::string("BindingConfig") + ".AutoMatchUserStatus", bindingConfig.autoMatchUserStatus);
}
std::string CreateIdentityProviderRequest::getIdentityProviderName() const {
return identityProviderName_;
}
void CreateIdentityProviderRequest::setIdentityProviderName(const std::string &identityProviderName) {
identityProviderName_ = identityProviderName;
setParameter(std::string("IdentityProviderName"), identityProviderName);
}
CreateIdentityProviderRequest::LdapConfig CreateIdentityProviderRequest::getLdapConfig() const {
return ldapConfig_;
}
void CreateIdentityProviderRequest::setLdapConfig(const CreateIdentityProviderRequest::LdapConfig &ldapConfig) {
ldapConfig_ = ldapConfig;
setParameter(std::string("LdapConfig") + ".GroupMemberAttributeName", ldapConfig.groupMemberAttributeName);
setParameter(std::string("LdapConfig") + ".StartTlsStatus", ldapConfig.startTlsStatus);
setParameter(std::string("LdapConfig") + ".LdapServerHost", ldapConfig.ldapServerHost);
setParameter(std::string("LdapConfig") + ".GroupObjectClass", ldapConfig.groupObjectClass);
setParameter(std::string("LdapConfig") + ".UserObjectClass", ldapConfig.userObjectClass);
setParameter(std::string("LdapConfig") + ".UserObjectClassCustomFilter", ldapConfig.userObjectClassCustomFilter);
for(int dep1 = 0; dep1 != ldapConfig.certificateFingerprints.size(); dep1++) {
setParameter(std::string("LdapConfig") + ".CertificateFingerprints." + std::to_string(dep1 + 1), ldapConfig.certificateFingerprints[dep1]);
}
setParameter(std::string("LdapConfig") + ".LdapProtocol", ldapConfig.ldapProtocol);
setParameter(std::string("LdapConfig") + ".GroupObjectClassCustomFilter", ldapConfig.groupObjectClassCustomFilter);
setParameter(std::string("LdapConfig") + ".OrganizationUnitObjectClass", ldapConfig.organizationUnitObjectClass);
setParameter(std::string("LdapConfig") + ".AdministratorUsername", ldapConfig.administratorUsername);
setParameter(std::string("LdapConfig") + ".UserLoginIdentifier", ldapConfig.userLoginIdentifier);
setParameter(std::string("LdapConfig") + ".AdministratorPassword", ldapConfig.administratorPassword);
setParameter(std::string("LdapConfig") + ".CertificateFingerprintStatus", ldapConfig.certificateFingerprintStatus);
setParameter(std::string("LdapConfig") + ".LdapServerPort", std::to_string(ldapConfig.ldapServerPort));
}
std::string CreateIdentityProviderRequest::getInstanceId() const {
return instanceId_;
}
void CreateIdentityProviderRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
CreateIdentityProviderRequest::UdPushConfig CreateIdentityProviderRequest::getUdPushConfig() const {
return udPushConfig_;
}
void CreateIdentityProviderRequest::setUdPushConfig(const CreateIdentityProviderRequest::UdPushConfig &udPushConfig) {
udPushConfig_ = udPushConfig;
setParameter(std::string("UdPushConfig") + ".PeriodicSyncStatus", udPushConfig.periodicSyncStatus);
setParameter(std::string("UdPushConfig") + ".IncrementalCallbackStatus", udPushConfig.incrementalCallbackStatus);
for(int dep1 = 0; dep1 != udPushConfig.udSyncScopeConfigs.size(); dep1++) {
setParameter(std::string("UdPushConfig") + ".UdSyncScopeConfigs." + std::to_string(dep1 + 1) + ".TargetScope", udPushConfig.udSyncScopeConfigs[dep1].targetScope);
for(int dep2 = 0; dep2 != udPushConfig.udSyncScopeConfigs[dep1].sourceScopes.size(); dep2++) {
setParameter(std::string("UdPushConfig") + ".UdSyncScopeConfigs." + std::to_string(dep1 + 1) + ".SourceScopes." + std::to_string(dep2 + 1), udPushConfig.udSyncScopeConfigs[dep1].sourceScopes[dep2]);
}
}
}
std::string CreateIdentityProviderRequest::getIdentityProviderType() const {
return identityProviderType_;
}
void CreateIdentityProviderRequest::setIdentityProviderType(const std::string &identityProviderType) {
identityProviderType_ = identityProviderType;
setParameter(std::string("IdentityProviderType"), identityProviderType);
}
CreateIdentityProviderRequest::OidcConfig CreateIdentityProviderRequest::getOidcConfig() const {
return oidcConfig_;
}
void CreateIdentityProviderRequest::setOidcConfig(const CreateIdentityProviderRequest::OidcConfig &oidcConfig) {
oidcConfig_ = oidcConfig;
for(int dep1 = 0; dep1 != oidcConfig.grantScopes.size(); dep1++) {
setParameter(std::string("OidcConfig") + ".GrantScopes." + std::to_string(dep1 + 1), oidcConfig.grantScopes[dep1]);
}
setParameter(std::string("OidcConfig") + ".EndpointConfig.UserinfoEndpoint", oidcConfig.endpointConfig.userinfoEndpoint);
setParameter(std::string("OidcConfig") + ".EndpointConfig.AuthorizationEndpoint", oidcConfig.endpointConfig.authorizationEndpoint);
setParameter(std::string("OidcConfig") + ".EndpointConfig.JwksUri", oidcConfig.endpointConfig.jwksUri);
setParameter(std::string("OidcConfig") + ".EndpointConfig.TokenEndpoint", oidcConfig.endpointConfig.tokenEndpoint);
setParameter(std::string("OidcConfig") + ".EndpointConfig.Issuer", oidcConfig.endpointConfig.issuer);
setParameter(std::string("OidcConfig") + ".PkceChallengeMethod", oidcConfig.pkceChallengeMethod);
setParameter(std::string("OidcConfig") + ".PkceRequired", oidcConfig.pkceRequired ? "true" : "false");
setParameter(std::string("OidcConfig") + ".AuthnParam.ClientId", oidcConfig.authnParam.clientId);
setParameter(std::string("OidcConfig") + ".AuthnParam.ClientSecret", oidcConfig.authnParam.clientSecret);
setParameter(std::string("OidcConfig") + ".AuthnParam.AuthnMethod", oidcConfig.authnParam.authnMethod);
setParameter(std::string("OidcConfig") + ".GrantType", oidcConfig.grantType);
}

View File

@@ -0,0 +1,51 @@
/*
* 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/eiam/model/CreateIdentityProviderResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
CreateIdentityProviderResult::CreateIdentityProviderResult() :
ServiceResult()
{}
CreateIdentityProviderResult::CreateIdentityProviderResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateIdentityProviderResult::~CreateIdentityProviderResult()
{}
void CreateIdentityProviderResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["IdentityProviderId"].isNull())
identityProviderId_ = value["IdentityProviderId"].asString();
}
std::string CreateIdentityProviderResult::getIdentityProviderId()const
{
return identityProviderId_;
}

View File

@@ -0,0 +1,36 @@
/*
* 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/eiam/model/CreateInstanceRequest.h>
using AlibabaCloud::Eiam::Model::CreateInstanceRequest;
CreateInstanceRequest::CreateInstanceRequest()
: RpcServiceRequest("eiam", "2021-12-01", "CreateInstance") {
setMethod(HttpRequest::Method::Post);
}
CreateInstanceRequest::~CreateInstanceRequest() {}
std::string CreateInstanceRequest::getDescription() const {
return description_;
}
void CreateInstanceRequest::setDescription(const std::string &description) {
description_ = description;
setParameter(std::string("Description"), description);
}

View File

@@ -0,0 +1,51 @@
/*
* 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/eiam/model/CreateInstanceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
CreateInstanceResult::CreateInstanceResult() :
ServiceResult()
{}
CreateInstanceResult::CreateInstanceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateInstanceResult::~CreateInstanceResult()
{}
void CreateInstanceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["InstanceId"].isNull())
instanceId_ = value["InstanceId"].asString();
}
std::string CreateInstanceResult::getInstanceId()const
{
return instanceId_;
}

View File

@@ -0,0 +1,83 @@
/*
* 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/eiam/model/CreateNetworkAccessEndpointRequest.h>
using AlibabaCloud::Eiam::Model::CreateNetworkAccessEndpointRequest;
CreateNetworkAccessEndpointRequest::CreateNetworkAccessEndpointRequest()
: RpcServiceRequest("eiam", "2021-12-01", "CreateNetworkAccessEndpoint") {
setMethod(HttpRequest::Method::Post);
}
CreateNetworkAccessEndpointRequest::~CreateNetworkAccessEndpointRequest() {}
std::string CreateNetworkAccessEndpointRequest::getClientToken() const {
return clientToken_;
}
void CreateNetworkAccessEndpointRequest::setClientToken(const std::string &clientToken) {
clientToken_ = clientToken;
setParameter(std::string("ClientToken"), clientToken);
}
std::vector<CreateNetworkAccessEndpointRequest::std::string> CreateNetworkAccessEndpointRequest::getVSwitchIds() const {
return vSwitchIds_;
}
void CreateNetworkAccessEndpointRequest::setVSwitchIds(const std::vector<CreateNetworkAccessEndpointRequest::std::string> &vSwitchIds) {
vSwitchIds_ = vSwitchIds;
for(int dep1 = 0; dep1 != vSwitchIds.size(); dep1++) {
setParameter(std::string("VSwitchIds") + "." + std::to_string(dep1 + 1), vSwitchIds[dep1]);
}
}
std::string CreateNetworkAccessEndpointRequest::getNetworkAccessEndpointName() const {
return networkAccessEndpointName_;
}
void CreateNetworkAccessEndpointRequest::setNetworkAccessEndpointName(const std::string &networkAccessEndpointName) {
networkAccessEndpointName_ = networkAccessEndpointName;
setParameter(std::string("NetworkAccessEndpointName"), networkAccessEndpointName);
}
std::string CreateNetworkAccessEndpointRequest::getVpcRegionId() const {
return vpcRegionId_;
}
void CreateNetworkAccessEndpointRequest::setVpcRegionId(const std::string &vpcRegionId) {
vpcRegionId_ = vpcRegionId;
setParameter(std::string("VpcRegionId"), vpcRegionId);
}
std::string CreateNetworkAccessEndpointRequest::getInstanceId() const {
return instanceId_;
}
void CreateNetworkAccessEndpointRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::string CreateNetworkAccessEndpointRequest::getVpcId() const {
return vpcId_;
}
void CreateNetworkAccessEndpointRequest::setVpcId(const std::string &vpcId) {
vpcId_ = vpcId;
setParameter(std::string("VpcId"), vpcId);
}

View File

@@ -0,0 +1,51 @@
/*
* 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/eiam/model/CreateNetworkAccessEndpointResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
CreateNetworkAccessEndpointResult::CreateNetworkAccessEndpointResult() :
ServiceResult()
{}
CreateNetworkAccessEndpointResult::CreateNetworkAccessEndpointResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateNetworkAccessEndpointResult::~CreateNetworkAccessEndpointResult()
{}
void CreateNetworkAccessEndpointResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["NetworkAccessEndpointId"].isNull())
networkAccessEndpointId_ = value["NetworkAccessEndpointId"].asString();
}
std::string CreateNetworkAccessEndpointResult::getNetworkAccessEndpointId()const
{
return networkAccessEndpointId_;
}

View File

@@ -0,0 +1,72 @@
/*
* 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/eiam/model/CreateOrganizationalUnitRequest.h>
using AlibabaCloud::Eiam::Model::CreateOrganizationalUnitRequest;
CreateOrganizationalUnitRequest::CreateOrganizationalUnitRequest()
: RpcServiceRequest("eiam", "2021-12-01", "CreateOrganizationalUnit") {
setMethod(HttpRequest::Method::Post);
}
CreateOrganizationalUnitRequest::~CreateOrganizationalUnitRequest() {}
std::string CreateOrganizationalUnitRequest::getOrganizationalUnitExternalId() const {
return organizationalUnitExternalId_;
}
void CreateOrganizationalUnitRequest::setOrganizationalUnitExternalId(const std::string &organizationalUnitExternalId) {
organizationalUnitExternalId_ = organizationalUnitExternalId;
setParameter(std::string("OrganizationalUnitExternalId"), organizationalUnitExternalId);
}
std::string CreateOrganizationalUnitRequest::getDescription() const {
return description_;
}
void CreateOrganizationalUnitRequest::setDescription(const std::string &description) {
description_ = description;
setParameter(std::string("Description"), description);
}
std::string CreateOrganizationalUnitRequest::getParentId() const {
return parentId_;
}
void CreateOrganizationalUnitRequest::setParentId(const std::string &parentId) {
parentId_ = parentId;
setParameter(std::string("ParentId"), parentId);
}
std::string CreateOrganizationalUnitRequest::getOrganizationalUnitName() const {
return organizationalUnitName_;
}
void CreateOrganizationalUnitRequest::setOrganizationalUnitName(const std::string &organizationalUnitName) {
organizationalUnitName_ = organizationalUnitName;
setParameter(std::string("OrganizationalUnitName"), organizationalUnitName);
}
std::string CreateOrganizationalUnitRequest::getInstanceId() const {
return instanceId_;
}
void CreateOrganizationalUnitRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -0,0 +1,51 @@
/*
* 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/eiam/model/CreateOrganizationalUnitResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
CreateOrganizationalUnitResult::CreateOrganizationalUnitResult() :
ServiceResult()
{}
CreateOrganizationalUnitResult::CreateOrganizationalUnitResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateOrganizationalUnitResult::~CreateOrganizationalUnitResult()
{}
void CreateOrganizationalUnitResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["OrganizationalUnitId"].isNull())
organizationalUnitId_ = value["OrganizationalUnitId"].asString();
}
std::string CreateOrganizationalUnitResult::getOrganizationalUnitId()const
{
return organizationalUnitId_;
}

View File

@@ -0,0 +1,172 @@
/*
* 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/eiam/model/CreateUserRequest.h>
using AlibabaCloud::Eiam::Model::CreateUserRequest;
CreateUserRequest::CreateUserRequest()
: RpcServiceRequest("eiam", "2021-12-01", "CreateUser") {
setMethod(HttpRequest::Method::Post);
}
CreateUserRequest::~CreateUserRequest() {}
std::string CreateUserRequest::getPhoneNumber() const {
return phoneNumber_;
}
void CreateUserRequest::setPhoneNumber(const std::string &phoneNumber) {
phoneNumber_ = phoneNumber;
setParameter(std::string("PhoneNumber"), phoneNumber);
}
std::string CreateUserRequest::getDescription() const {
return description_;
}
void CreateUserRequest::setDescription(const std::string &description) {
description_ = description;
setParameter(std::string("Description"), description);
}
std::string CreateUserRequest::getPhoneRegion() const {
return phoneRegion_;
}
void CreateUserRequest::setPhoneRegion(const std::string &phoneRegion) {
phoneRegion_ = phoneRegion;
setParameter(std::string("PhoneRegion"), phoneRegion);
}
std::vector<CreateUserRequest::CustomFields> CreateUserRequest::getCustomFields() const {
return customFields_;
}
void CreateUserRequest::setCustomFields(const std::vector<CreateUserRequest::CustomFields> &customFields) {
customFields_ = customFields;
for(int dep1 = 0; dep1 != customFields.size(); dep1++) {
setParameter(std::string("CustomFields") + "." + std::to_string(dep1 + 1) + ".FieldName", customFields[dep1].fieldName);
setParameter(std::string("CustomFields") + "." + std::to_string(dep1 + 1) + ".FieldValue", customFields[dep1].fieldValue);
}
}
std::string CreateUserRequest::getPassword() const {
return password_;
}
void CreateUserRequest::setPassword(const std::string &password) {
password_ = password;
setParameter(std::string("Password"), password);
}
CreateUserRequest::PasswordInitializationConfig CreateUserRequest::getPasswordInitializationConfig() const {
return passwordInitializationConfig_;
}
void CreateUserRequest::setPasswordInitializationConfig(const CreateUserRequest::PasswordInitializationConfig &passwordInitializationConfig) {
passwordInitializationConfig_ = passwordInitializationConfig;
for(int dep1 = 0; dep1 != passwordInitializationConfig.userNotificationChannels.size(); dep1++) {
setParameter(std::string("PasswordInitializationConfig") + ".UserNotificationChannels." + std::to_string(dep1 + 1), passwordInitializationConfig.userNotificationChannels[dep1]);
}
setParameter(std::string("PasswordInitializationConfig") + ".PasswordInitializationPolicyPriority", passwordInitializationConfig.passwordInitializationPolicyPriority);
setParameter(std::string("PasswordInitializationConfig") + ".PasswordForcedUpdateStatus", passwordInitializationConfig.passwordForcedUpdateStatus);
setParameter(std::string("PasswordInitializationConfig") + ".PasswordInitializationType", passwordInitializationConfig.passwordInitializationType);
}
bool CreateUserRequest::getPhoneNumberVerified() const {
return phoneNumberVerified_;
}
void CreateUserRequest::setPhoneNumberVerified(bool phoneNumberVerified) {
phoneNumberVerified_ = phoneNumberVerified;
setParameter(std::string("PhoneNumberVerified"), phoneNumberVerified ? "true" : "false");
}
std::string CreateUserRequest::getEmail() const {
return email_;
}
void CreateUserRequest::setEmail(const std::string &email) {
email_ = email;
setParameter(std::string("Email"), email);
}
std::string CreateUserRequest::getPrimaryOrganizationalUnitId() const {
return primaryOrganizationalUnitId_;
}
void CreateUserRequest::setPrimaryOrganizationalUnitId(const std::string &primaryOrganizationalUnitId) {
primaryOrganizationalUnitId_ = primaryOrganizationalUnitId;
setParameter(std::string("PrimaryOrganizationalUnitId"), primaryOrganizationalUnitId);
}
std::vector<CreateUserRequest::std::string> CreateUserRequest::getOrganizationalUnitIds() const {
return organizationalUnitIds_;
}
void CreateUserRequest::setOrganizationalUnitIds(const std::vector<CreateUserRequest::std::string> &organizationalUnitIds) {
organizationalUnitIds_ = organizationalUnitIds;
for(int dep1 = 0; dep1 != organizationalUnitIds.size(); dep1++) {
setParameter(std::string("OrganizationalUnitIds") + "." + std::to_string(dep1 + 1), organizationalUnitIds[dep1]);
}
}
std::string CreateUserRequest::getUserExternalId() const {
return userExternalId_;
}
void CreateUserRequest::setUserExternalId(const std::string &userExternalId) {
userExternalId_ = userExternalId;
setParameter(std::string("UserExternalId"), userExternalId);
}
std::string CreateUserRequest::getInstanceId() const {
return instanceId_;
}
void CreateUserRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::string CreateUserRequest::getDisplayName() const {
return displayName_;
}
void CreateUserRequest::setDisplayName(const std::string &displayName) {
displayName_ = displayName;
setParameter(std::string("DisplayName"), displayName);
}
std::string CreateUserRequest::getUsername() const {
return username_;
}
void CreateUserRequest::setUsername(const std::string &username) {
username_ = username;
setParameter(std::string("Username"), username);
}
bool CreateUserRequest::getEmailVerified() const {
return emailVerified_;
}
void CreateUserRequest::setEmailVerified(bool emailVerified) {
emailVerified_ = emailVerified;
setParameter(std::string("EmailVerified"), emailVerified ? "true" : "false");
}

View File

@@ -0,0 +1,51 @@
/*
* 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/eiam/model/CreateUserResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
CreateUserResult::CreateUserResult() :
ServiceResult()
{}
CreateUserResult::CreateUserResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateUserResult::~CreateUserResult()
{}
void CreateUserResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["UserId"].isNull())
userId_ = value["UserId"].asString();
}
std::string CreateUserResult::getUserId()const
{
return userId_;
}

View File

@@ -0,0 +1,54 @@
/*
* 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/eiam/model/DeleteApplicationClientSecretRequest.h>
using AlibabaCloud::Eiam::Model::DeleteApplicationClientSecretRequest;
DeleteApplicationClientSecretRequest::DeleteApplicationClientSecretRequest()
: RpcServiceRequest("eiam", "2021-12-01", "DeleteApplicationClientSecret") {
setMethod(HttpRequest::Method::Post);
}
DeleteApplicationClientSecretRequest::~DeleteApplicationClientSecretRequest() {}
std::string DeleteApplicationClientSecretRequest::getApplicationId() const {
return applicationId_;
}
void DeleteApplicationClientSecretRequest::setApplicationId(const std::string &applicationId) {
applicationId_ = applicationId;
setParameter(std::string("ApplicationId"), applicationId);
}
std::string DeleteApplicationClientSecretRequest::getSecretId() const {
return secretId_;
}
void DeleteApplicationClientSecretRequest::setSecretId(const std::string &secretId) {
secretId_ = secretId;
setParameter(std::string("SecretId"), secretId);
}
std::string DeleteApplicationClientSecretRequest::getInstanceId() const {
return instanceId_;
}
void DeleteApplicationClientSecretRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/DeleteApplicationClientSecretResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
DeleteApplicationClientSecretResult::DeleteApplicationClientSecretResult() :
ServiceResult()
{}
DeleteApplicationClientSecretResult::DeleteApplicationClientSecretResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteApplicationClientSecretResult::~DeleteApplicationClientSecretResult()
{}
void DeleteApplicationClientSecretResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/DeleteApplicationRequest.h>
using AlibabaCloud::Eiam::Model::DeleteApplicationRequest;
DeleteApplicationRequest::DeleteApplicationRequest()
: RpcServiceRequest("eiam", "2021-12-01", "DeleteApplication") {
setMethod(HttpRequest::Method::Post);
}
DeleteApplicationRequest::~DeleteApplicationRequest() {}
std::string DeleteApplicationRequest::getInstanceId() const {
return instanceId_;
}
void DeleteApplicationRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::string DeleteApplicationRequest::getApplicationId() const {
return applicationId_;
}
void DeleteApplicationRequest::setApplicationId(const std::string &applicationId) {
applicationId_ = applicationId;
setParameter(std::string("ApplicationId"), applicationId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/DeleteApplicationResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
DeleteApplicationResult::DeleteApplicationResult() :
ServiceResult()
{}
DeleteApplicationResult::DeleteApplicationResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteApplicationResult::~DeleteApplicationResult()
{}
void DeleteApplicationResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/DeleteConditionalAccessPolicyRequest.h>
using AlibabaCloud::Eiam::Model::DeleteConditionalAccessPolicyRequest;
DeleteConditionalAccessPolicyRequest::DeleteConditionalAccessPolicyRequest()
: RpcServiceRequest("eiam", "2021-12-01", "DeleteConditionalAccessPolicy") {
setMethod(HttpRequest::Method::Post);
}
DeleteConditionalAccessPolicyRequest::~DeleteConditionalAccessPolicyRequest() {}
std::string DeleteConditionalAccessPolicyRequest::getConditionalAccessPolicyId() const {
return conditionalAccessPolicyId_;
}
void DeleteConditionalAccessPolicyRequest::setConditionalAccessPolicyId(const std::string &conditionalAccessPolicyId) {
conditionalAccessPolicyId_ = conditionalAccessPolicyId;
setParameter(std::string("ConditionalAccessPolicyId"), conditionalAccessPolicyId);
}
std::string DeleteConditionalAccessPolicyRequest::getInstanceId() const {
return instanceId_;
}
void DeleteConditionalAccessPolicyRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/DeleteConditionalAccessPolicyResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
DeleteConditionalAccessPolicyResult::DeleteConditionalAccessPolicyResult() :
ServiceResult()
{}
DeleteConditionalAccessPolicyResult::DeleteConditionalAccessPolicyResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteConditionalAccessPolicyResult::~DeleteConditionalAccessPolicyResult()
{}
void DeleteConditionalAccessPolicyResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,54 @@
/*
* 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/eiam/model/DeleteDomainProxyTokenRequest.h>
using AlibabaCloud::Eiam::Model::DeleteDomainProxyTokenRequest;
DeleteDomainProxyTokenRequest::DeleteDomainProxyTokenRequest()
: RpcServiceRequest("eiam", "2021-12-01", "DeleteDomainProxyToken") {
setMethod(HttpRequest::Method::Post);
}
DeleteDomainProxyTokenRequest::~DeleteDomainProxyTokenRequest() {}
std::string DeleteDomainProxyTokenRequest::getDomainProxyTokenId() const {
return domainProxyTokenId_;
}
void DeleteDomainProxyTokenRequest::setDomainProxyTokenId(const std::string &domainProxyTokenId) {
domainProxyTokenId_ = domainProxyTokenId;
setParameter(std::string("DomainProxyTokenId"), domainProxyTokenId);
}
std::string DeleteDomainProxyTokenRequest::getDomainId() const {
return domainId_;
}
void DeleteDomainProxyTokenRequest::setDomainId(const std::string &domainId) {
domainId_ = domainId;
setParameter(std::string("DomainId"), domainId);
}
std::string DeleteDomainProxyTokenRequest::getInstanceId() const {
return instanceId_;
}
void DeleteDomainProxyTokenRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/DeleteDomainProxyTokenResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
DeleteDomainProxyTokenResult::DeleteDomainProxyTokenResult() :
ServiceResult()
{}
DeleteDomainProxyTokenResult::DeleteDomainProxyTokenResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteDomainProxyTokenResult::~DeleteDomainProxyTokenResult()
{}
void DeleteDomainProxyTokenResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/DeleteDomainRequest.h>
using AlibabaCloud::Eiam::Model::DeleteDomainRequest;
DeleteDomainRequest::DeleteDomainRequest()
: RpcServiceRequest("eiam", "2021-12-01", "DeleteDomain") {
setMethod(HttpRequest::Method::Post);
}
DeleteDomainRequest::~DeleteDomainRequest() {}
std::string DeleteDomainRequest::getDomainId() const {
return domainId_;
}
void DeleteDomainRequest::setDomainId(const std::string &domainId) {
domainId_ = domainId;
setParameter(std::string("DomainId"), domainId);
}
std::string DeleteDomainRequest::getInstanceId() const {
return instanceId_;
}
void DeleteDomainRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/DeleteDomainResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
DeleteDomainResult::DeleteDomainResult() :
ServiceResult()
{}
DeleteDomainResult::DeleteDomainResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteDomainResult::~DeleteDomainResult()
{}
void DeleteDomainResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/DeleteGroupRequest.h>
using AlibabaCloud::Eiam::Model::DeleteGroupRequest;
DeleteGroupRequest::DeleteGroupRequest()
: RpcServiceRequest("eiam", "2021-12-01", "DeleteGroup") {
setMethod(HttpRequest::Method::Post);
}
DeleteGroupRequest::~DeleteGroupRequest() {}
std::string DeleteGroupRequest::getGroupId() const {
return groupId_;
}
void DeleteGroupRequest::setGroupId(const std::string &groupId) {
groupId_ = groupId;
setParameter(std::string("GroupId"), groupId);
}
std::string DeleteGroupRequest::getInstanceId() const {
return instanceId_;
}
void DeleteGroupRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/DeleteGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
DeleteGroupResult::DeleteGroupResult() :
ServiceResult()
{}
DeleteGroupResult::DeleteGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteGroupResult::~DeleteGroupResult()
{}
void DeleteGroupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/DeleteIdentityProviderRequest.h>
using AlibabaCloud::Eiam::Model::DeleteIdentityProviderRequest;
DeleteIdentityProviderRequest::DeleteIdentityProviderRequest()
: RpcServiceRequest("eiam", "2021-12-01", "DeleteIdentityProvider") {
setMethod(HttpRequest::Method::Post);
}
DeleteIdentityProviderRequest::~DeleteIdentityProviderRequest() {}
std::string DeleteIdentityProviderRequest::getInstanceId() const {
return instanceId_;
}
void DeleteIdentityProviderRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::string DeleteIdentityProviderRequest::getIdentityProviderId() const {
return identityProviderId_;
}
void DeleteIdentityProviderRequest::setIdentityProviderId(const std::string &identityProviderId) {
identityProviderId_ = identityProviderId;
setParameter(std::string("IdentityProviderId"), identityProviderId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/DeleteIdentityProviderResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
DeleteIdentityProviderResult::DeleteIdentityProviderResult() :
ServiceResult()
{}
DeleteIdentityProviderResult::DeleteIdentityProviderResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteIdentityProviderResult::~DeleteIdentityProviderResult()
{}
void DeleteIdentityProviderResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,36 @@
/*
* 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/eiam/model/DeleteInstanceRequest.h>
using AlibabaCloud::Eiam::Model::DeleteInstanceRequest;
DeleteInstanceRequest::DeleteInstanceRequest()
: RpcServiceRequest("eiam", "2021-12-01", "DeleteInstance") {
setMethod(HttpRequest::Method::Post);
}
DeleteInstanceRequest::~DeleteInstanceRequest() {}
std::string DeleteInstanceRequest::getInstanceId() const {
return instanceId_;
}
void DeleteInstanceRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/DeleteInstanceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
DeleteInstanceResult::DeleteInstanceResult() :
ServiceResult()
{}
DeleteInstanceResult::DeleteInstanceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteInstanceResult::~DeleteInstanceResult()
{}
void DeleteInstanceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/DeleteNetworkAccessEndpointRequest.h>
using AlibabaCloud::Eiam::Model::DeleteNetworkAccessEndpointRequest;
DeleteNetworkAccessEndpointRequest::DeleteNetworkAccessEndpointRequest()
: RpcServiceRequest("eiam", "2021-12-01", "DeleteNetworkAccessEndpoint") {
setMethod(HttpRequest::Method::Post);
}
DeleteNetworkAccessEndpointRequest::~DeleteNetworkAccessEndpointRequest() {}
std::string DeleteNetworkAccessEndpointRequest::getNetworkAccessEndpointId() const {
return networkAccessEndpointId_;
}
void DeleteNetworkAccessEndpointRequest::setNetworkAccessEndpointId(const std::string &networkAccessEndpointId) {
networkAccessEndpointId_ = networkAccessEndpointId;
setParameter(std::string("NetworkAccessEndpointId"), networkAccessEndpointId);
}
std::string DeleteNetworkAccessEndpointRequest::getInstanceId() const {
return instanceId_;
}
void DeleteNetworkAccessEndpointRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/DeleteNetworkAccessEndpointResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
DeleteNetworkAccessEndpointResult::DeleteNetworkAccessEndpointResult() :
ServiceResult()
{}
DeleteNetworkAccessEndpointResult::DeleteNetworkAccessEndpointResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteNetworkAccessEndpointResult::~DeleteNetworkAccessEndpointResult()
{}
void DeleteNetworkAccessEndpointResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/DeleteOrganizationalUnitChildrenRequest.h>
using AlibabaCloud::Eiam::Model::DeleteOrganizationalUnitChildrenRequest;
DeleteOrganizationalUnitChildrenRequest::DeleteOrganizationalUnitChildrenRequest()
: RpcServiceRequest("eiam", "2021-12-01", "DeleteOrganizationalUnitChildren") {
setMethod(HttpRequest::Method::Post);
}
DeleteOrganizationalUnitChildrenRequest::~DeleteOrganizationalUnitChildrenRequest() {}
std::string DeleteOrganizationalUnitChildrenRequest::getInstanceId() const {
return instanceId_;
}
void DeleteOrganizationalUnitChildrenRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::string DeleteOrganizationalUnitChildrenRequest::getOrganizationalUnitId() const {
return organizationalUnitId_;
}
void DeleteOrganizationalUnitChildrenRequest::setOrganizationalUnitId(const std::string &organizationalUnitId) {
organizationalUnitId_ = organizationalUnitId;
setParameter(std::string("OrganizationalUnitId"), organizationalUnitId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/DeleteOrganizationalUnitChildrenResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
DeleteOrganizationalUnitChildrenResult::DeleteOrganizationalUnitChildrenResult() :
ServiceResult()
{}
DeleteOrganizationalUnitChildrenResult::DeleteOrganizationalUnitChildrenResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteOrganizationalUnitChildrenResult::~DeleteOrganizationalUnitChildrenResult()
{}
void DeleteOrganizationalUnitChildrenResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/DeleteOrganizationalUnitRequest.h>
using AlibabaCloud::Eiam::Model::DeleteOrganizationalUnitRequest;
DeleteOrganizationalUnitRequest::DeleteOrganizationalUnitRequest()
: RpcServiceRequest("eiam", "2021-12-01", "DeleteOrganizationalUnit") {
setMethod(HttpRequest::Method::Post);
}
DeleteOrganizationalUnitRequest::~DeleteOrganizationalUnitRequest() {}
std::string DeleteOrganizationalUnitRequest::getInstanceId() const {
return instanceId_;
}
void DeleteOrganizationalUnitRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::string DeleteOrganizationalUnitRequest::getOrganizationalUnitId() const {
return organizationalUnitId_;
}
void DeleteOrganizationalUnitRequest::setOrganizationalUnitId(const std::string &organizationalUnitId) {
organizationalUnitId_ = organizationalUnitId;
setParameter(std::string("OrganizationalUnitId"), organizationalUnitId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/DeleteOrganizationalUnitResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
DeleteOrganizationalUnitResult::DeleteOrganizationalUnitResult() :
ServiceResult()
{}
DeleteOrganizationalUnitResult::DeleteOrganizationalUnitResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteOrganizationalUnitResult::~DeleteOrganizationalUnitResult()
{}
void DeleteOrganizationalUnitResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/DeleteUserRequest.h>
using AlibabaCloud::Eiam::Model::DeleteUserRequest;
DeleteUserRequest::DeleteUserRequest()
: RpcServiceRequest("eiam", "2021-12-01", "DeleteUser") {
setMethod(HttpRequest::Method::Post);
}
DeleteUserRequest::~DeleteUserRequest() {}
std::string DeleteUserRequest::getUserId() const {
return userId_;
}
void DeleteUserRequest::setUserId(const std::string &userId) {
userId_ = userId;
setParameter(std::string("UserId"), userId);
}
std::string DeleteUserRequest::getInstanceId() const {
return instanceId_;
}
void DeleteUserRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/DeleteUserResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
DeleteUserResult::DeleteUserResult() :
ServiceResult()
{}
DeleteUserResult::DeleteUserResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteUserResult::~DeleteUserResult()
{}
void DeleteUserResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/DisableApplicationApiInvokeRequest.h>
using AlibabaCloud::Eiam::Model::DisableApplicationApiInvokeRequest;
DisableApplicationApiInvokeRequest::DisableApplicationApiInvokeRequest()
: RpcServiceRequest("eiam", "2021-12-01", "DisableApplicationApiInvoke") {
setMethod(HttpRequest::Method::Post);
}
DisableApplicationApiInvokeRequest::~DisableApplicationApiInvokeRequest() {}
std::string DisableApplicationApiInvokeRequest::getInstanceId() const {
return instanceId_;
}
void DisableApplicationApiInvokeRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::string DisableApplicationApiInvokeRequest::getApplicationId() const {
return applicationId_;
}
void DisableApplicationApiInvokeRequest::setApplicationId(const std::string &applicationId) {
applicationId_ = applicationId;
setParameter(std::string("ApplicationId"), applicationId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/DisableApplicationApiInvokeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
DisableApplicationApiInvokeResult::DisableApplicationApiInvokeResult() :
ServiceResult()
{}
DisableApplicationApiInvokeResult::DisableApplicationApiInvokeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DisableApplicationApiInvokeResult::~DisableApplicationApiInvokeResult()
{}
void DisableApplicationApiInvokeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,54 @@
/*
* 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/eiam/model/DisableApplicationClientSecretRequest.h>
using AlibabaCloud::Eiam::Model::DisableApplicationClientSecretRequest;
DisableApplicationClientSecretRequest::DisableApplicationClientSecretRequest()
: RpcServiceRequest("eiam", "2021-12-01", "DisableApplicationClientSecret") {
setMethod(HttpRequest::Method::Post);
}
DisableApplicationClientSecretRequest::~DisableApplicationClientSecretRequest() {}
std::string DisableApplicationClientSecretRequest::getApplicationId() const {
return applicationId_;
}
void DisableApplicationClientSecretRequest::setApplicationId(const std::string &applicationId) {
applicationId_ = applicationId;
setParameter(std::string("ApplicationId"), applicationId);
}
std::string DisableApplicationClientSecretRequest::getSecretId() const {
return secretId_;
}
void DisableApplicationClientSecretRequest::setSecretId(const std::string &secretId) {
secretId_ = secretId;
setParameter(std::string("SecretId"), secretId);
}
std::string DisableApplicationClientSecretRequest::getInstanceId() const {
return instanceId_;
}
void DisableApplicationClientSecretRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/DisableApplicationClientSecretResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
DisableApplicationClientSecretResult::DisableApplicationClientSecretResult() :
ServiceResult()
{}
DisableApplicationClientSecretResult::DisableApplicationClientSecretResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DisableApplicationClientSecretResult::~DisableApplicationClientSecretResult()
{}
void DisableApplicationClientSecretResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/DisableApplicationProvisioningRequest.h>
using AlibabaCloud::Eiam::Model::DisableApplicationProvisioningRequest;
DisableApplicationProvisioningRequest::DisableApplicationProvisioningRequest()
: RpcServiceRequest("eiam", "2021-12-01", "DisableApplicationProvisioning") {
setMethod(HttpRequest::Method::Post);
}
DisableApplicationProvisioningRequest::~DisableApplicationProvisioningRequest() {}
std::string DisableApplicationProvisioningRequest::getInstanceId() const {
return instanceId_;
}
void DisableApplicationProvisioningRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::string DisableApplicationProvisioningRequest::getApplicationId() const {
return applicationId_;
}
void DisableApplicationProvisioningRequest::setApplicationId(const std::string &applicationId) {
applicationId_ = applicationId;
setParameter(std::string("ApplicationId"), applicationId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/DisableApplicationProvisioningResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
DisableApplicationProvisioningResult::DisableApplicationProvisioningResult() :
ServiceResult()
{}
DisableApplicationProvisioningResult::DisableApplicationProvisioningResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DisableApplicationProvisioningResult::~DisableApplicationProvisioningResult()
{}
void DisableApplicationProvisioningResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/DisableApplicationRequest.h>
using AlibabaCloud::Eiam::Model::DisableApplicationRequest;
DisableApplicationRequest::DisableApplicationRequest()
: RpcServiceRequest("eiam", "2021-12-01", "DisableApplication") {
setMethod(HttpRequest::Method::Post);
}
DisableApplicationRequest::~DisableApplicationRequest() {}
std::string DisableApplicationRequest::getInstanceId() const {
return instanceId_;
}
void DisableApplicationRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::string DisableApplicationRequest::getApplicationId() const {
return applicationId_;
}
void DisableApplicationRequest::setApplicationId(const std::string &applicationId) {
applicationId_ = applicationId;
setParameter(std::string("ApplicationId"), applicationId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/DisableApplicationResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
DisableApplicationResult::DisableApplicationResult() :
ServiceResult()
{}
DisableApplicationResult::DisableApplicationResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DisableApplicationResult::~DisableApplicationResult()
{}
void DisableApplicationResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/DisableApplicationSsoRequest.h>
using AlibabaCloud::Eiam::Model::DisableApplicationSsoRequest;
DisableApplicationSsoRequest::DisableApplicationSsoRequest()
: RpcServiceRequest("eiam", "2021-12-01", "DisableApplicationSso") {
setMethod(HttpRequest::Method::Post);
}
DisableApplicationSsoRequest::~DisableApplicationSsoRequest() {}
std::string DisableApplicationSsoRequest::getInstanceId() const {
return instanceId_;
}
void DisableApplicationSsoRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::string DisableApplicationSsoRequest::getApplicationId() const {
return applicationId_;
}
void DisableApplicationSsoRequest::setApplicationId(const std::string &applicationId) {
applicationId_ = applicationId;
setParameter(std::string("ApplicationId"), applicationId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/DisableApplicationSsoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
DisableApplicationSsoResult::DisableApplicationSsoResult() :
ServiceResult()
{}
DisableApplicationSsoResult::DisableApplicationSsoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DisableApplicationSsoResult::~DisableApplicationSsoResult()
{}
void DisableApplicationSsoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/DisableConditionalAccessPolicyRequest.h>
using AlibabaCloud::Eiam::Model::DisableConditionalAccessPolicyRequest;
DisableConditionalAccessPolicyRequest::DisableConditionalAccessPolicyRequest()
: RpcServiceRequest("eiam", "2021-12-01", "DisableConditionalAccessPolicy") {
setMethod(HttpRequest::Method::Post);
}
DisableConditionalAccessPolicyRequest::~DisableConditionalAccessPolicyRequest() {}
std::string DisableConditionalAccessPolicyRequest::getConditionalAccessPolicyId() const {
return conditionalAccessPolicyId_;
}
void DisableConditionalAccessPolicyRequest::setConditionalAccessPolicyId(const std::string &conditionalAccessPolicyId) {
conditionalAccessPolicyId_ = conditionalAccessPolicyId;
setParameter(std::string("ConditionalAccessPolicyId"), conditionalAccessPolicyId);
}
std::string DisableConditionalAccessPolicyRequest::getInstanceId() const {
return instanceId_;
}
void DisableConditionalAccessPolicyRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/DisableConditionalAccessPolicyResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
DisableConditionalAccessPolicyResult::DisableConditionalAccessPolicyResult() :
ServiceResult()
{}
DisableConditionalAccessPolicyResult::DisableConditionalAccessPolicyResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DisableConditionalAccessPolicyResult::~DisableConditionalAccessPolicyResult()
{}
void DisableConditionalAccessPolicyResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,54 @@
/*
* 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/eiam/model/DisableDomainProxyTokenRequest.h>
using AlibabaCloud::Eiam::Model::DisableDomainProxyTokenRequest;
DisableDomainProxyTokenRequest::DisableDomainProxyTokenRequest()
: RpcServiceRequest("eiam", "2021-12-01", "DisableDomainProxyToken") {
setMethod(HttpRequest::Method::Post);
}
DisableDomainProxyTokenRequest::~DisableDomainProxyTokenRequest() {}
std::string DisableDomainProxyTokenRequest::getDomainProxyTokenId() const {
return domainProxyTokenId_;
}
void DisableDomainProxyTokenRequest::setDomainProxyTokenId(const std::string &domainProxyTokenId) {
domainProxyTokenId_ = domainProxyTokenId;
setParameter(std::string("DomainProxyTokenId"), domainProxyTokenId);
}
std::string DisableDomainProxyTokenRequest::getDomainId() const {
return domainId_;
}
void DisableDomainProxyTokenRequest::setDomainId(const std::string &domainId) {
domainId_ = domainId;
setParameter(std::string("DomainId"), domainId);
}
std::string DisableDomainProxyTokenRequest::getInstanceId() const {
return instanceId_;
}
void DisableDomainProxyTokenRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/DisableDomainProxyTokenResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
DisableDomainProxyTokenResult::DisableDomainProxyTokenResult() :
ServiceResult()
{}
DisableDomainProxyTokenResult::DisableDomainProxyTokenResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DisableDomainProxyTokenResult::~DisableDomainProxyTokenResult()
{}
void DisableDomainProxyTokenResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/DisableIdentityProviderUdPullRequest.h>
using AlibabaCloud::Eiam::Model::DisableIdentityProviderUdPullRequest;
DisableIdentityProviderUdPullRequest::DisableIdentityProviderUdPullRequest()
: RpcServiceRequest("eiam", "2021-12-01", "DisableIdentityProviderUdPull") {
setMethod(HttpRequest::Method::Post);
}
DisableIdentityProviderUdPullRequest::~DisableIdentityProviderUdPullRequest() {}
std::string DisableIdentityProviderUdPullRequest::getInstanceId() const {
return instanceId_;
}
void DisableIdentityProviderUdPullRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::string DisableIdentityProviderUdPullRequest::getIdentityProviderId() const {
return identityProviderId_;
}
void DisableIdentityProviderUdPullRequest::setIdentityProviderId(const std::string &identityProviderId) {
identityProviderId_ = identityProviderId;
setParameter(std::string("IdentityProviderId"), identityProviderId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/DisableIdentityProviderUdPullResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
DisableIdentityProviderUdPullResult::DisableIdentityProviderUdPullResult() :
ServiceResult()
{}
DisableIdentityProviderUdPullResult::DisableIdentityProviderUdPullResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DisableIdentityProviderUdPullResult::~DisableIdentityProviderUdPullResult()
{}
void DisableIdentityProviderUdPullResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,36 @@
/*
* 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/eiam/model/DisableInitDomainAutoRedirectRequest.h>
using AlibabaCloud::Eiam::Model::DisableInitDomainAutoRedirectRequest;
DisableInitDomainAutoRedirectRequest::DisableInitDomainAutoRedirectRequest()
: RpcServiceRequest("eiam", "2021-12-01", "DisableInitDomainAutoRedirect") {
setMethod(HttpRequest::Method::Post);
}
DisableInitDomainAutoRedirectRequest::~DisableInitDomainAutoRedirectRequest() {}
std::string DisableInitDomainAutoRedirectRequest::getInstanceId() const {
return instanceId_;
}
void DisableInitDomainAutoRedirectRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/DisableInitDomainAutoRedirectResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
DisableInitDomainAutoRedirectResult::DisableInitDomainAutoRedirectResult() :
ServiceResult()
{}
DisableInitDomainAutoRedirectResult::DisableInitDomainAutoRedirectResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DisableInitDomainAutoRedirectResult::~DisableInitDomainAutoRedirectResult()
{}
void DisableInitDomainAutoRedirectResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/DisableUserRequest.h>
using AlibabaCloud::Eiam::Model::DisableUserRequest;
DisableUserRequest::DisableUserRequest()
: RpcServiceRequest("eiam", "2021-12-01", "DisableUser") {
setMethod(HttpRequest::Method::Post);
}
DisableUserRequest::~DisableUserRequest() {}
std::string DisableUserRequest::getUserId() const {
return userId_;
}
void DisableUserRequest::setUserId(const std::string &userId) {
userId_ = userId;
setParameter(std::string("UserId"), userId);
}
std::string DisableUserRequest::getInstanceId() const {
return instanceId_;
}
void DisableUserRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/DisableUserResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
DisableUserResult::DisableUserResult() :
ServiceResult()
{}
DisableUserResult::DisableUserResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DisableUserResult::~DisableUserResult()
{}
void DisableUserResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/EnableApplicationApiInvokeRequest.h>
using AlibabaCloud::Eiam::Model::EnableApplicationApiInvokeRequest;
EnableApplicationApiInvokeRequest::EnableApplicationApiInvokeRequest()
: RpcServiceRequest("eiam", "2021-12-01", "EnableApplicationApiInvoke") {
setMethod(HttpRequest::Method::Post);
}
EnableApplicationApiInvokeRequest::~EnableApplicationApiInvokeRequest() {}
std::string EnableApplicationApiInvokeRequest::getInstanceId() const {
return instanceId_;
}
void EnableApplicationApiInvokeRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::string EnableApplicationApiInvokeRequest::getApplicationId() const {
return applicationId_;
}
void EnableApplicationApiInvokeRequest::setApplicationId(const std::string &applicationId) {
applicationId_ = applicationId;
setParameter(std::string("ApplicationId"), applicationId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/EnableApplicationApiInvokeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
EnableApplicationApiInvokeResult::EnableApplicationApiInvokeResult() :
ServiceResult()
{}
EnableApplicationApiInvokeResult::EnableApplicationApiInvokeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
EnableApplicationApiInvokeResult::~EnableApplicationApiInvokeResult()
{}
void EnableApplicationApiInvokeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,54 @@
/*
* 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/eiam/model/EnableApplicationClientSecretRequest.h>
using AlibabaCloud::Eiam::Model::EnableApplicationClientSecretRequest;
EnableApplicationClientSecretRequest::EnableApplicationClientSecretRequest()
: RpcServiceRequest("eiam", "2021-12-01", "EnableApplicationClientSecret") {
setMethod(HttpRequest::Method::Post);
}
EnableApplicationClientSecretRequest::~EnableApplicationClientSecretRequest() {}
std::string EnableApplicationClientSecretRequest::getApplicationId() const {
return applicationId_;
}
void EnableApplicationClientSecretRequest::setApplicationId(const std::string &applicationId) {
applicationId_ = applicationId;
setParameter(std::string("ApplicationId"), applicationId);
}
std::string EnableApplicationClientSecretRequest::getSecretId() const {
return secretId_;
}
void EnableApplicationClientSecretRequest::setSecretId(const std::string &secretId) {
secretId_ = secretId;
setParameter(std::string("SecretId"), secretId);
}
std::string EnableApplicationClientSecretRequest::getInstanceId() const {
return instanceId_;
}
void EnableApplicationClientSecretRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/EnableApplicationClientSecretResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
EnableApplicationClientSecretResult::EnableApplicationClientSecretResult() :
ServiceResult()
{}
EnableApplicationClientSecretResult::EnableApplicationClientSecretResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
EnableApplicationClientSecretResult::~EnableApplicationClientSecretResult()
{}
void EnableApplicationClientSecretResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/EnableApplicationProvisioningRequest.h>
using AlibabaCloud::Eiam::Model::EnableApplicationProvisioningRequest;
EnableApplicationProvisioningRequest::EnableApplicationProvisioningRequest()
: RpcServiceRequest("eiam", "2021-12-01", "EnableApplicationProvisioning") {
setMethod(HttpRequest::Method::Post);
}
EnableApplicationProvisioningRequest::~EnableApplicationProvisioningRequest() {}
std::string EnableApplicationProvisioningRequest::getInstanceId() const {
return instanceId_;
}
void EnableApplicationProvisioningRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::string EnableApplicationProvisioningRequest::getApplicationId() const {
return applicationId_;
}
void EnableApplicationProvisioningRequest::setApplicationId(const std::string &applicationId) {
applicationId_ = applicationId;
setParameter(std::string("ApplicationId"), applicationId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/EnableApplicationProvisioningResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
EnableApplicationProvisioningResult::EnableApplicationProvisioningResult() :
ServiceResult()
{}
EnableApplicationProvisioningResult::EnableApplicationProvisioningResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
EnableApplicationProvisioningResult::~EnableApplicationProvisioningResult()
{}
void EnableApplicationProvisioningResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/EnableApplicationRequest.h>
using AlibabaCloud::Eiam::Model::EnableApplicationRequest;
EnableApplicationRequest::EnableApplicationRequest()
: RpcServiceRequest("eiam", "2021-12-01", "EnableApplication") {
setMethod(HttpRequest::Method::Post);
}
EnableApplicationRequest::~EnableApplicationRequest() {}
std::string EnableApplicationRequest::getInstanceId() const {
return instanceId_;
}
void EnableApplicationRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::string EnableApplicationRequest::getApplicationId() const {
return applicationId_;
}
void EnableApplicationRequest::setApplicationId(const std::string &applicationId) {
applicationId_ = applicationId;
setParameter(std::string("ApplicationId"), applicationId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/EnableApplicationResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
EnableApplicationResult::EnableApplicationResult() :
ServiceResult()
{}
EnableApplicationResult::EnableApplicationResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
EnableApplicationResult::~EnableApplicationResult()
{}
void EnableApplicationResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/EnableApplicationSsoRequest.h>
using AlibabaCloud::Eiam::Model::EnableApplicationSsoRequest;
EnableApplicationSsoRequest::EnableApplicationSsoRequest()
: RpcServiceRequest("eiam", "2021-12-01", "EnableApplicationSso") {
setMethod(HttpRequest::Method::Post);
}
EnableApplicationSsoRequest::~EnableApplicationSsoRequest() {}
std::string EnableApplicationSsoRequest::getInstanceId() const {
return instanceId_;
}
void EnableApplicationSsoRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::string EnableApplicationSsoRequest::getApplicationId() const {
return applicationId_;
}
void EnableApplicationSsoRequest::setApplicationId(const std::string &applicationId) {
applicationId_ = applicationId;
setParameter(std::string("ApplicationId"), applicationId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/EnableApplicationSsoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
EnableApplicationSsoResult::EnableApplicationSsoResult() :
ServiceResult()
{}
EnableApplicationSsoResult::EnableApplicationSsoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
EnableApplicationSsoResult::~EnableApplicationSsoResult()
{}
void EnableApplicationSsoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/EnableConditionalAccessPolicyRequest.h>
using AlibabaCloud::Eiam::Model::EnableConditionalAccessPolicyRequest;
EnableConditionalAccessPolicyRequest::EnableConditionalAccessPolicyRequest()
: RpcServiceRequest("eiam", "2021-12-01", "EnableConditionalAccessPolicy") {
setMethod(HttpRequest::Method::Post);
}
EnableConditionalAccessPolicyRequest::~EnableConditionalAccessPolicyRequest() {}
std::string EnableConditionalAccessPolicyRequest::getConditionalAccessPolicyId() const {
return conditionalAccessPolicyId_;
}
void EnableConditionalAccessPolicyRequest::setConditionalAccessPolicyId(const std::string &conditionalAccessPolicyId) {
conditionalAccessPolicyId_ = conditionalAccessPolicyId;
setParameter(std::string("ConditionalAccessPolicyId"), conditionalAccessPolicyId);
}
std::string EnableConditionalAccessPolicyRequest::getInstanceId() const {
return instanceId_;
}
void EnableConditionalAccessPolicyRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/EnableConditionalAccessPolicyResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
EnableConditionalAccessPolicyResult::EnableConditionalAccessPolicyResult() :
ServiceResult()
{}
EnableConditionalAccessPolicyResult::EnableConditionalAccessPolicyResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
EnableConditionalAccessPolicyResult::~EnableConditionalAccessPolicyResult()
{}
void EnableConditionalAccessPolicyResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,54 @@
/*
* 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/eiam/model/EnableDomainProxyTokenRequest.h>
using AlibabaCloud::Eiam::Model::EnableDomainProxyTokenRequest;
EnableDomainProxyTokenRequest::EnableDomainProxyTokenRequest()
: RpcServiceRequest("eiam", "2021-12-01", "EnableDomainProxyToken") {
setMethod(HttpRequest::Method::Post);
}
EnableDomainProxyTokenRequest::~EnableDomainProxyTokenRequest() {}
std::string EnableDomainProxyTokenRequest::getDomainProxyTokenId() const {
return domainProxyTokenId_;
}
void EnableDomainProxyTokenRequest::setDomainProxyTokenId(const std::string &domainProxyTokenId) {
domainProxyTokenId_ = domainProxyTokenId;
setParameter(std::string("DomainProxyTokenId"), domainProxyTokenId);
}
std::string EnableDomainProxyTokenRequest::getDomainId() const {
return domainId_;
}
void EnableDomainProxyTokenRequest::setDomainId(const std::string &domainId) {
domainId_ = domainId;
setParameter(std::string("DomainId"), domainId);
}
std::string EnableDomainProxyTokenRequest::getInstanceId() const {
return instanceId_;
}
void EnableDomainProxyTokenRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/EnableDomainProxyTokenResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
EnableDomainProxyTokenResult::EnableDomainProxyTokenResult() :
ServiceResult()
{}
EnableDomainProxyTokenResult::EnableDomainProxyTokenResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
EnableDomainProxyTokenResult::~EnableDomainProxyTokenResult()
{}
void EnableDomainProxyTokenResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/EnableIdentityProviderUdPullRequest.h>
using AlibabaCloud::Eiam::Model::EnableIdentityProviderUdPullRequest;
EnableIdentityProviderUdPullRequest::EnableIdentityProviderUdPullRequest()
: RpcServiceRequest("eiam", "2021-12-01", "EnableIdentityProviderUdPull") {
setMethod(HttpRequest::Method::Post);
}
EnableIdentityProviderUdPullRequest::~EnableIdentityProviderUdPullRequest() {}
std::string EnableIdentityProviderUdPullRequest::getInstanceId() const {
return instanceId_;
}
void EnableIdentityProviderUdPullRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::string EnableIdentityProviderUdPullRequest::getIdentityProviderId() const {
return identityProviderId_;
}
void EnableIdentityProviderUdPullRequest::setIdentityProviderId(const std::string &identityProviderId) {
identityProviderId_ = identityProviderId;
setParameter(std::string("IdentityProviderId"), identityProviderId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/EnableIdentityProviderUdPullResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
EnableIdentityProviderUdPullResult::EnableIdentityProviderUdPullResult() :
ServiceResult()
{}
EnableIdentityProviderUdPullResult::EnableIdentityProviderUdPullResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
EnableIdentityProviderUdPullResult::~EnableIdentityProviderUdPullResult()
{}
void EnableIdentityProviderUdPullResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,36 @@
/*
* 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/eiam/model/EnableInitDomainAutoRedirectRequest.h>
using AlibabaCloud::Eiam::Model::EnableInitDomainAutoRedirectRequest;
EnableInitDomainAutoRedirectRequest::EnableInitDomainAutoRedirectRequest()
: RpcServiceRequest("eiam", "2021-12-01", "EnableInitDomainAutoRedirect") {
setMethod(HttpRequest::Method::Post);
}
EnableInitDomainAutoRedirectRequest::~EnableInitDomainAutoRedirectRequest() {}
std::string EnableInitDomainAutoRedirectRequest::getInstanceId() const {
return instanceId_;
}
void EnableInitDomainAutoRedirectRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/EnableInitDomainAutoRedirectResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
EnableInitDomainAutoRedirectResult::EnableInitDomainAutoRedirectResult() :
ServiceResult()
{}
EnableInitDomainAutoRedirectResult::EnableInitDomainAutoRedirectResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
EnableInitDomainAutoRedirectResult::~EnableInitDomainAutoRedirectResult()
{}
void EnableInitDomainAutoRedirectResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/EnableUserRequest.h>
using AlibabaCloud::Eiam::Model::EnableUserRequest;
EnableUserRequest::EnableUserRequest()
: RpcServiceRequest("eiam", "2021-12-01", "EnableUser") {
setMethod(HttpRequest::Method::Post);
}
EnableUserRequest::~EnableUserRequest() {}
std::string EnableUserRequest::getUserId() const {
return userId_;
}
void EnableUserRequest::setUserId(const std::string &userId) {
userId_ = userId;
setParameter(std::string("UserId"), userId);
}
std::string EnableUserRequest::getInstanceId() const {
return instanceId_;
}
void EnableUserRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/eiam/model/EnableUserResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
EnableUserResult::EnableUserResult() :
ServiceResult()
{}
EnableUserResult::EnableUserResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
EnableUserResult::~EnableUserResult()
{}
void EnableUserResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/GetApplicationGrantScopeRequest.h>
using AlibabaCloud::Eiam::Model::GetApplicationGrantScopeRequest;
GetApplicationGrantScopeRequest::GetApplicationGrantScopeRequest()
: RpcServiceRequest("eiam", "2021-12-01", "GetApplicationGrantScope") {
setMethod(HttpRequest::Method::Post);
}
GetApplicationGrantScopeRequest::~GetApplicationGrantScopeRequest() {}
std::string GetApplicationGrantScopeRequest::getInstanceId() const {
return instanceId_;
}
void GetApplicationGrantScopeRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::string GetApplicationGrantScopeRequest::getApplicationId() const {
return applicationId_;
}
void GetApplicationGrantScopeRequest::setApplicationId(const std::string &applicationId) {
applicationId_ = applicationId;
setParameter(std::string("ApplicationId"), applicationId);
}

View File

@@ -0,0 +1,53 @@
/*
* 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/eiam/model/GetApplicationGrantScopeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eiam;
using namespace AlibabaCloud::Eiam::Model;
GetApplicationGrantScopeResult::GetApplicationGrantScopeResult() :
ServiceResult()
{}
GetApplicationGrantScopeResult::GetApplicationGrantScopeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetApplicationGrantScopeResult::~GetApplicationGrantScopeResult()
{}
void GetApplicationGrantScopeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto applicationGrantScopeNode = value["ApplicationGrantScope"];
auto allGrantScopes = applicationGrantScopeNode["GrantScopes"]["GrantScope"];
for (auto value : allGrantScopes)
applicationGrantScope_.grantScopes.push_back(value.asString());
}
GetApplicationGrantScopeResult::ApplicationGrantScope GetApplicationGrantScopeResult::getApplicationGrantScope()const
{
return applicationGrantScope_;
}

View File

@@ -0,0 +1,45 @@
/*
* 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/eiam/model/GetApplicationProvisioningConfigRequest.h>
using AlibabaCloud::Eiam::Model::GetApplicationProvisioningConfigRequest;
GetApplicationProvisioningConfigRequest::GetApplicationProvisioningConfigRequest()
: RpcServiceRequest("eiam", "2021-12-01", "GetApplicationProvisioningConfig") {
setMethod(HttpRequest::Method::Post);
}
GetApplicationProvisioningConfigRequest::~GetApplicationProvisioningConfigRequest() {}
std::string GetApplicationProvisioningConfigRequest::getInstanceId() const {
return instanceId_;
}
void GetApplicationProvisioningConfigRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::string GetApplicationProvisioningConfigRequest::getApplicationId() const {
return applicationId_;
}
void GetApplicationProvisioningConfigRequest::setApplicationId(const std::string &applicationId) {
applicationId_ = applicationId;
setParameter(std::string("ApplicationId"), applicationId);
}

Some files were not shown because too many files have changed in this diff Show More