Rebuild sdk (#60)

* rebuild sdk

* fixed ut include Utils.h
This commit is contained in:
Axios
2019-08-14 14:34:09 +08:00
committed by GitHub
parent f3d9843e63
commit c43307bc80
11893 changed files with 462166 additions and 221301 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/CompareFaceRequest.h>
using AlibabaCloud::Imm::Model::CompareFaceRequest;
CompareFaceRequest::CompareFaceRequest() :
RpcServiceRequest("imm", "2017-09-06", "CompareFace")
{}
CompareFaceRequest::~CompareFaceRequest()
{}
/*
* 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/imm/model/CompareFaceRequest.h>
using AlibabaCloud::Imm::Model::CompareFaceRequest;
CompareFaceRequest::CompareFaceRequest() :
RpcServiceRequest("imm", "2017-09-06", "CompareFace")
{}
CompareFaceRequest::~CompareFaceRequest()
{}
std::string CompareFaceRequest::getRegionId()const
{
return regionId_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/CompareFaceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CompareFaceResult::CompareFaceResult() :
ServiceResult()
{}
CompareFaceResult::CompareFaceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CompareFaceResult::~CompareFaceResult()
{}
void CompareFaceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/CompareFaceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CompareFaceResult::CompareFaceResult() :
ServiceResult()
{}
CompareFaceResult::CompareFaceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CompareFaceResult::~CompareFaceResult()
{}
void CompareFaceResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allCompareResult = value["CompareResult"]["CompareResultItem"];
for (auto value : allCompareResult)
{
@@ -60,9 +63,9 @@ void CompareFaceResult::parse(const std::string &payload)
compareResultObject.faceB.axis1.push_back(value.asString());
compareResult_.push_back(compareResultObject);
}
}
}
std::vector<CompareFaceResult::CompareResultItem> CompareFaceResult::getCompareResult()const
{
return compareResult_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/CompareImageFacesRequest.h>
using AlibabaCloud::Imm::Model::CompareImageFacesRequest;
CompareImageFacesRequest::CompareImageFacesRequest() :
RpcServiceRequest("imm", "2017-09-06", "CompareImageFaces")
{}
CompareImageFacesRequest::~CompareImageFacesRequest()
{}
/*
* 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/imm/model/CompareImageFacesRequest.h>
using AlibabaCloud::Imm::Model::CompareImageFacesRequest;
CompareImageFacesRequest::CompareImageFacesRequest() :
RpcServiceRequest("imm", "2017-09-06", "CompareImageFaces")
{}
CompareImageFacesRequest::~CompareImageFacesRequest()
{}
std::string CompareImageFacesRequest::getRegionId()const
{
return regionId_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/CompareImageFacesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CompareImageFacesResult::CompareImageFacesResult() :
ServiceResult()
{}
CompareImageFacesResult::CompareImageFacesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CompareImageFacesResult::~CompareImageFacesResult()
{}
void CompareImageFacesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/CompareImageFacesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CompareImageFacesResult::CompareImageFacesResult() :
ServiceResult()
{}
CompareImageFacesResult::CompareImageFacesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CompareImageFacesResult::~CompareImageFacesResult()
{}
void CompareImageFacesResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto faceANode = value["FaceA"];
if(!faceANode["FaceId"].isNull())
faceA_.faceId = faceANode["FaceId"].asString();
@@ -70,9 +73,9 @@ void CompareImageFacesResult::parse(const std::string &payload)
setId_ = value["SetId"].asString();
if(!value["Similarity"].isNull())
similarity_ = std::stof(value["Similarity"].asString());
}
}
float CompareImageFacesResult::getSimilarity()const
{
return similarity_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/ConvertOfficeFormatRequest.h>
using AlibabaCloud::Imm::Model::ConvertOfficeFormatRequest;
ConvertOfficeFormatRequest::ConvertOfficeFormatRequest() :
RpcServiceRequest("imm", "2017-09-06", "ConvertOfficeFormat")
{}
ConvertOfficeFormatRequest::~ConvertOfficeFormatRequest()
{}
/*
* 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/imm/model/ConvertOfficeFormatRequest.h>
using AlibabaCloud::Imm::Model::ConvertOfficeFormatRequest;
ConvertOfficeFormatRequest::ConvertOfficeFormatRequest() :
RpcServiceRequest("imm", "2017-09-06", "ConvertOfficeFormat")
{}
ConvertOfficeFormatRequest::~ConvertOfficeFormatRequest()
{}
std::string ConvertOfficeFormatRequest::getSrcType()const
{
return srcType_;

View File

@@ -1,50 +1,53 @@
/*
* 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/imm/model/ConvertOfficeFormatResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
ConvertOfficeFormatResult::ConvertOfficeFormatResult() :
ServiceResult()
{}
ConvertOfficeFormatResult::ConvertOfficeFormatResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ConvertOfficeFormatResult::~ConvertOfficeFormatResult()
{}
void ConvertOfficeFormatResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/ConvertOfficeFormatResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
ConvertOfficeFormatResult::ConvertOfficeFormatResult() :
ServiceResult()
{}
ConvertOfficeFormatResult::ConvertOfficeFormatResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ConvertOfficeFormatResult::~ConvertOfficeFormatResult()
{}
void ConvertOfficeFormatResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["PageCount"].isNull())
pageCount_ = std::stoi(value["PageCount"].asString());
}
}
int ConvertOfficeFormatResult::getPageCount()const
{
return pageCount_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/CreateCADConversionTaskRequest.h>
using AlibabaCloud::Imm::Model::CreateCADConversionTaskRequest;
CreateCADConversionTaskRequest::CreateCADConversionTaskRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreateCADConversionTask")
{}
CreateCADConversionTaskRequest::~CreateCADConversionTaskRequest()
{}
/*
* 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/imm/model/CreateCADConversionTaskRequest.h>
using AlibabaCloud::Imm::Model::CreateCADConversionTaskRequest;
CreateCADConversionTaskRequest::CreateCADConversionTaskRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreateCADConversionTask")
{}
CreateCADConversionTaskRequest::~CreateCADConversionTaskRequest()
{}
std::string CreateCADConversionTaskRequest::getSrcType()const
{
return srcType_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/CreateCADConversionTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreateCADConversionTaskResult::CreateCADConversionTaskResult() :
ServiceResult()
{}
CreateCADConversionTaskResult::CreateCADConversionTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateCADConversionTaskResult::~CreateCADConversionTaskResult()
{}
void CreateCADConversionTaskResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/CreateCADConversionTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreateCADConversionTaskResult::CreateCADConversionTaskResult() :
ServiceResult()
{}
CreateCADConversionTaskResult::CreateCADConversionTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateCADConversionTaskResult::~CreateCADConversionTaskResult()
{}
void CreateCADConversionTaskResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["TaskId"].isNull())
taskId_ = value["TaskId"].asString();
if(!value["TgtLoc"].isNull())
@@ -50,9 +53,9 @@ void CreateCADConversionTaskResult::parse(const std::string &payload)
createTime_ = value["CreateTime"].asString();
if(!value["Percent"].isNull())
percent_ = std::stoi(value["Percent"].asString());
}
}
std::string CreateCADConversionTaskResult::getStatus()const
{
return status_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/CreateDocIndexTaskRequest.h>
using AlibabaCloud::Imm::Model::CreateDocIndexTaskRequest;
CreateDocIndexTaskRequest::CreateDocIndexTaskRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreateDocIndexTask")
{}
CreateDocIndexTaskRequest::~CreateDocIndexTaskRequest()
{}
/*
* 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/imm/model/CreateDocIndexTaskRequest.h>
using AlibabaCloud::Imm::Model::CreateDocIndexTaskRequest;
CreateDocIndexTaskRequest::CreateDocIndexTaskRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreateDocIndexTask")
{}
CreateDocIndexTaskRequest::~CreateDocIndexTaskRequest()
{}
std::string CreateDocIndexTaskRequest::getCustomKey1()const
{
return customKey1_;

View File

@@ -1,54 +1,57 @@
/*
* 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/imm/model/CreateDocIndexTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreateDocIndexTaskResult::CreateDocIndexTaskResult() :
ServiceResult()
{}
CreateDocIndexTaskResult::CreateDocIndexTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateDocIndexTaskResult::~CreateDocIndexTaskResult()
{}
void CreateDocIndexTaskResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/CreateDocIndexTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreateDocIndexTaskResult::CreateDocIndexTaskResult() :
ServiceResult()
{}
CreateDocIndexTaskResult::CreateDocIndexTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateDocIndexTaskResult::~CreateDocIndexTaskResult()
{}
void CreateDocIndexTaskResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["TaskId"].isNull())
taskId_ = value["TaskId"].asString();
if(!value["Status"].isNull())
status_ = value["Status"].asString();
if(!value["CreateTime"].isNull())
createTime_ = value["CreateTime"].asString();
}
}
std::string CreateDocIndexTaskResult::getStatus()const
{
return status_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/CreateFaceSetRequest.h>
using AlibabaCloud::Imm::Model::CreateFaceSetRequest;
CreateFaceSetRequest::CreateFaceSetRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreateFaceSet")
{}
CreateFaceSetRequest::~CreateFaceSetRequest()
{}
/*
* 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/imm/model/CreateFaceSetRequest.h>
using AlibabaCloud::Imm::Model::CreateFaceSetRequest;
CreateFaceSetRequest::CreateFaceSetRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreateFaceSet")
{}
CreateFaceSetRequest::~CreateFaceSetRequest()
{}
std::string CreateFaceSetRequest::getRegionId()const
{
return regionId_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/CreateFaceSetResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreateFaceSetResult::CreateFaceSetResult() :
ServiceResult()
{}
CreateFaceSetResult::CreateFaceSetResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateFaceSetResult::~CreateFaceSetResult()
{}
void CreateFaceSetResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/CreateFaceSetResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreateFaceSetResult::CreateFaceSetResult() :
ServiceResult()
{}
CreateFaceSetResult::CreateFaceSetResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateFaceSetResult::~CreateFaceSetResult()
{}
void CreateFaceSetResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["SetId"].isNull())
setId_ = value["SetId"].asString();
if(!value["Status"].isNull())
@@ -52,9 +55,9 @@ void CreateFaceSetResult::parse(const std::string &payload)
modifyTime_ = value["ModifyTime"].asString();
if(!value["Faces"].isNull())
faces_ = std::stol(value["Faces"].asString());
}
}
std::string CreateFaceSetResult::getStatus()const
{
return status_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/CreateGroupFacesJobRequest.h>
using AlibabaCloud::Imm::Model::CreateGroupFacesJobRequest;
CreateGroupFacesJobRequest::CreateGroupFacesJobRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreateGroupFacesJob")
{}
CreateGroupFacesJobRequest::~CreateGroupFacesJobRequest()
{}
/*
* 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/imm/model/CreateGroupFacesJobRequest.h>
using AlibabaCloud::Imm::Model::CreateGroupFacesJobRequest;
CreateGroupFacesJobRequest::CreateGroupFacesJobRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreateGroupFacesJob")
{}
CreateGroupFacesJobRequest::~CreateGroupFacesJobRequest()
{}
std::string CreateGroupFacesJobRequest::getNotifyTopicName()const
{
return notifyTopicName_;

View File

@@ -1,54 +1,57 @@
/*
* 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/imm/model/CreateGroupFacesJobResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreateGroupFacesJobResult::CreateGroupFacesJobResult() :
ServiceResult()
{}
CreateGroupFacesJobResult::CreateGroupFacesJobResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateGroupFacesJobResult::~CreateGroupFacesJobResult()
{}
void CreateGroupFacesJobResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/CreateGroupFacesJobResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreateGroupFacesJobResult::CreateGroupFacesJobResult() :
ServiceResult()
{}
CreateGroupFacesJobResult::CreateGroupFacesJobResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateGroupFacesJobResult::~CreateGroupFacesJobResult()
{}
void CreateGroupFacesJobResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["JobId"].isNull())
jobId_ = value["JobId"].asString();
if(!value["SetId"].isNull())
setId_ = value["SetId"].asString();
if(!value["JobType"].isNull())
jobType_ = value["JobType"].asString();
}
}
std::string CreateGroupFacesJobResult::getJobType()const
{
return jobType_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/CreateMergeFaceGroupsJobRequest.h>
using AlibabaCloud::Imm::Model::CreateMergeFaceGroupsJobRequest;
CreateMergeFaceGroupsJobRequest::CreateMergeFaceGroupsJobRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreateMergeFaceGroupsJob")
{}
CreateMergeFaceGroupsJobRequest::~CreateMergeFaceGroupsJobRequest()
{}
/*
* 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/imm/model/CreateMergeFaceGroupsJobRequest.h>
using AlibabaCloud::Imm::Model::CreateMergeFaceGroupsJobRequest;
CreateMergeFaceGroupsJobRequest::CreateMergeFaceGroupsJobRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreateMergeFaceGroupsJob")
{}
CreateMergeFaceGroupsJobRequest::~CreateMergeFaceGroupsJobRequest()
{}
std::string CreateMergeFaceGroupsJobRequest::getGroupIdFrom()const
{
return groupIdFrom_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/CreateMergeFaceGroupsJobResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreateMergeFaceGroupsJobResult::CreateMergeFaceGroupsJobResult() :
ServiceResult()
{}
CreateMergeFaceGroupsJobResult::CreateMergeFaceGroupsJobResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateMergeFaceGroupsJobResult::~CreateMergeFaceGroupsJobResult()
{}
void CreateMergeFaceGroupsJobResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/CreateMergeFaceGroupsJobResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreateMergeFaceGroupsJobResult::CreateMergeFaceGroupsJobResult() :
ServiceResult()
{}
CreateMergeFaceGroupsJobResult::CreateMergeFaceGroupsJobResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateMergeFaceGroupsJobResult::~CreateMergeFaceGroupsJobResult()
{}
void CreateMergeFaceGroupsJobResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["JobId"].isNull())
jobId_ = value["JobId"].asString();
if(!value["SetId"].isNull())
@@ -50,9 +53,9 @@ void CreateMergeFaceGroupsJobResult::parse(const std::string &payload)
groupIdTo_ = value["GroupIdTo"].asString();
if(!value["GroupIdFrom"].isNull())
groupIdFrom_ = value["GroupIdFrom"].asString();
}
}
std::string CreateMergeFaceGroupsJobResult::getGroupIdFrom()const
{
return groupIdFrom_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/CreateOfficeConversionTaskRequest.h>
using AlibabaCloud::Imm::Model::CreateOfficeConversionTaskRequest;
CreateOfficeConversionTaskRequest::CreateOfficeConversionTaskRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreateOfficeConversionTask")
{}
CreateOfficeConversionTaskRequest::~CreateOfficeConversionTaskRequest()
{}
/*
* 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/imm/model/CreateOfficeConversionTaskRequest.h>
using AlibabaCloud::Imm::Model::CreateOfficeConversionTaskRequest;
CreateOfficeConversionTaskRequest::CreateOfficeConversionTaskRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreateOfficeConversionTask")
{}
CreateOfficeConversionTaskRequest::~CreateOfficeConversionTaskRequest()
{}
std::string CreateOfficeConversionTaskRequest::getSrcType()const
{
return srcType_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/CreateOfficeConversionTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreateOfficeConversionTaskResult::CreateOfficeConversionTaskResult() :
ServiceResult()
{}
CreateOfficeConversionTaskResult::CreateOfficeConversionTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateOfficeConversionTaskResult::~CreateOfficeConversionTaskResult()
{}
void CreateOfficeConversionTaskResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/CreateOfficeConversionTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreateOfficeConversionTaskResult::CreateOfficeConversionTaskResult() :
ServiceResult()
{}
CreateOfficeConversionTaskResult::CreateOfficeConversionTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateOfficeConversionTaskResult::~CreateOfficeConversionTaskResult()
{}
void CreateOfficeConversionTaskResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["TaskId"].isNull())
taskId_ = value["TaskId"].asString();
if(!value["TgtLoc"].isNull())
@@ -50,9 +53,9 @@ void CreateOfficeConversionTaskResult::parse(const std::string &payload)
createTime_ = value["CreateTime"].asString();
if(!value["Percent"].isNull())
percent_ = std::stoi(value["Percent"].asString());
}
}
std::string CreateOfficeConversionTaskResult::getStatus()const
{
return status_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/CreatePornBatchDetectJobRequest.h>
using AlibabaCloud::Imm::Model::CreatePornBatchDetectJobRequest;
CreatePornBatchDetectJobRequest::CreatePornBatchDetectJobRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreatePornBatchDetectJob")
{}
CreatePornBatchDetectJobRequest::~CreatePornBatchDetectJobRequest()
{}
/*
* 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/imm/model/CreatePornBatchDetectJobRequest.h>
using AlibabaCloud::Imm::Model::CreatePornBatchDetectJobRequest;
CreatePornBatchDetectJobRequest::CreatePornBatchDetectJobRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreatePornBatchDetectJob")
{}
CreatePornBatchDetectJobRequest::~CreatePornBatchDetectJobRequest()
{}
std::string CreatePornBatchDetectJobRequest::getNotifyTopicName()const
{
return notifyTopicName_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/CreatePornBatchDetectJobResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreatePornBatchDetectJobResult::CreatePornBatchDetectJobResult() :
ServiceResult()
{}
CreatePornBatchDetectJobResult::CreatePornBatchDetectJobResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreatePornBatchDetectJobResult::~CreatePornBatchDetectJobResult()
{}
void CreatePornBatchDetectJobResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/CreatePornBatchDetectJobResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreatePornBatchDetectJobResult::CreatePornBatchDetectJobResult() :
ServiceResult()
{}
CreatePornBatchDetectJobResult::CreatePornBatchDetectJobResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreatePornBatchDetectJobResult::~CreatePornBatchDetectJobResult()
{}
void CreatePornBatchDetectJobResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["JobId"].isNull())
jobId_ = value["JobId"].asString();
if(!value["TgtLoc"].isNull())
@@ -50,9 +53,9 @@ void CreatePornBatchDetectJobResult::parse(const std::string &payload)
createTime_ = value["CreateTime"].asString();
if(!value["Percent"].isNull())
percent_ = std::stoi(value["Percent"].asString());
}
}
std::string CreatePornBatchDetectJobResult::getStatus()const
{
return status_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/CreateSetRequest.h>
using AlibabaCloud::Imm::Model::CreateSetRequest;
CreateSetRequest::CreateSetRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreateSet")
{}
CreateSetRequest::~CreateSetRequest()
{}
/*
* 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/imm/model/CreateSetRequest.h>
using AlibabaCloud::Imm::Model::CreateSetRequest;
CreateSetRequest::CreateSetRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreateSet")
{}
CreateSetRequest::~CreateSetRequest()
{}
std::string CreateSetRequest::getSetName()const
{
return setName_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/CreateSetResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreateSetResult::CreateSetResult() :
ServiceResult()
{}
CreateSetResult::CreateSetResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateSetResult::~CreateSetResult()
{}
void CreateSetResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/CreateSetResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreateSetResult::CreateSetResult() :
ServiceResult()
{}
CreateSetResult::CreateSetResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateSetResult::~CreateSetResult()
{}
void CreateSetResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["SetId"].isNull())
setId_ = value["SetId"].asString();
if(!value["SetName"].isNull())
@@ -56,9 +59,9 @@ void CreateSetResult::parse(const std::string &payload)
videoCount_ = std::stoi(value["VideoCount"].asString());
if(!value["VideoLength"].isNull())
videoLength_ = std::stoi(value["VideoLength"].asString());
}
}
std::string CreateSetResult::getModifyTime()const
{
return modifyTime_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/CreateTagJobRequest.h>
using AlibabaCloud::Imm::Model::CreateTagJobRequest;
CreateTagJobRequest::CreateTagJobRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreateTagJob")
{}
CreateTagJobRequest::~CreateTagJobRequest()
{}
/*
* 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/imm/model/CreateTagJobRequest.h>
using AlibabaCloud::Imm::Model::CreateTagJobRequest;
CreateTagJobRequest::CreateTagJobRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreateTagJob")
{}
CreateTagJobRequest::~CreateTagJobRequest()
{}
std::string CreateTagJobRequest::getNotifyTopicName()const
{
return notifyTopicName_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/CreateTagJobResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreateTagJobResult::CreateTagJobResult() :
ServiceResult()
{}
CreateTagJobResult::CreateTagJobResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateTagJobResult::~CreateTagJobResult()
{}
void CreateTagJobResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/CreateTagJobResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreateTagJobResult::CreateTagJobResult() :
ServiceResult()
{}
CreateTagJobResult::CreateTagJobResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateTagJobResult::~CreateTagJobResult()
{}
void CreateTagJobResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["JobId"].isNull())
jobId_ = value["JobId"].asString();
if(!value["SetId"].isNull())
@@ -54,9 +57,9 @@ void CreateTagJobResult::parse(const std::string &payload)
createTime_ = value["CreateTime"].asString();
if(!value["FinishTime"].isNull())
finishTime_ = value["FinishTime"].asString();
}
}
std::string CreateTagJobResult::getStatus()const
{
return status_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/CreateTagSetRequest.h>
using AlibabaCloud::Imm::Model::CreateTagSetRequest;
CreateTagSetRequest::CreateTagSetRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreateTagSet")
{}
CreateTagSetRequest::~CreateTagSetRequest()
{}
/*
* 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/imm/model/CreateTagSetRequest.h>
using AlibabaCloud::Imm::Model::CreateTagSetRequest;
CreateTagSetRequest::CreateTagSetRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreateTagSet")
{}
CreateTagSetRequest::~CreateTagSetRequest()
{}
std::string CreateTagSetRequest::getRegionId()const
{
return regionId_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/CreateTagSetResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreateTagSetResult::CreateTagSetResult() :
ServiceResult()
{}
CreateTagSetResult::CreateTagSetResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateTagSetResult::~CreateTagSetResult()
{}
void CreateTagSetResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/CreateTagSetResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreateTagSetResult::CreateTagSetResult() :
ServiceResult()
{}
CreateTagSetResult::CreateTagSetResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateTagSetResult::~CreateTagSetResult()
{}
void CreateTagSetResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["SetId"].isNull())
setId_ = value["SetId"].asString();
if(!value["Status"].isNull())
@@ -50,9 +53,9 @@ void CreateTagSetResult::parse(const std::string &payload)
createTime_ = value["CreateTime"].asString();
if(!value["ModifyTime"].isNull())
modifyTime_ = value["ModifyTime"].asString();
}
}
std::string CreateTagSetResult::getStatus()const
{
return status_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/CreateVideoAnalyseTaskRequest.h>
using AlibabaCloud::Imm::Model::CreateVideoAnalyseTaskRequest;
CreateVideoAnalyseTaskRequest::CreateVideoAnalyseTaskRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreateVideoAnalyseTask")
{}
CreateVideoAnalyseTaskRequest::~CreateVideoAnalyseTaskRequest()
{}
/*
* 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/imm/model/CreateVideoAnalyseTaskRequest.h>
using AlibabaCloud::Imm::Model::CreateVideoAnalyseTaskRequest;
CreateVideoAnalyseTaskRequest::CreateVideoAnalyseTaskRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreateVideoAnalyseTask")
{}
CreateVideoAnalyseTaskRequest::~CreateVideoAnalyseTaskRequest()
{}
std::string CreateVideoAnalyseTaskRequest::getNotifyTopicName()const
{
return notifyTopicName_;

View File

@@ -1,52 +1,55 @@
/*
* 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/imm/model/CreateVideoAnalyseTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreateVideoAnalyseTaskResult::CreateVideoAnalyseTaskResult() :
ServiceResult()
{}
CreateVideoAnalyseTaskResult::CreateVideoAnalyseTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateVideoAnalyseTaskResult::~CreateVideoAnalyseTaskResult()
{}
void CreateVideoAnalyseTaskResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/CreateVideoAnalyseTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreateVideoAnalyseTaskResult::CreateVideoAnalyseTaskResult() :
ServiceResult()
{}
CreateVideoAnalyseTaskResult::CreateVideoAnalyseTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateVideoAnalyseTaskResult::~CreateVideoAnalyseTaskResult()
{}
void CreateVideoAnalyseTaskResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["TaskId"].isNull())
taskId_ = value["TaskId"].asString();
if(!value["TaskType"].isNull())
taskType_ = value["TaskType"].asString();
}
}
std::string CreateVideoAnalyseTaskResult::getTaskId()const
{
return taskId_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/CreateVideoCompressTaskRequest.h>
using AlibabaCloud::Imm::Model::CreateVideoCompressTaskRequest;
CreateVideoCompressTaskRequest::CreateVideoCompressTaskRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreateVideoCompressTask")
{}
CreateVideoCompressTaskRequest::~CreateVideoCompressTaskRequest()
{}
/*
* 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/imm/model/CreateVideoCompressTaskRequest.h>
using AlibabaCloud::Imm::Model::CreateVideoCompressTaskRequest;
CreateVideoCompressTaskRequest::CreateVideoCompressTaskRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreateVideoCompressTask")
{}
CreateVideoCompressTaskRequest::~CreateVideoCompressTaskRequest()
{}
std::string CreateVideoCompressTaskRequest::getVideoUri()const
{
return videoUri_;

View File

@@ -1,52 +1,55 @@
/*
* 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/imm/model/CreateVideoCompressTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreateVideoCompressTaskResult::CreateVideoCompressTaskResult() :
ServiceResult()
{}
CreateVideoCompressTaskResult::CreateVideoCompressTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateVideoCompressTaskResult::~CreateVideoCompressTaskResult()
{}
void CreateVideoCompressTaskResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/CreateVideoCompressTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreateVideoCompressTaskResult::CreateVideoCompressTaskResult() :
ServiceResult()
{}
CreateVideoCompressTaskResult::CreateVideoCompressTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateVideoCompressTaskResult::~CreateVideoCompressTaskResult()
{}
void CreateVideoCompressTaskResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["TaskId"].isNull())
taskId_ = value["TaskId"].asString();
if(!value["TaskType"].isNull())
taskType_ = value["TaskType"].asString();
}
}
std::string CreateVideoCompressTaskResult::getTaskId()const
{
return taskId_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DeleteDocIndexRequest.h>
using AlibabaCloud::Imm::Model::DeleteDocIndexRequest;
DeleteDocIndexRequest::DeleteDocIndexRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteDocIndex")
{}
DeleteDocIndexRequest::~DeleteDocIndexRequest()
{}
/*
* 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/imm/model/DeleteDocIndexRequest.h>
using AlibabaCloud::Imm::Model::DeleteDocIndexRequest;
DeleteDocIndexRequest::DeleteDocIndexRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteDocIndex")
{}
DeleteDocIndexRequest::~DeleteDocIndexRequest()
{}
std::string DeleteDocIndexRequest::getSet()const
{
return set_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DeleteDocIndexResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteDocIndexResult::DeleteDocIndexResult() :
ServiceResult()
{}
DeleteDocIndexResult::DeleteDocIndexResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteDocIndexResult::~DeleteDocIndexResult()
{}
void DeleteDocIndexResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/imm/model/DeleteDocIndexResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteDocIndexResult::DeleteDocIndexResult() :
ServiceResult()
{}
DeleteDocIndexResult::DeleteDocIndexResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteDocIndexResult::~DeleteDocIndexResult()
{}
void DeleteDocIndexResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DeleteFaceJobRequest.h>
using AlibabaCloud::Imm::Model::DeleteFaceJobRequest;
DeleteFaceJobRequest::DeleteFaceJobRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteFaceJob")
{}
DeleteFaceJobRequest::~DeleteFaceJobRequest()
{}
/*
* 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/imm/model/DeleteFaceJobRequest.h>
using AlibabaCloud::Imm::Model::DeleteFaceJobRequest;
DeleteFaceJobRequest::DeleteFaceJobRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteFaceJob")
{}
DeleteFaceJobRequest::~DeleteFaceJobRequest()
{}
std::string DeleteFaceJobRequest::getJobId()const
{
return jobId_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DeleteFaceJobResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteFaceJobResult::DeleteFaceJobResult() :
ServiceResult()
{}
DeleteFaceJobResult::DeleteFaceJobResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteFaceJobResult::~DeleteFaceJobResult()
{}
void DeleteFaceJobResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/imm/model/DeleteFaceJobResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteFaceJobResult::DeleteFaceJobResult() :
ServiceResult()
{}
DeleteFaceJobResult::DeleteFaceJobResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteFaceJobResult::~DeleteFaceJobResult()
{}
void DeleteFaceJobResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DeleteFaceSearchGroupRequest.h>
using AlibabaCloud::Imm::Model::DeleteFaceSearchGroupRequest;
DeleteFaceSearchGroupRequest::DeleteFaceSearchGroupRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteFaceSearchGroup")
{}
DeleteFaceSearchGroupRequest::~DeleteFaceSearchGroupRequest()
{}
/*
* 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/imm/model/DeleteFaceSearchGroupRequest.h>
using AlibabaCloud::Imm::Model::DeleteFaceSearchGroupRequest;
DeleteFaceSearchGroupRequest::DeleteFaceSearchGroupRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteFaceSearchGroup")
{}
DeleteFaceSearchGroupRequest::~DeleteFaceSearchGroupRequest()
{}
std::string DeleteFaceSearchGroupRequest::getRegionId()const
{
return regionId_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DeleteFaceSearchGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteFaceSearchGroupResult::DeleteFaceSearchGroupResult() :
ServiceResult()
{}
DeleteFaceSearchGroupResult::DeleteFaceSearchGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteFaceSearchGroupResult::~DeleteFaceSearchGroupResult()
{}
void DeleteFaceSearchGroupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/imm/model/DeleteFaceSearchGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteFaceSearchGroupResult::DeleteFaceSearchGroupResult() :
ServiceResult()
{}
DeleteFaceSearchGroupResult::DeleteFaceSearchGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteFaceSearchGroupResult::~DeleteFaceSearchGroupResult()
{}
void DeleteFaceSearchGroupResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DeleteFaceSearchImageByIdRequest.h>
using AlibabaCloud::Imm::Model::DeleteFaceSearchImageByIdRequest;
DeleteFaceSearchImageByIdRequest::DeleteFaceSearchImageByIdRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteFaceSearchImageById")
{}
DeleteFaceSearchImageByIdRequest::~DeleteFaceSearchImageByIdRequest()
{}
/*
* 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/imm/model/DeleteFaceSearchImageByIdRequest.h>
using AlibabaCloud::Imm::Model::DeleteFaceSearchImageByIdRequest;
DeleteFaceSearchImageByIdRequest::DeleteFaceSearchImageByIdRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteFaceSearchImageById")
{}
DeleteFaceSearchImageByIdRequest::~DeleteFaceSearchImageByIdRequest()
{}
std::string DeleteFaceSearchImageByIdRequest::getImageId()const
{
return imageId_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DeleteFaceSearchImageByIdResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteFaceSearchImageByIdResult::DeleteFaceSearchImageByIdResult() :
ServiceResult()
{}
DeleteFaceSearchImageByIdResult::DeleteFaceSearchImageByIdResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteFaceSearchImageByIdResult::~DeleteFaceSearchImageByIdResult()
{}
void DeleteFaceSearchImageByIdResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/imm/model/DeleteFaceSearchImageByIdResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteFaceSearchImageByIdResult::DeleteFaceSearchImageByIdResult() :
ServiceResult()
{}
DeleteFaceSearchImageByIdResult::DeleteFaceSearchImageByIdResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteFaceSearchImageByIdResult::~DeleteFaceSearchImageByIdResult()
{}
void DeleteFaceSearchImageByIdResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DeleteFaceSearchUserRequest.h>
using AlibabaCloud::Imm::Model::DeleteFaceSearchUserRequest;
DeleteFaceSearchUserRequest::DeleteFaceSearchUserRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteFaceSearchUser")
{}
DeleteFaceSearchUserRequest::~DeleteFaceSearchUserRequest()
{}
/*
* 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/imm/model/DeleteFaceSearchUserRequest.h>
using AlibabaCloud::Imm::Model::DeleteFaceSearchUserRequest;
DeleteFaceSearchUserRequest::DeleteFaceSearchUserRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteFaceSearchUser")
{}
DeleteFaceSearchUserRequest::~DeleteFaceSearchUserRequest()
{}
std::string DeleteFaceSearchUserRequest::getRegionId()const
{
return regionId_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DeleteFaceSearchUserResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteFaceSearchUserResult::DeleteFaceSearchUserResult() :
ServiceResult()
{}
DeleteFaceSearchUserResult::DeleteFaceSearchUserResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteFaceSearchUserResult::~DeleteFaceSearchUserResult()
{}
void DeleteFaceSearchUserResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/imm/model/DeleteFaceSearchUserResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteFaceSearchUserResult::DeleteFaceSearchUserResult() :
ServiceResult()
{}
DeleteFaceSearchUserResult::DeleteFaceSearchUserResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteFaceSearchUserResult::~DeleteFaceSearchUserResult()
{}
void DeleteFaceSearchUserResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DeleteImageJobRequest.h>
using AlibabaCloud::Imm::Model::DeleteImageJobRequest;
DeleteImageJobRequest::DeleteImageJobRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteImageJob")
{}
DeleteImageJobRequest::~DeleteImageJobRequest()
{}
/*
* 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/imm/model/DeleteImageJobRequest.h>
using AlibabaCloud::Imm::Model::DeleteImageJobRequest;
DeleteImageJobRequest::DeleteImageJobRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteImageJob")
{}
DeleteImageJobRequest::~DeleteImageJobRequest()
{}
std::string DeleteImageJobRequest::getJobId()const
{
return jobId_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DeleteImageJobResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteImageJobResult::DeleteImageJobResult() :
ServiceResult()
{}
DeleteImageJobResult::DeleteImageJobResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteImageJobResult::~DeleteImageJobResult()
{}
void DeleteImageJobResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/imm/model/DeleteImageJobResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteImageJobResult::DeleteImageJobResult() :
ServiceResult()
{}
DeleteImageJobResult::DeleteImageJobResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteImageJobResult::~DeleteImageJobResult()
{}
void DeleteImageJobResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DeleteImageRequest.h>
using AlibabaCloud::Imm::Model::DeleteImageRequest;
DeleteImageRequest::DeleteImageRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteImage")
{}
DeleteImageRequest::~DeleteImageRequest()
{}
/*
* 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/imm/model/DeleteImageRequest.h>
using AlibabaCloud::Imm::Model::DeleteImageRequest;
DeleteImageRequest::DeleteImageRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteImage")
{}
DeleteImageRequest::~DeleteImageRequest()
{}
std::string DeleteImageRequest::getImageUri()const
{
return imageUri_;

View File

@@ -1,52 +1,55 @@
/*
* 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/imm/model/DeleteImageResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteImageResult::DeleteImageResult() :
ServiceResult()
{}
DeleteImageResult::DeleteImageResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteImageResult::~DeleteImageResult()
{}
void DeleteImageResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/DeleteImageResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteImageResult::DeleteImageResult() :
ServiceResult()
{}
DeleteImageResult::DeleteImageResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteImageResult::~DeleteImageResult()
{}
void DeleteImageResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["SetId"].isNull())
setId_ = value["SetId"].asString();
if(!value["ImageUri"].isNull())
imageUri_ = value["ImageUri"].asString();
}
}
std::string DeleteImageResult::getSetId()const
{
return setId_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DeleteOfficeConversionTaskRequest.h>
using AlibabaCloud::Imm::Model::DeleteOfficeConversionTaskRequest;
DeleteOfficeConversionTaskRequest::DeleteOfficeConversionTaskRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteOfficeConversionTask")
{}
DeleteOfficeConversionTaskRequest::~DeleteOfficeConversionTaskRequest()
{}
/*
* 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/imm/model/DeleteOfficeConversionTaskRequest.h>
using AlibabaCloud::Imm::Model::DeleteOfficeConversionTaskRequest;
DeleteOfficeConversionTaskRequest::DeleteOfficeConversionTaskRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteOfficeConversionTask")
{}
DeleteOfficeConversionTaskRequest::~DeleteOfficeConversionTaskRequest()
{}
std::string DeleteOfficeConversionTaskRequest::getRegionId()const
{
return regionId_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DeleteOfficeConversionTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteOfficeConversionTaskResult::DeleteOfficeConversionTaskResult() :
ServiceResult()
{}
DeleteOfficeConversionTaskResult::DeleteOfficeConversionTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteOfficeConversionTaskResult::~DeleteOfficeConversionTaskResult()
{}
void DeleteOfficeConversionTaskResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/imm/model/DeleteOfficeConversionTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteOfficeConversionTaskResult::DeleteOfficeConversionTaskResult() :
ServiceResult()
{}
DeleteOfficeConversionTaskResult::DeleteOfficeConversionTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteOfficeConversionTaskResult::~DeleteOfficeConversionTaskResult()
{}
void DeleteOfficeConversionTaskResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DeletePhotoProcessTaskRequest.h>
using AlibabaCloud::Imm::Model::DeletePhotoProcessTaskRequest;
DeletePhotoProcessTaskRequest::DeletePhotoProcessTaskRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeletePhotoProcessTask")
{}
DeletePhotoProcessTaskRequest::~DeletePhotoProcessTaskRequest()
{}
/*
* 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/imm/model/DeletePhotoProcessTaskRequest.h>
using AlibabaCloud::Imm::Model::DeletePhotoProcessTaskRequest;
DeletePhotoProcessTaskRequest::DeletePhotoProcessTaskRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeletePhotoProcessTask")
{}
DeletePhotoProcessTaskRequest::~DeletePhotoProcessTaskRequest()
{}
std::string DeletePhotoProcessTaskRequest::getRegionId()const
{
return regionId_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DeletePhotoProcessTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeletePhotoProcessTaskResult::DeletePhotoProcessTaskResult() :
ServiceResult()
{}
DeletePhotoProcessTaskResult::DeletePhotoProcessTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeletePhotoProcessTaskResult::~DeletePhotoProcessTaskResult()
{}
void DeletePhotoProcessTaskResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/imm/model/DeletePhotoProcessTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeletePhotoProcessTaskResult::DeletePhotoProcessTaskResult() :
ServiceResult()
{}
DeletePhotoProcessTaskResult::DeletePhotoProcessTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeletePhotoProcessTaskResult::~DeletePhotoProcessTaskResult()
{}
void DeletePhotoProcessTaskResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DeletePornBatchDetectJobRequest.h>
using AlibabaCloud::Imm::Model::DeletePornBatchDetectJobRequest;
DeletePornBatchDetectJobRequest::DeletePornBatchDetectJobRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeletePornBatchDetectJob")
{}
DeletePornBatchDetectJobRequest::~DeletePornBatchDetectJobRequest()
{}
/*
* 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/imm/model/DeletePornBatchDetectJobRequest.h>
using AlibabaCloud::Imm::Model::DeletePornBatchDetectJobRequest;
DeletePornBatchDetectJobRequest::DeletePornBatchDetectJobRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeletePornBatchDetectJob")
{}
DeletePornBatchDetectJobRequest::~DeletePornBatchDetectJobRequest()
{}
std::string DeletePornBatchDetectJobRequest::getJobId()const
{
return jobId_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DeletePornBatchDetectJobResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeletePornBatchDetectJobResult::DeletePornBatchDetectJobResult() :
ServiceResult()
{}
DeletePornBatchDetectJobResult::DeletePornBatchDetectJobResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeletePornBatchDetectJobResult::~DeletePornBatchDetectJobResult()
{}
void DeletePornBatchDetectJobResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/imm/model/DeletePornBatchDetectJobResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeletePornBatchDetectJobResult::DeletePornBatchDetectJobResult() :
ServiceResult()
{}
DeletePornBatchDetectJobResult::DeletePornBatchDetectJobResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeletePornBatchDetectJobResult::~DeletePornBatchDetectJobResult()
{}
void DeletePornBatchDetectJobResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DeleteProjectRequest.h>
using AlibabaCloud::Imm::Model::DeleteProjectRequest;
DeleteProjectRequest::DeleteProjectRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteProject")
{}
DeleteProjectRequest::~DeleteProjectRequest()
{}
/*
* 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/imm/model/DeleteProjectRequest.h>
using AlibabaCloud::Imm::Model::DeleteProjectRequest;
DeleteProjectRequest::DeleteProjectRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteProject")
{}
DeleteProjectRequest::~DeleteProjectRequest()
{}
std::string DeleteProjectRequest::getRegionId()const
{
return regionId_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DeleteProjectResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteProjectResult::DeleteProjectResult() :
ServiceResult()
{}
DeleteProjectResult::DeleteProjectResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteProjectResult::~DeleteProjectResult()
{}
void DeleteProjectResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/imm/model/DeleteProjectResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteProjectResult::DeleteProjectResult() :
ServiceResult()
{}
DeleteProjectResult::DeleteProjectResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteProjectResult::~DeleteProjectResult()
{}
void DeleteProjectResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DeleteSetRequest.h>
using AlibabaCloud::Imm::Model::DeleteSetRequest;
DeleteSetRequest::DeleteSetRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteSet")
{}
DeleteSetRequest::~DeleteSetRequest()
{}
/*
* 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/imm/model/DeleteSetRequest.h>
using AlibabaCloud::Imm::Model::DeleteSetRequest;
DeleteSetRequest::DeleteSetRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteSet")
{}
DeleteSetRequest::~DeleteSetRequest()
{}
std::string DeleteSetRequest::getRegionId()const
{
return regionId_;

View File

@@ -1,50 +1,53 @@
/*
* 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/imm/model/DeleteSetResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteSetResult::DeleteSetResult() :
ServiceResult()
{}
DeleteSetResult::DeleteSetResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteSetResult::~DeleteSetResult()
{}
void DeleteSetResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/DeleteSetResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteSetResult::DeleteSetResult() :
ServiceResult()
{}
DeleteSetResult::DeleteSetResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteSetResult::~DeleteSetResult()
{}
void DeleteSetResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["SetId"].isNull())
setId_ = value["SetId"].asString();
}
}
std::string DeleteSetResult::getSetId()const
{
return setId_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DeleteTagByNameRequest.h>
using AlibabaCloud::Imm::Model::DeleteTagByNameRequest;
DeleteTagByNameRequest::DeleteTagByNameRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteTagByName")
{}
DeleteTagByNameRequest::~DeleteTagByNameRequest()
{}
/*
* 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/imm/model/DeleteTagByNameRequest.h>
using AlibabaCloud::Imm::Model::DeleteTagByNameRequest;
DeleteTagByNameRequest::DeleteTagByNameRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteTagByName")
{}
DeleteTagByNameRequest::~DeleteTagByNameRequest()
{}
std::string DeleteTagByNameRequest::getTagName()const
{
return tagName_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DeleteTagByNameResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteTagByNameResult::DeleteTagByNameResult() :
ServiceResult()
{}
DeleteTagByNameResult::DeleteTagByNameResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteTagByNameResult::~DeleteTagByNameResult()
{}
void DeleteTagByNameResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/imm/model/DeleteTagByNameResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteTagByNameResult::DeleteTagByNameResult() :
ServiceResult()
{}
DeleteTagByNameResult::DeleteTagByNameResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteTagByNameResult::~DeleteTagByNameResult()
{}
void DeleteTagByNameResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DeleteTagByUrlRequest.h>
using AlibabaCloud::Imm::Model::DeleteTagByUrlRequest;
DeleteTagByUrlRequest::DeleteTagByUrlRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteTagByUrl")
{}
DeleteTagByUrlRequest::~DeleteTagByUrlRequest()
{}
/*
* 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/imm/model/DeleteTagByUrlRequest.h>
using AlibabaCloud::Imm::Model::DeleteTagByUrlRequest;
DeleteTagByUrlRequest::DeleteTagByUrlRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteTagByUrl")
{}
DeleteTagByUrlRequest::~DeleteTagByUrlRequest()
{}
std::string DeleteTagByUrlRequest::getRegionId()const
{
return regionId_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DeleteTagByUrlResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteTagByUrlResult::DeleteTagByUrlResult() :
ServiceResult()
{}
DeleteTagByUrlResult::DeleteTagByUrlResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteTagByUrlResult::~DeleteTagByUrlResult()
{}
void DeleteTagByUrlResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/imm/model/DeleteTagByUrlResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteTagByUrlResult::DeleteTagByUrlResult() :
ServiceResult()
{}
DeleteTagByUrlResult::DeleteTagByUrlResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteTagByUrlResult::~DeleteTagByUrlResult()
{}
void DeleteTagByUrlResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DeleteTagJobRequest.h>
using AlibabaCloud::Imm::Model::DeleteTagJobRequest;
DeleteTagJobRequest::DeleteTagJobRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteTagJob")
{}
DeleteTagJobRequest::~DeleteTagJobRequest()
{}
/*
* 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/imm/model/DeleteTagJobRequest.h>
using AlibabaCloud::Imm::Model::DeleteTagJobRequest;
DeleteTagJobRequest::DeleteTagJobRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteTagJob")
{}
DeleteTagJobRequest::~DeleteTagJobRequest()
{}
std::string DeleteTagJobRequest::getJobId()const
{
return jobId_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DeleteTagJobResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteTagJobResult::DeleteTagJobResult() :
ServiceResult()
{}
DeleteTagJobResult::DeleteTagJobResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteTagJobResult::~DeleteTagJobResult()
{}
void DeleteTagJobResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/imm/model/DeleteTagJobResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteTagJobResult::DeleteTagJobResult() :
ServiceResult()
{}
DeleteTagJobResult::DeleteTagJobResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteTagJobResult::~DeleteTagJobResult()
{}
void DeleteTagJobResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DeleteTagSetRequest.h>
using AlibabaCloud::Imm::Model::DeleteTagSetRequest;
DeleteTagSetRequest::DeleteTagSetRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteTagSet")
{}
DeleteTagSetRequest::~DeleteTagSetRequest()
{}
/*
* 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/imm/model/DeleteTagSetRequest.h>
using AlibabaCloud::Imm::Model::DeleteTagSetRequest;
DeleteTagSetRequest::DeleteTagSetRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteTagSet")
{}
DeleteTagSetRequest::~DeleteTagSetRequest()
{}
std::string DeleteTagSetRequest::getLazyMode()const
{
return lazyMode_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DeleteTagSetResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteTagSetResult::DeleteTagSetResult() :
ServiceResult()
{}
DeleteTagSetResult::DeleteTagSetResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteTagSetResult::~DeleteTagSetResult()
{}
void DeleteTagSetResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/imm/model/DeleteTagSetResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteTagSetResult::DeleteTagSetResult() :
ServiceResult()
{}
DeleteTagSetResult::DeleteTagSetResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteTagSetResult::~DeleteTagSetResult()
{}
void DeleteTagSetResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DeleteVideoRequest.h>
using AlibabaCloud::Imm::Model::DeleteVideoRequest;
DeleteVideoRequest::DeleteVideoRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteVideo")
{}
DeleteVideoRequest::~DeleteVideoRequest()
{}
/*
* 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/imm/model/DeleteVideoRequest.h>
using AlibabaCloud::Imm::Model::DeleteVideoRequest;
DeleteVideoRequest::DeleteVideoRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteVideo")
{}
DeleteVideoRequest::~DeleteVideoRequest()
{}
std::string DeleteVideoRequest::getVideoUri()const
{
return videoUri_;

View File

@@ -1,52 +1,55 @@
/*
* 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/imm/model/DeleteVideoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteVideoResult::DeleteVideoResult() :
ServiceResult()
{}
DeleteVideoResult::DeleteVideoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteVideoResult::~DeleteVideoResult()
{}
void DeleteVideoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/DeleteVideoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteVideoResult::DeleteVideoResult() :
ServiceResult()
{}
DeleteVideoResult::DeleteVideoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteVideoResult::~DeleteVideoResult()
{}
void DeleteVideoResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["SetId"].isNull())
setId_ = value["SetId"].asString();
if(!value["VideoUri"].isNull())
videoUri_ = value["VideoUri"].asString();
}
}
std::string DeleteVideoResult::getVideoUri()const
{
return videoUri_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DeleteVideoTaskRequest.h>
using AlibabaCloud::Imm::Model::DeleteVideoTaskRequest;
DeleteVideoTaskRequest::DeleteVideoTaskRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteVideoTask")
{}
DeleteVideoTaskRequest::~DeleteVideoTaskRequest()
{}
/*
* 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/imm/model/DeleteVideoTaskRequest.h>
using AlibabaCloud::Imm::Model::DeleteVideoTaskRequest;
DeleteVideoTaskRequest::DeleteVideoTaskRequest() :
RpcServiceRequest("imm", "2017-09-06", "DeleteVideoTask")
{}
DeleteVideoTaskRequest::~DeleteVideoTaskRequest()
{}
std::string DeleteVideoTaskRequest::getTaskType()const
{
return taskType_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DeleteVideoTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteVideoTaskResult::DeleteVideoTaskResult() :
ServiceResult()
{}
DeleteVideoTaskResult::DeleteVideoTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteVideoTaskResult::~DeleteVideoTaskResult()
{}
void DeleteVideoTaskResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/imm/model/DeleteVideoTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DeleteVideoTaskResult::DeleteVideoTaskResult() :
ServiceResult()
{}
DeleteVideoTaskResult::DeleteVideoTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteVideoTaskResult::~DeleteVideoTaskResult()
{}
void DeleteVideoTaskResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DescribeRegionsRequest.h>
using AlibabaCloud::Imm::Model::DescribeRegionsRequest;
DescribeRegionsRequest::DescribeRegionsRequest() :
RpcServiceRequest("imm", "2017-09-06", "DescribeRegions")
{}
DescribeRegionsRequest::~DescribeRegionsRequest()
{}
/*
* 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/imm/model/DescribeRegionsRequest.h>
using AlibabaCloud::Imm::Model::DescribeRegionsRequest;
DescribeRegionsRequest::DescribeRegionsRequest() :
RpcServiceRequest("imm", "2017-09-06", "DescribeRegions")
{}
DescribeRegionsRequest::~DescribeRegionsRequest()
{}
std::string DescribeRegionsRequest::getRegionId()const
{
return regionId_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DescribeRegionsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DescribeRegionsResult::DescribeRegionsResult() :
ServiceResult()
{}
DescribeRegionsResult::DescribeRegionsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeRegionsResult::~DescribeRegionsResult()
{}
void DescribeRegionsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/DescribeRegionsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DescribeRegionsResult::DescribeRegionsResult() :
ServiceResult()
{}
DescribeRegionsResult::DescribeRegionsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeRegionsResult::~DescribeRegionsResult()
{}
void DescribeRegionsResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto regionsNode = value["Regions"];
auto allRegion = value["Region"]["RegionItem"];
for (auto value : allRegion)
@@ -52,9 +55,9 @@ void DescribeRegionsResult::parse(const std::string &payload)
regionItemObject.projectTypes.push_back(value.asString());
regions_.region.push_back(regionItemObject);
}
}
}
DescribeRegionsResult::Regions DescribeRegionsResult::getRegions()const
{
return regions_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DetectClothesRequest.h>
using AlibabaCloud::Imm::Model::DetectClothesRequest;
DetectClothesRequest::DetectClothesRequest() :
RpcServiceRequest("imm", "2017-09-06", "DetectClothes")
{}
DetectClothesRequest::~DetectClothesRequest()
{}
/*
* 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/imm/model/DetectClothesRequest.h>
using AlibabaCloud::Imm::Model::DetectClothesRequest;
DetectClothesRequest::DetectClothesRequest() :
RpcServiceRequest("imm", "2017-09-06", "DetectClothes")
{}
DetectClothesRequest::~DetectClothesRequest()
{}
std::string DetectClothesRequest::getSrcUris()const
{
return srcUris_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DetectClothesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DetectClothesResult::DetectClothesResult() :
ServiceResult()
{}
DetectClothesResult::DetectClothesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DetectClothesResult::~DetectClothesResult()
{}
void DetectClothesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/DetectClothesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DetectClothesResult::DetectClothesResult() :
ServiceResult()
{}
DetectClothesResult::DetectClothesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DetectClothesResult::~DetectClothesResult()
{}
void DetectClothesResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allSuccessDetails = value["SuccessDetails"]["SuccessDetailsItem"];
for (auto value : allSuccessDetails)
{
@@ -82,9 +85,9 @@ void DetectClothesResult::parse(const std::string &payload)
auto allSrcUris = value["SrcUris"]["SrcUris"];
for (const auto &item : allSrcUris)
srcUris_.push_back(item.asString());
}
}
std::vector<DetectClothesResult::SuccessDetailsItem> DetectClothesResult::getSuccessDetails()const
{
return successDetails_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DetectImageBodiesRequest.h>
using AlibabaCloud::Imm::Model::DetectImageBodiesRequest;
DetectImageBodiesRequest::DetectImageBodiesRequest() :
RpcServiceRequest("imm", "2017-09-06", "DetectImageBodies")
{}
DetectImageBodiesRequest::~DetectImageBodiesRequest()
{}
/*
* 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/imm/model/DetectImageBodiesRequest.h>
using AlibabaCloud::Imm::Model::DetectImageBodiesRequest;
DetectImageBodiesRequest::DetectImageBodiesRequest() :
RpcServiceRequest("imm", "2017-09-06", "DetectImageBodies")
{}
DetectImageBodiesRequest::~DetectImageBodiesRequest()
{}
std::string DetectImageBodiesRequest::getImageUri()const
{
return imageUri_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DetectImageBodiesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DetectImageBodiesResult::DetectImageBodiesResult() :
ServiceResult()
{}
DetectImageBodiesResult::DetectImageBodiesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DetectImageBodiesResult::~DetectImageBodiesResult()
{}
void DetectImageBodiesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/DetectImageBodiesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DetectImageBodiesResult::DetectImageBodiesResult() :
ServiceResult()
{}
DetectImageBodiesResult::DetectImageBodiesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DetectImageBodiesResult::~DetectImageBodiesResult()
{}
void DetectImageBodiesResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allBodies = value["Bodies"]["BodiesItem"];
for (auto value : allBodies)
{
@@ -59,9 +62,9 @@ void DetectImageBodiesResult::parse(const std::string &payload)
}
if(!value["ImageUri"].isNull())
imageUri_ = value["ImageUri"].asString();
}
}
std::vector<DetectImageBodiesResult::BodiesItem> DetectImageBodiesResult::getBodies()const
{
return bodies_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DetectImageCelebrityRequest.h>
using AlibabaCloud::Imm::Model::DetectImageCelebrityRequest;
DetectImageCelebrityRequest::DetectImageCelebrityRequest() :
RpcServiceRequest("imm", "2017-09-06", "DetectImageCelebrity")
{}
DetectImageCelebrityRequest::~DetectImageCelebrityRequest()
{}
/*
* 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/imm/model/DetectImageCelebrityRequest.h>
using AlibabaCloud::Imm::Model::DetectImageCelebrityRequest;
DetectImageCelebrityRequest::DetectImageCelebrityRequest() :
RpcServiceRequest("imm", "2017-09-06", "DetectImageCelebrity")
{}
DetectImageCelebrityRequest::~DetectImageCelebrityRequest()
{}
std::string DetectImageCelebrityRequest::getImageUri()const
{
return imageUri_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DetectImageCelebrityResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DetectImageCelebrityResult::DetectImageCelebrityResult() :
ServiceResult()
{}
DetectImageCelebrityResult::DetectImageCelebrityResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DetectImageCelebrityResult::~DetectImageCelebrityResult()
{}
void DetectImageCelebrityResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/DetectImageCelebrityResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DetectImageCelebrityResult::DetectImageCelebrityResult() :
ServiceResult()
{}
DetectImageCelebrityResult::DetectImageCelebrityResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DetectImageCelebrityResult::~DetectImageCelebrityResult()
{}
void DetectImageCelebrityResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allCelebrity = value["Celebrity"]["CelebrityItem"];
for (auto value : allCelebrity)
{
@@ -65,9 +68,9 @@ void DetectImageCelebrityResult::parse(const std::string &payload)
}
if(!value["ImageUri"].isNull())
imageUri_ = value["ImageUri"].asString();
}
}
std::vector<DetectImageCelebrityResult::CelebrityItem> DetectImageCelebrityResult::getCelebrity()const
{
return celebrity_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DetectImageFacesRequest.h>
using AlibabaCloud::Imm::Model::DetectImageFacesRequest;
DetectImageFacesRequest::DetectImageFacesRequest() :
RpcServiceRequest("imm", "2017-09-06", "DetectImageFaces")
{}
DetectImageFacesRequest::~DetectImageFacesRequest()
{}
/*
* 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/imm/model/DetectImageFacesRequest.h>
using AlibabaCloud::Imm::Model::DetectImageFacesRequest;
DetectImageFacesRequest::DetectImageFacesRequest() :
RpcServiceRequest("imm", "2017-09-06", "DetectImageFaces")
{}
DetectImageFacesRequest::~DetectImageFacesRequest()
{}
std::string DetectImageFacesRequest::getImageUri()const
{
return imageUri_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DetectImageFacesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DetectImageFacesResult::DetectImageFacesResult() :
ServiceResult()
{}
DetectImageFacesResult::DetectImageFacesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DetectImageFacesResult::~DetectImageFacesResult()
{}
void DetectImageFacesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/DetectImageFacesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DetectImageFacesResult::DetectImageFacesResult() :
ServiceResult()
{}
DetectImageFacesResult::DetectImageFacesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DetectImageFacesResult::~DetectImageFacesResult()
{}
void DetectImageFacesResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allFaces = value["Faces"]["FacesItem"];
for (auto value : allFaces)
{
@@ -118,9 +121,9 @@ void DetectImageFacesResult::parse(const std::string &payload)
}
if(!value["ImageUri"].isNull())
imageUri_ = value["ImageUri"].asString();
}
}
std::string DetectImageFacesResult::getImageUri()const
{
return imageUri_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DetectImageLogosRequest.h>
using AlibabaCloud::Imm::Model::DetectImageLogosRequest;
DetectImageLogosRequest::DetectImageLogosRequest() :
RpcServiceRequest("imm", "2017-09-06", "DetectImageLogos")
{}
DetectImageLogosRequest::~DetectImageLogosRequest()
{}
/*
* 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/imm/model/DetectImageLogosRequest.h>
using AlibabaCloud::Imm::Model::DetectImageLogosRequest;
DetectImageLogosRequest::DetectImageLogosRequest() :
RpcServiceRequest("imm", "2017-09-06", "DetectImageLogos")
{}
DetectImageLogosRequest::~DetectImageLogosRequest()
{}
std::string DetectImageLogosRequest::getImageUri()const
{
return imageUri_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DetectImageLogosResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DetectImageLogosResult::DetectImageLogosResult() :
ServiceResult()
{}
DetectImageLogosResult::DetectImageLogosResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DetectImageLogosResult::~DetectImageLogosResult()
{}
void DetectImageLogosResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/DetectImageLogosResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DetectImageLogosResult::DetectImageLogosResult() :
ServiceResult()
{}
DetectImageLogosResult::DetectImageLogosResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DetectImageLogosResult::~DetectImageLogosResult()
{}
void DetectImageLogosResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allLogos = value["Logos"]["LogosItem"];
for (auto value : allLogos)
{
@@ -61,9 +64,9 @@ void DetectImageLogosResult::parse(const std::string &payload)
}
if(!value["ImageUri"].isNull())
imageUri_ = value["ImageUri"].asString();
}
}
std::vector<DetectImageLogosResult::LogosItem> DetectImageLogosResult::getLogos()const
{
return logos_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DetectImageTagsRequest.h>
using AlibabaCloud::Imm::Model::DetectImageTagsRequest;
DetectImageTagsRequest::DetectImageTagsRequest() :
RpcServiceRequest("imm", "2017-09-06", "DetectImageTags")
{}
DetectImageTagsRequest::~DetectImageTagsRequest()
{}
/*
* 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/imm/model/DetectImageTagsRequest.h>
using AlibabaCloud::Imm::Model::DetectImageTagsRequest;
DetectImageTagsRequest::DetectImageTagsRequest() :
RpcServiceRequest("imm", "2017-09-06", "DetectImageTags")
{}
DetectImageTagsRequest::~DetectImageTagsRequest()
{}
std::string DetectImageTagsRequest::getImageUri()const
{
return imageUri_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DetectImageTagsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DetectImageTagsResult::DetectImageTagsResult() :
ServiceResult()
{}
DetectImageTagsResult::DetectImageTagsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DetectImageTagsResult::~DetectImageTagsResult()
{}
void DetectImageTagsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/DetectImageTagsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DetectImageTagsResult::DetectImageTagsResult() :
ServiceResult()
{}
DetectImageTagsResult::DetectImageTagsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DetectImageTagsResult::~DetectImageTagsResult()
{}
void DetectImageTagsResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allTags = value["Tags"]["TagsItem"];
for (auto value : allTags)
{
@@ -60,9 +63,9 @@ void DetectImageTagsResult::parse(const std::string &payload)
}
if(!value["ImageUri"].isNull())
imageUri_ = value["ImageUri"].asString();
}
}
std::string DetectImageTagsResult::getImageUri()const
{
return imageUri_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DetectImageTextsRequest.h>
using AlibabaCloud::Imm::Model::DetectImageTextsRequest;
DetectImageTextsRequest::DetectImageTextsRequest() :
RpcServiceRequest("imm", "2017-09-06", "DetectImageTexts")
{}
DetectImageTextsRequest::~DetectImageTextsRequest()
{}
/*
* 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/imm/model/DetectImageTextsRequest.h>
using AlibabaCloud::Imm::Model::DetectImageTextsRequest;
DetectImageTextsRequest::DetectImageTextsRequest() :
RpcServiceRequest("imm", "2017-09-06", "DetectImageTexts")
{}
DetectImageTextsRequest::~DetectImageTextsRequest()
{}
std::string DetectImageTextsRequest::getImageUri()const
{
return imageUri_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DetectImageTextsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DetectImageTextsResult::DetectImageTextsResult() :
ServiceResult()
{}
DetectImageTextsResult::DetectImageTextsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DetectImageTextsResult::~DetectImageTextsResult()
{}
void DetectImageTextsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/DetectImageTextsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DetectImageTextsResult::DetectImageTextsResult() :
ServiceResult()
{}
DetectImageTextsResult::DetectImageTextsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DetectImageTextsResult::~DetectImageTextsResult()
{}
void DetectImageTextsResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allOCR = value["OCR"]["OCRItem"];
for (auto value : allOCR)
{
@@ -61,9 +64,9 @@ void DetectImageTextsResult::parse(const std::string &payload)
}
if(!value["ImageUri"].isNull())
imageUri_ = value["ImageUri"].asString();
}
}
std::string DetectImageTextsResult::getImageUri()const
{
return imageUri_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DetectLogoRequest.h>
using AlibabaCloud::Imm::Model::DetectLogoRequest;
DetectLogoRequest::DetectLogoRequest() :
RpcServiceRequest("imm", "2017-09-06", "DetectLogo")
{}
DetectLogoRequest::~DetectLogoRequest()
{}
/*
* 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/imm/model/DetectLogoRequest.h>
using AlibabaCloud::Imm::Model::DetectLogoRequest;
DetectLogoRequest::DetectLogoRequest() :
RpcServiceRequest("imm", "2017-09-06", "DetectLogo")
{}
DetectLogoRequest::~DetectLogoRequest()
{}
std::string DetectLogoRequest::getSrcUris()const
{
return srcUris_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DetectLogoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DetectLogoResult::DetectLogoResult() :
ServiceResult()
{}
DetectLogoResult::DetectLogoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DetectLogoResult::~DetectLogoResult()
{}
void DetectLogoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/DetectLogoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DetectLogoResult::DetectLogoResult() :
ServiceResult()
{}
DetectLogoResult::DetectLogoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DetectLogoResult::~DetectLogoResult()
{}
void DetectLogoResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allSuccessDetails = value["SuccessDetails"]["SuccessDetailsItem"];
for (auto value : allSuccessDetails)
{
@@ -82,9 +85,9 @@ void DetectLogoResult::parse(const std::string &payload)
auto allSrcUris = value["SrcUris"]["SrcUris"];
for (const auto &item : allSrcUris)
srcUris_.push_back(item.asString());
}
}
std::vector<DetectLogoResult::SuccessDetailsItem> DetectLogoResult::getSuccessDetails()const
{
return successDetails_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DetectQRCodesRequest.h>
using AlibabaCloud::Imm::Model::DetectQRCodesRequest;
DetectQRCodesRequest::DetectQRCodesRequest() :
RpcServiceRequest("imm", "2017-09-06", "DetectQRCodes")
{}
DetectQRCodesRequest::~DetectQRCodesRequest()
{}
/*
* 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/imm/model/DetectQRCodesRequest.h>
using AlibabaCloud::Imm::Model::DetectQRCodesRequest;
DetectQRCodesRequest::DetectQRCodesRequest() :
RpcServiceRequest("imm", "2017-09-06", "DetectQRCodes")
{}
DetectQRCodesRequest::~DetectQRCodesRequest()
{}
std::string DetectQRCodesRequest::getSrcUris()const
{
return srcUris_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DetectQRCodesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DetectQRCodesResult::DetectQRCodesResult() :
ServiceResult()
{}
DetectQRCodesResult::DetectQRCodesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DetectQRCodesResult::~DetectQRCodesResult()
{}
void DetectQRCodesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/DetectQRCodesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DetectQRCodesResult::DetectQRCodesResult() :
ServiceResult()
{}
DetectQRCodesResult::DetectQRCodesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DetectQRCodesResult::~DetectQRCodesResult()
{}
void DetectQRCodesResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allSuccessDetails = value["SuccessDetails"]["SuccessDetailsItem"];
for (auto value : allSuccessDetails)
{
@@ -77,9 +80,9 @@ void DetectQRCodesResult::parse(const std::string &payload)
failDetailsObject.errorMessage = value["ErrorMessage"].asString();
failDetails_.push_back(failDetailsObject);
}
}
}
std::vector<DetectQRCodesResult::SuccessDetailsItem> DetectQRCodesResult::getSuccessDetails()const
{
return successDetails_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/DetectTagRequest.h>
using AlibabaCloud::Imm::Model::DetectTagRequest;
DetectTagRequest::DetectTagRequest() :
RpcServiceRequest("imm", "2017-09-06", "DetectTag")
{}
DetectTagRequest::~DetectTagRequest()
{}
/*
* 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/imm/model/DetectTagRequest.h>
using AlibabaCloud::Imm::Model::DetectTagRequest;
DetectTagRequest::DetectTagRequest() :
RpcServiceRequest("imm", "2017-09-06", "DetectTag")
{}
DetectTagRequest::~DetectTagRequest()
{}
std::string DetectTagRequest::getSrcUris()const
{
return srcUris_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/DetectTagResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DetectTagResult::DetectTagResult() :
ServiceResult()
{}
DetectTagResult::DetectTagResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DetectTagResult::~DetectTagResult()
{}
void DetectTagResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/DetectTagResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
DetectTagResult::DetectTagResult() :
ServiceResult()
{}
DetectTagResult::DetectTagResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DetectTagResult::~DetectTagResult()
{}
void DetectTagResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allSuccessDetails = value["SuccessDetails"]["SuccessDetailsItem"];
for (auto value : allSuccessDetails)
{
@@ -78,9 +81,9 @@ void DetectTagResult::parse(const std::string &payload)
}
if(!value["SuccessNum"].isNull())
successNum_ = value["SuccessNum"].asString();
}
}
std::vector<DetectTagResult::SuccessDetailsItem> DetectTagResult::getSuccessDetails()const
{
return successDetails_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/FindImagesByTagNamesRequest.h>
using AlibabaCloud::Imm::Model::FindImagesByTagNamesRequest;
FindImagesByTagNamesRequest::FindImagesByTagNamesRequest() :
RpcServiceRequest("imm", "2017-09-06", "FindImagesByTagNames")
{}
FindImagesByTagNamesRequest::~FindImagesByTagNamesRequest()
{}
/*
* 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/imm/model/FindImagesByTagNamesRequest.h>
using AlibabaCloud::Imm::Model::FindImagesByTagNamesRequest;
FindImagesByTagNamesRequest::FindImagesByTagNamesRequest() :
RpcServiceRequest("imm", "2017-09-06", "FindImagesByTagNames")
{}
FindImagesByTagNamesRequest::~FindImagesByTagNamesRequest()
{}
std::string FindImagesByTagNamesRequest::getRegionId()const
{
return regionId_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/FindImagesByTagNamesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
FindImagesByTagNamesResult::FindImagesByTagNamesResult() :
ServiceResult()
{}
FindImagesByTagNamesResult::FindImagesByTagNamesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
FindImagesByTagNamesResult::~FindImagesByTagNamesResult()
{}
void FindImagesByTagNamesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/FindImagesByTagNamesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
FindImagesByTagNamesResult::FindImagesByTagNamesResult() :
ServiceResult()
{}
FindImagesByTagNamesResult::FindImagesByTagNamesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
FindImagesByTagNamesResult::~FindImagesByTagNamesResult()
{}
void FindImagesByTagNamesResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allImages = value["Images"]["Frames"];
for (auto value : allImages)
{
@@ -242,9 +245,9 @@ void FindImagesByTagNamesResult::parse(const std::string &payload)
setId_ = value["SetId"].asString();
if(!value["NextMarker"].isNull())
nextMarker_ = value["NextMarker"].asString();
}
}
std::vector<FindImagesByTagNamesResult::Frames> FindImagesByTagNamesResult::getImages()const
{
return images_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/FindImagesRequest.h>
using AlibabaCloud::Imm::Model::FindImagesRequest;
FindImagesRequest::FindImagesRequest() :
RpcServiceRequest("imm", "2017-09-06", "FindImages")
{}
FindImagesRequest::~FindImagesRequest()
{}
/*
* 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/imm/model/FindImagesRequest.h>
using AlibabaCloud::Imm::Model::FindImagesRequest;
FindImagesRequest::FindImagesRequest() :
RpcServiceRequest("imm", "2017-09-06", "FindImages")
{}
FindImagesRequest::~FindImagesRequest()
{}
std::string FindImagesRequest::getGender()const
{
return gender_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/FindImagesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
FindImagesResult::FindImagesResult() :
ServiceResult()
{}
FindImagesResult::FindImagesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
FindImagesResult::~FindImagesResult()
{}
void FindImagesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/FindImagesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
FindImagesResult::FindImagesResult() :
ServiceResult()
{}
FindImagesResult::FindImagesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
FindImagesResult::~FindImagesResult()
{}
void FindImagesResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allImages = value["Images"]["ImagesItem"];
for (auto value : allImages)
{
@@ -242,9 +245,9 @@ void FindImagesResult::parse(const std::string &payload)
setId_ = value["SetId"].asString();
if(!value["NextMarker"].isNull())
nextMarker_ = value["NextMarker"].asString();
}
}
std::vector<FindImagesResult::ImagesItem> FindImagesResult::getImages()const
{
return images_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/FindSimilarFacesRequest.h>
using AlibabaCloud::Imm::Model::FindSimilarFacesRequest;
FindSimilarFacesRequest::FindSimilarFacesRequest() :
RpcServiceRequest("imm", "2017-09-06", "FindSimilarFaces")
{}
FindSimilarFacesRequest::~FindSimilarFacesRequest()
{}
/*
* 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/imm/model/FindSimilarFacesRequest.h>
using AlibabaCloud::Imm::Model::FindSimilarFacesRequest;
FindSimilarFacesRequest::FindSimilarFacesRequest() :
RpcServiceRequest("imm", "2017-09-06", "FindSimilarFaces")
{}
FindSimilarFacesRequest::~FindSimilarFacesRequest()
{}
std::string FindSimilarFacesRequest::getImageUri()const
{
return imageUri_;
@@ -58,6 +58,17 @@ void FindSimilarFacesRequest::setMinSimilarity(float minSimilarity)
setCoreParameter("MinSimilarity", std::to_string(minSimilarity));
}
std::string FindSimilarFacesRequest::getResponseFormat()const
{
return responseFormat_;
}
void FindSimilarFacesRequest::setResponseFormat(const std::string& responseFormat)
{
responseFormat_ = responseFormat;
setCoreParameter("ResponseFormat", responseFormat);
}
int FindSimilarFacesRequest::getLimit()const
{
return limit_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/FindSimilarFacesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
FindSimilarFacesResult::FindSimilarFacesResult() :
ServiceResult()
{}
FindSimilarFacesResult::FindSimilarFacesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
FindSimilarFacesResult::~FindSimilarFacesResult()
{}
void FindSimilarFacesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/FindSimilarFacesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
FindSimilarFacesResult::FindSimilarFacesResult() :
ServiceResult()
{}
FindSimilarFacesResult::FindSimilarFacesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
FindSimilarFacesResult::~FindSimilarFacesResult()
{}
void FindSimilarFacesResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allFaces = value["Faces"]["FacesItem"];
for (auto value : allFaces)
{
@@ -50,21 +53,43 @@ void FindSimilarFacesResult::parse(const std::string &payload)
facesObject.imageUri = value["ImageUri"].asString();
if(!value["Similarity"].isNull())
facesObject.similarity = std::stof(value["Similarity"].asString());
auto allSimilarFaces = value["SimilarFaces"]["SimilarFacesItem"];
for (auto value : allSimilarFaces)
{
FacesItem::SimilarFacesItem similarFacesObject;
if(!value["FaceId"].isNull())
similarFacesObject.faceId = value["FaceId"].asString();
if(!value["ImageUri"].isNull())
similarFacesObject.imageUri = value["ImageUri"].asString();
if(!value["Similarity"].isNull())
similarFacesObject.similarity = std::stof(value["Similarity"].asString());
auto faceAttributes1Node = value["FaceAttributes"];
auto faceBoundaryNode = faceAttributes1Node["FaceBoundary"];
if(!faceBoundaryNode["Left"].isNull())
similarFacesObject.faceAttributes1.faceBoundary.left = std::stoi(faceBoundaryNode["Left"].asString());
if(!faceBoundaryNode["Top"].isNull())
similarFacesObject.faceAttributes1.faceBoundary.top = std::stoi(faceBoundaryNode["Top"].asString());
if(!faceBoundaryNode["Width"].isNull())
similarFacesObject.faceAttributes1.faceBoundary.width = std::stoi(faceBoundaryNode["Width"].asString());
if(!faceBoundaryNode["Height"].isNull())
similarFacesObject.faceAttributes1.faceBoundary.height = std::stoi(faceBoundaryNode["Height"].asString());
facesObject.similarFaces.push_back(similarFacesObject);
}
auto faceAttributesNode = value["FaceAttributes"];
auto faceBoundaryNode = faceAttributesNode["FaceBoundary"];
if(!faceBoundaryNode["Left"].isNull())
facesObject.faceAttributes.faceBoundary.left = std::stoi(faceBoundaryNode["Left"].asString());
if(!faceBoundaryNode["Top"].isNull())
facesObject.faceAttributes.faceBoundary.top = std::stoi(faceBoundaryNode["Top"].asString());
if(!faceBoundaryNode["Width"].isNull())
facesObject.faceAttributes.faceBoundary.width = std::stoi(faceBoundaryNode["Width"].asString());
if(!faceBoundaryNode["Height"].isNull())
facesObject.faceAttributes.faceBoundary.height = std::stoi(faceBoundaryNode["Height"].asString());
auto faceBoundary2Node = faceAttributesNode["FaceBoundary"];
if(!faceBoundary2Node["Left"].isNull())
facesObject.faceAttributes.faceBoundary2.left = std::stoi(faceBoundary2Node["Left"].asString());
if(!faceBoundary2Node["Top"].isNull())
facesObject.faceAttributes.faceBoundary2.top = std::stoi(faceBoundary2Node["Top"].asString());
if(!faceBoundary2Node["Width"].isNull())
facesObject.faceAttributes.faceBoundary2.width = std::stoi(faceBoundary2Node["Width"].asString());
if(!faceBoundary2Node["Height"].isNull())
facesObject.faceAttributes.faceBoundary2.height = std::stoi(faceBoundary2Node["Height"].asString());
faces_.push_back(facesObject);
}
}
}
std::vector<FindSimilarFacesResult::FacesItem> FindSimilarFacesResult::getFaces()const
{
return faces_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/GetDocIndexRequest.h>
using AlibabaCloud::Imm::Model::GetDocIndexRequest;
GetDocIndexRequest::GetDocIndexRequest() :
RpcServiceRequest("imm", "2017-09-06", "GetDocIndex")
{}
GetDocIndexRequest::~GetDocIndexRequest()
{}
/*
* 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/imm/model/GetDocIndexRequest.h>
using AlibabaCloud::Imm::Model::GetDocIndexRequest;
GetDocIndexRequest::GetDocIndexRequest() :
RpcServiceRequest("imm", "2017-09-06", "GetDocIndex")
{}
GetDocIndexRequest::~GetDocIndexRequest()
{}
std::string GetDocIndexRequest::getSet()const
{
return set_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/GetDocIndexResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
GetDocIndexResult::GetDocIndexResult() :
ServiceResult()
{}
GetDocIndexResult::GetDocIndexResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetDocIndexResult::~GetDocIndexResult()
{}
void GetDocIndexResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/GetDocIndexResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
GetDocIndexResult::GetDocIndexResult() :
ServiceResult()
{}
GetDocIndexResult::GetDocIndexResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetDocIndexResult::~GetDocIndexResult()
{}
void GetDocIndexResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["IndexCreatedTime"].isNull())
indexCreatedTime_ = value["IndexCreatedTime"].asString();
if(!value["IndexModifiedTime"].isNull())
@@ -70,9 +73,9 @@ void GetDocIndexResult::parse(const std::string &payload)
customKey5_ = value["CustomKey5"].asString();
if(!value["CustomKey6"].isNull())
customKey6_ = value["CustomKey6"].asString();
}
}
std::string GetDocIndexResult::getCustomKey4()const
{
return customKey4_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/GetDocIndexTaskRequest.h>
using AlibabaCloud::Imm::Model::GetDocIndexTaskRequest;
GetDocIndexTaskRequest::GetDocIndexTaskRequest() :
RpcServiceRequest("imm", "2017-09-06", "GetDocIndexTask")
{}
GetDocIndexTaskRequest::~GetDocIndexTaskRequest()
{}
/*
* 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/imm/model/GetDocIndexTaskRequest.h>
using AlibabaCloud::Imm::Model::GetDocIndexTaskRequest;
GetDocIndexTaskRequest::GetDocIndexTaskRequest() :
RpcServiceRequest("imm", "2017-09-06", "GetDocIndexTask")
{}
GetDocIndexTaskRequest::~GetDocIndexTaskRequest()
{}
std::string GetDocIndexTaskRequest::getRegionId()const
{
return regionId_;

View File

@@ -1,45 +1,48 @@
/*
* 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/imm/model/GetDocIndexTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
GetDocIndexTaskResult::GetDocIndexTaskResult() :
ServiceResult()
{}
GetDocIndexTaskResult::GetDocIndexTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetDocIndexTaskResult::~GetDocIndexTaskResult()
{}
void GetDocIndexTaskResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/imm/model/GetDocIndexTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
GetDocIndexTaskResult::GetDocIndexTaskResult() :
ServiceResult()
{}
GetDocIndexTaskResult::GetDocIndexTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetDocIndexTaskResult::~GetDocIndexTaskResult()
{}
void GetDocIndexTaskResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto failDetailNode = value["FailDetail"];
if(!failDetailNode["Code"].isNull())
failDetail_.code = failDetailNode["Code"].asString();
@@ -51,9 +54,9 @@ void GetDocIndexTaskResult::parse(const std::string &payload)
createTime_ = value["CreateTime"].asString();
if(!value["FinishTime"].isNull())
finishTime_ = value["FinishTime"].asString();
}
}
std::string GetDocIndexTaskResult::getStatus()const
{
return status_;

View File

@@ -1,30 +1,30 @@
/*
* 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/imm/model/GetFaceSearchGroupRequest.h>
using AlibabaCloud::Imm::Model::GetFaceSearchGroupRequest;
GetFaceSearchGroupRequest::GetFaceSearchGroupRequest() :
RpcServiceRequest("imm", "2017-09-06", "GetFaceSearchGroup")
{}
GetFaceSearchGroupRequest::~GetFaceSearchGroupRequest()
{}
/*
* 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/imm/model/GetFaceSearchGroupRequest.h>
using AlibabaCloud::Imm::Model::GetFaceSearchGroupRequest;
GetFaceSearchGroupRequest::GetFaceSearchGroupRequest() :
RpcServiceRequest("imm", "2017-09-06", "GetFaceSearchGroup")
{}
GetFaceSearchGroupRequest::~GetFaceSearchGroupRequest()
{}
std::string GetFaceSearchGroupRequest::getRegionId()const
{
return regionId_;

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