129 lines
3.2 KiB
C++
129 lines
3.2 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/iot/model/CreateDeviceGroupRequest.h>
|
|
|
|
using AlibabaCloud::Iot::Model::CreateDeviceGroupRequest;
|
|
|
|
CreateDeviceGroupRequest::CreateDeviceGroupRequest() :
|
|
RpcServiceRequest("iot", "2018-01-20", "CreateDeviceGroup")
|
|
{
|
|
setMethod(HttpRequest::Method::Post);
|
|
}
|
|
|
|
CreateDeviceGroupRequest::~CreateDeviceGroupRequest()
|
|
{}
|
|
|
|
std::string CreateDeviceGroupRequest::getRealTenantId()const
|
|
{
|
|
return realTenantId_;
|
|
}
|
|
|
|
void CreateDeviceGroupRequest::setRealTenantId(const std::string& realTenantId)
|
|
{
|
|
realTenantId_ = realTenantId;
|
|
setParameter("RealTenantId", realTenantId);
|
|
}
|
|
|
|
std::string CreateDeviceGroupRequest::getSuperGroupId()const
|
|
{
|
|
return superGroupId_;
|
|
}
|
|
|
|
void CreateDeviceGroupRequest::setSuperGroupId(const std::string& superGroupId)
|
|
{
|
|
superGroupId_ = superGroupId;
|
|
setParameter("SuperGroupId", superGroupId);
|
|
}
|
|
|
|
std::string CreateDeviceGroupRequest::getAccessKeyId()const
|
|
{
|
|
return accessKeyId_;
|
|
}
|
|
|
|
void CreateDeviceGroupRequest::setAccessKeyId(const std::string& accessKeyId)
|
|
{
|
|
accessKeyId_ = accessKeyId;
|
|
setParameter("AccessKeyId", accessKeyId);
|
|
}
|
|
|
|
std::string CreateDeviceGroupRequest::getRealTripartiteKey()const
|
|
{
|
|
return realTripartiteKey_;
|
|
}
|
|
|
|
void CreateDeviceGroupRequest::setRealTripartiteKey(const std::string& realTripartiteKey)
|
|
{
|
|
realTripartiteKey_ = realTripartiteKey;
|
|
setParameter("RealTripartiteKey", realTripartiteKey);
|
|
}
|
|
|
|
std::string CreateDeviceGroupRequest::getIotInstanceId()const
|
|
{
|
|
return iotInstanceId_;
|
|
}
|
|
|
|
void CreateDeviceGroupRequest::setIotInstanceId(const std::string& iotInstanceId)
|
|
{
|
|
iotInstanceId_ = iotInstanceId;
|
|
setParameter("IotInstanceId", iotInstanceId);
|
|
}
|
|
|
|
std::string CreateDeviceGroupRequest::getGroupName()const
|
|
{
|
|
return groupName_;
|
|
}
|
|
|
|
void CreateDeviceGroupRequest::setGroupName(const std::string& groupName)
|
|
{
|
|
groupName_ = groupName;
|
|
setParameter("GroupName", groupName);
|
|
}
|
|
|
|
std::string CreateDeviceGroupRequest::getGroupDesc()const
|
|
{
|
|
return groupDesc_;
|
|
}
|
|
|
|
void CreateDeviceGroupRequest::setGroupDesc(const std::string& groupDesc)
|
|
{
|
|
groupDesc_ = groupDesc;
|
|
setParameter("GroupDesc", groupDesc);
|
|
}
|
|
|
|
std::string CreateDeviceGroupRequest::getApiProduct()const
|
|
{
|
|
return apiProduct_;
|
|
}
|
|
|
|
void CreateDeviceGroupRequest::setApiProduct(const std::string& apiProduct)
|
|
{
|
|
apiProduct_ = apiProduct;
|
|
setBodyParameter("ApiProduct", apiProduct);
|
|
}
|
|
|
|
std::string CreateDeviceGroupRequest::getApiRevision()const
|
|
{
|
|
return apiRevision_;
|
|
}
|
|
|
|
void CreateDeviceGroupRequest::setApiRevision(const std::string& apiRevision)
|
|
{
|
|
apiRevision_ = apiRevision;
|
|
setBodyParameter("ApiRevision", apiRevision);
|
|
}
|
|
|