Files
aliyun-openapi-cpp-sdk/ivision/include/alibabacloud/ivision/model/DescribeSystemPredictModelsResult.h
2019-09-18 11:18:56 +08:00

66 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_IVISION_MODEL_DESCRIBESYSTEMPREDICTMODELSRESULT_H_
#define ALIBABACLOUD_IVISION_MODEL_DESCRIBESYSTEMPREDICTMODELSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ivision/IvisionExport.h>
namespace AlibabaCloud
{
namespace Ivision
{
namespace Model
{
class ALIBABACLOUD_IVISION_EXPORT DescribeSystemPredictModelsResult : public ServiceResult
{
public:
struct Model
{
std::string type;
std::string description;
std::string creationTime;
std::string scene;
std::string modelId;
std::string name;
};
DescribeSystemPredictModelsResult();
explicit DescribeSystemPredictModelsResult(const std::string &payload);
~DescribeSystemPredictModelsResult();
long getTotalNum()const;
long getPageSize()const;
long getCurrentPage()const;
std::vector<Model> getModels()const;
protected:
void parse(const std::string &payload);
private:
long totalNum_;
long pageSize_;
long currentPage_;
std::vector<Model> models_;
};
}
}
}
#endif // !ALIBABACLOUD_IVISION_MODEL_DESCRIBESYSTEMPREDICTMODELSRESULT_H_