CLOUDWF SDK Auto Released By shenshi,Version:1.34.46

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
haowei.yao
2019-03-19 10:38:38 +08:00
parent 63a13d7b24
commit 87b0903e59
903 changed files with 69945 additions and 2 deletions

8117
cloudwf/src/CloudwfClient.cc Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,71 @@
/*
* 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/cloudwf/model/AddApgroupConfigRequest.h>
using AlibabaCloud::Cloudwf::Model::AddApgroupConfigRequest;
AddApgroupConfigRequest::AddApgroupConfigRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "AddApgroupConfig")
{}
AddApgroupConfigRequest::~AddApgroupConfigRequest()
{}
long AddApgroupConfigRequest::getParentApgroupId()const
{
return parentApgroupId_;
}
void AddApgroupConfigRequest::setParentApgroupId(long parentApgroupId)
{
parentApgroupId_ = parentApgroupId;
setParameter("ParentApgroupId", std::to_string(parentApgroupId));
}
std::string AddApgroupConfigRequest::getName()const
{
return name_;
}
void AddApgroupConfigRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}
std::string AddApgroupConfigRequest::getDescription()const
{
return description_;
}
void AddApgroupConfigRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
}
std::string AddApgroupConfigRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void AddApgroupConfigRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/AddApgroupConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
AddApgroupConfigResult::AddApgroupConfigResult() :
ServiceResult()
{}
AddApgroupConfigResult::AddApgroupConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddApgroupConfigResult::~AddApgroupConfigResult()
{}
void AddApgroupConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string AddApgroupConfigResult::getMessage()const
{
return message_;
}
std::string AddApgroupConfigResult::getErrorMsg()const
{
return errorMsg_;
}
std::string AddApgroupConfigResult::getData()const
{
return data_;
}
int AddApgroupConfigResult::getErrorCode()const
{
return errorCode_;
}
bool AddApgroupConfigResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,71 @@
/*
* 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/cloudwf/model/AliyunRegisterApAssetRequest.h>
using AlibabaCloud::Cloudwf::Model::AliyunRegisterApAssetRequest;
AliyunRegisterApAssetRequest::AliyunRegisterApAssetRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "AliyunRegisterApAsset")
{}
AliyunRegisterApAssetRequest::~AliyunRegisterApAssetRequest()
{}
long AliyunRegisterApAssetRequest::getApgroupId()const
{
return apgroupId_;
}
void AliyunRegisterApAssetRequest::setApgroupId(long apgroupId)
{
apgroupId_ = apgroupId;
setParameter("ApgroupId", std::to_string(apgroupId));
}
std::string AliyunRegisterApAssetRequest::getMac()const
{
return mac_;
}
void AliyunRegisterApAssetRequest::setMac(const std::string& mac)
{
mac_ = mac;
setParameter("Mac", mac);
}
std::string AliyunRegisterApAssetRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void AliyunRegisterApAssetRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string AliyunRegisterApAssetRequest::getSerialNo()const
{
return serialNo_;
}
void AliyunRegisterApAssetRequest::setSerialNo(const std::string& serialNo)
{
serialNo_ = serialNo;
setParameter("SerialNo", serialNo);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/AliyunRegisterApAssetResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
AliyunRegisterApAssetResult::AliyunRegisterApAssetResult() :
ServiceResult()
{}
AliyunRegisterApAssetResult::AliyunRegisterApAssetResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AliyunRegisterApAssetResult::~AliyunRegisterApAssetResult()
{}
void AliyunRegisterApAssetResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string AliyunRegisterApAssetResult::getMessage()const
{
return message_;
}
std::string AliyunRegisterApAssetResult::getErrorMsg()const
{
return errorMsg_;
}
std::string AliyunRegisterApAssetResult::getData()const
{
return data_;
}
int AliyunRegisterApAssetResult::getErrorCode()const
{
return errorCode_;
}
bool AliyunRegisterApAssetResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,60 @@
/*
* 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/cloudwf/model/ApgroupBatchAddApRequest.h>
using AlibabaCloud::Cloudwf::Model::ApgroupBatchAddApRequest;
ApgroupBatchAddApRequest::ApgroupBatchAddApRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "ApgroupBatchAddAp")
{}
ApgroupBatchAddApRequest::~ApgroupBatchAddApRequest()
{}
std::string ApgroupBatchAddApRequest::getApAssetIds()const
{
return apAssetIds_;
}
void ApgroupBatchAddApRequest::setApAssetIds(const std::string& apAssetIds)
{
apAssetIds_ = apAssetIds;
setParameter("ApAssetIds", apAssetIds);
}
long ApgroupBatchAddApRequest::getApgroupId()const
{
return apgroupId_;
}
void ApgroupBatchAddApRequest::setApgroupId(long apgroupId)
{
apgroupId_ = apgroupId;
setParameter("ApgroupId", std::to_string(apgroupId));
}
std::string ApgroupBatchAddApRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void ApgroupBatchAddApRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/ApgroupBatchAddApResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
ApgroupBatchAddApResult::ApgroupBatchAddApResult() :
ServiceResult()
{}
ApgroupBatchAddApResult::ApgroupBatchAddApResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ApgroupBatchAddApResult::~ApgroupBatchAddApResult()
{}
void ApgroupBatchAddApResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string ApgroupBatchAddApResult::getMessage()const
{
return message_;
}
std::string ApgroupBatchAddApResult::getErrorMsg()const
{
return errorMsg_;
}
std::string ApgroupBatchAddApResult::getData()const
{
return data_;
}
int ApgroupBatchAddApResult::getErrorCode()const
{
return errorCode_;
}
bool ApgroupBatchAddApResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,49 @@
/*
* 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/cloudwf/model/ApgroupBatchDeleteApRequest.h>
using AlibabaCloud::Cloudwf::Model::ApgroupBatchDeleteApRequest;
ApgroupBatchDeleteApRequest::ApgroupBatchDeleteApRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "ApgroupBatchDeleteAp")
{}
ApgroupBatchDeleteApRequest::~ApgroupBatchDeleteApRequest()
{}
std::string ApgroupBatchDeleteApRequest::getApAssetIds()const
{
return apAssetIds_;
}
void ApgroupBatchDeleteApRequest::setApAssetIds(const std::string& apAssetIds)
{
apAssetIds_ = apAssetIds;
setParameter("ApAssetIds", apAssetIds);
}
std::string ApgroupBatchDeleteApRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void ApgroupBatchDeleteApRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/ApgroupBatchDeleteApResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
ApgroupBatchDeleteApResult::ApgroupBatchDeleteApResult() :
ServiceResult()
{}
ApgroupBatchDeleteApResult::ApgroupBatchDeleteApResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ApgroupBatchDeleteApResult::~ApgroupBatchDeleteApResult()
{}
void ApgroupBatchDeleteApResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string ApgroupBatchDeleteApResult::getMessage()const
{
return message_;
}
std::string ApgroupBatchDeleteApResult::getErrorMsg()const
{
return errorMsg_;
}
std::string ApgroupBatchDeleteApResult::getData()const
{
return data_;
}
int ApgroupBatchDeleteApResult::getErrorCode()const
{
return errorCode_;
}
bool ApgroupBatchDeleteApResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,71 @@
/*
* 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/cloudwf/model/AreaCreateRequest.h>
using AlibabaCloud::Cloudwf::Model::AreaCreateRequest;
AreaCreateRequest::AreaCreateRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "AreaCreate")
{}
AreaCreateRequest::~AreaCreateRequest()
{}
std::string AreaCreateRequest::getName()const
{
return name_;
}
void AreaCreateRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}
std::string AreaCreateRequest::getDids()const
{
return dids_;
}
void AreaCreateRequest::setDids(const std::string& dids)
{
dids_ = dids;
setParameter("Dids", dids);
}
std::string AreaCreateRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void AreaCreateRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
long AreaCreateRequest::getSid()const
{
return sid_;
}
void AreaCreateRequest::setSid(long sid)
{
sid_ = sid;
setParameter("Sid", std::to_string(sid));
}

View File

@@ -0,0 +1,73 @@
/*
* 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/cloudwf/model/AreaCreateResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
AreaCreateResult::AreaCreateResult() :
ServiceResult()
{}
AreaCreateResult::AreaCreateResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AreaCreateResult::~AreaCreateResult()
{}
void AreaCreateResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string AreaCreateResult::getErrorMsg()const
{
return errorMsg_;
}
std::string AreaCreateResult::getData()const
{
return data_;
}
int AreaCreateResult::getErrorCode()const
{
return errorCode_;
}
bool AreaCreateResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,60 @@
/*
* 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/cloudwf/model/AreaDeleteRequest.h>
using AlibabaCloud::Cloudwf::Model::AreaDeleteRequest;
AreaDeleteRequest::AreaDeleteRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "AreaDelete")
{}
AreaDeleteRequest::~AreaDeleteRequest()
{}
long AreaDeleteRequest::getAid()const
{
return aid_;
}
void AreaDeleteRequest::setAid(long aid)
{
aid_ = aid;
setParameter("Aid", std::to_string(aid));
}
std::string AreaDeleteRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void AreaDeleteRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
long AreaDeleteRequest::getSid()const
{
return sid_;
}
void AreaDeleteRequest::setSid(long sid)
{
sid_ = sid;
setParameter("Sid", std::to_string(sid));
}

View File

@@ -0,0 +1,73 @@
/*
* 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/cloudwf/model/AreaDeleteResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
AreaDeleteResult::AreaDeleteResult() :
ServiceResult()
{}
AreaDeleteResult::AreaDeleteResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AreaDeleteResult::~AreaDeleteResult()
{}
void AreaDeleteResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string AreaDeleteResult::getErrorMsg()const
{
return errorMsg_;
}
std::string AreaDeleteResult::getData()const
{
return data_;
}
int AreaDeleteResult::getErrorCode()const
{
return errorCode_;
}
bool AreaDeleteResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,60 @@
/*
* 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/cloudwf/model/AreaInfoRequest.h>
using AlibabaCloud::Cloudwf::Model::AreaInfoRequest;
AreaInfoRequest::AreaInfoRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "AreaInfo")
{}
AreaInfoRequest::~AreaInfoRequest()
{}
long AreaInfoRequest::getAid()const
{
return aid_;
}
void AreaInfoRequest::setAid(long aid)
{
aid_ = aid;
setParameter("Aid", std::to_string(aid));
}
std::string AreaInfoRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void AreaInfoRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
long AreaInfoRequest::getSid()const
{
return sid_;
}
void AreaInfoRequest::setSid(long sid)
{
sid_ = sid;
setParameter("Sid", std::to_string(sid));
}

View File

@@ -0,0 +1,73 @@
/*
* 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/cloudwf/model/AreaInfoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
AreaInfoResult::AreaInfoResult() :
ServiceResult()
{}
AreaInfoResult::AreaInfoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AreaInfoResult::~AreaInfoResult()
{}
void AreaInfoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string AreaInfoResult::getErrorMsg()const
{
return errorMsg_;
}
std::string AreaInfoResult::getData()const
{
return data_;
}
int AreaInfoResult::getErrorCode()const
{
return errorCode_;
}
bool AreaInfoResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,71 @@
/*
* 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/cloudwf/model/AreaShowListRequest.h>
using AlibabaCloud::Cloudwf::Model::AreaShowListRequest;
AreaShowListRequest::AreaShowListRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "AreaShowList")
{}
AreaShowListRequest::~AreaShowListRequest()
{}
int AreaShowListRequest::getPage()const
{
return page_;
}
void AreaShowListRequest::setPage(int page)
{
page_ = page;
setParameter("Page", std::to_string(page));
}
int AreaShowListRequest::getPer()const
{
return per_;
}
void AreaShowListRequest::setPer(int per)
{
per_ = per;
setParameter("Per", std::to_string(per));
}
std::string AreaShowListRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void AreaShowListRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
long AreaShowListRequest::getSid()const
{
return sid_;
}
void AreaShowListRequest::setSid(long sid)
{
sid_ = sid;
setParameter("Sid", std::to_string(sid));
}

View File

@@ -0,0 +1,73 @@
/*
* 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/cloudwf/model/AreaShowListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
AreaShowListResult::AreaShowListResult() :
ServiceResult()
{}
AreaShowListResult::AreaShowListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AreaShowListResult::~AreaShowListResult()
{}
void AreaShowListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string AreaShowListResult::getErrorMsg()const
{
return errorMsg_;
}
std::string AreaShowListResult::getData()const
{
return data_;
}
int AreaShowListResult::getErrorCode()const
{
return errorCode_;
}
bool AreaShowListResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,82 @@
/*
* 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/cloudwf/model/AreaUpdateRequest.h>
using AlibabaCloud::Cloudwf::Model::AreaUpdateRequest;
AreaUpdateRequest::AreaUpdateRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "AreaUpdate")
{}
AreaUpdateRequest::~AreaUpdateRequest()
{}
std::string AreaUpdateRequest::getName()const
{
return name_;
}
void AreaUpdateRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}
std::string AreaUpdateRequest::getDids()const
{
return dids_;
}
void AreaUpdateRequest::setDids(const std::string& dids)
{
dids_ = dids;
setParameter("Dids", dids);
}
long AreaUpdateRequest::getAid()const
{
return aid_;
}
void AreaUpdateRequest::setAid(long aid)
{
aid_ = aid;
setParameter("Aid", std::to_string(aid));
}
std::string AreaUpdateRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void AreaUpdateRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
long AreaUpdateRequest::getSid()const
{
return sid_;
}
void AreaUpdateRequest::setSid(long sid)
{
sid_ = sid;
setParameter("Sid", std::to_string(sid));
}

View File

@@ -0,0 +1,73 @@
/*
* 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/cloudwf/model/AreaUpdateResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
AreaUpdateResult::AreaUpdateResult() :
ServiceResult()
{}
AreaUpdateResult::AreaUpdateResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AreaUpdateResult::~AreaUpdateResult()
{}
void AreaUpdateResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string AreaUpdateResult::getErrorMsg()const
{
return errorMsg_;
}
std::string AreaUpdateResult::getData()const
{
return data_;
}
int AreaUpdateResult::getErrorCode()const
{
return errorCode_;
}
bool AreaUpdateResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,49 @@
/*
* 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/cloudwf/model/BatchChangeGroupApNameRequest.h>
using AlibabaCloud::Cloudwf::Model::BatchChangeGroupApNameRequest;
BatchChangeGroupApNameRequest::BatchChangeGroupApNameRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "BatchChangeGroupApName")
{}
BatchChangeGroupApNameRequest::~BatchChangeGroupApNameRequest()
{}
std::string BatchChangeGroupApNameRequest::getJsonData()const
{
return jsonData_;
}
void BatchChangeGroupApNameRequest::setJsonData(const std::string& jsonData)
{
jsonData_ = jsonData;
setParameter("JsonData", jsonData);
}
std::string BatchChangeGroupApNameRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void BatchChangeGroupApNameRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/BatchChangeGroupApNameResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
BatchChangeGroupApNameResult::BatchChangeGroupApNameResult() :
ServiceResult()
{}
BatchChangeGroupApNameResult::BatchChangeGroupApNameResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
BatchChangeGroupApNameResult::~BatchChangeGroupApNameResult()
{}
void BatchChangeGroupApNameResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string BatchChangeGroupApNameResult::getMessage()const
{
return message_;
}
std::string BatchChangeGroupApNameResult::getErrorMsg()const
{
return errorMsg_;
}
std::string BatchChangeGroupApNameResult::getData()const
{
return data_;
}
int BatchChangeGroupApNameResult::getErrorCode()const
{
return errorCode_;
}
bool BatchChangeGroupApNameResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,49 @@
/*
* 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/cloudwf/model/BatchRegisterApAssetRequest.h>
using AlibabaCloud::Cloudwf::Model::BatchRegisterApAssetRequest;
BatchRegisterApAssetRequest::BatchRegisterApAssetRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "BatchRegisterApAsset")
{}
BatchRegisterApAssetRequest::~BatchRegisterApAssetRequest()
{}
std::string BatchRegisterApAssetRequest::getJsonData()const
{
return jsonData_;
}
void BatchRegisterApAssetRequest::setJsonData(const std::string& jsonData)
{
jsonData_ = jsonData;
setParameter("JsonData", jsonData);
}
std::string BatchRegisterApAssetRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void BatchRegisterApAssetRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/BatchRegisterApAssetResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
BatchRegisterApAssetResult::BatchRegisterApAssetResult() :
ServiceResult()
{}
BatchRegisterApAssetResult::BatchRegisterApAssetResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
BatchRegisterApAssetResult::~BatchRegisterApAssetResult()
{}
void BatchRegisterApAssetResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string BatchRegisterApAssetResult::getMessage()const
{
return message_;
}
std::string BatchRegisterApAssetResult::getErrorMsg()const
{
return errorMsg_;
}
std::string BatchRegisterApAssetResult::getData()const
{
return data_;
}
int BatchRegisterApAssetResult::getErrorCode()const
{
return errorCode_;
}
bool BatchRegisterApAssetResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,49 @@
/*
* 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/cloudwf/model/BatchSaveApPositionRequest.h>
using AlibabaCloud::Cloudwf::Model::BatchSaveApPositionRequest;
BatchSaveApPositionRequest::BatchSaveApPositionRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "BatchSaveApPosition")
{}
BatchSaveApPositionRequest::~BatchSaveApPositionRequest()
{}
std::string BatchSaveApPositionRequest::getJsonData()const
{
return jsonData_;
}
void BatchSaveApPositionRequest::setJsonData(const std::string& jsonData)
{
jsonData_ = jsonData;
setParameter("JsonData", jsonData);
}
std::string BatchSaveApPositionRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void BatchSaveApPositionRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/BatchSaveApPositionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
BatchSaveApPositionResult::BatchSaveApPositionResult() :
ServiceResult()
{}
BatchSaveApPositionResult::BatchSaveApPositionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
BatchSaveApPositionResult::~BatchSaveApPositionResult()
{}
void BatchSaveApPositionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string BatchSaveApPositionResult::getMessage()const
{
return message_;
}
std::string BatchSaveApPositionResult::getErrorMsg()const
{
return errorMsg_;
}
std::string BatchSaveApPositionResult::getData()const
{
return data_;
}
int BatchSaveApPositionResult::getErrorCode()const
{
return errorCode_;
}
bool BatchSaveApPositionResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,170 @@
/*
* 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/cloudwf/model/BusinessCreateRequest.h>
using AlibabaCloud::Cloudwf::Model::BusinessCreateRequest;
BusinessCreateRequest::BusinessCreateRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "BusinessCreate")
{}
BusinessCreateRequest::~BusinessCreateRequest()
{}
std::string BusinessCreateRequest::getBusinessCity()const
{
return businessCity_;
}
void BusinessCreateRequest::setBusinessCity(const std::string& businessCity)
{
businessCity_ = businessCity;
setParameter("BusinessCity", businessCity);
}
std::string BusinessCreateRequest::getCombo()const
{
return combo_;
}
void BusinessCreateRequest::setCombo(const std::string& combo)
{
combo_ = combo;
setParameter("Combo", combo);
}
std::string BusinessCreateRequest::getWarnEmail()const
{
return warnEmail_;
}
void BusinessCreateRequest::setWarnEmail(const std::string& warnEmail)
{
warnEmail_ = warnEmail;
setParameter("WarnEmail", warnEmail);
}
std::string BusinessCreateRequest::getBusinessManager()const
{
return businessManager_;
}
void BusinessCreateRequest::setBusinessManager(const std::string& businessManager)
{
businessManager_ = businessManager;
setParameter("BusinessManager", businessManager);
}
std::string BusinessCreateRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void BusinessCreateRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
int BusinessCreateRequest::getBusinessType()const
{
return businessType_;
}
void BusinessCreateRequest::setBusinessType(int businessType)
{
businessType_ = businessType;
setParameter("BusinessType", std::to_string(businessType));
}
int BusinessCreateRequest::getWarn()const
{
return warn_;
}
void BusinessCreateRequest::setWarn(int warn)
{
warn_ = warn;
setParameter("Warn", std::to_string(warn));
}
std::string BusinessCreateRequest::getBusinessName()const
{
return businessName_;
}
void BusinessCreateRequest::setBusinessName(const std::string& businessName)
{
businessName_ = businessName;
setParameter("BusinessName", businessName);
}
int BusinessCreateRequest::getBusinessTopType()const
{
return businessTopType_;
}
void BusinessCreateRequest::setBusinessTopType(int businessTopType)
{
businessTopType_ = businessTopType;
setParameter("BusinessTopType", std::to_string(businessTopType));
}
std::string BusinessCreateRequest::getBusinessAddress()const
{
return businessAddress_;
}
void BusinessCreateRequest::setBusinessAddress(const std::string& businessAddress)
{
businessAddress_ = businessAddress;
setParameter("BusinessAddress", businessAddress);
}
std::string BusinessCreateRequest::getBusinessTel()const
{
return businessTel_;
}
void BusinessCreateRequest::setBusinessTel(const std::string& businessTel)
{
businessTel_ = businessTel;
setParameter("BusinessTel", businessTel);
}
std::string BusinessCreateRequest::getBusinessProvince()const
{
return businessProvince_;
}
void BusinessCreateRequest::setBusinessProvince(const std::string& businessProvince)
{
businessProvince_ = businessProvince;
setParameter("BusinessProvince", businessProvince);
}
int BusinessCreateRequest::getBusinessSubtype()const
{
return businessSubtype_;
}
void BusinessCreateRequest::setBusinessSubtype(int businessSubtype)
{
businessSubtype_ = businessSubtype;
setParameter("BusinessSubtype", std::to_string(businessSubtype));
}

View File

@@ -0,0 +1,73 @@
/*
* 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/cloudwf/model/BusinessCreateResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
BusinessCreateResult::BusinessCreateResult() :
ServiceResult()
{}
BusinessCreateResult::BusinessCreateResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
BusinessCreateResult::~BusinessCreateResult()
{}
void BusinessCreateResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string BusinessCreateResult::getErrorMsg()const
{
return errorMsg_;
}
std::string BusinessCreateResult::getData()const
{
return data_;
}
int BusinessCreateResult::getErrorCode()const
{
return errorCode_;
}
bool BusinessCreateResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,49 @@
/*
* 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/cloudwf/model/BusinessInfoRequest.h>
using AlibabaCloud::Cloudwf::Model::BusinessInfoRequest;
BusinessInfoRequest::BusinessInfoRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "BusinessInfo")
{}
BusinessInfoRequest::~BusinessInfoRequest()
{}
long BusinessInfoRequest::getBid()const
{
return bid_;
}
void BusinessInfoRequest::setBid(long bid)
{
bid_ = bid;
setParameter("Bid", std::to_string(bid));
}
std::string BusinessInfoRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void BusinessInfoRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,73 @@
/*
* 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/cloudwf/model/BusinessInfoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
BusinessInfoResult::BusinessInfoResult() :
ServiceResult()
{}
BusinessInfoResult::BusinessInfoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
BusinessInfoResult::~BusinessInfoResult()
{}
void BusinessInfoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string BusinessInfoResult::getErrorMsg()const
{
return errorMsg_;
}
std::string BusinessInfoResult::getData()const
{
return data_;
}
int BusinessInfoResult::getErrorCode()const
{
return errorCode_;
}
bool BusinessInfoResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,60 @@
/*
* 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/cloudwf/model/BusinessShowListRequest.h>
using AlibabaCloud::Cloudwf::Model::BusinessShowListRequest;
BusinessShowListRequest::BusinessShowListRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "BusinessShowList")
{}
BusinessShowListRequest::~BusinessShowListRequest()
{}
int BusinessShowListRequest::getPage()const
{
return page_;
}
void BusinessShowListRequest::setPage(int page)
{
page_ = page;
setParameter("Page", std::to_string(page));
}
int BusinessShowListRequest::getPer()const
{
return per_;
}
void BusinessShowListRequest::setPer(int per)
{
per_ = per;
setParameter("Per", std::to_string(per));
}
std::string BusinessShowListRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void BusinessShowListRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,73 @@
/*
* 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/cloudwf/model/BusinessShowListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
BusinessShowListResult::BusinessShowListResult() :
ServiceResult()
{}
BusinessShowListResult::BusinessShowListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
BusinessShowListResult::~BusinessShowListResult()
{}
void BusinessShowListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string BusinessShowListResult::getErrorMsg()const
{
return errorMsg_;
}
std::string BusinessShowListResult::getData()const
{
return data_;
}
int BusinessShowListResult::getErrorCode()const
{
return errorCode_;
}
bool BusinessShowListResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,115 @@
/*
* 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/cloudwf/model/BusinessUpdateRequest.h>
using AlibabaCloud::Cloudwf::Model::BusinessUpdateRequest;
BusinessUpdateRequest::BusinessUpdateRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "BusinessUpdate")
{}
BusinessUpdateRequest::~BusinessUpdateRequest()
{}
int BusinessUpdateRequest::getWarn()const
{
return warn_;
}
void BusinessUpdateRequest::setWarn(int warn)
{
warn_ = warn;
setParameter("Warn", std::to_string(warn));
}
std::string BusinessUpdateRequest::getBusinessCity()const
{
return businessCity_;
}
void BusinessUpdateRequest::setBusinessCity(const std::string& businessCity)
{
businessCity_ = businessCity;
setParameter("BusinessCity", businessCity);
}
std::string BusinessUpdateRequest::getWarnEmail()const
{
return warnEmail_;
}
void BusinessUpdateRequest::setWarnEmail(const std::string& warnEmail)
{
warnEmail_ = warnEmail;
setParameter("WarnEmail", warnEmail);
}
std::string BusinessUpdateRequest::getBusinessAddress()const
{
return businessAddress_;
}
void BusinessUpdateRequest::setBusinessAddress(const std::string& businessAddress)
{
businessAddress_ = businessAddress;
setParameter("BusinessAddress", businessAddress);
}
long BusinessUpdateRequest::getBid()const
{
return bid_;
}
void BusinessUpdateRequest::setBid(long bid)
{
bid_ = bid;
setParameter("Bid", std::to_string(bid));
}
std::string BusinessUpdateRequest::getBusinessManager()const
{
return businessManager_;
}
void BusinessUpdateRequest::setBusinessManager(const std::string& businessManager)
{
businessManager_ = businessManager;
setParameter("BusinessManager", businessManager);
}
std::string BusinessUpdateRequest::getBusinessProvince()const
{
return businessProvince_;
}
void BusinessUpdateRequest::setBusinessProvince(const std::string& businessProvince)
{
businessProvince_ = businessProvince;
setParameter("BusinessProvince", businessProvince);
}
std::string BusinessUpdateRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void BusinessUpdateRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,73 @@
/*
* 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/cloudwf/model/BusinessUpdateResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
BusinessUpdateResult::BusinessUpdateResult() :
ServiceResult()
{}
BusinessUpdateResult::BusinessUpdateResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
BusinessUpdateResult::~BusinessUpdateResult()
{}
void BusinessUpdateResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string BusinessUpdateResult::getErrorMsg()const
{
return errorMsg_;
}
std::string BusinessUpdateResult::getData()const
{
return data_;
}
int BusinessUpdateResult::getErrorCode()const
{
return errorCode_;
}
bool BusinessUpdateResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,60 @@
/*
* 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/cloudwf/model/CeaseInstanceRequest.h>
using AlibabaCloud::Cloudwf::Model::CeaseInstanceRequest;
CeaseInstanceRequest::CeaseInstanceRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "CeaseInstance")
{}
CeaseInstanceRequest::~CeaseInstanceRequest()
{}
std::string CeaseInstanceRequest::getTraceId()const
{
return traceId_;
}
void CeaseInstanceRequest::setTraceId(const std::string& traceId)
{
traceId_ = traceId;
setParameter("TraceId", traceId);
}
std::string CeaseInstanceRequest::getSpMsg()const
{
return spMsg_;
}
void CeaseInstanceRequest::setSpMsg(const std::string& spMsg)
{
spMsg_ = spMsg;
setParameter("SpMsg", spMsg);
}
std::string CeaseInstanceRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CeaseInstanceRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,66 @@
/*
* 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/cloudwf/model/CeaseInstanceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
CeaseInstanceResult::CeaseInstanceResult() :
ServiceResult()
{}
CeaseInstanceResult::CeaseInstanceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CeaseInstanceResult::~CeaseInstanceResult()
{}
void CeaseInstanceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["success"].isNull())
success_ = value["success"].asString() == "true";
if(!value["message"].isNull())
message_ = value["message"].asString();
if(!value["result"].isNull())
result_ = value["result"].asString();
}
std::string CeaseInstanceResult::getMessage()const
{
return message_;
}
bool CeaseInstanceResult::getSuccess()const
{
return success_;
}
std::string CeaseInstanceResult::getResult()const
{
return result_;
}

View File

@@ -0,0 +1,38 @@
/*
* 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/cloudwf/model/CheckRootPermissionRequest.h>
using AlibabaCloud::Cloudwf::Model::CheckRootPermissionRequest;
CheckRootPermissionRequest::CheckRootPermissionRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "CheckRootPermission")
{}
CheckRootPermissionRequest::~CheckRootPermissionRequest()
{}
std::string CheckRootPermissionRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CheckRootPermissionRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/CheckRootPermissionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
CheckRootPermissionResult::CheckRootPermissionResult() :
ServiceResult()
{}
CheckRootPermissionResult::CheckRootPermissionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CheckRootPermissionResult::~CheckRootPermissionResult()
{}
void CheckRootPermissionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string CheckRootPermissionResult::getMessage()const
{
return message_;
}
std::string CheckRootPermissionResult::getErrorMsg()const
{
return errorMsg_;
}
std::string CheckRootPermissionResult::getData()const
{
return data_;
}
int CheckRootPermissionResult::getErrorCode()const
{
return errorCode_;
}
bool CheckRootPermissionResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,38 @@
/*
* 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/cloudwf/model/CheckUmengDataAnalysisPermissionRequest.h>
using AlibabaCloud::Cloudwf::Model::CheckUmengDataAnalysisPermissionRequest;
CheckUmengDataAnalysisPermissionRequest::CheckUmengDataAnalysisPermissionRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "CheckUmengDataAnalysisPermission")
{}
CheckUmengDataAnalysisPermissionRequest::~CheckUmengDataAnalysisPermissionRequest()
{}
std::string CheckUmengDataAnalysisPermissionRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CheckUmengDataAnalysisPermissionRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/CheckUmengDataAnalysisPermissionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
CheckUmengDataAnalysisPermissionResult::CheckUmengDataAnalysisPermissionResult() :
ServiceResult()
{}
CheckUmengDataAnalysisPermissionResult::CheckUmengDataAnalysisPermissionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CheckUmengDataAnalysisPermissionResult::~CheckUmengDataAnalysisPermissionResult()
{}
void CheckUmengDataAnalysisPermissionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string CheckUmengDataAnalysisPermissionResult::getMessage()const
{
return message_;
}
std::string CheckUmengDataAnalysisPermissionResult::getErrorMsg()const
{
return errorMsg_;
}
std::string CheckUmengDataAnalysisPermissionResult::getData()const
{
return data_;
}
int CheckUmengDataAnalysisPermissionResult::getErrorCode()const
{
return errorCode_;
}
bool CheckUmengDataAnalysisPermissionResult::getSuccess()const
{
return success_;
}

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/cloudwf/model/ConfigAutoRenewRequest.h>
using AlibabaCloud::Cloudwf::Model::ConfigAutoRenewRequest;
ConfigAutoRenewRequest::ConfigAutoRenewRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "ConfigAutoRenew")
{}
ConfigAutoRenewRequest::~ConfigAutoRenewRequest()
{}
int ConfigAutoRenewRequest::getOffsetDays()const
{
return offsetDays_;
}
void ConfigAutoRenewRequest::setOffsetDays(int offsetDays)
{
offsetDays_ = offsetDays;
setParameter("OffsetDays", std::to_string(offsetDays));
}
int ConfigAutoRenewRequest::getMonths()const
{
return months_;
}
void ConfigAutoRenewRequest::setMonths(int months)
{
months_ = months;
setParameter("Months", std::to_string(months));
}
bool ConfigAutoRenewRequest::getAutoRenew()const
{
return autoRenew_;
}
void ConfigAutoRenewRequest::setAutoRenew(bool autoRenew)
{
autoRenew_ = autoRenew;
setParameter("AutoRenew", AutoRenew ? "true" : "false");
}
std::vector<std::string> ConfigAutoRenewRequest::getApList()const
{
return apList_;
}
void ConfigAutoRenewRequest::setApList(const std::vector<std::string>& apList)
{
apList_ = apList;
for(int i = 0; i!= apList.size(); i++)
setParameter("ApList."+ std::to_string(i), apList.at(i));
}
std::string ConfigAutoRenewRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void ConfigAutoRenewRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,73 @@
/*
* 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/cloudwf/model/ConfigAutoRenewResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
ConfigAutoRenewResult::ConfigAutoRenewResult() :
ServiceResult()
{}
ConfigAutoRenewResult::ConfigAutoRenewResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ConfigAutoRenewResult::~ConfigAutoRenewResult()
{}
void ConfigAutoRenewResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["success"].isNull())
success_ = value["success"].asString() == "true";
if(!value["message"].isNull())
message_ = value["message"].asString();
if(!value["code"].isNull())
code_ = value["code"].asString();
if(!value["data"].isNull())
data_ = value["data"].asString();
}
std::string ConfigAutoRenewResult::getMessage()const
{
return message_;
}
std::string ConfigAutoRenewResult::getData()const
{
return data_;
}
std::string ConfigAutoRenewResult::getCode()const
{
return code_;
}
bool ConfigAutoRenewResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,61 @@
/*
* 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/cloudwf/model/CreateRenewOrderRequest.h>
using AlibabaCloud::Cloudwf::Model::CreateRenewOrderRequest;
CreateRenewOrderRequest::CreateRenewOrderRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "CreateRenewOrder")
{}
CreateRenewOrderRequest::~CreateRenewOrderRequest()
{}
int CreateRenewOrderRequest::getTimeCycleNum()const
{
return timeCycleNum_;
}
void CreateRenewOrderRequest::setTimeCycleNum(int timeCycleNum)
{
timeCycleNum_ = timeCycleNum;
setParameter("TimeCycleNum", std::to_string(timeCycleNum));
}
std::vector<std::string> CreateRenewOrderRequest::getApList()const
{
return apList_;
}
void CreateRenewOrderRequest::setApList(const std::vector<std::string>& apList)
{
apList_ = apList;
for(int i = 0; i!= apList.size(); i++)
setParameter("ApList."+ std::to_string(i), apList.at(i));
}
std::string CreateRenewOrderRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CreateRenewOrderRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,73 @@
/*
* 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/cloudwf/model/CreateRenewOrderResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
CreateRenewOrderResult::CreateRenewOrderResult() :
ServiceResult()
{}
CreateRenewOrderResult::CreateRenewOrderResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateRenewOrderResult::~CreateRenewOrderResult()
{}
void CreateRenewOrderResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["success"].isNull())
success_ = value["success"].asString() == "true";
if(!value["message"].isNull())
message_ = value["message"].asString();
if(!value["code"].isNull())
code_ = value["code"].asString();
if(!value["data"].isNull())
data_ = value["data"].asString();
}
std::string CreateRenewOrderResult::getMessage()const
{
return message_;
}
std::string CreateRenewOrderResult::getData()const
{
return data_;
}
std::string CreateRenewOrderResult::getCode()const
{
return code_;
}
bool CreateRenewOrderResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,107 @@
/*
* 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/cloudwf/model/CreateSubAccountPermissionRequest.h>
using AlibabaCloud::Cloudwf::Model::CreateSubAccountPermissionRequest;
CreateSubAccountPermissionRequest::CreateSubAccountPermissionRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "CreateSubAccountPermission")
{}
CreateSubAccountPermissionRequest::~CreateSubAccountPermissionRequest()
{}
long CreateSubAccountPermissionRequest::getUid()const
{
return uid_;
}
void CreateSubAccountPermissionRequest::setUid(long uid)
{
uid_ = uid;
setParameter("Uid", std::to_string(uid));
}
std::vector<long> CreateSubAccountPermissionRequest::getShopGroupIds()const
{
return shopGroupIds_;
}
void CreateSubAccountPermissionRequest::setShopGroupIds(const std::vector<long>& shopGroupIds)
{
shopGroupIds_ = shopGroupIds;
for(int i = 0; i!= shopGroupIds.size(); i++)
setParameter("ShopGroupIds."+ std::to_string(i), std::to_string(shopGroupIds.at(i)));
}
std::vector<long> CreateSubAccountPermissionRequest::getShopIds()const
{
return shopIds_;
}
void CreateSubAccountPermissionRequest::setShopIds(const std::vector<long>& shopIds)
{
shopIds_ = shopIds;
for(int i = 0; i!= shopIds.size(); i++)
setParameter("ShopIds."+ std::to_string(i), std::to_string(shopIds.at(i)));
}
std::string CreateSubAccountPermissionRequest::getPagePermission()const
{
return pagePermission_;
}
void CreateSubAccountPermissionRequest::setPagePermission(const std::string& pagePermission)
{
pagePermission_ = pagePermission;
setParameter("PagePermission", pagePermission);
}
std::string CreateSubAccountPermissionRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CreateSubAccountPermissionRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
int CreateSubAccountPermissionRequest::getPermissionType()const
{
return permissionType_;
}
void CreateSubAccountPermissionRequest::setPermissionType(int permissionType)
{
permissionType_ = permissionType;
setParameter("PermissionType", std::to_string(permissionType));
}
std::vector<long> CreateSubAccountPermissionRequest::getBusinessIds()const
{
return businessIds_;
}
void CreateSubAccountPermissionRequest::setBusinessIds(const std::vector<long>& businessIds)
{
businessIds_ = businessIds;
for(int i = 0; i!= businessIds.size(); i++)
setParameter("BusinessIds."+ std::to_string(i), std::to_string(businessIds.at(i)));
}

View File

@@ -0,0 +1,73 @@
/*
* 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/cloudwf/model/CreateSubAccountPermissionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
CreateSubAccountPermissionResult::CreateSubAccountPermissionResult() :
ServiceResult()
{}
CreateSubAccountPermissionResult::CreateSubAccountPermissionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateSubAccountPermissionResult::~CreateSubAccountPermissionResult()
{}
void CreateSubAccountPermissionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string CreateSubAccountPermissionResult::getMessage()const
{
return message_;
}
std::string CreateSubAccountPermissionResult::getErrorMsg()const
{
return errorMsg_;
}
int CreateSubAccountPermissionResult::getErrorCode()const
{
return errorCode_;
}
bool CreateSubAccountPermissionResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,60 @@
/*
* 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/cloudwf/model/DelApPositionRequest.h>
using AlibabaCloud::Cloudwf::Model::DelApPositionRequest;
DelApPositionRequest::DelApPositionRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "DelApPosition")
{}
DelApPositionRequest::~DelApPositionRequest()
{}
long DelApPositionRequest::getApAssetId()const
{
return apAssetId_;
}
void DelApPositionRequest::setApAssetId(long apAssetId)
{
apAssetId_ = apAssetId;
setParameter("ApAssetId", std::to_string(apAssetId));
}
long DelApPositionRequest::getMapId()const
{
return mapId_;
}
void DelApPositionRequest::setMapId(long mapId)
{
mapId_ = mapId;
setParameter("MapId", std::to_string(mapId));
}
std::string DelApPositionRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DelApPositionRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/DelApPositionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
DelApPositionResult::DelApPositionResult() :
ServiceResult()
{}
DelApPositionResult::DelApPositionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DelApPositionResult::~DelApPositionResult()
{}
void DelApPositionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string DelApPositionResult::getMessage()const
{
return message_;
}
std::string DelApPositionResult::getErrorMsg()const
{
return errorMsg_;
}
std::string DelApPositionResult::getData()const
{
return data_;
}
int DelApPositionResult::getErrorCode()const
{
return errorCode_;
}
bool DelApPositionResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,49 @@
/*
* 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/cloudwf/model/DelPageConfigTemplateRequest.h>
using AlibabaCloud::Cloudwf::Model::DelPageConfigTemplateRequest;
DelPageConfigTemplateRequest::DelPageConfigTemplateRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "DelPageConfigTemplate")
{}
DelPageConfigTemplateRequest::~DelPageConfigTemplateRequest()
{}
long DelPageConfigTemplateRequest::getId()const
{
return id_;
}
void DelPageConfigTemplateRequest::setId(long id)
{
id_ = id;
setParameter("Id", std::to_string(id));
}
std::string DelPageConfigTemplateRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DelPageConfigTemplateRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,73 @@
/*
* 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/cloudwf/model/DelPageConfigTemplateResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
DelPageConfigTemplateResult::DelPageConfigTemplateResult() :
ServiceResult()
{}
DelPageConfigTemplateResult::DelPageConfigTemplateResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DelPageConfigTemplateResult::~DelPageConfigTemplateResult()
{}
void DelPageConfigTemplateResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string DelPageConfigTemplateResult::getMessage()const
{
return message_;
}
std::string DelPageConfigTemplateResult::getErrorMsg()const
{
return errorMsg_;
}
int DelPageConfigTemplateResult::getErrorCode()const
{
return errorCode_;
}
bool DelPageConfigTemplateResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,49 @@
/*
* 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/cloudwf/model/DelPortalTempRequest.h>
using AlibabaCloud::Cloudwf::Model::DelPortalTempRequest;
DelPortalTempRequest::DelPortalTempRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "DelPortalTemp")
{}
DelPortalTempRequest::~DelPortalTempRequest()
{}
long DelPortalTempRequest::getId()const
{
return id_;
}
void DelPortalTempRequest::setId(long id)
{
id_ = id;
setParameter("Id", std::to_string(id));
}
std::string DelPortalTempRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DelPortalTempRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,73 @@
/*
* 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/cloudwf/model/DelPortalTempResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
DelPortalTempResult::DelPortalTempResult() :
ServiceResult()
{}
DelPortalTempResult::DelPortalTempResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DelPortalTempResult::~DelPortalTempResult()
{}
void DelPortalTempResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string DelPortalTempResult::getMessage()const
{
return message_;
}
std::string DelPortalTempResult::getErrorMsg()const
{
return errorMsg_;
}
int DelPortalTempResult::getErrorCode()const
{
return errorCode_;
}
bool DelPortalTempResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,49 @@
/*
* 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/cloudwf/model/DelSubAccountPermissionRequest.h>
using AlibabaCloud::Cloudwf::Model::DelSubAccountPermissionRequest;
DelSubAccountPermissionRequest::DelSubAccountPermissionRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "DelSubAccountPermission")
{}
DelSubAccountPermissionRequest::~DelSubAccountPermissionRequest()
{}
long DelSubAccountPermissionRequest::getId()const
{
return id_;
}
void DelSubAccountPermissionRequest::setId(long id)
{
id_ = id;
setParameter("Id", std::to_string(id));
}
std::string DelSubAccountPermissionRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DelSubAccountPermissionRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,73 @@
/*
* 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/cloudwf/model/DelSubAccountPermissionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
DelSubAccountPermissionResult::DelSubAccountPermissionResult() :
ServiceResult()
{}
DelSubAccountPermissionResult::DelSubAccountPermissionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DelSubAccountPermissionResult::~DelSubAccountPermissionResult()
{}
void DelSubAccountPermissionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string DelSubAccountPermissionResult::getMessage()const
{
return message_;
}
std::string DelSubAccountPermissionResult::getErrorMsg()const
{
return errorMsg_;
}
int DelSubAccountPermissionResult::getErrorCode()const
{
return errorCode_;
}
bool DelSubAccountPermissionResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,49 @@
/*
* 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/cloudwf/model/DelUmengPagePermission4RootRequest.h>
using AlibabaCloud::Cloudwf::Model::DelUmengPagePermission4RootRequest;
DelUmengPagePermission4RootRequest::DelUmengPagePermission4RootRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "DelUmengPagePermission4Root")
{}
DelUmengPagePermission4RootRequest::~DelUmengPagePermission4RootRequest()
{}
long DelUmengPagePermission4RootRequest::getId()const
{
return id_;
}
void DelUmengPagePermission4RootRequest::setId(long id)
{
id_ = id;
setParameter("Id", std::to_string(id));
}
std::string DelUmengPagePermission4RootRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DelUmengPagePermission4RootRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,73 @@
/*
* 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/cloudwf/model/DelUmengPagePermission4RootResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
DelUmengPagePermission4RootResult::DelUmengPagePermission4RootResult() :
ServiceResult()
{}
DelUmengPagePermission4RootResult::DelUmengPagePermission4RootResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DelUmengPagePermission4RootResult::~DelUmengPagePermission4RootResult()
{}
void DelUmengPagePermission4RootResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string DelUmengPagePermission4RootResult::getMessage()const
{
return message_;
}
std::string DelUmengPagePermission4RootResult::getErrorMsg()const
{
return errorMsg_;
}
int DelUmengPagePermission4RootResult::getErrorCode()const
{
return errorCode_;
}
bool DelUmengPagePermission4RootResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,60 @@
/*
* 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/cloudwf/model/DeleteApRadioSsidConfigRequest.h>
using AlibabaCloud::Cloudwf::Model::DeleteApRadioSsidConfigRequest;
DeleteApRadioSsidConfigRequest::DeleteApRadioSsidConfigRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "DeleteApRadioSsidConfig")
{}
DeleteApRadioSsidConfigRequest::~DeleteApRadioSsidConfigRequest()
{}
int DeleteApRadioSsidConfigRequest::getInstantlyEffective()const
{
return instantlyEffective_;
}
void DeleteApRadioSsidConfigRequest::setInstantlyEffective(int instantlyEffective)
{
instantlyEffective_ = instantlyEffective;
setParameter("InstantlyEffective", std::to_string(instantlyEffective));
}
long DeleteApRadioSsidConfigRequest::getId()const
{
return id_;
}
void DeleteApRadioSsidConfigRequest::setId(long id)
{
id_ = id;
setParameter("Id", std::to_string(id));
}
std::string DeleteApRadioSsidConfigRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DeleteApRadioSsidConfigRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/DeleteApRadioSsidConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
DeleteApRadioSsidConfigResult::DeleteApRadioSsidConfigResult() :
ServiceResult()
{}
DeleteApRadioSsidConfigResult::DeleteApRadioSsidConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteApRadioSsidConfigResult::~DeleteApRadioSsidConfigResult()
{}
void DeleteApRadioSsidConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string DeleteApRadioSsidConfigResult::getMessage()const
{
return message_;
}
std::string DeleteApRadioSsidConfigResult::getErrorMsg()const
{
return errorMsg_;
}
std::string DeleteApRadioSsidConfigResult::getData()const
{
return data_;
}
int DeleteApRadioSsidConfigResult::getErrorCode()const
{
return errorCode_;
}
bool DeleteApRadioSsidConfigResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,49 @@
/*
* 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/cloudwf/model/DeleteApgroupConfigRequest.h>
using AlibabaCloud::Cloudwf::Model::DeleteApgroupConfigRequest;
DeleteApgroupConfigRequest::DeleteApgroupConfigRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "DeleteApgroupConfig")
{}
DeleteApgroupConfigRequest::~DeleteApgroupConfigRequest()
{}
long DeleteApgroupConfigRequest::getId()const
{
return id_;
}
void DeleteApgroupConfigRequest::setId(long id)
{
id_ = id;
setParameter("Id", std::to_string(id));
}
std::string DeleteApgroupConfigRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DeleteApgroupConfigRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/DeleteApgroupConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
DeleteApgroupConfigResult::DeleteApgroupConfigResult() :
ServiceResult()
{}
DeleteApgroupConfigResult::DeleteApgroupConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteApgroupConfigResult::~DeleteApgroupConfigResult()
{}
void DeleteApgroupConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string DeleteApgroupConfigResult::getMessage()const
{
return message_;
}
std::string DeleteApgroupConfigResult::getErrorMsg()const
{
return errorMsg_;
}
std::string DeleteApgroupConfigResult::getData()const
{
return data_;
}
int DeleteApgroupConfigResult::getErrorCode()const
{
return errorCode_;
}
bool DeleteApgroupConfigResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,60 @@
/*
* 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/cloudwf/model/DeleteApgroupSsidConfigRequest.h>
using AlibabaCloud::Cloudwf::Model::DeleteApgroupSsidConfigRequest;
DeleteApgroupSsidConfigRequest::DeleteApgroupSsidConfigRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "DeleteApgroupSsidConfig")
{}
DeleteApgroupSsidConfigRequest::~DeleteApgroupSsidConfigRequest()
{}
long DeleteApgroupSsidConfigRequest::getApgroupId()const
{
return apgroupId_;
}
void DeleteApgroupSsidConfigRequest::setApgroupId(long apgroupId)
{
apgroupId_ = apgroupId;
setParameter("ApgroupId", std::to_string(apgroupId));
}
long DeleteApgroupSsidConfigRequest::getId()const
{
return id_;
}
void DeleteApgroupSsidConfigRequest::setId(long id)
{
id_ = id;
setParameter("Id", std::to_string(id));
}
std::string DeleteApgroupSsidConfigRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DeleteApgroupSsidConfigRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/DeleteApgroupSsidConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
DeleteApgroupSsidConfigResult::DeleteApgroupSsidConfigResult() :
ServiceResult()
{}
DeleteApgroupSsidConfigResult::DeleteApgroupSsidConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteApgroupSsidConfigResult::~DeleteApgroupSsidConfigResult()
{}
void DeleteApgroupSsidConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string DeleteApgroupSsidConfigResult::getMessage()const
{
return message_;
}
std::string DeleteApgroupSsidConfigResult::getErrorMsg()const
{
return errorMsg_;
}
std::string DeleteApgroupSsidConfigResult::getData()const
{
return data_;
}
int DeleteApgroupSsidConfigResult::getErrorCode()const
{
return errorCode_;
}
bool DeleteApgroupSsidConfigResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,49 @@
/*
* 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/cloudwf/model/DeletePositionMapRequest.h>
using AlibabaCloud::Cloudwf::Model::DeletePositionMapRequest;
DeletePositionMapRequest::DeletePositionMapRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "DeletePositionMap")
{}
DeletePositionMapRequest::~DeletePositionMapRequest()
{}
long DeletePositionMapRequest::getMapId()const
{
return mapId_;
}
void DeletePositionMapRequest::setMapId(long mapId)
{
mapId_ = mapId;
setParameter("MapId", std::to_string(mapId));
}
std::string DeletePositionMapRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DeletePositionMapRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/DeletePositionMapResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
DeletePositionMapResult::DeletePositionMapResult() :
ServiceResult()
{}
DeletePositionMapResult::DeletePositionMapResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeletePositionMapResult::~DeletePositionMapResult()
{}
void DeletePositionMapResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string DeletePositionMapResult::getMessage()const
{
return message_;
}
std::string DeletePositionMapResult::getErrorMsg()const
{
return errorMsg_;
}
std::string DeletePositionMapResult::getData()const
{
return data_;
}
int DeletePositionMapResult::getErrorCode()const
{
return errorCode_;
}
bool DeletePositionMapResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,60 @@
/*
* 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/cloudwf/model/DeviceBatchCreateRequest.h>
using AlibabaCloud::Cloudwf::Model::DeviceBatchCreateRequest;
DeviceBatchCreateRequest::DeviceBatchCreateRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "DeviceBatchCreate")
{}
DeviceBatchCreateRequest::~DeviceBatchCreateRequest()
{}
std::string DeviceBatchCreateRequest::getSn()const
{
return sn_;
}
void DeviceBatchCreateRequest::setSn(const std::string& sn)
{
sn_ = sn;
setParameter("Sn", sn);
}
int DeviceBatchCreateRequest::getDeviceType()const
{
return deviceType_;
}
void DeviceBatchCreateRequest::setDeviceType(int deviceType)
{
deviceType_ = deviceType;
setParameter("DeviceType", std::to_string(deviceType));
}
std::string DeviceBatchCreateRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DeviceBatchCreateRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,73 @@
/*
* 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/cloudwf/model/DeviceBatchCreateResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
DeviceBatchCreateResult::DeviceBatchCreateResult() :
ServiceResult()
{}
DeviceBatchCreateResult::DeviceBatchCreateResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeviceBatchCreateResult::~DeviceBatchCreateResult()
{}
void DeviceBatchCreateResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string DeviceBatchCreateResult::getErrorMsg()const
{
return errorMsg_;
}
std::string DeviceBatchCreateResult::getData()const
{
return data_;
}
int DeviceBatchCreateResult::getErrorCode()const
{
return errorCode_;
}
bool DeviceBatchCreateResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,93 @@
/*
* 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/cloudwf/model/DeviceCreateRequest.h>
using AlibabaCloud::Cloudwf::Model::DeviceCreateRequest;
DeviceCreateRequest::DeviceCreateRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "DeviceCreate")
{}
DeviceCreateRequest::~DeviceCreateRequest()
{}
std::string DeviceCreateRequest::getDeviceNum()const
{
return deviceNum_;
}
void DeviceCreateRequest::setDeviceNum(const std::string& deviceNum)
{
deviceNum_ = deviceNum;
setParameter("DeviceNum", deviceNum);
}
std::string DeviceCreateRequest::getDevicePosition()const
{
return devicePosition_;
}
void DeviceCreateRequest::setDevicePosition(const std::string& devicePosition)
{
devicePosition_ = devicePosition;
setParameter("DevicePosition", devicePosition);
}
std::string DeviceCreateRequest::getDeviceName()const
{
return deviceName_;
}
void DeviceCreateRequest::setDeviceName(const std::string& deviceName)
{
deviceName_ = deviceName;
setParameter("DeviceName", deviceName);
}
int DeviceCreateRequest::getDeviceType()const
{
return deviceType_;
}
void DeviceCreateRequest::setDeviceType(int deviceType)
{
deviceType_ = deviceType;
setParameter("DeviceType", std::to_string(deviceType));
}
std::string DeviceCreateRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DeviceCreateRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
long DeviceCreateRequest::getSid()const
{
return sid_;
}
void DeviceCreateRequest::setSid(long sid)
{
sid_ = sid;
setParameter("Sid", std::to_string(sid));
}

View File

@@ -0,0 +1,73 @@
/*
* 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/cloudwf/model/DeviceCreateResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
DeviceCreateResult::DeviceCreateResult() :
ServiceResult()
{}
DeviceCreateResult::DeviceCreateResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeviceCreateResult::~DeviceCreateResult()
{}
void DeviceCreateResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string DeviceCreateResult::getErrorMsg()const
{
return errorMsg_;
}
std::string DeviceCreateResult::getData()const
{
return data_;
}
int DeviceCreateResult::getErrorCode()const
{
return errorCode_;
}
bool DeviceCreateResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,60 @@
/*
* 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/cloudwf/model/DeviceDeleteRequest.h>
using AlibabaCloud::Cloudwf::Model::DeviceDeleteRequest;
DeviceDeleteRequest::DeviceDeleteRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "DeviceDelete")
{}
DeviceDeleteRequest::~DeviceDeleteRequest()
{}
long DeviceDeleteRequest::getDid()const
{
return did_;
}
void DeviceDeleteRequest::setDid(long did)
{
did_ = did;
setParameter("Did", std::to_string(did));
}
std::string DeviceDeleteRequest::getMac()const
{
return mac_;
}
void DeviceDeleteRequest::setMac(const std::string& mac)
{
mac_ = mac;
setParameter("Mac", mac);
}
std::string DeviceDeleteRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DeviceDeleteRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,73 @@
/*
* 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/cloudwf/model/DeviceDeleteResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
DeviceDeleteResult::DeviceDeleteResult() :
ServiceResult()
{}
DeviceDeleteResult::DeviceDeleteResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeviceDeleteResult::~DeviceDeleteResult()
{}
void DeviceDeleteResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string DeviceDeleteResult::getErrorMsg()const
{
return errorMsg_;
}
std::string DeviceDeleteResult::getData()const
{
return data_;
}
int DeviceDeleteResult::getErrorCode()const
{
return errorCode_;
}
bool DeviceDeleteResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,93 @@
/*
* 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/cloudwf/model/DeviceShowListRequest.h>
using AlibabaCloud::Cloudwf::Model::DeviceShowListRequest;
DeviceShowListRequest::DeviceShowListRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "DeviceShowList")
{}
DeviceShowListRequest::~DeviceShowListRequest()
{}
std::string DeviceShowListRequest::getDirc()const
{
return dirc_;
}
void DeviceShowListRequest::setDirc(const std::string& dirc)
{
dirc_ = dirc;
setParameter("Dirc", dirc);
}
int DeviceShowListRequest::getPage()const
{
return page_;
}
void DeviceShowListRequest::setPage(int page)
{
page_ = page;
setParameter("Page", std::to_string(page));
}
int DeviceShowListRequest::getPer()const
{
return per_;
}
void DeviceShowListRequest::setPer(int per)
{
per_ = per;
setParameter("Per", std::to_string(per));
}
int DeviceShowListRequest::getDeviceType()const
{
return deviceType_;
}
void DeviceShowListRequest::setDeviceType(int deviceType)
{
deviceType_ = deviceType;
setParameter("DeviceType", std::to_string(deviceType));
}
std::string DeviceShowListRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DeviceShowListRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
long DeviceShowListRequest::getSid()const
{
return sid_;
}
void DeviceShowListRequest::setSid(long sid)
{
sid_ = sid;
setParameter("Sid", std::to_string(sid));
}

View File

@@ -0,0 +1,73 @@
/*
* 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/cloudwf/model/DeviceShowListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
DeviceShowListResult::DeviceShowListResult() :
ServiceResult()
{}
DeviceShowListResult::DeviceShowListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeviceShowListResult::~DeviceShowListResult()
{}
void DeviceShowListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string DeviceShowListResult::getErrorMsg()const
{
return errorMsg_;
}
std::string DeviceShowListResult::getData()const
{
return data_;
}
int DeviceShowListResult::getErrorCode()const
{
return errorCode_;
}
bool DeviceShowListResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,71 @@
/*
* 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/cloudwf/model/DeviceUpdateRequest.h>
using AlibabaCloud::Cloudwf::Model::DeviceUpdateRequest;
DeviceUpdateRequest::DeviceUpdateRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "DeviceUpdate")
{}
DeviceUpdateRequest::~DeviceUpdateRequest()
{}
std::string DeviceUpdateRequest::getDevicePosition()const
{
return devicePosition_;
}
void DeviceUpdateRequest::setDevicePosition(const std::string& devicePosition)
{
devicePosition_ = devicePosition;
setParameter("DevicePosition", devicePosition);
}
std::string DeviceUpdateRequest::getDeviceName()const
{
return deviceName_;
}
void DeviceUpdateRequest::setDeviceName(const std::string& deviceName)
{
deviceName_ = deviceName;
setParameter("DeviceName", deviceName);
}
long DeviceUpdateRequest::getDid()const
{
return did_;
}
void DeviceUpdateRequest::setDid(long did)
{
did_ = did;
setParameter("Did", std::to_string(did));
}
std::string DeviceUpdateRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DeviceUpdateRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,73 @@
/*
* 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/cloudwf/model/DeviceUpdateResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
DeviceUpdateResult::DeviceUpdateResult() :
ServiceResult()
{}
DeviceUpdateResult::DeviceUpdateResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeviceUpdateResult::~DeviceUpdateResult()
{}
void DeviceUpdateResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string DeviceUpdateResult::getErrorMsg()const
{
return errorMsg_;
}
std::string DeviceUpdateResult::getData()const
{
return data_;
}
int DeviceUpdateResult::getErrorCode()const
{
return errorCode_;
}
bool DeviceUpdateResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,49 @@
/*
* 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/cloudwf/model/ExcelToJsonRequest.h>
using AlibabaCloud::Cloudwf::Model::ExcelToJsonRequest;
ExcelToJsonRequest::ExcelToJsonRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "ExcelToJson")
{}
ExcelToJsonRequest::~ExcelToJsonRequest()
{}
std::string ExcelToJsonRequest::getUploadData()const
{
return uploadData_;
}
void ExcelToJsonRequest::setUploadData(const std::string& uploadData)
{
uploadData_ = uploadData;
setParameter("UploadData", uploadData);
}
std::string ExcelToJsonRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void ExcelToJsonRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/ExcelToJsonResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
ExcelToJsonResult::ExcelToJsonResult() :
ServiceResult()
{}
ExcelToJsonResult::ExcelToJsonResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ExcelToJsonResult::~ExcelToJsonResult()
{}
void ExcelToJsonResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string ExcelToJsonResult::getMessage()const
{
return message_;
}
std::string ExcelToJsonResult::getErrorMsg()const
{
return errorMsg_;
}
std::string ExcelToJsonResult::getData()const
{
return data_;
}
int ExcelToJsonResult::getErrorCode()const
{
return errorCode_;
}
bool ExcelToJsonResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,49 @@
/*
* 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/cloudwf/model/FindApRequest.h>
using AlibabaCloud::Cloudwf::Model::FindApRequest;
FindApRequest::FindApRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "FindAp")
{}
FindApRequest::~FindApRequest()
{}
long FindApRequest::getId()const
{
return id_;
}
void FindApRequest::setId(long id)
{
id_ = id;
setParameter("Id", std::to_string(id));
}
std::string FindApRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void FindApRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/FindApResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
FindApResult::FindApResult() :
ServiceResult()
{}
FindApResult::FindApResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
FindApResult::~FindApResult()
{}
void FindApResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string FindApResult::getMessage()const
{
return message_;
}
std::string FindApResult::getErrorMsg()const
{
return errorMsg_;
}
std::string FindApResult::getData()const
{
return data_;
}
int FindApResult::getErrorCode()const
{
return errorCode_;
}
bool FindApResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,49 @@
/*
* 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/cloudwf/model/FrequencyAnalyseRequest.h>
using AlibabaCloud::Cloudwf::Model::FrequencyAnalyseRequest;
FrequencyAnalyseRequest::FrequencyAnalyseRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "FrequencyAnalyse")
{}
FrequencyAnalyseRequest::~FrequencyAnalyseRequest()
{}
long FrequencyAnalyseRequest::getGsid()const
{
return gsid_;
}
void FrequencyAnalyseRequest::setGsid(long gsid)
{
gsid_ = gsid;
setParameter("Gsid", std::to_string(gsid));
}
std::string FrequencyAnalyseRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void FrequencyAnalyseRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,73 @@
/*
* 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/cloudwf/model/FrequencyAnalyseResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
FrequencyAnalyseResult::FrequencyAnalyseResult() :
ServiceResult()
{}
FrequencyAnalyseResult::FrequencyAnalyseResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
FrequencyAnalyseResult::~FrequencyAnalyseResult()
{}
void FrequencyAnalyseResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string FrequencyAnalyseResult::getErrorMsg()const
{
return errorMsg_;
}
std::string FrequencyAnalyseResult::getData()const
{
return data_;
}
int FrequencyAnalyseResult::getErrorCode()const
{
return errorCode_;
}
bool FrequencyAnalyseResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,49 @@
/*
* 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/cloudwf/model/GetAccountConfigRequest.h>
using AlibabaCloud::Cloudwf::Model::GetAccountConfigRequest;
GetAccountConfigRequest::GetAccountConfigRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "GetAccountConfig")
{}
GetAccountConfigRequest::~GetAccountConfigRequest()
{}
long GetAccountConfigRequest::getId()const
{
return id_;
}
void GetAccountConfigRequest::setId(long id)
{
id_ = id;
setParameter("Id", std::to_string(id));
}
std::string GetAccountConfigRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void GetAccountConfigRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/GetAccountConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
GetAccountConfigResult::GetAccountConfigResult() :
ServiceResult()
{}
GetAccountConfigResult::GetAccountConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetAccountConfigResult::~GetAccountConfigResult()
{}
void GetAccountConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string GetAccountConfigResult::getMessage()const
{
return message_;
}
std::string GetAccountConfigResult::getErrorMsg()const
{
return errorMsg_;
}
std::string GetAccountConfigResult::getData()const
{
return data_;
}
int GetAccountConfigResult::getErrorCode()const
{
return errorCode_;
}
bool GetAccountConfigResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,49 @@
/*
* 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/cloudwf/model/GetAddApsProgressRequest.h>
using AlibabaCloud::Cloudwf::Model::GetAddApsProgressRequest;
GetAddApsProgressRequest::GetAddApsProgressRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "GetAddApsProgress")
{}
GetAddApsProgressRequest::~GetAddApsProgressRequest()
{}
long GetAddApsProgressRequest::getId()const
{
return id_;
}
void GetAddApsProgressRequest::setId(long id)
{
id_ = id;
setParameter("Id", std::to_string(id));
}
std::string GetAddApsProgressRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void GetAddApsProgressRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/GetAddApsProgressResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
GetAddApsProgressResult::GetAddApsProgressResult() :
ServiceResult()
{}
GetAddApsProgressResult::GetAddApsProgressResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetAddApsProgressResult::~GetAddApsProgressResult()
{}
void GetAddApsProgressResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string GetAddApsProgressResult::getMessage()const
{
return message_;
}
std::string GetAddApsProgressResult::getErrorMsg()const
{
return errorMsg_;
}
std::string GetAddApsProgressResult::getData()const
{
return data_;
}
int GetAddApsProgressResult::getErrorCode()const
{
return errorCode_;
}
bool GetAddApsProgressResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,61 @@
/*
* 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/cloudwf/model/GetAllActiveShopByGroupRequest.h>
using AlibabaCloud::Cloudwf::Model::GetAllActiveShopByGroupRequest;
GetAllActiveShopByGroupRequest::GetAllActiveShopByGroupRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "GetAllActiveShopByGroup")
{}
GetAllActiveShopByGroupRequest::~GetAllActiveShopByGroupRequest()
{}
std::vector<long> GetAllActiveShopByGroupRequest::getGids()const
{
return gids_;
}
void GetAllActiveShopByGroupRequest::setGids(const std::vector<long>& gids)
{
gids_ = gids;
for(int i = 0; i!= gids.size(); i++)
setParameter("Gids."+ std::to_string(i), std::to_string(gids.at(i)));
}
long GetAllActiveShopByGroupRequest::getBid()const
{
return bid_;
}
void GetAllActiveShopByGroupRequest::setBid(long bid)
{
bid_ = bid;
setParameter("Bid", std::to_string(bid));
}
std::string GetAllActiveShopByGroupRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void GetAllActiveShopByGroupRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/GetAllActiveShopByGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
GetAllActiveShopByGroupResult::GetAllActiveShopByGroupResult() :
ServiceResult()
{}
GetAllActiveShopByGroupResult::GetAllActiveShopByGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetAllActiveShopByGroupResult::~GetAllActiveShopByGroupResult()
{}
void GetAllActiveShopByGroupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string GetAllActiveShopByGroupResult::getMessage()const
{
return message_;
}
std::string GetAllActiveShopByGroupResult::getErrorMsg()const
{
return errorMsg_;
}
std::string GetAllActiveShopByGroupResult::getData()const
{
return data_;
}
int GetAllActiveShopByGroupResult::getErrorCode()const
{
return errorCode_;
}
bool GetAllActiveShopByGroupResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,38 @@
/*
* 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/cloudwf/model/GetAllApModelRequest.h>
using AlibabaCloud::Cloudwf::Model::GetAllApModelRequest;
GetAllApModelRequest::GetAllApModelRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "GetAllApModel")
{}
GetAllApModelRequest::~GetAllApModelRequest()
{}
std::string GetAllApModelRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void GetAllApModelRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/GetAllApModelResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
GetAllApModelResult::GetAllApModelResult() :
ServiceResult()
{}
GetAllApModelResult::GetAllApModelResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetAllApModelResult::~GetAllApModelResult()
{}
void GetAllApModelResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string GetAllApModelResult::getMessage()const
{
return message_;
}
std::string GetAllApModelResult::getErrorMsg()const
{
return errorMsg_;
}
std::string GetAllApModelResult::getData()const
{
return data_;
}
int GetAllApModelResult::getErrorCode()const
{
return errorCode_;
}
bool GetAllApModelResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,49 @@
/*
* 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/cloudwf/model/GetApDetailedConfigRequest.h>
using AlibabaCloud::Cloudwf::Model::GetApDetailedConfigRequest;
GetApDetailedConfigRequest::GetApDetailedConfigRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "GetApDetailedConfig")
{}
GetApDetailedConfigRequest::~GetApDetailedConfigRequest()
{}
long GetApDetailedConfigRequest::getId()const
{
return id_;
}
void GetApDetailedConfigRequest::setId(long id)
{
id_ = id;
setParameter("Id", std::to_string(id));
}
std::string GetApDetailedConfigRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void GetApDetailedConfigRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/GetApDetailedConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
GetApDetailedConfigResult::GetApDetailedConfigResult() :
ServiceResult()
{}
GetApDetailedConfigResult::GetApDetailedConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetApDetailedConfigResult::~GetApDetailedConfigResult()
{}
void GetApDetailedConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string GetApDetailedConfigResult::getMessage()const
{
return message_;
}
std::string GetApDetailedConfigResult::getErrorMsg()const
{
return errorMsg_;
}
std::string GetApDetailedConfigResult::getData()const
{
return data_;
}
int GetApDetailedConfigResult::getErrorCode()const
{
return errorCode_;
}
bool GetApDetailedConfigResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,49 @@
/*
* 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/cloudwf/model/GetApDetailedStatusRequest.h>
using AlibabaCloud::Cloudwf::Model::GetApDetailedStatusRequest;
GetApDetailedStatusRequest::GetApDetailedStatusRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "GetApDetailedStatus")
{}
GetApDetailedStatusRequest::~GetApDetailedStatusRequest()
{}
long GetApDetailedStatusRequest::getId()const
{
return id_;
}
void GetApDetailedStatusRequest::setId(long id)
{
id_ = id;
setParameter("Id", std::to_string(id));
}
std::string GetApDetailedStatusRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void GetApDetailedStatusRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/GetApDetailedStatusResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
GetApDetailedStatusResult::GetApDetailedStatusResult() :
ServiceResult()
{}
GetApDetailedStatusResult::GetApDetailedStatusResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetApDetailedStatusResult::~GetApDetailedStatusResult()
{}
void GetApDetailedStatusResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string GetApDetailedStatusResult::getMessage()const
{
return message_;
}
std::string GetApDetailedStatusResult::getErrorMsg()const
{
return errorMsg_;
}
std::string GetApDetailedStatusResult::getData()const
{
return data_;
}
int GetApDetailedStatusResult::getErrorCode()const
{
return errorCode_;
}
bool GetApDetailedStatusResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,60 @@
/*
* 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/cloudwf/model/GetApPortalBindRequest.h>
using AlibabaCloud::Cloudwf::Model::GetApPortalBindRequest;
GetApPortalBindRequest::GetApPortalBindRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "GetApPortalBind")
{}
GetApPortalBindRequest::~GetApPortalBindRequest()
{}
int GetApPortalBindRequest::getConfigType()const
{
return configType_;
}
void GetApPortalBindRequest::setConfigType(int configType)
{
configType_ = configType;
setParameter("ConfigType", std::to_string(configType));
}
long GetApPortalBindRequest::getBindId()const
{
return bindId_;
}
void GetApPortalBindRequest::setBindId(long bindId)
{
bindId_ = bindId;
setParameter("BindId", std::to_string(bindId));
}
std::string GetApPortalBindRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void GetApPortalBindRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/GetApPortalBindResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
GetApPortalBindResult::GetApPortalBindResult() :
ServiceResult()
{}
GetApPortalBindResult::GetApPortalBindResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetApPortalBindResult::~GetApPortalBindResult()
{}
void GetApPortalBindResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string GetApPortalBindResult::getMessage()const
{
return message_;
}
std::string GetApPortalBindResult::getErrorMsg()const
{
return errorMsg_;
}
std::string GetApPortalBindResult::getData()const
{
return data_;
}
int GetApPortalBindResult::getErrorCode()const
{
return errorCode_;
}
bool GetApPortalBindResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,71 @@
/*
* 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/cloudwf/model/GetApRunHistoryTimeSerRequest.h>
using AlibabaCloud::Cloudwf::Model::GetApRunHistoryTimeSerRequest;
GetApRunHistoryTimeSerRequest::GetApRunHistoryTimeSerRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "GetApRunHistoryTimeSer")
{}
GetApRunHistoryTimeSerRequest::~GetApRunHistoryTimeSerRequest()
{}
long GetApRunHistoryTimeSerRequest::getStart()const
{
return start_;
}
void GetApRunHistoryTimeSerRequest::setStart(long start)
{
start_ = start;
setParameter("Start", std::to_string(start));
}
long GetApRunHistoryTimeSerRequest::getEnd()const
{
return end_;
}
void GetApRunHistoryTimeSerRequest::setEnd(long end)
{
end_ = end;
setParameter("End", std::to_string(end));
}
long GetApRunHistoryTimeSerRequest::getId()const
{
return id_;
}
void GetApRunHistoryTimeSerRequest::setId(long id)
{
id_ = id;
setParameter("Id", std::to_string(id));
}
std::string GetApRunHistoryTimeSerRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void GetApRunHistoryTimeSerRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/GetApRunHistoryTimeSerResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
GetApRunHistoryTimeSerResult::GetApRunHistoryTimeSerResult() :
ServiceResult()
{}
GetApRunHistoryTimeSerResult::GetApRunHistoryTimeSerResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetApRunHistoryTimeSerResult::~GetApRunHistoryTimeSerResult()
{}
void GetApRunHistoryTimeSerResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string GetApRunHistoryTimeSerResult::getMessage()const
{
return message_;
}
std::string GetApRunHistoryTimeSerResult::getErrorMsg()const
{
return errorMsg_;
}
std::string GetApRunHistoryTimeSerResult::getData()const
{
return data_;
}
int GetApRunHistoryTimeSerResult::getErrorCode()const
{
return errorCode_;
}
bool GetApRunHistoryTimeSerResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,49 @@
/*
* 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/cloudwf/model/GetApStaMiscAggRequest.h>
using AlibabaCloud::Cloudwf::Model::GetApStaMiscAggRequest;
GetApStaMiscAggRequest::GetApStaMiscAggRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "GetApStaMiscAgg")
{}
GetApStaMiscAggRequest::~GetApStaMiscAggRequest()
{}
long GetApStaMiscAggRequest::getApgroupId()const
{
return apgroupId_;
}
void GetApStaMiscAggRequest::setApgroupId(long apgroupId)
{
apgroupId_ = apgroupId;
setParameter("ApgroupId", std::to_string(apgroupId));
}
std::string GetApStaMiscAggRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void GetApStaMiscAggRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/GetApStaMiscAggResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
GetApStaMiscAggResult::GetApStaMiscAggResult() :
ServiceResult()
{}
GetApStaMiscAggResult::GetApStaMiscAggResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetApStaMiscAggResult::~GetApStaMiscAggResult()
{}
void GetApStaMiscAggResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string GetApStaMiscAggResult::getMessage()const
{
return message_;
}
std::string GetApStaMiscAggResult::getErrorMsg()const
{
return errorMsg_;
}
std::string GetApStaMiscAggResult::getData()const
{
return data_;
}
int GetApStaMiscAggResult::getErrorCode()const
{
return errorCode_;
}
bool GetApStaMiscAggResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,49 @@
/*
* 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/cloudwf/model/GetApTopRequest.h>
using AlibabaCloud::Cloudwf::Model::GetApTopRequest;
GetApTopRequest::GetApTopRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "GetApTop")
{}
GetApTopRequest::~GetApTopRequest()
{}
long GetApTopRequest::getApgroupId()const
{
return apgroupId_;
}
void GetApTopRequest::setApgroupId(long apgroupId)
{
apgroupId_ = apgroupId;
setParameter("ApgroupId", std::to_string(apgroupId));
}
std::string GetApTopRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void GetApTopRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/cloudwf/model/GetApTopResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudwf;
using namespace AlibabaCloud::Cloudwf::Model;
GetApTopResult::GetApTopResult() :
ServiceResult()
{}
GetApTopResult::GetApTopResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetApTopResult::~GetApTopResult()
{}
void GetApTopResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string GetApTopResult::getMessage()const
{
return message_;
}
std::string GetApTopResult::getErrorMsg()const
{
return errorMsg_;
}
std::string GetApTopResult::getData()const
{
return data_;
}
int GetApTopResult::getErrorCode()const
{
return errorCode_;
}
bool GetApTopResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,49 @@
/*
* 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/cloudwf/model/GetApgroupConfigProgressRequest.h>
using AlibabaCloud::Cloudwf::Model::GetApgroupConfigProgressRequest;
GetApgroupConfigProgressRequest::GetApgroupConfigProgressRequest() :
RpcServiceRequest("cloudwf", "2017-03-28", "GetApgroupConfigProgress")
{}
GetApgroupConfigProgressRequest::~GetApgroupConfigProgressRequest()
{}
long GetApgroupConfigProgressRequest::getId()const
{
return id_;
}
void GetApgroupConfigProgressRequest::setId(long id)
{
id_ = id;
setParameter("Id", std::to_string(id));
}
std::string GetApgroupConfigProgressRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void GetApgroupConfigProgressRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

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