Compare commits

...

34 Commits

Author SHA1 Message Date
sdk-team
0cf373bc60 Cloud Storage Gateway openapi sdk is released. 2020-10-21 08:58:16 +00:00
sdk-team
1309d87fdb Release latest features. 2020-10-21 07:56:30 +00:00
sdk-team
a46f82a069 Change Documentation configuration. 2020-10-21 07:28:26 +00:00
sdk-team
b7d2e0b4a6 Change Documentation configuration. 2020-10-21 05:57:59 +00:00
sdk-team
6eacc742a1 Update cert API. 2020-10-21 02:08:30 +00:00
sdk-team
3c4d33ab51 Add PHP sdk. 2020-10-21 02:07:37 +00:00
sdk-team
cf6cbae712 Update Scdn API. 2020-10-21 02:06:58 +00:00
sdk-team
6dc38f165b Support modifyInstnaceType. 2020-10-20 13:23:52 +00:00
sdk-team
6393d2204b Add LivenessFaceVerify API. 2020-10-20 11:02:14 +00:00
sdk-team
f4138c76d6 Update Configuration. 2020-10-20 09:49:03 +00:00
sdk-team
d7a89ac3dc Add isv interface. 2020-10-20 07:51:00 +00:00
sdk-team
b98f01cab4 Generated 2016-11-01 for live. 2020-10-20 01:10:27 +00:00
sdk-team
675ab8f60f Add a new interface for asynchronous image translation. 2020-10-19 12:14:21 +00:00
sdk-team
9fd70bc2bf Metering 1019. 2020-10-19 09:09:57 +00:00
wb-hx510875
ee91c28732 fix: set http body with body parameters 2020-10-19 11:35:25 +08:00
sdk-team
ec9ecb41d2 Metering 1019. 2020-10-19 02:08:09 +00:00
sdk-team
272e447860 Metering 1019. 2020-10-19 02:01:12 +00:00
sdk-team
3af83f0124 Metering. 2020-10-17 12:39:03 +00:00
sdk-team
2f31a44faf Metering. 2020-10-17 03:02:33 +00:00
sdk-team
512b1bb5c5 Metering. 2020-10-16 15:46:32 +00:00
sdk-team
564c05144a Metering. 2020-10-16 15:01:41 +00:00
sdk-team
8aa1d22f90 Metering. 2020-10-16 14:47:58 +00:00
sdk-team
14ebba9911 Metering. 2020-10-16 14:25:12 +00:00
sdk-team
38438abdfb Supported AndroidNotificationNotifyId for Push and MassPush. 2020-10-16 08:29:54 +00:00
sdk-team
e72934f959 Support create for serverlesshbase. 2020-10-16 08:14:07 +00:00
wb-hx510875
076ff65f85 fix: set content-type default header 2020-10-16 10:52:14 +08:00
sdk-team
1fb31c98d9 Update cert API. 2020-10-16 01:44:01 +00:00
sdk-team
d704ed0f33 Update cert API. 2020-10-16 01:38:46 +00:00
wb-hx510875
b0fe238f34 fix: set content-md5 header when content is empty 2020-10-15 18:13:43 +08:00
sdk-team
17022a6777 Supported TAG APIs. 2020-10-15 09:07:42 +00:00
sdk-team
62a9619911 Add SaveTraceAppConfig api. 2020-10-15 09:04:02 +00:00
sdk-team
4da74afbab Generated 2018-06-01 for dataworks-public. 2020-10-15 07:28:15 +00:00
sdk-team
5c2b2e4afc Generated 2018-06-01 for dataworks-public. 2020-10-15 07:22:03 +00:00
sdk-team
72d59ded68 Generated 2014-05-26 for Ecs. 2020-10-14 14:41:31 +00:00
1224 changed files with 66199 additions and 33871 deletions

View File

@@ -1,3 +1,97 @@
2020-10-21 Version: patch
- Cloud Storage Gateway openapi sdk is released.
2020-10-21 Version: patch
- Release latest features.
2020-10-21 Version: patch
- Change Documentation configuration.
2020-10-21 Version: patch
- Change Documentation configuration.
2020-10-21 Version: patch
- Update cert API.
2020-10-21 Version: patch
- Add PHP sdk.
2020-10-21 Version: patch
- Update Scdn API.
2020-10-20 Version: patch
- Support modifyInstnaceType.
2020-10-20 Version: patch
- Add LivenessFaceVerify API.
2020-10-20 Version: patch
- Update Configuration.
2020-10-20 Version: patch
- Add isv interface.
2020-10-20 Version: patch
- Generated 2016-11-01 for `live`.
2020-10-19 Version: patch
- Add a new interface for asynchronous image translation.
2020-10-19 Version: patch
- Metering 1019.
2020-10-19 Version: patch
- Metering 1019.
2020-10-19 Version: patch
- Metering 1019.
2020-10-17 Version: patch
- Metering.
2020-10-17 Version: patch
- Metering.
2020-10-16 Version: patch
- Metering.
2020-10-16 Version: patch
- Metering.
2020-10-16 Version: patch
- Metering.
2020-10-16 Version: patch
- Metering.
2020-10-16 Version: patch
- Supported AndroidNotificationNotifyId for Push and MassPush.
- Supported iOSNotificationCollapseId for Push and MassPush.
2020-10-16 Version: patch
- Support create for serverlesshbase.
2020-10-16 Version: patch
- Update cert API.
2020-10-16 Version: patch
- Update cert API.
2020-10-15 Version: patch
- Supported TAG APIs.
2020-10-15 Version: patch
- Add SaveTraceAppConfig api.
2020-10-15 Version: patch
- Generated 2018-06-01 for `dataworks-public`.
2020-10-15 Version: patch
- Generated 2018-06-01 for `dataworks-public`.
2020-10-14 Version: patch
- Generated 2014-05-26 for `Ecs`.
2020-10-13 Version: patch
- ListActionData add parameters.
- PullActionData add parameters.

View File

