Files
aliyun-openapi-cpp-sdk/schedulerx3/include/alibabacloud/schedulerx3/model/ListJobsResult.h

97 lines
2.4 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_SCHEDULERX3_MODEL_LISTJOBSRESULT_H_
#define ALIBABACLOUD_SCHEDULERX3_MODEL_LISTJOBSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/schedulerx3/SchedulerX3Export.h>
namespace AlibabaCloud
{
namespace SchedulerX3
{
namespace Model
{
class ALIBABACLOUD_SCHEDULERX3_EXPORT ListJobsResult : public ServiceResult
{
public:
struct Data
{
struct Record
{
std::string timezone;
std::string description;
std::string executorBlockStrategy;
std::string lastExecuteEndTime;
int routeStrategy;
std::string timeExpression;
std::string creator;
std::string name;
int timeType;
std::string appName;
std::string updater;
int currentExecuteStatus;
int attemptInterval;
std::string cleanMode;
long jobId;
int status;
int lastExecuteStatus;
int maxAttempt;
std::string parameters;
int priority;
std::string calendar;
int maxConcurrency;
long startTime;
std::string noticeConfig;
int dataOffset;
std::string jobHandler;
std::string timeZone;
std::string jobType;
std::string noticeContacts;
std::string xattrs;
};
int pageSize;
int pageNumber;
int total;
std::vector<Record> records;
};
ListJobsResult();
explicit ListJobsResult(const std::string &payload);
~ListJobsResult();
std::string getMessage()const;
Data getData()const;
int getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
int code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_SCHEDULERX3_MODEL_LISTJOBSRESULT_H_