/*
 * 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/cms/model/ListAlarmHistoryRequest.h>

using AlibabaCloud::Cms::Model::ListAlarmHistoryRequest;

ListAlarmHistoryRequest::ListAlarmHistoryRequest() :
	RpcServiceRequest("cms", "2017-03-01", "ListAlarmHistory")
{}

ListAlarmHistoryRequest::~ListAlarmHistoryRequest()
{}

std::string ListAlarmHistoryRequest::getCursor()const
{
	return cursor_;
}

void ListAlarmHistoryRequest::setCursor(const std::string& cursor)
{
	cursor_ = cursor;
	setParameter("Cursor", cursor);
}

std::string ListAlarmHistoryRequest::getCallby_cms_owner()const
{
	return callby_cms_owner_;
}

void ListAlarmHistoryRequest::setCallby_cms_owner(const std::string& callby_cms_owner)
{
	callby_cms_owner_ = callby_cms_owner;
	setParameter("Callby_cms_owner", callby_cms_owner);
}

int ListAlarmHistoryRequest::getSize()const
{
	return size_;
}

void ListAlarmHistoryRequest::setSize(int size)
{
	size_ = size;
	setParameter("Size", std::to_string(size));
}

std::string ListAlarmHistoryRequest::getEndTime()const
{
	return endTime_;
}

void ListAlarmHistoryRequest::setEndTime(const std::string& endTime)
{
	endTime_ = endTime;
	setParameter("EndTime", endTime);
}

std::string ListAlarmHistoryRequest::getId()const
{
	return id_;
}

void ListAlarmHistoryRequest::setId(const std::string& id)
{
	id_ = id;
	setParameter("Id", id);
}

std::string ListAlarmHistoryRequest::getStartTime()const
{
	return startTime_;
}

void ListAlarmHistoryRequest::setStartTime(const std::string& startTime)
{
	startTime_ = startTime;
	setParameter("StartTime", startTime);
}

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

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

