Release CustomizeClassifyImage.

This commit is contained in:
sdk-team
2022-11-11 06:21:51 +00:00
parent 675df848ba
commit 4d88688ea6
16 changed files with 830 additions and 1 deletions

View File

@@ -58,6 +58,8 @@
#include "model/DeleteWorkspaceResult.h"
#include "model/DisableDataReflowRequest.h"
#include "model/DisableDataReflowResult.h"
#include "model/DownloadDatasetRequest.h"
#include "model/DownloadDatasetResult.h"
#include "model/DownloadFileNameListRequest.h"
#include "model/DownloadFileNameListResult.h"
#include "model/DownloadLabelFileRequest.h"
@@ -76,6 +78,10 @@
#include "model/GetLabelsetResult.h"
#include "model/GetServiceRequest.h"
#include "model/GetServiceResult.h"
#include "model/GetServiceInvokeRequest.h"
#include "model/GetServiceInvokeResult.h"
#include "model/GetServiceQpsRequest.h"
#include "model/GetServiceQpsResult.h"
#include "model/GetTrainModelRequest.h"
#include "model/GetTrainModelResult.h"
#include "model/GetTrainTaskRequest.h"
@@ -185,6 +191,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DisableDataReflowResult> DisableDataReflowOutcome;
typedef std::future<DisableDataReflowOutcome> DisableDataReflowOutcomeCallable;
typedef std::function<void(const Viapi_regenClient*, const Model::DisableDataReflowRequest&, const DisableDataReflowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableDataReflowAsyncHandler;
typedef Outcome<Error, Model::DownloadDatasetResult> DownloadDatasetOutcome;
typedef std::future<DownloadDatasetOutcome> DownloadDatasetOutcomeCallable;
typedef std::function<void(const Viapi_regenClient*, const Model::DownloadDatasetRequest&, const DownloadDatasetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DownloadDatasetAsyncHandler;
typedef Outcome<Error, Model::DownloadFileNameListResult> DownloadFileNameListOutcome;
typedef std::future<DownloadFileNameListOutcome> DownloadFileNameListOutcomeCallable;
typedef std::function<void(const Viapi_regenClient*, const Model::DownloadFileNameListRequest&, const DownloadFileNameListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DownloadFileNameListAsyncHandler;
@@ -212,6 +221,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetServiceResult> GetServiceOutcome;
typedef std::future<GetServiceOutcome> GetServiceOutcomeCallable;
typedef std::function<void(const Viapi_regenClient*, const Model::GetServiceRequest&, const GetServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServiceAsyncHandler;
typedef Outcome<Error, Model::GetServiceInvokeResult> GetServiceInvokeOutcome;
typedef std::future<GetServiceInvokeOutcome> GetServiceInvokeOutcomeCallable;
typedef std::function<void(const Viapi_regenClient*, const Model::GetServiceInvokeRequest&, const GetServiceInvokeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServiceInvokeAsyncHandler;
typedef Outcome<Error, Model::GetServiceQpsResult> GetServiceQpsOutcome;
typedef std::future<GetServiceQpsOutcome> GetServiceQpsOutcomeCallable;
typedef std::function<void(const Viapi_regenClient*, const Model::GetServiceQpsRequest&, const GetServiceQpsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServiceQpsAsyncHandler;
typedef Outcome<Error, Model::GetTrainModelResult> GetTrainModelOutcome;
typedef std::future<GetTrainModelOutcome> GetTrainModelOutcomeCallable;
typedef std::function<void(const Viapi_regenClient*, const Model::GetTrainModelRequest&, const GetTrainModelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTrainModelAsyncHandler;
@@ -340,6 +355,9 @@ namespace AlibabaCloud
DisableDataReflowOutcome disableDataReflow(const Model::DisableDataReflowRequest &request)const;
void disableDataReflowAsync(const Model::DisableDataReflowRequest& request, const DisableDataReflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DisableDataReflowOutcomeCallable disableDataReflowCallable(const Model::DisableDataReflowRequest& request) const;
DownloadDatasetOutcome downloadDataset(const Model::DownloadDatasetRequest &request)const;
void downloadDatasetAsync(const Model::DownloadDatasetRequest& request, const DownloadDatasetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DownloadDatasetOutcomeCallable downloadDatasetCallable(const Model::DownloadDatasetRequest& request) const;
DownloadFileNameListOutcome downloadFileNameList(const Model::DownloadFileNameListRequest &request)const;
void downloadFileNameListAsync(const Model::DownloadFileNameListRequest& request, const DownloadFileNameListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DownloadFileNameListOutcomeCallable downloadFileNameListCallable(const Model::DownloadFileNameListRequest& request) const;
@@ -367,6 +385,12 @@ namespace AlibabaCloud
GetServiceOutcome getService(const Model::GetServiceRequest &request)const;
void getServiceAsync(const Model::GetServiceRequest& request, const GetServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetServiceOutcomeCallable getServiceCallable(const Model::GetServiceRequest& request) const;
GetServiceInvokeOutcome getServiceInvoke(const Model::GetServiceInvokeRequest &request)const;
void getServiceInvokeAsync(const Model::GetServiceInvokeRequest& request, const GetServiceInvokeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetServiceInvokeOutcomeCallable getServiceInvokeCallable(const Model::GetServiceInvokeRequest& request) const;
GetServiceQpsOutcome getServiceQps(const Model::GetServiceQpsRequest &request)const;
void getServiceQpsAsync(const Model::GetServiceQpsRequest& request, const GetServiceQpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetServiceQpsOutcomeCallable getServiceQpsCallable(const Model::GetServiceQpsRequest& request) const;
GetTrainModelOutcome getTrainModel(const Model::GetTrainModelRequest &request)const;
void getTrainModelAsync(const Model::GetTrainModelRequest& request, const GetTrainModelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTrainModelOutcomeCallable getTrainModelCallable(const Model::GetTrainModelRequest& request) const;

View File

@@ -0,0 +1,42 @@
/*
* 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_VIAPI_REGEN_MODEL_DOWNLOADDATASETREQUEST_H_
#define ALIBABACLOUD_VIAPI_REGEN_MODEL_DOWNLOADDATASETREQUEST_H_
#include <alibabacloud/viapi-regen/Viapi_regenExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Viapi_regen {
namespace Model {
class ALIBABACLOUD_VIAPI_REGEN_EXPORT DownloadDatasetRequest : public RpcServiceRequest {
public:
DownloadDatasetRequest();
~DownloadDatasetRequest();
long getDatasetId() const;
void setDatasetId(long datasetId);
private:
long datasetId_;
};
} // namespace Model
} // namespace Viapi_regen
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VIAPI_REGEN_MODEL_DOWNLOADDATASETREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* 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_VIAPI_REGEN_MODEL_DOWNLOADDATASETRESULT_H_
#define ALIBABACLOUD_VIAPI_REGEN_MODEL_DOWNLOADDATASETRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/viapi-regen/Viapi_regenExport.h>
namespace AlibabaCloud
{
namespace Viapi_regen
{
namespace Model
{
class ALIBABACLOUD_VIAPI_REGEN_EXPORT DownloadDatasetResult : public ServiceResult
{
public:
struct Data
{
std::string ossHttpUrl;
};
DownloadDatasetResult();
explicit DownloadDatasetResult(const std::string &payload);
~DownloadDatasetResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_VIAPI_REGEN_MODEL_DOWNLOADDATASETRESULT_H_

View File

@@ -0,0 +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_VIAPI_REGEN_MODEL_GETSERVICEINVOKEREQUEST_H_
#define ALIBABACLOUD_VIAPI_REGEN_MODEL_GETSERVICEINVOKEREQUEST_H_
#include <alibabacloud/viapi-regen/Viapi_regenExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Viapi_regen {
namespace Model {
class ALIBABACLOUD_VIAPI_REGEN_EXPORT GetServiceInvokeRequest : public RpcServiceRequest {
public:
GetServiceInvokeRequest();
~GetServiceInvokeRequest();
long getStartTime() const;
void setStartTime(long startTime);
long getId() const;
void setId(long id);
long getEndTime() const;
void setEndTime(long endTime);
std::vector<std::string> getCallerParentIdList() const;
void setCallerParentIdList(const std::vector<std::string> &callerParentIdList);
private:
long startTime_;
long id_;
long endTime_;
std::vector<std::string> callerParentIdList_;
};
} // namespace Model
} // namespace Viapi_regen
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VIAPI_REGEN_MODEL_GETSERVICEINVOKEREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* 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_VIAPI_REGEN_MODEL_GETSERVICEINVOKERESULT_H_
#define ALIBABACLOUD_VIAPI_REGEN_MODEL_GETSERVICEINVOKERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/viapi-regen/Viapi_regenExport.h>
namespace AlibabaCloud
{
namespace Viapi_regen
{
namespace Model
{
class ALIBABACLOUD_VIAPI_REGEN_EXPORT GetServiceInvokeResult : public ServiceResult
{
public:
struct Data
{
std::string userInvoke;
};
GetServiceInvokeResult();
explicit GetServiceInvokeResult(const std::string &payload);
~GetServiceInvokeResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_VIAPI_REGEN_MODEL_GETSERVICEINVOKERESULT_H_

View File

@@ -0,0 +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_VIAPI_REGEN_MODEL_GETSERVICEQPSREQUEST_H_
#define ALIBABACLOUD_VIAPI_REGEN_MODEL_GETSERVICEQPSREQUEST_H_
#include <alibabacloud/viapi-regen/Viapi_regenExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Viapi_regen {
namespace Model {
class ALIBABACLOUD_VIAPI_REGEN_EXPORT GetServiceQpsRequest : public RpcServiceRequest {
public:
GetServiceQpsRequest();
~GetServiceQpsRequest();
long getStartTime() const;
void setStartTime(long startTime);
long getId() const;
void setId(long id);
long getEndTime() const;
void setEndTime(long endTime);
std::vector<std::string> getCallerParentIdList() const;
void setCallerParentIdList(const std::vector<std::string> &callerParentIdList);
private:
long startTime_;
long id_;
long endTime_;
std::vector<std::string> callerParentIdList_;
};
} // namespace Model
} // namespace Viapi_regen
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VIAPI_REGEN_MODEL_GETSERVICEQPSREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* 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_VIAPI_REGEN_MODEL_GETSERVICEQPSRESULT_H_
#define ALIBABACLOUD_VIAPI_REGEN_MODEL_GETSERVICEQPSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/viapi-regen/Viapi_regenExport.h>
namespace AlibabaCloud
{
namespace Viapi_regen
{
namespace Model
{
class ALIBABACLOUD_VIAPI_REGEN_EXPORT GetServiceQpsResult : public ServiceResult
{
public:
struct Data
{
std::string userQps;
};
GetServiceQpsResult();
explicit GetServiceQpsResult(const std::string &payload);
~GetServiceQpsResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_VIAPI_REGEN_MODEL_GETSERVICEQPSRESULT_H_