GREEN SDK Auto Released By Alibaba Cloud,Version:1.15.0

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
haowei.yao
2018-05-28 19:21:02 +08:00
parent b1d844c587
commit b333d4f03c
45 changed files with 789 additions and 102 deletions

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::AddFacesRequest;
AddFacesRequest::AddFacesRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
AddFacesRequest::~AddFacesRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::AddGroupsRequest;
AddGroupsRequest::AddGroupsRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
AddGroupsRequest::~AddGroupsRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::AddPersonRequest;
AddPersonRequest::AddPersonRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
AddPersonRequest::~AddPersonRequest()

View File

@@ -0,0 +1,38 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/green/model/AddSimilarityImageRequest.h>
using AlibabaCloud::Green::Model::AddSimilarityImageRequest;
AddSimilarityImageRequest::AddSimilarityImageRequest() :
RoaServiceRequest("green", "2018-05-09")
{}
AddSimilarityImageRequest::~AddSimilarityImageRequest()
{}
std::string AddSimilarityImageRequest::getClientInfo()const
{
return clientInfo_;
}
void AddSimilarityImageRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/green/model/AddSimilarityImageResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
AddSimilarityImageResult::AddSimilarityImageResult() :
ServiceResult()
{}
AddSimilarityImageResult::AddSimilarityImageResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddSimilarityImageResult::~AddSimilarityImageResult()
{}
void AddSimilarityImageResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::DeleteFacesRequest;
DeleteFacesRequest::DeleteFacesRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
DeleteFacesRequest::~DeleteFacesRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::DeleteGroupsRequest;
DeleteGroupsRequest::DeleteGroupsRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
DeleteGroupsRequest::~DeleteGroupsRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::DeletePersonRequest;
DeletePersonRequest::DeletePersonRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
DeletePersonRequest::~DeletePersonRequest()

View File

@@ -0,0 +1,38 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/green/model/DeleteSimilarityImageRequest.h>
using AlibabaCloud::Green::Model::DeleteSimilarityImageRequest;
DeleteSimilarityImageRequest::DeleteSimilarityImageRequest() :
RoaServiceRequest("green", "2018-05-09")
{}
DeleteSimilarityImageRequest::~DeleteSimilarityImageRequest()
{}
std::string DeleteSimilarityImageRequest::getClientInfo()const
{
return clientInfo_;
}
void DeleteSimilarityImageRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/green/model/DeleteSimilarityImageResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
DeleteSimilarityImageResult::DeleteSimilarityImageResult() :
ServiceResult()
{}
DeleteSimilarityImageResult::DeleteSimilarityImageResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteSimilarityImageResult::~DeleteSimilarityImageResult()
{}
void DeleteSimilarityImageResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::FileAsyncScanRequest;
FileAsyncScanRequest::FileAsyncScanRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
FileAsyncScanRequest::~FileAsyncScanRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::FileAsyncScanResultsRequest;
FileAsyncScanResultsRequest::FileAsyncScanResultsRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
FileAsyncScanResultsRequest::~FileAsyncScanResultsRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::GetFacesRequest;
GetFacesRequest::GetFacesRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
GetFacesRequest::~GetFacesRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::GetGroupsRequest;
GetGroupsRequest::GetGroupsRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
GetGroupsRequest::~GetGroupsRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::GetPersonRequest;
GetPersonRequest::GetPersonRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
GetPersonRequest::~GetPersonRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::GetPersonsRequest;
GetPersonsRequest::GetPersonsRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
GetPersonsRequest::~GetPersonsRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::ImageAsyncScanRequest;
ImageAsyncScanRequest::ImageAsyncScanRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
ImageAsyncScanRequest::~ImageAsyncScanRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::ImageAsyncScanResultsRequest;
ImageAsyncScanResultsRequest::ImageAsyncScanResultsRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
ImageAsyncScanResultsRequest::~ImageAsyncScanResultsRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::ImageScanFeedbackRequest;
ImageScanFeedbackRequest::ImageScanFeedbackRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
ImageScanFeedbackRequest::~ImageScanFeedbackRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::ImageSyncScanRequest;
ImageSyncScanRequest::ImageSyncScanRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
ImageSyncScanRequest::~ImageSyncScanRequest()

