Release CustomizeClassifyImage.

This commit is contained in:
sdk-team
2022-11-25 03:11:26 +00:00
parent 990e340be2
commit 8de0b02bda
12 changed files with 500 additions and 1 deletions

View File

@@ -22,6 +22,8 @@
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "Viapi_regenExport.h"
#include "model/CheckDatasetOssBucketCORSRequest.h"
#include "model/CheckDatasetOssBucketCORSResult.h"
#include "model/CreateDatasetRequest.h"
#include "model/CreateDatasetResult.h"
#include "model/CreateLabelsetRequest.h"
@@ -90,6 +92,8 @@
#include "model/GetTrainTaskEstimatedTimeResult.h"
#include "model/GetUploadPolicyRequest.h"
#include "model/GetUploadPolicyResult.h"
#include "model/GetUserInfoRequest.h"
#include "model/GetUserInfoResult.h"
#include "model/GetWorkspaceRequest.h"
#include "model/GetWorkspaceResult.h"
#include "model/ListDataReflowDatasRequest.h"
@@ -137,6 +141,9 @@ namespace AlibabaCloud
class ALIBABACLOUD_VIAPI_REGEN_EXPORT Viapi_regenClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::CheckDatasetOssBucketCORSResult> CheckDatasetOssBucketCORSOutcome;
typedef std::future<CheckDatasetOssBucketCORSOutcome> CheckDatasetOssBucketCORSOutcomeCallable;
typedef std::function<void(const Viapi_regenClient*, const Model::CheckDatasetOssBucketCORSRequest&, const CheckDatasetOssBucketCORSOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckDatasetOssBucketCORSAsyncHandler;
typedef Outcome<Error, Model::CreateDatasetResult> CreateDatasetOutcome;
typedef std::future<CreateDatasetOutcome> CreateDatasetOutcomeCallable;
typedef std::function<void(const Viapi_regenClient*, const Model::CreateDatasetRequest&, const CreateDatasetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDatasetAsyncHandler;
@@ -239,6 +246,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetUploadPolicyResult> GetUploadPolicyOutcome;
typedef std::future<GetUploadPolicyOutcome> GetUploadPolicyOutcomeCallable;
typedef std::function<void(const Viapi_regenClient*, const Model::GetUploadPolicyRequest&, const GetUploadPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUploadPolicyAsyncHandler;
typedef Outcome<Error, Model::GetUserInfoResult> GetUserInfoOutcome;
typedef std::future<GetUserInfoOutcome> GetUserInfoOutcomeCallable;
typedef std::function<void(const Viapi_regenClient*, const Model::GetUserInfoRequest&, const GetUserInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserInfoAsyncHandler;
typedef Outcome<Error, Model::GetWorkspaceResult> GetWorkspaceOutcome;
typedef std::future<GetWorkspaceOutcome> GetWorkspaceOutcomeCallable;
typedef std::function<void(const Viapi_regenClient*, const Model::GetWorkspaceRequest&, const GetWorkspaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetWorkspaceAsyncHandler;
@@ -301,6 +311,9 @@ namespace AlibabaCloud
Viapi_regenClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
Viapi_regenClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~Viapi_regenClient();
CheckDatasetOssBucketCORSOutcome checkDatasetOssBucketCORS(const Model::CheckDatasetOssBucketCORSRequest &request)const;
void checkDatasetOssBucketCORSAsync(const Model::CheckDatasetOssBucketCORSRequest& request, const CheckDatasetOssBucketCORSAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CheckDatasetOssBucketCORSOutcomeCallable checkDatasetOssBucketCORSCallable(const Model::CheckDatasetOssBucketCORSRequest& request) const;
CreateDatasetOutcome createDataset(const Model::CreateDatasetRequest &request)const;
void createDatasetAsync(const Model::CreateDatasetRequest& request, const CreateDatasetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDatasetOutcomeCallable createDatasetCallable(const Model::CreateDatasetRequest& request) const;
@@ -403,6 +416,9 @@ namespace AlibabaCloud
GetUploadPolicyOutcome getUploadPolicy(const Model::GetUploadPolicyRequest &request)const;
void getUploadPolicyAsync(const Model::GetUploadPolicyRequest& request, const GetUploadPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetUploadPolicyOutcomeCallable getUploadPolicyCallable(const Model::GetUploadPolicyRequest& request) const;
GetUserInfoOutcome getUserInfo(const Model::GetUserInfoRequest &request)const;
void getUserInfoAsync(const Model::GetUserInfoRequest& request, const GetUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetUserInfoOutcomeCallable getUserInfoCallable(const Model::GetUserInfoRequest& request) const;
GetWorkspaceOutcome getWorkspace(const Model::GetWorkspaceRequest &request)const;
void getWorkspaceAsync(const Model::GetWorkspaceRequest& request, const GetWorkspaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetWorkspaceOutcomeCallable getWorkspaceCallable(const Model::GetWorkspaceRequest& 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_CHECKDATASETOSSBUCKETCORSREQUEST_H_
#define ALIBABACLOUD_VIAPI_REGEN_MODEL_CHECKDATASETOSSBUCKETCORSREQUEST_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 CheckDatasetOssBucketCORSRequest : public RpcServiceRequest {
public:
CheckDatasetOssBucketCORSRequest();
~CheckDatasetOssBucketCORSRequest();
long getLabelsetId() const;
void setLabelsetId(long labelsetId);
private:
long labelsetId_;
};
} // namespace Model
} // namespace Viapi_regen
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VIAPI_REGEN_MODEL_CHECKDATASETOSSBUCKETCORSREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* 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_CHECKDATASETOSSBUCKETCORSRESULT_H_
#define ALIBABACLOUD_VIAPI_REGEN_MODEL_CHECKDATASETOSSBUCKETCORSRESULT_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 CheckDatasetOssBucketCORSResult : public ServiceResult
{
public:
struct Data
{
std::string bucket;
std::string ossBucketCORSConfigUrl;
bool setOssBucketCORSFlag;
};
CheckDatasetOssBucketCORSResult();
explicit CheckDatasetOssBucketCORSResult(const std::string &payload);
~CheckDatasetOssBucketCORSResult();
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_CHECKDATASETOSSBUCKETCORSRESULT_H_

View File

@@ -0,0 +1,39 @@
/*
* 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_GETUSERINFOREQUEST_H_
#define ALIBABACLOUD_VIAPI_REGEN_MODEL_GETUSERINFOREQUEST_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 GetUserInfoRequest : public RpcServiceRequest {
public:
GetUserInfoRequest();
~GetUserInfoRequest();
private:
};
} // namespace Model
} // namespace Viapi_regen
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VIAPI_REGEN_MODEL_GETUSERINFOREQUEST_H_

View File

@@ -0,0 +1,60 @@
/*
* 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_GETUSERINFORESULT_H_
#define ALIBABACLOUD_VIAPI_REGEN_MODEL_GETUSERINFORESULT_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 GetUserInfoResult : public ServiceResult
{
public:
struct Data
{
std::string userType;
std::string parentUid;
};
GetUserInfoResult();
explicit GetUserInfoResult(const std::string &payload);
~GetUserInfoResult();
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_GETUSERINFORESULT_H_