85 lines
2.3 KiB
C++
85 lines
2.3 KiB
C++
/*
|
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
#include <alibabacloud/arms/model/UpdateAlertContactGroupRequest.h>
|
|
|
|
using AlibabaCloud::ARMS::Model::UpdateAlertContactGroupRequest;
|
|
|
|
UpdateAlertContactGroupRequest::UpdateAlertContactGroupRequest() :
|
|
RpcServiceRequest("arms", "2019-08-08", "UpdateAlertContactGroup")
|
|
{
|
|
setMethod(HttpRequest::Method::Post);
|
|
}
|
|
|
|
UpdateAlertContactGroupRequest::~UpdateAlertContactGroupRequest()
|
|
{}
|
|
|
|
long UpdateAlertContactGroupRequest::getContactGroupId()const
|
|
{
|
|
return contactGroupId_;
|
|
}
|
|
|
|
void UpdateAlertContactGroupRequest::setContactGroupId(long contactGroupId)
|
|
{
|
|
contactGroupId_ = contactGroupId;
|
|
setParameter("ContactGroupId", std::to_string(contactGroupId));
|
|
}
|
|
|
|
std::string UpdateAlertContactGroupRequest::getRegionId()const
|
|
{
|
|
return regionId_;
|
|
}
|
|
|
|
void UpdateAlertContactGroupRequest::setRegionId(const std::string& regionId)
|
|
{
|
|
regionId_ = regionId;
|
|
setParameter("RegionId", regionId);
|
|
}
|
|
|
|
std::string UpdateAlertContactGroupRequest::getContactGroupName()const
|
|
{
|
|
return contactGroupName_;
|
|
}
|
|
|
|
void UpdateAlertContactGroupRequest::setContactGroupName(const std::string& contactGroupName)
|
|
{
|
|
contactGroupName_ = contactGroupName;
|
|
setParameter("ContactGroupName", contactGroupName);
|
|
}
|
|
|
|
std::string UpdateAlertContactGroupRequest::getProxyUserId()const
|
|
{
|
|
return proxyUserId_;
|
|
}
|
|
|
|
void UpdateAlertContactGroupRequest::setProxyUserId(const std::string& proxyUserId)
|
|
{
|
|
proxyUserId_ = proxyUserId;
|
|
setParameter("ProxyUserId", proxyUserId);
|
|
}
|
|
|
|
std::string UpdateAlertContactGroupRequest::getContactIds()const
|
|
{
|
|
return contactIds_;
|
|
}
|
|
|
|
void UpdateAlertContactGroupRequest::setContactIds(const std::string& contactIds)
|
|
{
|
|
contactIds_ = contactIds;
|
|
setParameter("ContactIds", contactIds);
|
|
}
|
|
|