@@ -23,6 +23,8 @@ set(alimt_public_header
set(alimt_public_header_model
include/alibabacloud/alimt/model/CreateDocTranslateTaskRequest.h
include/alibabacloud/alimt/model/CreateDocTranslateTaskResult.h
include/alibabacloud/alimt/model/CreateImageTranslateTaskRequest.h
include/alibabacloud/alimt/model/CreateImageTranslateTaskResult.h
include/alibabacloud/alimt/model/GetDetectLanguageRequest.h
include/alibabacloud/alimt/model/GetDetectLanguageResult.h
include/alibabacloud/alimt/model/GetDocTranslateTaskRequest.h
@@ -31,6 +33,8 @@ set(alimt_public_header_model
include/alibabacloud/alimt/model/GetImageDiagnoseResult.h
include/alibabacloud/alimt/model/GetImageTranslateRequest.h
include/alibabacloud/alimt/model/GetImageTranslateResult.h
include/alibabacloud/alimt/model/GetImageTranslateTaskRequest.h
include/alibabacloud/alimt/model/GetImageTranslateTaskResult.h
include/alibabacloud/alimt/model/GetTitleDiagnoseRequest.h
include/alibabacloud/alimt/model/GetTitleDiagnoseResult.h
include/alibabacloud/alimt/model/GetTitleGenerateRequest.h
@@ -50,6 +54,8 @@ set(alimt_src
src/AlimtClient.cc
src/model/CreateDocTranslateTaskRequest.cc
src/model/CreateDocTranslateTaskResult.cc
src/model/CreateImageTranslateTaskRequest.cc
src/model/CreateImageTranslateTaskResult.cc
src/model/GetDetectLanguageRequest.cc
src/model/GetDetectLanguageResult.cc
src/model/GetDocTranslateTaskRequest.cc
@@ -58,6 +64,8 @@ set(alimt_src
src/model/GetImageDiagnoseResult.cc
src/model/GetImageTranslateRequest.cc
src/model/GetImageTranslateResult.cc
src/model/GetImageTranslateTaskRequest.cc
src/model/GetImageTranslateTaskResult.cc
src/model/GetTitleDiagnoseRequest.cc
src/model/GetTitleDiagnoseResult.cc
src/model/GetTitleGenerateRequest.cc

View File

@@ -24,6 +24,8 @@
#include "AlimtExport.h"
#include "model/CreateDocTranslateTaskRequest.h"
#include "model/CreateDocTranslateTaskResult.h"
#include "model/CreateImageTranslateTaskRequest.h"
#include "model/CreateImageTranslateTaskResult.h"
#include "model/GetDetectLanguageRequest.h"
#include "model/GetDetectLanguageResult.h"
#include "model/GetDocTranslateTaskRequest.h"
@@ -32,6 +34,8 @@
#include "model/GetImageDiagnoseResult.h"
#include "model/GetImageTranslateRequest.h"
#include "model/GetImageTranslateResult.h"
#include "model/GetImageTranslateTaskRequest.h"
#include "model/GetImageTranslateTaskResult.h"
#include "model/GetTitleDiagnoseRequest.h"
#include "model/GetTitleDiagnoseResult.h"
#include "model/GetTitleGenerateRequest.h"
@@ -58,6 +62,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateDocTranslateTaskResult> CreateDocTranslateTaskOutcome;
typedef std::future<CreateDocTranslateTaskOutcome> CreateDocTranslateTaskOutcomeCallable;
typedef std::function<void(const AlimtClient*, const Model::CreateDocTranslateTaskRequest&, const CreateDocTranslateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDocTranslateTaskAsyncHandler;
typedef Outcome<Error, Model::CreateImageTranslateTaskResult> CreateImageTranslateTaskOutcome;
typedef std::future<CreateImageTranslateTaskOutcome> CreateImageTranslateTaskOutcomeCallable;
typedef std::function<void(const AlimtClient*, const Model::CreateImageTranslateTaskRequest&, const CreateImageTranslateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateImageTranslateTaskAsyncHandler;
typedef Outcome<Error, Model::GetDetectLanguageResult> GetDetectLanguageOutcome;
typedef std::future<GetDetectLanguageOutcome> GetDetectLanguageOutcomeCallable;
typedef std::function<void(const AlimtClient*, const Model::GetDetectLanguageRequest&, const GetDetectLanguageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDetectLanguageAsyncHandler;
@@ -70,6 +77,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetImageTranslateResult> GetImageTranslateOutcome;
typedef std::future<GetImageTranslateOutcome> GetImageTranslateOutcomeCallable;
typedef std::function<void(const AlimtClient*, const Model::GetImageTranslateRequest&, const GetImageTranslateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetImageTranslateAsyncHandler;
typedef Outcome<Error, Model::GetImageTranslateTaskResult> GetImageTranslateTaskOutcome;
typedef std::future<GetImageTranslateTaskOutcome> GetImageTranslateTaskOutcomeCallable;
typedef std::function<void(const AlimtClient*, const Model::GetImageTranslateTaskRequest&, const GetImageTranslateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetImageTranslateTaskAsyncHandler;
typedef Outcome<Error, Model::GetTitleDiagnoseResult> GetTitleDiagnoseOutcome;
typedef std::future<GetTitleDiagnoseOutcome> GetTitleDiagnoseOutcomeCallable;
typedef std::function<void(const AlimtClient*, const Model::GetTitleDiagnoseRequest&, const GetTitleDiagnoseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTitleDiagnoseAsyncHandler;
@@ -99,6 +109,9 @@ namespace AlibabaCloud
CreateDocTranslateTaskOutcome createDocTranslateTask(const Model::CreateDocTranslateTaskRequest &request)const;
void createDocTranslateTaskAsync(const Model::CreateDocTranslateTaskRequest& request, const CreateDocTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDocTranslateTaskOutcomeCallable createDocTranslateTaskCallable(const Model::CreateDocTranslateTaskRequest& request) const;
CreateImageTranslateTaskOutcome createImageTranslateTask(const Model::CreateImageTranslateTaskRequest &request)const;
void createImageTranslateTaskAsync(const Model::CreateImageTranslateTaskRequest& request, const CreateImageTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateImageTranslateTaskOutcomeCallable createImageTranslateTaskCallable(const Model::CreateImageTranslateTaskRequest& request) const;
GetDetectLanguageOutcome getDetectLanguage(const Model::GetDetectLanguageRequest &request)const;
void getDetectLanguageAsync(const Model::GetDetectLanguageRequest& request, const GetDetectLanguageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDetectLanguageOutcomeCallable getDetectLanguageCallable(const Model::GetDetectLanguageRequest& request) const;
@@ -111,6 +124,9 @@ namespace AlibabaCloud
GetImageTranslateOutcome getImageTranslate(const Model::GetImageTranslateRequest &request)const;
void getImageTranslateAsync(const Model::GetImageTranslateRequest& request, const GetImageTranslateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetImageTranslateOutcomeCallable getImageTranslateCallable(const Model::GetImageTranslateRequest& request) const;
GetImageTranslateTaskOutcome getImageTranslateTask(const Model::GetImageTranslateTaskRequest &request)const;
void getImageTranslateTaskAsync(const Model::GetImageTranslateTaskRequest& request, const GetImageTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetImageTranslateTaskOutcomeCallable getImageTranslateTaskCallable(const Model::GetImageTranslateTaskRequest& request) const;
GetTitleDiagnoseOutcome getTitleDiagnose(const Model::GetTitleDiagnoseRequest &request)const;
void getTitleDiagnoseAsync(const Model::GetTitleDiagnoseRequest& request, const GetTitleDiagnoseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTitleDiagnoseOutcomeCallable getTitleDiagnoseCallable(const Model::GetTitleDiagnoseRequest& request) const;

View File

@@ -14,44 +14,47 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERREQUEST_H_
#ifndef ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKREQUEST_H_
#define ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
#include <alibabacloud/alimt/AlimtExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
namespace Alimt
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateProjectMemberRequest : public RpcServiceRequest
class ALIBABACLOUD_ALIMT_EXPORT CreateImageTranslateTaskRequest : public RpcServiceRequest
{
public:
CreateProjectMemberRequest();
~CreateProjectMemberRequest();
CreateImageTranslateTaskRequest();
~CreateImageTranslateTaskRequest();
std::string getRoleCode()const;
void setRoleCode(const std::string& roleCode);
std::string getSourceLanguage()const;
void setSourceLanguage(const std::string& sourceLanguage);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
long getProjectId()const;
void setProjectId(long projectId);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getUrlList()const;
void setUrlList(const std::string& urlList);
std::string getExtra()const;
void setExtra(const std::string& extra);
std::string getTargetLanguage()const;
void setTargetLanguage(const std::string& targetLanguage);
private:
std::string roleCode_;
std::string sourceLanguage_;
std::string clientToken_;
long projectId_;
std::string userId_;
std::string urlList_;
std::string extra_;
std::string targetLanguage_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERREQUEST_H_
#endif // !ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKREQUEST_H_

View File

@@ -14,44 +14,46 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEUDFFILERESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEUDFFILERESULT_H_
#ifndef ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKRESULT_H_
#define ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
#include <alibabacloud/alimt/AlimtExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
namespace Alimt
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateUdfFileResult : public ServiceResult
class ALIBABACLOUD_ALIMT_EXPORT CreateImageTranslateTaskResult : public ServiceResult
{
public:
struct Data
{
std::string taskId;
};
UpdateUdfFileResult();
explicit UpdateUdfFileResult(const std::string &payload);
~UpdateUdfFileResult();
int getHttpStatusCode()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
CreateImageTranslateTaskResult();
explicit CreateImageTranslateTaskResult(const std::string &payload);
~CreateImageTranslateTaskResult();
std::string getMessage()const;
Data getData()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
std::string message_;
Data data_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEUDFFILERESULT_H_
#endif // !ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKRESULT_H_

View File

@@ -14,35 +14,35 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICINFLUENCEREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICINFLUENCEREQUEST_H_
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATETASKREQUEST_H_
#define ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATETASKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
#include <alibabacloud/alimt/AlimtExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
namespace Alimt
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetTopicInfluenceRequest : public RpcServiceRequest
class ALIBABACLOUD_ALIMT_EXPORT GetImageTranslateTaskRequest : public RpcServiceRequest
{
public:
GetTopicInfluenceRequest();
~GetTopicInfluenceRequest();
GetImageTranslateTaskRequest();
~GetImageTranslateTaskRequest();
long getTopicId()const;
void setTopicId(long topicId);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
private:
long topicId_;
std::string taskId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICINFLUENCEREQUEST_H_
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATETASKREQUEST_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_ALIMT_MODEL_GETIMAGETRANSLATETASKRESULT_H_
#define ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATETASKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/alimt/AlimtExport.h>
namespace AlibabaCloud
{
namespace Alimt
{
namespace Model
{
class ALIBABACLOUD_ALIMT_EXPORT GetImageTranslateTaskResult : public ServiceResult
{
public:
struct Data
{
std::string imageData;
};
GetImageTranslateTaskResult();
explicit GetImageTranslateTaskResult(const std::string &payload);
~GetImageTranslateTaskResult();
std::string getMessage()const;
Data getData()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATETASKRESULT_H_

View File

@@ -87,6 +87,42 @@ AlimtClient::CreateDocTranslateTaskOutcomeCallable AlimtClient::createDocTransla
return task->get_future();
}
AlimtClient::CreateImageTranslateTaskOutcome AlimtClient::createImageTranslateTask(const CreateImageTranslateTaskRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateImageTranslateTaskOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateImageTranslateTaskOutcome(CreateImageTranslateTaskResult(outcome.result()));
else
return CreateImageTranslateTaskOutcome(outcome.error());
}
void AlimtClient::createImageTranslateTaskAsync(const CreateImageTranslateTaskRequest& request, const CreateImageTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createImageTranslateTask(request), context);
};
asyncExecute(new Runnable(fn));
}
AlimtClient::CreateImageTranslateTaskOutcomeCallable AlimtClient::createImageTranslateTaskCallable(const CreateImageTranslateTaskRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateImageTranslateTaskOutcome()>>(
[this, request]()
{
return this->createImageTranslateTask(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AlimtClient::GetDetectLanguageOutcome AlimtClient::getDetectLanguage(const GetDetectLanguageRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -231,6 +267,42 @@ AlimtClient::GetImageTranslateOutcomeCallable AlimtClient::getImageTranslateCall
return task->get_future();
}
AlimtClient::GetImageTranslateTaskOutcome AlimtClient::getImageTranslateTask(const GetImageTranslateTaskRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetImageTranslateTaskOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetImageTranslateTaskOutcome(GetImageTranslateTaskResult(outcome.result()));
else
return GetImageTranslateTaskOutcome(outcome.error());
}
void AlimtClient::getImageTranslateTaskAsync(const GetImageTranslateTaskRequest& request, const GetImageTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getImageTranslateTask(request), context);
};
asyncExecute(new Runnable(fn));
}
AlimtClient::GetImageTranslateTaskOutcomeCallable AlimtClient::getImageTranslateTaskCallable(const GetImageTranslateTaskRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetImageTranslateTaskOutcome()>>(
[this, request]()
{
return this->getImageTranslateTask(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AlimtClient::GetTitleDiagnoseOutcome AlimtClient::getTitleDiagnose(const GetTitleDiagnoseRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,84 @@
/*
* 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.
*/
#include <alibabacloud/alimt/model/CreateImageTranslateTaskRequest.h>
using AlibabaCloud::Alimt::Model::CreateImageTranslateTaskRequest;
CreateImageTranslateTaskRequest::CreateImageTranslateTaskRequest() :
RpcServiceRequest("alimt", "2018-10-12", "CreateImageTranslateTask")
{
setMethod(HttpRequest::Method::Post);
}
CreateImageTranslateTaskRequest::~CreateImageTranslateTaskRequest()
{}
std::string CreateImageTranslateTaskRequest::getSourceLanguage()const
{
return sourceLanguage_;
}
void CreateImageTranslateTaskRequest::setSourceLanguage(const std::string& sourceLanguage)
{
sourceLanguage_ = sourceLanguage;
setBodyParameter("SourceLanguage", sourceLanguage);
}
std::string CreateImageTranslateTaskRequest::getClientToken()const
{
return clientToken_;
}
void CreateImageTranslateTaskRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setBodyParameter("ClientToken", clientToken);
}
std::string CreateImageTranslateTaskRequest::getUrlList()const
{
return urlList_;
}
void CreateImageTranslateTaskRequest::setUrlList(const std::string& urlList)
{
urlList_ = urlList;
setBodyParameter("UrlList", urlList);
}
std::string CreateImageTranslateTaskRequest::getExtra()const
{
return extra_;
}
void CreateImageTranslateTaskRequest::setExtra(const std::string& extra)
{
extra_ = extra;
setBodyParameter("Extra", extra);
}
std::string CreateImageTranslateTaskRequest::getTargetLanguage()const
{
return targetLanguage_;
}
void CreateImageTranslateTaskRequest::setTargetLanguage(const std::string& targetLanguage)
{
targetLanguage_ = targetLanguage;
setBodyParameter("TargetLanguage", targetLanguage);
}

View File

@@ -0,0 +1,66 @@
/*
* 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.
*/
#include <alibabacloud/alimt/model/CreateImageTranslateTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Alimt;
using namespace AlibabaCloud::Alimt::Model;
CreateImageTranslateTaskResult::CreateImageTranslateTaskResult() :
ServiceResult()
{}
CreateImageTranslateTaskResult::CreateImageTranslateTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateImageTranslateTaskResult::~CreateImageTranslateTaskResult()
{}
void CreateImageTranslateTaskResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["TaskId"].isNull())
data_.taskId = dataNode["TaskId"].asString();
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string CreateImageTranslateTaskResult::getMessage()const
{
return message_;
}
CreateImageTranslateTaskResult::Data CreateImageTranslateTaskResult::getData()const
{
return data_;
}
int CreateImageTranslateTaskResult::getCode()const
{
return code_;
}

View File

@@ -14,27 +14,27 @@
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GetTopicInfluenceRequest.h>
#include <alibabacloud/alimt/model/GetImageTranslateTaskRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetTopicInfluenceRequest;
using AlibabaCloud::Alimt::Model::GetImageTranslateTaskRequest;
GetTopicInfluenceRequest::GetTopicInfluenceRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GetTopicInfluence")
GetImageTranslateTaskRequest::GetImageTranslateTaskRequest() :
RpcServiceRequest("alimt", "2018-10-12", "GetImageTranslateTask")
{
setMethod(HttpRequest::Method::Post);
}
GetTopicInfluenceRequest::~GetTopicInfluenceRequest()
GetImageTranslateTaskRequest::~GetImageTranslateTaskRequest()
{}
long GetTopicInfluenceRequest::getTopicId()const
std::string GetImageTranslateTaskRequest::getTaskId()const
{
return topicId_;
return taskId_;
}
void GetTopicInfluenceRequest::setTopicId(long topicId)
void GetImageTranslateTaskRequest::setTaskId(const std::string& taskId)
{
topicId_ = topicId;
setBodyParameter("TopicId", std::to_string(topicId));
taskId_ = taskId;
setBodyParameter("TaskId", taskId);
}

View File

@@ -0,0 +1,66 @@
/*
* 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.
*/
#include <alibabacloud/alimt/model/GetImageTranslateTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Alimt;
using namespace AlibabaCloud::Alimt::Model;
GetImageTranslateTaskResult::GetImageTranslateTaskResult() :
ServiceResult()
{}
GetImageTranslateTaskResult::GetImageTranslateTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetImageTranslateTaskResult::~GetImageTranslateTaskResult()
{}
void GetImageTranslateTaskResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["ImageData"].isNull())
data_.imageData = dataNode["ImageData"].asString();
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string GetImageTranslateTaskResult::getMessage()const
{
return message_;
}
GetImageTranslateTaskResult::Data GetImageTranslateTaskResult::getData()const
{
return data_;
}
int GetImageTranslateTaskResult::getCode()const
{
return code_;
}

View File

@@ -37,6 +37,8 @@ set(arms_public_header_model
include/alibabacloud/arms/model/CreateAlertContactGroupResult.h
include/alibabacloud/arms/model/CreateRetcodeAppRequest.h
include/alibabacloud/arms/model/CreateRetcodeAppResult.h
include/alibabacloud/arms/model/CreateWehookRequest.h
include/alibabacloud/arms/model/CreateWehookResult.h
include/alibabacloud/arms/model/DeleteAlertContactRequest.h
include/alibabacloud/arms/model/DeleteAlertContactResult.h
include/alibabacloud/arms/model/DeleteAlertContactGroupRequest.h
@@ -87,6 +89,8 @@ set(arms_public_header_model
include/alibabacloud/arms/model/QueryMetricResult.h
include/alibabacloud/arms/model/QueryMetricByPageRequest.h
include/alibabacloud/arms/model/QueryMetricByPageResult.h
include/alibabacloud/arms/model/SaveTraceAppConfigRequest.h
include/alibabacloud/arms/model/SaveTraceAppConfigResult.h
include/alibabacloud/arms/model/SearchAlertContactRequest.h
include/alibabacloud/arms/model/SearchAlertContactResult.h
include/alibabacloud/arms/model/SearchAlertContactGroupRequest.h
@@ -118,7 +122,9 @@ set(arms_public_header_model
include/alibabacloud/arms/model/UpdateAlertContactGroupRequest.h
include/alibabacloud/arms/model/UpdateAlertContactGroupResult.h
include/alibabacloud/arms/model/UpdateAlertRuleRequest.h
include/alibabacloud/arms/model/UpdateAlertRuleResult.h )
include/alibabacloud/arms/model/UpdateAlertRuleResult.h
include/alibabacloud/arms/model/UpdateWebhookRequest.h
include/alibabacloud/arms/model/UpdateWebhookResult.h )
set(arms_src
src/ARMSClient.cc
@@ -138,6 +144,8 @@ set(arms_src
src/model/CreateAlertContactGroupResult.cc
src/model/CreateRetcodeAppRequest.cc
src/model/CreateRetcodeAppResult.cc
src/model/CreateWehookRequest.cc
src/model/CreateWehookResult.cc
src/model/DeleteAlertContactRequest.cc
src/model/DeleteAlertContactResult.cc
src/model/DeleteAlertContactGroupRequest.cc
@@ -188,6 +196,8 @@ set(arms_src
src/model/QueryMetricResult.cc
src/model/QueryMetricByPageRequest.cc
src/model/QueryMetricByPageResult.cc
src/model/SaveTraceAppConfigRequest.cc
src/model/SaveTraceAppConfigResult.cc
src/model/SearchAlertContactRequest.cc
src/model/SearchAlertContactResult.cc
src/model/SearchAlertContactGroupRequest.cc
@@ -219,7 +229,9 @@ set(arms_src
src/model/UpdateAlertContactGroupRequest.cc
src/model/UpdateAlertContactGroupResult.cc
src/model/UpdateAlertRuleRequest.cc
src/model/UpdateAlertRuleResult.cc )
src/model/UpdateAlertRuleResult.cc
src/model/UpdateWebhookRequest.cc
src/model/UpdateWebhookResult.cc )
add_library(arms ${LIB_TYPE}
${arms_public_header}

View File

@@ -38,6 +38,8 @@
#include "model/CreateAlertContactGroupResult.h"
#include "model/CreateRetcodeAppRequest.h"
#include "model/CreateRetcodeAppResult.h"
#include "model/CreateWehookRequest.h"
#include "model/CreateWehookResult.h"
#include "model/DeleteAlertContactRequest.h"
#include "model/DeleteAlertContactResult.h"
#include "model/DeleteAlertContactGroupRequest.h"
@@ -88,6 +90,8 @@
#include "model/QueryMetricResult.h"
#include "model/QueryMetricByPageRequest.h"
#include "model/QueryMetricByPageResult.h"
#include "model/SaveTraceAppConfigRequest.h"
#include "model/SaveTraceAppConfigResult.h"
#include "model/SearchAlertContactRequest.h"
#include "model/SearchAlertContactResult.h"
#include "model/SearchAlertContactGroupRequest.h"
@@ -120,6 +124,8 @@
#include "model/UpdateAlertContactGroupResult.h"
#include "model/UpdateAlertRuleRequest.h"
#include "model/UpdateAlertRuleResult.h"
#include "model/UpdateWebhookRequest.h"
#include "model/UpdateWebhookResult.h"
namespace AlibabaCloud
@@ -153,6 +159,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateRetcodeAppResult> CreateRetcodeAppOutcome;
typedef std::future<CreateRetcodeAppOutcome> CreateRetcodeAppOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::CreateRetcodeAppRequest&, const CreateRetcodeAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRetcodeAppAsyncHandler;
typedef Outcome<Error, Model::CreateWehookResult> CreateWehookOutcome;
typedef std::future<CreateWehookOutcome> CreateWehookOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::CreateWehookRequest&, const CreateWehookOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateWehookAsyncHandler;
typedef Outcome<Error, Model::DeleteAlertContactResult> DeleteAlertContactOutcome;
typedef std::future<DeleteAlertContactOutcome> DeleteAlertContactOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::DeleteAlertContactRequest&, const DeleteAlertContactOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAlertContactAsyncHandler;
@@ -228,6 +237,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryMetricByPageResult> QueryMetricByPageOutcome;
typedef std::future<QueryMetricByPageOutcome> QueryMetricByPageOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::QueryMetricByPageRequest&, const QueryMetricByPageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMetricByPageAsyncHandler;
typedef Outcome<Error, Model::SaveTraceAppConfigResult> SaveTraceAppConfigOutcome;
typedef std::future<SaveTraceAppConfigOutcome> SaveTraceAppConfigOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::SaveTraceAppConfigRequest&, const SaveTraceAppConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveTraceAppConfigAsyncHandler;
typedef Outcome<Error, Model::SearchAlertContactResult> SearchAlertContactOutcome;
typedef std::future<SearchAlertContactOutcome> SearchAlertContactOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::SearchAlertContactRequest&, const SearchAlertContactOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchAlertContactAsyncHandler;
@@ -276,6 +288,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UpdateAlertRuleResult> UpdateAlertRuleOutcome;
typedef std::future<UpdateAlertRuleOutcome> UpdateAlertRuleOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::UpdateAlertRuleRequest&, const UpdateAlertRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAlertRuleAsyncHandler;
typedef Outcome<Error, Model::UpdateWebhookResult> UpdateWebhookOutcome;
typedef std::future<UpdateWebhookOutcome> UpdateWebhookOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::UpdateWebhookRequest&, const UpdateWebhookOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateWebhookAsyncHandler;
ARMSClient(const Credentials &credentials, const ClientConfiguration &configuration);
ARMSClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
@@ -305,6 +320,9 @@ namespace AlibabaCloud
CreateRetcodeAppOutcome createRetcodeApp(const Model::CreateRetcodeAppRequest &request)const;
void createRetcodeAppAsync(const Model::CreateRetcodeAppRequest& request, const CreateRetcodeAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateRetcodeAppOutcomeCallable createRetcodeAppCallable(const Model::CreateRetcodeAppRequest& request) const;
CreateWehookOutcome createWehook(const Model::CreateWehookRequest &request)const;
void createWehookAsync(const Model::CreateWehookRequest& request, const CreateWehookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateWehookOutcomeCallable createWehookCallable(const Model::CreateWehookRequest& request) const;
DeleteAlertContactOutcome deleteAlertContact(const Model::DeleteAlertContactRequest &request)const;
void deleteAlertContactAsync(const Model::DeleteAlertContactRequest& request, const DeleteAlertContactAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteAlertContactOutcomeCallable deleteAlertContactCallable(const Model::DeleteAlertContactRequest& request) const;
@@ -380,6 +398,9 @@ namespace AlibabaCloud
QueryMetricByPageOutcome queryMetricByPage(const Model::QueryMetricByPageRequest &request)const;
void queryMetricByPageAsync(const Model::QueryMetricByPageRequest& request, const QueryMetricByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryMetricByPageOutcomeCallable queryMetricByPageCallable(const Model::QueryMetricByPageRequest& request) const;
SaveTraceAppConfigOutcome saveTraceAppConfig(const Model::SaveTraceAppConfigRequest &request)const;
void saveTraceAppConfigAsync(const Model::SaveTraceAppConfigRequest& request, const SaveTraceAppConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SaveTraceAppConfigOutcomeCallable saveTraceAppConfigCallable(const Model::SaveTraceAppConfigRequest& request) const;
SearchAlertContactOutcome searchAlertContact(const Model::SearchAlertContactRequest &request)const;
void searchAlertContactAsync(const Model::SearchAlertContactRequest& request, const SearchAlertContactAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SearchAlertContactOutcomeCallable searchAlertContactCallable(const Model::SearchAlertContactRequest& request) const;
@@ -428,6 +449,9 @@ namespace AlibabaCloud
UpdateAlertRuleOutcome updateAlertRule(const Model::UpdateAlertRuleRequest &request)const;
void updateAlertRuleAsync(const Model::UpdateAlertRuleRequest& request, const UpdateAlertRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateAlertRuleOutcomeCallable updateAlertRuleCallable(const Model::UpdateAlertRuleRequest& request) const;
UpdateWebhookOutcome updateWebhook(const Model::UpdateWebhookRequest &request)const;
void updateWebhookAsync(const Model::UpdateWebhookRequest& request, const UpdateWebhookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateWebhookOutcomeCallable updateWebhookCallable(const Model::UpdateWebhookRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -0,0 +1,69 @@
/*
* 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_ARMS_MODEL_CREATEWEHOOKREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_CREATEWEHOOKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT CreateWehookRequest : public RpcServiceRequest
{
public:
CreateWehookRequest();
~CreateWehookRequest();
std::string getHeaders()const;
void setHeaders(const std::string& headers);
std::string getMethod()const;
void setMethod(const std::string& method);
std::string getParams()const;
void setParams(const std::string& params);
std::string getProxyUserId()const;
void setProxyUserId(const std::string& proxyUserId);
std::string getBody()const;
void setBody(const std::string& body);
std::string getUrl()const;
void setUrl(const std::string& url);
std::string getContactName()const;
void setContactName(const std::string& contactName);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string headers_;
std::string method_;
std::string params_;
std::string proxyUserId_;
std::string body_;
std::string url_;
std::string contactName_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEWEHOOKREQUEST_H_

View File

@@ -14,36 +14,38 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERRESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERRESULT_H_
#ifndef ALIBABACLOUD_ARMS_MODEL_CREATEWEHOOKRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_CREATEWEHOOKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateProjectMemberResult : public ServiceResult
class ALIBABACLOUD_ARMS_EXPORT CreateWehookResult : public ServiceResult
{
public:
CreateProjectMemberResult();
explicit CreateProjectMemberResult(const std::string &payload);
~CreateProjectMemberResult();
CreateWehookResult();
explicit CreateWehookResult(const std::string &payload);
~CreateWehookResult();
std::string getContactId()const;
protected:
void parse(const std::string &payload);
private:
std::string contactId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERRESULT_H_
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEWEHOOKRESULT_H_

View File

@@ -14,38 +14,44 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETAPARTITIONREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETAPARTITIONREQUEST_H_
#ifndef ALIBABACLOUD_ARMS_MODEL_SAVETRACEAPPCONFIGREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_SAVETRACEAPPCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckMetaPartitionRequest : public RpcServiceRequest
class ALIBABACLOUD_ARMS_EXPORT SaveTraceAppConfigRequest : public RpcServiceRequest
{
public:
struct Settings
{
std::string value;
std::string key;
};
public:
CheckMetaPartitionRequest();
~CheckMetaPartitionRequest();
SaveTraceAppConfigRequest();
~SaveTraceAppConfigRequest();
std::string getPartition()const;
void setPartition(const std::string& partition);
std::string getTableGuid()const;
void setTableGuid(const std::string& tableGuid);
std::vector<Settings> getSettings()const;
void setSettings(const std::vector<Settings>& settings);
std::string getPid()const;
void setPid(const std::string& pid);
private:
std::string partition_;
std::string tableGuid_;
std::vector<Settings> settings_;
std::string pid_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETAPARTITIONREQUEST_H_
#endif // !ALIBABACLOUD_ARMS_MODEL_SAVETRACEAPPCONFIGREQUEST_H_

View File

@@ -14,36 +14,38 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLERESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLERESULT_H_
#ifndef ALIBABACLOUD_ARMS_MODEL_SAVETRACEAPPCONFIGRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_SAVETRACEAPPCONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT AddProjectMemberToRoleResult : public ServiceResult
class ALIBABACLOUD_ARMS_EXPORT SaveTraceAppConfigResult : public ServiceResult
{
public:
AddProjectMemberToRoleResult();
explicit AddProjectMemberToRoleResult(const std::string &payload);
~AddProjectMemberToRoleResult();
SaveTraceAppConfigResult();
explicit SaveTraceAppConfigResult(const std::string &payload);
~SaveTraceAppConfigResult();
std::string getData()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLERESULT_H_
#endif // !ALIBABACLOUD_ARMS_MODEL_SAVETRACEAPPCONFIGRESULT_H_

View File

@@ -35,23 +35,29 @@ namespace AlibabaCloud
SearchAlertContactGroupRequest();
~SearchAlertContactGroupRequest();
std::string getContactName()const;
void setContactName(const std::string& contactName);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getContactId()const;
void setContactId(long contactId);
bool getIsDetail()const;
void setIsDetail(bool isDetail);
std::string getContactGroupName()const;
void setContactGroupName(const std::string& contactGroupName);
std::string getProxyUserId()const;
void setProxyUserId(const std::string& proxyUserId);
std::string getContactName()const;
void setContactName(const std::string& contactName);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getContactGroupIds()const;
void setContactGroupIds(const std::string& contactGroupIds);
private:
std::string contactName_;
std::string regionId_;
long contactId_;
bool isDetail_;
std::string contactGroupName_;
std::string proxyUserId_;
std::string contactName_;
std::string regionId_;
std::string contactGroupIds_;
};
}

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
void setCurrentPage(const std::string& currentPage);
std::string getProxyUserId()const;
void setProxyUserId(const std::string& proxyUserId);
std::string getContactIds()const;
void setContactIds(const std::string& contactIds);
std::string getContactName()const;
void setContactName(const std::string& contactName);
std::string getPhone()const;
@@ -53,6 +55,7 @@ namespace AlibabaCloud
private:
std::string currentPage_;
std::string proxyUserId_;
std::string contactIds_;
std::string contactName_;
std::string phone_;
std::string regionId_;

View File

@@ -41,6 +41,7 @@ namespace AlibabaCloud
std::string userId;
long createTime;
long updateTime;
std::string webhook;
long contactId;
std::string dingRobot;
std::string contactName;

View File

@@ -0,0 +1,72 @@
/*
* 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_ARMS_MODEL_UPDATEWEBHOOKREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_UPDATEWEBHOOKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT UpdateWebhookRequest : public RpcServiceRequest
{
public:
UpdateWebhookRequest();
~UpdateWebhookRequest();
std::string getHeaders()const;
void setHeaders(const std::string& headers);
std::string getMethod()const;
void setMethod(const std::string& method);
long getContactId()const;
void setContactId(long contactId);
std::string getParams()const;
void setParams(const std::string& params);
std::string getProxyUserId()const;
void setProxyUserId(const std::string& proxyUserId);
std::string getBody()const;
void setBody(const std::string& body);
std::string getUrl()const;
void setUrl(const std::string& url);
std::string getContactName()const;
void setContactName(const std::string& contactName);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string headers_;
std::string method_;
long contactId_;
std::string params_;
std::string proxyUserId_;
std::string body_;
std::string url_;
std::string contactName_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_UPDATEWEBHOOKREQUEST_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_ARMS_MODEL_UPDATEWEBHOOKRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_UPDATEWEBHOOKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT UpdateWebhookResult : public ServiceResult
{
public:
UpdateWebhookResult();
explicit UpdateWebhookResult(const std::string &payload);
~UpdateWebhookResult();
bool getIsSuccess()const;
protected:
void parse(const std::string &payload);
private:
bool isSuccess_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_UPDATEWEBHOOKRESULT_H_

View File

@@ -339,6 +339,42 @@ ARMSClient::CreateRetcodeAppOutcomeCallable ARMSClient::createRetcodeAppCallable
return task->get_future();
}
ARMSClient::CreateWehookOutcome ARMSClient::createWehook(const CreateWehookRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateWehookOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateWehookOutcome(CreateWehookResult(outcome.result()));
else
return CreateWehookOutcome(outcome.error());
}
void ARMSClient::createWehookAsync(const CreateWehookRequest& request, const CreateWehookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createWehook(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::CreateWehookOutcomeCallable ARMSClient::createWehookCallable(const CreateWehookRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateWehookOutcome()>>(
[this, request]()
{
return this->createWehook(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::DeleteAlertContactOutcome ARMSClient::deleteAlertContact(const DeleteAlertContactRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1239,6 +1275,42 @@ ARMSClient::QueryMetricByPageOutcomeCallable ARMSClient::queryMetricByPageCallab
return task->get_future();
}
ARMSClient::SaveTraceAppConfigOutcome ARMSClient::saveTraceAppConfig(const SaveTraceAppConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SaveTraceAppConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SaveTraceAppConfigOutcome(SaveTraceAppConfigResult(outcome.result()));
else
return SaveTraceAppConfigOutcome(outcome.error());
}
void ARMSClient::saveTraceAppConfigAsync(const SaveTraceAppConfigRequest& request, const SaveTraceAppConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, saveTraceAppConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::SaveTraceAppConfigOutcomeCallable ARMSClient::saveTraceAppConfigCallable(const SaveTraceAppConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SaveTraceAppConfigOutcome()>>(
[this, request]()
{
return this->saveTraceAppConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::SearchAlertContactOutcome ARMSClient::searchAlertContact(const SearchAlertContactRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1815,3 +1887,39 @@ ARMSClient::UpdateAlertRuleOutcomeCallable ARMSClient::updateAlertRuleCallable(c
return task->get_future();
}
ARMSClient::UpdateWebhookOutcome ARMSClient::updateWebhook(const UpdateWebhookRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpdateWebhookOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UpdateWebhookOutcome(UpdateWebhookResult(outcome.result()));
else
return UpdateWebhookOutcome(outcome.error());
}
void ARMSClient::updateWebhookAsync(const UpdateWebhookRequest& request, const UpdateWebhookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, updateWebhook(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::UpdateWebhookOutcomeCallable ARMSClient::updateWebhookCallable(const UpdateWebhookRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UpdateWebhookOutcome()>>(
[this, request]()
{
return this->updateWebhook(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -0,0 +1,117 @@
/*
* 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.
*/
#include <alibabacloud/arms/model/CreateWehookRequest.h>
using AlibabaCloud::ARMS::Model::CreateWehookRequest;
CreateWehookRequest::CreateWehookRequest() :
RpcServiceRequest("arms", "2019-08-08", "CreateWehook")
{
setMethod(HttpRequest::Method::Post);
}
CreateWehookRequest::~CreateWehookRequest()
{}
std::string CreateWehookRequest::getHeaders()const
{
return headers_;
}
void CreateWehookRequest::setHeaders(const std::string& headers)
{
headers_ = headers;
setParameter("Headers", headers);
}
std::string CreateWehookRequest::getMethod()const
{
return method_;
}
void CreateWehookRequest::setMethod(const std::string& method)
{
method_ = method;
setParameter("Method", method);
}
std::string CreateWehookRequest::getParams()const
{
return params_;
}
void CreateWehookRequest::setParams(const std::string& params)
{
params_ = params;
setParameter("Params", params);
}
std::string CreateWehookRequest::getProxyUserId()const
{
return proxyUserId_;
}
void CreateWehookRequest::setProxyUserId(const std::string& proxyUserId)
{
proxyUserId_ = proxyUserId;
setParameter("ProxyUserId", proxyUserId);
}
std::string CreateWehookRequest::getBody()const
{
return body_;
}
void CreateWehookRequest::setBody(const std::string& body)
{
body_ = body;
setParameter("Body", body);
}
std::string CreateWehookRequest::getUrl()const
{
return url_;
}
void CreateWehookRequest::setUrl(const std::string& url)
{
url_ = url;
setParameter("Url", url);
}
std::string CreateWehookRequest::getContactName()const
{
return contactName_;
}
void CreateWehookRequest::setContactName(const std::string& contactName)
{
contactName_ = contactName;
setParameter("ContactName", contactName);
}
std::string CreateWehookRequest::getRegionId()const
{
return regionId_;
}
void CreateWehookRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

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.
*/
#include <alibabacloud/arms/model/CreateWehookResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
CreateWehookResult::CreateWehookResult() :
ServiceResult()
{}
CreateWehookResult::CreateWehookResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateWehookResult::~CreateWehookResult()
{}
void CreateWehookResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ContactId"].isNull())
contactId_ = value["ContactId"].asString();
}
std::string CreateWehookResult::getContactId()const
{
return contactId_;
}

View File

@@ -0,0 +1,56 @@
/*
* 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.
*/
#include <alibabacloud/arms/model/SaveTraceAppConfigRequest.h>
using AlibabaCloud::ARMS::Model::SaveTraceAppConfigRequest;
SaveTraceAppConfigRequest::SaveTraceAppConfigRequest() :
RpcServiceRequest("arms", "2019-08-08", "SaveTraceAppConfig")
{
setMethod(HttpRequest::Method::Post);
}
SaveTraceAppConfigRequest::~SaveTraceAppConfigRequest()
{}
std::vector<SaveTraceAppConfigRequest::Settings> SaveTraceAppConfigRequest::getSettings()const
{
return settings_;
}
void SaveTraceAppConfigRequest::setSettings(const std::vector<Settings>& settings)
{
settings_ = settings;
for(int dep1 = 0; dep1!= settings.size(); dep1++) {
auto settingsObj = settings.at(dep1);
std::string settingsObjStr = "Settings." + std::to_string(dep1 + 1);
setParameter(settingsObjStr + ".Value", settingsObj.value);
setParameter(settingsObjStr + ".Key", settingsObj.key);
}
}
std::string SaveTraceAppConfigRequest::getPid()const
{
return pid_;
}
void SaveTraceAppConfigRequest::setPid(const std::string& pid)
{
pid_ = pid;
setParameter("Pid", pid);
}

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.
*/
#include <alibabacloud/arms/model/SaveTraceAppConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
SaveTraceAppConfigResult::SaveTraceAppConfigResult() :
ServiceResult()
{}
SaveTraceAppConfigResult::SaveTraceAppConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SaveTraceAppConfigResult::~SaveTraceAppConfigResult()
{}
void SaveTraceAppConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
}
std::string SaveTraceAppConfigResult::getData()const
{
return data_;
}

View File

@@ -27,28 +27,6 @@ SearchAlertContactGroupRequest::SearchAlertContactGroupRequest() :
SearchAlertContactGroupRequest::~SearchAlertContactGroupRequest()
{}
std::string SearchAlertContactGroupRequest::getContactName()const
{
return contactName_;
}
void SearchAlertContactGroupRequest::setContactName(const std::string& contactName)
{
contactName_ = contactName;
setParameter("ContactName", contactName);
}
std::string SearchAlertContactGroupRequest::getRegionId()const
{
return regionId_;
}
void SearchAlertContactGroupRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
long SearchAlertContactGroupRequest::getContactId()const
{
return contactId_;
@@ -60,6 +38,17 @@ void SearchAlertContactGroupRequest::setContactId(long contactId)
setParameter("ContactId", std::to_string(contactId));
}
bool SearchAlertContactGroupRequest::getIsDetail()const
{
return isDetail_;
}
void SearchAlertContactGroupRequest::setIsDetail(bool isDetail)
{
isDetail_ = isDetail;
setParameter("IsDetail", isDetail ? "true" : "false");
}
std::string SearchAlertContactGroupRequest::getContactGroupName()const
{
return contactGroupName_;
@@ -82,3 +71,36 @@ void SearchAlertContactGroupRequest::setProxyUserId(const std::string& proxyUser
setParameter("ProxyUserId", proxyUserId);
}
std::string SearchAlertContactGroupRequest::getContactName()const
{
return contactName_;
}
void SearchAlertContactGroupRequest::setContactName(const std::string& contactName)
{
contactName_ = contactName;
setParameter("ContactName", contactName);
}
std::string SearchAlertContactGroupRequest::getRegionId()const
{
return regionId_;
}
void SearchAlertContactGroupRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string SearchAlertContactGroupRequest::getContactGroupIds()const
{
return contactGroupIds_;
}
void SearchAlertContactGroupRequest::setContactGroupIds(const std::string& contactGroupIds)
{
contactGroupIds_ = contactGroupIds;
setParameter("ContactGroupIds", contactGroupIds);
}

View File

@@ -49,6 +49,17 @@ void SearchAlertContactRequest::setProxyUserId(const std::string& proxyUserId)
setParameter("ProxyUserId", proxyUserId);
}
std::string SearchAlertContactRequest::getContactIds()const
{
return contactIds_;
}
void SearchAlertContactRequest::setContactIds(const std::string& contactIds)
{
contactIds_ = contactIds;
setParameter("ContactIds", contactIds);
}
std::string SearchAlertContactRequest::getContactName()const
{
return contactName_;

View File

@@ -68,6 +68,8 @@ void SearchAlertContactResult::parse(const std::string &payload)
contactObject.updateTime = std::stol(pageBeanNodeContactsContact["UpdateTime"].asString());
if(!pageBeanNodeContactsContact["SystemNoc"].isNull())
contactObject.systemNoc = pageBeanNodeContactsContact["SystemNoc"].asString() == "true";
if(!pageBeanNodeContactsContact["Webhook"].isNull())
contactObject.webhook = pageBeanNodeContactsContact["Webhook"].asString();
pageBean_.contacts.push_back(contactObject);
}

View File

@@ -0,0 +1,128 @@
/*
* 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.
*/
#include <alibabacloud/arms/model/UpdateWebhookRequest.h>
using AlibabaCloud::ARMS::Model::UpdateWebhookRequest;
UpdateWebhookRequest::UpdateWebhookRequest() :
RpcServiceRequest("arms", "2019-08-08", "UpdateWebhook")
{
setMethod(HttpRequest::Method::Post);
}
UpdateWebhookRequest::~UpdateWebhookRequest()
{}
std::string UpdateWebhookRequest::getHeaders()const
{
return headers_;
}
void UpdateWebhookRequest::setHeaders(const std::string& headers)
{
headers_ = headers;
setParameter("Headers", headers);
}
std::string UpdateWebhookRequest::getMethod()const
{
return method_;
}
void UpdateWebhookRequest::setMethod(const std::string& method)
{
method_ = method;
setParameter("Method", method);
}
long UpdateWebhookRequest::getContactId()const
{
return contactId_;
}
void UpdateWebhookRequest::setContactId(long contactId)
{
contactId_ = contactId;
setParameter("ContactId", std::to_string(contactId));
}
std::string UpdateWebhookRequest::getParams()const
{
return params_;
}
void UpdateWebhookRequest::setParams(const std::string& params)
{
params_ = params;
setParameter("Params", params);
}
std::string UpdateWebhookRequest::getProxyUserId()const
{
return proxyUserId_;
}
void UpdateWebhookRequest::setProxyUserId(const std::string& proxyUserId)
{
proxyUserId_ = proxyUserId;
setParameter("ProxyUserId", proxyUserId);
}
std::string UpdateWebhookRequest::getBody()const
{
return body_;
}
void UpdateWebhookRequest::setBody(const std::string& body)
{
body_ = body;
setParameter("Body", body);
}
std::string UpdateWebhookRequest::getUrl()const
{
return url_;
}
void UpdateWebhookRequest::setUrl(const std::string& url)
{
url_ = url;
setParameter("Url", url);
}
std::string UpdateWebhookRequest::getContactName()const
{
return contactName_;
}
void UpdateWebhookRequest::setContactName(const std::string& contactName)
{
contactName_ = contactName;
setParameter("ContactName", contactName);
}
std::string UpdateWebhookRequest::getRegionId()const
{
return regionId_;
}
void UpdateWebhookRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

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.
*/
#include <alibabacloud/arms/model/UpdateWebhookResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
UpdateWebhookResult::UpdateWebhookResult() :
ServiceResult()
{}
UpdateWebhookResult::UpdateWebhookResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
UpdateWebhookResult::~UpdateWebhookResult()
{}
void UpdateWebhookResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["IsSuccess"].isNull())
isSuccess_ = value["IsSuccess"].asString() == "true";
}
bool UpdateWebhookResult::getIsSuccess()const
{
return isSuccess_;
}

View File

@@ -279,6 +279,8 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/DescribeTagResourcesResult.h
include/alibabacloud/cdn/model/DescribeTopDomainsByFlowRequest.h
include/alibabacloud/cdn/model/DescribeTopDomainsByFlowResult.h
include/alibabacloud/cdn/model/DescribeUserCertificateExpireCountRequest.h
include/alibabacloud/cdn/model/DescribeUserCertificateExpireCountResult.h
include/alibabacloud/cdn/model/DescribeUserConfigsRequest.h
include/alibabacloud/cdn/model/DescribeUserConfigsResult.h
include/alibabacloud/cdn/model/DescribeUserCustomLogConfigRequest.h
@@ -678,6 +680,8 @@ set(cdn_src
src/model/DescribeTagResourcesResult.cc
src/model/DescribeTopDomainsByFlowRequest.cc
src/model/DescribeTopDomainsByFlowResult.cc
src/model/DescribeUserCertificateExpireCountRequest.cc
src/model/DescribeUserCertificateExpireCountResult.cc
src/model/DescribeUserConfigsRequest.cc
src/model/DescribeUserConfigsResult.cc
src/model/DescribeUserCustomLogConfigRequest.cc

View File

@@ -280,6 +280,8 @@
#include "model/DescribeTagResourcesResult.h"
#include "model/DescribeTopDomainsByFlowRequest.h"
#include "model/DescribeTopDomainsByFlowResult.h"
#include "model/DescribeUserCertificateExpireCountRequest.h"
#include "model/DescribeUserCertificateExpireCountResult.h"
#include "model/DescribeUserConfigsRequest.h"
#include "model/DescribeUserConfigsResult.h"
#include "model/DescribeUserCustomLogConfigRequest.h"
@@ -814,6 +816,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeTopDomainsByFlowResult> DescribeTopDomainsByFlowOutcome;
typedef std::future<DescribeTopDomainsByFlowOutcome> DescribeTopDomainsByFlowOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeTopDomainsByFlowRequest&, const DescribeTopDomainsByFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTopDomainsByFlowAsyncHandler;
typedef Outcome<Error, Model::DescribeUserCertificateExpireCountResult> DescribeUserCertificateExpireCountOutcome;
typedef std::future<DescribeUserCertificateExpireCountOutcome> DescribeUserCertificateExpireCountOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeUserCertificateExpireCountRequest&, const DescribeUserCertificateExpireCountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserCertificateExpireCountAsyncHandler;
typedef Outcome<Error, Model::DescribeUserConfigsResult> DescribeUserConfigsOutcome;
typedef std::future<DescribeUserConfigsOutcome> DescribeUserConfigsOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeUserConfigsRequest&, const DescribeUserConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserConfigsAsyncHandler;
@@ -1413,6 +1418,9 @@ namespace AlibabaCloud
DescribeTopDomainsByFlowOutcome describeTopDomainsByFlow(const Model::DescribeTopDomainsByFlowRequest &request)const;
void describeTopDomainsByFlowAsync(const Model::DescribeTopDomainsByFlowRequest& request, const DescribeTopDomainsByFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTopDomainsByFlowOutcomeCallable describeTopDomainsByFlowCallable(const Model::DescribeTopDomainsByFlowRequest& request) const;
DescribeUserCertificateExpireCountOutcome describeUserCertificateExpireCount(const Model::DescribeUserCertificateExpireCountRequest &request)const;
void describeUserCertificateExpireCountAsync(const Model::DescribeUserCertificateExpireCountRequest& request, const DescribeUserCertificateExpireCountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeUserCertificateExpireCountOutcomeCallable describeUserCertificateExpireCountCallable(const Model::DescribeUserCertificateExpireCountRequest& request) const;
DescribeUserConfigsOutcome describeUserConfigs(const Model::DescribeUserConfigsRequest &request)const;
void describeUserConfigsAsync(const Model::DescribeUserConfigsRequest& request, const DescribeUserConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeUserConfigsOutcomeCallable describeUserConfigsCallable(const Model::DescribeUserConfigsRequest& request) const;

View File

@@ -14,35 +14,35 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTDETAILREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTDETAILREQUEST_H_
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCERTIFICATEEXPIRECOUNTREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCERTIFICATEEXPIRECOUNTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetProjectDetailRequest : public RpcServiceRequest
class ALIBABACLOUD_CDN_EXPORT DescribeUserCertificateExpireCountRequest : public RpcServiceRequest
{
public:
GetProjectDetailRequest();
~GetProjectDetailRequest();
DescribeUserCertificateExpireCountRequest();
~DescribeUserCertificateExpireCountRequest();
long getProjectId()const;
void setProjectId(long projectId);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long projectId_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTDETAILREQUEST_H_
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCERTIFICATEEXPIRECOUNTREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* 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_CDN_MODEL_DESCRIBEUSERCERTIFICATEEXPIRECOUNTRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCERTIFICATEEXPIRECOUNTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT DescribeUserCertificateExpireCountResult : public ServiceResult
{
public:
DescribeUserCertificateExpireCountResult();
explicit DescribeUserCertificateExpireCountResult(const std::string &payload);
~DescribeUserCertificateExpireCountResult();
int getExpireWithin30DaysCount()const;
int getExpiredCount()const;
protected:
void parse(const std::string &payload);
private:
int expireWithin30DaysCount_;
int expiredCount_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCERTIFICATEEXPIRECOUNTRESULT_H_

View File

@@ -4695,6 +4695,42 @@ CdnClient::DescribeTopDomainsByFlowOutcomeCallable CdnClient::describeTopDomains
return task->get_future();
}
CdnClient::DescribeUserCertificateExpireCountOutcome CdnClient::describeUserCertificateExpireCount(const DescribeUserCertificateExpireCountRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeUserCertificateExpireCountOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeUserCertificateExpireCountOutcome(DescribeUserCertificateExpireCountResult(outcome.result()));
else
return DescribeUserCertificateExpireCountOutcome(outcome.error());
}
void CdnClient::describeUserCertificateExpireCountAsync(const DescribeUserCertificateExpireCountRequest& request, const DescribeUserCertificateExpireCountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeUserCertificateExpireCount(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::DescribeUserCertificateExpireCountOutcomeCallable CdnClient::describeUserCertificateExpireCountCallable(const DescribeUserCertificateExpireCountRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeUserCertificateExpireCountOutcome()>>(
[this, request]()
{
return this->describeUserCertificateExpireCount(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CdnClient::DescribeUserConfigsOutcome CdnClient::describeUserConfigs(const DescribeUserConfigsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,40 @@
/*
* 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.
*/
#include <alibabacloud/cdn/model/DescribeUserCertificateExpireCountRequest.h>
using AlibabaCloud::Cdn::Model::DescribeUserCertificateExpireCountRequest;
DescribeUserCertificateExpireCountRequest::DescribeUserCertificateExpireCountRequest() :
RpcServiceRequest("cdn", "2018-05-10", "DescribeUserCertificateExpireCount")
{
setMethod(HttpRequest::Method::Post);
}
DescribeUserCertificateExpireCountRequest::~DescribeUserCertificateExpireCountRequest()
{}
long DescribeUserCertificateExpireCountRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeUserCertificateExpireCountRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -0,0 +1,58 @@
/*
* 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.
*/
#include <alibabacloud/cdn/model/DescribeUserCertificateExpireCountResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cdn;
using namespace AlibabaCloud::Cdn::Model;
DescribeUserCertificateExpireCountResult::DescribeUserCertificateExpireCountResult() :
ServiceResult()
{}
DescribeUserCertificateExpireCountResult::DescribeUserCertificateExpireCountResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeUserCertificateExpireCountResult::~DescribeUserCertificateExpireCountResult()
{}
void DescribeUserCertificateExpireCountResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ExpireWithin30DaysCount"].isNull())
expireWithin30DaysCount_ = std::stoi(value["ExpireWithin30DaysCount"].asString());
if(!value["ExpiredCount"].isNull())
expiredCount_ = std::stoi(value["ExpiredCount"].asString());
}
int DescribeUserCertificateExpireCountResult::getExpireWithin30DaysCount()const
{
return expireWithin30DaysCount_;
}
int DescribeUserCertificateExpireCountResult::getExpiredCount()const
{
return expiredCount_;
}

View File

@@ -83,6 +83,8 @@ set(cloudauth_public_header_model
include/alibabacloud/cloudauth/model/InitFaceVerifyResult.h
include/alibabacloud/cloudauth/model/InitSmartVerifyRequest.h
include/alibabacloud/cloudauth/model/InitSmartVerifyResult.h
include/alibabacloud/cloudauth/model/LivenessFaceVerifyRequest.h
include/alibabacloud/cloudauth/model/LivenessFaceVerifyResult.h
include/alibabacloud/cloudauth/model/ModifyDeviceInfoRequest.h
include/alibabacloud/cloudauth/model/ModifyDeviceInfoResult.h
include/alibabacloud/cloudauth/model/SubmitMaterialsRequest.h
@@ -162,6 +164,8 @@ set(cloudauth_src
src/model/InitFaceVerifyResult.cc
src/model/InitSmartVerifyRequest.cc
src/model/InitSmartVerifyResult.cc
src/model/LivenessFaceVerifyRequest.cc
src/model/LivenessFaceVerifyResult.cc
src/model/ModifyDeviceInfoRequest.cc
src/model/ModifyDeviceInfoResult.cc
src/model/SubmitMaterialsRequest.cc

View File

@@ -84,6 +84,8 @@
#include "model/InitFaceVerifyResult.h"
#include "model/InitSmartVerifyRequest.h"
#include "model/InitSmartVerifyResult.h"
#include "model/LivenessFaceVerifyRequest.h"
#include "model/LivenessFaceVerifyResult.h"
#include "model/ModifyDeviceInfoRequest.h"
#include "model/ModifyDeviceInfoResult.h"
#include "model/SubmitMaterialsRequest.h"
@@ -200,6 +202,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::InitSmartVerifyResult> InitSmartVerifyOutcome;
typedef std::future<InitSmartVerifyOutcome> InitSmartVerifyOutcomeCallable;
typedef std::function<void(const CloudauthClient*, const Model::InitSmartVerifyRequest&, const InitSmartVerifyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InitSmartVerifyAsyncHandler;
typedef Outcome<Error, Model::LivenessFaceVerifyResult> LivenessFaceVerifyOutcome;
typedef std::future<LivenessFaceVerifyOutcome> LivenessFaceVerifyOutcomeCallable;
typedef std::function<void(const CloudauthClient*, const Model::LivenessFaceVerifyRequest&, const LivenessFaceVerifyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> LivenessFaceVerifyAsyncHandler;
typedef Outcome<Error, Model::ModifyDeviceInfoResult> ModifyDeviceInfoOutcome;
typedef std::future<ModifyDeviceInfoOutcome> ModifyDeviceInfoOutcomeCallable;
typedef std::function<void(const CloudauthClient*, const Model::ModifyDeviceInfoRequest&, const ModifyDeviceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDeviceInfoAsyncHandler;
@@ -319,6 +324,9 @@ namespace AlibabaCloud
InitSmartVerifyOutcome initSmartVerify(const Model::InitSmartVerifyRequest &request)const;
void initSmartVerifyAsync(const Model::InitSmartVerifyRequest& request, const InitSmartVerifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
InitSmartVerifyOutcomeCallable initSmartVerifyCallable(const Model::InitSmartVerifyRequest& request) const;
LivenessFaceVerifyOutcome livenessFaceVerify(const Model::LivenessFaceVerifyRequest &request)const;
void livenessFaceVerifyAsync(const Model::LivenessFaceVerifyRequest& request, const LivenessFaceVerifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
LivenessFaceVerifyOutcomeCallable livenessFaceVerifyCallable(const Model::LivenessFaceVerifyRequest& request) const;
ModifyDeviceInfoOutcome modifyDeviceInfo(const Model::ModifyDeviceInfoRequest &request)const;
void modifyDeviceInfoAsync(const Model::ModifyDeviceInfoRequest& request, const ModifyDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDeviceInfoOutcomeCallable modifyDeviceInfoCallable(const Model::ModifyDeviceInfoRequest& request) const;

View File

@@ -67,8 +67,12 @@ namespace AlibabaCloud
void setSceneId(long sceneId);
std::string getOssBucketName()const;
void setOssBucketName(const std::string& ossBucketName);
std::string getCallbackToken()const;
void setCallbackToken(const std::string& callbackToken);
std::string getReturnUrl()const;
void setReturnUrl(const std::string& returnUrl);
std::string getCallbackUrl()const;
void setCallbackUrl(const std::string& callbackUrl);
private:
std::string productCode_;
@@ -87,7 +91,9 @@ namespace AlibabaCloud
std::string mobile_;
long sceneId_;
std::string ossBucketName_;
std::string callbackToken_;
std::string returnUrl_;
std::string callbackUrl_;
};
}

View File

@@ -35,14 +35,12 @@ namespace AlibabaCloud
InitSmartVerifyRequest();
~InitSmartVerifyRequest();
std::string getIp()const;
void setIp(const std::string& ip);
std::string getCertName()const;
void setCertName(const std::string& certName);
std::string getMobile()const;
void setMobile(const std::string& mobile);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getCertifyId()const;
void setCertifyId(const std::string& certifyId);
std::string getFacePictureBase64()const;
void setFacePictureBase64(const std::string& facePictureBase64);
std::string getMode()const;
void setMode(const std::string& mode);
std::string getCertNo()const;
@@ -51,25 +49,48 @@ namespace AlibabaCloud
void setOuterOrderNo(const std::string& outerOrderNo);
std::string getCertType()const;
void setCertType(const std::string& certType);
long getSceneId()const;
void setSceneId(long sceneId);
std::string getMetaInfo()const;
void setMetaInfo(const std::string& metaInfo);
std::string getOcr()const;
void setOcr(const std::string& ocr);
std::string getOssObjectName()const;
void setOssObjectName(const std::string& ossObjectName);
std::string getFacePictureUrl()const;
void setFacePictureUrl(const std::string& facePictureUrl);
std::string getIp()const;
void setIp(const std::string& ip);
std::string getCertName()const;
void setCertName(const std::string& certName);
std::string getMobile()const;
void setMobile(const std::string& mobile);
long getSceneId()const;
void setSceneId(long sceneId);
std::string getCallbackToken()const;
void setCallbackToken(const std::string& callbackToken);
std::string getOssBucketName()const;
void setOssBucketName(const std::string& ossBucketName);
std::string getCallbackUrl()const;
void setCallbackUrl(const std::string& callbackUrl);
private:
std::string ip_;
std::string certName_;
std::string mobile_;
std::string userId_;
std::string certifyId_;
std::string facePictureBase64_;
std::string mode_;
std::string certNo_;
std::string outerOrderNo_;
std::string certType_;
long sceneId_;
std::string metaInfo_;
std::string ocr_;
std::string ossObjectName_;
std::string facePictureUrl_;
std::string ip_;
std::string certName_;
std::string mobile_;
long sceneId_;
std::string callbackToken_;
std::string ossBucketName_;
std::string callbackUrl_;
};
}

View File

@@ -0,0 +1,84 @@
/*
* 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_CLOUDAUTH_MODEL_LIVENESSFACEVERIFYREQUEST_H_
#define ALIBABACLOUD_CLOUDAUTH_MODEL_LIVENESSFACEVERIFYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudauth/CloudauthExport.h>
namespace AlibabaCloud
{
namespace Cloudauth
{
namespace Model
{
class ALIBABACLOUD_CLOUDAUTH_EXPORT LivenessFaceVerifyRequest : public RpcServiceRequest
{
public:
LivenessFaceVerifyRequest();
~LivenessFaceVerifyRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getOssObjectName()const;
void setOssObjectName(const std::string& ossObjectName);
std::string getFaceContrastPicture()const;
void setFaceContrastPicture(const std::string& faceContrastPicture);
std::string getIp()const;
void setIp(const std::string& ip);
std::string getMobile()const;
void setMobile(const std::string& mobile);
std::string getDeviceToken()const;
void setDeviceToken(const std::string& deviceToken);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getCertifyId()const;
void setCertifyId(const std::string& certifyId);
std::string getOuterOrderNo()const;
void setOuterOrderNo(const std::string& outerOrderNo);
std::string getFaceContrastPictureUrl()const;
void setFaceContrastPictureUrl(const std::string& faceContrastPictureUrl);
long getSceneId()const;
void setSceneId(long sceneId);
std::string getOssBucketName()const;
void setOssBucketName(const std::string& ossBucketName);
std::string getModel()const;
void setModel(const std::string& model);
private:
std::string productCode_;
std::string ossObjectName_;
std::string faceContrastPicture_;
std::string ip_;
std::string mobile_;
std::string deviceToken_;
std::string userId_;
std::string certifyId_;
std::string outerOrderNo_;
std::string faceContrastPictureUrl_;
long sceneId_;
std::string ossBucketName_;
std::string model_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_LIVENESSFACEVERIFYREQUEST_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_CLOUDAUTH_MODEL_LIVENESSFACEVERIFYRESULT_H_
#define ALIBABACLOUD_CLOUDAUTH_MODEL_LIVENESSFACEVERIFYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudauth/CloudauthExport.h>
namespace AlibabaCloud
{
namespace Cloudauth
{
namespace Model
{
class ALIBABACLOUD_CLOUDAUTH_EXPORT LivenessFaceVerifyResult : public ServiceResult
{
public:
struct ResultObject
{
std::string passed;
std::string materialInfo;
std::string subCode;
};
LivenessFaceVerifyResult();
explicit LivenessFaceVerifyResult(const std::string &payload);
~LivenessFaceVerifyResult();
ResultObject getResultObject()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
ResultObject resultObject_;
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_LIVENESSFACEVERIFYRESULT_H_

View File

@@ -1167,6 +1167,42 @@ CloudauthClient::InitSmartVerifyOutcomeCallable CloudauthClient::initSmartVerify
return task->get_future();
}
CloudauthClient::LivenessFaceVerifyOutcome CloudauthClient::livenessFaceVerify(const LivenessFaceVerifyRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return LivenessFaceVerifyOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return LivenessFaceVerifyOutcome(LivenessFaceVerifyResult(outcome.result()));
else
return LivenessFaceVerifyOutcome(outcome.error());
}
void CloudauthClient::livenessFaceVerifyAsync(const LivenessFaceVerifyRequest& request, const LivenessFaceVerifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, livenessFaceVerify(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudauthClient::LivenessFaceVerifyOutcomeCallable CloudauthClient::livenessFaceVerifyCallable(const LivenessFaceVerifyRequest &request) const
{
auto task = std::make_shared<std::packaged_task<LivenessFaceVerifyOutcome()>>(
[this, request]()
{
return this->livenessFaceVerify(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudauthClient::ModifyDeviceInfoOutcome CloudauthClient::modifyDeviceInfo(const ModifyDeviceInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -203,6 +203,17 @@ void InitFaceVerifyRequest::setOssBucketName(const std::string& ossBucketName)
setParameter("OssBucketName", ossBucketName);
}
std::string InitFaceVerifyRequest::getCallbackToken()const
{
return callbackToken_;
}
void InitFaceVerifyRequest::setCallbackToken(const std::string& callbackToken)
{
callbackToken_ = callbackToken;
setParameter("CallbackToken", callbackToken);
}
std::string InitFaceVerifyRequest::getReturnUrl()const
{
return returnUrl_;
@@ -214,3 +225,14 @@ void InitFaceVerifyRequest::setReturnUrl(const std::string& returnUrl)
setParameter("ReturnUrl", returnUrl);
}
std::string InitFaceVerifyRequest::getCallbackUrl()const
{
return callbackUrl_;
}
void InitFaceVerifyRequest::setCallbackUrl(const std::string& callbackUrl)
{
callbackUrl_ = callbackUrl;
setParameter("CallbackUrl", callbackUrl);
}

View File

@@ -27,39 +27,6 @@ InitSmartVerifyRequest::InitSmartVerifyRequest() :
InitSmartVerifyRequest::~InitSmartVerifyRequest()
{}
std::string InitSmartVerifyRequest::getIp()const
{
return ip_;
}
void InitSmartVerifyRequest::setIp(const std::string& ip)
{
ip_ = ip;
setBodyParameter("Ip", ip);
}
std::string InitSmartVerifyRequest::getCertName()const
{
return certName_;
}
void InitSmartVerifyRequest::setCertName(const std::string& certName)
{
certName_ = certName;
setBodyParameter("CertName", certName);
}
std::string InitSmartVerifyRequest::getMobile()const
{
return mobile_;
}
void InitSmartVerifyRequest::setMobile(const std::string& mobile)
{
mobile_ = mobile;
setBodyParameter("Mobile", mobile);
}
std::string InitSmartVerifyRequest::getUserId()const
{
return userId_;
@@ -71,6 +38,28 @@ void InitSmartVerifyRequest::setUserId(const std::string& userId)
setBodyParameter("UserId", userId);
}
std::string InitSmartVerifyRequest::getCertifyId()const
{
return certifyId_;
}
void InitSmartVerifyRequest::setCertifyId(const std::string& certifyId)
{
certifyId_ = certifyId;
setBodyParameter("CertifyId", certifyId);
}
std::string InitSmartVerifyRequest::getFacePictureBase64()const
{
return facePictureBase64_;
}
void InitSmartVerifyRequest::setFacePictureBase64(const std::string& facePictureBase64)
{
facePictureBase64_ = facePictureBase64;
setBodyParameter("FacePictureBase64", facePictureBase64);
}
std::string InitSmartVerifyRequest::getMode()const
{
return mode_;
@@ -115,17 +104,6 @@ void InitSmartVerifyRequest::setCertType(const std::string& certType)
setBodyParameter("CertType", certType);
}
long InitSmartVerifyRequest::getSceneId()const
{
return sceneId_;
}
void InitSmartVerifyRequest::setSceneId(long sceneId)
{
sceneId_ = sceneId;
setBodyParameter("SceneId", std::to_string(sceneId));
}
std::string InitSmartVerifyRequest::getMetaInfo()const
{
return metaInfo_;
@@ -148,3 +126,102 @@ void InitSmartVerifyRequest::setOcr(const std::string& ocr)
setBodyParameter("Ocr", ocr);
}
std::string InitSmartVerifyRequest::getOssObjectName()const
{
return ossObjectName_;
}
void InitSmartVerifyRequest::setOssObjectName(const std::string& ossObjectName)
{
ossObjectName_ = ossObjectName;
setBodyParameter("OssObjectName", ossObjectName);
}
std::string InitSmartVerifyRequest::getFacePictureUrl()const
{
return facePictureUrl_;
}
void InitSmartVerifyRequest::setFacePictureUrl(const std::string& facePictureUrl)
{
facePictureUrl_ = facePictureUrl;
setBodyParameter("FacePictureUrl", facePictureUrl);
}
std::string InitSmartVerifyRequest::getIp()const
{
return ip_;
}
void InitSmartVerifyRequest::setIp(const std::string& ip)
{
ip_ = ip;
setBodyParameter("Ip", ip);
}
std::string InitSmartVerifyRequest::getCertName()const
{
return certName_;
}
void InitSmartVerifyRequest::setCertName(const std::string& certName)
{
certName_ = certName;
setBodyParameter("CertName", certName);
}
std::string InitSmartVerifyRequest::getMobile()const
{
return mobile_;
}
void InitSmartVerifyRequest::setMobile(const std::string& mobile)
{
mobile_ = mobile;
setBodyParameter("Mobile", mobile);
}
long InitSmartVerifyRequest::getSceneId()const
{
return sceneId_;
}
void InitSmartVerifyRequest::setSceneId(long sceneId)
{
sceneId_ = sceneId;
setBodyParameter("SceneId", std::to_string(sceneId));
}
std::string InitSmartVerifyRequest::getCallbackToken()const
{
return callbackToken_;
}
void InitSmartVerifyRequest::setCallbackToken(const std::string& callbackToken)
{
callbackToken_ = callbackToken;
setBodyParameter("CallbackToken", callbackToken);
}
std::string InitSmartVerifyRequest::getOssBucketName()const
{
return ossBucketName_;
}
void InitSmartVerifyRequest::setOssBucketName(const std::string& ossBucketName)
{
ossBucketName_ = ossBucketName;
setBodyParameter("OssBucketName", ossBucketName);
}
std::string InitSmartVerifyRequest::getCallbackUrl()const
{
return callbackUrl_;
}
void InitSmartVerifyRequest::setCallbackUrl(const std::string& callbackUrl)
{
callbackUrl_ = callbackUrl;
setBodyParameter("CallbackUrl", callbackUrl);
}

View File

@@ -0,0 +1,172 @@
/*
* 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.
*/
#include <alibabacloud/cloudauth/model/LivenessFaceVerifyRequest.h>
using AlibabaCloud::Cloudauth::Model::LivenessFaceVerifyRequest;
LivenessFaceVerifyRequest::LivenessFaceVerifyRequest() :
RpcServiceRequest("cloudauth", "2019-03-07", "LivenessFaceVerify")
{
setMethod(HttpRequest::Method::Post);
}
LivenessFaceVerifyRequest::~LivenessFaceVerifyRequest()
{}
std::string LivenessFaceVerifyRequest::getProductCode()const
{
return productCode_;
}
void LivenessFaceVerifyRequest::setProductCode(const std::string& productCode)
{
productCode_ = productCode;
setBodyParameter("ProductCode", productCode);
}
std::string LivenessFaceVerifyRequest::getOssObjectName()const
{
return ossObjectName_;
}
void LivenessFaceVerifyRequest::setOssObjectName(const std::string& ossObjectName)
{
ossObjectName_ = ossObjectName;
setBodyParameter("OssObjectName", ossObjectName);
}
std::string LivenessFaceVerifyRequest::getFaceContrastPicture()const
{
return faceContrastPicture_;
}
void LivenessFaceVerifyRequest::setFaceContrastPicture(const std::string& faceContrastPicture)
{
faceContrastPicture_ = faceContrastPicture;
setBodyParameter("FaceContrastPicture", faceContrastPicture);
}
std::string LivenessFaceVerifyRequest::getIp()const
{
return ip_;
}
void LivenessFaceVerifyRequest::setIp(const std::string& ip)
{
ip_ = ip;
setBodyParameter("Ip", ip);
}
std::string LivenessFaceVerifyRequest::getMobile()const
{
return mobile_;
}
void LivenessFaceVerifyRequest::setMobile(const std::string& mobile)
{
mobile_ = mobile;
setBodyParameter("Mobile", mobile);
}
std::string LivenessFaceVerifyRequest::getDeviceToken()const
{
return deviceToken_;
}
void LivenessFaceVerifyRequest::setDeviceToken(const std::string& deviceToken)
{
deviceToken_ = deviceToken;
setBodyParameter("DeviceToken", deviceToken);
}
std::string LivenessFaceVerifyRequest::getUserId()const
{
return userId_;
}
void LivenessFaceVerifyRequest::setUserId(const std::string& userId)
{
userId_ = userId;
setBodyParameter("UserId", userId);
}
std::string LivenessFaceVerifyRequest::getCertifyId()const
{
return certifyId_;
}
void LivenessFaceVerifyRequest::setCertifyId(const std::string& certifyId)
{
certifyId_ = certifyId;
setBodyParameter("CertifyId", certifyId);
}
std::string LivenessFaceVerifyRequest::getOuterOrderNo()const
{
return outerOrderNo_;
}
void LivenessFaceVerifyRequest::setOuterOrderNo(const std::string& outerOrderNo)
{
outerOrderNo_ = outerOrderNo;
setBodyParameter("OuterOrderNo", outerOrderNo);
}
std::string LivenessFaceVerifyRequest::getFaceContrastPictureUrl()const
{
return faceContrastPictureUrl_;
}
void LivenessFaceVerifyRequest::setFaceContrastPictureUrl(const std::string& faceContrastPictureUrl)
{
faceContrastPictureUrl_ = faceContrastPictureUrl;
setBodyParameter("FaceContrastPictureUrl", faceContrastPictureUrl);
}
long LivenessFaceVerifyRequest::getSceneId()const
{
return sceneId_;
}
void LivenessFaceVerifyRequest::setSceneId(long sceneId)
{
sceneId_ = sceneId;
setBodyParameter("SceneId", std::to_string(sceneId));
}
std::string LivenessFaceVerifyRequest::getOssBucketName()const
{
return ossBucketName_;
}
void LivenessFaceVerifyRequest::setOssBucketName(const std::string& ossBucketName)
{
ossBucketName_ = ossBucketName;
setBodyParameter("OssBucketName", ossBucketName);
}
std::string LivenessFaceVerifyRequest::getModel()const
{
return model_;
}
void LivenessFaceVerifyRequest::setModel(const std::string& model)
{
model_ = model;
setParameter("Model", model);
}

View File

@@ -0,0 +1,70 @@
/*
* 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.
*/
#include <alibabacloud/cloudauth/model/LivenessFaceVerifyResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudauth;
using namespace AlibabaCloud::Cloudauth::Model;
LivenessFaceVerifyResult::LivenessFaceVerifyResult() :
ServiceResult()
{}
LivenessFaceVerifyResult::LivenessFaceVerifyResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
LivenessFaceVerifyResult::~LivenessFaceVerifyResult()
{}
void LivenessFaceVerifyResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto resultObjectNode = value["ResultObject"];
if(!resultObjectNode["Passed"].isNull())
resultObject_.passed = resultObjectNode["Passed"].asString();
if(!resultObjectNode["MaterialInfo"].isNull())
resultObject_.materialInfo = resultObjectNode["MaterialInfo"].asString();
if(!resultObjectNode["SubCode"].isNull())
resultObject_.subCode = resultObjectNode["SubCode"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
}
LivenessFaceVerifyResult::ResultObject LivenessFaceVerifyResult::getResultObject()const
{
return resultObject_;
}
std::string LivenessFaceVerifyResult::getMessage()const
{
return message_;
}
std::string LivenessFaceVerifyResult::getCode()const
{
return code_;
}

View File

@@ -128,6 +128,22 @@ RoaServiceClient::buildHttpRequest(const std::string &endpoint,
request.setHeader("Content-MD5",
ComputeContentMD5(msg.content(), msg.contentSize()));
request.setBody(msg.content(), msg.contentSize());
} else {
if (msg.parameter("Content-Type").empty()) {
request.setHeader("Content-Type", "application/x-www-form-urlencoded");
auto body_params = msg.bodyParameters();
std::stringstream sbody;
for (const auto &p : body_params) {
sbody << "&" << p.first << "=" << UrlEncode(p.second);
}
request.setBody(sbody.str().c_str(), sbody.str().size());
request.setHeader("Content-Length", std::to_string(request.bodySize()));
request.setHeader("Content-MD5",
ComputeContentMD5(request.body(), request.bodySize()));
} else {
request.setHeader("Content-MD5",
ComputeContentMD5(msg.content(), msg.contentSize()));
}
}
std::time_t t = std::time(nullptr);

View File

@@ -21,461 +21,53 @@ set(dataworks-public_public_header
include/alibabacloud/dataworks-public/Dataworks_publicExport.h )
set(dataworks-public_public_header_model
include/alibabacloud/dataworks-public/model/AbolishDataServiceApiRequest.h
include/alibabacloud/dataworks-public/model/AbolishDataServiceApiResult.h
include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleRequest.h
include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleResult.h
include/alibabacloud/dataworks-public/model/AddToMetaCategoryRequest.h
include/alibabacloud/dataworks-public/model/AddToMetaCategoryResult.h
include/alibabacloud/dataworks-public/model/CheckMetaPartitionRequest.h
include/alibabacloud/dataworks-public/model/CheckMetaPartitionResult.h
include/alibabacloud/dataworks-public/model/CheckMetaTableRequest.h
include/alibabacloud/dataworks-public/model/CheckMetaTableResult.h
include/alibabacloud/dataworks-public/model/CreateConnectionRequest.h
include/alibabacloud/dataworks-public/model/CreateConnectionResult.h
include/alibabacloud/dataworks-public/model/CreateDagComplementRequest.h
include/alibabacloud/dataworks-public/model/CreateDagComplementResult.h
include/alibabacloud/dataworks-public/model/CreateDagTestRequest.h
include/alibabacloud/dataworks-public/model/CreateDagTestResult.h
include/alibabacloud/dataworks-public/model/CreateDataServiceApiRequest.h
include/alibabacloud/dataworks-public/model/CreateDataServiceApiResult.h
include/alibabacloud/dataworks-public/model/CreateFileRequest.h
include/alibabacloud/dataworks-public/model/CreateFileResult.h
include/alibabacloud/dataworks-public/model/CreateFolderRequest.h
include/alibabacloud/dataworks-public/model/CreateFolderResult.h
include/alibabacloud/dataworks-public/model/CreateMetaCategoryRequest.h
include/alibabacloud/dataworks-public/model/CreateMetaCategoryResult.h
include/alibabacloud/dataworks-public/model/CreateProjectMemberRequest.h
include/alibabacloud/dataworks-public/model/CreateProjectMemberResult.h
include/alibabacloud/dataworks-public/model/CreateQualityEntityRequest.h
include/alibabacloud/dataworks-public/model/CreateQualityEntityResult.h
include/alibabacloud/dataworks-public/model/CreateQualityFollowerRequest.h
include/alibabacloud/dataworks-public/model/CreateQualityFollowerResult.h
include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeRequest.h
include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeResult.h
include/alibabacloud/dataworks-public/model/CreateQualityRuleRequest.h
include/alibabacloud/dataworks-public/model/CreateQualityRuleResult.h
include/alibabacloud/dataworks-public/model/CreateRemindRequest.h
include/alibabacloud/dataworks-public/model/CreateRemindResult.h
include/alibabacloud/dataworks-public/model/CreateUdfFileRequest.h
include/alibabacloud/dataworks-public/model/CreateUdfFileResult.h
include/alibabacloud/dataworks-public/model/DeleteBusinessRequest.h
include/alibabacloud/dataworks-public/model/DeleteBusinessResult.h
include/alibabacloud/dataworks-public/model/DeleteConnectionRequest.h
include/alibabacloud/dataworks-public/model/DeleteConnectionResult.h
include/alibabacloud/dataworks-public/model/DeleteDataServiceApiRequest.h
include/alibabacloud/dataworks-public/model/DeleteDataServiceApiResult.h
include/alibabacloud/dataworks-public/model/CheckCallbackRequest.h
include/alibabacloud/dataworks-public/model/CheckCallbackResult.h
include/alibabacloud/dataworks-public/model/CreateManualDagRequest.h
include/alibabacloud/dataworks-public/model/CreateManualDagResult.h
include/alibabacloud/dataworks-public/model/DeleteFileRequest.h
include/alibabacloud/dataworks-public/model/DeleteFileResult.h
include/alibabacloud/dataworks-public/model/DeleteFolderRequest.h
include/alibabacloud/dataworks-public/model/DeleteFolderResult.h
include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryRequest.h
include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryResult.h
include/alibabacloud/dataworks-public/model/DeleteMetaCategoryRequest.h
include/alibabacloud/dataworks-public/model/DeleteMetaCategoryResult.h
include/alibabacloud/dataworks-public/model/DeleteProjectMemberRequest.h
include/alibabacloud/dataworks-public/model/DeleteProjectMemberResult.h
include/alibabacloud/dataworks-public/model/DeleteQualityEntityRequest.h
include/alibabacloud/dataworks-public/model/DeleteQualityEntityResult.h
include/alibabacloud/dataworks-public/model/DeleteQualityFollowerRequest.h
include/alibabacloud/dataworks-public/model/DeleteQualityFollowerResult.h
include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeRequest.h
include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeResult.h
include/alibabacloud/dataworks-public/model/DeleteQualityRuleRequest.h
include/alibabacloud/dataworks-public/model/DeleteQualityRuleResult.h
include/alibabacloud/dataworks-public/model/DeleteRemindRequest.h
include/alibabacloud/dataworks-public/model/DeleteRemindResult.h
include/alibabacloud/dataworks-public/model/DeployFileRequest.h
include/alibabacloud/dataworks-public/model/DeployFileResult.h
include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessRequest.h
include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessResult.h
include/alibabacloud/dataworks-public/model/GetBaselineConfigRequest.h
include/alibabacloud/dataworks-public/model/GetBaselineConfigResult.h
include/alibabacloud/dataworks-public/model/GetBaselineKeyPathRequest.h
include/alibabacloud/dataworks-public/model/GetBaselineKeyPathResult.h
include/alibabacloud/dataworks-public/model/GetBaselineStatusRequest.h
include/alibabacloud/dataworks-public/model/GetBaselineStatusResult.h
include/alibabacloud/dataworks-public/model/GetBusinessRequest.h
include/alibabacloud/dataworks-public/model/GetBusinessResult.h
include/alibabacloud/dataworks-public/model/GetDataServiceApiRequest.h
include/alibabacloud/dataworks-public/model/GetDataServiceApiResult.h
include/alibabacloud/dataworks-public/model/GetDataServiceApplicationRequest.h
include/alibabacloud/dataworks-public/model/GetDataServiceApplicationResult.h
include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiRequest.h
include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiResult.h
include/alibabacloud/dataworks-public/model/GetDeploymentRequest.h
include/alibabacloud/dataworks-public/model/GetDeploymentResult.h
include/alibabacloud/dataworks-public/model/GetFileRequest.h
include/alibabacloud/dataworks-public/model/GetFileResult.h
include/alibabacloud/dataworks-public/model/GetFileVersionRequest.h
include/alibabacloud/dataworks-public/model/GetFileVersionResult.h
include/alibabacloud/dataworks-public/model/GetFolderRequest.h
include/alibabacloud/dataworks-public/model/GetFolderResult.h
include/alibabacloud/dataworks-public/model/GetInstanceRequest.h
include/alibabacloud/dataworks-public/model/GetInstanceResult.h
include/alibabacloud/dataworks-public/model/GetInstanceLogRequest.h
include/alibabacloud/dataworks-public/model/GetInstanceLogResult.h
include/alibabacloud/dataworks-public/model/GetMetaCategoryRequest.h
include/alibabacloud/dataworks-public/model/GetMetaCategoryResult.h
include/alibabacloud/dataworks-public/model/GetMetaColumnLineageRequest.h
include/alibabacloud/dataworks-public/model/GetMetaColumnLineageResult.h
include/alibabacloud/dataworks-public/model/GetMetaDBInfoRequest.h
include/alibabacloud/dataworks-public/model/GetMetaDBInfoResult.h
include/alibabacloud/dataworks-public/model/GetMetaDBTableListRequest.h
include/alibabacloud/dataworks-public/model/GetMetaDBTableListResult.h
include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoRequest.h
include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoResult.h
include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogRequest.h
include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogResult.h
include/alibabacloud/dataworks-public/model/GetMetaTableColumnRequest.h
include/alibabacloud/dataworks-public/model/GetMetaTableColumnResult.h
include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoRequest.h
include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoResult.h
include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiRequest.h
include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiResult.h
include/alibabacloud/dataworks-public/model/GetMetaTableLineageRequest.h
include/alibabacloud/dataworks-public/model/GetMetaTableLineageResult.h
include/alibabacloud/dataworks-public/model/GetMetaTableListByCategoryRequest.h
include/alibabacloud/dataworks-public/model/GetMetaTableListByCategoryResult.h
include/alibabacloud/dataworks-public/model/GetMetaTableOutputRequest.h
include/alibabacloud/dataworks-public/model/GetMetaTableOutputResult.h
include/alibabacloud/dataworks-public/model/GetMetaTablePartitionRequest.h
include/alibabacloud/dataworks-public/model/GetMetaTablePartitionResult.h
include/alibabacloud/dataworks-public/model/GetNodeRequest.h
include/alibabacloud/dataworks-public/model/GetNodeResult.h
include/alibabacloud/dataworks-public/model/GetNodeCodeRequest.h
include/alibabacloud/dataworks-public/model/GetNodeCodeResult.h
include/alibabacloud/dataworks-public/model/GetNodeOnBaselineRequest.h
include/alibabacloud/dataworks-public/model/GetNodeOnBaselineResult.h
include/alibabacloud/dataworks-public/model/GetProjectDetailRequest.h
include/alibabacloud/dataworks-public/model/GetProjectDetailResult.h
include/alibabacloud/dataworks-public/model/GetQualityEntityRequest.h
include/alibabacloud/dataworks-public/model/GetQualityEntityResult.h
include/alibabacloud/dataworks-public/model/GetQualityFollowerRequest.h
include/alibabacloud/dataworks-public/model/GetQualityFollowerResult.h
include/alibabacloud/dataworks-public/model/GetQualityRuleRequest.h
include/alibabacloud/dataworks-public/model/GetQualityRuleResult.h
include/alibabacloud/dataworks-public/model/GetRemindRequest.h
include/alibabacloud/dataworks-public/model/GetRemindResult.h
include/alibabacloud/dataworks-public/model/GetTopicRequest.h
include/alibabacloud/dataworks-public/model/GetTopicResult.h
include/alibabacloud/dataworks-public/model/GetTopicInfluenceRequest.h
include/alibabacloud/dataworks-public/model/GetTopicInfluenceResult.h
include/alibabacloud/dataworks-public/model/ListAlertMessagesRequest.h
include/alibabacloud/dataworks-public/model/ListAlertMessagesResult.h
include/alibabacloud/dataworks-public/model/ListBaselineConfigsRequest.h
include/alibabacloud/dataworks-public/model/ListBaselineConfigsResult.h
include/alibabacloud/dataworks-public/model/ListBaselineStatusesRequest.h
include/alibabacloud/dataworks-public/model/ListBaselineStatusesResult.h
include/alibabacloud/dataworks-public/model/ListBusinessRequest.h
include/alibabacloud/dataworks-public/model/ListBusinessResult.h
include/alibabacloud/dataworks-public/model/ListCalcEnginesRequest.h
include/alibabacloud/dataworks-public/model/ListCalcEnginesResult.h
include/alibabacloud/dataworks-public/model/ListConnectionsRequest.h
include/alibabacloud/dataworks-public/model/ListConnectionsResult.h
include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesRequest.h
include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesResult.h
include/alibabacloud/dataworks-public/model/ListDataServiceApisRequest.h
include/alibabacloud/dataworks-public/model/ListDataServiceApisResult.h
include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsRequest.h
include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsResult.h
include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisRequest.h
include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisResult.h
include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisRequest.h
include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisResult.h
include/alibabacloud/dataworks-public/model/ListFileVersionsRequest.h
include/alibabacloud/dataworks-public/model/ListFileVersionsResult.h
include/alibabacloud/dataworks-public/model/ListFilesRequest.h
include/alibabacloud/dataworks-public/model/ListFilesResult.h
include/alibabacloud/dataworks-public/model/ListFoldersRequest.h
include/alibabacloud/dataworks-public/model/ListFoldersResult.h
include/alibabacloud/dataworks-public/model/ListInstancesRequest.h
include/alibabacloud/dataworks-public/model/ListInstancesResult.h
include/alibabacloud/dataworks-public/model/ListNodeIORequest.h
include/alibabacloud/dataworks-public/model/ListNodeIOResult.h
include/alibabacloud/dataworks-public/model/ListNodesRequest.h
include/alibabacloud/dataworks-public/model/ListNodesResult.h
include/alibabacloud/dataworks-public/model/ListProjectMembersRequest.h
include/alibabacloud/dataworks-public/model/ListProjectMembersResult.h
include/alibabacloud/dataworks-public/model/ListProjectRolesRequest.h
include/alibabacloud/dataworks-public/model/ListProjectRolesResult.h
include/alibabacloud/dataworks-public/model/ListProjectsRequest.h
include/alibabacloud/dataworks-public/model/ListProjectsResult.h
include/alibabacloud/dataworks-public/model/ListQualityRulesRequest.h
include/alibabacloud/dataworks-public/model/ListQualityRulesResult.h
include/alibabacloud/dataworks-public/model/ListRemindsRequest.h
include/alibabacloud/dataworks-public/model/ListRemindsResult.h
include/alibabacloud/dataworks-public/model/ListResourceGroupsRequest.h
include/alibabacloud/dataworks-public/model/ListResourceGroupsResult.h
include/alibabacloud/dataworks-public/model/ListTopicsRequest.h
include/alibabacloud/dataworks-public/model/ListTopicsResult.h
include/alibabacloud/dataworks-public/model/PublishDataServiceApiRequest.h
include/alibabacloud/dataworks-public/model/PublishDataServiceApiResult.h
include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleRequest.h
include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleResult.h
include/alibabacloud/dataworks-public/model/RestartInstanceRequest.h
include/alibabacloud/dataworks-public/model/RestartInstanceResult.h
include/alibabacloud/dataworks-public/model/ResumeInstanceRequest.h
include/alibabacloud/dataworks-public/model/ResumeInstanceResult.h
include/alibabacloud/dataworks-public/model/SearchMetaTablesRequest.h
include/alibabacloud/dataworks-public/model/SearchMetaTablesResult.h
include/alibabacloud/dataworks-public/model/SetSuccessInstanceRequest.h
include/alibabacloud/dataworks-public/model/SetSuccessInstanceResult.h
include/alibabacloud/dataworks-public/model/StopInstanceRequest.h
include/alibabacloud/dataworks-public/model/StopInstanceResult.h
include/alibabacloud/dataworks-public/model/SubmitFileRequest.h
include/alibabacloud/dataworks-public/model/SubmitFileResult.h
include/alibabacloud/dataworks-public/model/SuspendInstanceRequest.h
include/alibabacloud/dataworks-public/model/SuspendInstanceResult.h
include/alibabacloud/dataworks-public/model/UpdateBusinessRequest.h
include/alibabacloud/dataworks-public/model/UpdateBusinessResult.h
include/alibabacloud/dataworks-public/model/UpdateConnectionRequest.h
include/alibabacloud/dataworks-public/model/UpdateConnectionResult.h
include/alibabacloud/dataworks-public/model/UpdateDataServiceApiRequest.h
include/alibabacloud/dataworks-public/model/UpdateDataServiceApiResult.h
include/alibabacloud/dataworks-public/model/UpdateFileRequest.h
include/alibabacloud/dataworks-public/model/UpdateFileResult.h
include/alibabacloud/dataworks-public/model/UpdateFolderRequest.h
include/alibabacloud/dataworks-public/model/UpdateFolderResult.h
include/alibabacloud/dataworks-public/model/UpdateMetaCategoryRequest.h
include/alibabacloud/dataworks-public/model/UpdateMetaCategoryResult.h
include/alibabacloud/dataworks-public/model/UpdateQualityFollowerRequest.h
include/alibabacloud/dataworks-public/model/UpdateQualityFollowerResult.h
include/alibabacloud/dataworks-public/model/UpdateQualityRuleRequest.h
include/alibabacloud/dataworks-public/model/UpdateQualityRuleResult.h
include/alibabacloud/dataworks-public/model/UpdateRemindRequest.h
include/alibabacloud/dataworks-public/model/UpdateRemindResult.h
include/alibabacloud/dataworks-public/model/UpdateUdfFileRequest.h
include/alibabacloud/dataworks-public/model/UpdateUdfFileResult.h )
include/alibabacloud/dataworks-public/model/DescribeEmrHiveTableRequest.h
include/alibabacloud/dataworks-public/model/DescribeEmrHiveTableResult.h
include/alibabacloud/dataworks-public/model/ListEmrHiveAuditLogsRequest.h
include/alibabacloud/dataworks-public/model/ListEmrHiveAuditLogsResult.h
include/alibabacloud/dataworks-public/model/ListEmrHiveDatabasesRequest.h
include/alibabacloud/dataworks-public/model/ListEmrHiveDatabasesResult.h
include/alibabacloud/dataworks-public/model/ListEmrHiveTablesRequest.h
include/alibabacloud/dataworks-public/model/ListEmrHiveTablesResult.h
include/alibabacloud/dataworks-public/model/ListHiveColumnLineagesRequest.h
include/alibabacloud/dataworks-public/model/ListHiveColumnLineagesResult.h
include/alibabacloud/dataworks-public/model/ListHiveTableLineagesRequest.h
include/alibabacloud/dataworks-public/model/ListHiveTableLineagesResult.h
include/alibabacloud/dataworks-public/model/ListTablePartitionsRequest.h
include/alibabacloud/dataworks-public/model/ListTablePartitionsResult.h
include/alibabacloud/dataworks-public/model/SearchManualDagNodeInstanceRequest.h
include/alibabacloud/dataworks-public/model/SearchManualDagNodeInstanceResult.h )
set(dataworks-public_src
src/Dataworks-publicClient.cc
src/model/AbolishDataServiceApiRequest.cc
src/model/AbolishDataServiceApiResult.cc
src/model/AddProjectMemberToRoleRequest.cc
src/model/AddProjectMemberToRoleResult.cc
src/model/AddToMetaCategoryRequest.cc
src/model/AddToMetaCategoryResult.cc
src/model/CheckMetaPartitionRequest.cc
src/model/CheckMetaPartitionResult.cc
src/model/CheckMetaTableRequest.cc
src/model/CheckMetaTableResult.cc
src/model/CreateConnectionRequest.cc
src/model/CreateConnectionResult.cc
src/model/CreateDagComplementRequest.cc
src/model/CreateDagComplementResult.cc
src/model/CreateDagTestRequest.cc
src/model/CreateDagTestResult.cc
src/model/CreateDataServiceApiRequest.cc
src/model/CreateDataServiceApiResult.cc
src/model/CreateFileRequest.cc
src/model/CreateFileResult.cc
src/model/CreateFolderRequest.cc
src/model/CreateFolderResult.cc
src/model/CreateMetaCategoryRequest.cc
src/model/CreateMetaCategoryResult.cc
src/model/CreateProjectMemberRequest.cc
src/model/CreateProjectMemberResult.cc
src/model/CreateQualityEntityRequest.cc
src/model/CreateQualityEntityResult.cc
src/model/CreateQualityFollowerRequest.cc
src/model/CreateQualityFollowerResult.cc
src/model/CreateQualityRelativeNodeRequest.cc
src/model/CreateQualityRelativeNodeResult.cc
src/model/CreateQualityRuleRequest.cc
src/model/CreateQualityRuleResult.cc
src/model/CreateRemindRequest.cc
src/model/CreateRemindResult.cc
src/model/CreateUdfFileRequest.cc
src/model/CreateUdfFileResult.cc
src/model/DeleteBusinessRequest.cc
src/model/DeleteBusinessResult.cc
src/model/DeleteConnectionRequest.cc
src/model/DeleteConnectionResult.cc
src/model/DeleteDataServiceApiRequest.cc
src/model/DeleteDataServiceApiResult.cc
src/model/CheckCallbackRequest.cc
src/model/CheckCallbackResult.cc
src/model/CreateManualDagRequest.cc
src/model/CreateManualDagResult.cc
src/model/DeleteFileRequest.cc
src/model/DeleteFileResult.cc
src/model/DeleteFolderRequest.cc
src/model/DeleteFolderResult.cc
src/model/DeleteFromMetaCategoryRequest.cc
src/model/DeleteFromMetaCategoryResult.cc
src/model/DeleteMetaCategoryRequest.cc
src/model/DeleteMetaCategoryResult.cc
src/model/DeleteProjectMemberRequest.cc
src/model/DeleteProjectMemberResult.cc
src/model/DeleteQualityEntityRequest.cc
src/model/DeleteQualityEntityResult.cc
src/model/DeleteQualityFollowerRequest.cc
src/model/DeleteQualityFollowerResult.cc
src/model/DeleteQualityRelativeNodeRequest.cc
src/model/DeleteQualityRelativeNodeResult.cc
src/model/DeleteQualityRuleRequest.cc
src/model/DeleteQualityRuleResult.cc
src/model/DeleteRemindRequest.cc
src/model/DeleteRemindResult.cc
src/model/DeployFileRequest.cc
src/model/DeployFileResult.cc
src/model/EstablishRelationTableToBusinessRequest.cc
src/model/EstablishRelationTableToBusinessResult.cc
src/model/GetBaselineConfigRequest.cc
src/model/GetBaselineConfigResult.cc
src/model/GetBaselineKeyPathRequest.cc
src/model/GetBaselineKeyPathResult.cc
src/model/GetBaselineStatusRequest.cc
src/model/GetBaselineStatusResult.cc
src/model/GetBusinessRequest.cc
src/model/GetBusinessResult.cc
src/model/GetDataServiceApiRequest.cc
src/model/GetDataServiceApiResult.cc
src/model/GetDataServiceApplicationRequest.cc
src/model/GetDataServiceApplicationResult.cc
src/model/GetDataServicePublishedApiRequest.cc
src/model/GetDataServicePublishedApiResult.cc
src/model/GetDeploymentRequest.cc
src/model/GetDeploymentResult.cc
src/model/GetFileRequest.cc
src/model/GetFileResult.cc
src/model/GetFileVersionRequest.cc
src/model/GetFileVersionResult.cc
src/model/GetFolderRequest.cc
src/model/GetFolderResult.cc
src/model/GetInstanceRequest.cc
src/model/GetInstanceResult.cc
src/model/GetInstanceLogRequest.cc
src/model/GetInstanceLogResult.cc
src/model/GetMetaCategoryRequest.cc
src/model/GetMetaCategoryResult.cc
src/model/GetMetaColumnLineageRequest.cc
src/model/GetMetaColumnLineageResult.cc
src/model/GetMetaDBInfoRequest.cc
src/model/GetMetaDBInfoResult.cc
src/model/GetMetaDBTableListRequest.cc
src/model/GetMetaDBTableListResult.cc
src/model/GetMetaTableBasicInfoRequest.cc
src/model/GetMetaTableBasicInfoResult.cc
src/model/GetMetaTableChangeLogRequest.cc
src/model/GetMetaTableChangeLogResult.cc
src/model/GetMetaTableColumnRequest.cc
src/model/GetMetaTableColumnResult.cc
src/model/GetMetaTableFullInfoRequest.cc
src/model/GetMetaTableFullInfoResult.cc
src/model/GetMetaTableIntroWikiRequest.cc
src/model/GetMetaTableIntroWikiResult.cc
src/model/GetMetaTableLineageRequest.cc
src/model/GetMetaTableLineageResult.cc
src/model/GetMetaTableListByCategoryRequest.cc
src/model/GetMetaTableListByCategoryResult.cc
src/model/GetMetaTableOutputRequest.cc
src/model/GetMetaTableOutputResult.cc
src/model/GetMetaTablePartitionRequest.cc
src/model/GetMetaTablePartitionResult.cc
src/model/GetNodeRequest.cc
src/model/GetNodeResult.cc
src/model/GetNodeCodeRequest.cc
src/model/GetNodeCodeResult.cc
src/model/GetNodeOnBaselineRequest.cc
src/model/GetNodeOnBaselineResult.cc
src/model/GetProjectDetailRequest.cc
src/model/GetProjectDetailResult.cc
src/model/GetQualityEntityRequest.cc
src/model/GetQualityEntityResult.cc
src/model/GetQualityFollowerRequest.cc
src/model/GetQualityFollowerResult.cc
src/model/GetQualityRuleRequest.cc
src/model/GetQualityRuleResult.cc
src/model/GetRemindRequest.cc
src/model/GetRemindResult.cc
src/model/GetTopicRequest.cc
src/model/GetTopicResult.cc
src/model/GetTopicInfluenceRequest.cc
src/model/GetTopicInfluenceResult.cc
src/model/ListAlertMessagesRequest.cc
src/model/ListAlertMessagesResult.cc
src/model/ListBaselineConfigsRequest.cc
src/model/ListBaselineConfigsResult.cc
src/model/ListBaselineStatusesRequest.cc
src/model/ListBaselineStatusesResult.cc
src/model/ListBusinessRequest.cc
src/model/ListBusinessResult.cc
src/model/ListCalcEnginesRequest.cc
src/model/ListCalcEnginesResult.cc
src/model/ListConnectionsRequest.cc
src/model/ListConnectionsResult.cc
src/model/ListDataServiceApiAuthoritiesRequest.cc
src/model/ListDataServiceApiAuthoritiesResult.cc
src/model/ListDataServiceApisRequest.cc
src/model/ListDataServiceApisResult.cc
src/model/ListDataServiceApplicationsRequest.cc
src/model/ListDataServiceApplicationsResult.cc
src/model/ListDataServiceAuthorizedApisRequest.cc
src/model/ListDataServiceAuthorizedApisResult.cc
src/model/ListDataServicePublishedApisRequest.cc
src/model/ListDataServicePublishedApisResult.cc
src/model/ListFileVersionsRequest.cc
src/model/ListFileVersionsResult.cc
src/model/ListFilesRequest.cc
src/model/ListFilesResult.cc
src/model/ListFoldersRequest.cc
src/model/ListFoldersResult.cc
src/model/ListInstancesRequest.cc
src/model/ListInstancesResult.cc
src/model/ListNodeIORequest.cc
src/model/ListNodeIOResult.cc
src/model/ListNodesRequest.cc
src/model/ListNodesResult.cc
src/model/ListProjectMembersRequest.cc
src/model/ListProjectMembersResult.cc
src/model/ListProjectRolesRequest.cc
src/model/ListProjectRolesResult.cc
src/model/ListProjectsRequest.cc
src/model/ListProjectsResult.cc
src/model/ListQualityRulesRequest.cc
src/model/ListQualityRulesResult.cc
src/model/ListRemindsRequest.cc
src/model/ListRemindsResult.cc
src/model/ListResourceGroupsRequest.cc
src/model/ListResourceGroupsResult.cc
src/model/ListTopicsRequest.cc
src/model/ListTopicsResult.cc
src/model/PublishDataServiceApiRequest.cc
src/model/PublishDataServiceApiResult.cc
src/model/RemoveProjectMemberFromRoleRequest.cc
src/model/RemoveProjectMemberFromRoleResult.cc
src/model/RestartInstanceRequest.cc
src/model/RestartInstanceResult.cc
src/model/ResumeInstanceRequest.cc
src/model/ResumeInstanceResult.cc
src/model/SearchMetaTablesRequest.cc
src/model/SearchMetaTablesResult.cc
src/model/SetSuccessInstanceRequest.cc
src/model/SetSuccessInstanceResult.cc
src/model/StopInstanceRequest.cc
src/model/StopInstanceResult.cc
src/model/SubmitFileRequest.cc
src/model/SubmitFileResult.cc
src/model/SuspendInstanceRequest.cc
src/model/SuspendInstanceResult.cc
src/model/UpdateBusinessRequest.cc
src/model/UpdateBusinessResult.cc
src/model/UpdateConnectionRequest.cc
src/model/UpdateConnectionResult.cc
src/model/UpdateDataServiceApiRequest.cc
src/model/UpdateDataServiceApiResult.cc
src/model/UpdateFileRequest.cc
src/model/UpdateFileResult.cc
src/model/UpdateFolderRequest.cc
src/model/UpdateFolderResult.cc
src/model/UpdateMetaCategoryRequest.cc
src/model/UpdateMetaCategoryResult.cc
src/model/UpdateQualityFollowerRequest.cc
src/model/UpdateQualityFollowerResult.cc
src/model/UpdateQualityRuleRequest.cc
src/model/UpdateQualityRuleResult.cc
src/model/UpdateRemindRequest.cc
src/model/UpdateRemindResult.cc
src/model/UpdateUdfFileRequest.cc
src/model/UpdateUdfFileResult.cc )
src/model/DescribeEmrHiveTableRequest.cc
src/model/DescribeEmrHiveTableResult.cc
src/model/ListEmrHiveAuditLogsRequest.cc
src/model/ListEmrHiveAuditLogsResult.cc
src/model/ListEmrHiveDatabasesRequest.cc
src/model/ListEmrHiveDatabasesResult.cc
src/model/ListEmrHiveTablesRequest.cc
src/model/ListEmrHiveTablesResult.cc
src/model/ListHiveColumnLineagesRequest.cc
src/model/ListHiveColumnLineagesResult.cc
src/model/ListHiveTableLineagesRequest.cc
src/model/ListHiveTableLineagesResult.cc
src/model/ListTablePartitionsRequest.cc
src/model/ListTablePartitionsResult.cc
src/model/SearchManualDagNodeInstanceRequest.cc
src/model/SearchManualDagNodeInstanceResult.cc )
add_library(dataworks-public ${LIB_TYPE}
${dataworks-public_public_header}

View File

@@ -1,57 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLEREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT AddProjectMemberToRoleRequest : public RpcServiceRequest
{
public:
AddProjectMemberToRoleRequest();
~AddProjectMemberToRoleRequest();
std::string getRoleCode()const;
void setRoleCode(const std::string& roleCode);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
long getProjectId()const;
void setProjectId(long projectId);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string roleCode_;
std::string clientToken_;
long projectId_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLEREQUEST_H_

View File

@@ -1,59 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_ADDTOMETACATEGORYRESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDTOMETACATEGORYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT AddToMetaCategoryResult : public ServiceResult
{
public:
AddToMetaCategoryResult();
explicit AddToMetaCategoryResult(const std::string &payload);
~AddToMetaCategoryResult();
int getHttpStatusCode()const;
bool getData()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
bool data_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDTOMETACATEGORYRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBINFOREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBINFOREQUEST_H_
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKREQUEST_H_
#include <string>
#include <vector>
@@ -28,21 +28,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaDBInfoRequest : public RpcServiceRequest
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckCallbackRequest : public RpcServiceRequest
{
public:
GetMetaDBInfoRequest();
~GetMetaDBInfoRequest();
CheckCallbackRequest();
~CheckCallbackRequest();
std::string getAppGuid()const;
void setAppGuid(const std::string& appGuid);
std::string getCallbackResultString()const;
void setCallbackResultString(const std::string& callbackResultString);
private:
std::string appGuid_;
std::string callbackResultString_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBINFOREQUEST_H_
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERRESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERRESULT_H_
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKRESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKRESULT_H_
#include <string>
#include <vector>
@@ -29,21 +29,25 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteProjectMemberResult : public ServiceResult
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckCallbackResult : public ServiceResult
{
public:
DeleteProjectMemberResult();
explicit DeleteProjectMemberResult(const std::string &payload);
~DeleteProjectMemberResult();
CheckCallbackResult();
explicit CheckCallbackResult(const std::string &payload);
~CheckCallbackResult();
std::string getReturnCode()const;
bool getReturnValue()const;
protected:
void parse(const std::string &payload);
private:
std::string returnCode_;
bool returnValue_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERRESULT_H_
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKCALLBACKRESULT_H_

View File

@@ -1,78 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_CREATEDAGCOMPLEMENTREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGCOMPLEMENTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDagComplementRequest : public RpcServiceRequest
{
public:
CreateDagComplementRequest();
~CreateDagComplementRequest();
std::string getProjectEnv()const;
void setProjectEnv(const std::string& projectEnv);
std::string getStartBizDate()const;
void setStartBizDate(const std::string& startBizDate);
bool getParallelism()const;
void setParallelism(bool parallelism);
long getRootNodeId()const;
void setRootNodeId(long rootNodeId);
std::string getBizBeginTime()const;
void setBizBeginTime(const std::string& bizBeginTime);
std::string getEndBizDate()const;
void setEndBizDate(const std::string& endBizDate);
std::string getIncludeNodeIds()const;
void setIncludeNodeIds(const std::string& includeNodeIds);
std::string getBizEndTime()const;
void setBizEndTime(const std::string& bizEndTime);
std::string getName()const;
void setName(const std::string& name);
std::string getExcludeNodeIds()const;
void setExcludeNodeIds(const std::string& excludeNodeIds);
std::string getNodeParams()const;
void setNodeParams(const std::string& nodeParams);
private:
std::string projectEnv_;
std::string startBizDate_;
bool parallelism_;
long rootNodeId_;
std::string bizBeginTime_;
std::string endBizDate_;
std::string includeNodeIds_;
std::string bizEndTime_;
std::string name_;
std::string excludeNodeIds_;
std::string nodeParams_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGCOMPLEMENTREQUEST_H_

View File

@@ -1,59 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_CREATEDAGCOMPLEMENTRESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGCOMPLEMENTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDagComplementResult : public ServiceResult
{
public:
CreateDagComplementResult();
explicit CreateDagComplementResult(const std::string &payload);
~CreateDagComplementResult();
int getHttpStatusCode()const;
std::vector<std::string> getData()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
std::vector<std::string> data_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGCOMPLEMENTRESULT_H_

View File

@@ -1,60 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_CREATEDAGTESTREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGTESTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDagTestRequest : public RpcServiceRequest
{
public:
CreateDagTestRequest();
~CreateDagTestRequest();
std::string getProjectEnv()const;
void setProjectEnv(const std::string& projectEnv);
std::string getBizdate()const;
void setBizdate(const std::string& bizdate);
std::string getName()const;
void setName(const std::string& name);
std::string getNodeParams()const;
void setNodeParams(const std::string& nodeParams);
long getNodeId()const;
void setNodeId(long nodeId);
private:
std::string projectEnv_;
std::string bizdate_;
std::string name_;
std::string nodeParams_;
long nodeId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGTESTREQUEST_H_

View File

@@ -1,90 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataServiceApiRequest : public RpcServiceRequest
{
public:
CreateDataServiceApiRequest();
~CreateDataServiceApiRequest();
std::string getScriptDetails()const;
void setScriptDetails(const std::string& scriptDetails);
int getRequestMethod()const;
void setRequestMethod(int requestMethod);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getApiPath()const;
void setApiPath(const std::string& apiPath);
std::string getWizardDetails()const;
void setWizardDetails(const std::string& wizardDetails);
int getApiMode()const;
void setApiMode(int apiMode);
int getVisibleRange()const;
void setVisibleRange(int visibleRange);
std::string getApiDescription()const;
void setApiDescription(const std::string& apiDescription);
int getTimeout()const;
void setTimeout(int timeout);
std::string getRegistrationDetails()const;
void setRegistrationDetails(const std::string& registrationDetails);
std::string getApiName()const;
void setApiName(const std::string& apiName);
long getTenantId()const;
void setTenantId(long tenantId);
std::string getProtocols()const;
void setProtocols(const std::string& protocols);
long getProjectId()const;
void setProjectId(long projectId);
int getResponseContentType()const;
void setResponseContentType(int responseContentType);
private:
std::string scriptDetails_;
int requestMethod_;
std::string groupId_;
std::string apiPath_;
std::string wizardDetails_;
int apiMode_;
int visibleRange_;
std::string apiDescription_;
int timeout_;
std::string registrationDetails_;
std::string apiName_;
long tenantId_;
std::string protocols_;
long projectId_;
int responseContentType_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIREQUEST_H_

View File

@@ -1,105 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_CREATEFILEREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFILEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateFileRequest : public RpcServiceRequest
{
public:
CreateFileRequest();
~CreateFileRequest();
int getFileType()const;
void setFileType(int fileType);
std::string getDependentNodeIdList()const;
void setDependentNodeIdList(const std::string& dependentNodeIdList);
std::string getContent()const;
void setContent(const std::string& content);
std::string getProjectIdentifier()const;
void setProjectIdentifier(const std::string& projectIdentifier);
long getProjectId()const;
void setProjectId(long projectId);
long getStartEffectDate()const;
void setStartEffectDate(long startEffectDate);
std::string getCycleType()const;
void setCycleType(const std::string& cycleType);
std::string getOwner()const;
void setOwner(const std::string& owner);
int getAutoRerunIntervalMillis()const;
void setAutoRerunIntervalMillis(int autoRerunIntervalMillis);
std::string getInputList()const;
void setInputList(const std::string& inputList);
std::string getRerunMode()const;
void setRerunMode(const std::string& rerunMode);
std::string getParaValue()const;
void setParaValue(const std::string& paraValue);
int getAutoRerunTimes()const;
void setAutoRerunTimes(int autoRerunTimes);
std::string getCronExpress()const;
void setCronExpress(const std::string& cronExpress);
long getEndEffectDate()const;
void setEndEffectDate(long endEffectDate);
std::string getFileName()const;
void setFileName(const std::string& fileName);
bool getStop()const;
void setStop(bool stop);
std::string getDependentType()const;
void setDependentType(const std::string& dependentType);
std::string getFileFolderPath()const;
void setFileFolderPath(const std::string& fileFolderPath);
std::string getFileDescription()const;
void setFileDescription(const std::string& fileDescription);
private:
int fileType_;
std::string dependentNodeIdList_;
std::string content_;
std::string projectIdentifier_;
long projectId_;
long startEffectDate_;
std::string cycleType_;
std::string owner_;
int autoRerunIntervalMillis_;
std::string inputList_;
std::string rerunMode_;
std::string paraValue_;
int autoRerunTimes_;
std::string cronExpress_;
long endEffectDate_;
std::string fileName_;
bool stop_;
std::string dependentType_;
std::string fileFolderPath_;
std::string fileDescription_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFILEREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRULEREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRULEREQUEST_H_
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMANUALDAGREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMANUALDAGREQUEST_H_
#include <string>
#include <vector>
@@ -28,24 +28,33 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteQualityRuleRequest : public RpcServiceRequest
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateManualDagRequest : public RpcServiceRequest
{
public:
DeleteQualityRuleRequest();
~DeleteQualityRuleRequest();
CreateManualDagRequest();
~CreateManualDagRequest();
std::string getProjectName()const;
void setProjectName(const std::string& projectName);
long getRuleId()const;
void setRuleId(long ruleId);
std::string getBizdate()const;
void setBizdate(const std::string& bizdate);
std::string getFlowName()const;
void setFlowName(const std::string& flowName);
std::string getDagPara()const;
void setDagPara(const std::string& dagPara);
std::string getNodePara()const;
void setNodePara(const std::string& nodePara);
private:
std::string projectName_;
long ruleId_;
std::string bizdate_;
std::string flowName_;
std::string dagPara_;
std::string nodePara_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRULEREQUEST_H_
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMANUALDAGREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESTARTINSTANCERESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESTARTINSTANCERESULT_H_
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMANUALDAGRESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMANUALDAGRESULT_H_
#include <string>
#include <vector>
@@ -29,31 +29,29 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RestartInstanceResult : public ServiceResult
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateManualDagResult : public ServiceResult
{
public:
RestartInstanceResult();
explicit RestartInstanceResult(const std::string &payload);
~RestartInstanceResult();
int getHttpStatusCode()const;
bool getData()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
CreateManualDagResult();
explicit CreateManualDagResult(const std::string &payload);
~CreateManualDagResult();
std::string getReturnErrorSolution()const;
std::string getReturnCode()const;
std::string getReturnMessage()const;
long getReturnValue()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
bool data_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
std::string returnErrorSolution_;
std::string returnCode_;
std::string returnMessage_;
long returnValue_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESTARTINSTANCERESULT_H_
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMANUALDAGRESULT_H_

View File

@@ -1,57 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYFOLLOWERREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYFOLLOWERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityFollowerRequest : public RpcServiceRequest
{
public:
CreateQualityFollowerRequest();
~CreateQualityFollowerRequest();
int getAlarmMode()const;
void setAlarmMode(int alarmMode);
std::string getProjectName()const;
void setProjectName(const std::string& projectName);
std::string getFollower()const;
void setFollower(const std::string& follower);
long getEntityId()const;
void setEntityId(long entityId);
private:
int alarmMode_;
std::string projectName_;
std::string follower_;
long entityId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYFOLLOWERREQUEST_H_

View File

@@ -1,69 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRELATIVENODEREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRELATIVENODEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityRelativeNodeRequest : public RpcServiceRequest
{
public:
CreateQualityRelativeNodeRequest();
~CreateQualityRelativeNodeRequest();
std::string getProjectName()const;
void setProjectName(const std::string& projectName);
long getTargetNodeProjectId()const;
void setTargetNodeProjectId(long targetNodeProjectId);
std::string getMatchExpression()const;
void setMatchExpression(const std::string& matchExpression);
std::string getEnvType()const;
void setEnvType(const std::string& envType);
std::string getTargetNodeProjectName()const;
void setTargetNodeProjectName(const std::string& targetNodeProjectName);
std::string getTableName()const;
void setTableName(const std::string& tableName);
long getNodeId()const;
void setNodeId(long nodeId);
long getProjectId()const;
void setProjectId(long projectId);
private:
std::string projectName_;
long targetNodeProjectId_;
std::string matchExpression_;
std::string envType_;
std::string targetNodeProjectName_;
std::string tableName_;
long nodeId_;
long projectId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRELATIVENODEREQUEST_H_

View File

@@ -1,99 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRULEREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRULEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityRuleRequest : public RpcServiceRequest
{
public:
CreateQualityRuleRequest();
~CreateQualityRuleRequest();
std::string getProjectName()const;
void setProjectName(const std::string& projectName);
std::string getTrend()const;
void setTrend(const std::string& trend);
int getRuleType()const;
void setRuleType(int ruleType);
int getBlockType()const;
void setBlockType(int blockType);
std::string getPropertyType()const;
void setPropertyType(const std::string& propertyType);
long getEntityId()const;
void setEntityId(long entityId);
std::string getRuleName()const;
void setRuleName(const std::string& ruleName);
int getChecker()const;
void setChecker(int checker);
int getTemplateId()const;
void setTemplateId(int templateId);
std::string getExpectValue()const;
void setExpectValue(const std::string& expectValue);
std::string get_Operator()const;
void set_Operator(const std::string& _operator);
std::string getWhereCondition()const;
void setWhereCondition(const std::string& whereCondition);
std::string getCriticalThreshold()const;
void setCriticalThreshold(const std::string& criticalThreshold);
std::string getProperty()const;
void setProperty(const std::string& property);
std::string getComment()const;
void setComment(const std::string& comment);
int getPredictType()const;
void setPredictType(int predictType);
std::string getWarningThreshold()const;
void setWarningThreshold(const std::string& warningThreshold);
std::string getMethodName()const;
void setMethodName(const std::string& methodName);
private:
std::string projectName_;
std::string trend_;
int ruleType_;
int blockType_;
std::string propertyType_;
long entityId_;
std::string ruleName_;
int checker_;
int templateId_;
std::string expectValue_;
std::string _operator_;
std::string whereCondition_;
std::string criticalThreshold_;
std::string property_;
std::string comment_;
int predictType_;
std::string warningThreshold_;
std::string methodName_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRULEREQUEST_H_

View File

@@ -1,90 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_CREATEREMINDREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREMINDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateRemindRequest : public RpcServiceRequest
{
public:
CreateRemindRequest();
~CreateRemindRequest();
std::string getDndEnd()const;
void setDndEnd(const std::string& dndEnd);
std::string getAlertUnit()const;
void setAlertUnit(const std::string& alertUnit);
std::string getRemindUnit()const;
void setRemindUnit(const std::string& remindUnit);
int getAlertInterval()const;
void setAlertInterval(int alertInterval);
std::string getAlertMethods()const;
void setAlertMethods(const std::string& alertMethods);
std::string getRobotUrls()const;
void setRobotUrls(const std::string& robotUrls);
int getMaxAlertTimes()const;
void setMaxAlertTimes(int maxAlertTimes);
std::string getBizProcessIds()const;
void setBizProcessIds(const std::string& bizProcessIds);
std::string getRemindType()const;
void setRemindType(const std::string& remindType);
std::string getAlertTargets()const;
void setAlertTargets(const std::string& alertTargets);
std::string getBaselineIds()const;
void setBaselineIds(const std::string& baselineIds);
std::string getDetail()const;
void setDetail(const std::string& detail);
std::string getRemindName()const;
void setRemindName(const std::string& remindName);
long getProjectId()const;
void setProjectId(long projectId);
std::string getNodeIds()const;
void setNodeIds(const std::string& nodeIds);
private:
std::string dndEnd_;
std::string alertUnit_;
std::string remindUnit_;
int alertInterval_;
std::string alertMethods_;
std::string robotUrls_;
int maxAlertTimes_;
std::string bizProcessIds_;
std::string remindType_;
std::string alertTargets_;
std::string baselineIds_;
std::string detail_;
std::string remindName_;
long projectId_;
std::string nodeIds_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREMINDREQUEST_H_

View File

@@ -1,81 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_CREATEUDFFILEREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEUDFFILEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateUdfFileRequest : public RpcServiceRequest
{
public:
CreateUdfFileRequest();
~CreateUdfFileRequest();
std::string getReturnValue()const;
void setReturnValue(const std::string& returnValue);
std::string getResources()const;
void setResources(const std::string& resources);
std::string getFunctionType()const;
void setFunctionType(const std::string& functionType);
std::string getCmdDescription()const;
void setCmdDescription(const std::string& cmdDescription);
std::string getUdfDescription()const;
void setUdfDescription(const std::string& udfDescription);
std::string getParameterDescription()const;
void setParameterDescription(const std::string& parameterDescription);
std::string getProjectIdentifier()const;
void setProjectIdentifier(const std::string& projectIdentifier);
std::string getExample()const;
void setExample(const std::string& example);
std::string getFileName()const;
void setFileName(const std::string& fileName);
std::string getClassName()const;
void setClassName(const std::string& className);
std::string getFileFolderPath()const;
void setFileFolderPath(const std::string& fileFolderPath);
long getProjectId()const;
void setProjectId(long projectId);
private:
std::string returnValue_;
std::string resources_;
std::string functionType_;
std::string cmdDescription_;
std::string udfDescription_;
std::string parameterDescription_;
std::string projectIdentifier_;
std::string example_;
std::string fileName_;
std::string className_;
std::string fileFolderPath_;
long projectId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEUDFFILEREQUEST_H_

View File

@@ -1,54 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_DELETEBUSINESSREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEBUSINESSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteBusinessRequest : public RpcServiceRequest
{
public:
DeleteBusinessRequest();
~DeleteBusinessRequest();
long getBusinessId()const;
void setBusinessId(long businessId);
long getProjectId()const;
void setProjectId(long projectId);
std::string getProjectIdentifier()const;
void setProjectIdentifier(const std::string& projectIdentifier);
private:
long businessId_;
long projectId_;
std::string projectIdentifier_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEBUSINESSREQUEST_H_

View File

@@ -1,54 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteDataServiceApiRequest : public RpcServiceRequest
{
public:
DeleteDataServiceApiRequest();
~DeleteDataServiceApiRequest();
long getTenantId()const;
void setTenantId(long tenantId);
long getProjectId()const;
void setProjectId(long projectId);
long getApiId()const;
void setApiId(long apiId);
private:
long tenantId_;
long projectId_;
long apiId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIREQUEST_H_

View File

@@ -1,51 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_DELETEFROMMETACATEGORYREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFROMMETACATEGORYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteFromMetaCategoryRequest : public RpcServiceRequest
{
public:
DeleteFromMetaCategoryRequest();
~DeleteFromMetaCategoryRequest();
std::string getTableGuid()const;
void setTableGuid(const std::string& tableGuid);
long getCategoryId()const;
void setCategoryId(long categoryId);
private:
std::string tableGuid_;
long categoryId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFROMMETACATEGORYREQUEST_H_

View File

@@ -1,59 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_DELETEMETACATEGORYRESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACATEGORYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteMetaCategoryResult : public ServiceResult
{
public:
DeleteMetaCategoryResult();
explicit DeleteMetaCategoryResult(const std::string &payload);
~DeleteMetaCategoryResult();
int getHttpStatusCode()const;
bool getData()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
bool data_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACATEGORYRESULT_H_

View File

@@ -1,51 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteProjectMemberRequest : public RpcServiceRequest
{
public:
DeleteProjectMemberRequest();
~DeleteProjectMemberRequest();
long getProjectId()const;
void setProjectId(long projectId);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
long projectId_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERREQUEST_H_

View File

@@ -1,54 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYENTITYREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYENTITYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteQualityEntityRequest : public RpcServiceRequest
{
public:
DeleteQualityEntityRequest();
~DeleteQualityEntityRequest();
std::string getProjectName()const;
void setProjectName(const std::string& projectName);
std::string getEnvType()const;
void setEnvType(const std::string& envType);
long getEntityId()const;
void setEntityId(long entityId);
private:
std::string projectName_;
std::string envType_;
long entityId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYENTITYREQUEST_H_

View File

@@ -1,59 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYENTITYRESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYENTITYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteQualityEntityResult : public ServiceResult
{
public:
DeleteQualityEntityResult();
explicit DeleteQualityEntityResult(const std::string &payload);
~DeleteQualityEntityResult();
int getHttpStatusCode()const;
bool getData()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
bool data_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYENTITYRESULT_H_

View File

@@ -1,51 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYFOLLOWERREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYFOLLOWERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteQualityFollowerRequest : public RpcServiceRequest
{
public:
DeleteQualityFollowerRequest();
~DeleteQualityFollowerRequest();
std::string getProjectName()const;
void setProjectName(const std::string& projectName);
long getFollowerId()const;
void setFollowerId(long followerId);
private:
std::string projectName_;
long followerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYFOLLOWERREQUEST_H_

View File

@@ -1,69 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRELATIVENODEREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRELATIVENODEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteQualityRelativeNodeRequest : public RpcServiceRequest
{
public:
DeleteQualityRelativeNodeRequest();
~DeleteQualityRelativeNodeRequest();
std::string getProjectName()const;
void setProjectName(const std::string& projectName);
long getTargetNodeProjectId()const;
void setTargetNodeProjectId(long targetNodeProjectId);
std::string getMatchExpression()const;
void setMatchExpression(const std::string& matchExpression);
std::string getEnvType()const;
void setEnvType(const std::string& envType);
std::string getTargetNodeProjectName()const;
void setTargetNodeProjectName(const std::string& targetNodeProjectName);
std::string getTableName()const;
void setTableName(const std::string& tableName);
long getNodeId()const;
void setNodeId(long nodeId);
long getProjectId()const;
void setProjectId(long projectId);
private:
std::string projectName_;
long targetNodeProjectId_;
std::string matchExpression_;
std::string envType_;
std::string targetNodeProjectName_;
std::string tableName_;
long nodeId_;
long projectId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRELATIVENODEREQUEST_H_

View File

@@ -1,59 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRELATIVENODERESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRELATIVENODERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteQualityRelativeNodeResult : public ServiceResult
{
public:
DeleteQualityRelativeNodeResult();
explicit DeleteQualityRelativeNodeResult(const std::string &payload);
~DeleteQualityRelativeNodeResult();
int getHttpStatusCode()const;
bool getData()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
bool data_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRELATIVENODERESULT_H_

View File

@@ -1,60 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_DEPLOYFILEREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DEPLOYFILEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeployFileRequest : public RpcServiceRequest
{
public:
DeployFileRequest();
~DeployFileRequest();
std::string getComment()const;
void setComment(const std::string& comment);
long getProjectId()const;
void setProjectId(long projectId);
long getNodeId()const;
void setNodeId(long nodeId);
std::string getProjectIdentifier()const;
void setProjectIdentifier(const std::string& projectIdentifier);
long getFileId()const;
void setFileId(long fileId);
private:
std::string comment_;
long projectId_;
long nodeId_;
std::string projectIdentifier_;
long fileId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DEPLOYFILEREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYENTITYREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYENTITYREQUEST_H_
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESCRIBEEMRHIVETABLEREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESCRIBEEMRHIVETABLEREQUEST_H_
#include <string>
#include <vector>
@@ -28,30 +28,27 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetQualityEntityRequest : public RpcServiceRequest
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DescribeEmrHiveTableRequest : public RpcServiceRequest
{
public:
GetQualityEntityRequest();
~GetQualityEntityRequest();
DescribeEmrHiveTableRequest();
~DescribeEmrHiveTableRequest();
std::string getProjectName()const;
void setProjectName(const std::string& projectName);
std::string getMatchExpression()const;
void setMatchExpression(const std::string& matchExpression);
std::string getEnvType()const;
void setEnvType(const std::string& envType);
std::string getDatabaseName()const;
void setDatabaseName(const std::string& databaseName);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getTableName()const;
void setTableName(const std::string& tableName);
private:
std::string projectName_;
std::string matchExpression_;
std::string envType_;
std::string databaseName_;
std::string clusterId_;
std::string tableName_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYENTITYREQUEST_H_
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESCRIBEEMRHIVETABLEREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEFULLINFORESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEFULLINFORESULT_H_
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESCRIBEEMRHIVETABLERESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESCRIBEEMRHIVETABLERESULT_H_
#include <string>
#include <vector>
@@ -29,62 +29,64 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableFullInfoResult : public ServiceResult
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DescribeEmrHiveTableResult : public ServiceResult
{
public:
struct Data
{
struct ColumnListItem
struct TableColumn
{
std::string columnName;
std::string comment;
std::string columnGuid;
std::string gmtCreate;
int columnPosition;
std::string columnType;
bool isPartitionColumn;
bool isForeignKey;
std::string caption;
bool isPrimaryKey;
std::string gmtModified;
std::string columnComment;
};
int lifeCycle;
std::string comment;
std::string projectName;
long lastDdlTime;
long createTime;
long totalColumnCount;
long projectId;
long lastModifyTime;
long lastAccessTime;
int envType;
std::string owner;
std::string tableType;
long tableSize;
std::string outputFormat;
std::string gmtModified;
std::string databaseName;
std::vector<TableColumn> columns;
std::string lastAccessTime;
std::string lastModifyTime;
bool isTemporary;
std::string serializationLib;
std::string tableName;
std::string tableGuid;
long tenantId;
std::string ownerType;
std::string gmtCreate;
std::string tableComment;
std::string clusterBizName;
std::string ownerId;
long dataSize;
std::vector<ColumnListItem> columnList;
int isVisible;
std::string clusterBizId;
std::string inputFormat;
std::string partitionKeys;
bool isCompressed;
std::string tableDesc;
std::string tableParameters;
std::string location;
};
GetMetaTableFullInfoResult();
explicit GetMetaTableFullInfoResult(const std::string &payload);
~GetMetaTableFullInfoResult();
int getHttpStatusCode()const;
DescribeEmrHiveTableResult();
explicit DescribeEmrHiveTableResult(const std::string &payload);
~DescribeEmrHiveTableResult();
Data getData()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
Data data_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEFULLINFORESULT_H_
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESCRIBEEMRHIVETABLERESULT_H_

View File

@@ -1,60 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_ESTABLISHRELATIONTABLETOBUSINESSREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ESTABLISHRELATIONTABLETOBUSINESSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT EstablishRelationTableToBusinessRequest : public RpcServiceRequest
{
public:
EstablishRelationTableToBusinessRequest();
~EstablishRelationTableToBusinessRequest();
std::string getTableGuid()const;
void setTableGuid(const std::string& tableGuid);
std::string getBusinessId()const;
void setBusinessId(const std::string& businessId);
long getProjectId()const;
void setProjectId(long projectId);
std::string getProjectIdentifier()const;
void setProjectIdentifier(const std::string& projectIdentifier);
std::string getFolderId()const;
void setFolderId(const std::string& folderId);
private:
std::string tableGuid_;
std::string businessId_;
long projectId_;
std::string projectIdentifier_;
std::string folderId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ESTABLISHRELATIONTABLETOBUSINESSREQUEST_H_

View File

@@ -1,57 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_ESTABLISHRELATIONTABLETOBUSINESSRESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ESTABLISHRELATIONTABLETOBUSINESSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT EstablishRelationTableToBusinessResult : public ServiceResult
{
public:
EstablishRelationTableToBusinessResult();
explicit EstablishRelationTableToBusinessResult(const std::string &payload);
~EstablishRelationTableToBusinessResult();
int getHttpStatusCode()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ESTABLISHRELATIONTABLETOBUSINESSRESULT_H_

View File

@@ -1,48 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_GETBASELINECONFIGREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINECONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBaselineConfigRequest : public RpcServiceRequest
{
public:
GetBaselineConfigRequest();
~GetBaselineConfigRequest();
long getBaselineId()const;
void setBaselineId(long baselineId);
private:
long baselineId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINECONFIGREQUEST_H_

View File

@@ -1,76 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_GETBASELINECONFIGRESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINECONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBaselineConfigResult : public ServiceResult
{
public:
struct Data
{
long baselineId;
bool isDefault;
int expHour;
std::string hourSlaDetail;
std::string owner;
int expMinu;
int slaHour;
int priority;
int slaMinu;
long projectId;
std::string hourExpDetail;
bool useFlag;
std::string baselineType;
std::string baselineName;
};
GetBaselineConfigResult();
explicit GetBaselineConfigResult(const std::string &payload);
~GetBaselineConfigResult();
int getHttpStatusCode()const;
Data getData()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
Data data_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINECONFIGRESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_GETBASELINEKEYPATHREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINEKEYPATHREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBaselineKeyPathRequest : public RpcServiceRequest
{
public:
GetBaselineKeyPathRequest();
~GetBaselineKeyPathRequest();
std::string getBizdate()const;
void setBizdate(const std::string& bizdate);
int getInGroupId()const;
void setInGroupId(int inGroupId);
long getBaselineId()const;
void setBaselineId(long baselineId);
private:
std::string bizdate_;
int inGroupId_;
long baselineId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINEKEYPATHREQUEST_H_

View File

@@ -1,98 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_GETBASELINEKEYPATHRESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINEKEYPATHRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBaselineKeyPathResult : public ServiceResult
{
public:
struct DataItem
{
struct RunsItem
{
std::string status;
std::string owner;
long instanceId;
std::string nodeName;
long projectId;
long beginWaitTimeTime;
long cycTime;
long beginRunningTime;
long bizdate;
int inGroupId;
long beginCast;
long absTime;
long finishTime;
long nodeId;
long beginWaitResTime;
long endCast;
};
struct TopicsItem
{
long instanceId;
long topicId;
long addTime;
long topicName;
};
int prgType;
std::string owner;
std::vector<DataItem::TopicsItem> topics;
long instanceId;
std::string nodeName;
long projectId;
long nodeId;
std::vector<DataItem::RunsItem> runs;
long bizdate;
int inGroupId;
};
GetBaselineKeyPathResult();
explicit GetBaselineKeyPathResult(const std::string &payload);
~GetBaselineKeyPathResult();
int getHttpStatusCode()const;
std::vector<DataItem> getData()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
std::vector<DataItem> data_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINEKEYPATHRESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_GETBASELINESTATUSREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINESTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBaselineStatusRequest : public RpcServiceRequest
{
public:
GetBaselineStatusRequest();
~GetBaselineStatusRequest();
std::string getBizdate()const;
void setBizdate(const std::string& bizdate);
int getInGroupId()const;
void setInGroupId(int inGroupId);
long getBaselineId()const;
void setBaselineId(long baselineId);
private:
std::string bizdate_;
int inGroupId_;
long baselineId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINESTATUSREQUEST_H_

View File

@@ -1,100 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_GETBASELINESTATUSRESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINESTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBaselineStatusResult : public ServiceResult
{
public:
struct Data
{
struct LastInstance
{
std::string status;
std::string owner;
long finishTime;
long instanceId;
std::string nodeName;
long projectId;
long nodeId;
long endCast;
};
struct BlockInstance
{
std::string status;
std::string owner;
long finishTime;
long instanceId;
std::string nodeName;
long projectId;
long nodeId;
long endCast;
};
long baselineId;
float buffer;
std::string status;
std::string owner;
int priority;
std::string finishStatus;
long projectId;
long bizdate;
long expTime;
int inGroupId;
long finishTime;
BlockInstance blockInstance;
std::string baselineName;
long slaTime;
LastInstance lastInstance;
long endCast;
};
GetBaselineStatusResult();
explicit GetBaselineStatusResult(const std::string &payload);
~GetBaselineStatusResult();
int getHttpStatusCode()const;
Data getData()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
Data data_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINESTATUSRESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_GETBUSINESSREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBUSINESSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBusinessRequest : public RpcServiceRequest
{
public:
GetBusinessRequest();
~GetBusinessRequest();
long getBusinessId()const;
void setBusinessId(long businessId);
long getProjectId()const;
void setProjectId(long projectId);
std::string getProjectIdentifier()const;
void setProjectIdentifier(const std::string& projectIdentifier);
private:
long businessId_;
long projectId_;
std::string projectIdentifier_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBUSINESSREQUEST_H_

View File

@@ -1,54 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPIREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPIREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServiceApiRequest : public RpcServiceRequest
{
public:
GetDataServiceApiRequest();
~GetDataServiceApiRequest();
long getTenantId()const;
void setTenantId(long tenantId);
long getProjectId()const;
void setProjectId(long projectId);
long getApiId()const;
void setApiId(long apiId);
private:
long tenantId_;
long projectId_;
long apiId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPIREQUEST_H_

View File

@@ -1,177 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPIRESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPIRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServiceApiResult : public ServiceResult
{
public:
struct Data
{
struct RegistrationDetails
{
struct RegistrationErrorCode
{
std::string errorCode;
std::string errorMessage;
std::string errorSolution;
};
struct RegistrationRequestParameter
{
std::string columnName;
std::string defaultValue;
std::string exampleValue;
int parameterDataType;
int parameterPosition;
std::string parameterName;
int parameterOperator;
std::string parameterDescription;
bool isRequiredParameter;
};
std::string serviceRequestBodyDescription;
int serviceContentType;
std::string successfulResultSample;
std::string servicePath;
std::vector<RegistrationErrorCode> registrationErrorCodes;
std::string failedResultSample;
std::string serviceHost;
std::vector<RegistrationRequestParameter> registrationRequestParameters;
};
struct ScriptDetails
{
struct ScriptConnection
{
std::string tableName;
long connectionId;
};
struct ScriptRequestParameter
{
std::string columnName;
std::string defaultValue;
std::string exampleValue;
int parameterDataType;
int parameterPosition;
std::string parameterName;
int parameterOperator;
std::string parameterDescription;
bool isRequiredParameter;
};
struct ScriptResponseParameter
{
std::string columnName;
std::string exampleValue;
int parameterDataType;
std::string parameterName;
std::string parameterDescription;
};
std::string script;
bool isPagedResponse;
std::vector<ScriptRequestParameter> scriptRequestParameters;
std::vector<ScriptResponseParameter> scriptResponseParameters;
ScriptConnection scriptConnection;
};
struct WizardDetails
{
struct WizardConnection
{
std::string tableName;
long connectionId;
};
struct WizardRequestParameter
{
std::string columnName;
std::string defaultValue;
std::string exampleValue;
int parameterDataType;
int parameterPosition;
std::string parameterName;
int parameterOperator;
std::string parameterDescription;
bool isRequiredParameter;
};
struct WizardResponseParameter
{
std::string columnName;
std::string exampleValue;
int parameterDataType;
std::string parameterName;
std::string parameterDescription;
};
bool isPagedResponse;
std::vector<WizardRequestParameter> wizardRequestParameters;
WizardConnection wizardConnection;
std::vector<WizardResponseParameter> wizardResponseParameters;
};
int status;
WizardDetails wizardDetails;
int visibleRange;
std::vector<std::string> protocols;
std::string createdTime;
std::string description;
std::string apiName;
std::string creatorId;
int requestMethod;
int timeout;
long projectId;
int responseContentType;
std::string operatorId;
RegistrationDetails registrationDetails;
std::string groupId;
long tenantId;
std::string modifiedTime;
ScriptDetails scriptDetails;
long apiId;
int apiMode;
std::string apiPath;
};
GetDataServiceApiResult();
explicit GetDataServiceApiResult(const std::string &payload);
~GetDataServiceApiResult();
int getHttpStatusCode()const;
Data getData()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
Data data_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPIRESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPPLICATIONREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPPLICATIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServiceApplicationRequest : public RpcServiceRequest
{
public:
GetDataServiceApplicationRequest();
~GetDataServiceApplicationRequest();
long getTenantId()const;
void setTenantId(long tenantId);
long getApplicationId()const;
void setApplicationId(long applicationId);
long getProjectId()const;
void setProjectId(long projectId);
private:
long tenantId_;
long applicationId_;
long projectId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPPLICATIONREQUEST_H_

View File

@@ -1,54 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEPUBLISHEDAPIREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEPUBLISHEDAPIREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServicePublishedApiRequest : public RpcServiceRequest
{
public:
GetDataServicePublishedApiRequest();
~GetDataServicePublishedApiRequest();
long getTenantId()const;
void setTenantId(long tenantId);
long getProjectId()const;
void setProjectId(long projectId);
long getApiId()const;
void setApiId(long apiId);
private:
long tenantId_;
long projectId_;
long apiId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEPUBLISHEDAPIREQUEST_H_

View File

@@ -1,190 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEPUBLISHEDAPIRESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEPUBLISHEDAPIRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServicePublishedApiResult : public ServiceResult
{
public:
struct Data
{
struct RegistrationDetails
{
struct RegistrationErrorCode
{
std::string errorCode;
std::string errorMessage;
std::string errorSolution;
};
struct RegistrationRequestParameter
{
std::string defaultValue;
std::string exampleValue;
int parameterDataType;
int parameterPosition;
std::string parameterName;
int parameterOperator;
std::string parameterDescription;
bool isRequiredParameter;
};
std::string serviceRequestBodyDescription;
int serviceContentType;
std::string successfulResultSample;
std::string servicePath;
std::vector<RegistrationErrorCode> registrationErrorCodes;
std::string failedResultSample;
std::string serviceHost;
std::vector<RegistrationRequestParameter> registrationRequestParameters;
};
struct ScriptDetails
{
struct ScriptConnection
{
std::string tableName;
long connectionId;
};
struct ScriptErrorCode
{
std::string errorCode;
std::string errorMessage;
std::string errorSolution;
};
struct ScriptRequestParameter
{
std::string defaultValue;
std::string exampleValue;
int parameterDataType;
int parameterPosition;
std::string parameterName;
int parameterOperator;
std::string parameterDescription;
bool isRequiredParameter;
};
struct ScriptResponseParameter
{
std::string exampleValue;
int parameterDataType;
std::string parameterName;
std::string parameterDescription;
};
std::string script;
std::vector<ScriptErrorCode> scriptErrorCodes;
bool isPagedResponse;
std::string successfulResultSample;
std::vector<ScriptRequestParameter> scriptRequestParameters;
std::string failedResultSample;
std::vector<ScriptResponseParameter> scriptResponseParameters;
ScriptConnection scriptConnection;
};
struct WizardDetails
{
struct WizardConnection
{
std::string tableName;
long connectionId;
};
struct WizardErrorCode
{
std::string errorCode;
std::string errorMessage;
std::string errorSolution;
};
struct WizardRequestParameter
{
std::string defaultValue;
std::string exampleValue;
int parameterDataType;
int parameterPosition;
std::string parameterName;
int parameterOperator;
std::string parameterDescription;
bool isRequiredParameter;
};
struct WizardResponseParameter
{
std::string exampleValue;
int parameterDataType;
std::string parameterName;
std::string parameterDescription;
};
bool isPagedResponse;
std::vector<WizardRequestParameter> wizardRequestParameters;
std::string successfulResultSample;
WizardConnection wizardConnection;
std::vector<WizardErrorCode> wizardErrorCodes;
std::vector<WizardResponseParameter> wizardResponseParameters;
std::string failedResultSample;
};
int status;
WizardDetails wizardDetails;
int visibleRange;
std::vector<std::string> protocols;
std::string createdTime;
std::string description;
std::string apiName;
std::string creatorId;
int requestMethod;
int timeout;
long projectId;
int responseContentType;
std::string operatorId;
RegistrationDetails registrationDetails;
std::string groupId;
long tenantId;
std::string modifiedTime;
ScriptDetails scriptDetails;
long apiId;
int apiMode;
std::string apiPath;
};
GetDataServicePublishedApiResult();
explicit GetDataServicePublishedApiResult(const std::string &payload);
~GetDataServicePublishedApiResult();
int getHttpStatusCode()const;
Data getData()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
Data data_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEPUBLISHEDAPIRESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_GETDEPLOYMENTREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDEPLOYMENTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDeploymentRequest : public RpcServiceRequest
{
public:
GetDeploymentRequest();
~GetDeploymentRequest();
long getDeploymentId()const;
void setDeploymentId(long deploymentId);
long getProjectId()const;
void setProjectId(long projectId);
std::string getProjectIdentifier()const;
void setProjectIdentifier(const std::string& projectIdentifier);
private:
long deploymentId_;
long projectId_;
std::string projectIdentifier_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDEPLOYMENTREQUEST_H_

View File

@@ -1,110 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_GETFILERESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetFileResult : public ServiceResult
{
public:
struct Data
{
struct File
{
long parentId;
std::string owner;
long createTime;
std::string fileName;
std::string useType;
int currentVersion;
std::string createUser;
bool isMaxCompute;
std::string connectionName;
long lastEditTime;
std::string fileDescription;
int fileType;
std::string content;
std::string lastEditUser;
long nodeId;
int commitStatus;
std::string fileFolderId;
long bizId;
};
struct NodeConfiguration
{
struct NodeInputOutput
{
std::string input;
};
struct NodeInputOutput1
{
std::string output;
std::string refTableName;
};
std::string cycleType;
std::vector<NodeInputOutput> inputList;
bool stop;
std::string dependentType;
std::string cronExpress;
long endEffectDate;
int autoRerunIntervalMillis;
std::string dependentNodeIdList;
long startEffectDate;
int autoRerunTimes;
std::string rerunMode;
std::string paraValue;
std::vector<NodeInputOutput1> outputList;
};
File file;
NodeConfiguration nodeConfiguration;
};
GetFileResult();
explicit GetFileResult(const std::string &payload);
~GetFileResult();
int getHttpStatusCode()const;
Data getData()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
Data data_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILERESULT_H_

View File

@@ -1,57 +0,0 @@
/*
* 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_DATAWORKS_PUBLIC_MODEL_GETFILEVERSIONREQUEST_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILEVERSIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
namespace AlibabaCloud
{
namespace Dataworks_public
{
namespace Model
{
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetFileVersionRequest : public RpcServiceRequest
{
public:
GetFileVersionRequest();
~GetFileVersionRequest();
int getFileVersion()const;
void setFileVersion(int fileVersion);
long getProjectId()const;
void setProjectId(long projectId);
std::string getProjectIdentifier()const;
void setProjectIdentifier(const std::string& projectIdentifier);
long getFileId()const;
void setFileId(long fileId);
private:
int fileVersion_;
long projectId_;
std::string projectIdentifier_;
long fileId_;
};
}
}
}
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILEVERSIONREQUEST_H_

Some files were not shown because too many files have changed in this diff Show More