Files
aliyun-openapi-cpp-sdk/lubancloud/include/alibabacloud/lubancloud/model/QueryGenerateTaskResultResult.h
2018-11-02 13:33:46 +08:00

70 lines
1.8 KiB
C++

/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_LUBANCLOUD_MODEL_QUERYGENERATETASKRESULTRESULT_H_
#define ALIBABACLOUD_LUBANCLOUD_MODEL_QUERYGENERATETASKRESULTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/lubancloud/LubancloudExport.h>
namespace AlibabaCloud
{
namespace Lubancloud
{
namespace Model
{
class ALIBABACLOUD_LUBANCLOUD_EXPORT QueryGenerateTaskResultResult : public ServiceResult
{
public:
struct Picture
{
int status;
std::string previewUrl;
int height;
long id;
int width;
std::string name;
};
QueryGenerateTaskResultResult();
explicit QueryGenerateTaskResultResult(const std::string &payload);
~QueryGenerateTaskResultResult();
std::vector<Picture> getPictures()const;
int getStatus()const;
int getSuccessSize()const;
int getFailSize()const;
int getTotalSize()const;
int getWaitSize()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Picture> pictures_;
int status_;
int successSize_;
int failSize_;
int totalSize_;
int waitSize_;
};
}
}
}
#endif // !ALIBABACLOUD_LUBANCLOUD_MODEL_QUERYGENERATETASKRESULTRESULT_H_