Update ListFaceDbs.

This commit is contained in:
sdk-team
2022-06-30 03:22:45 +00:00
parent 26956db67d
commit 4c79a8e588
158 changed files with 6866 additions and 5668 deletions

View File

@@ -1,3 +1,6 @@
2022-06-30 Version: 1.36.1163
- Update ListFaceDbs.
2022-06-28 Version: 1.36.1162
- Update QuerySavingsPlansDeductLog add field OwnerId.

View File

@@ -1 +1 @@
1.36.1162
1.36.1163

View File

@@ -1,57 +1,64 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_ADDBODYTRACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_ADDBODYTRACEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT AddBodyTraceRequest : public RpcServiceRequest
{
public:
AddBodyTraceRequest();
~AddBodyTraceRequest();
std::string getExtraData()const;
void setExtraData(const std::string& extraData);
long getPersonId()const;
void setPersonId(long personId);
Array getImages()const;
void setImages(const Array& images);
long getDbId()const;
void setDbId(long dbId);
private:
std::string extraData_;
long personId_;
Array images_;
long dbId_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_ADDBODYTRACEREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_ADDBODYTRACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_ADDBODYTRACEREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT AddBodyTraceRequest : public RpcServiceRequest {
public:
struct Images {
std::string imageURL;
std::string imageData;
};
AddBodyTraceRequest();
~AddBodyTraceRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getExtraData() const;
void setExtraData(const std::string &extraData);
long getPersonId() const;
void setPersonId(long personId);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::vector<Images> getImages() const;
void setImages(const std::vector<Images> &images);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
long getDbId() const;
void setDbId(long dbId);
private:
bool formatResultToJson_;
std::string extraData_;
long personId_;
std::string ossFile_;
std::vector<Images> images_;
std::string requestProxyBy_;
long dbId_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_ADDBODYTRACEREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_ADDFACEENTITYREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_ADDFACEENTITYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT AddFaceEntityRequest : public RpcServiceRequest
{
public:
AddFaceEntityRequest();
~AddFaceEntityRequest();
std::string getEntityId()const;
void setEntityId(const std::string& entityId);
std::string getLabels()const;
void setLabels(const std::string& labels);
std::string getDbName()const;
void setDbName(const std::string& dbName);
private:
std::string entityId_;
std::string labels_;
std::string dbName_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_ADDFACEENTITYREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_ADDFACEENTITYREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_ADDFACEENTITYREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT AddFaceEntityRequest : public RpcServiceRequest {
public:
AddFaceEntityRequest();
~AddFaceEntityRequest();
std::string getEntityId() const;
void setEntityId(const std::string &entityId);
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getLabels() const;
void setLabels(const std::string &labels);
std::string getDbName() const;
void setDbName(const std::string &dbName);
private:
std::string entityId_;
bool formatResultToJson_;
std::string ossFile_;
std::string requestProxyBy_;
std::string labels_;
std::string dbName_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_ADDFACEENTITYREQUEST_H_

View File

@@ -1,60 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_ADDFACEIMAGETEMPLATEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_ADDFACEIMAGETEMPLATEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT AddFaceImageTemplateRequest : public RpcServiceRequest
{
public:
AddFaceImageTemplateRequest();
~AddFaceImageTemplateRequest();
bool getFormatResultToJson()const;
void setFormatResultToJson(bool formatResultToJson);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getOssFile()const;
void setOssFile(const std::string& ossFile);
std::string getRequestProxyBy()const;
void setRequestProxyBy(const std::string& requestProxyBy);
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
bool formatResultToJson_;
std::string userId_;
std::string ossFile_;
std::string requestProxyBy_;
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_ADDFACEIMAGETEMPLATEREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_ADDFACEIMAGETEMPLATEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_ADDFACEIMAGETEMPLATEREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT AddFaceImageTemplateRequest : public RpcServiceRequest {
public:
AddFaceImageTemplateRequest();
~AddFaceImageTemplateRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getUserId() const;
void setUserId(const std::string &userId);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
bool formatResultToJson_;
std::string userId_;
std::string ossFile_;
std::string requestProxyBy_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_ADDFACEIMAGETEMPLATEREQUEST_H_

View File

@@ -1,66 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_ADDFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_ADDFACEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT AddFaceRequest : public RpcServiceRequest
{
public:
AddFaceRequest();
~AddFaceRequest();
std::string getEntityId()const;
void setEntityId(const std::string& entityId);
float getQualityScoreThreshold()const;
void setQualityScoreThreshold(float qualityScoreThreshold);
float getSimilarityScoreThresholdBetweenEntity()const;
void setSimilarityScoreThresholdBetweenEntity(float similarityScoreThresholdBetweenEntity);
std::string getExtraData()const;
void setExtraData(const std::string& extraData);
float getSimilarityScoreThresholdInEntity()const;
void setSimilarityScoreThresholdInEntity(float similarityScoreThresholdInEntity);
std::string getDbName()const;
void setDbName(const std::string& dbName);
std::string getImageUrl()const;
void setImageUrl(const std::string& imageUrl);
private:
std::string entityId_;
float qualityScoreThreshold_;
float similarityScoreThresholdBetweenEntity_;
std::string extraData_;
float similarityScoreThresholdInEntity_;
std::string dbName_;
std::string imageUrl_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_ADDFACEREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_ADDFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_ADDFACEREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT AddFaceRequest : public RpcServiceRequest {
public:
AddFaceRequest();
~AddFaceRequest();
std::string getEntityId() const;
void setEntityId(const std::string &entityId);
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
float getQualityScoreThreshold() const;
void setQualityScoreThreshold(float qualityScoreThreshold);
float getSimilarityScoreThresholdBetweenEntity() const;
void setSimilarityScoreThresholdBetweenEntity(float similarityScoreThresholdBetweenEntity);
std::string getExtraData() const;
void setExtraData(const std::string &extraData);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
float getSimilarityScoreThresholdInEntity() const;
void setSimilarityScoreThresholdInEntity(float similarityScoreThresholdInEntity);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getDbName() const;
void setDbName(const std::string &dbName);
std::string getImageUrl() const;
void setImageUrl(const std::string &imageUrl);
private:
std::string entityId_;
bool formatResultToJson_;
float qualityScoreThreshold_;
float similarityScoreThresholdBetweenEntity_;
std::string extraData_;
std::string ossFile_;
float similarityScoreThresholdInEntity_;
std::string requestProxyBy_;
std::string dbName_;
std::string imageUrl_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_ADDFACEREQUEST_H_

View File

@@ -1,63 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_BATCHADDFACESREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_BATCHADDFACESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT BatchAddFacesRequest : public RpcServiceRequest
{
public:
BatchAddFacesRequest();
~BatchAddFacesRequest();
std::string getEntityId()const;
void setEntityId(const std::string& entityId);
float getQualityScoreThreshold()const;
void setQualityScoreThreshold(float qualityScoreThreshold);
float getSimilarityScoreThresholdBetweenEntity()const;
void setSimilarityScoreThresholdBetweenEntity(float similarityScoreThresholdBetweenEntity);
float getSimilarityScoreThresholdInEntity()const;
void setSimilarityScoreThresholdInEntity(float similarityScoreThresholdInEntity);
std::string getDbName()const;
void setDbName(const std::string& dbName);
Array getFaces()const;
void setFaces(const Array& faces);
private:
std::string entityId_;
float qualityScoreThreshold_;
float similarityScoreThresholdBetweenEntity_;
float similarityScoreThresholdInEntity_;
std::string dbName_;
Array faces_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_BATCHADDFACESREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_BATCHADDFACESREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_BATCHADDFACESREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT BatchAddFacesRequest : public RpcServiceRequest {
public:
struct Faces {
std::string extraData;
std::string imageURL;
};
BatchAddFacesRequest();
~BatchAddFacesRequest();
std::string getEntityId() const;
void setEntityId(const std::string &entityId);
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
float getQualityScoreThreshold() const;
void setQualityScoreThreshold(float qualityScoreThreshold);
float getSimilarityScoreThresholdBetweenEntity() const;
void setSimilarityScoreThresholdBetweenEntity(float similarityScoreThresholdBetweenEntity);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
float getSimilarityScoreThresholdInEntity() const;
void setSimilarityScoreThresholdInEntity(float similarityScoreThresholdInEntity);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getDbName() const;
void setDbName(const std::string &dbName);
std::vector<Faces> getFaces() const;
void setFaces(const std::vector<Faces> &faces);
private:
std::string entityId_;
bool formatResultToJson_;
float qualityScoreThreshold_;
float similarityScoreThresholdBetweenEntity_;
std::string ossFile_;
float similarityScoreThresholdInEntity_;
std::string requestProxyBy_;
std::string dbName_;
std::vector<Faces> faces_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_BATCHADDFACESREQUEST_H_

View File

@@ -1,81 +1,114 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_BEAUTIFYBODYREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_BEAUTIFYBODYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT BeautifyBodyRequest : public RpcServiceRequest
{
public:
BeautifyBodyRequest();
~BeautifyBodyRequest();
Array getBodyBoxes()const;
void setBodyBoxes(const Array& bodyBoxes);
float getLengthenDegree()const;
void setLengthenDegree(float lengthenDegree);
float getMaleLiquifyDegree()const;
void setMaleLiquifyDegree(float maleLiquifyDegree);
long getOriginalWidth()const;
void setOriginalWidth(long originalWidth);
bool getIsPregnant()const;
void setIsPregnant(bool isPregnant);
Array getFaceList()const;
void setFaceList(const Array& faceList);
Struct getAgeRange()const;
void setAgeRange(const Struct& ageRange);
long getCustom()const;
void setCustom(long custom);
long getOriginalHeight()const;
void setOriginalHeight(long originalHeight);
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
float getFemaleLiquifyDegree()const;
void setFemaleLiquifyDegree(float femaleLiquifyDegree);
Array getPoseList()const;
void setPoseList(const Array& poseList);
private:
Array bodyBoxes_;
float lengthenDegree_;
float maleLiquifyDegree_;
long originalWidth_;
bool isPregnant_;
Array faceList_;
Struct ageRange_;
long custom_;
long originalHeight_;
std::string imageURL_;
float femaleLiquifyDegree_;
Array poseList_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_BEAUTIFYBODYREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_BEAUTIFYBODYREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_BEAUTIFYBODYREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT BeautifyBodyRequest : public RpcServiceRequest {
public:
struct BodyBoxes {
float x;
float width;
float y;
float height;
};
struct FaceList {
long gender;
struct FaceBox {
float x;
float width;
float y;
float height;
};
FaceBox faceBox;
long age;
};
struct AgeRange {
long ageMax;
long ageMinimum;
};
struct PoseList {
struct PoseItem {
float score;
long x;
long y;
};
PoseItem poseItem;
std::vector<PoseItem> pose;
};
BeautifyBodyRequest();
~BeautifyBodyRequest();
std::vector<BodyBoxes> getBodyBoxes() const;
void setBodyBoxes(const std::vector<BodyBoxes> &bodyBoxes);
float getLengthenDegree() const;
void setLengthenDegree(float lengthenDegree);
float getMaleLiquifyDegree() const;
void setMaleLiquifyDegree(float maleLiquifyDegree);
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
long getOriginalWidth() const;
void setOriginalWidth(long originalWidth);
bool getIsPregnant() const;
void setIsPregnant(bool isPregnant);
std::vector<FaceList> getFaceList() const;
void setFaceList(const std::vector<FaceList> &faceList);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
AgeRange getAgeRange() const;
void setAgeRange(const AgeRange &ageRange);
long getCustom() const;
void setCustom(long custom);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
long getOriginalHeight() const;
void setOriginalHeight(long originalHeight);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
float getFemaleLiquifyDegree() const;
void setFemaleLiquifyDegree(float femaleLiquifyDegree);
std::vector<PoseList> getPoseList() const;
void setPoseList(const std::vector<PoseList> &poseList);
private:
std::vector<BodyBoxes> bodyBoxes_;
float lengthenDegree_;
float maleLiquifyDegree_;
bool formatResultToJson_;
long originalWidth_;
bool isPregnant_;
std::vector<FaceList> faceList_;
std::string ossFile_;
AgeRange ageRange_;
long custom_;
std::string requestProxyBy_;
long originalHeight_;
std::string imageURL_;
float femaleLiquifyDegree_;
std::vector<PoseList> poseList_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_BEAUTIFYBODYREQUEST_H_

View File

@@ -1,48 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_BLURFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_BLURFACEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT BlurFaceRequest : public RpcServiceRequest
{
public:
BlurFaceRequest();
~BlurFaceRequest();
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_BLURFACEREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_BLURFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_BLURFACEREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT BlurFaceRequest : public RpcServiceRequest {
public:
BlurFaceRequest();
~BlurFaceRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
bool formatResultToJson_;
std::string ossFile_;
std::string requestProxyBy_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_BLURFACEREQUEST_H_

View File

@@ -1,48 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_BODYPOSTUREREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_BODYPOSTUREREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT BodyPostureRequest : public RpcServiceRequest
{
public:
BodyPostureRequest();
~BodyPostureRequest();
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_BODYPOSTUREREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_BODYPOSTUREREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_BODYPOSTUREREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT BodyPostureRequest : public RpcServiceRequest {
public:
BodyPostureRequest();
~BodyPostureRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
bool formatResultToJson_;
std::string ossFile_;
std::string requestProxyBy_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_BODYPOSTUREREQUEST_H_

View File

@@ -1,63 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_COMPAREFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_COMPAREFACEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT CompareFaceRequest : public RpcServiceRequest
{
public:
CompareFaceRequest();
~CompareFaceRequest();
std::string getImageDataA()const;
void setImageDataA(const std::string& imageDataA);
std::string getImageDataB()const;
void setImageDataB(const std::string& imageDataB);
float getQualityScoreThreshold()const;
void setQualityScoreThreshold(float qualityScoreThreshold);
std::string getImageURLB()const;
void setImageURLB(const std::string& imageURLB);
std::string getImageURLA()const;
void setImageURLA(const std::string& imageURLA);
int getImageType()const;
void setImageType(int imageType);
private:
std::string imageDataA_;
std::string imageDataB_;
float qualityScoreThreshold_;
std::string imageURLB_;
std::string imageURLA_;
int imageType_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_COMPAREFACEREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_COMPAREFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_COMPAREFACEREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT CompareFaceRequest : public RpcServiceRequest {
public:
CompareFaceRequest();
~CompareFaceRequest();
std::string getImageDataA() const;
void setImageDataA(const std::string &imageDataA);
std::string getImageDataB() const;
void setImageDataB(const std::string &imageDataB);
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
float getQualityScoreThreshold() const;
void setQualityScoreThreshold(float qualityScoreThreshold);
std::string getImageURLB() const;
void setImageURLB(const std::string &imageURLB);
std::string getImageURLA() const;
void setImageURLA(const std::string &imageURLA);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
int getImageType() const;
void setImageType(int imageType);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
private:
std::string imageDataA_;
std::string imageDataB_;
bool formatResultToJson_;
float qualityScoreThreshold_;
std::string imageURLB_;
std::string imageURLA_;
std::string ossFile_;
int imageType_;
std::string requestProxyBy_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_COMPAREFACEREQUEST_H_

View File

@@ -1,51 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_COUNTCROWDREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_COUNTCROWDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT CountCrowdRequest : public RpcServiceRequest
{
public:
CountCrowdRequest();
~CountCrowdRequest();
bool getIsShow()const;
void setIsShow(bool isShow);
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
bool isShow_;
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_COUNTCROWDREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_COUNTCROWDREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_COUNTCROWDREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT CountCrowdRequest : public RpcServiceRequest {
public:
CountCrowdRequest();
~CountCrowdRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
bool getIsShow() const;
void setIsShow(bool isShow);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
bool formatResultToJson_;
bool isShow_;
std::string ossFile_;
std::string requestProxyBy_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_COUNTCROWDREQUEST_H_

View File

@@ -1,48 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_CREATEBODYDBREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_CREATEBODYDBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT CreateBodyDbRequest : public RpcServiceRequest
{
public:
CreateBodyDbRequest();
~CreateBodyDbRequest();
std::string getName()const;
void setName(const std::string& name);
private:
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_CREATEBODYDBREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_CREATEBODYDBREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_CREATEBODYDBREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT CreateBodyDbRequest : public RpcServiceRequest {
public:
CreateBodyDbRequest();
~CreateBodyDbRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getName() const;
void setName(const std::string &name);
private:
bool formatResultToJson_;
std::string ossFile_;
std::string requestProxyBy_;
std::string name_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_CREATEBODYDBREQUEST_H_

View File

@@ -1,51 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_CREATEBODYPERSONREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_CREATEBODYPERSONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT CreateBodyPersonRequest : public RpcServiceRequest
{
public:
CreateBodyPersonRequest();
~CreateBodyPersonRequest();
long getDbId()const;
void setDbId(long dbId);
std::string getName()const;
void setName(const std::string& name);
private:
long dbId_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_CREATEBODYPERSONREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_CREATEBODYPERSONREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_CREATEBODYPERSONREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT CreateBodyPersonRequest : public RpcServiceRequest {
public:
CreateBodyPersonRequest();
~CreateBodyPersonRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
long getDbId() const;
void setDbId(long dbId);
std::string getName() const;
void setName(const std::string &name);
private:
bool formatResultToJson_;
std::string ossFile_;
std::string requestProxyBy_;
long dbId_;
std::string name_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_CREATEBODYPERSONREQUEST_H_

View File

@@ -1,48 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_CREATEFACEDBREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_CREATEFACEDBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT CreateFaceDbRequest : public RpcServiceRequest
{
public:
CreateFaceDbRequest();
~CreateFaceDbRequest();
std::string getName()const;
void setName(const std::string& name);
private:
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_CREATEFACEDBREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_CREATEFACEDBREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_CREATEFACEDBREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT CreateFaceDbRequest : public RpcServiceRequest {
public:
CreateFaceDbRequest();
~CreateFaceDbRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getName() const;
void setName(const std::string &name);
private:
bool formatResultToJson_;
std::string ossFile_;
std::string requestProxyBy_;
std::string name_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_CREATEFACEDBREQUEST_H_

View File

@@ -1,48 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DELETEBODYDBREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DELETEBODYDBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT DeleteBodyDbRequest : public RpcServiceRequest
{
public:
DeleteBodyDbRequest();
~DeleteBodyDbRequest();
long getId()const;
void setId(long id);
private:
long id_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DELETEBODYDBREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DELETEBODYDBREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DELETEBODYDBREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT DeleteBodyDbRequest : public RpcServiceRequest {
public:
DeleteBodyDbRequest();
~DeleteBodyDbRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
long getId() const;
void setId(long id);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
private:
bool formatResultToJson_;
long id_;
std::string ossFile_;
std::string requestProxyBy_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DELETEBODYDBREQUEST_H_

View File

@@ -1,51 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DELETEBODYPERSONREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DELETEBODYPERSONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT DeleteBodyPersonRequest : public RpcServiceRequest
{
public:
DeleteBodyPersonRequest();
~DeleteBodyPersonRequest();
long getPersonId()const;
void setPersonId(long personId);
long getDbId()const;
void setDbId(long dbId);
private:
long personId_;
long dbId_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DELETEBODYPERSONREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DELETEBODYPERSONREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DELETEBODYPERSONREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT DeleteBodyPersonRequest : public RpcServiceRequest {
public:
DeleteBodyPersonRequest();
~DeleteBodyPersonRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
long getPersonId() const;
void setPersonId(long personId);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
long getDbId() const;
void setDbId(long dbId);
private:
bool formatResultToJson_;
long personId_;
std::string ossFile_;
std::string requestProxyBy_;
long dbId_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DELETEBODYPERSONREQUEST_H_

View File

@@ -1,48 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DELETEFACEDBREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DELETEFACEDBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT DeleteFaceDbRequest : public RpcServiceRequest
{
public:
DeleteFaceDbRequest();
~DeleteFaceDbRequest();
std::string getName()const;
void setName(const std::string& name);
private:
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DELETEFACEDBREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DELETEFACEDBREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DELETEFACEDBREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT DeleteFaceDbRequest : public RpcServiceRequest {
public:
DeleteFaceDbRequest();
~DeleteFaceDbRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getName() const;
void setName(const std::string &name);
private:
bool formatResultToJson_;
std::string ossFile_;
std::string requestProxyBy_;
std::string name_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DELETEFACEDBREQUEST_H_

View File

@@ -1,51 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DELETEFACEENTITYREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DELETEFACEENTITYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT DeleteFaceEntityRequest : public RpcServiceRequest
{
public:
DeleteFaceEntityRequest();
~DeleteFaceEntityRequest();
std::string getEntityId()const;
void setEntityId(const std::string& entityId);
std::string getDbName()const;
void setDbName(const std::string& dbName);
private:
std::string entityId_;
std::string dbName_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DELETEFACEENTITYREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DELETEFACEENTITYREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DELETEFACEENTITYREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT DeleteFaceEntityRequest : public RpcServiceRequest {
public:
DeleteFaceEntityRequest();
~DeleteFaceEntityRequest();
std::string getEntityId() const;
void setEntityId(const std::string &entityId);
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getDbName() const;
void setDbName(const std::string &dbName);
private:
std::string entityId_;
bool formatResultToJson_;
std::string ossFile_;
std::string requestProxyBy_;
std::string dbName_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DELETEFACEENTITYREQUEST_H_

View File

@@ -1,60 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DELETEFACEIMAGETEMPLATEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DELETEFACEIMAGETEMPLATEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT DeleteFaceImageTemplateRequest : public RpcServiceRequest
{
public:
DeleteFaceImageTemplateRequest();
~DeleteFaceImageTemplateRequest();
bool getFormatResultToJson()const;
void setFormatResultToJson(bool formatResultToJson);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getOssFile()const;
void setOssFile(const std::string& ossFile);
std::string getTemplateId()const;
void setTemplateId(const std::string& templateId);
std::string getRequestProxyBy()const;
void setRequestProxyBy(const std::string& requestProxyBy);
private:
bool formatResultToJson_;
std::string userId_;
std::string ossFile_;
std::string templateId_;
std::string requestProxyBy_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DELETEFACEIMAGETEMPLATEREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DELETEFACEIMAGETEMPLATEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DELETEFACEIMAGETEMPLATEREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT DeleteFaceImageTemplateRequest : public RpcServiceRequest {
public:
DeleteFaceImageTemplateRequest();
~DeleteFaceImageTemplateRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getUserId() const;
void setUserId(const std::string &userId);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getTemplateId() const;
void setTemplateId(const std::string &templateId);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
private:
bool formatResultToJson_;
std::string userId_;
std::string ossFile_;
std::string templateId_;
std::string requestProxyBy_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DELETEFACEIMAGETEMPLATEREQUEST_H_

View File

@@ -1,51 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DELETEFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DELETEFACEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT DeleteFaceRequest : public RpcServiceRequest
{
public:
DeleteFaceRequest();
~DeleteFaceRequest();
std::string getFaceId()const;
void setFaceId(const std::string& faceId);
std::string getDbName()const;
void setDbName(const std::string& dbName);
private:
std::string faceId_;
std::string dbName_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DELETEFACEREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DELETEFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DELETEFACEREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT DeleteFaceRequest : public RpcServiceRequest {
public:
DeleteFaceRequest();
~DeleteFaceRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getFaceId() const;
void setFaceId(const std::string &faceId);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getDbName() const;
void setDbName(const std::string &dbName);
private:
bool formatResultToJson_;
std::string ossFile_;
std::string faceId_;
std::string requestProxyBy_;
std::string dbName_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DELETEFACEREQUEST_H_

View File

@@ -1,48 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DETECTBODYCOUNTREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DETECTBODYCOUNTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT DetectBodyCountRequest : public RpcServiceRequest
{
public:
DetectBodyCountRequest();
~DetectBodyCountRequest();
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DETECTBODYCOUNTREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DETECTBODYCOUNTREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DETECTBODYCOUNTREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT DetectBodyCountRequest : public RpcServiceRequest {
public:
DetectBodyCountRequest();
~DetectBodyCountRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
bool formatResultToJson_;
std::string ossFile_;
std::string requestProxyBy_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DETECTBODYCOUNTREQUEST_H_

View File

@@ -1,48 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DETECTCELEBRITYREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DETECTCELEBRITYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT DetectCelebrityRequest : public RpcServiceRequest
{
public:
DetectCelebrityRequest();
~DetectCelebrityRequest();
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DETECTCELEBRITYREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DETECTCELEBRITYREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DETECTCELEBRITYREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT DetectCelebrityRequest : public RpcServiceRequest {
public:
DetectCelebrityRequest();
~DetectCelebrityRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
bool formatResultToJson_;
std::string ossFile_;
std::string requestProxyBy_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DETECTCELEBRITYREQUEST_H_

View File

@@ -1,48 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DETECTCHEFCAPREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DETECTCHEFCAPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT DetectChefCapRequest : public RpcServiceRequest
{
public:
DetectChefCapRequest();
~DetectChefCapRequest();
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DETECTCHEFCAPREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DETECTCHEFCAPREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DETECTCHEFCAPREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT DetectChefCapRequest : public RpcServiceRequest {
public:
DetectChefCapRequest();
~DetectChefCapRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
bool formatResultToJson_;
std::string ossFile_;
std::string requestProxyBy_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DETECTCHEFCAPREQUEST_H_

View File

@@ -1,72 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DETECTFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DETECTFACEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT DetectFaceRequest : public RpcServiceRequest
{
public:
DetectFaceRequest();
~DetectFaceRequest();
long getMaxFaceNumber()const;
void setMaxFaceNumber(long maxFaceNumber);
bool getFormatResultToJson()const;
void setFormatResultToJson(bool formatResultToJson);
bool getLandmark()const;
void setLandmark(bool landmark);
std::string getOssFile()const;
void setOssFile(const std::string& ossFile);
int getImageType()const;
void setImageType(int imageType);
bool getPose()const;
void setPose(bool pose);
std::string getRequestProxyBy()const;
void setRequestProxyBy(const std::string& requestProxyBy);
bool getQuality()const;
void setQuality(bool quality);
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
long maxFaceNumber_;
bool formatResultToJson_;
bool landmark_;
std::string ossFile_;
int imageType_;
bool pose_;
std::string requestProxyBy_;
bool quality_;
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DETECTFACEREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DETECTFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DETECTFACEREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT DetectFaceRequest : public RpcServiceRequest {
public:
DetectFaceRequest();
~DetectFaceRequest();
long getMaxFaceNumber() const;
void setMaxFaceNumber(long maxFaceNumber);
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
bool getLandmark() const;
void setLandmark(bool landmark);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
int getImageType() const;
void setImageType(int imageType);
bool getPose() const;
void setPose(bool pose);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
bool getQuality() const;
void setQuality(bool quality);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
long maxFaceNumber_;
bool formatResultToJson_;
bool landmark_;
std::string ossFile_;
int imageType_;
bool pose_;
std::string requestProxyBy_;
bool quality_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DETECTFACEREQUEST_H_

View File

@@ -1,63 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DETECTIPCPEDESTRIANREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DETECTIPCPEDESTRIANREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT DetectIPCPedestrianRequest : public RpcServiceRequest
{
public:
DetectIPCPedestrianRequest();
~DetectIPCPedestrianRequest();
bool getContinueOnError()const;
void setContinueOnError(bool continueOnError);
int getHeight()const;
void setHeight(int height);
std::string getImageData()const;
void setImageData(const std::string& imageData);
std::string getDataId()const;
void setDataId(const std::string& dataId);
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
int getWidth()const;
void setWidth(int width);
private:
bool continueOnError_;
int height_;
std::string imageData_;
std::string dataId_;
std::string imageURL_;
int width_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DETECTIPCPEDESTRIANREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DETECTIPCPEDESTRIANREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DETECTIPCPEDESTRIANREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT DetectIPCPedestrianRequest : public RpcServiceRequest {
public:
DetectIPCPedestrianRequest();
~DetectIPCPedestrianRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
bool getContinueOnError() const;
void setContinueOnError(bool continueOnError);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
int getHeight() const;
void setHeight(int height);
std::string getImageData() const;
void setImageData(const std::string &imageData);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getDataId() const;
void setDataId(const std::string &dataId);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
int getWidth() const;
void setWidth(int width);
private:
bool formatResultToJson_;
bool continueOnError_;
std::string ossFile_;
int height_;
std::string imageData_;
std::string requestProxyBy_;
std::string dataId_;
std::string imageURL_;
int width_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DETECTIPCPEDESTRIANREQUEST_H_

View File

@@ -1,63 +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.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DETECTLIVINGFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DETECTLIVINGFACEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT DetectLivingFaceRequest : public RpcServiceRequest
{
public:
struct Tasks
{
std::string imageURL;
std::string imageData;
};
public:
DetectLivingFaceRequest();
~DetectLivingFaceRequest();
bool getFormatResultToJson()const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile()const;
void setOssFile(const std::string& ossFile);
std::vector<Tasks> getTasks()const;
void setTasks(const std::vector<Tasks>& tasks);
std::string getRequestProxyBy()const;
void setRequestProxyBy(const std::string& requestProxyBy);
private:
bool formatResultToJson_;
std::string ossFile_;
std::vector<Tasks> tasks_;
std::string requestProxyBy_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DETECTLIVINGFACEREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DETECTLIVINGFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DETECTLIVINGFACEREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT DetectLivingFaceRequest : public RpcServiceRequest {
public:
struct Tasks {
std::string imageURL;
std::string imageData;
};
DetectLivingFaceRequest();
~DetectLivingFaceRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::vector<Tasks> getTasks() const;
void setTasks(const std::vector<Tasks> &tasks);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
private:
bool formatResultToJson_;
std::string ossFile_;
std::vector<Tasks> tasks_;
std::string requestProxyBy_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DETECTLIVINGFACEREQUEST_H_

View File

@@ -1,54 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DETECTPEDESTRIANINTRUSIONREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DETECTPEDESTRIANINTRUSIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT DetectPedestrianIntrusionRequest : public RpcServiceRequest
{
public:
DetectPedestrianIntrusionRequest();
~DetectPedestrianIntrusionRequest();
Array getDetectRegion()const;
void setDetectRegion(const Array& detectRegion);
std::string getRegionType()const;
void setRegionType(const std::string& regionType);
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
Array detectRegion_;
std::string regionType_;
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DETECTPEDESTRIANINTRUSIONREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DETECTPEDESTRIANINTRUSIONREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DETECTPEDESTRIANINTRUSIONREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT DetectPedestrianIntrusionRequest : public RpcServiceRequest {
public:
struct DetectRegion {
struct Rect {
long top;
long left;
long bottom;
long right;
};
Rect rect;
struct Line {
long y1;
long x1;
long y2;
long x2;
};
Line line;
};
DetectPedestrianIntrusionRequest();
~DetectPedestrianIntrusionRequest();
std::vector<DetectRegion> getDetectRegion() const;
void setDetectRegion(const std::vector<DetectRegion> &detectRegion);
std::string getRegionType() const;
void setRegionType(const std::string &regionType);
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
std::vector<DetectRegion> detectRegion_;
std::string regionType_;
bool formatResultToJson_;
std::string ossFile_;
std::string requestProxyBy_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DETECTPEDESTRIANINTRUSIONREQUEST_H_

View File

@@ -1,48 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DETECTPEDESTRIANREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DETECTPEDESTRIANREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT DetectPedestrianRequest : public RpcServiceRequest
{
public:
DetectPedestrianRequest();
~DetectPedestrianRequest();
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DETECTPEDESTRIANREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DETECTPEDESTRIANREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DETECTPEDESTRIANREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT DetectPedestrianRequest : public RpcServiceRequest {
public:
DetectPedestrianRequest();
~DetectPedestrianRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
bool formatResultToJson_;
std::string ossFile_;
std::string requestProxyBy_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DETECTPEDESTRIANREQUEST_H_

View File

@@ -36,8 +36,8 @@ namespace AlibabaCloud
{
struct Element
{
float score;
std::string type;
float score;
std::vector<std::string> boxes;
};
int height;

View File

@@ -1,48 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DETECTVIDEOLIVINGFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DETECTVIDEOLIVINGFACEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT DetectVideoLivingFaceRequest : public RpcServiceRequest
{
public:
DetectVideoLivingFaceRequest();
~DetectVideoLivingFaceRequest();
std::string getVideoUrl()const;
void setVideoUrl(const std::string& videoUrl);
private:
std::string videoUrl_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DETECTVIDEOLIVINGFACEREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DETECTVIDEOLIVINGFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_DETECTVIDEOLIVINGFACEREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT DetectVideoLivingFaceRequest : public RpcServiceRequest {
public:
DetectVideoLivingFaceRequest();
~DetectVideoLivingFaceRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getVideoUrl() const;
void setVideoUrl(const std::string &videoUrl);
private:
bool formatResultToJson_;
std::string ossFile_;
std::string requestProxyBy_;
std::string videoUrl_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DETECTVIDEOLIVINGFACEREQUEST_H_

View File

@@ -1,48 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_ENHANCEFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_ENHANCEFACEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT EnhanceFaceRequest : public RpcServiceRequest
{
public:
EnhanceFaceRequest();
~EnhanceFaceRequest();
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_ENHANCEFACEREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_ENHANCEFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_ENHANCEFACEREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT EnhanceFaceRequest : public RpcServiceRequest {
public:
EnhanceFaceRequest();
~EnhanceFaceRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
bool formatResultToJson_;
std::string ossFile_;
std::string requestProxyBy_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_ENHANCEFACEREQUEST_H_

View File

@@ -1,60 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_EXTRACTFINGERPRINTREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_EXTRACTFINGERPRINTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT ExtractFingerPrintRequest : public RpcServiceRequest
{
public:
ExtractFingerPrintRequest();
~ExtractFingerPrintRequest();
bool getFormatResultToJson()const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile()const;
void setOssFile(const std::string& ossFile);
std::string getImageData()const;
void setImageData(const std::string& imageData);
std::string getRequestProxyBy()const;
void setRequestProxyBy(const std::string& requestProxyBy);
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
bool formatResultToJson_;
std::string ossFile_;
std::string imageData_;
std::string requestProxyBy_;
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_EXTRACTFINGERPRINTREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_EXTRACTFINGERPRINTREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_EXTRACTFINGERPRINTREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT ExtractFingerPrintRequest : public RpcServiceRequest {
public:
ExtractFingerPrintRequest();
~ExtractFingerPrintRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getImageData() const;
void setImageData(const std::string &imageData);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
bool formatResultToJson_;
std::string ossFile_;
std::string imageData_;
std::string requestProxyBy_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_EXTRACTFINGERPRINTREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_EXTRACTPEDESTRIANFEATUREATTRREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_EXTRACTPEDESTRIANFEATUREATTRREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT ExtractPedestrianFeatureAttrRequest : public RpcServiceRequest
{
public:
ExtractPedestrianFeatureAttrRequest();
~ExtractPedestrianFeatureAttrRequest();
std::string getMode()const;
void setMode(const std::string& mode);
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
std::string getServiceVersion()const;
void setServiceVersion(const std::string& serviceVersion);
private:
std::string mode_;
std::string imageURL_;
std::string serviceVersion_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_EXTRACTPEDESTRIANFEATUREATTRREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_EXTRACTPEDESTRIANFEATUREATTRREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_EXTRACTPEDESTRIANFEATUREATTRREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT ExtractPedestrianFeatureAttrRequest : public RpcServiceRequest {
public:
ExtractPedestrianFeatureAttrRequest();
~ExtractPedestrianFeatureAttrRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getMode() const;
void setMode(const std::string &mode);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
std::string getServiceVersion() const;
void setServiceVersion(const std::string &serviceVersion);
private:
bool formatResultToJson_;
std::string mode_;
std::string ossFile_;
std::string requestProxyBy_;
std::string imageURL_;
std::string serviceVersion_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_EXTRACTPEDESTRIANFEATUREATTRREQUEST_H_

View File

@@ -35,23 +35,23 @@ namespace AlibabaCloud
struct Data
{
std::string hair;
std::string upperType;
float upperTypeScore;
std::string lowerColor;
std::string upperType;
float qualityScore;
std::string lowerColor;
std::string gender;
std::string orientation;
std::string feature;
float orientationScore;
float upperColorScore;
float genderScore;
float lowerColorScore;
float genderScore;
std::string objType;
float lowerTypeScore;
float hairScore;
std::string upperColor;
std::string lowerType;
float ageScore;
std::string lowerType;
float objTypeScore;
std::string age;
};

View File

@@ -1,59 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_EXTRACTPEDESTRIANFEATUREATTRIBUTEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_EXTRACTPEDESTRIANFEATUREATTRIBUTEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT ExtractPedestrianFeatureAttributeRequest : public RpcServiceRequest
{
public:
struct UrlList
{
std::string url;
};
public:
ExtractPedestrianFeatureAttributeRequest();
~ExtractPedestrianFeatureAttributeRequest();
std::vector<UrlList> getUrlList()const;
void setUrlList(const std::vector<UrlList>& urlList);
std::string getMode()const;
void setMode(const std::string& mode);
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
std::vector<UrlList> urlList_;
std::string mode_;
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_EXTRACTPEDESTRIANFEATUREATTRIBUTEREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_EXTRACTPEDESTRIANFEATUREATTRIBUTEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_EXTRACTPEDESTRIANFEATUREATTRIBUTEREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT ExtractPedestrianFeatureAttributeRequest : public RpcServiceRequest {
public:
struct UrlList {
std::string url;
};
ExtractPedestrianFeatureAttributeRequest();
~ExtractPedestrianFeatureAttributeRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getMode() const;
void setMode(const std::string &mode);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::vector<UrlList> getUrlList() const;
void setUrlList(const std::vector<UrlList> &urlList);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
bool formatResultToJson_;
std::string mode_;
std::string ossFile_;
std::vector<UrlList> urlList_;
std::string requestProxyBy_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_EXTRACTPEDESTRIANFEATUREATTRIBUTEREQUEST_H_

View File

@@ -37,8 +37,8 @@ namespace AlibabaCloud
struct Element
{
std::string hair;
std::string upperType;
float upperTypeScore;
std::string upperType;
float qualityScore;
std::string lowerColor;
std::string gender;
@@ -50,14 +50,14 @@ namespace AlibabaCloud
float lowerTypeScore;
float hairScore;
std::string upperColor;
std::string lowerType;
float ageScore;
std::string lowerType;
float objTypeScore;
std::string age;
};
std::string hair;
std::string upperType;
float upperTypeScore;
std::string upperType;
float qualityScore;
std::string lowerColor;
std::string gender;
@@ -70,8 +70,8 @@ namespace AlibabaCloud
float lowerTypeScore;
float hairScore;
std::string upperColor;
std::string lowerType;
float ageScore;
std::string lowerType;
float objTypeScore;
std::string age;
};

View File

@@ -1,57 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_FACEBEAUTYREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_FACEBEAUTYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT FaceBeautyRequest : public RpcServiceRequest
{
public:
FaceBeautyRequest();
~FaceBeautyRequest();
float getWhite()const;
void setWhite(float white);
float getSmooth()const;
void setSmooth(float smooth);
float getSharp()const;
void setSharp(float sharp);
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
float white_;
float smooth_;
float sharp_;
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_FACEBEAUTYREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_FACEBEAUTYREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_FACEBEAUTYREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT FaceBeautyRequest : public RpcServiceRequest {
public:
FaceBeautyRequest();
~FaceBeautyRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
float getWhite() const;
void setWhite(float white);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
float getSmooth() const;
void setSmooth(float smooth);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
float getSharp() const;
void setSharp(float sharp);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
bool formatResultToJson_;
float white_;
std::string ossFile_;
float smooth_;
std::string requestProxyBy_;
float sharp_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_FACEBEAUTYREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_FACEFILTERREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_FACEFILTERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT FaceFilterRequest : public RpcServiceRequest
{
public:
FaceFilterRequest();
~FaceFilterRequest();
float getStrength()const;
void setStrength(float strength);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
float strength_;
std::string resourceType_;
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_FACEFILTERREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_FACEFILTERREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_FACEFILTERREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT FaceFilterRequest : public RpcServiceRequest {
public:
FaceFilterRequest();
~FaceFilterRequest();
float getStrength() const;
void setStrength(float strength);
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
float strength_;
bool formatResultToJson_;
std::string ossFile_;
std::string resourceType_;
std::string requestProxyBy_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_FACEFILTERREQUEST_H_

View File

@@ -1,57 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_FACEMAKEUPREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_FACEMAKEUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT FaceMakeupRequest : public RpcServiceRequest
{
public:
FaceMakeupRequest();
~FaceMakeupRequest();
float getStrength()const;
void setStrength(float strength);
std::string getMakeupType()const;
void setMakeupType(const std::string& makeupType);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
float strength_;
std::string makeupType_;
std::string resourceType_;
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_FACEMAKEUPREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_FACEMAKEUPREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_FACEMAKEUPREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT FaceMakeupRequest : public RpcServiceRequest {
public:
FaceMakeupRequest();
~FaceMakeupRequest();
float getStrength() const;
void setStrength(float strength);
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getMakeupType() const;
void setMakeupType(const std::string &makeupType);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
float strength_;
bool formatResultToJson_;
std::string ossFile_;
std::string makeupType_;
std::string resourceType_;
std::string requestProxyBy_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_FACEMAKEUPREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_FACETIDYUPREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_FACETIDYUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT FaceTidyupRequest : public RpcServiceRequest
{
public:
FaceTidyupRequest();
~FaceTidyupRequest();
int getShapeType()const;
void setShapeType(int shapeType);
float getStrength()const;
void setStrength(float strength);
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
int shapeType_;
float strength_;
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_FACETIDYUPREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_FACETIDYUPREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_FACETIDYUPREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT FaceTidyupRequest : public RpcServiceRequest {
public:
FaceTidyupRequest();
~FaceTidyupRequest();
int getShapeType() const;
void setShapeType(int shapeType);
float getStrength() const;
void setStrength(float strength);
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
int shapeType_;
float strength_;
bool formatResultToJson_;
std::string ossFile_;
std::string requestProxyBy_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_FACETIDYUPREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_GENREALPERSONVERIFICATIONTOKENREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_GENREALPERSONVERIFICATIONTOKENREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT GenRealPersonVerificationTokenRequest : public RpcServiceRequest
{
public:
GenRealPersonVerificationTokenRequest();
~GenRealPersonVerificationTokenRequest();
std::string getMetaInfo()const;
void setMetaInfo(const std::string& metaInfo);
std::string getCertificateNumber()const;
void setCertificateNumber(const std::string& certificateNumber);
std::string getCertificateName()const;
void setCertificateName(const std::string& certificateName);
private:
std::string metaInfo_;
std::string certificateNumber_;
std::string certificateName_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_GENREALPERSONVERIFICATIONTOKENREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_GENREALPERSONVERIFICATIONTOKENREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_GENREALPERSONVERIFICATIONTOKENREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT GenRealPersonVerificationTokenRequest : public RpcServiceRequest {
public:
GenRealPersonVerificationTokenRequest();
~GenRealPersonVerificationTokenRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getMetaInfo() const;
void setMetaInfo(const std::string &metaInfo);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getCertificateNumber() const;
void setCertificateNumber(const std::string &certificateNumber);
std::string getCertificateName() const;
void setCertificateName(const std::string &certificateName);
private:
bool formatResultToJson_;
std::string metaInfo_;
std::string ossFile_;
std::string requestProxyBy_;
std::string certificateNumber_;
std::string certificateName_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_GENREALPERSONVERIFICATIONTOKENREQUEST_H_

View File

@@ -1,51 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_GENERATEHUMANANIMESTYLEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_GENERATEHUMANANIMESTYLEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT GenerateHumanAnimeStyleRequest : public RpcServiceRequest
{
public:
GenerateHumanAnimeStyleRequest();
~GenerateHumanAnimeStyleRequest();
std::string getAlgoType()const;
void setAlgoType(const std::string& algoType);
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
std::string algoType_;
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_GENERATEHUMANANIMESTYLEREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_GENERATEHUMANANIMESTYLEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_GENERATEHUMANANIMESTYLEREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT GenerateHumanAnimeStyleRequest : public RpcServiceRequest {
public:
GenerateHumanAnimeStyleRequest();
~GenerateHumanAnimeStyleRequest();
std::string getAlgoType() const;
void setAlgoType(const std::string &algoType);
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
std::string algoType_;
bool formatResultToJson_;
std::string ossFile_;
std::string requestProxyBy_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_GENERATEHUMANANIMESTYLEREQUEST_H_

View File

@@ -1,51 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_GENERATEHUMANSKETCHSTYLEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_GENERATEHUMANSKETCHSTYLEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT GenerateHumanSketchStyleRequest : public RpcServiceRequest
{
public:
GenerateHumanSketchStyleRequest();
~GenerateHumanSketchStyleRequest();
std::string getReturnType()const;
void setReturnType(const std::string& returnType);
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
std::string returnType_;
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_GENERATEHUMANSKETCHSTYLEREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_GENERATEHUMANSKETCHSTYLEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_GENERATEHUMANSKETCHSTYLEREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT GenerateHumanSketchStyleRequest : public RpcServiceRequest {
public:
GenerateHumanSketchStyleRequest();
~GenerateHumanSketchStyleRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getReturnType() const;
void setReturnType(const std::string &returnType);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
bool formatResultToJson_;
std::string ossFile_;
std::string returnType_;
std::string requestProxyBy_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_GENERATEHUMANSKETCHSTYLEREQUEST_H_

View File

@@ -1,51 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_GETBODYPERSONREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_GETBODYPERSONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT GetBodyPersonRequest : public RpcServiceRequest
{
public:
GetBodyPersonRequest();
~GetBodyPersonRequest();
long getPersonId()const;
void setPersonId(long personId);
long getDbId()const;
void setDbId(long dbId);
private:
long personId_;
long dbId_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_GETBODYPERSONREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_GETBODYPERSONREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_GETBODYPERSONREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT GetBodyPersonRequest : public RpcServiceRequest {
public:
GetBodyPersonRequest();
~GetBodyPersonRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
long getPersonId() const;
void setPersonId(long personId);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
long getDbId() const;
void setDbId(long dbId);
private:
bool formatResultToJson_;
long personId_;
std::string ossFile_;
std::string requestProxyBy_;
long dbId_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_GETBODYPERSONREQUEST_H_

View File

@@ -36,8 +36,8 @@ namespace AlibabaCloud
{
struct Trace
{
std::string extraData;
long id;
std::string extraData;
};
long traceCount;
long instanceId;

View File

@@ -1,51 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_GETFACEENTITYREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_GETFACEENTITYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT GetFaceEntityRequest : public RpcServiceRequest
{
public:
GetFaceEntityRequest();
~GetFaceEntityRequest();
std::string getEntityId()const;
void setEntityId(const std::string& entityId);
std::string getDbName()const;
void setDbName(const std::string& dbName);
private:
std::string entityId_;
std::string dbName_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_GETFACEENTITYREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_GETFACEENTITYREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_GETFACEENTITYREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT GetFaceEntityRequest : public RpcServiceRequest {
public:
GetFaceEntityRequest();
~GetFaceEntityRequest();
std::string getEntityId() const;
void setEntityId(const std::string &entityId);
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getDbName() const;
void setDbName(const std::string &dbName);
private:
std::string entityId_;
bool formatResultToJson_;
std::string ossFile_;
std::string requestProxyBy_;
std::string dbName_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_GETFACEENTITYREQUEST_H_

View File

@@ -39,8 +39,8 @@ namespace AlibabaCloud
std::string faceId;
};
std::string entityId;
std::string labels;
std::string dbName;
std::string labels;
std::vector<Face> faces;
};

View File

@@ -1,51 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_GETREALPERSONVERIFICATIONRESULTREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_GETREALPERSONVERIFICATIONRESULTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT GetRealPersonVerificationResultRequest : public RpcServiceRequest
{
public:
GetRealPersonVerificationResultRequest();
~GetRealPersonVerificationResultRequest();
std::string getMaterialHash()const;
void setMaterialHash(const std::string& materialHash);
std::string getVerificationToken()const;
void setVerificationToken(const std::string& verificationToken);
private:
std::string materialHash_;
std::string verificationToken_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_GETREALPERSONVERIFICATIONRESULTREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_GETREALPERSONVERIFICATIONRESULTREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_GETREALPERSONVERIFICATIONRESULTREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT GetRealPersonVerificationResultRequest : public RpcServiceRequest {
public:
GetRealPersonVerificationResultRequest();
~GetRealPersonVerificationResultRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getMaterialHash() const;
void setMaterialHash(const std::string &materialHash);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getVerificationToken() const;
void setVerificationToken(const std::string &verificationToken);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
private:
bool formatResultToJson_;
std::string materialHash_;
std::string ossFile_;
std::string verificationToken_;
std::string requestProxyBy_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_GETREALPERSONVERIFICATIONRESULTREQUEST_H_

View File

@@ -1,48 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_HANDPOSTUREREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_HANDPOSTUREREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT HandPostureRequest : public RpcServiceRequest
{
public:
HandPostureRequest();
~HandPostureRequest();
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_HANDPOSTUREREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_HANDPOSTUREREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_HANDPOSTUREREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT HandPostureRequest : public RpcServiceRequest {
public:
HandPostureRequest();
~HandPostureRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
bool formatResultToJson_;
std::string ossFile_;
std::string requestProxyBy_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_HANDPOSTUREREQUEST_H_

View File

@@ -43,29 +43,29 @@ namespace AlibabaCloud
{
struct Result
{
struct Box
{
struct Position
{
std::vector<std::string> points;
};
float confident;
std::vector<Position> positions;
};
struct Hands
{
struct KeyPoint
{
struct Position2
struct Position
{
std::vector<std::string> points3;
std::vector<std::string> points;
};
std::vector<KeyPoint::Position2> positions1;
std::vector<KeyPoint::Position> positions;
std::string label;
};
float confident;
std::vector<KeyPoint> keyPoints;
};
struct Box
{
struct Position2
{
std::vector<std::string> points3;
};
float confident;
std::vector<Position2> positions1;
};
Hands hands;
Box box;
};

View File

@@ -1,51 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_LIQUIFYFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_LIQUIFYFACEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT LiquifyFaceRequest : public RpcServiceRequest
{
public:
LiquifyFaceRequest();
~LiquifyFaceRequest();
float getSlimDegree()const;
void setSlimDegree(float slimDegree);
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
float slimDegree_;
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_LIQUIFYFACEREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_LIQUIFYFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_LIQUIFYFACEREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT LiquifyFaceRequest : public RpcServiceRequest {
public:
LiquifyFaceRequest();
~LiquifyFaceRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
float getSlimDegree() const;
void setSlimDegree(float slimDegree);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
bool formatResultToJson_;
std::string ossFile_;
float slimDegree_;
std::string requestProxyBy_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_LIQUIFYFACEREQUEST_H_

View File

@@ -1,51 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_LISTBODYDBSREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_LISTBODYDBSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT ListBodyDbsRequest : public RpcServiceRequest
{
public:
ListBodyDbsRequest();
~ListBodyDbsRequest();
long getLimit()const;
void setLimit(long limit);
long getOffset()const;
void setOffset(long offset);
private:
long limit_;
long offset_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_LISTBODYDBSREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_LISTBODYDBSREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_LISTBODYDBSREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT ListBodyDbsRequest : public RpcServiceRequest {
public:
ListBodyDbsRequest();
~ListBodyDbsRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
long getLimit() const;
void setLimit(long limit);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
long getOffset() const;
void setOffset(long offset);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
private:
bool formatResultToJson_;
long limit_;
std::string ossFile_;
long offset_;
std::string requestProxyBy_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_LISTBODYDBSREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_LISTBODYPERSONREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_LISTBODYPERSONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT ListBodyPersonRequest : public RpcServiceRequest
{
public:
ListBodyPersonRequest();
~ListBodyPersonRequest();
long getLimit()const;
void setLimit(long limit);
long getOffset()const;
void setOffset(long offset);
long getDbId()const;
void setDbId(long dbId);
private:
long limit_;
long offset_;
long dbId_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_LISTBODYPERSONREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_LISTBODYPERSONREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_LISTBODYPERSONREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT ListBodyPersonRequest : public RpcServiceRequest {
public:
ListBodyPersonRequest();
~ListBodyPersonRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
long getLimit() const;
void setLimit(long limit);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
long getOffset() const;
void setOffset(long offset);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
long getDbId() const;
void setDbId(long dbId);
private:
bool formatResultToJson_;
long limit_;
std::string ossFile_;
long offset_;
std::string requestProxyBy_;
long dbId_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_LISTBODYPERSONREQUEST_H_

View File

@@ -1,45 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_LISTFACEDBSREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_LISTFACEDBSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT ListFaceDbsRequest : public RpcServiceRequest
{
public:
ListFaceDbsRequest();
~ListFaceDbsRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_LISTFACEDBSREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_LISTFACEDBSREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_LISTFACEDBSREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT ListFaceDbsRequest : public RpcServiceRequest {
public:
ListFaceDbsRequest();
~ListFaceDbsRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
long getLimit() const;
void setLimit(long limit);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
long getOffset() const;
void setOffset(long offset);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
private:
bool formatResultToJson_;
long limit_;
std::string ossFile_;
long offset_;
std::string requestProxyBy_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_LISTFACEDBSREQUEST_H_

View File

@@ -1,66 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_LISTFACEENTITIESREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_LISTFACEENTITIESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT ListFaceEntitiesRequest : public RpcServiceRequest
{
public:
ListFaceEntitiesRequest();
~ListFaceEntitiesRequest();
std::string getEntityIdPrefix()const;
void setEntityIdPrefix(const std::string& entityIdPrefix);
int getLimit()const;
void setLimit(int limit);
std::string getOrder()const;
void setOrder(const std::string& order);
int getOffset()const;
void setOffset(int offset);
std::string getToken()const;
void setToken(const std::string& token);
std::string getLabels()const;
void setLabels(const std::string& labels);
std::string getDbName()const;
void setDbName(const std::string& dbName);
private:
std::string entityIdPrefix_;
int limit_;
std::string order_;
int offset_;
std::string token_;
std::string labels_;
std::string dbName_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_LISTFACEENTITIESREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_LISTFACEENTITIESREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_LISTFACEENTITIESREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT ListFaceEntitiesRequest : public RpcServiceRequest {
public:
ListFaceEntitiesRequest();
~ListFaceEntitiesRequest();
std::string getEntityIdPrefix() const;
void setEntityIdPrefix(const std::string &entityIdPrefix);
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
int getLimit() const;
void setLimit(int limit);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getOrder() const;
void setOrder(const std::string &order);
int getOffset() const;
void setOffset(int offset);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getToken() const;
void setToken(const std::string &token);
std::string getLabels() const;
void setLabels(const std::string &labels);
std::string getDbName() const;
void setDbName(const std::string &dbName);
private:
std::string entityIdPrefix_;
bool formatResultToJson_;
int limit_;
std::string ossFile_;
std::string order_;
int offset_;
std::string requestProxyBy_;
std::string token_;
std::string labels_;
std::string dbName_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_LISTFACEENTITIESREQUEST_H_

View File

@@ -38,10 +38,10 @@ namespace AlibabaCloud
{
std::string entityId;
long createdAt;
std::string labels;
std::string dbName;
long updatedAt;
std::string labels;
int faceCount;
long updatedAt;
};
int totalCount;
std::string token;

View File

@@ -1,63 +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.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_MERGEIMAGEFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_MERGEIMAGEFACEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT MergeImageFaceRequest : public RpcServiceRequest
{
public:
MergeImageFaceRequest();
~MergeImageFaceRequest();
bool getFormatResultToJson()const;
void setFormatResultToJson(bool formatResultToJson);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getOssFile()const;
void setOssFile(const std::string& ossFile);
std::string getTemplateId()const;
void setTemplateId(const std::string& templateId);
std::string getRequestProxyBy()const;
void setRequestProxyBy(const std::string& requestProxyBy);
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
bool formatResultToJson_;
std::string userId_;
std::string ossFile_;
std::string templateId_;
std::string requestProxyBy_;
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_MERGEIMAGEFACEREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_MERGEIMAGEFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_MERGEIMAGEFACEREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT MergeImageFaceRequest : public RpcServiceRequest {
public:
MergeImageFaceRequest();
~MergeImageFaceRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getUserId() const;
void setUserId(const std::string &userId);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getTemplateId() const;
void setTemplateId(const std::string &templateId);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
bool formatResultToJson_;
std::string userId_;
std::string ossFile_;
std::string templateId_;
std::string requestProxyBy_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_MERGEIMAGEFACEREQUEST_H_

View File

@@ -1,51 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_MONITOREXAMINATIONREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_MONITOREXAMINATIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT MonitorExaminationRequest : public RpcServiceRequest
{
public:
MonitorExaminationRequest();
~MonitorExaminationRequest();
long getType()const;
void setType(long type);
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
long type_;
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_MONITOREXAMINATIONREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_MONITOREXAMINATIONREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_MONITOREXAMINATIONREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT MonitorExaminationRequest : public RpcServiceRequest {
public:
MonitorExaminationRequest();
~MonitorExaminationRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
long getType() const;
void setType(long type);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
bool formatResultToJson_;
long type_;
std::string ossFile_;
std::string requestProxyBy_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_MONITOREXAMINATIONREQUEST_H_

View File

@@ -1,48 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_PEDESTRIANDETECTATTRIBUTEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_PEDESTRIANDETECTATTRIBUTEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT PedestrianDetectAttributeRequest : public RpcServiceRequest
{
public:
PedestrianDetectAttributeRequest();
~PedestrianDetectAttributeRequest();
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_PEDESTRIANDETECTATTRIBUTEREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_PEDESTRIANDETECTATTRIBUTEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_PEDESTRIANDETECTATTRIBUTEREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT PedestrianDetectAttributeRequest : public RpcServiceRequest {
public:
PedestrianDetectAttributeRequest();
~PedestrianDetectAttributeRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
bool formatResultToJson_;
std::string ossFile_;
std::string requestProxyBy_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_PEDESTRIANDETECTATTRIBUTEREQUEST_H_

View File

@@ -1,60 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_QUERYFACEIMAGETEMPLATEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_QUERYFACEIMAGETEMPLATEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT QueryFaceImageTemplateRequest : public RpcServiceRequest
{
public:
QueryFaceImageTemplateRequest();
~QueryFaceImageTemplateRequest();
bool getFormatResultToJson()const;
void setFormatResultToJson(bool formatResultToJson);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getOssFile()const;
void setOssFile(const std::string& ossFile);
std::string getTemplateId()const;
void setTemplateId(const std::string& templateId);
std::string getRequestProxyBy()const;
void setRequestProxyBy(const std::string& requestProxyBy);
private:
bool formatResultToJson_;
std::string userId_;
std::string ossFile_;
std::string templateId_;
std::string requestProxyBy_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_QUERYFACEIMAGETEMPLATEREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_QUERYFACEIMAGETEMPLATEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_QUERYFACEIMAGETEMPLATEREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT QueryFaceImageTemplateRequest : public RpcServiceRequest {
public:
QueryFaceImageTemplateRequest();
~QueryFaceImageTemplateRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getUserId() const;
void setUserId(const std::string &userId);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getTemplateId() const;
void setTemplateId(const std::string &templateId);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
private:
bool formatResultToJson_;
std::string userId_;
std::string ossFile_;
std::string templateId_;
std::string requestProxyBy_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_QUERYFACEIMAGETEMPLATEREQUEST_H_

View File

@@ -1,63 +1,64 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEACTIONREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEACTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT RecognizeActionRequest : public RpcServiceRequest
{
public:
struct URLList
{
std::string imageData;
std::string uRL;
};
public:
RecognizeActionRequest();
~RecognizeActionRequest();
int getType()const;
void setType(int type);
std::string getVideoData()const;
void setVideoData(const std::string& videoData);
std::vector<URLList> getURLList()const;
void setURLList(const std::vector<URLList>& uRLList);
std::string getVideoUrl()const;
void setVideoUrl(const std::string& videoUrl);
private:
int type_;
std::string videoData_;
std::vector<URLList> uRLList_;
std::string videoUrl_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEACTIONREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEACTIONREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEACTIONREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT RecognizeActionRequest : public RpcServiceRequest {
public:
struct URLList {
std::string imageData;
std::string uRL;
};
RecognizeActionRequest();
~RecognizeActionRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
int getType() const;
void setType(int type);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getVideoData() const;
void setVideoData(const std::string &videoData);
std::vector<URLList> getURLList() const;
void setURLList(const std::vector<URLList> &uRLList);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getVideoUrl() const;
void setVideoUrl(const std::string &videoUrl);
private:
bool formatResultToJson_;
int type_;
std::string ossFile_;
std::string videoData_;
std::vector<URLList> uRLList_;
std::string requestProxyBy_;
std::string videoUrl_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEACTIONREQUEST_H_

View File

@@ -1,48 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEEXPRESSIONREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEEXPRESSIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT RecognizeExpressionRequest : public RpcServiceRequest
{
public:
RecognizeExpressionRequest();
~RecognizeExpressionRequest();
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEEXPRESSIONREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEEXPRESSIONREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEEXPRESSIONREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT RecognizeExpressionRequest : public RpcServiceRequest {
public:
RecognizeExpressionRequest();
~RecognizeExpressionRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
bool formatResultToJson_;
std::string ossFile_;
std::string requestProxyBy_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEEXPRESSIONREQUEST_H_

View File

@@ -1,78 +1,81 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEFACEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT RecognizeFaceRequest : public RpcServiceRequest
{
public:
RecognizeFaceRequest();
~RecognizeFaceRequest();
bool getGender()const;
void setGender(bool gender);
bool getBeauty()const;
void setBeauty(bool beauty);
long getMaxFaceNumber()const;
void setMaxFaceNumber(long maxFaceNumber);
bool getHat()const;
void setHat(bool hat);
bool getMask()const;
void setMask(bool mask);
int getImageType()const;
void setImageType(int imageType);
bool getGlass()const;
void setGlass(bool glass);
bool getExpression()const;
void setExpression(bool expression);
bool getQuality()const;
void setQuality(bool quality);
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
bool getAge()const;
void setAge(bool age);
private:
bool gender_;
bool beauty_;
long maxFaceNumber_;
bool hat_;
bool mask_;
int imageType_;
bool glass_;
bool expression_;
bool quality_;
std::string imageURL_;
bool age_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEFACEREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEFACEREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT RecognizeFaceRequest : public RpcServiceRequest {
public:
RecognizeFaceRequest();
~RecognizeFaceRequest();
bool getGender() const;
void setGender(bool gender);
bool getBeauty() const;
void setBeauty(bool beauty);
long getMaxFaceNumber() const;
void setMaxFaceNumber(long maxFaceNumber);
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
bool getHat() const;
void setHat(bool hat);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
bool getMask() const;
void setMask(bool mask);
int getImageType() const;
void setImageType(int imageType);
bool getGlass() const;
void setGlass(bool glass);
bool getExpression() const;
void setExpression(bool expression);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
bool getQuality() const;
void setQuality(bool quality);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
bool getAge() const;
void setAge(bool age);
private:
bool gender_;
bool beauty_;
long maxFaceNumber_;
bool formatResultToJson_;
bool hat_;
std::string ossFile_;
bool mask_;
int imageType_;
bool glass_;
bool expression_;
std::string requestProxyBy_;
bool quality_;
std::string imageURL_;
bool age_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEFACEREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEHANDGESTUREREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEHANDGESTUREREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT RecognizeHandGestureRequest : public RpcServiceRequest
{
public:
RecognizeHandGestureRequest();
~RecognizeHandGestureRequest();
std::string getGestureType()const;
void setGestureType(const std::string& gestureType);
std::string getAppId()const;
void setAppId(const std::string& appId);
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
std::string gestureType_;
std::string appId_;
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEHANDGESTUREREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEHANDGESTUREREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEHANDGESTUREREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT RecognizeHandGestureRequest : public RpcServiceRequest {
public:
RecognizeHandGestureRequest();
~RecognizeHandGestureRequest();
std::string getGestureType() const;
void setGestureType(const std::string &gestureType);
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getAppId() const;
void setAppId(const std::string &appId);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
std::string gestureType_;
bool formatResultToJson_;
std::string ossFile_;
std::string requestProxyBy_;
std::string appId_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEHANDGESTUREREQUEST_H_

View File

@@ -1,63 +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.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEPUBLICFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEPUBLICFACEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT RecognizePublicFaceRequest : public RpcServiceRequest
{
public:
struct Task
{
std::string imageURL;
std::string imageData;
};
public:
RecognizePublicFaceRequest();
~RecognizePublicFaceRequest();
bool getFormatResultToJson()const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile()const;
void setOssFile(const std::string& ossFile);
std::string getRequestProxyBy()const;
void setRequestProxyBy(const std::string& requestProxyBy);
std::vector<Task> getTask()const;
void setTask(const std::vector<Task>& task);
private:
bool formatResultToJson_;
std::string ossFile_;
std::string requestProxyBy_;
std::vector<Task> task_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEPUBLICFACEREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEPUBLICFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEPUBLICFACEREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT RecognizePublicFaceRequest : public RpcServiceRequest {
public:
struct Task {
std::string imageURL;
std::string imageData;
};
RecognizePublicFaceRequest();
~RecognizePublicFaceRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::vector<Task> getTask() const;
void setTask(const std::vector<Task> &task);
private:
bool formatResultToJson_;
std::string ossFile_;
std::string requestProxyBy_;
std::vector<Task> task_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_RECOGNIZEPUBLICFACEREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_RETOUCHBODYREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_RETOUCHBODYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT RetouchBodyRequest : public RpcServiceRequest
{
public:
RetouchBodyRequest();
~RetouchBodyRequest();
float getLengthenDegree()const;
void setLengthenDegree(float lengthenDegree);
float getSlimDegree()const;
void setSlimDegree(float slimDegree);
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
float lengthenDegree_;
float slimDegree_;
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_RETOUCHBODYREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_RETOUCHBODYREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_RETOUCHBODYREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT RetouchBodyRequest : public RpcServiceRequest {
public:
RetouchBodyRequest();
~RetouchBodyRequest();
float getLengthenDegree() const;
void setLengthenDegree(float lengthenDegree);
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
float getSlimDegree() const;
void setSlimDegree(float slimDegree);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
float lengthenDegree_;
bool formatResultToJson_;
std::string ossFile_;
float slimDegree_;
std::string requestProxyBy_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_RETOUCHBODYREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_RETOUCHSKINREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_RETOUCHSKINREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT RetouchSkinRequest : public RpcServiceRequest
{
public:
RetouchSkinRequest();
~RetouchSkinRequest();
float getRetouchDegree()const;
void setRetouchDegree(float retouchDegree);
float getWhiteningDegree()const;
void setWhiteningDegree(float whiteningDegree);
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
private:
float retouchDegree_;
float whiteningDegree_;
std::string imageURL_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_RETOUCHSKINREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_RETOUCHSKINREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_RETOUCHSKINREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT RetouchSkinRequest : public RpcServiceRequest {
public:
RetouchSkinRequest();
~RetouchSkinRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
float getRetouchDegree() const;
void setRetouchDegree(float retouchDegree);
float getWhiteningDegree() const;
void setWhiteningDegree(float whiteningDegree);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
private:
bool formatResultToJson_;
float retouchDegree_;
float whiteningDegree_;
std::string ossFile_;
std::string requestProxyBy_;
std::string imageURL_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_RETOUCHSKINREQUEST_H_

View File

@@ -1,57 +1,64 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_SEARCHBODYTRACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_SEARCHBODYTRACEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT SearchBodyTraceRequest : public RpcServiceRequest
{
public:
SearchBodyTraceRequest();
~SearchBodyTraceRequest();
float getMinScore()const;
void setMinScore(float minScore);
long getLimit()const;
void setLimit(long limit);
Array getImages()const;
void setImages(const Array& images);
long getDbId()const;
void setDbId(long dbId);
private:
float minScore_;
long limit_;
Array images_;
long dbId_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_SEARCHBODYTRACEREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_SEARCHBODYTRACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_SEARCHBODYTRACEREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT SearchBodyTraceRequest : public RpcServiceRequest {
public:
struct Images {
std::string imageURL;
std::string imageData;
};
SearchBodyTraceRequest();
~SearchBodyTraceRequest();
float getMinScore() const;
void setMinScore(float minScore);
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
long getLimit() const;
void setLimit(long limit);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::vector<Images> getImages() const;
void setImages(const std::vector<Images> &images);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
long getDbId() const;
void setDbId(long dbId);
private:
float minScore_;
bool formatResultToJson_;
long limit_;
std::string ossFile_;
std::vector<Images> images_;
std::string requestProxyBy_;
long dbId_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_SEARCHBODYTRACEREQUEST_H_

View File

@@ -38,8 +38,8 @@ namespace AlibabaCloud
{
float score;
long personId;
long traceId;
long dbId;
long traceId;
std::string extraData;
};
std::vector<Trace> matchList;

View File

@@ -1,63 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_SEARCHFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_SEARCHFACEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT SearchFaceRequest : public RpcServiceRequest
{
public:
SearchFaceRequest();
~SearchFaceRequest();
long getMaxFaceNum()const;
void setMaxFaceNum(long maxFaceNum);
float getQualityScoreThreshold()const;
void setQualityScoreThreshold(float qualityScoreThreshold);
int getLimit()const;
void setLimit(int limit);
std::string getDbNames()const;
void setDbNames(const std::string& dbNames);
std::string getDbName()const;
void setDbName(const std::string& dbName);
std::string getImageUrl()const;
void setImageUrl(const std::string& imageUrl);
private:
long maxFaceNum_;
float qualityScoreThreshold_;
int limit_;
std::string dbNames_;
std::string dbName_;
std::string imageUrl_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_SEARCHFACEREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_SEARCHFACEREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_SEARCHFACEREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT SearchFaceRequest : public RpcServiceRequest {
public:
SearchFaceRequest();
~SearchFaceRequest();
long getMaxFaceNum() const;
void setMaxFaceNum(long maxFaceNum);
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
float getQualityScoreThreshold() const;
void setQualityScoreThreshold(float qualityScoreThreshold);
int getLimit() const;
void setLimit(int limit);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getDbNames() const;
void setDbNames(const std::string &dbNames);
std::string getDbName() const;
void setDbName(const std::string &dbName);
std::string getImageUrl() const;
void setImageUrl(const std::string &imageUrl);
private:
long maxFaceNum_;
bool formatResultToJson_;
float qualityScoreThreshold_;
int limit_;
std::string ossFile_;
std::string requestProxyBy_;
std::string dbNames_;
std::string dbName_;
std::string imageUrl_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_SEARCHFACEREQUEST_H_

View File

@@ -1,60 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_SWAPFACIALFEATURESREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_SWAPFACIALFEATURESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT SwapFacialFeaturesRequest : public RpcServiceRequest
{
public:
SwapFacialFeaturesRequest();
~SwapFacialFeaturesRequest();
std::string getTargetImageURL()const;
void setTargetImageURL(const std::string& targetImageURL);
std::string getSourceImageData()const;
void setSourceImageData(const std::string& sourceImageData);
std::string getSourceImageURL()const;
void setSourceImageURL(const std::string& sourceImageURL);
std::string getTargetImageData()const;
void setTargetImageData(const std::string& targetImageData);
std::string getEditPart()const;
void setEditPart(const std::string& editPart);
private:
std::string targetImageURL_;
std::string sourceImageData_;
std::string sourceImageURL_;
std::string targetImageData_;
std::string editPart_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_SWAPFACIALFEATURESREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_SWAPFACIALFEATURESREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_SWAPFACIALFEATURESREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT SwapFacialFeaturesRequest : public RpcServiceRequest {
public:
SwapFacialFeaturesRequest();
~SwapFacialFeaturesRequest();
std::string getTargetImageURL() const;
void setTargetImageURL(const std::string &targetImageURL);
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getSourceImageData() const;
void setSourceImageData(const std::string &sourceImageData);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getSourceImageURL() const;
void setSourceImageURL(const std::string &sourceImageURL);
std::string getTargetImageData() const;
void setTargetImageData(const std::string &targetImageData);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getEditPart() const;
void setEditPart(const std::string &editPart);
private:
std::string targetImageURL_;
bool formatResultToJson_;
std::string sourceImageData_;
std::string ossFile_;
std::string sourceImageURL_;
std::string targetImageData_;
std::string requestProxyBy_;
std::string editPart_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_SWAPFACIALFEATURESREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_UPDATEFACEENTITYREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_UPDATEFACEENTITYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT UpdateFaceEntityRequest : public RpcServiceRequest
{
public:
UpdateFaceEntityRequest();
~UpdateFaceEntityRequest();
std::string getEntityId()const;
void setEntityId(const std::string& entityId);
std::string getLabels()const;
void setLabels(const std::string& labels);
std::string getDbName()const;
void setDbName(const std::string& dbName);
private:
std::string entityId_;
std::string labels_;
std::string dbName_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_UPDATEFACEENTITYREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_UPDATEFACEENTITYREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_UPDATEFACEENTITYREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT UpdateFaceEntityRequest : public RpcServiceRequest {
public:
UpdateFaceEntityRequest();
~UpdateFaceEntityRequest();
std::string getEntityId() const;
void setEntityId(const std::string &entityId);
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getLabels() const;
void setLabels(const std::string &labels);
std::string getDbName() const;
void setDbName(const std::string &dbName);
private:
std::string entityId_;
bool formatResultToJson_;
std::string ossFile_;
std::string requestProxyBy_;
std::string labels_;
std::string dbName_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_UPDATEFACEENTITYREQUEST_H_

View File

@@ -1,57 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_VERIFYFACEMASKREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_VERIFYFACEMASKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/facebody/FacebodyExport.h>
namespace AlibabaCloud
{
namespace Facebody
{
namespace Model
{
class ALIBABACLOUD_FACEBODY_EXPORT VerifyFaceMaskRequest : public RpcServiceRequest
{
public:
VerifyFaceMaskRequest();
~VerifyFaceMaskRequest();
std::string getRefData()const;
void setRefData(const std::string& refData);
std::string getImageData()const;
void setImageData(const std::string& imageData);
std::string getImageURL()const;
void setImageURL(const std::string& imageURL);
std::string getRefUrl()const;
void setRefUrl(const std::string& refUrl);
private:
std::string refData_;
std::string imageData_;
std::string imageURL_;
std::string refUrl_;
};
}
}
}
#endif // !ALIBABACLOUD_FACEBODY_MODEL_VERIFYFACEMASKREQUEST_H_
*/
#ifndef ALIBABACLOUD_FACEBODY_MODEL_VERIFYFACEMASKREQUEST_H_
#define ALIBABACLOUD_FACEBODY_MODEL_VERIFYFACEMASKREQUEST_H_
#include <alibabacloud/facebody/FacebodyExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Facebody {
namespace Model {
class ALIBABACLOUD_FACEBODY_EXPORT VerifyFaceMaskRequest : public RpcServiceRequest {
public:
VerifyFaceMaskRequest();
~VerifyFaceMaskRequest();
bool getFormatResultToJson() const;
void setFormatResultToJson(bool formatResultToJson);
std::string getRefData() const;
void setRefData(const std::string &refData);
std::string getOssFile() const;
void setOssFile(const std::string &ossFile);
std::string getImageData() const;
void setImageData(const std::string &imageData);
std::string getRequestProxyBy() const;
void setRequestProxyBy(const std::string &requestProxyBy);
std::string getImageURL() const;
void setImageURL(const std::string &imageURL);
std::string getRefUrl() const;
void setRefUrl(const std::string &refUrl);
private:
bool formatResultToJson_;
std::string refData_;
std::string ossFile_;
std::string imageData_;
std::string requestProxyBy_;
std::string imageURL_;
std::string refUrl_;
};
} // namespace Model
} // namespace Facebody
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FACEBODY_MODEL_VERIFYFACEMASKREQUEST_H_

View File

@@ -1,73 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/facebody/model/AddBodyTraceRequest.h>
using AlibabaCloud::Facebody::Model::AddBodyTraceRequest;
AddBodyTraceRequest::AddBodyTraceRequest() :
RpcServiceRequest("facebody", "2019-12-30", "AddBodyTrace")
{
setMethod(HttpRequest::Method::Post);
}
AddBodyTraceRequest::~AddBodyTraceRequest()
{}
std::string AddBodyTraceRequest::getExtraData()const
{
return extraData_;
*/
#include <alibabacloud/facebody/model/AddBodyTraceRequest.h>
using AlibabaCloud::Facebody::Model::AddBodyTraceRequest;
AddBodyTraceRequest::AddBodyTraceRequest()
: RpcServiceRequest("facebody", "2019-12-30", "AddBodyTrace") {
setMethod(HttpRequest::Method::Post);
}
void AddBodyTraceRequest::setExtraData(const std::string& extraData)
{
extraData_ = extraData;
setBodyParameter("ExtraData", extraData);
AddBodyTraceRequest::~AddBodyTraceRequest() {}
bool AddBodyTraceRequest::getFormatResultToJson() const {
return formatResultToJson_;
}
long AddBodyTraceRequest::getPersonId()const
{
return personId_;
void AddBodyTraceRequest::setFormatResultToJson(bool formatResultToJson) {
formatResultToJson_ = formatResultToJson;
setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
}
void AddBodyTraceRequest::setPersonId(long personId)
{
personId_ = personId;
setBodyParameter("PersonId", std::to_string(personId));
std::string AddBodyTraceRequest::getExtraData() const {
return extraData_;
}
Array AddBodyTraceRequest::getImages()const
{
return images_;
void AddBodyTraceRequest::setExtraData(const std::string &extraData) {
extraData_ = extraData;
setBodyParameter(std::string("ExtraData"), extraData);
}
void AddBodyTraceRequest::setImages(const Array& images)
{
images_ = images;
setBodyParameter("Images", std::to_string(images));
long AddBodyTraceRequest::getPersonId() const {
return personId_;
}
long AddBodyTraceRequest::getDbId()const
{
return dbId_;
void AddBodyTraceRequest::setPersonId(long personId) {
personId_ = personId;
setBodyParameter(std::string("PersonId"), std::to_string(personId));
}
void AddBodyTraceRequest::setDbId(long dbId)
{
dbId_ = dbId;
setBodyParameter("DbId", std::to_string(dbId));
std::string AddBodyTraceRequest::getOssFile() const {
return ossFile_;
}
void AddBodyTraceRequest::setOssFile(const std::string &ossFile) {
ossFile_ = ossFile;
setParameter(std::string("OssFile"), ossFile);
}
std::vector<AddBodyTraceRequest::Images> AddBodyTraceRequest::getImages() const {
return images_;
}
void AddBodyTraceRequest::setImages(const std::vector<AddBodyTraceRequest::Images> &images) {
images_ = images;
for(int dep1 = 0; dep1 != images.size(); dep1++) {
setBodyParameter(std::string("Images") + "." + std::to_string(dep1 + 1) + ".ImageURL", images[dep1].imageURL);
setBodyParameter(std::string("Images") + "." + std::to_string(dep1 + 1) + ".ImageData", images[dep1].imageData);
}
}
std::string AddBodyTraceRequest::getRequestProxyBy() const {
return requestProxyBy_;
}
void AddBodyTraceRequest::setRequestProxyBy(const std::string &requestProxyBy) {
requestProxyBy_ = requestProxyBy;
setParameter(std::string("RequestProxyBy"), requestProxyBy);
}
long AddBodyTraceRequest::getDbId() const {
return dbId_;
}
void AddBodyTraceRequest::setDbId(long dbId) {
dbId_ = dbId;
setBodyParameter(std::string("DbId"), std::to_string(dbId));
}

View File

@@ -42,10 +42,10 @@ void AddBodyTraceResult::parse(const std::string &payload)
auto dataNode = value["Data"];
if(!dataNode["Id"].isNull())
data_.id = std::stol(dataNode["Id"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}

View File

@@ -1,62 +1,81 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/facebody/model/AddFaceEntityRequest.h>
using AlibabaCloud::Facebody::Model::AddFaceEntityRequest;
AddFaceEntityRequest::AddFaceEntityRequest() :
RpcServiceRequest("facebody", "2019-12-30", "AddFaceEntity")
{
setMethod(HttpRequest::Method::Post);
}
AddFaceEntityRequest::~AddFaceEntityRequest()
{}
std::string AddFaceEntityRequest::getEntityId()const
{
return entityId_;
*/
#include <alibabacloud/facebody/model/AddFaceEntityRequest.h>
using AlibabaCloud::Facebody::Model::AddFaceEntityRequest;
AddFaceEntityRequest::AddFaceEntityRequest()
: RpcServiceRequest("facebody", "2019-12-30", "AddFaceEntity") {
setMethod(HttpRequest::Method::Post);
}
void AddFaceEntityRequest::setEntityId(const std::string& entityId)
{
entityId_ = entityId;
setBodyParameter("EntityId", entityId);
AddFaceEntityRequest::~AddFaceEntityRequest() {}
std::string AddFaceEntityRequest::getEntityId() const {
return entityId_;
}
std::string AddFaceEntityRequest::getLabels()const
{
return labels_;
void AddFaceEntityRequest::setEntityId(const std::string &entityId) {
entityId_ = entityId;
setBodyParameter(std::string("EntityId"), entityId);
}
void AddFaceEntityRequest::setLabels(const std::string& labels)
{
labels_ = labels;
setBodyParameter("Labels", labels);
bool AddFaceEntityRequest::getFormatResultToJson() const {
return formatResultToJson_;
}
std::string AddFaceEntityRequest::getDbName()const
{
return dbName_;
void AddFaceEntityRequest::setFormatResultToJson(bool formatResultToJson) {
formatResultToJson_ = formatResultToJson;
setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
}
void AddFaceEntityRequest::setDbName(const std::string& dbName)
{
dbName_ = dbName;
setBodyParameter("DbName", dbName);
std::string AddFaceEntityRequest::getOssFile() const {
return ossFile_;
}
void AddFaceEntityRequest::setOssFile(const std::string &ossFile) {
ossFile_ = ossFile;
setParameter(std::string("OssFile"), ossFile);
}
std::string AddFaceEntityRequest::getRequestProxyBy() const {
return requestProxyBy_;
}
void AddFaceEntityRequest::setRequestProxyBy(const std::string &requestProxyBy) {
requestProxyBy_ = requestProxyBy;
setParameter(std::string("RequestProxyBy"), requestProxyBy);
}
std::string AddFaceEntityRequest::getLabels() const {
return labels_;
}
void AddFaceEntityRequest::setLabels(const std::string &labels) {
labels_ = labels;
setBodyParameter(std::string("Labels"), labels);
}
std::string AddFaceEntityRequest::getDbName() const {
return dbName_;
}
void AddFaceEntityRequest::setDbName(const std::string &dbName) {
dbName_ = dbName;
setBodyParameter(std::string("DbName"), dbName);
}

View File

@@ -1,84 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/facebody/model/AddFaceImageTemplateRequest.h>
using AlibabaCloud::Facebody::Model::AddFaceImageTemplateRequest;
AddFaceImageTemplateRequest::AddFaceImageTemplateRequest() :
RpcServiceRequest("facebody", "2019-12-30", "AddFaceImageTemplate")
{
setMethod(HttpRequest::Method::Post);
}
AddFaceImageTemplateRequest::~AddFaceImageTemplateRequest()
{}
bool AddFaceImageTemplateRequest::getFormatResultToJson()const
{
return formatResultToJson_;
*/
#include <alibabacloud/facebody/model/AddFaceImageTemplateRequest.h>
using AlibabaCloud::Facebody::Model::AddFaceImageTemplateRequest;
AddFaceImageTemplateRequest::AddFaceImageTemplateRequest()
: RpcServiceRequest("facebody", "2019-12-30", "AddFaceImageTemplate") {
setMethod(HttpRequest::Method::Post);
}
void AddFaceImageTemplateRequest::setFormatResultToJson(bool formatResultToJson)
{
formatResultToJson_ = formatResultToJson;
setParameter("FormatResultToJson", formatResultToJson ? "true" : "false");
AddFaceImageTemplateRequest::~AddFaceImageTemplateRequest() {}
bool AddFaceImageTemplateRequest::getFormatResultToJson() const {
return formatResultToJson_;
}
std::string AddFaceImageTemplateRequest::getUserId()const
{
return userId_;
void AddFaceImageTemplateRequest::setFormatResultToJson(bool formatResultToJson) {
formatResultToJson_ = formatResultToJson;
setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
}
void AddFaceImageTemplateRequest::setUserId(const std::string& userId)
{
userId_ = userId;
setBodyParameter("UserId", userId);
std::string AddFaceImageTemplateRequest::getUserId() const {
return userId_;
}
std::string AddFaceImageTemplateRequest::getOssFile()const
{
return ossFile_;
void AddFaceImageTemplateRequest::setUserId(const std::string &userId) {
userId_ = userId;
setBodyParameter(std::string("UserId"), userId);
}
void AddFaceImageTemplateRequest::setOssFile(const std::string& ossFile)
{
ossFile_ = ossFile;
setParameter("OssFile", ossFile);
std::string AddFaceImageTemplateRequest::getOssFile() const {
return ossFile_;
}
std::string AddFaceImageTemplateRequest::getRequestProxyBy()const
{
return requestProxyBy_;
void AddFaceImageTemplateRequest::setOssFile(const std::string &ossFile) {
ossFile_ = ossFile;
setParameter(std::string("OssFile"), ossFile);
}
void AddFaceImageTemplateRequest::setRequestProxyBy(const std::string& requestProxyBy)
{
requestProxyBy_ = requestProxyBy;
setParameter("RequestProxyBy", requestProxyBy);
std::string AddFaceImageTemplateRequest::getRequestProxyBy() const {
return requestProxyBy_;
}
std::string AddFaceImageTemplateRequest::getImageURL()const
{
return imageURL_;
void AddFaceImageTemplateRequest::setRequestProxyBy(const std::string &requestProxyBy) {
requestProxyBy_ = requestProxyBy;
setParameter(std::string("RequestProxyBy"), requestProxyBy);
}
void AddFaceImageTemplateRequest::setImageURL(const std::string& imageURL)
{
imageURL_ = imageURL;
setBodyParameter("ImageURL", imageURL);
std::string AddFaceImageTemplateRequest::getImageURL() const {
return imageURL_;
}
void AddFaceImageTemplateRequest::setImageURL(const std::string &imageURL) {
imageURL_ = imageURL;
setBodyParameter(std::string("ImageURL"), imageURL);
}

View File

@@ -1,106 +1,117 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/facebody/model/AddFaceRequest.h>
using AlibabaCloud::Facebody::Model::AddFaceRequest;
AddFaceRequest::AddFaceRequest() :
RpcServiceRequest("facebody", "2019-12-30", "AddFace")
{
setMethod(HttpRequest::Method::Post);
}
AddFaceRequest::~AddFaceRequest()
{}
std::string AddFaceRequest::getEntityId()const
{
return entityId_;
*/
#include <alibabacloud/facebody/model/AddFaceRequest.h>
using AlibabaCloud::Facebody::Model::AddFaceRequest;
AddFaceRequest::AddFaceRequest()
: RpcServiceRequest("facebody", "2019-12-30", "AddFace") {
setMethod(HttpRequest::Method::Post);
}
void AddFaceRequest::setEntityId(const std::string& entityId)
{
entityId_ = entityId;
setBodyParameter("EntityId", entityId);
AddFaceRequest::~AddFaceRequest() {}
std::string AddFaceRequest::getEntityId() const {
return entityId_;
}
float AddFaceRequest::getQualityScoreThreshold()const
{
return qualityScoreThreshold_;
void AddFaceRequest::setEntityId(const std::string &entityId) {
entityId_ = entityId;
setBodyParameter(std::string("EntityId"), entityId);
}
void AddFaceRequest::setQualityScoreThreshold(float qualityScoreThreshold)
{
qualityScoreThreshold_ = qualityScoreThreshold;
setBodyParameter("QualityScoreThreshold", std::to_string(qualityScoreThreshold));
bool AddFaceRequest::getFormatResultToJson() const {
return formatResultToJson_;
}
float AddFaceRequest::getSimilarityScoreThresholdBetweenEntity()const
{
return similarityScoreThresholdBetweenEntity_;
void AddFaceRequest::setFormatResultToJson(bool formatResultToJson) {
formatResultToJson_ = formatResultToJson;
setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
}
void AddFaceRequest::setSimilarityScoreThresholdBetweenEntity(float similarityScoreThresholdBetweenEntity)
{
similarityScoreThresholdBetweenEntity_ = similarityScoreThresholdBetweenEntity;
setBodyParameter("SimilarityScoreThresholdBetweenEntity", std::to_string(similarityScoreThresholdBetweenEntity));
float AddFaceRequest::getQualityScoreThreshold() const {
return qualityScoreThreshold_;
}
std::string AddFaceRequest::getExtraData()const
{
return extraData_;
void AddFaceRequest::setQualityScoreThreshold(float qualityScoreThreshold) {
qualityScoreThreshold_ = qualityScoreThreshold;
setBodyParameter(std::string("QualityScoreThreshold"), std::to_string(qualityScoreThreshold));
}
void AddFaceRequest::setExtraData(const std::string& extraData)
{
extraData_ = extraData;
setBodyParameter("ExtraData", extraData);
float AddFaceRequest::getSimilarityScoreThresholdBetweenEntity() const {
return similarityScoreThresholdBetweenEntity_;
}
float AddFaceRequest::getSimilarityScoreThresholdInEntity()const
{
return similarityScoreThresholdInEntity_;
void AddFaceRequest::setSimilarityScoreThresholdBetweenEntity(float similarityScoreThresholdBetweenEntity) {
similarityScoreThresholdBetweenEntity_ = similarityScoreThresholdBetweenEntity;
setBodyParameter(std::string("SimilarityScoreThresholdBetweenEntity"), std::to_string(similarityScoreThresholdBetweenEntity));
}
void AddFaceRequest::setSimilarityScoreThresholdInEntity(float similarityScoreThresholdInEntity)
{
similarityScoreThresholdInEntity_ = similarityScoreThresholdInEntity;
setBodyParameter("SimilarityScoreThresholdInEntity", std::to_string(similarityScoreThresholdInEntity));
std::string AddFaceRequest::getExtraData() const {
return extraData_;
}
std::string AddFaceRequest::getDbName()const
{
return dbName_;
void AddFaceRequest::setExtraData(const std::string &extraData) {
extraData_ = extraData;
setBodyParameter(std::string("ExtraData"), extraData);
}
void AddFaceRequest::setDbName(const std::string& dbName)
{
dbName_ = dbName;
setBodyParameter("DbName", dbName);
std::string AddFaceRequest::getOssFile() const {
return ossFile_;
}
std::string AddFaceRequest::getImageUrl()const
{
return imageUrl_;
void AddFaceRequest::setOssFile(const std::string &ossFile) {
ossFile_ = ossFile;
setParameter(std::string("OssFile"), ossFile);
}
void AddFaceRequest::setImageUrl(const std::string& imageUrl)
{
imageUrl_ = imageUrl;
setBodyParameter("ImageUrl", imageUrl);
float AddFaceRequest::getSimilarityScoreThresholdInEntity() const {
return similarityScoreThresholdInEntity_;
}
void AddFaceRequest::setSimilarityScoreThresholdInEntity(float similarityScoreThresholdInEntity) {
similarityScoreThresholdInEntity_ = similarityScoreThresholdInEntity;
setBodyParameter(std::string("SimilarityScoreThresholdInEntity"), std::to_string(similarityScoreThresholdInEntity));
}
std::string AddFaceRequest::getRequestProxyBy() const {
return requestProxyBy_;
}
void AddFaceRequest::setRequestProxyBy(const std::string &requestProxyBy) {
requestProxyBy_ = requestProxyBy;
setParameter(std::string("RequestProxyBy"), requestProxyBy);
}
std::string AddFaceRequest::getDbName() const {
return dbName_;
}
void AddFaceRequest::setDbName(const std::string &dbName) {
dbName_ = dbName;
setBodyParameter(std::string("DbName"), dbName);
}
std::string AddFaceRequest::getImageUrl() const {
return imageUrl_;
}
void AddFaceRequest::setImageUrl(const std::string &imageUrl) {
imageUrl_ = imageUrl;
setBodyParameter(std::string("ImageUrl"), imageUrl);
}

View File

@@ -1,95 +1,111 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/facebody/model/BatchAddFacesRequest.h>
using AlibabaCloud::Facebody::Model::BatchAddFacesRequest;
BatchAddFacesRequest::BatchAddFacesRequest() :
RpcServiceRequest("facebody", "2019-12-30", "BatchAddFaces")
{
setMethod(HttpRequest::Method::Post);
}
BatchAddFacesRequest::~BatchAddFacesRequest()
{}
std::string BatchAddFacesRequest::getEntityId()const
{
return entityId_;
*/
#include <alibabacloud/facebody/model/BatchAddFacesRequest.h>
using AlibabaCloud::Facebody::Model::BatchAddFacesRequest;
BatchAddFacesRequest::BatchAddFacesRequest()
: RpcServiceRequest("facebody", "2019-12-30", "BatchAddFaces") {
setMethod(HttpRequest::Method::Post);
}
void BatchAddFacesRequest::setEntityId(const std::string& entityId)
{
entityId_ = entityId;
setBodyParameter("EntityId", entityId);
BatchAddFacesRequest::~BatchAddFacesRequest() {}
std::string BatchAddFacesRequest::getEntityId() const {
return entityId_;
}
float BatchAddFacesRequest::getQualityScoreThreshold()const
{
return qualityScoreThreshold_;
void BatchAddFacesRequest::setEntityId(const std::string &entityId) {
entityId_ = entityId;
setBodyParameter(std::string("EntityId"), entityId);
}
void BatchAddFacesRequest::setQualityScoreThreshold(float qualityScoreThreshold)
{
qualityScoreThreshold_ = qualityScoreThreshold;
setBodyParameter("QualityScoreThreshold", std::to_string(qualityScoreThreshold));
bool BatchAddFacesRequest::getFormatResultToJson() const {
return formatResultToJson_;
}
float BatchAddFacesRequest::getSimilarityScoreThresholdBetweenEntity()const
{
return similarityScoreThresholdBetweenEntity_;
void BatchAddFacesRequest::setFormatResultToJson(bool formatResultToJson) {
formatResultToJson_ = formatResultToJson;
setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
}
void BatchAddFacesRequest::setSimilarityScoreThresholdBetweenEntity(float similarityScoreThresholdBetweenEntity)
{
similarityScoreThresholdBetweenEntity_ = similarityScoreThresholdBetweenEntity;
setBodyParameter("SimilarityScoreThresholdBetweenEntity", std::to_string(similarityScoreThresholdBetweenEntity));
float BatchAddFacesRequest::getQualityScoreThreshold() const {
return qualityScoreThreshold_;
}
float BatchAddFacesRequest::getSimilarityScoreThresholdInEntity()const
{
return similarityScoreThresholdInEntity_;
void BatchAddFacesRequest::setQualityScoreThreshold(float qualityScoreThreshold) {
qualityScoreThreshold_ = qualityScoreThreshold;
setBodyParameter(std::string("QualityScoreThreshold"), std::to_string(qualityScoreThreshold));
}
void BatchAddFacesRequest::setSimilarityScoreThresholdInEntity(float similarityScoreThresholdInEntity)
{
similarityScoreThresholdInEntity_ = similarityScoreThresholdInEntity;
setBodyParameter("SimilarityScoreThresholdInEntity", std::to_string(similarityScoreThresholdInEntity));
float BatchAddFacesRequest::getSimilarityScoreThresholdBetweenEntity() const {
return similarityScoreThresholdBetweenEntity_;
}
std::string BatchAddFacesRequest::getDbName()const
{
return dbName_;
void BatchAddFacesRequest::setSimilarityScoreThresholdBetweenEntity(float similarityScoreThresholdBetweenEntity) {
similarityScoreThresholdBetweenEntity_ = similarityScoreThresholdBetweenEntity;
setBodyParameter(std::string("SimilarityScoreThresholdBetweenEntity"), std::to_string(similarityScoreThresholdBetweenEntity));
}
void BatchAddFacesRequest::setDbName(const std::string& dbName)
{
dbName_ = dbName;
setBodyParameter("DbName", dbName);
std::string BatchAddFacesRequest::getOssFile() const {
return ossFile_;
}
Array BatchAddFacesRequest::getFaces()const
{
return faces_;
void BatchAddFacesRequest::setOssFile(const std::string &ossFile) {
ossFile_ = ossFile;
setParameter(std::string("OssFile"), ossFile);
}
void BatchAddFacesRequest::setFaces(const Array& faces)
{
faces_ = faces;
setBodyParameter("Faces", std::to_string(faces));
float BatchAddFacesRequest::getSimilarityScoreThresholdInEntity() const {
return similarityScoreThresholdInEntity_;
}
void BatchAddFacesRequest::setSimilarityScoreThresholdInEntity(float similarityScoreThresholdInEntity) {
similarityScoreThresholdInEntity_ = similarityScoreThresholdInEntity;
setBodyParameter(std::string("SimilarityScoreThresholdInEntity"), std::to_string(similarityScoreThresholdInEntity));
}
std::string BatchAddFacesRequest::getRequestProxyBy() const {
return requestProxyBy_;
}
void BatchAddFacesRequest::setRequestProxyBy(const std::string &requestProxyBy) {
requestProxyBy_ = requestProxyBy;
setParameter(std::string("RequestProxyBy"), requestProxyBy);
}
std::string BatchAddFacesRequest::getDbName() const {
return dbName_;
}
void BatchAddFacesRequest::setDbName(const std::string &dbName) {
dbName_ = dbName;
setBodyParameter(std::string("DbName"), dbName);
}
std::vector<BatchAddFacesRequest::Faces> BatchAddFacesRequest::getFaces() const {
return faces_;
}
void BatchAddFacesRequest::setFaces(const std::vector<BatchAddFacesRequest::Faces> &faces) {
faces_ = faces;
for(int dep1 = 0; dep1 != faces.size(); dep1++) {
setBodyParameter(std::string("Faces") + "." + std::to_string(dep1 + 1) + ".ExtraData", faces[dep1].extraData);
setBodyParameter(std::string("Faces") + "." + std::to_string(dep1 + 1) + ".ImageURL", faces[dep1].imageURL);
}
}

View File

@@ -1,161 +1,181 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/facebody/model/BeautifyBodyRequest.h>
using AlibabaCloud::Facebody::Model::BeautifyBodyRequest;
BeautifyBodyRequest::BeautifyBodyRequest() :
RpcServiceRequest("facebody", "2019-12-30", "BeautifyBody")
{
setMethod(HttpRequest::Method::Post);
}
BeautifyBodyRequest::~BeautifyBodyRequest()
{}
Array BeautifyBodyRequest::getBodyBoxes()const
{
return bodyBoxes_;
*/
#include <alibabacloud/facebody/model/BeautifyBodyRequest.h>
using AlibabaCloud::Facebody::Model::BeautifyBodyRequest;
BeautifyBodyRequest::BeautifyBodyRequest()
: RpcServiceRequest("facebody", "2019-12-30", "BeautifyBody") {
setMethod(HttpRequest::Method::Post);
}
void BeautifyBodyRequest::setBodyBoxes(const Array& bodyBoxes)
{
bodyBoxes_ = bodyBoxes;
setBodyParameter("BodyBoxes", std::to_string(bodyBoxes));
BeautifyBodyRequest::~BeautifyBodyRequest() {}
std::vector<BeautifyBodyRequest::BodyBoxes> BeautifyBodyRequest::getBodyBoxes() const {
return bodyBoxes_;
}
float BeautifyBodyRequest::getLengthenDegree()const
{
return lengthenDegree_;
void BeautifyBodyRequest::setBodyBoxes(const std::vector<BeautifyBodyRequest::BodyBoxes> &bodyBoxes) {
bodyBoxes_ = bodyBoxes;
for(int dep1 = 0; dep1 != bodyBoxes.size(); dep1++) {
setBodyParameter(std::string("BodyBoxes") + "." + std::to_string(dep1 + 1) + ".X", std::to_string(bodyBoxes[dep1].x));
setBodyParameter(std::string("BodyBoxes") + "." + std::to_string(dep1 + 1) + ".Width", std::to_string(bodyBoxes[dep1].width));
setBodyParameter(std::string("BodyBoxes") + "." + std::to_string(dep1 + 1) + ".Y", std::to_string(bodyBoxes[dep1].y));
setBodyParameter(std::string("BodyBoxes") + "." + std::to_string(dep1 + 1) + ".Height", std::to_string(bodyBoxes[dep1].height));
}
}
void BeautifyBodyRequest::setLengthenDegree(float lengthenDegree)
{
lengthenDegree_ = lengthenDegree;
setBodyParameter("LengthenDegree", std::to_string(lengthenDegree));
float BeautifyBodyRequest::getLengthenDegree() const {
return lengthenDegree_;
}
float BeautifyBodyRequest::getMaleLiquifyDegree()const
{
return maleLiquifyDegree_;
void BeautifyBodyRequest::setLengthenDegree(float lengthenDegree) {
lengthenDegree_ = lengthenDegree;
setBodyParameter(std::string("LengthenDegree"), std::to_string(lengthenDegree));
}
void BeautifyBodyRequest::setMaleLiquifyDegree(float maleLiquifyDegree)
{
maleLiquifyDegree_ = maleLiquifyDegree;
setBodyParameter("MaleLiquifyDegree", std::to_string(maleLiquifyDegree));
float BeautifyBodyRequest::getMaleLiquifyDegree() const {
return maleLiquifyDegree_;
}
long BeautifyBodyRequest::getOriginalWidth()const
{
return originalWidth_;
void BeautifyBodyRequest::setMaleLiquifyDegree(float maleLiquifyDegree) {
maleLiquifyDegree_ = maleLiquifyDegree;
setBodyParameter(std::string("MaleLiquifyDegree"), std::to_string(maleLiquifyDegree));
}
void BeautifyBodyRequest::setOriginalWidth(long originalWidth)
{
originalWidth_ = originalWidth;
setBodyParameter("OriginalWidth", std::to_string(originalWidth));
bool BeautifyBodyRequest::getFormatResultToJson() const {
return formatResultToJson_;
}
bool BeautifyBodyRequest::getIsPregnant()const
{
return isPregnant_;
void BeautifyBodyRequest::setFormatResultToJson(bool formatResultToJson) {
formatResultToJson_ = formatResultToJson;
setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
}
void BeautifyBodyRequest::setIsPregnant(bool isPregnant)
{
isPregnant_ = isPregnant;
setBodyParameter("IsPregnant", isPregnant ? "true" : "false");
long BeautifyBodyRequest::getOriginalWidth() const {
return originalWidth_;
}
Array BeautifyBodyRequest::getFaceList()const
{
return faceList_;
void BeautifyBodyRequest::setOriginalWidth(long originalWidth) {
originalWidth_ = originalWidth;
setBodyParameter(std::string("OriginalWidth"), std::to_string(originalWidth));
}
void BeautifyBodyRequest::setFaceList(const Array& faceList)
{
faceList_ = faceList;
setBodyParameter("FaceList", std::to_string(faceList));
bool BeautifyBodyRequest::getIsPregnant() const {
return isPregnant_;
}
Struct BeautifyBodyRequest::getAgeRange()const
{
return ageRange_;
void BeautifyBodyRequest::setIsPregnant(bool isPregnant) {
isPregnant_ = isPregnant;
setBodyParameter(std::string("IsPregnant"), isPregnant ? "true" : "false");
}
void BeautifyBodyRequest::setAgeRange(const Struct& ageRange)
{
ageRange_ = ageRange;
setBodyParameter("AgeRange", std::to_string(ageRange));
std::vector<BeautifyBodyRequest::FaceList> BeautifyBodyRequest::getFaceList() const {
return faceList_;
}
long BeautifyBodyRequest::getCustom()const
{
return custom_;
void BeautifyBodyRequest::setFaceList(const std::vector<BeautifyBodyRequest::FaceList> &faceList) {
faceList_ = faceList;
for(int dep1 = 0; dep1 != faceList.size(); dep1++) {
setBodyParameter(std::string("FaceList") + "." + std::to_string(dep1 + 1) + ".Gender", std::to_string(faceList[dep1].gender));
setBodyParameter(std::string("FaceList") + "." + std::to_string(dep1 + 1) + ".FaceBox.X", std::to_string(faceList[dep1].faceBox.x));
setBodyParameter(std::string("FaceList") + "." + std::to_string(dep1 + 1) + ".FaceBox.Width", std::to_string(faceList[dep1].faceBox.width));
setBodyParameter(std::string("FaceList") + "." + std::to_string(dep1 + 1) + ".FaceBox.Y", std::to_string(faceList[dep1].faceBox.y));
setBodyParameter(std::string("FaceList") + "." + std::to_string(dep1 + 1) + ".FaceBox.Height", std::to_string(faceList[dep1].faceBox.height));
setBodyParameter(std::string("FaceList") + "." + std::to_string(dep1 + 1) + ".Age", std::to_string(faceList[dep1].age));
}
}
void BeautifyBodyRequest::setCustom(long custom)
{
custom_ = custom;
setBodyParameter("Custom", std::to_string(custom));
std::string BeautifyBodyRequest::getOssFile() const {
return ossFile_;
}
long BeautifyBodyRequest::getOriginalHeight()const
{
return originalHeight_;
void BeautifyBodyRequest::setOssFile(const std::string &ossFile) {
ossFile_ = ossFile;
setParameter(std::string("OssFile"), ossFile);
}
void BeautifyBodyRequest::setOriginalHeight(long originalHeight)
{
originalHeight_ = originalHeight;
setBodyParameter("OriginalHeight", std::to_string(originalHeight));
BeautifyBodyRequest::AgeRange BeautifyBodyRequest::getAgeRange() const {
return ageRange_;
}
std::string BeautifyBodyRequest::getImageURL()const
{
return imageURL_;
void BeautifyBodyRequest::setAgeRange(const BeautifyBodyRequest::AgeRange &ageRange) {
ageRange_ = ageRange;
setBodyParameter(std::string("AgeRange") + ".AgeMax", std::to_string(ageRange.ageMax));
setBodyParameter(std::string("AgeRange") + ".AgeMinimum", std::to_string(ageRange.ageMinimum));
}
void BeautifyBodyRequest::setImageURL(const std::string& imageURL)
{
imageURL_ = imageURL;
setBodyParameter("ImageURL", imageURL);
long BeautifyBodyRequest::getCustom() const {
return custom_;
}
float BeautifyBodyRequest::getFemaleLiquifyDegree()const
{
return femaleLiquifyDegree_;
void BeautifyBodyRequest::setCustom(long custom) {
custom_ = custom;
setBodyParameter(std::string("Custom"), std::to_string(custom));
}
void BeautifyBodyRequest::setFemaleLiquifyDegree(float femaleLiquifyDegree)
{
femaleLiquifyDegree_ = femaleLiquifyDegree;
setBodyParameter("FemaleLiquifyDegree", std::to_string(femaleLiquifyDegree));
std::string BeautifyBodyRequest::getRequestProxyBy() const {
return requestProxyBy_;
}
Array BeautifyBodyRequest::getPoseList()const
{
return poseList_;
void BeautifyBodyRequest::setRequestProxyBy(const std::string &requestProxyBy) {
requestProxyBy_ = requestProxyBy;
setParameter(std::string("RequestProxyBy"), requestProxyBy);
}
void BeautifyBodyRequest::setPoseList(const Array& poseList)
{
poseList_ = poseList;
setBodyParameter("PoseList", std::to_string(poseList));
long BeautifyBodyRequest::getOriginalHeight() const {
return originalHeight_;
}
void BeautifyBodyRequest::setOriginalHeight(long originalHeight) {
originalHeight_ = originalHeight;
setBodyParameter(std::string("OriginalHeight"), std::to_string(originalHeight));
}
std::string BeautifyBodyRequest::getImageURL() const {
return imageURL_;
}
void BeautifyBodyRequest::setImageURL(const std::string &imageURL) {
imageURL_ = imageURL;
setBodyParameter(std::string("ImageURL"), imageURL);
}
float BeautifyBodyRequest::getFemaleLiquifyDegree() const {
return femaleLiquifyDegree_;
}
void BeautifyBodyRequest::setFemaleLiquifyDegree(float femaleLiquifyDegree) {
femaleLiquifyDegree_ = femaleLiquifyDegree;
setBodyParameter(std::string("FemaleLiquifyDegree"), std::to_string(femaleLiquifyDegree));
}
std::vector<BeautifyBodyRequest::PoseList> BeautifyBodyRequest::getPoseList() const {
return poseList_;
}
void BeautifyBodyRequest::setPoseList(const std::vector<BeautifyBodyRequest::PoseList> &poseList) {
poseList_ = poseList;
for(int dep1 = 0; dep1 != poseList.size(); dep1++) {
for(int dep2 = 0; dep2 != poseList[dep1].pose.size(); dep2++) {
setBodyParameter(std::string("PoseList") + "." + std::to_string(dep1 + 1) + ".Pose." + std::to_string(dep2 + 1) + ".Score", std::to_string(poseList[dep1].pose[dep2].score));
setBodyParameter(std::string("PoseList") + "." + std::to_string(dep1 + 1) + ".Pose." + std::to_string(dep2 + 1) + ".X", std::to_string(poseList[dep1].pose[dep2].x));
setBodyParameter(std::string("PoseList") + "." + std::to_string(dep1 + 1) + ".Pose." + std::to_string(dep2 + 1) + ".Y", std::to_string(poseList[dep1].pose[dep2].y));
}
}
}

View File

@@ -1,40 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/facebody/model/BlurFaceRequest.h>
using AlibabaCloud::Facebody::Model::BlurFaceRequest;
BlurFaceRequest::BlurFaceRequest() :
RpcServiceRequest("facebody", "2019-12-30", "BlurFace")
{
setMethod(HttpRequest::Method::Post);
}
BlurFaceRequest::~BlurFaceRequest()
{}
std::string BlurFaceRequest::getImageURL()const
{
return imageURL_;
*/
#include <alibabacloud/facebody/model/BlurFaceRequest.h>
using AlibabaCloud::Facebody::Model::BlurFaceRequest;
BlurFaceRequest::BlurFaceRequest()
: RpcServiceRequest("facebody", "2019-12-30", "BlurFace") {
setMethod(HttpRequest::Method::Post);
}
void BlurFaceRequest::setImageURL(const std::string& imageURL)
{
imageURL_ = imageURL;
setBodyParameter("ImageURL", imageURL);
BlurFaceRequest::~BlurFaceRequest() {}
bool BlurFaceRequest::getFormatResultToJson() const {
return formatResultToJson_;
}
void BlurFaceRequest::setFormatResultToJson(bool formatResultToJson) {
formatResultToJson_ = formatResultToJson;
setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
}
std::string BlurFaceRequest::getOssFile() const {
return ossFile_;
}
void BlurFaceRequest::setOssFile(const std::string &ossFile) {
ossFile_ = ossFile;
setParameter(std::string("OssFile"), ossFile);
}
std::string BlurFaceRequest::getRequestProxyBy() const {
return requestProxyBy_;
}
void BlurFaceRequest::setRequestProxyBy(const std::string &requestProxyBy) {
requestProxyBy_ = requestProxyBy;
setParameter(std::string("RequestProxyBy"), requestProxyBy);
}
std::string BlurFaceRequest::getImageURL() const {
return imageURL_;
}
void BlurFaceRequest::setImageURL(const std::string &imageURL) {
imageURL_ = imageURL;
setBodyParameter(std::string("ImageURL"), imageURL);
}

View File

@@ -1,40 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/facebody/model/BodyPostureRequest.h>
using AlibabaCloud::Facebody::Model::BodyPostureRequest;
BodyPostureRequest::BodyPostureRequest() :
RpcServiceRequest("facebody", "2019-12-30", "BodyPosture")
{
setMethod(HttpRequest::Method::Post);
}
BodyPostureRequest::~BodyPostureRequest()
{}
std::string BodyPostureRequest::getImageURL()const
{
return imageURL_;
*/
#include <alibabacloud/facebody/model/BodyPostureRequest.h>
using AlibabaCloud::Facebody::Model::BodyPostureRequest;
BodyPostureRequest::BodyPostureRequest()
: RpcServiceRequest("facebody", "2019-12-30", "BodyPosture") {
setMethod(HttpRequest::Method::Post);
}
void BodyPostureRequest::setImageURL(const std::string& imageURL)
{
imageURL_ = imageURL;
setBodyParameter("ImageURL", imageURL);
BodyPostureRequest::~BodyPostureRequest() {}
bool BodyPostureRequest::getFormatResultToJson() const {
return formatResultToJson_;
}
void BodyPostureRequest::setFormatResultToJson(bool formatResultToJson) {
formatResultToJson_ = formatResultToJson;
setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
}
std::string BodyPostureRequest::getOssFile() const {
return ossFile_;
}
void BodyPostureRequest::setOssFile(const std::string &ossFile) {
ossFile_ = ossFile;
setParameter(std::string("OssFile"), ossFile);
}
std::string BodyPostureRequest::getRequestProxyBy() const {
return requestProxyBy_;
}
void BodyPostureRequest::setRequestProxyBy(const std::string &requestProxyBy) {
requestProxyBy_ = requestProxyBy;
setParameter(std::string("RequestProxyBy"), requestProxyBy);
}
std::string BodyPostureRequest::getImageURL() const {
return imageURL_;
}
void BodyPostureRequest::setImageURL(const std::string &imageURL) {
imageURL_ = imageURL;
setBodyParameter(std::string("ImageURL"), imageURL);
}

View File

@@ -74,10 +74,10 @@ void BodyPostureResult::parse(const std::string &payload)
data_.outputs.push_back(outputObject);
}
auto metaObjectNode = dataNode["MetaObject"];
if(!metaObjectNode["Height"].isNull())
data_.metaObject.height = std::stoi(metaObjectNode["Height"].asString());
if(!metaObjectNode["Width"].isNull())
data_.metaObject.width = std::stoi(metaObjectNode["Width"].asString());
if(!metaObjectNode["Height"].isNull())
data_.metaObject.height = std::stoi(metaObjectNode["Height"].asString());
}

View File

@@ -1,95 +1,108 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/facebody/model/CompareFaceRequest.h>
using AlibabaCloud::Facebody::Model::CompareFaceRequest;
CompareFaceRequest::CompareFaceRequest() :
RpcServiceRequest("facebody", "2019-12-30", "CompareFace")
{
setMethod(HttpRequest::Method::Post);
}
CompareFaceRequest::~CompareFaceRequest()
{}
std::string CompareFaceRequest::getImageDataA()const
{
return imageDataA_;
*/
#include <alibabacloud/facebody/model/CompareFaceRequest.h>
using AlibabaCloud::Facebody::Model::CompareFaceRequest;
CompareFaceRequest::CompareFaceRequest()
: RpcServiceRequest("facebody", "2019-12-30", "CompareFace") {
setMethod(HttpRequest::Method::Post);
}
void CompareFaceRequest::setImageDataA(const std::string& imageDataA)
{
imageDataA_ = imageDataA;
setBodyParameter("ImageDataA", imageDataA);
CompareFaceRequest::~CompareFaceRequest() {}
std::string CompareFaceRequest::getImageDataA() const {
return imageDataA_;
}
std::string CompareFaceRequest::getImageDataB()const
{
return imageDataB_;
void CompareFaceRequest::setImageDataA(const std::string &imageDataA) {
imageDataA_ = imageDataA;
setBodyParameter(std::string("ImageDataA"), imageDataA);
}
void CompareFaceRequest::setImageDataB(const std::string& imageDataB)
{
imageDataB_ = imageDataB;
setBodyParameter("ImageDataB", imageDataB);
std::string CompareFaceRequest::getImageDataB() const {
return imageDataB_;
}
float CompareFaceRequest::getQualityScoreThreshold()const
{
return qualityScoreThreshold_;
void CompareFaceRequest::setImageDataB(const std::string &imageDataB) {
imageDataB_ = imageDataB;
setBodyParameter(std::string("ImageDataB"), imageDataB);
}
void CompareFaceRequest::setQualityScoreThreshold(float qualityScoreThreshold)
{
qualityScoreThreshold_ = qualityScoreThreshold;
setBodyParameter("QualityScoreThreshold", std::to_string(qualityScoreThreshold));
bool CompareFaceRequest::getFormatResultToJson() const {
return formatResultToJson_;
}
std::string CompareFaceRequest::getImageURLB()const
{
return imageURLB_;
void CompareFaceRequest::setFormatResultToJson(bool formatResultToJson) {
formatResultToJson_ = formatResultToJson;
setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
}
void CompareFaceRequest::setImageURLB(const std::string& imageURLB)
{
imageURLB_ = imageURLB;
setBodyParameter("ImageURLB", imageURLB);
float CompareFaceRequest::getQualityScoreThreshold() const {
return qualityScoreThreshold_;
}
std::string CompareFaceRequest::getImageURLA()const
{
return imageURLA_;
void CompareFaceRequest::setQualityScoreThreshold(float qualityScoreThreshold) {
qualityScoreThreshold_ = qualityScoreThreshold;
setBodyParameter(std::string("QualityScoreThreshold"), std::to_string(qualityScoreThreshold));
}
void CompareFaceRequest::setImageURLA(const std::string& imageURLA)
{
imageURLA_ = imageURLA;
setBodyParameter("ImageURLA", imageURLA);
std::string CompareFaceRequest::getImageURLB() const {
return imageURLB_;
}
int CompareFaceRequest::getImageType()const
{
return imageType_;
void CompareFaceRequest::setImageURLB(const std::string &imageURLB) {
imageURLB_ = imageURLB;
setBodyParameter(std::string("ImageURLB"), imageURLB);
}
void CompareFaceRequest::setImageType(int imageType)
{
imageType_ = imageType;
setBodyParameter("ImageType", std::to_string(imageType));
std::string CompareFaceRequest::getImageURLA() const {
return imageURLA_;
}
void CompareFaceRequest::setImageURLA(const std::string &imageURLA) {
imageURLA_ = imageURLA;
setBodyParameter(std::string("ImageURLA"), imageURLA);
}
std::string CompareFaceRequest::getOssFile() const {
return ossFile_;
}
void CompareFaceRequest::setOssFile(const std::string &ossFile) {
ossFile_ = ossFile;
setParameter(std::string("OssFile"), ossFile);
}
int CompareFaceRequest::getImageType() const {
return imageType_;
}
void CompareFaceRequest::setImageType(int imageType) {
imageType_ = imageType;
setBodyParameter(std::string("ImageType"), std::to_string(imageType));
}
std::string CompareFaceRequest::getRequestProxyBy() const {
return requestProxyBy_;
}
void CompareFaceRequest::setRequestProxyBy(const std::string &requestProxyBy) {
requestProxyBy_ = requestProxyBy;
setParameter(std::string("RequestProxyBy"), requestProxyBy);
}

View File

@@ -1,51 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/facebody/model/CountCrowdRequest.h>
using AlibabaCloud::Facebody::Model::CountCrowdRequest;
CountCrowdRequest::CountCrowdRequest() :
RpcServiceRequest("facebody", "2019-12-30", "CountCrowd")
{
setMethod(HttpRequest::Method::Post);
}
CountCrowdRequest::~CountCrowdRequest()
{}
bool CountCrowdRequest::getIsShow()const
{
return isShow_;
*/
#include <alibabacloud/facebody/model/CountCrowdRequest.h>
using AlibabaCloud::Facebody::Model::CountCrowdRequest;
CountCrowdRequest::CountCrowdRequest()
: RpcServiceRequest("facebody", "2019-12-30", "CountCrowd") {
setMethod(HttpRequest::Method::Post);
}
void CountCrowdRequest::setIsShow(bool isShow)
{
isShow_ = isShow;
setBodyParameter("IsShow", isShow ? "true" : "false");
CountCrowdRequest::~CountCrowdRequest() {}
bool CountCrowdRequest::getFormatResultToJson() const {
return formatResultToJson_;
}
std::string CountCrowdRequest::getImageURL()const
{
return imageURL_;
void CountCrowdRequest::setFormatResultToJson(bool formatResultToJson) {
formatResultToJson_ = formatResultToJson;
setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
}
void CountCrowdRequest::setImageURL(const std::string& imageURL)
{
imageURL_ = imageURL;
setBodyParameter("ImageURL", imageURL);
bool CountCrowdRequest::getIsShow() const {
return isShow_;
}
void CountCrowdRequest::setIsShow(bool isShow) {
isShow_ = isShow;
setBodyParameter(std::string("IsShow"), isShow ? "true" : "false");
}
std::string CountCrowdRequest::getOssFile() const {
return ossFile_;
}
void CountCrowdRequest::setOssFile(const std::string &ossFile) {
ossFile_ = ossFile;
setParameter(std::string("OssFile"), ossFile);
}
std::string CountCrowdRequest::getRequestProxyBy() const {
return requestProxyBy_;
}
void CountCrowdRequest::setRequestProxyBy(const std::string &requestProxyBy) {
requestProxyBy_ = requestProxyBy;
setParameter(std::string("RequestProxyBy"), requestProxyBy);
}
std::string CountCrowdRequest::getImageURL() const {
return imageURL_;
}
void CountCrowdRequest::setImageURL(const std::string &imageURL) {
imageURL_ = imageURL;
setBodyParameter(std::string("ImageURL"), imageURL);
}

View File

@@ -1,40 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/facebody/model/CreateBodyDbRequest.h>
using AlibabaCloud::Facebody::Model::CreateBodyDbRequest;
CreateBodyDbRequest::CreateBodyDbRequest() :
RpcServiceRequest("facebody", "2019-12-30", "CreateBodyDb")
{
setMethod(HttpRequest::Method::Post);
}
CreateBodyDbRequest::~CreateBodyDbRequest()
{}
std::string CreateBodyDbRequest::getName()const
{
return name_;
*/
#include <alibabacloud/facebody/model/CreateBodyDbRequest.h>
using AlibabaCloud::Facebody::Model::CreateBodyDbRequest;
CreateBodyDbRequest::CreateBodyDbRequest()
: RpcServiceRequest("facebody", "2019-12-30", "CreateBodyDb") {
setMethod(HttpRequest::Method::Post);
}
void CreateBodyDbRequest::setName(const std::string& name)
{
name_ = name;
setBodyParameter("Name", name);
CreateBodyDbRequest::~CreateBodyDbRequest() {}
bool CreateBodyDbRequest::getFormatResultToJson() const {
return formatResultToJson_;
}
void CreateBodyDbRequest::setFormatResultToJson(bool formatResultToJson) {
formatResultToJson_ = formatResultToJson;
setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
}
std::string CreateBodyDbRequest::getOssFile() const {
return ossFile_;
}
void CreateBodyDbRequest::setOssFile(const std::string &ossFile) {
ossFile_ = ossFile;
setParameter(std::string("OssFile"), ossFile);
}
std::string CreateBodyDbRequest::getRequestProxyBy() const {
return requestProxyBy_;
}
void CreateBodyDbRequest::setRequestProxyBy(const std::string &requestProxyBy) {
requestProxyBy_ = requestProxyBy;
setParameter(std::string("RequestProxyBy"), requestProxyBy);
}
std::string CreateBodyDbRequest::getName() const {
return name_;
}
void CreateBodyDbRequest::setName(const std::string &name) {
name_ = name;
setBodyParameter(std::string("Name"), name);
}

View File

@@ -42,10 +42,10 @@ void CreateBodyDbResult::parse(const std::string &payload)
auto dataNode = value["Data"];
if(!dataNode["Id"].isNull())
data_.id = std::stol(dataNode["Id"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}

View File

@@ -1,51 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/facebody/model/CreateBodyPersonRequest.h>
using AlibabaCloud::Facebody::Model::CreateBodyPersonRequest;
CreateBodyPersonRequest::CreateBodyPersonRequest() :
RpcServiceRequest("facebody", "2019-12-30", "CreateBodyPerson")
{
setMethod(HttpRequest::Method::Post);
}
CreateBodyPersonRequest::~CreateBodyPersonRequest()
{}
long CreateBodyPersonRequest::getDbId()const
{
return dbId_;
*/
#include <alibabacloud/facebody/model/CreateBodyPersonRequest.h>
using AlibabaCloud::Facebody::Model::CreateBodyPersonRequest;
CreateBodyPersonRequest::CreateBodyPersonRequest()
: RpcServiceRequest("facebody", "2019-12-30", "CreateBodyPerson") {
setMethod(HttpRequest::Method::Post);
}
void CreateBodyPersonRequest::setDbId(long dbId)
{
dbId_ = dbId;
setBodyParameter("DbId", std::to_string(dbId));
CreateBodyPersonRequest::~CreateBodyPersonRequest() {}
bool CreateBodyPersonRequest::getFormatResultToJson() const {
return formatResultToJson_;
}
std::string CreateBodyPersonRequest::getName()const
{
return name_;
void CreateBodyPersonRequest::setFormatResultToJson(bool formatResultToJson) {
formatResultToJson_ = formatResultToJson;
setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
}
void CreateBodyPersonRequest::setName(const std::string& name)
{
name_ = name;
setBodyParameter("Name", name);
std::string CreateBodyPersonRequest::getOssFile() const {
return ossFile_;
}
void CreateBodyPersonRequest::setOssFile(const std::string &ossFile) {
ossFile_ = ossFile;
setParameter(std::string("OssFile"), ossFile);
}
std::string CreateBodyPersonRequest::getRequestProxyBy() const {
return requestProxyBy_;
}
void CreateBodyPersonRequest::setRequestProxyBy(const std::string &requestProxyBy) {
requestProxyBy_ = requestProxyBy;
setParameter(std::string("RequestProxyBy"), requestProxyBy);
}
long CreateBodyPersonRequest::getDbId() const {
return dbId_;
}
void CreateBodyPersonRequest::setDbId(long dbId) {
dbId_ = dbId;
setBodyParameter(std::string("DbId"), std::to_string(dbId));
}
std::string CreateBodyPersonRequest::getName() const {
return name_;
}
void CreateBodyPersonRequest::setName(const std::string &name) {
name_ = name;
setBodyParameter(std::string("Name"), name);
}

View File

@@ -42,10 +42,10 @@ void CreateBodyPersonResult::parse(const std::string &payload)
auto dataNode = value["Data"];
if(!dataNode["Id"].isNull())
data_.id = std::stol(dataNode["Id"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}

View File

@@ -1,40 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/facebody/model/CreateFaceDbRequest.h>
using AlibabaCloud::Facebody::Model::CreateFaceDbRequest;
CreateFaceDbRequest::CreateFaceDbRequest() :
RpcServiceRequest("facebody", "2019-12-30", "CreateFaceDb")
{
setMethod(HttpRequest::Method::Post);
}
CreateFaceDbRequest::~CreateFaceDbRequest()
{}
std::string CreateFaceDbRequest::getName()const
{
return name_;
*/
#include <alibabacloud/facebody/model/CreateFaceDbRequest.h>
using AlibabaCloud::Facebody::Model::CreateFaceDbRequest;
CreateFaceDbRequest::CreateFaceDbRequest()
: RpcServiceRequest("facebody", "2019-12-30", "CreateFaceDb") {
setMethod(HttpRequest::Method::Post);
}
void CreateFaceDbRequest::setName(const std::string& name)
{
name_ = name;
setBodyParameter("Name", name);
CreateFaceDbRequest::~CreateFaceDbRequest() {}
bool CreateFaceDbRequest::getFormatResultToJson() const {
return formatResultToJson_;
}
void CreateFaceDbRequest::setFormatResultToJson(bool formatResultToJson) {
formatResultToJson_ = formatResultToJson;
setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
}
std::string CreateFaceDbRequest::getOssFile() const {
return ossFile_;
}
void CreateFaceDbRequest::setOssFile(const std::string &ossFile) {
ossFile_ = ossFile;
setParameter(std::string("OssFile"), ossFile);
}
std::string CreateFaceDbRequest::getRequestProxyBy() const {
return requestProxyBy_;
}
void CreateFaceDbRequest::setRequestProxyBy(const std::string &requestProxyBy) {
requestProxyBy_ = requestProxyBy;
setParameter(std::string("RequestProxyBy"), requestProxyBy);
}
std::string CreateFaceDbRequest::getName() const {
return name_;
}
void CreateFaceDbRequest::setName(const std::string &name) {
name_ = name;
setBodyParameter(std::string("Name"), name);
}

View File

@@ -1,40 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/facebody/model/DeleteBodyDbRequest.h>
using AlibabaCloud::Facebody::Model::DeleteBodyDbRequest;
DeleteBodyDbRequest::DeleteBodyDbRequest() :
RpcServiceRequest("facebody", "2019-12-30", "DeleteBodyDb")
{
setMethod(HttpRequest::Method::Post);
}
DeleteBodyDbRequest::~DeleteBodyDbRequest()
{}
long DeleteBodyDbRequest::getId()const
{
return id_;
*/
#include <alibabacloud/facebody/model/DeleteBodyDbRequest.h>
using AlibabaCloud::Facebody::Model::DeleteBodyDbRequest;
DeleteBodyDbRequest::DeleteBodyDbRequest()
: RpcServiceRequest("facebody", "2019-12-30", "DeleteBodyDb") {
setMethod(HttpRequest::Method::Post);
}
void DeleteBodyDbRequest::setId(long id)
{
id_ = id;
setBodyParameter("Id", std::to_string(id));
DeleteBodyDbRequest::~DeleteBodyDbRequest() {}
bool DeleteBodyDbRequest::getFormatResultToJson() const {
return formatResultToJson_;
}
void DeleteBodyDbRequest::setFormatResultToJson(bool formatResultToJson) {
formatResultToJson_ = formatResultToJson;
setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
}
long DeleteBodyDbRequest::getId() const {
return id_;
}
void DeleteBodyDbRequest::setId(long id) {
id_ = id;
setBodyParameter(std::string("Id"), std::to_string(id));
}
std::string DeleteBodyDbRequest::getOssFile() const {
return ossFile_;
}
void DeleteBodyDbRequest::setOssFile(const std::string &ossFile) {
ossFile_ = ossFile;
setParameter(std::string("OssFile"), ossFile);
}
std::string DeleteBodyDbRequest::getRequestProxyBy() const {
return requestProxyBy_;
}
void DeleteBodyDbRequest::setRequestProxyBy(const std::string &requestProxyBy) {
requestProxyBy_ = requestProxyBy;
setParameter(std::string("RequestProxyBy"), requestProxyBy);
}

View File

@@ -39,10 +39,10 @@ void DeleteBodyDbResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}

View File

@@ -1,51 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/facebody/model/DeleteBodyPersonRequest.h>
using AlibabaCloud::Facebody::Model::DeleteBodyPersonRequest;
DeleteBodyPersonRequest::DeleteBodyPersonRequest() :
RpcServiceRequest("facebody", "2019-12-30", "DeleteBodyPerson")
{
setMethod(HttpRequest::Method::Post);
}
DeleteBodyPersonRequest::~DeleteBodyPersonRequest()
{}
long DeleteBodyPersonRequest::getPersonId()const
{
return personId_;
*/
#include <alibabacloud/facebody/model/DeleteBodyPersonRequest.h>
using AlibabaCloud::Facebody::Model::DeleteBodyPersonRequest;
DeleteBodyPersonRequest::DeleteBodyPersonRequest()
: RpcServiceRequest("facebody", "2019-12-30", "DeleteBodyPerson") {
setMethod(HttpRequest::Method::Post);
}
void DeleteBodyPersonRequest::setPersonId(long personId)
{
personId_ = personId;
setBodyParameter("PersonId", std::to_string(personId));
DeleteBodyPersonRequest::~DeleteBodyPersonRequest() {}
bool DeleteBodyPersonRequest::getFormatResultToJson() const {
return formatResultToJson_;
}
long DeleteBodyPersonRequest::getDbId()const
{
return dbId_;
void DeleteBodyPersonRequest::setFormatResultToJson(bool formatResultToJson) {
formatResultToJson_ = formatResultToJson;
setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
}
void DeleteBodyPersonRequest::setDbId(long dbId)
{
dbId_ = dbId;
setBodyParameter("DbId", std::to_string(dbId));
long DeleteBodyPersonRequest::getPersonId() const {
return personId_;
}
void DeleteBodyPersonRequest::setPersonId(long personId) {
personId_ = personId;
setBodyParameter(std::string("PersonId"), std::to_string(personId));
}
std::string DeleteBodyPersonRequest::getOssFile() const {
return ossFile_;
}
void DeleteBodyPersonRequest::setOssFile(const std::string &ossFile) {
ossFile_ = ossFile;
setParameter(std::string("OssFile"), ossFile);
}
std::string DeleteBodyPersonRequest::getRequestProxyBy() const {
return requestProxyBy_;
}
void DeleteBodyPersonRequest::setRequestProxyBy(const std::string &requestProxyBy) {
requestProxyBy_ = requestProxyBy;
setParameter(std::string("RequestProxyBy"), requestProxyBy);
}
long DeleteBodyPersonRequest::getDbId() const {
return dbId_;
}
void DeleteBodyPersonRequest::setDbId(long dbId) {
dbId_ = dbId;
setBodyParameter(std::string("DbId"), std::to_string(dbId));
}

View File

@@ -39,10 +39,10 @@ void DeleteBodyPersonResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}

View File

@@ -1,40 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/facebody/model/DeleteFaceDbRequest.h>
using AlibabaCloud::Facebody::Model::DeleteFaceDbRequest;
DeleteFaceDbRequest::DeleteFaceDbRequest() :
RpcServiceRequest("facebody", "2019-12-30", "DeleteFaceDb")
{
setMethod(HttpRequest::Method::Post);
}
DeleteFaceDbRequest::~DeleteFaceDbRequest()
{}
std::string DeleteFaceDbRequest::getName()const
{
return name_;
*/
#include <alibabacloud/facebody/model/DeleteFaceDbRequest.h>
using AlibabaCloud::Facebody::Model::DeleteFaceDbRequest;
DeleteFaceDbRequest::DeleteFaceDbRequest()
: RpcServiceRequest("facebody", "2019-12-30", "DeleteFaceDb") {
setMethod(HttpRequest::Method::Post);
}
void DeleteFaceDbRequest::setName(const std::string& name)
{
name_ = name;
setBodyParameter("Name", name);
DeleteFaceDbRequest::~DeleteFaceDbRequest() {}
bool DeleteFaceDbRequest::getFormatResultToJson() const {
return formatResultToJson_;
}
void DeleteFaceDbRequest::setFormatResultToJson(bool formatResultToJson) {
formatResultToJson_ = formatResultToJson;
setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
}
std::string DeleteFaceDbRequest::getOssFile() const {
return ossFile_;
}
void DeleteFaceDbRequest::setOssFile(const std::string &ossFile) {
ossFile_ = ossFile;
setParameter(std::string("OssFile"), ossFile);
}
std::string DeleteFaceDbRequest::getRequestProxyBy() const {
return requestProxyBy_;
}
void DeleteFaceDbRequest::setRequestProxyBy(const std::string &requestProxyBy) {
requestProxyBy_ = requestProxyBy;
setParameter(std::string("RequestProxyBy"), requestProxyBy);
}
std::string DeleteFaceDbRequest::getName() const {
return name_;
}
void DeleteFaceDbRequest::setName(const std::string &name) {
name_ = name;
setBodyParameter(std::string("Name"), name);
}

View File

@@ -1,51 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/facebody/model/DeleteFaceEntityRequest.h>
using AlibabaCloud::Facebody::Model::DeleteFaceEntityRequest;
DeleteFaceEntityRequest::DeleteFaceEntityRequest() :
RpcServiceRequest("facebody", "2019-12-30", "DeleteFaceEntity")
{
setMethod(HttpRequest::Method::Post);
}
DeleteFaceEntityRequest::~DeleteFaceEntityRequest()
{}
std::string DeleteFaceEntityRequest::getEntityId()const
{
return entityId_;
*/
#include <alibabacloud/facebody/model/DeleteFaceEntityRequest.h>
using AlibabaCloud::Facebody::Model::DeleteFaceEntityRequest;
DeleteFaceEntityRequest::DeleteFaceEntityRequest()
: RpcServiceRequest("facebody", "2019-12-30", "DeleteFaceEntity") {
setMethod(HttpRequest::Method::Post);
}
void DeleteFaceEntityRequest::setEntityId(const std::string& entityId)
{
entityId_ = entityId;
setBodyParameter("EntityId", entityId);
DeleteFaceEntityRequest::~DeleteFaceEntityRequest() {}
std::string DeleteFaceEntityRequest::getEntityId() const {
return entityId_;
}
std::string DeleteFaceEntityRequest::getDbName()const
{
return dbName_;
void DeleteFaceEntityRequest::setEntityId(const std::string &entityId) {
entityId_ = entityId;
setBodyParameter(std::string("EntityId"), entityId);
}
void DeleteFaceEntityRequest::setDbName(const std::string& dbName)
{
dbName_ = dbName;
setBodyParameter("DbName", dbName);
bool DeleteFaceEntityRequest::getFormatResultToJson() const {
return formatResultToJson_;
}
void DeleteFaceEntityRequest::setFormatResultToJson(bool formatResultToJson) {
formatResultToJson_ = formatResultToJson;
setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
}
std::string DeleteFaceEntityRequest::getOssFile() const {
return ossFile_;
}
void DeleteFaceEntityRequest::setOssFile(const std::string &ossFile) {
ossFile_ = ossFile;
setParameter(std::string("OssFile"), ossFile);
}
std::string DeleteFaceEntityRequest::getRequestProxyBy() const {
return requestProxyBy_;
}
void DeleteFaceEntityRequest::setRequestProxyBy(const std::string &requestProxyBy) {
requestProxyBy_ = requestProxyBy;
setParameter(std::string("RequestProxyBy"), requestProxyBy);
}
std::string DeleteFaceEntityRequest::getDbName() const {
return dbName_;
}
void DeleteFaceEntityRequest::setDbName(const std::string &dbName) {
dbName_ = dbName;
setBodyParameter(std::string("DbName"), dbName);
}

View File

@@ -1,84 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/facebody/model/DeleteFaceImageTemplateRequest.h>
using AlibabaCloud::Facebody::Model::DeleteFaceImageTemplateRequest;
DeleteFaceImageTemplateRequest::DeleteFaceImageTemplateRequest() :
RpcServiceRequest("facebody", "2019-12-30", "DeleteFaceImageTemplate")
{
setMethod(HttpRequest::Method::Post);
}
DeleteFaceImageTemplateRequest::~DeleteFaceImageTemplateRequest()
{}
bool DeleteFaceImageTemplateRequest::getFormatResultToJson()const
{
return formatResultToJson_;
*/
#include <alibabacloud/facebody/model/DeleteFaceImageTemplateRequest.h>
using AlibabaCloud::Facebody::Model::DeleteFaceImageTemplateRequest;
DeleteFaceImageTemplateRequest::DeleteFaceImageTemplateRequest()
: RpcServiceRequest("facebody", "2019-12-30", "DeleteFaceImageTemplate") {
setMethod(HttpRequest::Method::Post);
}
void DeleteFaceImageTemplateRequest::setFormatResultToJson(bool formatResultToJson)
{
formatResultToJson_ = formatResultToJson;
setParameter("FormatResultToJson", formatResultToJson ? "true" : "false");
DeleteFaceImageTemplateRequest::~DeleteFaceImageTemplateRequest() {}
bool DeleteFaceImageTemplateRequest::getFormatResultToJson() const {
return formatResultToJson_;
}
std::string DeleteFaceImageTemplateRequest::getUserId()const
{
return userId_;
void DeleteFaceImageTemplateRequest::setFormatResultToJson(bool formatResultToJson) {
formatResultToJson_ = formatResultToJson;
setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
}
void DeleteFaceImageTemplateRequest::setUserId(const std::string& userId)
{
userId_ = userId;
setBodyParameter("UserId", userId);
std::string DeleteFaceImageTemplateRequest::getUserId() const {
return userId_;
}
std::string DeleteFaceImageTemplateRequest::getOssFile()const
{
return ossFile_;
void DeleteFaceImageTemplateRequest::setUserId(const std::string &userId) {
userId_ = userId;
setBodyParameter(std::string("UserId"), userId);
}
void DeleteFaceImageTemplateRequest::setOssFile(const std::string& ossFile)
{
ossFile_ = ossFile;
setParameter("OssFile", ossFile);
std::string DeleteFaceImageTemplateRequest::getOssFile() const {
return ossFile_;
}
std::string DeleteFaceImageTemplateRequest::getTemplateId()const
{
return templateId_;
void DeleteFaceImageTemplateRequest::setOssFile(const std::string &ossFile) {
ossFile_ = ossFile;
setParameter(std::string("OssFile"), ossFile);
}
void DeleteFaceImageTemplateRequest::setTemplateId(const std::string& templateId)
{
templateId_ = templateId;
setBodyParameter("TemplateId", templateId);
std::string DeleteFaceImageTemplateRequest::getTemplateId() const {
return templateId_;
}
std::string DeleteFaceImageTemplateRequest::getRequestProxyBy()const
{
return requestProxyBy_;
void DeleteFaceImageTemplateRequest::setTemplateId(const std::string &templateId) {
templateId_ = templateId;
setBodyParameter(std::string("TemplateId"), templateId);
}
void DeleteFaceImageTemplateRequest::setRequestProxyBy(const std::string& requestProxyBy)
{
requestProxyBy_ = requestProxyBy;
setParameter("RequestProxyBy", requestProxyBy);
std::string DeleteFaceImageTemplateRequest::getRequestProxyBy() const {
return requestProxyBy_;
}
void DeleteFaceImageTemplateRequest::setRequestProxyBy(const std::string &requestProxyBy) {
requestProxyBy_ = requestProxyBy;
setParameter(std::string("RequestProxyBy"), requestProxyBy);
}

View File

@@ -1,51 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/facebody/model/DeleteFaceRequest.h>
using AlibabaCloud::Facebody::Model::DeleteFaceRequest;
DeleteFaceRequest::DeleteFaceRequest() :
RpcServiceRequest("facebody", "2019-12-30", "DeleteFace")
{
setMethod(HttpRequest::Method::Post);
}
DeleteFaceRequest::~DeleteFaceRequest()
{}
std::string DeleteFaceRequest::getFaceId()const
{
return faceId_;
*/
#include <alibabacloud/facebody/model/DeleteFaceRequest.h>
using AlibabaCloud::Facebody::Model::DeleteFaceRequest;
DeleteFaceRequest::DeleteFaceRequest()
: RpcServiceRequest("facebody", "2019-12-30", "DeleteFace") {
setMethod(HttpRequest::Method::Post);
}
void DeleteFaceRequest::setFaceId(const std::string& faceId)
{
faceId_ = faceId;
setBodyParameter("FaceId", faceId);
DeleteFaceRequest::~DeleteFaceRequest() {}
bool DeleteFaceRequest::getFormatResultToJson() const {
return formatResultToJson_;
}
std::string DeleteFaceRequest::getDbName()const
{
return dbName_;
void DeleteFaceRequest::setFormatResultToJson(bool formatResultToJson) {
formatResultToJson_ = formatResultToJson;
setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
}
void DeleteFaceRequest::setDbName(const std::string& dbName)
{
dbName_ = dbName;
setBodyParameter("DbName", dbName);
std::string DeleteFaceRequest::getOssFile() const {
return ossFile_;
}
void DeleteFaceRequest::setOssFile(const std::string &ossFile) {
ossFile_ = ossFile;
setParameter(std::string("OssFile"), ossFile);
}
std::string DeleteFaceRequest::getFaceId() const {
return faceId_;
}
void DeleteFaceRequest::setFaceId(const std::string &faceId) {
faceId_ = faceId;
setBodyParameter(std::string("FaceId"), faceId);
}
std::string DeleteFaceRequest::getRequestProxyBy() const {
return requestProxyBy_;
}
void DeleteFaceRequest::setRequestProxyBy(const std::string &requestProxyBy) {
requestProxyBy_ = requestProxyBy;
setParameter(std::string("RequestProxyBy"), requestProxyBy);
}
std::string DeleteFaceRequest::getDbName() const {
return dbName_;
}
void DeleteFaceRequest::setDbName(const std::string &dbName) {
dbName_ = dbName;
setBodyParameter(std::string("DbName"), dbName);
}

View File

@@ -1,40 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/facebody/model/DetectBodyCountRequest.h>
using AlibabaCloud::Facebody::Model::DetectBodyCountRequest;
DetectBodyCountRequest::DetectBodyCountRequest() :
RpcServiceRequest("facebody", "2019-12-30", "DetectBodyCount")
{
setMethod(HttpRequest::Method::Post);
}
DetectBodyCountRequest::~DetectBodyCountRequest()
{}
std::string DetectBodyCountRequest::getImageURL()const
{
return imageURL_;
*/
#include <alibabacloud/facebody/model/DetectBodyCountRequest.h>
using AlibabaCloud::Facebody::Model::DetectBodyCountRequest;
DetectBodyCountRequest::DetectBodyCountRequest()
: RpcServiceRequest("facebody", "2019-12-30", "DetectBodyCount") {
setMethod(HttpRequest::Method::Post);
}
void DetectBodyCountRequest::setImageURL(const std::string& imageURL)
{
imageURL_ = imageURL;
setBodyParameter("ImageURL", imageURL);
DetectBodyCountRequest::~DetectBodyCountRequest() {}
bool DetectBodyCountRequest::getFormatResultToJson() const {
return formatResultToJson_;
}
void DetectBodyCountRequest::setFormatResultToJson(bool formatResultToJson) {
formatResultToJson_ = formatResultToJson;
setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
}
std::string DetectBodyCountRequest::getOssFile() const {
return ossFile_;
}
void DetectBodyCountRequest::setOssFile(const std::string &ossFile) {
ossFile_ = ossFile;
setParameter(std::string("OssFile"), ossFile);
}
std::string DetectBodyCountRequest::getRequestProxyBy() const {
return requestProxyBy_;
}
void DetectBodyCountRequest::setRequestProxyBy(const std::string &requestProxyBy) {
requestProxyBy_ = requestProxyBy;
setParameter(std::string("RequestProxyBy"), requestProxyBy);
}
std::string DetectBodyCountRequest::getImageURL() const {
return imageURL_;
}
void DetectBodyCountRequest::setImageURL(const std::string &imageURL) {
imageURL_ = imageURL;
setBodyParameter(std::string("ImageURL"), imageURL);
}

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