| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- /*
- * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- #include <alibabacloud/cloudphoto/model/ListFacesRequest.h>
- using AlibabaCloud::CloudPhoto::Model::ListFacesRequest;
- ListFacesRequest::ListFacesRequest() :
- RpcServiceRequest("cloudphoto", "2017-07-11", "ListFaces")
- {}
- ListFacesRequest::~ListFacesRequest()
- {}
- std::string ListFacesRequest::getCursor()const
- {
- return cursor_;
- }
- void ListFacesRequest::setCursor(const std::string& cursor)
- {
- cursor_ = cursor;
- setCoreParameter("Cursor", cursor);
- }
- std::string ListFacesRequest::getHasFaceName()const
- {
- return hasFaceName_;
- }
- void ListFacesRequest::setHasFaceName(const std::string& hasFaceName)
- {
- hasFaceName_ = hasFaceName;
- setCoreParameter("HasFaceName", hasFaceName);
- }
- int ListFacesRequest::getSize()const
- {
- return size_;
- }
- void ListFacesRequest::setSize(int size)
- {
- size_ = size;
- setCoreParameter("Size", std::to_string(size));
- }
- std::string ListFacesRequest::getLibraryId()const
- {
- return libraryId_;
- }
- void ListFacesRequest::setLibraryId(const std::string& libraryId)
- {
- libraryId_ = libraryId;
- setCoreParameter("LibraryId", libraryId);
- }
- std::string ListFacesRequest::getStoreName()const
- {
- return storeName_;
- }
- void ListFacesRequest::setStoreName(const std::string& storeName)
- {
- storeName_ = storeName;
- setCoreParameter("StoreName", storeName);
- }
- std::string ListFacesRequest::getState()const
- {
- return state_;
- }
- void ListFacesRequest::setState(const std::string& state)
- {
- state_ = state;
- setCoreParameter("State", state);
- }
- std::string ListFacesRequest::getDirection()const
- {
- return direction_;
- }
- void ListFacesRequest::setDirection(const std::string& direction)
- {
- direction_ = direction;
- setCoreParameter("Direction", direction);
- }
|