View File

@@ -14,34 +14,34 @@
* limitations under the License.
*/
#include <alibabacloud/green/model/SearchRequest.h>
#include <alibabacloud/green/model/SearchPersonRequest.h>
using AlibabaCloud::Green::Model::SearchRequest;
using AlibabaCloud::Green::Model::SearchPersonRequest;
SearchRequest::SearchRequest() :
RoaServiceRequest("green", "2017-08-25")
SearchPersonRequest::SearchPersonRequest() :
RoaServiceRequest("green", "2018-05-09")
{}
SearchRequest::~SearchRequest()
SearchPersonRequest::~SearchPersonRequest()
{}
std::string SearchRequest::getRegionId()const
std::string SearchPersonRequest::getRegionId()const
{
return regionId_;
}
void SearchRequest::setRegionId(const std::string& regionId)
void SearchPersonRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string SearchRequest::getClientInfo()const
std::string SearchPersonRequest::getClientInfo()const
{
return clientInfo_;
}
void SearchRequest::setClientInfo(const std::string& clientInfo)
void SearchPersonRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);

View File

@@ -14,26 +14,26 @@
* limitations under the License.
*/
#include <alibabacloud/green/model/SearchResult.h>
#include <alibabacloud/green/model/SearchPersonResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
SearchResult::SearchResult() :
SearchPersonResult::SearchPersonResult() :
ServiceResult()
{}
SearchResult::SearchResult(const std::string &payload) :
SearchPersonResult::SearchPersonResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SearchResult::~SearchResult()
SearchPersonResult::~SearchPersonResult()
{}
void SearchResult::parse(const std::string &payload)
void SearchPersonResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::SetPersonRequest;
SetPersonRequest::SetPersonRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
SetPersonRequest::~SetPersonRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::TextFeedbackRequest;
TextFeedbackRequest::TextFeedbackRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
TextFeedbackRequest::~TextFeedbackRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::TextScanRequest;
TextScanRequest::TextScanRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
TextScanRequest::~TextScanRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::VideoAsyncScanRequest;
VideoAsyncScanRequest::VideoAsyncScanRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
VideoAsyncScanRequest::~VideoAsyncScanRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::VideoAsyncScanResultsRequest;
VideoAsyncScanResultsRequest::VideoAsyncScanResultsRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
VideoAsyncScanResultsRequest::~VideoAsyncScanResultsRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::VideoFeedbackRequest;
VideoFeedbackRequest::VideoFeedbackRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
VideoFeedbackRequest::~VideoFeedbackRequest()

View File

@@ -0,0 +1,38 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/green/model/VideoSyncScanRequest.h>
using AlibabaCloud::Green::Model::VideoSyncScanRequest;
VideoSyncScanRequest::VideoSyncScanRequest() :
RoaServiceRequest("green", "2018-05-09")
{}
VideoSyncScanRequest::~VideoSyncScanRequest()
{}
std::string VideoSyncScanRequest::getClientInfo()const
{
return clientInfo_;
}
void VideoSyncScanRequest::setClientInfo(const std::string& clientInfo)
{
clientInfo_ = clientInfo;
setParameter("ClientInfo", clientInfo);
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/green/model/VideoSyncScanResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Green;
using namespace AlibabaCloud::Green::Model;
VideoSyncScanResult::VideoSyncScanResult() :
ServiceResult()
{}
VideoSyncScanResult::VideoSyncScanResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
VideoSyncScanResult::~VideoSyncScanResult()
{}
void VideoSyncScanResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::VoiceAsyncScanRequest;
VoiceAsyncScanRequest::VoiceAsyncScanRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
VoiceAsyncScanRequest::~VoiceAsyncScanRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Green::Model::VoiceAsyncScanResultsRequest;
VoiceAsyncScanResultsRequest::VoiceAsyncScanResultsRequest() :
RoaServiceRequest("green", "2017-08-25")
RoaServiceRequest("green", "2018-05-09")
{}
VoiceAsyncScanResultsRequest::~VoiceAsyncScanResultsRequest()