/*
 * 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/ccc/model/AssignUsersRequest.h>

using AlibabaCloud::CCC::Model::AssignUsersRequest;

AssignUsersRequest::AssignUsersRequest() :
	RpcServiceRequest("ccc", "2017-07-05", "AssignUsers")
{
	setMethod(HttpRequest::Method::Post);
}

AssignUsersRequest::~AssignUsersRequest()
{}

std::vector<std::string> AssignUsersRequest::getRoleId()const
{
	return roleId_;
}

void AssignUsersRequest::setRoleId(const std::vector<std::string>& roleId)
{
	roleId_ = roleId;
	for(int dep1 = 0; dep1!= roleId.size(); dep1++) {
		setParameter("RoleId."+ std::to_string(dep1), roleId.at(dep1));
	}
}

std::string AssignUsersRequest::getAccessKeyId()const
{
	return accessKeyId_;
}

void AssignUsersRequest::setAccessKeyId(const std::string& accessKeyId)
{
	accessKeyId_ = accessKeyId;
	setParameter("AccessKeyId", accessKeyId);
}

std::vector<std::string> AssignUsersRequest::getUserRamId()const
{
	return userRamId_;
}

void AssignUsersRequest::setUserRamId(const std::vector<std::string>& userRamId)
{
	userRamId_ = userRamId;
	for(int dep1 = 0; dep1!= userRamId.size(); dep1++) {
		setParameter("UserRamId."+ std::to_string(dep1), userRamId.at(dep1));
	}
}

std::vector<int> AssignUsersRequest::getSkillLevel()const
{
	return skillLevel_;
}

void AssignUsersRequest::setSkillLevel(const std::vector<int>& skillLevel)
{
	skillLevel_ = skillLevel;
	for(int dep1 = 0; dep1!= skillLevel.size(); dep1++) {
		setParameter("SkillLevel."+ std::to_string(dep1), std::to_string(skillLevel.at(dep1)));
	}
}

std::string AssignUsersRequest::getInstanceId()const
{
	return instanceId_;
}

void AssignUsersRequest::setInstanceId(const std::string& instanceId)
{
	instanceId_ = instanceId;
	setParameter("InstanceId", instanceId);
}

std::vector<std::string> AssignUsersRequest::getSkillGroupId()const
{
	return skillGroupId_;
}

void AssignUsersRequest::setSkillGroupId(const std::vector<std::string>& skillGroupId)
{
	skillGroupId_ = skillGroupId;
	for(int dep1 = 0; dep1!= skillGroupId.size(); dep1++) {
		setParameter("SkillGroupId."+ std::to_string(dep1), skillGroupId.at(dep1));
	}
}

