Compare commits
48 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
678893901f | ||
|
|
1bf5fe98af | ||
|
|
2173eb9110 | ||
|
|
045dcc9fa9 | ||
|
|
2fa7d5dc9f | ||
|
|
0a04d9d475 | ||
|
|
1193bcf394 | ||
|
|
c2ce4a0048 | ||
|
|
a63623d1a9 | ||
|
|
3edb319f4c | ||
|
|
61af8db794 | ||
|
|
1fda527d88 | ||
|
|
da6add49af | ||
|
|
9454f4754b | ||
|
|
861a684089 | ||
|
|
1ce36b8afa | ||
|
|
93808b764c | ||
|
|
22e4b5fbf4 | ||
|
|
90670a1866 | ||
|
|
cebe31f0f4 | ||
|
|
ebd79f50ff | ||
|
|
3495b8e165 | ||
|
|
5204a37d2a | ||
|
|
3efd03d181 | ||
|
|
86ad2c73a3 | ||
|
|
27c46edf5d | ||
|
|
67493d8653 | ||
|
|
52bbf53aed | ||
|
|
ba2b797842 | ||
|
|
1e276056a2 | ||
|
|
f699392896 | ||
|
|
f7db57cc1b | ||
|
|
79c435e079 | ||
|
|
733d355d78 | ||
|
|
5e93a9b21f | ||
|
|
79815391f7 | ||
|
|
ece2943ddb | ||
|
|
43d1c945b8 | ||
|
|
812992b8d2 | ||
|
|
b5aa2495c8 | ||
|
|
83e7ccef1a | ||
|
|
2c3af87947 | ||
|
|
44572042b1 | ||
|
|
4fd76a9156 | ||
|
|
74ea14dac4 | ||
|
|
9439fe21fc | ||
|
|
1950f0a785 | ||
|
|
70f1379a6b |
@@ -39,8 +39,14 @@ set(avatar_public_header_model
|
||||
include/alibabacloud/avatar/model/QueryRunningInstanceResult.h
|
||||
include/alibabacloud/avatar/model/QueryTimedResetOperateStatusRequest.h
|
||||
include/alibabacloud/avatar/model/QueryTimedResetOperateStatusResult.h
|
||||
include/alibabacloud/avatar/model/SendCommandRequest.h
|
||||
include/alibabacloud/avatar/model/SendCommandResult.h
|
||||
include/alibabacloud/avatar/model/SendMessageRequest.h
|
||||
include/alibabacloud/avatar/model/SendMessageResult.h
|
||||
include/alibabacloud/avatar/model/SendTextRequest.h
|
||||
include/alibabacloud/avatar/model/SendTextResult.h
|
||||
include/alibabacloud/avatar/model/SendVamlRequest.h
|
||||
include/alibabacloud/avatar/model/SendVamlResult.h
|
||||
include/alibabacloud/avatar/model/StartInstanceRequest.h
|
||||
include/alibabacloud/avatar/model/StartInstanceResult.h
|
||||
include/alibabacloud/avatar/model/StartTimedResetOperateRequest.h
|
||||
@@ -76,8 +82,14 @@ set(avatar_src
|
||||
src/model/QueryRunningInstanceResult.cc
|
||||
src/model/QueryTimedResetOperateStatusRequest.cc
|
||||
src/model/QueryTimedResetOperateStatusResult.cc
|
||||
src/model/SendCommandRequest.cc
|
||||
src/model/SendCommandResult.cc
|
||||
src/model/SendMessageRequest.cc
|
||||
src/model/SendMessageResult.cc
|
||||
src/model/SendTextRequest.cc
|
||||
src/model/SendTextResult.cc
|
||||
src/model/SendVamlRequest.cc
|
||||
src/model/SendVamlResult.cc
|
||||
src/model/StartInstanceRequest.cc
|
||||
src/model/StartInstanceResult.cc
|
||||
src/model/StartTimedResetOperateRequest.cc
|
||||
|
||||
@@ -40,8 +40,14 @@
|
||||
#include "model/QueryRunningInstanceResult.h"
|
||||
#include "model/QueryTimedResetOperateStatusRequest.h"
|
||||
#include "model/QueryTimedResetOperateStatusResult.h"
|
||||
#include "model/SendCommandRequest.h"
|
||||
#include "model/SendCommandResult.h"
|
||||
#include "model/SendMessageRequest.h"
|
||||
#include "model/SendMessageResult.h"
|
||||
#include "model/SendTextRequest.h"
|
||||
#include "model/SendTextResult.h"
|
||||
#include "model/SendVamlRequest.h"
|
||||
#include "model/SendVamlResult.h"
|
||||
#include "model/StartInstanceRequest.h"
|
||||
#include "model/StartInstanceResult.h"
|
||||
#include "model/StartTimedResetOperateRequest.h"
|
||||
@@ -92,9 +98,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::QueryTimedResetOperateStatusResult> QueryTimedResetOperateStatusOutcome;
|
||||
typedef std::future<QueryTimedResetOperateStatusOutcome> QueryTimedResetOperateStatusOutcomeCallable;
|
||||
typedef std::function<void(const AvatarClient*, const Model::QueryTimedResetOperateStatusRequest&, const QueryTimedResetOperateStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryTimedResetOperateStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::SendCommandResult> SendCommandOutcome;
|
||||
typedef std::future<SendCommandOutcome> SendCommandOutcomeCallable;
|
||||
typedef std::function<void(const AvatarClient*, const Model::SendCommandRequest&, const SendCommandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendCommandAsyncHandler;
|
||||
typedef Outcome<Error, Model::SendMessageResult> SendMessageOutcome;
|
||||
typedef std::future<SendMessageOutcome> SendMessageOutcomeCallable;
|
||||
typedef std::function<void(const AvatarClient*, const Model::SendMessageRequest&, const SendMessageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendMessageAsyncHandler;
|
||||
typedef Outcome<Error, Model::SendTextResult> SendTextOutcome;
|
||||
typedef std::future<SendTextOutcome> SendTextOutcomeCallable;
|
||||
typedef std::function<void(const AvatarClient*, const Model::SendTextRequest&, const SendTextOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendTextAsyncHandler;
|
||||
typedef Outcome<Error, Model::SendVamlResult> SendVamlOutcome;
|
||||
typedef std::future<SendVamlOutcome> SendVamlOutcomeCallable;
|
||||
typedef std::function<void(const AvatarClient*, const Model::SendVamlRequest&, const SendVamlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendVamlAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartInstanceResult> StartInstanceOutcome;
|
||||
typedef std::future<StartInstanceOutcome> StartInstanceOutcomeCallable;
|
||||
typedef std::function<void(const AvatarClient*, const Model::StartInstanceRequest&, const StartInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartInstanceAsyncHandler;
|
||||
@@ -148,9 +163,18 @@ namespace AlibabaCloud
|
||||
QueryTimedResetOperateStatusOutcome queryTimedResetOperateStatus(const Model::QueryTimedResetOperateStatusRequest &request)const;
|
||||
void queryTimedResetOperateStatusAsync(const Model::QueryTimedResetOperateStatusRequest& request, const QueryTimedResetOperateStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryTimedResetOperateStatusOutcomeCallable queryTimedResetOperateStatusCallable(const Model::QueryTimedResetOperateStatusRequest& request) const;
|
||||
SendCommandOutcome sendCommand(const Model::SendCommandRequest &request)const;
|
||||
void sendCommandAsync(const Model::SendCommandRequest& request, const SendCommandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SendCommandOutcomeCallable sendCommandCallable(const Model::SendCommandRequest& request) const;
|
||||
SendMessageOutcome sendMessage(const Model::SendMessageRequest &request)const;
|
||||
void sendMessageAsync(const Model::SendMessageRequest& request, const SendMessageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SendMessageOutcomeCallable sendMessageCallable(const Model::SendMessageRequest& request) const;
|
||||
SendTextOutcome sendText(const Model::SendTextRequest &request)const;
|
||||
void sendTextAsync(const Model::SendTextRequest& request, const SendTextAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SendTextOutcomeCallable sendTextCallable(const Model::SendTextRequest& request) const;
|
||||
SendVamlOutcome sendVaml(const Model::SendVamlRequest &request)const;
|
||||
void sendVamlAsync(const Model::SendVamlRequest& request, const SendVamlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SendVamlOutcomeCallable sendVamlCallable(const Model::SendVamlRequest& request) const;
|
||||
StartInstanceOutcome startInstance(const Model::StartInstanceRequest &request)const;
|
||||
void startInstanceAsync(const Model::StartInstanceRequest& request, const StartInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartInstanceOutcomeCallable startInstanceCallable(const Model::StartInstanceRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* 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_AVATAR_MODEL_SENDCOMMANDREQUEST_H_
|
||||
#define ALIBABACLOUD_AVATAR_MODEL_SENDCOMMANDREQUEST_H_
|
||||
|
||||
#include <alibabacloud/avatar/AvatarExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Avatar {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_AVATAR_EXPORT SendCommandRequest : public RpcServiceRequest {
|
||||
public:
|
||||
SendCommandRequest();
|
||||
~SendCommandRequest();
|
||||
bool getFeedback() const;
|
||||
void setFeedback(bool feedback);
|
||||
std::string getCode() const;
|
||||
void setCode(const std::string &code);
|
||||
std::string getUniqueCode() const;
|
||||
void setUniqueCode(const std::string &uniqueCode);
|
||||
long getTenantId() const;
|
||||
void setTenantId(long tenantId);
|
||||
std::string getSessionId() const;
|
||||
void setSessionId(const std::string &sessionId);
|
||||
std::map<std::string, std::string> getContent() const;
|
||||
void setContent(const std::map<std::string, std::string> &content);
|
||||
|
||||
private:
|
||||
bool feedback_;
|
||||
std::string code_;
|
||||
std::string uniqueCode_;
|
||||
long tenantId_;
|
||||
std::string sessionId_;
|
||||
std::map<std::string, std::string> content_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Avatar
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_AVATAR_MODEL_SENDCOMMANDREQUEST_H_
|
||||
@@ -14,49 +14,49 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZETAKEOUTORDERRESULT_H_
|
||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZETAKEOUTORDERRESULT_H_
|
||||
#ifndef ALIBABACLOUD_AVATAR_MODEL_SENDCOMMANDRESULT_H_
|
||||
#define ALIBABACLOUD_AVATAR_MODEL_SENDCOMMANDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ocr/OcrExport.h>
|
||||
#include <alibabacloud/avatar/AvatarExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ocr
|
||||
namespace Avatar
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OCR_EXPORT RecognizeTakeoutOrderResult : public ServiceResult
|
||||
class ALIBABACLOUD_AVATAR_EXPORT SendCommandResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Element
|
||||
{
|
||||
float score;
|
||||
std::string value;
|
||||
std::string name;
|
||||
std::vector<std::string> boxes;
|
||||
};
|
||||
std::vector<Element> elements;
|
||||
std::string uniqueCode;
|
||||
std::string sessionId;
|
||||
};
|
||||
|
||||
|
||||
RecognizeTakeoutOrderResult();
|
||||
explicit RecognizeTakeoutOrderResult(const std::string &payload);
|
||||
~RecognizeTakeoutOrderResult();
|
||||
SendCommandResult();
|
||||
explicit SendCommandResult(const std::string &payload);
|
||||
~SendCommandResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZETAKEOUTORDERRESULT_H_
|
||||
#endif // !ALIBABACLOUD_AVATAR_MODEL_SENDCOMMANDRESULT_H_
|
||||
65
avatar/include/alibabacloud/avatar/model/SendTextRequest.h
Normal file
65
avatar/include/alibabacloud/avatar/model/SendTextRequest.h
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* 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_AVATAR_MODEL_SENDTEXTREQUEST_H_
|
||||
#define ALIBABACLOUD_AVATAR_MODEL_SENDTEXTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/avatar/AvatarExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Avatar {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_AVATAR_EXPORT SendTextRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct StreamExtension {
|
||||
bool isStream;
|
||||
int index;
|
||||
std::string position;
|
||||
};
|
||||
SendTextRequest();
|
||||
~SendTextRequest();
|
||||
bool getFeedback() const;
|
||||
void setFeedback(bool feedback);
|
||||
std::string getUniqueCode() const;
|
||||
void setUniqueCode(const std::string &uniqueCode);
|
||||
StreamExtension getStreamExtension() const;
|
||||
void setStreamExtension(const StreamExtension &streamExtension);
|
||||
long getTenantId() const;
|
||||
void setTenantId(long tenantId);
|
||||
bool getInterrupt() const;
|
||||
void setInterrupt(bool interrupt);
|
||||
std::string getSessionId() const;
|
||||
void setSessionId(const std::string &sessionId);
|
||||
std::string getText() const;
|
||||
void setText(const std::string &text);
|
||||
|
||||
private:
|
||||
bool feedback_;
|
||||
std::string uniqueCode_;
|
||||
StreamExtension streamExtension_;
|
||||
long tenantId_;
|
||||
bool interrupt_;
|
||||
std::string sessionId_;
|
||||
std::string text_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Avatar
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_AVATAR_MODEL_SENDTEXTREQUEST_H_
|
||||
@@ -14,36 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OCR_MODEL_TRIMDOCUMENTRESULT_H_
|
||||
#define ALIBABACLOUD_OCR_MODEL_TRIMDOCUMENTRESULT_H_
|
||||
#ifndef ALIBABACLOUD_AVATAR_MODEL_SENDTEXTRESULT_H_
|
||||
#define ALIBABACLOUD_AVATAR_MODEL_SENDTEXTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ocr/OcrExport.h>
|
||||
#include <alibabacloud/avatar/AvatarExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ocr
|
||||
namespace Avatar
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OCR_EXPORT TrimDocumentResult : public ServiceResult
|
||||
class ALIBABACLOUD_AVATAR_EXPORT SendTextResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string content;
|
||||
std::string uniqueCode;
|
||||
std::string sessionId;
|
||||
};
|
||||
|
||||
|
||||
TrimDocumentResult();
|
||||
explicit TrimDocumentResult(const std::string &payload);
|
||||
~TrimDocumentResult();
|
||||
SendTextResult();
|
||||
explicit SendTextResult(const std::string &payload);
|
||||
~SendTextResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -51,9 +53,10 @@ namespace AlibabaCloud
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OCR_MODEL_TRIMDOCUMENTRESULT_H_
|
||||
#endif // !ALIBABACLOUD_AVATAR_MODEL_SENDTEXTRESULT_H_
|
||||
@@ -14,32 +14,35 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEACCOUNTPAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEACCOUNTPAGEREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_AVATAR_MODEL_SENDVAMLREQUEST_H_
|
||||
#define ALIBABACLOUD_AVATAR_MODEL_SENDVAMLREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ocr/OcrExport.h>
|
||||
#include <alibabacloud/avatar/AvatarExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ocr {
|
||||
namespace Avatar {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_OCR_EXPORT RecognizeAccountPageRequest : public RpcServiceRequest {
|
||||
class ALIBABACLOUD_AVATAR_EXPORT SendVamlRequest : public RpcServiceRequest {
|
||||
public:
|
||||
RecognizeAccountPageRequest();
|
||||
~RecognizeAccountPageRequest();
|
||||
int getImageType() const;
|
||||
void setImageType(int imageType);
|
||||
std::string getImageURL() const;
|
||||
void setImageURL(const std::string &imageURL);
|
||||
SendVamlRequest();
|
||||
~SendVamlRequest();
|
||||
long getTenantId() const;
|
||||
void setTenantId(long tenantId);
|
||||
std::string getSessionId() const;
|
||||
void setSessionId(const std::string &sessionId);
|
||||
std::string getVaml() const;
|
||||
void setVaml(const std::string &vaml);
|
||||
|
||||
private:
|
||||
int imageType_;
|
||||
std::string imageURL_;
|
||||
long tenantId_;
|
||||
std::string sessionId_;
|
||||
std::string vaml_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ocr
|
||||
} // namespace Avatar
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEACCOUNTPAGEREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_AVATAR_MODEL_SENDVAMLREQUEST_H_
|
||||
@@ -14,42 +14,49 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OCR_MODEL_RECOGNIZEVERIFICATIONCODERESULT_H_
|
||||
#define ALIBABACLOUD_OCR_MODEL_RECOGNIZEVERIFICATIONCODERESULT_H_
|
||||
#ifndef ALIBABACLOUD_AVATAR_MODEL_SENDVAMLRESULT_H_
|
||||
#define ALIBABACLOUD_AVATAR_MODEL_SENDVAMLRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ocr/OcrExport.h>
|
||||
#include <alibabacloud/avatar/AvatarExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ocr
|
||||
namespace Avatar
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OCR_EXPORT RecognizeVerificationcodeResult : public ServiceResult
|
||||
class ALIBABACLOUD_AVATAR_EXPORT SendVamlResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string content;
|
||||
std::string uniqueCode;
|
||||
std::string sessionId;
|
||||
};
|
||||
|
||||
|
||||
RecognizeVerificationcodeResult();
|
||||
explicit RecognizeVerificationcodeResult(const std::string &payload);
|
||||
~RecognizeVerificationcodeResult();
|
||||
SendVamlResult();
|
||||
explicit SendVamlResult(const std::string &payload);
|
||||
~SendVamlResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OCR_MODEL_RECOGNIZEVERIFICATIONCODERESULT_H_
|
||||
#endif // !ALIBABACLOUD_AVATAR_MODEL_SENDVAMLRESULT_H_
|
||||
@@ -31,37 +31,52 @@ public:
|
||||
struct App {
|
||||
std::string appId;
|
||||
};
|
||||
struct AvatarInfo {
|
||||
std::string code;
|
||||
};
|
||||
struct VideoInfo {
|
||||
bool isAlpha;
|
||||
std::string backgroundImageUrl;
|
||||
int resolution;
|
||||
int alphaFormat;
|
||||
};
|
||||
struct AvatarInfo {
|
||||
std::string code;
|
||||
};
|
||||
SubmitAudioTo2DAvatarVideoTaskRequest();
|
||||
~SubmitAudioTo2DAvatarVideoTaskRequest();
|
||||
App getApp() const;
|
||||
void setApp(const App &app);
|
||||
VideoInfo getVideoInfo() const;
|
||||
void setVideoInfo(const VideoInfo &videoInfo);
|
||||
AvatarInfo getAvatarInfo() const;
|
||||
void setAvatarInfo(const AvatarInfo &avatarInfo);
|
||||
long getTenantId() const;
|
||||
void setTenantId(long tenantId);
|
||||
std::string getTitle() const;
|
||||
void setTitle(const std::string &title);
|
||||
std::string getExtParams() const;
|
||||
void setExtParams(const std::string &extParams);
|
||||
std::string getUrl() const;
|
||||
void setUrl(const std::string &url);
|
||||
VideoInfo getVideoInfo() const;
|
||||
void setVideoInfo(const VideoInfo &videoInfo);
|
||||
std::string getCallbackParams() const;
|
||||
void setCallbackParams(const std::string &callbackParams);
|
||||
long getTenantId() const;
|
||||
void setTenantId(long tenantId);
|
||||
bool getCallback() const;
|
||||
void setCallback(bool callback);
|
||||
std::string getExtParams_CLS() const;
|
||||
void setExtParams_CLS(const std::string &extParams_CLS);
|
||||
std::string getCallbackParams_CLS() const;
|
||||
void setCallbackParams_CLS(const std::string &callbackParams_CLS);
|
||||
|
||||
private:
|
||||
App app_;
|
||||
VideoInfo videoInfo_;
|
||||
AvatarInfo avatarInfo_;
|
||||
long tenantId_;
|
||||
std::string title_;
|
||||
std::string extParams_;
|
||||
std::string url_;
|
||||
VideoInfo videoInfo_;
|
||||
std::string callbackParams_;
|
||||
long tenantId_;
|
||||
bool callback_;
|
||||
std::string extParams_CLS_;
|
||||
std::string callbackParams_CLS_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Avatar
|
||||
|
||||
@@ -31,39 +31,55 @@ public:
|
||||
struct App {
|
||||
std::string appId;
|
||||
};
|
||||
struct AvatarInfo {
|
||||
std::string code;
|
||||
int locate;
|
||||
int angle;
|
||||
std::string industryCode;
|
||||
};
|
||||
struct VideoInfo {
|
||||
bool isAlpha;
|
||||
std::string backgroundImageUrl;
|
||||
int resolution;
|
||||
int alphaFormat;
|
||||
};
|
||||
struct AvatarInfo {
|
||||
std::string code;
|
||||
int locate;
|
||||
int angle;
|
||||
};
|
||||
SubmitAudioTo3DAvatarVideoTaskRequest();
|
||||
~SubmitAudioTo3DAvatarVideoTaskRequest();
|
||||
App getApp() const;
|
||||
void setApp(const App &app);
|
||||
VideoInfo getVideoInfo() const;
|
||||
void setVideoInfo(const VideoInfo &videoInfo);
|
||||
AvatarInfo getAvatarInfo() const;
|
||||
void setAvatarInfo(const AvatarInfo &avatarInfo);
|
||||
long getTenantId() const;
|
||||
void setTenantId(long tenantId);
|
||||
std::string getTitle() const;
|
||||
void setTitle(const std::string &title);
|
||||
std::string getExtParams() const;
|
||||
void setExtParams(const std::string &extParams);
|
||||
std::string getUrl() const;
|
||||
void setUrl(const std::string &url);
|
||||
VideoInfo getVideoInfo() const;
|
||||
void setVideoInfo(const VideoInfo &videoInfo);
|
||||
std::string getCallbackParams() const;
|
||||
void setCallbackParams(const std::string &callbackParams);
|
||||
long getTenantId() const;
|
||||
void setTenantId(long tenantId);
|
||||
bool getCallback() const;
|
||||
void setCallback(bool callback);
|
||||
std::string getExtParams_CLS() const;
|
||||
void setExtParams_CLS(const std::string &extParams_CLS);
|
||||
std::string getCallbackParams_CLS() const;
|
||||
void setCallbackParams_CLS(const std::string &callbackParams_CLS);
|
||||
|
||||
private:
|
||||
App app_;
|
||||
VideoInfo videoInfo_;
|
||||
AvatarInfo avatarInfo_;
|
||||
long tenantId_;
|
||||
std::string title_;
|
||||
std::string extParams_;
|
||||
std::string url_;
|
||||
VideoInfo videoInfo_;
|
||||
std::string callbackParams_;
|
||||
long tenantId_;
|
||||
bool callback_;
|
||||
std::string extParams_CLS_;
|
||||
std::string callbackParams_CLS_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Avatar
|
||||
|
||||
@@ -31,13 +31,6 @@ public:
|
||||
struct App {
|
||||
std::string appId;
|
||||
};
|
||||
struct VideoInfo {
|
||||
bool isAlpha;
|
||||
std::string backgroundImageUrl;
|
||||
bool isSubtitles;
|
||||
int resolution;
|
||||
int alphaFormat;
|
||||
};
|
||||
struct AudioInfo {
|
||||
std::string voice;
|
||||
int volume;
|
||||
@@ -47,31 +40,53 @@ public:
|
||||
struct AvatarInfo {
|
||||
std::string code;
|
||||
};
|
||||
struct VideoInfo {
|
||||
bool isAlpha;
|
||||
std::string backgroundImageUrl;
|
||||
bool isSubtitles;
|
||||
int resolution;
|
||||
int alphaFormat;
|
||||
};
|
||||
SubmitTextTo2DAvatarVideoTaskRequest();
|
||||
~SubmitTextTo2DAvatarVideoTaskRequest();
|
||||
App getApp() const;
|
||||
void setApp(const App &app);
|
||||
VideoInfo getVideoInfo() const;
|
||||
void setVideoInfo(const VideoInfo &videoInfo);
|
||||
AudioInfo getAudioInfo() const;
|
||||
void setAudioInfo(const AudioInfo &audioInfo);
|
||||
AvatarInfo getAvatarInfo() const;
|
||||
void setAvatarInfo(const AvatarInfo &avatarInfo);
|
||||
long getTenantId() const;
|
||||
void setTenantId(long tenantId);
|
||||
std::string getText() const;
|
||||
void setText(const std::string &text);
|
||||
std::string getTitle() const;
|
||||
void setTitle(const std::string &title);
|
||||
std::string getExtParams() const;
|
||||
void setExtParams(const std::string &extParams);
|
||||
VideoInfo getVideoInfo() const;
|
||||
void setVideoInfo(const VideoInfo &videoInfo);
|
||||
std::string getCallbackParams() const;
|
||||
void setCallbackParams(const std::string &callbackParams);
|
||||
long getTenantId() const;
|
||||
void setTenantId(long tenantId);
|
||||
bool getCallback() const;
|
||||
void setCallback(bool callback);
|
||||
std::string getExtParams_CLS() const;
|
||||
void setExtParams_CLS(const std::string &extParams_CLS);
|
||||
std::string getText() const;
|
||||
void setText(const std::string &text);
|
||||
std::string getCallbackParams_CLS() const;
|
||||
void setCallbackParams_CLS(const std::string &callbackParams_CLS);
|
||||
|
||||
private:
|
||||
App app_;
|
||||
VideoInfo videoInfo_;
|
||||
AudioInfo audioInfo_;
|
||||
AvatarInfo avatarInfo_;
|
||||
long tenantId_;
|
||||
std::string text_;
|
||||
std::string title_;
|
||||
std::string extParams_;
|
||||
VideoInfo videoInfo_;
|
||||
std::string callbackParams_;
|
||||
long tenantId_;
|
||||
bool callback_;
|
||||
std::string extParams_CLS_;
|
||||
std::string text_;
|
||||
std::string callbackParams_CLS_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Avatar
|
||||
|
||||
@@ -31,6 +31,18 @@ public:
|
||||
struct App {
|
||||
std::string appId;
|
||||
};
|
||||
struct AudioInfo {
|
||||
std::string voice;
|
||||
int volume;
|
||||
int speechRate;
|
||||
int pitchRate;
|
||||
};
|
||||
struct AvatarInfo {
|
||||
std::string code;
|
||||
int locate;
|
||||
int angle;
|
||||
std::string industryCode;
|
||||
};
|
||||
struct VideoInfo {
|
||||
bool isAlpha;
|
||||
std::string backgroundImageUrl;
|
||||
@@ -38,33 +50,46 @@ public:
|
||||
int resolution;
|
||||
int alphaFormat;
|
||||
};
|
||||
struct AvatarInfo {
|
||||
std::string code;
|
||||
int locate;
|
||||
int angle;
|
||||
};
|
||||
SubmitTextTo3DAvatarVideoTaskRequest();
|
||||
~SubmitTextTo3DAvatarVideoTaskRequest();
|
||||
App getApp() const;
|
||||
void setApp(const App &app);
|
||||
VideoInfo getVideoInfo() const;
|
||||
void setVideoInfo(const VideoInfo &videoInfo);
|
||||
AudioInfo getAudioInfo() const;
|
||||
void setAudioInfo(const AudioInfo &audioInfo);
|
||||
AvatarInfo getAvatarInfo() const;
|
||||
void setAvatarInfo(const AvatarInfo &avatarInfo);
|
||||
long getTenantId() const;
|
||||
void setTenantId(long tenantId);
|
||||
std::string getText() const;
|
||||
void setText(const std::string &text);
|
||||
std::string getTitle() const;
|
||||
void setTitle(const std::string &title);
|
||||
std::string getExtParams() const;
|
||||
void setExtParams(const std::string &extParams);
|
||||
VideoInfo getVideoInfo() const;
|
||||
void setVideoInfo(const VideoInfo &videoInfo);
|
||||
std::string getCallbackParams() const;
|
||||
void setCallbackParams(const std::string &callbackParams);
|
||||
long getTenantId() const;
|
||||
void setTenantId(long tenantId);
|
||||
bool getCallback() const;
|
||||
void setCallback(bool callback);
|
||||
std::string getExtParams_CLS() const;
|
||||
void setExtParams_CLS(const std::string &extParams_CLS);
|
||||
std::string getText() const;
|
||||
void setText(const std::string &text);
|
||||
std::string getCallbackParams_CLS() const;
|
||||
void setCallbackParams_CLS(const std::string &callbackParams_CLS);
|
||||
|
||||
private:
|
||||
App app_;
|
||||
VideoInfo videoInfo_;
|
||||
AudioInfo audioInfo_;
|
||||
AvatarInfo avatarInfo_;
|
||||
long tenantId_;
|
||||
std::string text_;
|
||||
std::string title_;
|
||||
std::string extParams_;
|
||||
VideoInfo videoInfo_;
|
||||
std::string callbackParams_;
|
||||
long tenantId_;
|
||||
bool callback_;
|
||||
std::string extParams_CLS_;
|
||||
std::string text_;
|
||||
std::string callbackParams_CLS_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Avatar
|
||||
|
||||
@@ -375,6 +375,42 @@ AvatarClient::QueryTimedResetOperateStatusOutcomeCallable AvatarClient::queryTim
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AvatarClient::SendCommandOutcome AvatarClient::sendCommand(const SendCommandRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SendCommandOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SendCommandOutcome(SendCommandResult(outcome.result()));
|
||||
else
|
||||
return SendCommandOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AvatarClient::sendCommandAsync(const SendCommandRequest& request, const SendCommandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, sendCommand(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AvatarClient::SendCommandOutcomeCallable AvatarClient::sendCommandCallable(const SendCommandRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SendCommandOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->sendCommand(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AvatarClient::SendMessageOutcome AvatarClient::sendMessage(const SendMessageRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -411,6 +447,78 @@ AvatarClient::SendMessageOutcomeCallable AvatarClient::sendMessageCallable(const
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AvatarClient::SendTextOutcome AvatarClient::sendText(const SendTextRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SendTextOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SendTextOutcome(SendTextResult(outcome.result()));
|
||||
else
|
||||
return SendTextOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AvatarClient::sendTextAsync(const SendTextRequest& request, const SendTextAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, sendText(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AvatarClient::SendTextOutcomeCallable AvatarClient::sendTextCallable(const SendTextRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SendTextOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->sendText(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AvatarClient::SendVamlOutcome AvatarClient::sendVaml(const SendVamlRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SendVamlOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SendVamlOutcome(SendVamlResult(outcome.result()));
|
||||
else
|
||||
return SendVamlOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AvatarClient::sendVamlAsync(const SendVamlRequest& request, const SendVamlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, sendVaml(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AvatarClient::SendVamlOutcomeCallable AvatarClient::sendVamlCallable(const SendVamlRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SendVamlOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->sendVaml(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AvatarClient::StartInstanceOutcome AvatarClient::startInstance(const StartInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
83
avatar/src/model/SendCommandRequest.cc
Normal file
83
avatar/src/model/SendCommandRequest.cc
Normal file
@@ -0,0 +1,83 @@
|
||||
/*
|
||||
* 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/avatar/model/SendCommandRequest.h>
|
||||
|
||||
using AlibabaCloud::Avatar::Model::SendCommandRequest;
|
||||
|
||||
SendCommandRequest::SendCommandRequest()
|
||||
: RpcServiceRequest("avatar", "2022-01-30", "SendCommand") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SendCommandRequest::~SendCommandRequest() {}
|
||||
|
||||
bool SendCommandRequest::getFeedback() const {
|
||||
return feedback_;
|
||||
}
|
||||
|
||||
void SendCommandRequest::setFeedback(bool feedback) {
|
||||
feedback_ = feedback;
|
||||
setParameter(std::string("Feedback"), feedback ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string SendCommandRequest::getCode() const {
|
||||
return code_;
|
||||
}
|
||||
|
||||
void SendCommandRequest::setCode(const std::string &code) {
|
||||
code_ = code;
|
||||
setParameter(std::string("Code"), code);
|
||||
}
|
||||
|
||||
std::string SendCommandRequest::getUniqueCode() const {
|
||||
return uniqueCode_;
|
||||
}
|
||||
|
||||
void SendCommandRequest::setUniqueCode(const std::string &uniqueCode) {
|
||||
uniqueCode_ = uniqueCode;
|
||||
setParameter(std::string("UniqueCode"), uniqueCode);
|
||||
}
|
||||
|
||||
long SendCommandRequest::getTenantId() const {
|
||||
return tenantId_;
|
||||
}
|
||||
|
||||
void SendCommandRequest::setTenantId(long tenantId) {
|
||||
tenantId_ = tenantId;
|
||||
setParameter(std::string("TenantId"), std::to_string(tenantId));
|
||||
}
|
||||
|
||||
std::string SendCommandRequest::getSessionId() const {
|
||||
return sessionId_;
|
||||
}
|
||||
|
||||
void SendCommandRequest::setSessionId(const std::string &sessionId) {
|
||||
sessionId_ = sessionId;
|
||||
setParameter(std::string("SessionId"), sessionId);
|
||||
}
|
||||
|
||||
std::map<std::string, std::string> SendCommandRequest::getContent() const {
|
||||
return content_;
|
||||
}
|
||||
|
||||
void SendCommandRequest::setContent(const std::map<std::string, std::string> &content) {
|
||||
content_ = content;
|
||||
for(auto const &iter1 : content) {
|
||||
setParameter(std::string("Content") + "." + iter1.first, iter1.second);
|
||||
}
|
||||
}
|
||||
|
||||
75
avatar/src/model/SendCommandResult.cc
Normal file
75
avatar/src/model/SendCommandResult.cc
Normal file
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* 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/avatar/model/SendCommandResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Avatar;
|
||||
using namespace AlibabaCloud::Avatar::Model;
|
||||
|
||||
SendCommandResult::SendCommandResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SendCommandResult::SendCommandResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SendCommandResult::~SendCommandResult()
|
||||
{}
|
||||
|
||||
void SendCommandResult::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["SessionId"].isNull())
|
||||
data_.sessionId = dataNode["SessionId"].asString();
|
||||
if(!dataNode["UniqueCode"].isNull())
|
||||
data_.uniqueCode = dataNode["UniqueCode"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string SendCommandResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
SendCommandResult::Data SendCommandResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string SendCommandResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool SendCommandResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
92
avatar/src/model/SendTextRequest.cc
Normal file
92
avatar/src/model/SendTextRequest.cc
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* 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/avatar/model/SendTextRequest.h>
|
||||
|
||||
using AlibabaCloud::Avatar::Model::SendTextRequest;
|
||||
|
||||
SendTextRequest::SendTextRequest()
|
||||
: RpcServiceRequest("avatar", "2022-01-30", "SendText") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SendTextRequest::~SendTextRequest() {}
|
||||
|
||||
bool SendTextRequest::getFeedback() const {
|
||||
return feedback_;
|
||||
}
|
||||
|
||||
void SendTextRequest::setFeedback(bool feedback) {
|
||||
feedback_ = feedback;
|
||||
setParameter(std::string("Feedback"), feedback ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string SendTextRequest::getUniqueCode() const {
|
||||
return uniqueCode_;
|
||||
}
|
||||
|
||||
void SendTextRequest::setUniqueCode(const std::string &uniqueCode) {
|
||||
uniqueCode_ = uniqueCode;
|
||||
setParameter(std::string("UniqueCode"), uniqueCode);
|
||||
}
|
||||
|
||||
SendTextRequest::StreamExtension SendTextRequest::getStreamExtension() const {
|
||||
return streamExtension_;
|
||||
}
|
||||
|
||||
void SendTextRequest::setStreamExtension(const SendTextRequest::StreamExtension &streamExtension) {
|
||||
streamExtension_ = streamExtension;
|
||||
setParameter(std::string("StreamExtension") + ".IsStream", streamExtension.isStream ? "true" : "false");
|
||||
setParameter(std::string("StreamExtension") + ".Index", std::to_string(streamExtension.index));
|
||||
setParameter(std::string("StreamExtension") + ".Position", streamExtension.position);
|
||||
}
|
||||
|
||||
long SendTextRequest::getTenantId() const {
|
||||
return tenantId_;
|
||||
}
|
||||
|
||||
void SendTextRequest::setTenantId(long tenantId) {
|
||||
tenantId_ = tenantId;
|
||||
setParameter(std::string("TenantId"), std::to_string(tenantId));
|
||||
}
|
||||
|
||||
bool SendTextRequest::getInterrupt() const {
|
||||
return interrupt_;
|
||||
}
|
||||
|
||||
void SendTextRequest::setInterrupt(bool interrupt) {
|
||||
interrupt_ = interrupt;
|
||||
setParameter(std::string("Interrupt"), interrupt ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string SendTextRequest::getSessionId() const {
|
||||
return sessionId_;
|
||||
}
|
||||
|
||||
void SendTextRequest::setSessionId(const std::string &sessionId) {
|
||||
sessionId_ = sessionId;
|
||||
setParameter(std::string("SessionId"), sessionId);
|
||||
}
|
||||
|
||||
std::string SendTextRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void SendTextRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
@@ -14,53 +14,62 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ocr/model/TrimDocumentResult.h>
|
||||
#include <alibabacloud/avatar/model/SendTextResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ocr;
|
||||
using namespace AlibabaCloud::Ocr::Model;
|
||||
using namespace AlibabaCloud::Avatar;
|
||||
using namespace AlibabaCloud::Avatar::Model;
|
||||
|
||||
TrimDocumentResult::TrimDocumentResult() :
|
||||
SendTextResult::SendTextResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TrimDocumentResult::TrimDocumentResult(const std::string &payload) :
|
||||
SendTextResult::SendTextResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TrimDocumentResult::~TrimDocumentResult()
|
||||
SendTextResult::~SendTextResult()
|
||||
{}
|
||||
|
||||
void TrimDocumentResult::parse(const std::string &payload)
|
||||
void SendTextResult::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["Content"].isNull())
|
||||
data_.content = dataNode["Content"].asString();
|
||||
if(!dataNode["SessionId"].isNull())
|
||||
data_.sessionId = dataNode["SessionId"].asString();
|
||||
if(!dataNode["UniqueCode"].isNull())
|
||||
data_.uniqueCode = dataNode["UniqueCode"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string TrimDocumentResult::getMessage()const
|
||||
std::string SendTextResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
TrimDocumentResult::Data TrimDocumentResult::getData()const
|
||||
SendTextResult::Data SendTextResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string TrimDocumentResult::getCode()const
|
||||
std::string SendTextResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool SendTextResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
54
avatar/src/model/SendVamlRequest.cc
Normal file
54
avatar/src/model/SendVamlRequest.cc
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* 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/avatar/model/SendVamlRequest.h>
|
||||
|
||||
using AlibabaCloud::Avatar::Model::SendVamlRequest;
|
||||
|
||||
SendVamlRequest::SendVamlRequest()
|
||||
: RpcServiceRequest("avatar", "2022-01-30", "SendVaml") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SendVamlRequest::~SendVamlRequest() {}
|
||||
|
||||
long SendVamlRequest::getTenantId() const {
|
||||
return tenantId_;
|
||||
}
|
||||
|
||||
void SendVamlRequest::setTenantId(long tenantId) {
|
||||
tenantId_ = tenantId;
|
||||
setParameter(std::string("TenantId"), std::to_string(tenantId));
|
||||
}
|
||||
|
||||
std::string SendVamlRequest::getSessionId() const {
|
||||
return sessionId_;
|
||||
}
|
||||
|
||||
void SendVamlRequest::setSessionId(const std::string &sessionId) {
|
||||
sessionId_ = sessionId;
|
||||
setParameter(std::string("SessionId"), sessionId);
|
||||
}
|
||||
|
||||
std::string SendVamlRequest::getVaml() const {
|
||||
return vaml_;
|
||||
}
|
||||
|
||||
void SendVamlRequest::setVaml(const std::string &vaml) {
|
||||
vaml_ = vaml;
|
||||
setParameter(std::string("Vaml"), vaml);
|
||||
}
|
||||
|
||||
75
avatar/src/model/SendVamlResult.cc
Normal file
75
avatar/src/model/SendVamlResult.cc
Normal file
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* 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/avatar/model/SendVamlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Avatar;
|
||||
using namespace AlibabaCloud::Avatar::Model;
|
||||
|
||||
SendVamlResult::SendVamlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SendVamlResult::SendVamlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SendVamlResult::~SendVamlResult()
|
||||
{}
|
||||
|
||||
void SendVamlResult::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["SessionId"].isNull())
|
||||
data_.sessionId = dataNode["SessionId"].asString();
|
||||
if(!dataNode["UniqueCode"].isNull())
|
||||
data_.uniqueCode = dataNode["UniqueCode"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string SendVamlResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
SendVamlResult::Data SendVamlResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string SendVamlResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool SendVamlResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -34,6 +34,42 @@ void SubmitAudioTo2DAvatarVideoTaskRequest::setApp(const SubmitAudioTo2DAvatarVi
|
||||
setParameter(std::string("App") + ".AppId", app.appId);
|
||||
}
|
||||
|
||||
SubmitAudioTo2DAvatarVideoTaskRequest::AvatarInfo SubmitAudioTo2DAvatarVideoTaskRequest::getAvatarInfo() const {
|
||||
return avatarInfo_;
|
||||
}
|
||||
|
||||
void SubmitAudioTo2DAvatarVideoTaskRequest::setAvatarInfo(const SubmitAudioTo2DAvatarVideoTaskRequest::AvatarInfo &avatarInfo) {
|
||||
avatarInfo_ = avatarInfo;
|
||||
setParameter(std::string("AvatarInfo") + ".Code", avatarInfo.code);
|
||||
}
|
||||
|
||||
std::string SubmitAudioTo2DAvatarVideoTaskRequest::getTitle() const {
|
||||
return title_;
|
||||
}
|
||||
|
||||
void SubmitAudioTo2DAvatarVideoTaskRequest::setTitle(const std::string &title) {
|
||||
title_ = title;
|
||||
setParameter(std::string("Title"), title);
|
||||
}
|
||||
|
||||
std::string SubmitAudioTo2DAvatarVideoTaskRequest::getExtParams() const {
|
||||
return extParams_;
|
||||
}
|
||||
|
||||
void SubmitAudioTo2DAvatarVideoTaskRequest::setExtParams(const std::string &extParams) {
|
||||
extParams_ = extParams;
|
||||
setParameter(std::string("ExtParams"), extParams);
|
||||
}
|
||||
|
||||
std::string SubmitAudioTo2DAvatarVideoTaskRequest::getUrl() const {
|
||||
return url_;
|
||||
}
|
||||
|
||||
void SubmitAudioTo2DAvatarVideoTaskRequest::setUrl(const std::string &url) {
|
||||
url_ = url;
|
||||
setParameter(std::string("Url"), url);
|
||||
}
|
||||
|
||||
SubmitAudioTo2DAvatarVideoTaskRequest::VideoInfo SubmitAudioTo2DAvatarVideoTaskRequest::getVideoInfo() const {
|
||||
return videoInfo_;
|
||||
}
|
||||
@@ -46,13 +82,13 @@ void SubmitAudioTo2DAvatarVideoTaskRequest::setVideoInfo(const SubmitAudioTo2DAv
|
||||
setParameter(std::string("VideoInfo") + ".AlphaFormat", std::to_string(videoInfo.alphaFormat));
|
||||
}
|
||||
|
||||
SubmitAudioTo2DAvatarVideoTaskRequest::AvatarInfo SubmitAudioTo2DAvatarVideoTaskRequest::getAvatarInfo() const {
|
||||
return avatarInfo_;
|
||||
std::string SubmitAudioTo2DAvatarVideoTaskRequest::getCallbackParams() const {
|
||||
return callbackParams_;
|
||||
}
|
||||
|
||||
void SubmitAudioTo2DAvatarVideoTaskRequest::setAvatarInfo(const SubmitAudioTo2DAvatarVideoTaskRequest::AvatarInfo &avatarInfo) {
|
||||
avatarInfo_ = avatarInfo;
|
||||
setParameter(std::string("AvatarInfo") + ".Code", avatarInfo.code);
|
||||
void SubmitAudioTo2DAvatarVideoTaskRequest::setCallbackParams(const std::string &callbackParams) {
|
||||
callbackParams_ = callbackParams;
|
||||
setParameter(std::string("CallbackParams"), callbackParams);
|
||||
}
|
||||
|
||||
long SubmitAudioTo2DAvatarVideoTaskRequest::getTenantId() const {
|
||||
@@ -64,21 +100,30 @@ void SubmitAudioTo2DAvatarVideoTaskRequest::setTenantId(long tenantId) {
|
||||
setParameter(std::string("TenantId"), std::to_string(tenantId));
|
||||
}
|
||||
|
||||
std::string SubmitAudioTo2DAvatarVideoTaskRequest::getTitle() const {
|
||||
return title_;
|
||||
bool SubmitAudioTo2DAvatarVideoTaskRequest::getCallback() const {
|
||||
return callback_;
|
||||
}
|
||||
|
||||
void SubmitAudioTo2DAvatarVideoTaskRequest::setTitle(const std::string &title) {
|
||||
title_ = title;
|
||||
setParameter(std::string("Title"), title);
|
||||
void SubmitAudioTo2DAvatarVideoTaskRequest::setCallback(bool callback) {
|
||||
callback_ = callback;
|
||||
setParameter(std::string("Callback"), callback ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string SubmitAudioTo2DAvatarVideoTaskRequest::getUrl() const {
|
||||
return url_;
|
||||
std::string SubmitAudioTo2DAvatarVideoTaskRequest::getExtParams_CLS() const {
|
||||
return extParams_CLS_;
|
||||
}
|
||||
|
||||
void SubmitAudioTo2DAvatarVideoTaskRequest::setUrl(const std::string &url) {
|
||||
url_ = url;
|
||||
setParameter(std::string("Url"), url);
|
||||
void SubmitAudioTo2DAvatarVideoTaskRequest::setExtParams_CLS(const std::string &extParams_CLS) {
|
||||
extParams_CLS_ = extParams_CLS;
|
||||
setParameter(std::string("ExtParams_CLS"), extParams_CLS);
|
||||
}
|
||||
|
||||
std::string SubmitAudioTo2DAvatarVideoTaskRequest::getCallbackParams_CLS() const {
|
||||
return callbackParams_CLS_;
|
||||
}
|
||||
|
||||
void SubmitAudioTo2DAvatarVideoTaskRequest::setCallbackParams_CLS(const std::string &callbackParams_CLS) {
|
||||
callbackParams_CLS_ = callbackParams_CLS;
|
||||
setParameter(std::string("CallbackParams_CLS"), callbackParams_CLS);
|
||||
}
|
||||
|
||||
|
||||
@@ -34,6 +34,45 @@ void SubmitAudioTo3DAvatarVideoTaskRequest::setApp(const SubmitAudioTo3DAvatarVi
|
||||
setParameter(std::string("App") + ".AppId", app.appId);
|
||||
}
|
||||
|
||||
SubmitAudioTo3DAvatarVideoTaskRequest::AvatarInfo SubmitAudioTo3DAvatarVideoTaskRequest::getAvatarInfo() const {
|
||||
return avatarInfo_;
|
||||
}
|
||||
|
||||
void SubmitAudioTo3DAvatarVideoTaskRequest::setAvatarInfo(const SubmitAudioTo3DAvatarVideoTaskRequest::AvatarInfo &avatarInfo) {
|
||||
avatarInfo_ = avatarInfo;
|
||||
setParameter(std::string("AvatarInfo") + ".Code", avatarInfo.code);
|
||||
setParameter(std::string("AvatarInfo") + ".Locate", std::to_string(avatarInfo.locate));
|
||||
setParameter(std::string("AvatarInfo") + ".Angle", std::to_string(avatarInfo.angle));
|
||||
setParameter(std::string("AvatarInfo") + ".IndustryCode", avatarInfo.industryCode);
|
||||
}
|
||||
|
||||
std::string SubmitAudioTo3DAvatarVideoTaskRequest::getTitle() const {
|
||||
return title_;
|
||||
}
|
||||
|
||||
void SubmitAudioTo3DAvatarVideoTaskRequest::setTitle(const std::string &title) {
|
||||
title_ = title;
|
||||
setParameter(std::string("Title"), title);
|
||||
}
|
||||
|
||||
std::string SubmitAudioTo3DAvatarVideoTaskRequest::getExtParams() const {
|
||||
return extParams_;
|
||||
}
|
||||
|
||||
void SubmitAudioTo3DAvatarVideoTaskRequest::setExtParams(const std::string &extParams) {
|
||||
extParams_ = extParams;
|
||||
setParameter(std::string("ExtParams"), extParams);
|
||||
}
|
||||
|
||||
std::string SubmitAudioTo3DAvatarVideoTaskRequest::getUrl() const {
|
||||
return url_;
|
||||
}
|
||||
|
||||
void SubmitAudioTo3DAvatarVideoTaskRequest::setUrl(const std::string &url) {
|
||||
url_ = url;
|
||||
setParameter(std::string("Url"), url);
|
||||
}
|
||||
|
||||
SubmitAudioTo3DAvatarVideoTaskRequest::VideoInfo SubmitAudioTo3DAvatarVideoTaskRequest::getVideoInfo() const {
|
||||
return videoInfo_;
|
||||
}
|
||||
@@ -46,15 +85,13 @@ void SubmitAudioTo3DAvatarVideoTaskRequest::setVideoInfo(const SubmitAudioTo3DAv
|
||||
setParameter(std::string("VideoInfo") + ".AlphaFormat", std::to_string(videoInfo.alphaFormat));
|
||||
}
|
||||
|
||||
SubmitAudioTo3DAvatarVideoTaskRequest::AvatarInfo SubmitAudioTo3DAvatarVideoTaskRequest::getAvatarInfo() const {
|
||||
return avatarInfo_;
|
||||
std::string SubmitAudioTo3DAvatarVideoTaskRequest::getCallbackParams() const {
|
||||
return callbackParams_;
|
||||
}
|
||||
|
||||
void SubmitAudioTo3DAvatarVideoTaskRequest::setAvatarInfo(const SubmitAudioTo3DAvatarVideoTaskRequest::AvatarInfo &avatarInfo) {
|
||||
avatarInfo_ = avatarInfo;
|
||||
setParameter(std::string("AvatarInfo") + ".Code", avatarInfo.code);
|
||||
setParameter(std::string("AvatarInfo") + ".Locate", std::to_string(avatarInfo.locate));
|
||||
setParameter(std::string("AvatarInfo") + ".Angle", std::to_string(avatarInfo.angle));
|
||||
void SubmitAudioTo3DAvatarVideoTaskRequest::setCallbackParams(const std::string &callbackParams) {
|
||||
callbackParams_ = callbackParams;
|
||||
setParameter(std::string("CallbackParams"), callbackParams);
|
||||
}
|
||||
|
||||
long SubmitAudioTo3DAvatarVideoTaskRequest::getTenantId() const {
|
||||
@@ -66,21 +103,30 @@ void SubmitAudioTo3DAvatarVideoTaskRequest::setTenantId(long tenantId) {
|
||||
setParameter(std::string("TenantId"), std::to_string(tenantId));
|
||||
}
|
||||
|
||||
std::string SubmitAudioTo3DAvatarVideoTaskRequest::getTitle() const {
|
||||
return title_;
|
||||
bool SubmitAudioTo3DAvatarVideoTaskRequest::getCallback() const {
|
||||
return callback_;
|
||||
}
|
||||
|
||||
void SubmitAudioTo3DAvatarVideoTaskRequest::setTitle(const std::string &title) {
|
||||
title_ = title;
|
||||
setParameter(std::string("Title"), title);
|
||||
void SubmitAudioTo3DAvatarVideoTaskRequest::setCallback(bool callback) {
|
||||
callback_ = callback;
|
||||
setParameter(std::string("Callback"), callback ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string SubmitAudioTo3DAvatarVideoTaskRequest::getUrl() const {
|
||||
return url_;
|
||||
std::string SubmitAudioTo3DAvatarVideoTaskRequest::getExtParams_CLS() const {
|
||||
return extParams_CLS_;
|
||||
}
|
||||
|
||||
void SubmitAudioTo3DAvatarVideoTaskRequest::setUrl(const std::string &url) {
|
||||
url_ = url;
|
||||
setParameter(std::string("Url"), url);
|
||||
void SubmitAudioTo3DAvatarVideoTaskRequest::setExtParams_CLS(const std::string &extParams_CLS) {
|
||||
extParams_CLS_ = extParams_CLS;
|
||||
setParameter(std::string("ExtParams_CLS"), extParams_CLS);
|
||||
}
|
||||
|
||||
std::string SubmitAudioTo3DAvatarVideoTaskRequest::getCallbackParams_CLS() const {
|
||||
return callbackParams_CLS_;
|
||||
}
|
||||
|
||||
void SubmitAudioTo3DAvatarVideoTaskRequest::setCallbackParams_CLS(const std::string &callbackParams_CLS) {
|
||||
callbackParams_CLS_ = callbackParams_CLS;
|
||||
setParameter(std::string("CallbackParams_CLS"), callbackParams_CLS);
|
||||
}
|
||||
|
||||
|
||||
@@ -34,19 +34,6 @@ void SubmitTextTo2DAvatarVideoTaskRequest::setApp(const SubmitTextTo2DAvatarVide
|
||||
setParameter(std::string("App") + ".AppId", app.appId);
|
||||
}
|
||||
|
||||
SubmitTextTo2DAvatarVideoTaskRequest::VideoInfo SubmitTextTo2DAvatarVideoTaskRequest::getVideoInfo() const {
|
||||
return videoInfo_;
|
||||
}
|
||||
|
||||
void SubmitTextTo2DAvatarVideoTaskRequest::setVideoInfo(const SubmitTextTo2DAvatarVideoTaskRequest::VideoInfo &videoInfo) {
|
||||
videoInfo_ = videoInfo;
|
||||
setParameter(std::string("VideoInfo") + ".IsAlpha", videoInfo.isAlpha ? "true" : "false");
|
||||
setParameter(std::string("VideoInfo") + ".BackgroundImageUrl", videoInfo.backgroundImageUrl);
|
||||
setParameter(std::string("VideoInfo") + ".IsSubtitles", videoInfo.isSubtitles ? "true" : "false");
|
||||
setParameter(std::string("VideoInfo") + ".Resolution", std::to_string(videoInfo.resolution));
|
||||
setParameter(std::string("VideoInfo") + ".AlphaFormat", std::to_string(videoInfo.alphaFormat));
|
||||
}
|
||||
|
||||
SubmitTextTo2DAvatarVideoTaskRequest::AudioInfo SubmitTextTo2DAvatarVideoTaskRequest::getAudioInfo() const {
|
||||
return audioInfo_;
|
||||
}
|
||||
@@ -68,6 +55,46 @@ void SubmitTextTo2DAvatarVideoTaskRequest::setAvatarInfo(const SubmitTextTo2DAva
|
||||
setParameter(std::string("AvatarInfo") + ".Code", avatarInfo.code);
|
||||
}
|
||||
|
||||
std::string SubmitTextTo2DAvatarVideoTaskRequest::getTitle() const {
|
||||
return title_;
|
||||
}
|
||||
|
||||
void SubmitTextTo2DAvatarVideoTaskRequest::setTitle(const std::string &title) {
|
||||
title_ = title;
|
||||
setParameter(std::string("Title"), title);
|
||||
}
|
||||
|
||||
std::string SubmitTextTo2DAvatarVideoTaskRequest::getExtParams() const {
|
||||
return extParams_;
|
||||
}
|
||||
|
||||
void SubmitTextTo2DAvatarVideoTaskRequest::setExtParams(const std::string &extParams) {
|
||||
extParams_ = extParams;
|
||||
setParameter(std::string("ExtParams"), extParams);
|
||||
}
|
||||
|
||||
SubmitTextTo2DAvatarVideoTaskRequest::VideoInfo SubmitTextTo2DAvatarVideoTaskRequest::getVideoInfo() const {
|
||||
return videoInfo_;
|
||||
}
|
||||
|
||||
void SubmitTextTo2DAvatarVideoTaskRequest::setVideoInfo(const SubmitTextTo2DAvatarVideoTaskRequest::VideoInfo &videoInfo) {
|
||||
videoInfo_ = videoInfo;
|
||||
setParameter(std::string("VideoInfo") + ".IsAlpha", videoInfo.isAlpha ? "true" : "false");
|
||||
setParameter(std::string("VideoInfo") + ".BackgroundImageUrl", videoInfo.backgroundImageUrl);
|
||||
setParameter(std::string("VideoInfo") + ".IsSubtitles", videoInfo.isSubtitles ? "true" : "false");
|
||||
setParameter(std::string("VideoInfo") + ".Resolution", std::to_string(videoInfo.resolution));
|
||||
setParameter(std::string("VideoInfo") + ".AlphaFormat", std::to_string(videoInfo.alphaFormat));
|
||||
}
|
||||
|
||||
std::string SubmitTextTo2DAvatarVideoTaskRequest::getCallbackParams() const {
|
||||
return callbackParams_;
|
||||
}
|
||||
|
||||
void SubmitTextTo2DAvatarVideoTaskRequest::setCallbackParams(const std::string &callbackParams) {
|
||||
callbackParams_ = callbackParams;
|
||||
setParameter(std::string("CallbackParams"), callbackParams);
|
||||
}
|
||||
|
||||
long SubmitTextTo2DAvatarVideoTaskRequest::getTenantId() const {
|
||||
return tenantId_;
|
||||
}
|
||||
@@ -77,6 +104,24 @@ void SubmitTextTo2DAvatarVideoTaskRequest::setTenantId(long tenantId) {
|
||||
setParameter(std::string("TenantId"), std::to_string(tenantId));
|
||||
}
|
||||
|
||||
bool SubmitTextTo2DAvatarVideoTaskRequest::getCallback() const {
|
||||
return callback_;
|
||||
}
|
||||
|
||||
void SubmitTextTo2DAvatarVideoTaskRequest::setCallback(bool callback) {
|
||||
callback_ = callback;
|
||||
setParameter(std::string("Callback"), callback ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string SubmitTextTo2DAvatarVideoTaskRequest::getExtParams_CLS() const {
|
||||
return extParams_CLS_;
|
||||
}
|
||||
|
||||
void SubmitTextTo2DAvatarVideoTaskRequest::setExtParams_CLS(const std::string &extParams_CLS) {
|
||||
extParams_CLS_ = extParams_CLS;
|
||||
setParameter(std::string("ExtParams_CLS"), extParams_CLS);
|
||||
}
|
||||
|
||||
std::string SubmitTextTo2DAvatarVideoTaskRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
@@ -86,12 +131,12 @@ void SubmitTextTo2DAvatarVideoTaskRequest::setText(const std::string &text) {
|
||||
setParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
std::string SubmitTextTo2DAvatarVideoTaskRequest::getTitle() const {
|
||||
return title_;
|
||||
std::string SubmitTextTo2DAvatarVideoTaskRequest::getCallbackParams_CLS() const {
|
||||
return callbackParams_CLS_;
|
||||
}
|
||||
|
||||
void SubmitTextTo2DAvatarVideoTaskRequest::setTitle(const std::string &title) {
|
||||
title_ = title;
|
||||
setParameter(std::string("Title"), title);
|
||||
void SubmitTextTo2DAvatarVideoTaskRequest::setCallbackParams_CLS(const std::string &callbackParams_CLS) {
|
||||
callbackParams_CLS_ = callbackParams_CLS;
|
||||
setParameter(std::string("CallbackParams_CLS"), callbackParams_CLS);
|
||||
}
|
||||
|
||||
|
||||
@@ -34,6 +34,48 @@ void SubmitTextTo3DAvatarVideoTaskRequest::setApp(const SubmitTextTo3DAvatarVide
|
||||
setParameter(std::string("App") + ".AppId", app.appId);
|
||||
}
|
||||
|
||||
SubmitTextTo3DAvatarVideoTaskRequest::AudioInfo SubmitTextTo3DAvatarVideoTaskRequest::getAudioInfo() const {
|
||||
return audioInfo_;
|
||||
}
|
||||
|
||||
void SubmitTextTo3DAvatarVideoTaskRequest::setAudioInfo(const SubmitTextTo3DAvatarVideoTaskRequest::AudioInfo &audioInfo) {
|
||||
audioInfo_ = audioInfo;
|
||||
setParameter(std::string("AudioInfo") + ".Voice", audioInfo.voice);
|
||||
setParameter(std::string("AudioInfo") + ".Volume", std::to_string(audioInfo.volume));
|
||||
setParameter(std::string("AudioInfo") + ".SpeechRate", std::to_string(audioInfo.speechRate));
|
||||
setParameter(std::string("AudioInfo") + ".PitchRate", std::to_string(audioInfo.pitchRate));
|
||||
}
|
||||
|
||||
SubmitTextTo3DAvatarVideoTaskRequest::AvatarInfo SubmitTextTo3DAvatarVideoTaskRequest::getAvatarInfo() const {
|
||||
return avatarInfo_;
|
||||
}
|
||||
|
||||
void SubmitTextTo3DAvatarVideoTaskRequest::setAvatarInfo(const SubmitTextTo3DAvatarVideoTaskRequest::AvatarInfo &avatarInfo) {
|
||||
avatarInfo_ = avatarInfo;
|
||||
setParameter(std::string("AvatarInfo") + ".Code", avatarInfo.code);
|
||||
setParameter(std::string("AvatarInfo") + ".Locate", std::to_string(avatarInfo.locate));
|
||||
setParameter(std::string("AvatarInfo") + ".Angle", std::to_string(avatarInfo.angle));
|
||||
setParameter(std::string("AvatarInfo") + ".IndustryCode", avatarInfo.industryCode);
|
||||
}
|
||||
|
||||
std::string SubmitTextTo3DAvatarVideoTaskRequest::getTitle() const {
|
||||
return title_;
|
||||
}
|
||||
|
||||
void SubmitTextTo3DAvatarVideoTaskRequest::setTitle(const std::string &title) {
|
||||
title_ = title;
|
||||
setParameter(std::string("Title"), title);
|
||||
}
|
||||
|
||||
std::string SubmitTextTo3DAvatarVideoTaskRequest::getExtParams() const {
|
||||
return extParams_;
|
||||
}
|
||||
|
||||
void SubmitTextTo3DAvatarVideoTaskRequest::setExtParams(const std::string &extParams) {
|
||||
extParams_ = extParams;
|
||||
setParameter(std::string("ExtParams"), extParams);
|
||||
}
|
||||
|
||||
SubmitTextTo3DAvatarVideoTaskRequest::VideoInfo SubmitTextTo3DAvatarVideoTaskRequest::getVideoInfo() const {
|
||||
return videoInfo_;
|
||||
}
|
||||
@@ -47,15 +89,13 @@ void SubmitTextTo3DAvatarVideoTaskRequest::setVideoInfo(const SubmitTextTo3DAvat
|
||||
setParameter(std::string("VideoInfo") + ".AlphaFormat", std::to_string(videoInfo.alphaFormat));
|
||||
}
|
||||
|
||||
SubmitTextTo3DAvatarVideoTaskRequest::AvatarInfo SubmitTextTo3DAvatarVideoTaskRequest::getAvatarInfo() const {
|
||||
return avatarInfo_;
|
||||
std::string SubmitTextTo3DAvatarVideoTaskRequest::getCallbackParams() const {
|
||||
return callbackParams_;
|
||||
}
|
||||
|
||||
void SubmitTextTo3DAvatarVideoTaskRequest::setAvatarInfo(const SubmitTextTo3DAvatarVideoTaskRequest::AvatarInfo &avatarInfo) {
|
||||
avatarInfo_ = avatarInfo;
|
||||
setParameter(std::string("AvatarInfo") + ".Code", avatarInfo.code);
|
||||
setParameter(std::string("AvatarInfo") + ".Locate", std::to_string(avatarInfo.locate));
|
||||
setParameter(std::string("AvatarInfo") + ".Angle", std::to_string(avatarInfo.angle));
|
||||
void SubmitTextTo3DAvatarVideoTaskRequest::setCallbackParams(const std::string &callbackParams) {
|
||||
callbackParams_ = callbackParams;
|
||||
setParameter(std::string("CallbackParams"), callbackParams);
|
||||
}
|
||||
|
||||
long SubmitTextTo3DAvatarVideoTaskRequest::getTenantId() const {
|
||||
@@ -67,6 +107,24 @@ void SubmitTextTo3DAvatarVideoTaskRequest::setTenantId(long tenantId) {
|
||||
setParameter(std::string("TenantId"), std::to_string(tenantId));
|
||||
}
|
||||
|
||||
bool SubmitTextTo3DAvatarVideoTaskRequest::getCallback() const {
|
||||
return callback_;
|
||||
}
|
||||
|
||||
void SubmitTextTo3DAvatarVideoTaskRequest::setCallback(bool callback) {
|
||||
callback_ = callback;
|
||||
setParameter(std::string("Callback"), callback ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string SubmitTextTo3DAvatarVideoTaskRequest::getExtParams_CLS() const {
|
||||
return extParams_CLS_;
|
||||
}
|
||||
|
||||
void SubmitTextTo3DAvatarVideoTaskRequest::setExtParams_CLS(const std::string &extParams_CLS) {
|
||||
extParams_CLS_ = extParams_CLS;
|
||||
setParameter(std::string("ExtParams_CLS"), extParams_CLS);
|
||||
}
|
||||
|
||||
std::string SubmitTextTo3DAvatarVideoTaskRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
@@ -76,12 +134,12 @@ void SubmitTextTo3DAvatarVideoTaskRequest::setText(const std::string &text) {
|
||||
setParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
std::string SubmitTextTo3DAvatarVideoTaskRequest::getTitle() const {
|
||||
return title_;
|
||||
std::string SubmitTextTo3DAvatarVideoTaskRequest::getCallbackParams_CLS() const {
|
||||
return callbackParams_CLS_;
|
||||
}
|
||||
|
||||
void SubmitTextTo3DAvatarVideoTaskRequest::setTitle(const std::string &title) {
|
||||
title_ = title;
|
||||
setParameter(std::string("Title"), title);
|
||||
void SubmitTextTo3DAvatarVideoTaskRequest::setCallbackParams_CLS(const std::string &callbackParams_CLS) {
|
||||
callbackParams_CLS_ = callbackParams_CLS;
|
||||
setParameter(std::string("CallbackParams_CLS"), callbackParams_CLS);
|
||||
}
|
||||
|
||||
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
void setCenId(const std::string &cenId);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getTrRegionId() const;
|
||||
void setTrRegionId(const std::string &trRegionId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -51,6 +53,7 @@ private:
|
||||
long resourceOwnerId_;
|
||||
std::string cenId_;
|
||||
int pageNumber_;
|
||||
std::string trRegionId_;
|
||||
int pageSize_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -41,8 +41,10 @@ namespace AlibabaCloud
|
||||
};
|
||||
std::string status;
|
||||
std::string transitRouterMulticastDomainId;
|
||||
std::string cenId;
|
||||
std::string transitRouterMulticastDomainName;
|
||||
std::string transitRouterMulticastDomainDescription;
|
||||
std::string regionId;
|
||||
std::vector<TransitRouterMulticastDomain::Tag> tags;
|
||||
std::string transitRouterId;
|
||||
};
|
||||
|
||||
@@ -34,10 +34,21 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct TransitRouterRouteEntry
|
||||
{
|
||||
struct PathAttributes
|
||||
{
|
||||
std::string originRouteType;
|
||||
int preference;
|
||||
std::string originInstanceType;
|
||||
std::string originInstanceId;
|
||||
std::vector<std::string> communities1;
|
||||
std::vector<std::string> asPaths2;
|
||||
};
|
||||
std::string transitRouterRouteEntryOriginResourceType;
|
||||
std::string transitRouterRouteEntryNextHopId;
|
||||
std::string transitRouterRouteEntryOriginResourceId;
|
||||
std::string prefixListId;
|
||||
std::vector<std::string> communities;
|
||||
PathAttributes pathAttributes;
|
||||
std::string createTime;
|
||||
std::string transitRouterRouteEntryNextHopType;
|
||||
bool operationalMode;
|
||||
@@ -45,9 +56,11 @@ namespace AlibabaCloud
|
||||
std::string transitRouterRouteEntryNextHopResourceId;
|
||||
std::string transitRouterRouteEntryNextHopResourceType;
|
||||
std::string transitRouterRouteEntryType;
|
||||
int preference;
|
||||
std::string transitRouterRouteEntryDescription;
|
||||
std::string transitRouterRouteEntryName;
|
||||
std::string tag;
|
||||
std::vector<std::string> asPaths;
|
||||
std::string transitRouterRouteEntryId;
|
||||
std::string transitRouterRouteEntryStatus;
|
||||
};
|
||||
|
||||
@@ -52,6 +52,15 @@ void DescribeCenInterRegionBandwidthLimitsRequest::setPageNumber(int pageNumber)
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeCenInterRegionBandwidthLimitsRequest::getTrRegionId() const {
|
||||
return trRegionId_;
|
||||
}
|
||||
|
||||
void DescribeCenInterRegionBandwidthLimitsRequest::setTrRegionId(const std::string &trRegionId) {
|
||||
trRegionId_ = trRegionId;
|
||||
setParameter(std::string("TrRegionId"), trRegionId);
|
||||
}
|
||||
|
||||
int DescribeCenInterRegionBandwidthLimitsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
@@ -53,6 +53,10 @@ void ListTransitRouterMulticastDomainsResult::parse(const std::string &payload)
|
||||
transitRouterMulticastDomainsObject.status = valueTransitRouterMulticastDomainsTransitRouterMulticastDomain["Status"].asString();
|
||||
if(!valueTransitRouterMulticastDomainsTransitRouterMulticastDomain["TransitRouterId"].isNull())
|
||||
transitRouterMulticastDomainsObject.transitRouterId = valueTransitRouterMulticastDomainsTransitRouterMulticastDomain["TransitRouterId"].asString();
|
||||
if(!valueTransitRouterMulticastDomainsTransitRouterMulticastDomain["RegionId"].isNull())
|
||||
transitRouterMulticastDomainsObject.regionId = valueTransitRouterMulticastDomainsTransitRouterMulticastDomain["RegionId"].asString();
|
||||
if(!valueTransitRouterMulticastDomainsTransitRouterMulticastDomain["CenId"].isNull())
|
||||
transitRouterMulticastDomainsObject.cenId = valueTransitRouterMulticastDomainsTransitRouterMulticastDomain["CenId"].asString();
|
||||
auto allTagsNode = valueTransitRouterMulticastDomainsTransitRouterMulticastDomain["Tags"]["Tag"];
|
||||
for (auto valueTransitRouterMulticastDomainsTransitRouterMulticastDomainTagsTag : allTagsNode)
|
||||
{
|
||||
|
||||
@@ -75,6 +75,29 @@ void ListTransitRouterRouteEntriesResult::parse(const std::string &payload)
|
||||
transitRouterRouteEntriesObject.transitRouterRouteEntryOriginResourceId = valueTransitRouterRouteEntriesTransitRouterRouteEntry["TransitRouterRouteEntryOriginResourceId"].asString();
|
||||
if(!valueTransitRouterRouteEntriesTransitRouterRouteEntry["PrefixListId"].isNull())
|
||||
transitRouterRouteEntriesObject.prefixListId = valueTransitRouterRouteEntriesTransitRouterRouteEntry["PrefixListId"].asString();
|
||||
if(!valueTransitRouterRouteEntriesTransitRouterRouteEntry["Preference"].isNull())
|
||||
transitRouterRouteEntriesObject.preference = std::stoi(valueTransitRouterRouteEntriesTransitRouterRouteEntry["Preference"].asString());
|
||||
auto pathAttributesNode = value["PathAttributes"];
|
||||
if(!pathAttributesNode["OriginInstanceId"].isNull())
|
||||
transitRouterRouteEntriesObject.pathAttributes.originInstanceId = pathAttributesNode["OriginInstanceId"].asString();
|
||||
if(!pathAttributesNode["OriginInstanceType"].isNull())
|
||||
transitRouterRouteEntriesObject.pathAttributes.originInstanceType = pathAttributesNode["OriginInstanceType"].asString();
|
||||
if(!pathAttributesNode["OriginRouteType"].isNull())
|
||||
transitRouterRouteEntriesObject.pathAttributes.originRouteType = pathAttributesNode["OriginRouteType"].asString();
|
||||
if(!pathAttributesNode["Preference"].isNull())
|
||||
transitRouterRouteEntriesObject.pathAttributes.preference = std::stoi(pathAttributesNode["Preference"].asString());
|
||||
auto allCommunities1 = pathAttributesNode["Communities"]["Community"];
|
||||
for (auto value : allCommunities1)
|
||||
transitRouterRouteEntriesObject.pathAttributes.communities1.push_back(value.asString());
|
||||
auto allAsPaths2 = pathAttributesNode["AsPaths"]["AsPath"];
|
||||
for (auto value : allAsPaths2)
|
||||
transitRouterRouteEntriesObject.pathAttributes.asPaths2.push_back(value.asString());
|
||||
auto allCommunities = value["Communities"]["Community"];
|
||||
for (auto value : allCommunities)
|
||||
transitRouterRouteEntriesObject.communities.push_back(value.asString());
|
||||
auto allAsPaths = value["AsPaths"]["AsPath"];
|
||||
for (auto value : allAsPaths)
|
||||
transitRouterRouteEntriesObject.asPaths.push_back(value.asString());
|
||||
transitRouterRouteEntries_.push_back(transitRouterRouteEntriesObject);
|
||||
}
|
||||
if(!value["NextToken"].isNull())
|
||||
|
||||
@@ -89,6 +89,8 @@ set(dataworks-public_public_header_model
|
||||
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/CreateResourceFileRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateResourceFileResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateTableRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateTableResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateTableLevelRequest.h
|
||||
@@ -604,6 +606,8 @@ set(dataworks-public_src
|
||||
src/model/CreateQualityRuleResult.cc
|
||||
src/model/CreateRemindRequest.cc
|
||||
src/model/CreateRemindResult.cc
|
||||
src/model/CreateResourceFileRequest.cc
|
||||
src/model/CreateResourceFileResult.cc
|
||||
src/model/CreateTableRequest.cc
|
||||
src/model/CreateTableResult.cc
|
||||
src/model/CreateTableLevelRequest.cc
|
||||
|
||||
@@ -90,6 +90,8 @@
|
||||
#include "model/CreateQualityRuleResult.h"
|
||||
#include "model/CreateRemindRequest.h"
|
||||
#include "model/CreateRemindResult.h"
|
||||
#include "model/CreateResourceFileRequest.h"
|
||||
#include "model/CreateResourceFileResult.h"
|
||||
#include "model/CreateTableRequest.h"
|
||||
#include "model/CreateTableResult.h"
|
||||
#include "model/CreateTableLevelRequest.h"
|
||||
@@ -645,6 +647,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateRemindResult> CreateRemindOutcome;
|
||||
typedef std::future<CreateRemindOutcome> CreateRemindOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::CreateRemindRequest&, const CreateRemindOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRemindAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateResourceFileResult> CreateResourceFileOutcome;
|
||||
typedef std::future<CreateResourceFileOutcome> CreateResourceFileOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::CreateResourceFileRequest&, const CreateResourceFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateResourceFileAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateTableResult> CreateTableOutcome;
|
||||
typedef std::future<CreateTableOutcome> CreateTableOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::CreateTableRequest&, const CreateTableOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTableAsyncHandler;
|
||||
@@ -1418,6 +1423,9 @@ namespace AlibabaCloud
|
||||
CreateRemindOutcome createRemind(const Model::CreateRemindRequest &request)const;
|
||||
void createRemindAsync(const Model::CreateRemindRequest& request, const CreateRemindAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateRemindOutcomeCallable createRemindCallable(const Model::CreateRemindRequest& request) const;
|
||||
CreateResourceFileOutcome createResourceFile(const Model::CreateResourceFileRequest &request)const;
|
||||
void createResourceFileAsync(const Model::CreateResourceFileRequest& request, const CreateResourceFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateResourceFileOutcomeCallable createResourceFileCallable(const Model::CreateResourceFileRequest& request) const;
|
||||
CreateTableOutcome createTable(const Model::CreateTableRequest &request)const;
|
||||
void createTableAsync(const Model::CreateTableRequest& request, const CreateTableAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateTableOutcomeCallable createTableCallable(const Model::CreateTableRequest& request) const;
|
||||
|
||||
@@ -56,6 +56,8 @@ public:
|
||||
void setAutoRerunIntervalMillis(int autoRerunIntervalMillis);
|
||||
std::string getInputList() const;
|
||||
void setInputList(const std::string &inputList);
|
||||
bool getCreateFolderIfNotExists() const;
|
||||
void setCreateFolderIfNotExists(bool createFolderIfNotExists);
|
||||
std::string getRerunMode() const;
|
||||
void setRerunMode(const std::string &rerunMode);
|
||||
std::string getConnectionName() const;
|
||||
@@ -105,6 +107,7 @@ private:
|
||||
std::string owner_;
|
||||
int autoRerunIntervalMillis_;
|
||||
std::string inputList_;
|
||||
bool createFolderIfNotExists_;
|
||||
std::string rerunMode_;
|
||||
std::string connectionName_;
|
||||
std::string outputParameters_;
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* 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_CREATERESOURCEFILEREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATERESOURCEFILEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateResourceFileRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateResourceFileRequest();
|
||||
~CreateResourceFileRequest();
|
||||
int getFileType() const;
|
||||
void setFileType(int fileType);
|
||||
std::string getContent() const;
|
||||
void setContent(const std::string &content);
|
||||
std::string getResourceFile() const;
|
||||
void setResourceFile(const std::string &resourceFile);
|
||||
std::string getOriginResourceName() const;
|
||||
void setOriginResourceName(const std::string &originResourceName);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
std::string getStorageURL() const;
|
||||
void setStorageURL(const std::string &storageURL);
|
||||
std::string getOwner() const;
|
||||
void setOwner(const std::string &owner);
|
||||
bool getRegisterToCalcEngine() const;
|
||||
void setRegisterToCalcEngine(bool registerToCalcEngine);
|
||||
bool getUploadMode() const;
|
||||
void setUploadMode(bool uploadMode);
|
||||
std::string getFileName() const;
|
||||
void setFileName(const std::string &fileName);
|
||||
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 content_;
|
||||
std::string resourceFile_;
|
||||
std::string originResourceName_;
|
||||
long projectId_;
|
||||
std::string storageURL_;
|
||||
std::string owner_;
|
||||
bool registerToCalcEngine_;
|
||||
bool uploadMode_;
|
||||
std::string fileName_;
|
||||
std::string fileFolderPath_;
|
||||
std::string fileDescription_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATERESOURCEFILEREQUEST_H_
|
||||
@@ -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_DATAWORKS_PUBLIC_MODEL_CREATERESOURCEFILERESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATERESOURCEFILERESULT_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 CreateResourceFileResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateResourceFileResult();
|
||||
explicit CreateResourceFileResult(const std::string &payload);
|
||||
~CreateResourceFileResult();
|
||||
long getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATERESOURCEFILERESULT_H_
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateUdfFileRequest : public RpcServ
|
||||
public:
|
||||
CreateUdfFileRequest();
|
||||
~CreateUdfFileRequest();
|
||||
bool getCreateFolderIfNotExists() const;
|
||||
void setCreateFolderIfNotExists(bool createFolderIfNotExists);
|
||||
std::string getReturnValue() const;
|
||||
void setReturnValue(const std::string &returnValue);
|
||||
std::string getResources() const;
|
||||
@@ -56,6 +58,7 @@ public:
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
bool createFolderIfNotExists_;
|
||||
std::string returnValue_;
|
||||
std::string resources_;
|
||||
std::string functionType_;
|
||||
|
||||
@@ -34,14 +34,22 @@ public:
|
||||
void setOwner(const std::string &owner);
|
||||
std::string getFileTypes() const;
|
||||
void setFileTypes(const std::string &fileTypes);
|
||||
bool getNeedContent() const;
|
||||
void setNeedContent(bool needContent);
|
||||
bool getNeedAbsoluteFolderPath() const;
|
||||
void setNeedAbsoluteFolderPath(bool needAbsoluteFolderPath);
|
||||
std::string getProjectIdentifier() const;
|
||||
void setProjectIdentifier(const std::string &projectIdentifier);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getFileIdIn() const;
|
||||
void setFileIdIn(const std::string &fileIdIn);
|
||||
std::string getFileFolderPath() const;
|
||||
void setFileFolderPath(const std::string &fileFolderPath);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getExactFileName() const;
|
||||
void setExactFileName(const std::string &exactFileName);
|
||||
std::string getKeyword() const;
|
||||
void setKeyword(const std::string &keyword);
|
||||
long getProjectId() const;
|
||||
@@ -54,10 +62,14 @@ public:
|
||||
private:
|
||||
std::string owner_;
|
||||
std::string fileTypes_;
|
||||
bool needContent_;
|
||||
bool needAbsoluteFolderPath_;
|
||||
std::string projectIdentifier_;
|
||||
int pageNumber_;
|
||||
std::string fileIdIn_;
|
||||
std::string fileFolderPath_;
|
||||
int pageSize_;
|
||||
std::string exactFileName_;
|
||||
std::string keyword_;
|
||||
long projectId_;
|
||||
std::string useType_;
|
||||
|
||||
@@ -50,6 +50,7 @@ namespace AlibabaCloud
|
||||
int fileType;
|
||||
std::string lastEditUser;
|
||||
std::string content;
|
||||
std::string absoluteFolderPath;
|
||||
int commitStatus;
|
||||
long nodeId;
|
||||
bool autoParsing;
|
||||
|
||||
@@ -1275,6 +1275,42 @@ Dataworks_publicClient::CreateRemindOutcomeCallable Dataworks_publicClient::crea
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::CreateResourceFileOutcome Dataworks_publicClient::createResourceFile(const CreateResourceFileRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateResourceFileOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateResourceFileOutcome(CreateResourceFileResult(outcome.result()));
|
||||
else
|
||||
return CreateResourceFileOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::createResourceFileAsync(const CreateResourceFileRequest& request, const CreateResourceFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createResourceFile(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::CreateResourceFileOutcomeCallable Dataworks_publicClient::createResourceFileCallable(const CreateResourceFileRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateResourceFileOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createResourceFile(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::CreateTableOutcome Dataworks_publicClient::createTable(const CreateTableRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -142,6 +142,15 @@ void CreateFileRequest::setInputList(const std::string &inputList) {
|
||||
setBodyParameter(std::string("InputList"), inputList);
|
||||
}
|
||||
|
||||
bool CreateFileRequest::getCreateFolderIfNotExists() const {
|
||||
return createFolderIfNotExists_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setCreateFolderIfNotExists(bool createFolderIfNotExists) {
|
||||
createFolderIfNotExists_ = createFolderIfNotExists;
|
||||
setBodyParameter(std::string("CreateFolderIfNotExists"), createFolderIfNotExists ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateFileRequest::getRerunMode() const {
|
||||
return rerunMode_;
|
||||
}
|
||||
|
||||
135
dataworks-public/src/model/CreateResourceFileRequest.cc
Normal file
135
dataworks-public/src/model/CreateResourceFileRequest.cc
Normal file
@@ -0,0 +1,135 @@
|
||||
/*
|
||||
* 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/dataworks-public/model/CreateResourceFileRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::CreateResourceFileRequest;
|
||||
|
||||
CreateResourceFileRequest::CreateResourceFileRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateResourceFile") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateResourceFileRequest::~CreateResourceFileRequest() {}
|
||||
|
||||
int CreateResourceFileRequest::getFileType() const {
|
||||
return fileType_;
|
||||
}
|
||||
|
||||
void CreateResourceFileRequest::setFileType(int fileType) {
|
||||
fileType_ = fileType;
|
||||
setBodyParameter(std::string("FileType"), std::to_string(fileType));
|
||||
}
|
||||
|
||||
std::string CreateResourceFileRequest::getContent() const {
|
||||
return content_;
|
||||
}
|
||||
|
||||
void CreateResourceFileRequest::setContent(const std::string &content) {
|
||||
content_ = content;
|
||||
setBodyParameter(std::string("Content"), content);
|
||||
}
|
||||
|
||||
std::string CreateResourceFileRequest::getResourceFile() const {
|
||||
return resourceFile_;
|
||||
}
|
||||
|
||||
void CreateResourceFileRequest::setResourceFile(const std::string &resourceFile) {
|
||||
resourceFile_ = resourceFile;
|
||||
setBodyParameter(std::string("ResourceFile"), resourceFile);
|
||||
}
|
||||
|
||||
std::string CreateResourceFileRequest::getOriginResourceName() const {
|
||||
return originResourceName_;
|
||||
}
|
||||
|
||||
void CreateResourceFileRequest::setOriginResourceName(const std::string &originResourceName) {
|
||||
originResourceName_ = originResourceName;
|
||||
setBodyParameter(std::string("OriginResourceName"), originResourceName);
|
||||
}
|
||||
|
||||
long CreateResourceFileRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateResourceFileRequest::setProjectId(long projectId) {
|
||||
projectId_ = projectId;
|
||||
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string CreateResourceFileRequest::getStorageURL() const {
|
||||
return storageURL_;
|
||||
}
|
||||
|
||||
void CreateResourceFileRequest::setStorageURL(const std::string &storageURL) {
|
||||
storageURL_ = storageURL;
|
||||
setBodyParameter(std::string("StorageURL"), storageURL);
|
||||
}
|
||||
|
||||
std::string CreateResourceFileRequest::getOwner() const {
|
||||
return owner_;
|
||||
}
|
||||
|
||||
void CreateResourceFileRequest::setOwner(const std::string &owner) {
|
||||
owner_ = owner;
|
||||
setBodyParameter(std::string("Owner"), owner);
|
||||
}
|
||||
|
||||
bool CreateResourceFileRequest::getRegisterToCalcEngine() const {
|
||||
return registerToCalcEngine_;
|
||||
}
|
||||
|
||||
void CreateResourceFileRequest::setRegisterToCalcEngine(bool registerToCalcEngine) {
|
||||
registerToCalcEngine_ = registerToCalcEngine;
|
||||
setBodyParameter(std::string("RegisterToCalcEngine"), registerToCalcEngine ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateResourceFileRequest::getUploadMode() const {
|
||||
return uploadMode_;
|
||||
}
|
||||
|
||||
void CreateResourceFileRequest::setUploadMode(bool uploadMode) {
|
||||
uploadMode_ = uploadMode;
|
||||
setBodyParameter(std::string("UploadMode"), uploadMode ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateResourceFileRequest::getFileName() const {
|
||||
return fileName_;
|
||||
}
|
||||
|
||||
void CreateResourceFileRequest::setFileName(const std::string &fileName) {
|
||||
fileName_ = fileName;
|
||||
setBodyParameter(std::string("FileName"), fileName);
|
||||
}
|
||||
|
||||
std::string CreateResourceFileRequest::getFileFolderPath() const {
|
||||
return fileFolderPath_;
|
||||
}
|
||||
|
||||
void CreateResourceFileRequest::setFileFolderPath(const std::string &fileFolderPath) {
|
||||
fileFolderPath_ = fileFolderPath;
|
||||
setBodyParameter(std::string("FileFolderPath"), fileFolderPath);
|
||||
}
|
||||
|
||||
std::string CreateResourceFileRequest::getFileDescription() const {
|
||||
return fileDescription_;
|
||||
}
|
||||
|
||||
void CreateResourceFileRequest::setFileDescription(const std::string &fileDescription) {
|
||||
fileDescription_ = fileDescription;
|
||||
setBodyParameter(std::string("FileDescription"), fileDescription);
|
||||
}
|
||||
|
||||
@@ -14,38 +14,37 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ocr/model/RecognizeVerificationcodeResult.h>
|
||||
#include <alibabacloud/dataworks-public/model/CreateResourceFileResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ocr;
|
||||
using namespace AlibabaCloud::Ocr::Model;
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
RecognizeVerificationcodeResult::RecognizeVerificationcodeResult() :
|
||||
CreateResourceFileResult::CreateResourceFileResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RecognizeVerificationcodeResult::RecognizeVerificationcodeResult(const std::string &payload) :
|
||||
CreateResourceFileResult::CreateResourceFileResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RecognizeVerificationcodeResult::~RecognizeVerificationcodeResult()
|
||||
CreateResourceFileResult::~CreateResourceFileResult()
|
||||
{}
|
||||
|
||||
void RecognizeVerificationcodeResult::parse(const std::string &payload)
|
||||
void CreateResourceFileResult::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["Content"].isNull())
|
||||
data_.content = dataNode["Content"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = std::stol(value["Data"].asString());
|
||||
|
||||
}
|
||||
|
||||
RecognizeVerificationcodeResult::Data RecognizeVerificationcodeResult::getData()const
|
||||
long CreateResourceFileResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
@@ -25,6 +25,15 @@ CreateUdfFileRequest::CreateUdfFileRequest()
|
||||
|
||||
CreateUdfFileRequest::~CreateUdfFileRequest() {}
|
||||
|
||||
bool CreateUdfFileRequest::getCreateFolderIfNotExists() const {
|
||||
return createFolderIfNotExists_;
|
||||
}
|
||||
|
||||
void CreateUdfFileRequest::setCreateFolderIfNotExists(bool createFolderIfNotExists) {
|
||||
createFolderIfNotExists_ = createFolderIfNotExists;
|
||||
setBodyParameter(std::string("CreateFolderIfNotExists"), createFolderIfNotExists ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateUdfFileRequest::getReturnValue() const {
|
||||
return returnValue_;
|
||||
}
|
||||
|
||||
@@ -43,6 +43,24 @@ void ListFilesRequest::setFileTypes(const std::string &fileTypes) {
|
||||
setBodyParameter(std::string("FileTypes"), fileTypes);
|
||||
}
|
||||
|
||||
bool ListFilesRequest::getNeedContent() const {
|
||||
return needContent_;
|
||||
}
|
||||
|
||||
void ListFilesRequest::setNeedContent(bool needContent) {
|
||||
needContent_ = needContent;
|
||||
setBodyParameter(std::string("NeedContent"), needContent ? "true" : "false");
|
||||
}
|
||||
|
||||
bool ListFilesRequest::getNeedAbsoluteFolderPath() const {
|
||||
return needAbsoluteFolderPath_;
|
||||
}
|
||||
|
||||
void ListFilesRequest::setNeedAbsoluteFolderPath(bool needAbsoluteFolderPath) {
|
||||
needAbsoluteFolderPath_ = needAbsoluteFolderPath;
|
||||
setBodyParameter(std::string("NeedAbsoluteFolderPath"), needAbsoluteFolderPath ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ListFilesRequest::getProjectIdentifier() const {
|
||||
return projectIdentifier_;
|
||||
}
|
||||
@@ -61,6 +79,15 @@ void ListFilesRequest::setPageNumber(int pageNumber) {
|
||||
setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListFilesRequest::getFileIdIn() const {
|
||||
return fileIdIn_;
|
||||
}
|
||||
|
||||
void ListFilesRequest::setFileIdIn(const std::string &fileIdIn) {
|
||||
fileIdIn_ = fileIdIn;
|
||||
setBodyParameter(std::string("FileIdIn"), fileIdIn);
|
||||
}
|
||||
|
||||
std::string ListFilesRequest::getFileFolderPath() const {
|
||||
return fileFolderPath_;
|
||||
}
|
||||
@@ -79,6 +106,15 @@ void ListFilesRequest::setPageSize(int pageSize) {
|
||||
setBodyParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListFilesRequest::getExactFileName() const {
|
||||
return exactFileName_;
|
||||
}
|
||||
|
||||
void ListFilesRequest::setExactFileName(const std::string &exactFileName) {
|
||||
exactFileName_ = exactFileName;
|
||||
setBodyParameter(std::string("ExactFileName"), exactFileName);
|
||||
}
|
||||
|
||||
std::string ListFilesRequest::getKeyword() const {
|
||||
return keyword_;
|
||||
}
|
||||
|
||||
@@ -92,6 +92,8 @@ void ListFilesResult::parse(const std::string &payload)
|
||||
fileObject.content = dataNodeFilesFile["Content"].asString();
|
||||
if(!dataNodeFilesFile["NodeId"].isNull())
|
||||
fileObject.nodeId = std::stol(dataNodeFilesFile["NodeId"].asString());
|
||||
if(!dataNodeFilesFile["AbsoluteFolderPath"].isNull())
|
||||
fileObject.absoluteFolderPath = dataNodeFilesFile["AbsoluteFolderPath"].asString();
|
||||
data_.files.push_back(fileObject);
|
||||
}
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
|
||||
@@ -30,22 +30,10 @@ class ALIBABACLOUD_DBS_EXPORT ConfigureBackupPlanRequest : public RpcServiceRequ
|
||||
public:
|
||||
ConfigureBackupPlanRequest();
|
||||
~ConfigureBackupPlanRequest();
|
||||
std::string getSourceEndpointRegion() const;
|
||||
void setSourceEndpointRegion(const std::string &sourceEndpointRegion);
|
||||
long getBackupGatewayId() const;
|
||||
void setBackupGatewayId(long backupGatewayId);
|
||||
std::string getSourceEndpointInstanceID() const;
|
||||
void setSourceEndpointInstanceID(const std::string &sourceEndpointInstanceID);
|
||||
std::string getSourceEndpointUserName() const;
|
||||
void setSourceEndpointUserName(const std::string &sourceEndpointUserName);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getSourceEndpointDatabaseName() const;
|
||||
void setSourceEndpointDatabaseName(const std::string &sourceEndpointDatabaseName);
|
||||
int getDuplicationInfrequentAccessPeriod() const;
|
||||
void setDuplicationInfrequentAccessPeriod(int duplicationInfrequentAccessPeriod);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getBackupStartTime() const;
|
||||
@@ -54,28 +42,18 @@ public:
|
||||
void setSourceEndpointIP(const std::string &sourceEndpointIP);
|
||||
std::string getCrossRoleName() const;
|
||||
void setCrossRoleName(const std::string &crossRoleName);
|
||||
bool getEnableBackupLog() const;
|
||||
void setEnableBackupLog(bool enableBackupLog);
|
||||
std::string getBackupStorageType() const;
|
||||
void setBackupStorageType(const std::string &backupStorageType);
|
||||
int getDuplicationArchivePeriod() const;
|
||||
void setDuplicationArchivePeriod(int duplicationArchivePeriod);
|
||||
int getBackupLogIntervalSeconds() const;
|
||||
void setBackupLogIntervalSeconds(int backupLogIntervalSeconds);
|
||||
std::string getCrossAliyunId() const;
|
||||
void setCrossAliyunId(const std::string &crossAliyunId);
|
||||
bool getAutoStartBackup() const;
|
||||
void setAutoStartBackup(bool autoStartBackup);
|
||||
std::string getSourceEndpointPassword() const;
|
||||
void setSourceEndpointPassword(const std::string &sourceEndpointPassword);
|
||||
std::string getBackupObjects() const;
|
||||
void setBackupObjects(const std::string &backupObjects);
|
||||
long getBackupRateLimit() const;
|
||||
void setBackupRateLimit(long backupRateLimit);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
int getSourceEndpointPort() const;
|
||||
void setSourceEndpointPort(int sourceEndpointPort);
|
||||
int getBackupRetentionPeriod() const;
|
||||
void setBackupRetentionPeriod(int backupRetentionPeriod);
|
||||
std::string getBackupPeriod() const;
|
||||
@@ -86,44 +64,66 @@ public:
|
||||
void setSourceEndpointInstanceType(const std::string &sourceEndpointInstanceType);
|
||||
std::string getBackupPlanName() const;
|
||||
void setBackupPlanName(const std::string &backupPlanName);
|
||||
std::string getSourceEndpointOracleSID() const;
|
||||
void setSourceEndpointOracleSID(const std::string &sourceEndpointOracleSID);
|
||||
std::string getOSSBucketName() const;
|
||||
void setOSSBucketName(const std::string &oSSBucketName);
|
||||
std::string getSourceEndpointRegion() const;
|
||||
void setSourceEndpointRegion(const std::string &sourceEndpointRegion);
|
||||
std::string getSourceEndpointInstanceID() const;
|
||||
void setSourceEndpointInstanceID(const std::string &sourceEndpointInstanceID);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getSourceEndpointDatabaseName() const;
|
||||
void setSourceEndpointDatabaseName(const std::string &sourceEndpointDatabaseName);
|
||||
int getDuplicationInfrequentAccessPeriod() const;
|
||||
void setDuplicationInfrequentAccessPeriod(int duplicationInfrequentAccessPeriod);
|
||||
bool getEnableBackupLog() const;
|
||||
void setEnableBackupLog(bool enableBackupLog);
|
||||
std::string getCrossAliyunId() const;
|
||||
void setCrossAliyunId(const std::string &crossAliyunId);
|
||||
std::string getBackupObjects() const;
|
||||
void setBackupObjects(const std::string &backupObjects);
|
||||
long getBackupRateLimit() const;
|
||||
void setBackupRateLimit(long backupRateLimit);
|
||||
int getSourceEndpointPort() const;
|
||||
void setSourceEndpointPort(int sourceEndpointPort);
|
||||
std::string getSourceEndpointOracleSID() const;
|
||||
void setSourceEndpointOracleSID(const std::string &sourceEndpointOracleSID);
|
||||
std::string getBackupStrategyType() const;
|
||||
void setBackupStrategyType(const std::string &backupStrategyType);
|
||||
|
||||
private:
|
||||
std::string sourceEndpointRegion_;
|
||||
long backupGatewayId_;
|
||||
std::string sourceEndpointInstanceID_;
|
||||
std::string sourceEndpointUserName_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string sourceEndpointDatabaseName_;
|
||||
int duplicationInfrequentAccessPeriod_;
|
||||
std::string resourceGroupId_;
|
||||
std::string backupStartTime_;
|
||||
std::string sourceEndpointIP_;
|
||||
std::string crossRoleName_;
|
||||
bool enableBackupLog_;
|
||||
std::string backupStorageType_;
|
||||
int duplicationArchivePeriod_;
|
||||
int backupLogIntervalSeconds_;
|
||||
std::string crossAliyunId_;
|
||||
bool autoStartBackup_;
|
||||
std::string sourceEndpointPassword_;
|
||||
std::string backupObjects_;
|
||||
long backupRateLimit_;
|
||||
std::string ownerId_;
|
||||
int sourceEndpointPort_;
|
||||
int backupRetentionPeriod_;
|
||||
std::string backupPeriod_;
|
||||
long backupSpeedLimit_;
|
||||
std::string sourceEndpointInstanceType_;
|
||||
std::string backupPlanName_;
|
||||
std::string sourceEndpointOracleSID_;
|
||||
std::string oSSBucketName_;
|
||||
std::string sourceEndpointRegion_;
|
||||
std::string sourceEndpointInstanceID_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string sourceEndpointDatabaseName_;
|
||||
int duplicationInfrequentAccessPeriod_;
|
||||
bool enableBackupLog_;
|
||||
std::string crossAliyunId_;
|
||||
std::string backupObjects_;
|
||||
long backupRateLimit_;
|
||||
int sourceEndpointPort_;
|
||||
std::string sourceEndpointOracleSID_;
|
||||
std::string backupStrategyType_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -32,18 +32,18 @@ public:
|
||||
~CreateFullBackupSetDownloadRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupSetDataFormat() const;
|
||||
void setBackupSetDataFormat(const std::string &backupSetDataFormat);
|
||||
std::string getBackupSetId() const;
|
||||
void setBackupSetId(const std::string &backupSetId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
std::string getBackupSetDataFormat() const;
|
||||
void setBackupSetDataFormat(const std::string &backupSetDataFormat);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupSetDataFormat_;
|
||||
std::string backupSetId_;
|
||||
std::string ownerId_;
|
||||
std::string backupSetDataFormat_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
|
||||
@@ -38,21 +38,21 @@ public:
|
||||
void setDatabaseType(const std::string &databaseType);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getSourceEndpointIP() const;
|
||||
void setSourceEndpointIP(const std::string &sourceEndpointIP);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
int getSourceEndpointPort() const;
|
||||
void setSourceEndpointPort(int sourceEndpointPort);
|
||||
std::string getSourceEndpointIP() const;
|
||||
void setSourceEndpointIP(const std::string &sourceEndpointIP);
|
||||
|
||||
private:
|
||||
std::string sourceEndpointRegion_;
|
||||
long backupGatewayId_;
|
||||
std::string databaseType_;
|
||||
std::string clientToken_;
|
||||
std::string sourceEndpointIP_;
|
||||
std::string ownerId_;
|
||||
int sourceEndpointPort_;
|
||||
std::string sourceEndpointIP_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
|
||||
@@ -32,21 +32,21 @@ public:
|
||||
~CreateIncrementBackupSetDownloadRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupSetDataFormat() const;
|
||||
void setBackupSetDataFormat(const std::string &backupSetDataFormat);
|
||||
std::string getBackupSetName() const;
|
||||
void setBackupSetName(const std::string &backupSetName);
|
||||
std::string getBackupSetId() const;
|
||||
void setBackupSetId(const std::string &backupSetId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
std::string getBackupSetDataFormat() const;
|
||||
void setBackupSetDataFormat(const std::string &backupSetDataFormat);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupSetDataFormat_;
|
||||
std::string backupSetName_;
|
||||
std::string backupSetId_;
|
||||
std::string ownerId_;
|
||||
std::string backupSetDataFormat_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
|
||||
@@ -32,32 +32,14 @@ public:
|
||||
~CreateRestoreTaskRequest();
|
||||
long getBackupGatewayId() const;
|
||||
void setBackupGatewayId(long backupGatewayId);
|
||||
std::string getDestinationEndpointInstanceType() const;
|
||||
void setDestinationEndpointInstanceType(const std::string &destinationEndpointInstanceType);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getDestinationEndpointRegion() const;
|
||||
void setDestinationEndpointRegion(const std::string &destinationEndpointRegion);
|
||||
std::string getCrossRoleName() const;
|
||||
void setCrossRoleName(const std::string &crossRoleName);
|
||||
std::string getDestinationEndpointUserName() const;
|
||||
void setDestinationEndpointUserName(const std::string &destinationEndpointUserName);
|
||||
std::string getRestoreObjects() const;
|
||||
void setRestoreObjects(const std::string &restoreObjects);
|
||||
std::string getRestoreTaskName() const;
|
||||
void setRestoreTaskName(const std::string &restoreTaskName);
|
||||
std::string getRestoreHome() const;
|
||||
void setRestoreHome(const std::string &restoreHome);
|
||||
std::string getDestinationEndpointOracleSID() const;
|
||||
void setDestinationEndpointOracleSID(const std::string &destinationEndpointOracleSID);
|
||||
long getRestoreTime() const;
|
||||
void setRestoreTime(long restoreTime);
|
||||
std::string getCrossAliyunId() const;
|
||||
void setCrossAliyunId(const std::string &crossAliyunId);
|
||||
std::string getDestinationEndpointInstanceID() const;
|
||||
void setDestinationEndpointInstanceID(const std::string &destinationEndpointInstanceID);
|
||||
int getDestinationEndpointPort() const;
|
||||
void setDestinationEndpointPort(int destinationEndpointPort);
|
||||
std::string getBackupSetId() const;
|
||||
@@ -68,35 +50,53 @@ public:
|
||||
void setRestoreDir(const std::string &restoreDir);
|
||||
std::string getDestinationEndpointIP() const;
|
||||
void setDestinationEndpointIP(const std::string &destinationEndpointIP);
|
||||
std::string getDestinationEndpointDatabaseName() const;
|
||||
void setDestinationEndpointDatabaseName(const std::string &destinationEndpointDatabaseName);
|
||||
std::string getDuplicateConflict() const;
|
||||
void setDuplicateConflict(const std::string &duplicateConflict);
|
||||
std::string getDestinationEndpointInstanceType() const;
|
||||
void setDestinationEndpointInstanceType(const std::string &destinationEndpointInstanceType);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getDestinationEndpointRegion() const;
|
||||
void setDestinationEndpointRegion(const std::string &destinationEndpointRegion);
|
||||
std::string getRestoreObjects() const;
|
||||
void setRestoreObjects(const std::string &restoreObjects);
|
||||
std::string getRestoreHome() const;
|
||||
void setRestoreHome(const std::string &restoreHome);
|
||||
long getRestoreTime() const;
|
||||
void setRestoreTime(long restoreTime);
|
||||
std::string getCrossAliyunId() const;
|
||||
void setCrossAliyunId(const std::string &crossAliyunId);
|
||||
std::string getDestinationEndpointInstanceID() const;
|
||||
void setDestinationEndpointInstanceID(const std::string &destinationEndpointInstanceID);
|
||||
std::string getDestinationEndpointDatabaseName() const;
|
||||
void setDestinationEndpointDatabaseName(const std::string &destinationEndpointDatabaseName);
|
||||
std::string getDestinationEndpointPassword() const;
|
||||
void setDestinationEndpointPassword(const std::string &destinationEndpointPassword);
|
||||
|
||||
private:
|
||||
long backupGatewayId_;
|
||||
std::string destinationEndpointInstanceType_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string destinationEndpointRegion_;
|
||||
std::string crossRoleName_;
|
||||
std::string destinationEndpointUserName_;
|
||||
std::string restoreObjects_;
|
||||
std::string restoreTaskName_;
|
||||
std::string restoreHome_;
|
||||
std::string destinationEndpointOracleSID_;
|
||||
long restoreTime_;
|
||||
std::string crossAliyunId_;
|
||||
std::string destinationEndpointInstanceID_;
|
||||
int destinationEndpointPort_;
|
||||
std::string backupSetId_;
|
||||
std::string ownerId_;
|
||||
std::string restoreDir_;
|
||||
std::string destinationEndpointIP_;
|
||||
std::string destinationEndpointDatabaseName_;
|
||||
std::string duplicateConflict_;
|
||||
std::string destinationEndpointInstanceType_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string destinationEndpointRegion_;
|
||||
std::string restoreObjects_;
|
||||
std::string restoreHome_;
|
||||
long restoreTime_;
|
||||
std::string crossAliyunId_;
|
||||
std::string destinationEndpointInstanceID_;
|
||||
std::string destinationEndpointDatabaseName_;
|
||||
std::string destinationEndpointPassword_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -30,25 +30,25 @@ class ALIBABACLOUD_DBS_EXPORT DescribeBackupGatewayListRequest : public RpcServi
|
||||
public:
|
||||
DescribeBackupGatewayListRequest();
|
||||
~DescribeBackupGatewayListRequest();
|
||||
std::string getIdentifier() const;
|
||||
void setIdentifier(const std::string &identifier);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
int getPageNum() const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getIdentifier() const;
|
||||
void setIdentifier(const std::string &identifier);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
std::string getRegion() const;
|
||||
void setRegion(const std::string ®ion);
|
||||
|
||||
private:
|
||||
std::string identifier_;
|
||||
std::string clientToken_;
|
||||
int pageNum_;
|
||||
std::string ownerId_;
|
||||
int pageSize_;
|
||||
std::string identifier_;
|
||||
std::string ownerId_;
|
||||
std::string region_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -34,16 +34,16 @@ public:
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
bool getShowStorageType() const;
|
||||
void setShowStorageType(bool showStorageType);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
bool showStorageType_;
|
||||
std::string ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
|
||||
@@ -36,7 +36,6 @@ namespace AlibabaCloud
|
||||
{
|
||||
bool isExpired;
|
||||
long buyExpiredTimestamp;
|
||||
std::string resourceGroupId;
|
||||
long quotaStartTimestamp;
|
||||
long totalFreeBytes;
|
||||
long paiedBytes;
|
||||
|
||||
@@ -36,16 +36,16 @@ public:
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
int getPageNum() const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getBackupPlanStatus() const;
|
||||
void setBackupPlanStatus(const std::string &backupPlanStatus);
|
||||
std::string getBackupPlanName() const;
|
||||
void setBackupPlanName(const std::string &backupPlanName);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
std::string getBackupPlanName() const;
|
||||
void setBackupPlanName(const std::string &backupPlanName);
|
||||
std::string getRegion() const;
|
||||
void setRegion(const std::string ®ion);
|
||||
|
||||
@@ -53,11 +53,11 @@ private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
int pageNum_;
|
||||
std::string ownerId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string backupPlanStatus_;
|
||||
std::string backupPlanName_;
|
||||
int pageSize_;
|
||||
std::string ownerId_;
|
||||
std::string backupPlanName_;
|
||||
std::string region_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -38,6 +38,7 @@ namespace AlibabaCloud
|
||||
std::string backupPlanName;
|
||||
std::string backupObjects;
|
||||
std::string resourceGroupId;
|
||||
std::string databaseType;
|
||||
std::string backupSetDownloadDir;
|
||||
std::string sourceEndpointInstanceID;
|
||||
std::string crossAliyunId;
|
||||
|
||||
@@ -32,24 +32,24 @@ public:
|
||||
~DescribeBackupSetDownloadTaskListRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupSetDownloadTaskId() const;
|
||||
void setBackupSetDownloadTaskId(const std::string &backupSetDownloadTaskId);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
int getPageNum() const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getBackupSetDownloadTaskId() const;
|
||||
void setBackupSetDownloadTaskId(const std::string &backupSetDownloadTaskId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupSetDownloadTaskId_;
|
||||
std::string backupPlanId_;
|
||||
int pageNum_;
|
||||
std::string ownerId_;
|
||||
int pageSize_;
|
||||
std::string backupSetDownloadTaskId_;
|
||||
std::string ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
|
||||
@@ -34,12 +34,8 @@ public:
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getBackupSetId() const;
|
||||
void setBackupSetId(const std::string &backupSetId);
|
||||
int getPageNum() const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
long getStartTimestamp() const;
|
||||
void setStartTimestamp(long startTimestamp);
|
||||
long getEndTimestamp() const;
|
||||
@@ -48,17 +44,21 @@ public:
|
||||
void setShowStorageType(bool showStorageType);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getBackupSetId() const;
|
||||
void setBackupSetId(const std::string &backupSetId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string backupSetId_;
|
||||
int pageNum_;
|
||||
std::string ownerId_;
|
||||
long startTimestamp_;
|
||||
long endTimestamp_;
|
||||
bool showStorageType_;
|
||||
int pageSize_;
|
||||
std::string backupSetId_;
|
||||
std::string ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
|
||||
@@ -36,8 +36,6 @@ public:
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
int getPageNum() const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
long getStartTimestamp() const;
|
||||
void setStartTimestamp(long startTimestamp);
|
||||
long getEndTimestamp() const;
|
||||
@@ -46,16 +44,18 @@ public:
|
||||
void setShowStorageType(bool showStorageType);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
int pageNum_;
|
||||
std::string ownerId_;
|
||||
long startTimestamp_;
|
||||
long endTimestamp_;
|
||||
bool showStorageType_;
|
||||
int pageSize_;
|
||||
std::string ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
|
||||
@@ -34,16 +34,16 @@ public:
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getLanguage() const;
|
||||
void setLanguage(const std::string &language);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
std::string getTaskId() const;
|
||||
void setTaskId(const std::string &taskId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string language_;
|
||||
std::string ownerId_;
|
||||
std::string taskId_;
|
||||
std::string ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
|
||||
@@ -34,16 +34,16 @@ public:
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
std::string getRestoreTaskId() const;
|
||||
void setRestoreTaskId(const std::string &restoreTaskId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
std::string restoreTaskId_;
|
||||
std::string ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
|
||||
@@ -32,24 +32,24 @@ public:
|
||||
~DescribeRestoreRangeInfoRequest();
|
||||
long getBeginTimestampForRestore() const;
|
||||
void setBeginTimestampForRestore(long beginTimestampForRestore);
|
||||
long getEndTimestampForRestore() const;
|
||||
void setEndTimestampForRestore(long endTimestampForRestore);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
bool getRecentlyRestore() const;
|
||||
void setRecentlyRestore(bool recentlyRestore);
|
||||
long getEndTimestampForRestore() const;
|
||||
void setEndTimestampForRestore(long endTimestampForRestore);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
|
||||
private:
|
||||
long beginTimestampForRestore_;
|
||||
long endTimestampForRestore_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
bool recentlyRestore_;
|
||||
long endTimestampForRestore_;
|
||||
std::string ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
|
||||
@@ -36,8 +36,6 @@ public:
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
int getPageNum() const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
long getStartTimestamp() const;
|
||||
void setStartTimestamp(long startTimestamp);
|
||||
long getEndTimestamp() const;
|
||||
@@ -46,16 +44,18 @@ public:
|
||||
void setRestoreTaskId(const std::string &restoreTaskId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
int pageNum_;
|
||||
std::string ownerId_;
|
||||
long startTimestamp_;
|
||||
long endTimestamp_;
|
||||
std::string restoreTaskId_;
|
||||
int pageSize_;
|
||||
std::string ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
|
||||
@@ -36,17 +36,17 @@ public:
|
||||
void setBackupGatewayId(long backupGatewayId);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
long getTaskId() const;
|
||||
void setTaskId(long taskId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
|
||||
private:
|
||||
std::string sourceEndpointRegion_;
|
||||
long backupGatewayId_;
|
||||
std::string clientToken_;
|
||||
std::string ownerId_;
|
||||
long taskId_;
|
||||
std::string ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
|
||||
@@ -40,16 +40,16 @@ public:
|
||||
void setBackupSetDownloadTargetType(const std::string &backupSetDownloadTargetType);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getBackupSetDownloadTargetTypeLocation() const;
|
||||
void setBackupSetDownloadTargetTypeLocation(const std::string &backupSetDownloadTargetTypeLocation);
|
||||
std::string getBackupSetDownloadDir() const;
|
||||
void setBackupSetDownloadDir(const std::string &backupSetDownloadDir);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
bool getOpenAutoDownload() const;
|
||||
void setOpenAutoDownload(bool openAutoDownload);
|
||||
std::string getIncrementDataFormat() const;
|
||||
void setIncrementDataFormat(const std::string &incrementDataFormat);
|
||||
std::string getBackupSetDownloadTargetTypeLocation() const;
|
||||
void setBackupSetDownloadTargetTypeLocation(const std::string &backupSetDownloadTargetTypeLocation);
|
||||
std::string getBackupSetDownloadDir() const;
|
||||
void setBackupSetDownloadDir(const std::string &backupSetDownloadDir);
|
||||
|
||||
private:
|
||||
std::string fullDataFormat_;
|
||||
@@ -57,11 +57,11 @@ private:
|
||||
std::string clientToken_;
|
||||
std::string backupSetDownloadTargetType_;
|
||||
std::string backupPlanId_;
|
||||
std::string backupSetDownloadTargetTypeLocation_;
|
||||
std::string backupSetDownloadDir_;
|
||||
std::string ownerId_;
|
||||
bool openAutoDownload_;
|
||||
std::string incrementDataFormat_;
|
||||
std::string backupSetDownloadTargetTypeLocation_;
|
||||
std::string backupSetDownloadDir_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
|
||||
@@ -30,28 +30,28 @@ class ALIBABACLOUD_DBS_EXPORT ModifyBackupStrategyRequest : public RpcServiceReq
|
||||
public:
|
||||
ModifyBackupStrategyRequest();
|
||||
~ModifyBackupStrategyRequest();
|
||||
int getBackupLogIntervalSeconds() const;
|
||||
void setBackupLogIntervalSeconds(int backupLogIntervalSeconds);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getBackupStartTime() const;
|
||||
void setBackupStartTime(const std::string &backupStartTime);
|
||||
int getBackupLogIntervalSeconds() const;
|
||||
void setBackupLogIntervalSeconds(int backupLogIntervalSeconds);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
std::string getBackupPeriod() const;
|
||||
void setBackupPeriod(const std::string &backupPeriod);
|
||||
std::string getBackupStartTime() const;
|
||||
void setBackupStartTime(const std::string &backupStartTime);
|
||||
std::string getBackupStrategyType() const;
|
||||
void setBackupStrategyType(const std::string &backupStrategyType);
|
||||
|
||||
private:
|
||||
int backupLogIntervalSeconds_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string backupStartTime_;
|
||||
int backupLogIntervalSeconds_;
|
||||
std::string ownerId_;
|
||||
std::string backupPeriod_;
|
||||
std::string backupStartTime_;
|
||||
std::string backupStrategyType_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -30,26 +30,26 @@ class ALIBABACLOUD_DBS_EXPORT ModifyStorageStrategyRequest : public RpcServiceRe
|
||||
public:
|
||||
ModifyStorageStrategyRequest();
|
||||
~ModifyStorageStrategyRequest();
|
||||
int getDuplicationArchivePeriod() const;
|
||||
void setDuplicationArchivePeriod(int duplicationArchivePeriod);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
int getDuplicationInfrequentAccessPeriod() const;
|
||||
void setDuplicationInfrequentAccessPeriod(int duplicationInfrequentAccessPeriod);
|
||||
int getDuplicationArchivePeriod() const;
|
||||
void setDuplicationArchivePeriod(int duplicationArchivePeriod);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
int getBackupRetentionPeriod() const;
|
||||
void setBackupRetentionPeriod(int backupRetentionPeriod);
|
||||
int getDuplicationInfrequentAccessPeriod() const;
|
||||
void setDuplicationInfrequentAccessPeriod(int duplicationInfrequentAccessPeriod);
|
||||
|
||||
private:
|
||||
int duplicationArchivePeriod_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
int duplicationInfrequentAccessPeriod_;
|
||||
int duplicationArchivePeriod_;
|
||||
std::string ownerId_;
|
||||
int backupRetentionPeriod_;
|
||||
int duplicationInfrequentAccessPeriod_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
|
||||
@@ -30,21 +30,21 @@ class ALIBABACLOUD_DBS_EXPORT RenewBackupPlanRequest : public RpcServiceRequest
|
||||
public:
|
||||
RenewBackupPlanRequest();
|
||||
~RenewBackupPlanRequest();
|
||||
std::string getPeriod() const;
|
||||
void setPeriod(const std::string &period);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getPeriod() const;
|
||||
void setPeriod(const std::string &period);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
int getUsedTime() const;
|
||||
void setUsedTime(int usedTime);
|
||||
|
||||
private:
|
||||
std::string period_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string period_;
|
||||
std::string ownerId_;
|
||||
int usedTime_;
|
||||
};
|
||||
|
||||
@@ -32,15 +32,15 @@ public:
|
||||
~StartRestoreTaskRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
std::string getRestoreTaskId() const;
|
||||
void setRestoreTaskId(const std::string &restoreTaskId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string ownerId_;
|
||||
std::string restoreTaskId_;
|
||||
std::string ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
|
||||
@@ -34,16 +34,16 @@ public:
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
std::string getInstanceClass() const;
|
||||
void setInstanceClass(const std::string &instanceClass);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
std::string instanceClass_;
|
||||
std::string ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
|
||||
@@ -25,15 +25,6 @@ ConfigureBackupPlanRequest::ConfigureBackupPlanRequest()
|
||||
|
||||
ConfigureBackupPlanRequest::~ConfigureBackupPlanRequest() {}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointRegion() const {
|
||||
return sourceEndpointRegion_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointRegion(const std::string &sourceEndpointRegion) {
|
||||
sourceEndpointRegion_ = sourceEndpointRegion;
|
||||
setParameter(std::string("SourceEndpointRegion"), sourceEndpointRegion);
|
||||
}
|
||||
|
||||
long ConfigureBackupPlanRequest::getBackupGatewayId() const {
|
||||
return backupGatewayId_;
|
||||
}
|
||||
@@ -43,15 +34,6 @@ void ConfigureBackupPlanRequest::setBackupGatewayId(long backupGatewayId) {
|
||||
setParameter(std::string("BackupGatewayId"), std::to_string(backupGatewayId));
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointInstanceID() const {
|
||||
return sourceEndpointInstanceID_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointInstanceID(const std::string &sourceEndpointInstanceID) {
|
||||
sourceEndpointInstanceID_ = sourceEndpointInstanceID;
|
||||
setParameter(std::string("SourceEndpointInstanceID"), sourceEndpointInstanceID);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointUserName() const {
|
||||
return sourceEndpointUserName_;
|
||||
}
|
||||
@@ -61,42 +43,6 @@ void ConfigureBackupPlanRequest::setSourceEndpointUserName(const std::string &so
|
||||
setParameter(std::string("SourceEndpointUserName"), sourceEndpointUserName);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getBackupPlanId() const {
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setBackupPlanId(const std::string &backupPlanId) {
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter(std::string("BackupPlanId"), backupPlanId);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointDatabaseName() const {
|
||||
return sourceEndpointDatabaseName_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointDatabaseName(const std::string &sourceEndpointDatabaseName) {
|
||||
sourceEndpointDatabaseName_ = sourceEndpointDatabaseName;
|
||||
setParameter(std::string("SourceEndpointDatabaseName"), sourceEndpointDatabaseName);
|
||||
}
|
||||
|
||||
int ConfigureBackupPlanRequest::getDuplicationInfrequentAccessPeriod() const {
|
||||
return duplicationInfrequentAccessPeriod_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setDuplicationInfrequentAccessPeriod(int duplicationInfrequentAccessPeriod) {
|
||||
duplicationInfrequentAccessPeriod_ = duplicationInfrequentAccessPeriod;
|
||||
setParameter(std::string("DuplicationInfrequentAccessPeriod"), std::to_string(duplicationInfrequentAccessPeriod));
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
@@ -133,15 +79,6 @@ void ConfigureBackupPlanRequest::setCrossRoleName(const std::string &crossRoleNa
|
||||
setParameter(std::string("CrossRoleName"), crossRoleName);
|
||||
}
|
||||
|
||||
bool ConfigureBackupPlanRequest::getEnableBackupLog() const {
|
||||
return enableBackupLog_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setEnableBackupLog(bool enableBackupLog) {
|
||||
enableBackupLog_ = enableBackupLog;
|
||||
setParameter(std::string("EnableBackupLog"), enableBackupLog ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getBackupStorageType() const {
|
||||
return backupStorageType_;
|
||||
}
|
||||
@@ -169,15 +106,6 @@ void ConfigureBackupPlanRequest::setBackupLogIntervalSeconds(int backupLogInterv
|
||||
setParameter(std::string("BackupLogIntervalSeconds"), std::to_string(backupLogIntervalSeconds));
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getCrossAliyunId() const {
|
||||
return crossAliyunId_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setCrossAliyunId(const std::string &crossAliyunId) {
|
||||
crossAliyunId_ = crossAliyunId;
|
||||
setParameter(std::string("CrossAliyunId"), crossAliyunId);
|
||||
}
|
||||
|
||||
bool ConfigureBackupPlanRequest::getAutoStartBackup() const {
|
||||
return autoStartBackup_;
|
||||
}
|
||||
@@ -196,24 +124,6 @@ void ConfigureBackupPlanRequest::setSourceEndpointPassword(const std::string &so
|
||||
setParameter(std::string("SourceEndpointPassword"), sourceEndpointPassword);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getBackupObjects() const {
|
||||
return backupObjects_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setBackupObjects(const std::string &backupObjects) {
|
||||
backupObjects_ = backupObjects;
|
||||
setParameter(std::string("BackupObjects"), backupObjects);
|
||||
}
|
||||
|
||||
long ConfigureBackupPlanRequest::getBackupRateLimit() const {
|
||||
return backupRateLimit_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setBackupRateLimit(long backupRateLimit) {
|
||||
backupRateLimit_ = backupRateLimit;
|
||||
setParameter(std::string("BackupRateLimit"), std::to_string(backupRateLimit));
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
@@ -223,15 +133,6 @@ void ConfigureBackupPlanRequest::setOwnerId(const std::string &ownerId) {
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
int ConfigureBackupPlanRequest::getSourceEndpointPort() const {
|
||||
return sourceEndpointPort_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointPort(int sourceEndpointPort) {
|
||||
sourceEndpointPort_ = sourceEndpointPort;
|
||||
setParameter(std::string("SourceEndpointPort"), std::to_string(sourceEndpointPort));
|
||||
}
|
||||
|
||||
int ConfigureBackupPlanRequest::getBackupRetentionPeriod() const {
|
||||
return backupRetentionPeriod_;
|
||||
}
|
||||
@@ -277,15 +178,6 @@ void ConfigureBackupPlanRequest::setBackupPlanName(const std::string &backupPlan
|
||||
setParameter(std::string("BackupPlanName"), backupPlanName);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointOracleSID() const {
|
||||
return sourceEndpointOracleSID_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointOracleSID(const std::string &sourceEndpointOracleSID) {
|
||||
sourceEndpointOracleSID_ = sourceEndpointOracleSID;
|
||||
setParameter(std::string("SourceEndpointOracleSID"), sourceEndpointOracleSID);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getOSSBucketName() const {
|
||||
return oSSBucketName_;
|
||||
}
|
||||
@@ -295,6 +187,114 @@ void ConfigureBackupPlanRequest::setOSSBucketName(const std::string &oSSBucketNa
|
||||
setParameter(std::string("OSSBucketName"), oSSBucketName);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointRegion() const {
|
||||
return sourceEndpointRegion_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointRegion(const std::string &sourceEndpointRegion) {
|
||||
sourceEndpointRegion_ = sourceEndpointRegion;
|
||||
setParameter(std::string("SourceEndpointRegion"), sourceEndpointRegion);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointInstanceID() const {
|
||||
return sourceEndpointInstanceID_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointInstanceID(const std::string &sourceEndpointInstanceID) {
|
||||
sourceEndpointInstanceID_ = sourceEndpointInstanceID;
|
||||
setParameter(std::string("SourceEndpointInstanceID"), sourceEndpointInstanceID);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getBackupPlanId() const {
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setBackupPlanId(const std::string &backupPlanId) {
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter(std::string("BackupPlanId"), backupPlanId);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointDatabaseName() const {
|
||||
return sourceEndpointDatabaseName_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointDatabaseName(const std::string &sourceEndpointDatabaseName) {
|
||||
sourceEndpointDatabaseName_ = sourceEndpointDatabaseName;
|
||||
setParameter(std::string("SourceEndpointDatabaseName"), sourceEndpointDatabaseName);
|
||||
}
|
||||
|
||||
int ConfigureBackupPlanRequest::getDuplicationInfrequentAccessPeriod() const {
|
||||
return duplicationInfrequentAccessPeriod_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setDuplicationInfrequentAccessPeriod(int duplicationInfrequentAccessPeriod) {
|
||||
duplicationInfrequentAccessPeriod_ = duplicationInfrequentAccessPeriod;
|
||||
setParameter(std::string("DuplicationInfrequentAccessPeriod"), std::to_string(duplicationInfrequentAccessPeriod));
|
||||
}
|
||||
|
||||
bool ConfigureBackupPlanRequest::getEnableBackupLog() const {
|
||||
return enableBackupLog_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setEnableBackupLog(bool enableBackupLog) {
|
||||
enableBackupLog_ = enableBackupLog;
|
||||
setParameter(std::string("EnableBackupLog"), enableBackupLog ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getCrossAliyunId() const {
|
||||
return crossAliyunId_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setCrossAliyunId(const std::string &crossAliyunId) {
|
||||
crossAliyunId_ = crossAliyunId;
|
||||
setParameter(std::string("CrossAliyunId"), crossAliyunId);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getBackupObjects() const {
|
||||
return backupObjects_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setBackupObjects(const std::string &backupObjects) {
|
||||
backupObjects_ = backupObjects;
|
||||
setParameter(std::string("BackupObjects"), backupObjects);
|
||||
}
|
||||
|
||||
long ConfigureBackupPlanRequest::getBackupRateLimit() const {
|
||||
return backupRateLimit_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setBackupRateLimit(long backupRateLimit) {
|
||||
backupRateLimit_ = backupRateLimit;
|
||||
setParameter(std::string("BackupRateLimit"), std::to_string(backupRateLimit));
|
||||
}
|
||||
|
||||
int ConfigureBackupPlanRequest::getSourceEndpointPort() const {
|
||||
return sourceEndpointPort_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointPort(int sourceEndpointPort) {
|
||||
sourceEndpointPort_ = sourceEndpointPort;
|
||||
setParameter(std::string("SourceEndpointPort"), std::to_string(sourceEndpointPort));
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointOracleSID() const {
|
||||
return sourceEndpointOracleSID_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointOracleSID(const std::string &sourceEndpointOracleSID) {
|
||||
sourceEndpointOracleSID_ = sourceEndpointOracleSID;
|
||||
setParameter(std::string("SourceEndpointOracleSID"), sourceEndpointOracleSID);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getBackupStrategyType() const {
|
||||
return backupStrategyType_;
|
||||
}
|
||||
|
||||
@@ -34,6 +34,15 @@ void CreateFullBackupSetDownloadRequest::setClientToken(const std::string &clien
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
std::string CreateFullBackupSetDownloadRequest::getBackupSetDataFormat() const {
|
||||
return backupSetDataFormat_;
|
||||
}
|
||||
|
||||
void CreateFullBackupSetDownloadRequest::setBackupSetDataFormat(const std::string &backupSetDataFormat) {
|
||||
backupSetDataFormat_ = backupSetDataFormat;
|
||||
setParameter(std::string("BackupSetDataFormat"), backupSetDataFormat);
|
||||
}
|
||||
|
||||
std::string CreateFullBackupSetDownloadRequest::getBackupSetId() const {
|
||||
return backupSetId_;
|
||||
}
|
||||
@@ -52,12 +61,3 @@ void CreateFullBackupSetDownloadRequest::setOwnerId(const std::string &ownerId)
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
std::string CreateFullBackupSetDownloadRequest::getBackupSetDataFormat() const {
|
||||
return backupSetDataFormat_;
|
||||
}
|
||||
|
||||
void CreateFullBackupSetDownloadRequest::setBackupSetDataFormat(const std::string &backupSetDataFormat) {
|
||||
backupSetDataFormat_ = backupSetDataFormat;
|
||||
setParameter(std::string("BackupSetDataFormat"), backupSetDataFormat);
|
||||
}
|
||||
|
||||
|
||||
@@ -61,6 +61,15 @@ void CreateGetDBListFromAgentTaskRequest::setClientToken(const std::string &clie
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
std::string CreateGetDBListFromAgentTaskRequest::getSourceEndpointIP() const {
|
||||
return sourceEndpointIP_;
|
||||
}
|
||||
|
||||
void CreateGetDBListFromAgentTaskRequest::setSourceEndpointIP(const std::string &sourceEndpointIP) {
|
||||
sourceEndpointIP_ = sourceEndpointIP;
|
||||
setParameter(std::string("SourceEndpointIP"), sourceEndpointIP);
|
||||
}
|
||||
|
||||
std::string CreateGetDBListFromAgentTaskRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
@@ -79,12 +88,3 @@ void CreateGetDBListFromAgentTaskRequest::setSourceEndpointPort(int sourceEndpoi
|
||||
setParameter(std::string("SourceEndpointPort"), std::to_string(sourceEndpointPort));
|
||||
}
|
||||
|
||||
std::string CreateGetDBListFromAgentTaskRequest::getSourceEndpointIP() const {
|
||||
return sourceEndpointIP_;
|
||||
}
|
||||
|
||||
void CreateGetDBListFromAgentTaskRequest::setSourceEndpointIP(const std::string &sourceEndpointIP) {
|
||||
sourceEndpointIP_ = sourceEndpointIP;
|
||||
setParameter(std::string("SourceEndpointIP"), sourceEndpointIP);
|
||||
}
|
||||
|
||||
|
||||
@@ -34,6 +34,15 @@ void CreateIncrementBackupSetDownloadRequest::setClientToken(const std::string &
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
std::string CreateIncrementBackupSetDownloadRequest::getBackupSetDataFormat() const {
|
||||
return backupSetDataFormat_;
|
||||
}
|
||||
|
||||
void CreateIncrementBackupSetDownloadRequest::setBackupSetDataFormat(const std::string &backupSetDataFormat) {
|
||||
backupSetDataFormat_ = backupSetDataFormat;
|
||||
setParameter(std::string("BackupSetDataFormat"), backupSetDataFormat);
|
||||
}
|
||||
|
||||
std::string CreateIncrementBackupSetDownloadRequest::getBackupSetName() const {
|
||||
return backupSetName_;
|
||||
}
|
||||
@@ -61,12 +70,3 @@ void CreateIncrementBackupSetDownloadRequest::setOwnerId(const std::string &owne
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
std::string CreateIncrementBackupSetDownloadRequest::getBackupSetDataFormat() const {
|
||||
return backupSetDataFormat_;
|
||||
}
|
||||
|
||||
void CreateIncrementBackupSetDownloadRequest::setBackupSetDataFormat(const std::string &backupSetDataFormat) {
|
||||
backupSetDataFormat_ = backupSetDataFormat;
|
||||
setParameter(std::string("BackupSetDataFormat"), backupSetDataFormat);
|
||||
}
|
||||
|
||||
|
||||
@@ -34,42 +34,6 @@ void CreateRestoreTaskRequest::setBackupGatewayId(long backupGatewayId) {
|
||||
setParameter(std::string("BackupGatewayId"), std::to_string(backupGatewayId));
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointInstanceType() const {
|
||||
return destinationEndpointInstanceType_;
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointInstanceType(const std::string &destinationEndpointInstanceType) {
|
||||
destinationEndpointInstanceType_ = destinationEndpointInstanceType;
|
||||
setParameter(std::string("DestinationEndpointInstanceType"), destinationEndpointInstanceType);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getBackupPlanId() const {
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setBackupPlanId(const std::string &backupPlanId) {
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter(std::string("BackupPlanId"), backupPlanId);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointRegion() const {
|
||||
return destinationEndpointRegion_;
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointRegion(const std::string &destinationEndpointRegion) {
|
||||
destinationEndpointRegion_ = destinationEndpointRegion;
|
||||
setParameter(std::string("DestinationEndpointRegion"), destinationEndpointRegion);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getCrossRoleName() const {
|
||||
return crossRoleName_;
|
||||
}
|
||||
@@ -88,15 +52,6 @@ void CreateRestoreTaskRequest::setDestinationEndpointUserName(const std::string
|
||||
setParameter(std::string("DestinationEndpointUserName"), destinationEndpointUserName);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getRestoreObjects() const {
|
||||
return restoreObjects_;
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setRestoreObjects(const std::string &restoreObjects) {
|
||||
restoreObjects_ = restoreObjects;
|
||||
setParameter(std::string("RestoreObjects"), restoreObjects);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getRestoreTaskName() const {
|
||||
return restoreTaskName_;
|
||||
}
|
||||
@@ -106,15 +61,6 @@ void CreateRestoreTaskRequest::setRestoreTaskName(const std::string &restoreTask
|
||||
setParameter(std::string("RestoreTaskName"), restoreTaskName);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getRestoreHome() const {
|
||||
return restoreHome_;
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setRestoreHome(const std::string &restoreHome) {
|
||||
restoreHome_ = restoreHome;
|
||||
setParameter(std::string("RestoreHome"), restoreHome);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointOracleSID() const {
|
||||
return destinationEndpointOracleSID_;
|
||||
}
|
||||
@@ -124,33 +70,6 @@ void CreateRestoreTaskRequest::setDestinationEndpointOracleSID(const std::string
|
||||
setParameter(std::string("DestinationEndpointOracleSID"), destinationEndpointOracleSID);
|
||||
}
|
||||
|
||||
long CreateRestoreTaskRequest::getRestoreTime() const {
|
||||
return restoreTime_;
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setRestoreTime(long restoreTime) {
|
||||
restoreTime_ = restoreTime;
|
||||
setParameter(std::string("RestoreTime"), std::to_string(restoreTime));
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getCrossAliyunId() const {
|
||||
return crossAliyunId_;
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setCrossAliyunId(const std::string &crossAliyunId) {
|
||||
crossAliyunId_ = crossAliyunId;
|
||||
setParameter(std::string("CrossAliyunId"), crossAliyunId);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointInstanceID() const {
|
||||
return destinationEndpointInstanceID_;
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointInstanceID(const std::string &destinationEndpointInstanceID) {
|
||||
destinationEndpointInstanceID_ = destinationEndpointInstanceID;
|
||||
setParameter(std::string("DestinationEndpointInstanceID"), destinationEndpointInstanceID);
|
||||
}
|
||||
|
||||
int CreateRestoreTaskRequest::getDestinationEndpointPort() const {
|
||||
return destinationEndpointPort_;
|
||||
}
|
||||
@@ -196,15 +115,6 @@ void CreateRestoreTaskRequest::setDestinationEndpointIP(const std::string &desti
|
||||
setParameter(std::string("DestinationEndpointIP"), destinationEndpointIP);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointDatabaseName() const {
|
||||
return destinationEndpointDatabaseName_;
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointDatabaseName(const std::string &destinationEndpointDatabaseName) {
|
||||
destinationEndpointDatabaseName_ = destinationEndpointDatabaseName;
|
||||
setParameter(std::string("DestinationEndpointDatabaseName"), destinationEndpointDatabaseName);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDuplicateConflict() const {
|
||||
return duplicateConflict_;
|
||||
}
|
||||
@@ -214,6 +124,96 @@ void CreateRestoreTaskRequest::setDuplicateConflict(const std::string &duplicate
|
||||
setParameter(std::string("DuplicateConflict"), duplicateConflict);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointInstanceType() const {
|
||||
return destinationEndpointInstanceType_;
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointInstanceType(const std::string &destinationEndpointInstanceType) {
|
||||
destinationEndpointInstanceType_ = destinationEndpointInstanceType;
|
||||
setParameter(std::string("DestinationEndpointInstanceType"), destinationEndpointInstanceType);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getBackupPlanId() const {
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setBackupPlanId(const std::string &backupPlanId) {
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter(std::string("BackupPlanId"), backupPlanId);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointRegion() const {
|
||||
return destinationEndpointRegion_;
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointRegion(const std::string &destinationEndpointRegion) {
|
||||
destinationEndpointRegion_ = destinationEndpointRegion;
|
||||
setParameter(std::string("DestinationEndpointRegion"), destinationEndpointRegion);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getRestoreObjects() const {
|
||||
return restoreObjects_;
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setRestoreObjects(const std::string &restoreObjects) {
|
||||
restoreObjects_ = restoreObjects;
|
||||
setParameter(std::string("RestoreObjects"), restoreObjects);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getRestoreHome() const {
|
||||
return restoreHome_;
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setRestoreHome(const std::string &restoreHome) {
|
||||
restoreHome_ = restoreHome;
|
||||
setParameter(std::string("RestoreHome"), restoreHome);
|
||||
}
|
||||
|
||||
long CreateRestoreTaskRequest::getRestoreTime() const {
|
||||
return restoreTime_;
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setRestoreTime(long restoreTime) {
|
||||
restoreTime_ = restoreTime;
|
||||
setParameter(std::string("RestoreTime"), std::to_string(restoreTime));
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getCrossAliyunId() const {
|
||||
return crossAliyunId_;
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setCrossAliyunId(const std::string &crossAliyunId) {
|
||||
crossAliyunId_ = crossAliyunId;
|
||||
setParameter(std::string("CrossAliyunId"), crossAliyunId);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointInstanceID() const {
|
||||
return destinationEndpointInstanceID_;
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointInstanceID(const std::string &destinationEndpointInstanceID) {
|
||||
destinationEndpointInstanceID_ = destinationEndpointInstanceID;
|
||||
setParameter(std::string("DestinationEndpointInstanceID"), destinationEndpointInstanceID);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointDatabaseName() const {
|
||||
return destinationEndpointDatabaseName_;
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointDatabaseName(const std::string &destinationEndpointDatabaseName) {
|
||||
destinationEndpointDatabaseName_ = destinationEndpointDatabaseName;
|
||||
setParameter(std::string("DestinationEndpointDatabaseName"), destinationEndpointDatabaseName);
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointPassword() const {
|
||||
return destinationEndpointPassword_;
|
||||
}
|
||||
|
||||
@@ -25,15 +25,6 @@ DescribeBackupGatewayListRequest::DescribeBackupGatewayListRequest()
|
||||
|
||||
DescribeBackupGatewayListRequest::~DescribeBackupGatewayListRequest() {}
|
||||
|
||||
std::string DescribeBackupGatewayListRequest::getIdentifier() const {
|
||||
return identifier_;
|
||||
}
|
||||
|
||||
void DescribeBackupGatewayListRequest::setIdentifier(const std::string &identifier) {
|
||||
identifier_ = identifier;
|
||||
setParameter(std::string("Identifier"), identifier);
|
||||
}
|
||||
|
||||
std::string DescribeBackupGatewayListRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
@@ -52,15 +43,6 @@ void DescribeBackupGatewayListRequest::setPageNum(int pageNum) {
|
||||
setParameter(std::string("PageNum"), std::to_string(pageNum));
|
||||
}
|
||||
|
||||
std::string DescribeBackupGatewayListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeBackupGatewayListRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
int DescribeBackupGatewayListRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
@@ -70,6 +52,24 @@ void DescribeBackupGatewayListRequest::setPageSize(int pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeBackupGatewayListRequest::getIdentifier() const {
|
||||
return identifier_;
|
||||
}
|
||||
|
||||
void DescribeBackupGatewayListRequest::setIdentifier(const std::string &identifier) {
|
||||
identifier_ = identifier;
|
||||
setParameter(std::string("Identifier"), identifier);
|
||||
}
|
||||
|
||||
std::string DescribeBackupGatewayListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeBackupGatewayListRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
std::string DescribeBackupGatewayListRequest::getRegion() const {
|
||||
return region_;
|
||||
}
|
||||
|
||||
@@ -43,15 +43,6 @@ void DescribeBackupPlanBillingRequest::setBackupPlanId(const std::string &backup
|
||||
setParameter(std::string("BackupPlanId"), backupPlanId);
|
||||
}
|
||||
|
||||
std::string DescribeBackupPlanBillingRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeBackupPlanBillingRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
bool DescribeBackupPlanBillingRequest::getShowStorageType() const {
|
||||
return showStorageType_;
|
||||
}
|
||||
@@ -61,3 +52,12 @@ void DescribeBackupPlanBillingRequest::setShowStorageType(bool showStorageType)
|
||||
setParameter(std::string("ShowStorageType"), showStorageType ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeBackupPlanBillingRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeBackupPlanBillingRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
|
||||
@@ -68,8 +68,6 @@ void DescribeBackupPlanBillingResult::parse(const std::string &payload)
|
||||
item_.buyChargeType = itemNode["BuyChargeType"].asString();
|
||||
if(!itemNode["UsedIncrementBytes"].isNull())
|
||||
item_.usedIncrementBytes = std::stol(itemNode["UsedIncrementBytes"].asString());
|
||||
if(!itemNode["ResourceGroupId"].isNull())
|
||||
item_.resourceGroupId = itemNode["ResourceGroupId"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
|
||||
@@ -52,15 +52,6 @@ void DescribeBackupPlanListRequest::setPageNum(int pageNum) {
|
||||
setParameter(std::string("PageNum"), std::to_string(pageNum));
|
||||
}
|
||||
|
||||
std::string DescribeBackupPlanListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeBackupPlanListRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
std::string DescribeBackupPlanListRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
@@ -79,15 +70,6 @@ void DescribeBackupPlanListRequest::setBackupPlanStatus(const std::string &backu
|
||||
setParameter(std::string("BackupPlanStatus"), backupPlanStatus);
|
||||
}
|
||||
|
||||
std::string DescribeBackupPlanListRequest::getBackupPlanName() const {
|
||||
return backupPlanName_;
|
||||
}
|
||||
|
||||
void DescribeBackupPlanListRequest::setBackupPlanName(const std::string &backupPlanName) {
|
||||
backupPlanName_ = backupPlanName;
|
||||
setParameter(std::string("BackupPlanName"), backupPlanName);
|
||||
}
|
||||
|
||||
int DescribeBackupPlanListRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
@@ -97,6 +79,24 @@ void DescribeBackupPlanListRequest::setPageSize(int pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeBackupPlanListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeBackupPlanListRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
std::string DescribeBackupPlanListRequest::getBackupPlanName() const {
|
||||
return backupPlanName_;
|
||||
}
|
||||
|
||||
void DescribeBackupPlanListRequest::setBackupPlanName(const std::string &backupPlanName) {
|
||||
backupPlanName_ = backupPlanName;
|
||||
setParameter(std::string("BackupPlanName"), backupPlanName);
|
||||
}
|
||||
|
||||
std::string DescribeBackupPlanListRequest::getRegion() const {
|
||||
return region_;
|
||||
}
|
||||
|
||||
@@ -115,6 +115,8 @@ void DescribeBackupPlanListResult::parse(const std::string &payload)
|
||||
itemsObject.enableBackupLog = valueItemsBackupPlanDetail["EnableBackupLog"].asString() == "true";
|
||||
if(!valueItemsBackupPlanDetail["ResourceGroupId"].isNull())
|
||||
itemsObject.resourceGroupId = valueItemsBackupPlanDetail["ResourceGroupId"].asString();
|
||||
if(!valueItemsBackupPlanDetail["DatabaseType"].isNull())
|
||||
itemsObject.databaseType = valueItemsBackupPlanDetail["DatabaseType"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
|
||||
@@ -34,15 +34,6 @@ void DescribeBackupSetDownloadTaskListRequest::setClientToken(const std::string
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
std::string DescribeBackupSetDownloadTaskListRequest::getBackupSetDownloadTaskId() const {
|
||||
return backupSetDownloadTaskId_;
|
||||
}
|
||||
|
||||
void DescribeBackupSetDownloadTaskListRequest::setBackupSetDownloadTaskId(const std::string &backupSetDownloadTaskId) {
|
||||
backupSetDownloadTaskId_ = backupSetDownloadTaskId;
|
||||
setParameter(std::string("BackupSetDownloadTaskId"), backupSetDownloadTaskId);
|
||||
}
|
||||
|
||||
std::string DescribeBackupSetDownloadTaskListRequest::getBackupPlanId() const {
|
||||
return backupPlanId_;
|
||||
}
|
||||
@@ -61,15 +52,6 @@ void DescribeBackupSetDownloadTaskListRequest::setPageNum(int pageNum) {
|
||||
setParameter(std::string("PageNum"), std::to_string(pageNum));
|
||||
}
|
||||
|
||||
std::string DescribeBackupSetDownloadTaskListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeBackupSetDownloadTaskListRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
int DescribeBackupSetDownloadTaskListRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
@@ -79,3 +61,21 @@ void DescribeBackupSetDownloadTaskListRequest::setPageSize(int pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeBackupSetDownloadTaskListRequest::getBackupSetDownloadTaskId() const {
|
||||
return backupSetDownloadTaskId_;
|
||||
}
|
||||
|
||||
void DescribeBackupSetDownloadTaskListRequest::setBackupSetDownloadTaskId(const std::string &backupSetDownloadTaskId) {
|
||||
backupSetDownloadTaskId_ = backupSetDownloadTaskId;
|
||||
setParameter(std::string("BackupSetDownloadTaskId"), backupSetDownloadTaskId);
|
||||
}
|
||||
|
||||
std::string DescribeBackupSetDownloadTaskListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeBackupSetDownloadTaskListRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,15 +43,6 @@ void DescribeFullBackupListRequest::setBackupPlanId(const std::string &backupPla
|
||||
setParameter(std::string("BackupPlanId"), backupPlanId);
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupListRequest::getBackupSetId() const {
|
||||
return backupSetId_;
|
||||
}
|
||||
|
||||
void DescribeFullBackupListRequest::setBackupSetId(const std::string &backupSetId) {
|
||||
backupSetId_ = backupSetId;
|
||||
setParameter(std::string("BackupSetId"), backupSetId);
|
||||
}
|
||||
|
||||
int DescribeFullBackupListRequest::getPageNum() const {
|
||||
return pageNum_;
|
||||
}
|
||||
@@ -61,15 +52,6 @@ void DescribeFullBackupListRequest::setPageNum(int pageNum) {
|
||||
setParameter(std::string("PageNum"), std::to_string(pageNum));
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeFullBackupListRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
long DescribeFullBackupListRequest::getStartTimestamp() const {
|
||||
return startTimestamp_;
|
||||
}
|
||||
@@ -106,3 +88,21 @@ void DescribeFullBackupListRequest::setPageSize(int pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupListRequest::getBackupSetId() const {
|
||||
return backupSetId_;
|
||||
}
|
||||
|
||||
void DescribeFullBackupListRequest::setBackupSetId(const std::string &backupSetId) {
|
||||
backupSetId_ = backupSetId;
|
||||
setParameter(std::string("BackupSetId"), backupSetId);
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeFullBackupListRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
|
||||
@@ -52,15 +52,6 @@ void DescribeIncrementBackupListRequest::setPageNum(int pageNum) {
|
||||
setParameter(std::string("PageNum"), std::to_string(pageNum));
|
||||
}
|
||||
|
||||
std::string DescribeIncrementBackupListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeIncrementBackupListRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
long DescribeIncrementBackupListRequest::getStartTimestamp() const {
|
||||
return startTimestamp_;
|
||||
}
|
||||
@@ -97,3 +88,12 @@ void DescribeIncrementBackupListRequest::setPageSize(int pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeIncrementBackupListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeIncrementBackupListRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,15 +43,6 @@ void DescribeJobErrorCodeRequest::setLanguage(const std::string &language) {
|
||||
setParameter(std::string("Language"), language);
|
||||
}
|
||||
|
||||
std::string DescribeJobErrorCodeRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeJobErrorCodeRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
std::string DescribeJobErrorCodeRequest::getTaskId() const {
|
||||
return taskId_;
|
||||
}
|
||||
@@ -61,3 +52,12 @@ void DescribeJobErrorCodeRequest::setTaskId(const std::string &taskId) {
|
||||
setParameter(std::string("TaskId"), taskId);
|
||||
}
|
||||
|
||||
std::string DescribeJobErrorCodeRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeJobErrorCodeRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,15 +43,6 @@ void DescribePreCheckProgressListRequest::setBackupPlanId(const std::string &bac
|
||||
setParameter(std::string("BackupPlanId"), backupPlanId);
|
||||
}
|
||||
|
||||
std::string DescribePreCheckProgressListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribePreCheckProgressListRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
std::string DescribePreCheckProgressListRequest::getRestoreTaskId() const {
|
||||
return restoreTaskId_;
|
||||
}
|
||||
@@ -61,3 +52,12 @@ void DescribePreCheckProgressListRequest::setRestoreTaskId(const std::string &re
|
||||
setParameter(std::string("RestoreTaskId"), restoreTaskId);
|
||||
}
|
||||
|
||||
std::string DescribePreCheckProgressListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribePreCheckProgressListRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
|
||||
@@ -34,15 +34,6 @@ void DescribeRestoreRangeInfoRequest::setBeginTimestampForRestore(long beginTime
|
||||
setParameter(std::string("BeginTimestampForRestore"), std::to_string(beginTimestampForRestore));
|
||||
}
|
||||
|
||||
long DescribeRestoreRangeInfoRequest::getEndTimestampForRestore() const {
|
||||
return endTimestampForRestore_;
|
||||
}
|
||||
|
||||
void DescribeRestoreRangeInfoRequest::setEndTimestampForRestore(long endTimestampForRestore) {
|
||||
endTimestampForRestore_ = endTimestampForRestore;
|
||||
setParameter(std::string("EndTimestampForRestore"), std::to_string(endTimestampForRestore));
|
||||
}
|
||||
|
||||
std::string DescribeRestoreRangeInfoRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
@@ -61,15 +52,6 @@ void DescribeRestoreRangeInfoRequest::setBackupPlanId(const std::string &backupP
|
||||
setParameter(std::string("BackupPlanId"), backupPlanId);
|
||||
}
|
||||
|
||||
std::string DescribeRestoreRangeInfoRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeRestoreRangeInfoRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
bool DescribeRestoreRangeInfoRequest::getRecentlyRestore() const {
|
||||
return recentlyRestore_;
|
||||
}
|
||||
@@ -79,3 +61,21 @@ void DescribeRestoreRangeInfoRequest::setRecentlyRestore(bool recentlyRestore) {
|
||||
setParameter(std::string("RecentlyRestore"), recentlyRestore ? "true" : "false");
|
||||
}
|
||||
|
||||
long DescribeRestoreRangeInfoRequest::getEndTimestampForRestore() const {
|
||||
return endTimestampForRestore_;
|
||||
}
|
||||
|
||||
void DescribeRestoreRangeInfoRequest::setEndTimestampForRestore(long endTimestampForRestore) {
|
||||
endTimestampForRestore_ = endTimestampForRestore;
|
||||
setParameter(std::string("EndTimestampForRestore"), std::to_string(endTimestampForRestore));
|
||||
}
|
||||
|
||||
std::string DescribeRestoreRangeInfoRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeRestoreRangeInfoRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
|
||||
@@ -52,15 +52,6 @@ void DescribeRestoreTaskListRequest::setPageNum(int pageNum) {
|
||||
setParameter(std::string("PageNum"), std::to_string(pageNum));
|
||||
}
|
||||
|
||||
std::string DescribeRestoreTaskListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeRestoreTaskListRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
long DescribeRestoreTaskListRequest::getStartTimestamp() const {
|
||||
return startTimestamp_;
|
||||
}
|
||||
@@ -97,3 +88,12 @@ void DescribeRestoreTaskListRequest::setPageSize(int pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeRestoreTaskListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeRestoreTaskListRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
|
||||
@@ -52,15 +52,6 @@ void GetDBListFromAgentRequest::setClientToken(const std::string &clientToken) {
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
std::string GetDBListFromAgentRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void GetDBListFromAgentRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
long GetDBListFromAgentRequest::getTaskId() const {
|
||||
return taskId_;
|
||||
}
|
||||
@@ -70,3 +61,12 @@ void GetDBListFromAgentRequest::setTaskId(long taskId) {
|
||||
setParameter(std::string("TaskId"), std::to_string(taskId));
|
||||
}
|
||||
|
||||
std::string GetDBListFromAgentRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void GetDBListFromAgentRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
|
||||
@@ -70,6 +70,24 @@ void ModifyBackupSetDownloadRulesRequest::setBackupPlanId(const std::string &bac
|
||||
setParameter(std::string("BackupPlanId"), backupPlanId);
|
||||
}
|
||||
|
||||
std::string ModifyBackupSetDownloadRulesRequest::getBackupSetDownloadTargetTypeLocation() const {
|
||||
return backupSetDownloadTargetTypeLocation_;
|
||||
}
|
||||
|
||||
void ModifyBackupSetDownloadRulesRequest::setBackupSetDownloadTargetTypeLocation(const std::string &backupSetDownloadTargetTypeLocation) {
|
||||
backupSetDownloadTargetTypeLocation_ = backupSetDownloadTargetTypeLocation;
|
||||
setParameter(std::string("BackupSetDownloadTargetTypeLocation"), backupSetDownloadTargetTypeLocation);
|
||||
}
|
||||
|
||||
std::string ModifyBackupSetDownloadRulesRequest::getBackupSetDownloadDir() const {
|
||||
return backupSetDownloadDir_;
|
||||
}
|
||||
|
||||
void ModifyBackupSetDownloadRulesRequest::setBackupSetDownloadDir(const std::string &backupSetDownloadDir) {
|
||||
backupSetDownloadDir_ = backupSetDownloadDir;
|
||||
setParameter(std::string("BackupSetDownloadDir"), backupSetDownloadDir);
|
||||
}
|
||||
|
||||
std::string ModifyBackupSetDownloadRulesRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
@@ -97,21 +115,3 @@ void ModifyBackupSetDownloadRulesRequest::setIncrementDataFormat(const std::stri
|
||||
setParameter(std::string("IncrementDataFormat"), incrementDataFormat);
|
||||
}
|
||||
|
||||
std::string ModifyBackupSetDownloadRulesRequest::getBackupSetDownloadTargetTypeLocation() const {
|
||||
return backupSetDownloadTargetTypeLocation_;
|
||||
}
|
||||
|
||||
void ModifyBackupSetDownloadRulesRequest::setBackupSetDownloadTargetTypeLocation(const std::string &backupSetDownloadTargetTypeLocation) {
|
||||
backupSetDownloadTargetTypeLocation_ = backupSetDownloadTargetTypeLocation;
|
||||
setParameter(std::string("BackupSetDownloadTargetTypeLocation"), backupSetDownloadTargetTypeLocation);
|
||||
}
|
||||
|
||||
std::string ModifyBackupSetDownloadRulesRequest::getBackupSetDownloadDir() const {
|
||||
return backupSetDownloadDir_;
|
||||
}
|
||||
|
||||
void ModifyBackupSetDownloadRulesRequest::setBackupSetDownloadDir(const std::string &backupSetDownloadDir) {
|
||||
backupSetDownloadDir_ = backupSetDownloadDir;
|
||||
setParameter(std::string("BackupSetDownloadDir"), backupSetDownloadDir);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ ModifyBackupStrategyRequest::ModifyBackupStrategyRequest()
|
||||
|
||||
ModifyBackupStrategyRequest::~ModifyBackupStrategyRequest() {}
|
||||
|
||||
int ModifyBackupStrategyRequest::getBackupLogIntervalSeconds() const {
|
||||
return backupLogIntervalSeconds_;
|
||||
}
|
||||
|
||||
void ModifyBackupStrategyRequest::setBackupLogIntervalSeconds(int backupLogIntervalSeconds) {
|
||||
backupLogIntervalSeconds_ = backupLogIntervalSeconds;
|
||||
setParameter(std::string("BackupLogIntervalSeconds"), std::to_string(backupLogIntervalSeconds));
|
||||
}
|
||||
|
||||
std::string ModifyBackupStrategyRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
@@ -52,6 +43,24 @@ void ModifyBackupStrategyRequest::setBackupPlanId(const std::string &backupPlanI
|
||||
setParameter(std::string("BackupPlanId"), backupPlanId);
|
||||
}
|
||||
|
||||
std::string ModifyBackupStrategyRequest::getBackupStartTime() const {
|
||||
return backupStartTime_;
|
||||
}
|
||||
|
||||
void ModifyBackupStrategyRequest::setBackupStartTime(const std::string &backupStartTime) {
|
||||
backupStartTime_ = backupStartTime;
|
||||
setParameter(std::string("BackupStartTime"), backupStartTime);
|
||||
}
|
||||
|
||||
int ModifyBackupStrategyRequest::getBackupLogIntervalSeconds() const {
|
||||
return backupLogIntervalSeconds_;
|
||||
}
|
||||
|
||||
void ModifyBackupStrategyRequest::setBackupLogIntervalSeconds(int backupLogIntervalSeconds) {
|
||||
backupLogIntervalSeconds_ = backupLogIntervalSeconds;
|
||||
setParameter(std::string("BackupLogIntervalSeconds"), std::to_string(backupLogIntervalSeconds));
|
||||
}
|
||||
|
||||
std::string ModifyBackupStrategyRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
@@ -70,15 +79,6 @@ void ModifyBackupStrategyRequest::setBackupPeriod(const std::string &backupPerio
|
||||
setParameter(std::string("BackupPeriod"), backupPeriod);
|
||||
}
|
||||
|
||||
std::string ModifyBackupStrategyRequest::getBackupStartTime() const {
|
||||
return backupStartTime_;
|
||||
}
|
||||
|
||||
void ModifyBackupStrategyRequest::setBackupStartTime(const std::string &backupStartTime) {
|
||||
backupStartTime_ = backupStartTime;
|
||||
setParameter(std::string("BackupStartTime"), backupStartTime);
|
||||
}
|
||||
|
||||
std::string ModifyBackupStrategyRequest::getBackupStrategyType() const {
|
||||
return backupStrategyType_;
|
||||
}
|
||||
|
||||
@@ -25,15 +25,6 @@ ModifyStorageStrategyRequest::ModifyStorageStrategyRequest()
|
||||
|
||||
ModifyStorageStrategyRequest::~ModifyStorageStrategyRequest() {}
|
||||
|
||||
int ModifyStorageStrategyRequest::getDuplicationArchivePeriod() const {
|
||||
return duplicationArchivePeriod_;
|
||||
}
|
||||
|
||||
void ModifyStorageStrategyRequest::setDuplicationArchivePeriod(int duplicationArchivePeriod) {
|
||||
duplicationArchivePeriod_ = duplicationArchivePeriod;
|
||||
setParameter(std::string("DuplicationArchivePeriod"), std::to_string(duplicationArchivePeriod));
|
||||
}
|
||||
|
||||
std::string ModifyStorageStrategyRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
@@ -52,6 +43,24 @@ void ModifyStorageStrategyRequest::setBackupPlanId(const std::string &backupPlan
|
||||
setParameter(std::string("BackupPlanId"), backupPlanId);
|
||||
}
|
||||
|
||||
int ModifyStorageStrategyRequest::getDuplicationInfrequentAccessPeriod() const {
|
||||
return duplicationInfrequentAccessPeriod_;
|
||||
}
|
||||
|
||||
void ModifyStorageStrategyRequest::setDuplicationInfrequentAccessPeriod(int duplicationInfrequentAccessPeriod) {
|
||||
duplicationInfrequentAccessPeriod_ = duplicationInfrequentAccessPeriod;
|
||||
setParameter(std::string("DuplicationInfrequentAccessPeriod"), std::to_string(duplicationInfrequentAccessPeriod));
|
||||
}
|
||||
|
||||
int ModifyStorageStrategyRequest::getDuplicationArchivePeriod() const {
|
||||
return duplicationArchivePeriod_;
|
||||
}
|
||||
|
||||
void ModifyStorageStrategyRequest::setDuplicationArchivePeriod(int duplicationArchivePeriod) {
|
||||
duplicationArchivePeriod_ = duplicationArchivePeriod;
|
||||
setParameter(std::string("DuplicationArchivePeriod"), std::to_string(duplicationArchivePeriod));
|
||||
}
|
||||
|
||||
std::string ModifyStorageStrategyRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
@@ -70,12 +79,3 @@ void ModifyStorageStrategyRequest::setBackupRetentionPeriod(int backupRetentionP
|
||||
setParameter(std::string("BackupRetentionPeriod"), std::to_string(backupRetentionPeriod));
|
||||
}
|
||||
|
||||
int ModifyStorageStrategyRequest::getDuplicationInfrequentAccessPeriod() const {
|
||||
return duplicationInfrequentAccessPeriod_;
|
||||
}
|
||||
|
||||
void ModifyStorageStrategyRequest::setDuplicationInfrequentAccessPeriod(int duplicationInfrequentAccessPeriod) {
|
||||
duplicationInfrequentAccessPeriod_ = duplicationInfrequentAccessPeriod;
|
||||
setParameter(std::string("DuplicationInfrequentAccessPeriod"), std::to_string(duplicationInfrequentAccessPeriod));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ RenewBackupPlanRequest::RenewBackupPlanRequest()
|
||||
|
||||
RenewBackupPlanRequest::~RenewBackupPlanRequest() {}
|
||||
|
||||
std::string RenewBackupPlanRequest::getPeriod() const {
|
||||
return period_;
|
||||
}
|
||||
|
||||
void RenewBackupPlanRequest::setPeriod(const std::string &period) {
|
||||
period_ = period;
|
||||
setParameter(std::string("Period"), period);
|
||||
}
|
||||
|
||||
std::string RenewBackupPlanRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
@@ -52,6 +43,15 @@ void RenewBackupPlanRequest::setBackupPlanId(const std::string &backupPlanId) {
|
||||
setParameter(std::string("BackupPlanId"), backupPlanId);
|
||||
}
|
||||
|
||||
std::string RenewBackupPlanRequest::getPeriod() const {
|
||||
return period_;
|
||||
}
|
||||
|
||||
void RenewBackupPlanRequest::setPeriod(const std::string &period) {
|
||||
period_ = period;
|
||||
setParameter(std::string("Period"), period);
|
||||
}
|
||||
|
||||
std::string RenewBackupPlanRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
@@ -34,15 +34,6 @@ void StartRestoreTaskRequest::setClientToken(const std::string &clientToken) {
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
std::string StartRestoreTaskRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void StartRestoreTaskRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
std::string StartRestoreTaskRequest::getRestoreTaskId() const {
|
||||
return restoreTaskId_;
|
||||
}
|
||||
@@ -52,3 +43,12 @@ void StartRestoreTaskRequest::setRestoreTaskId(const std::string &restoreTaskId)
|
||||
setParameter(std::string("RestoreTaskId"), restoreTaskId);
|
||||
}
|
||||
|
||||
std::string StartRestoreTaskRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void StartRestoreTaskRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,15 +43,6 @@ void UpgradeBackupPlanRequest::setBackupPlanId(const std::string &backupPlanId)
|
||||
setParameter(std::string("BackupPlanId"), backupPlanId);
|
||||
}
|
||||
|
||||
std::string UpgradeBackupPlanRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void UpgradeBackupPlanRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
std::string UpgradeBackupPlanRequest::getInstanceClass() const {
|
||||
return instanceClass_;
|
||||
}
|
||||
@@ -61,3 +52,12 @@ void UpgradeBackupPlanRequest::setInstanceClass(const std::string &instanceClass
|
||||
setParameter(std::string("InstanceClass"), instanceClass);
|
||||
}
|
||||
|
||||
std::string UpgradeBackupPlanRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void UpgradeBackupPlanRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
|
||||
@@ -33,6 +33,10 @@ public:
|
||||
int storage;
|
||||
std::string _class;
|
||||
};
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
struct ConfigServer {
|
||||
int storage;
|
||||
std::string _class;
|
||||
@@ -60,6 +64,8 @@ public:
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getDBInstanceDescription() const;
|
||||
void setDBInstanceDescription(const std::string &dBInstanceDescription);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
std::string getGlobalSecurityGroupIds() const;
|
||||
void setGlobalSecurityGroupIds(const std::string &globalSecurityGroupIds);
|
||||
int getPeriod() const;
|
||||
@@ -121,6 +127,7 @@ private:
|
||||
std::string resourceGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string dBInstanceDescription_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string globalSecurityGroupIds_;
|
||||
int period_;
|
||||
std::string encryptionKey_;
|
||||
|
||||
@@ -54,6 +54,8 @@ public:
|
||||
void setRetainClassic(const std::string &retainClassic);
|
||||
std::string getVpcId() const;
|
||||
void setVpcId(const std::string &vpcId);
|
||||
std::string getZoneId() const;
|
||||
void setZoneId(const std::string &zoneId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -68,6 +70,7 @@ private:
|
||||
std::string vSwitchId_;
|
||||
std::string retainClassic_;
|
||||
std::string vpcId_;
|
||||
std::string zoneId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dds
|
||||
|
||||
@@ -112,6 +112,20 @@ void CreateShardingDBInstanceRequest::setDBInstanceDescription(const std::string
|
||||
setParameter(std::string("DBInstanceDescription"), dBInstanceDescription);
|
||||
}
|
||||
|
||||
std::vector<CreateShardingDBInstanceRequest::Tag> CreateShardingDBInstanceRequest::getTag() const {
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void CreateShardingDBInstanceRequest::setTag(const std::vector<CreateShardingDBInstanceRequest::Tag> &tag) {
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1 != tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateShardingDBInstanceRequest::getGlobalSecurityGroupIds() const {
|
||||
return globalSecurityGroupIds_;
|
||||
}
|
||||
|
||||
@@ -133,3 +133,12 @@ void ModifyDBInstanceNetworkTypeRequest::setVpcId(const std::string &vpcId) {
|
||||
setParameter(std::string("VpcId"), vpcId);
|
||||
}
|
||||
|
||||
std::string ModifyDBInstanceNetworkTypeRequest::getZoneId() const {
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
void ModifyDBInstanceNetworkTypeRequest::setZoneId(const std::string &zoneId) {
|
||||
zoneId_ = zoneId;
|
||||
setParameter(std::string("ZoneId"), zoneId);
|
||||
}
|
||||
|
||||
|
||||
@@ -45,6 +45,8 @@ set(dms-enterprise_public_header_model
|
||||
include/alibabacloud/dms-enterprise/model/CloseOrderResult.h
|
||||
include/alibabacloud/dms-enterprise/model/CreateAuthorityTemplateRequest.h
|
||||
include/alibabacloud/dms-enterprise/model/CreateAuthorityTemplateResult.h
|
||||
include/alibabacloud/dms-enterprise/model/CreateDataArchiveOrderRequest.h
|
||||
include/alibabacloud/dms-enterprise/model/CreateDataArchiveOrderResult.h
|
||||
include/alibabacloud/dms-enterprise/model/CreateDataCorrectOrderRequest.h
|
||||
include/alibabacloud/dms-enterprise/model/CreateDataCorrectOrderResult.h
|
||||
include/alibabacloud/dms-enterprise/model/CreateDataCronClearOrderRequest.h
|
||||
@@ -137,6 +139,8 @@ set(dms-enterprise_public_header_model
|
||||
include/alibabacloud/dms-enterprise/model/GetDBTaskSQLJobLogResult.h
|
||||
include/alibabacloud/dms-enterprise/model/GetDBTopologyRequest.h
|
||||
include/alibabacloud/dms-enterprise/model/GetDBTopologyResult.h
|
||||
include/alibabacloud/dms-enterprise/model/GetDataArchiveCountRequest.h
|
||||
include/alibabacloud/dms-enterprise/model/GetDataArchiveCountResult.h
|
||||
include/alibabacloud/dms-enterprise/model/GetDataArchiveOrderDetailRequest.h
|
||||
include/alibabacloud/dms-enterprise/model/GetDataArchiveOrderDetailResult.h
|
||||
include/alibabacloud/dms-enterprise/model/GetDataCorrectBackupFilesRequest.h
|
||||
@@ -460,6 +464,8 @@ set(dms-enterprise_src
|
||||
src/model/CloseOrderResult.cc
|
||||
src/model/CreateAuthorityTemplateRequest.cc
|
||||
src/model/CreateAuthorityTemplateResult.cc
|
||||
src/model/CreateDataArchiveOrderRequest.cc
|
||||
src/model/CreateDataArchiveOrderResult.cc
|
||||
src/model/CreateDataCorrectOrderRequest.cc
|
||||
src/model/CreateDataCorrectOrderResult.cc
|
||||
src/model/CreateDataCronClearOrderRequest.cc
|
||||
@@ -552,6 +558,8 @@ set(dms-enterprise_src
|
||||
src/model/GetDBTaskSQLJobLogResult.cc
|
||||
src/model/GetDBTopologyRequest.cc
|
||||
src/model/GetDBTopologyResult.cc
|
||||
src/model/GetDataArchiveCountRequest.cc
|
||||
src/model/GetDataArchiveCountResult.cc
|
||||
src/model/GetDataArchiveOrderDetailRequest.cc
|
||||
src/model/GetDataArchiveOrderDetailResult.cc
|
||||
src/model/GetDataCorrectBackupFilesRequest.cc
|
||||
|
||||
@@ -46,6 +46,8 @@
|
||||
#include "model/CloseOrderResult.h"
|
||||
#include "model/CreateAuthorityTemplateRequest.h"
|
||||
#include "model/CreateAuthorityTemplateResult.h"
|
||||
#include "model/CreateDataArchiveOrderRequest.h"
|
||||
#include "model/CreateDataArchiveOrderResult.h"
|
||||
#include "model/CreateDataCorrectOrderRequest.h"
|
||||
#include "model/CreateDataCorrectOrderResult.h"
|
||||
#include "model/CreateDataCronClearOrderRequest.h"
|
||||
@@ -138,6 +140,8 @@
|
||||
#include "model/GetDBTaskSQLJobLogResult.h"
|
||||
#include "model/GetDBTopologyRequest.h"
|
||||
#include "model/GetDBTopologyResult.h"
|
||||
#include "model/GetDataArchiveCountRequest.h"
|
||||
#include "model/GetDataArchiveCountResult.h"
|
||||
#include "model/GetDataArchiveOrderDetailRequest.h"
|
||||
#include "model/GetDataArchiveOrderDetailResult.h"
|
||||
#include "model/GetDataCorrectBackupFilesRequest.h"
|
||||
@@ -479,6 +483,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateAuthorityTemplateResult> CreateAuthorityTemplateOutcome;
|
||||
typedef std::future<CreateAuthorityTemplateOutcome> CreateAuthorityTemplateOutcomeCallable;
|
||||
typedef std::function<void(const Dms_enterpriseClient*, const Model::CreateAuthorityTemplateRequest&, const CreateAuthorityTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAuthorityTemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDataArchiveOrderResult> CreateDataArchiveOrderOutcome;
|
||||
typedef std::future<CreateDataArchiveOrderOutcome> CreateDataArchiveOrderOutcomeCallable;
|
||||
typedef std::function<void(const Dms_enterpriseClient*, const Model::CreateDataArchiveOrderRequest&, const CreateDataArchiveOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDataArchiveOrderAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDataCorrectOrderResult> CreateDataCorrectOrderOutcome;
|
||||
typedef std::future<CreateDataCorrectOrderOutcome> CreateDataCorrectOrderOutcomeCallable;
|
||||
typedef std::function<void(const Dms_enterpriseClient*, const Model::CreateDataCorrectOrderRequest&, const CreateDataCorrectOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDataCorrectOrderAsyncHandler;
|
||||
@@ -617,6 +624,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetDBTopologyResult> GetDBTopologyOutcome;
|
||||
typedef std::future<GetDBTopologyOutcome> GetDBTopologyOutcomeCallable;
|
||||
typedef std::function<void(const Dms_enterpriseClient*, const Model::GetDBTopologyRequest&, const GetDBTopologyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDBTopologyAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDataArchiveCountResult> GetDataArchiveCountOutcome;
|
||||
typedef std::future<GetDataArchiveCountOutcome> GetDataArchiveCountOutcomeCallable;
|
||||
typedef std::function<void(const Dms_enterpriseClient*, const Model::GetDataArchiveCountRequest&, const GetDataArchiveCountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDataArchiveCountAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDataArchiveOrderDetailResult> GetDataArchiveOrderDetailOutcome;
|
||||
typedef std::future<GetDataArchiveOrderDetailOutcome> GetDataArchiveOrderDetailOutcomeCallable;
|
||||
typedef std::function<void(const Dms_enterpriseClient*, const Model::GetDataArchiveOrderDetailRequest&, const GetDataArchiveOrderDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDataArchiveOrderDetailAsyncHandler;
|
||||
@@ -1102,6 +1112,9 @@ namespace AlibabaCloud
|
||||
CreateAuthorityTemplateOutcome createAuthorityTemplate(const Model::CreateAuthorityTemplateRequest &request)const;
|
||||
void createAuthorityTemplateAsync(const Model::CreateAuthorityTemplateRequest& request, const CreateAuthorityTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateAuthorityTemplateOutcomeCallable createAuthorityTemplateCallable(const Model::CreateAuthorityTemplateRequest& request) const;
|
||||
CreateDataArchiveOrderOutcome createDataArchiveOrder(const Model::CreateDataArchiveOrderRequest &request)const;
|
||||
void createDataArchiveOrderAsync(const Model::CreateDataArchiveOrderRequest& request, const CreateDataArchiveOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDataArchiveOrderOutcomeCallable createDataArchiveOrderCallable(const Model::CreateDataArchiveOrderRequest& request) const;
|
||||
CreateDataCorrectOrderOutcome createDataCorrectOrder(const Model::CreateDataCorrectOrderRequest &request)const;
|
||||
void createDataCorrectOrderAsync(const Model::CreateDataCorrectOrderRequest& request, const CreateDataCorrectOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDataCorrectOrderOutcomeCallable createDataCorrectOrderCallable(const Model::CreateDataCorrectOrderRequest& request) const;
|
||||
@@ -1240,6 +1253,9 @@ namespace AlibabaCloud
|
||||
GetDBTopologyOutcome getDBTopology(const Model::GetDBTopologyRequest &request)const;
|
||||
void getDBTopologyAsync(const Model::GetDBTopologyRequest& request, const GetDBTopologyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDBTopologyOutcomeCallable getDBTopologyCallable(const Model::GetDBTopologyRequest& request) const;
|
||||
GetDataArchiveCountOutcome getDataArchiveCount(const Model::GetDataArchiveCountRequest &request)const;
|
||||
void getDataArchiveCountAsync(const Model::GetDataArchiveCountRequest& request, const GetDataArchiveCountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDataArchiveCountOutcomeCallable getDataArchiveCountCallable(const Model::GetDataArchiveCountRequest& request) const;
|
||||
GetDataArchiveOrderDetailOutcome getDataArchiveOrderDetail(const Model::GetDataArchiveOrderDetailRequest &request)const;
|
||||
void getDataArchiveOrderDetailAsync(const Model::GetDataArchiveOrderDetailRequest& request, const GetDataArchiveOrderDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDataArchiveOrderDetailOutcomeCallable getDataArchiveOrderDetailCallable(const Model::GetDataArchiveOrderDetailRequest& request) const;
|
||||
|
||||
@@ -36,14 +36,26 @@ public:
|
||||
void setWorkflowInstanceId(long workflowInstanceId);
|
||||
std::string getApprovalType() const;
|
||||
void setApprovalType(const std::string &approvalType);
|
||||
long getNewApprover() const;
|
||||
void setNewApprover(long newApprover);
|
||||
long getApprovalNodeId() const;
|
||||
void setApprovalNodeId(long approvalNodeId);
|
||||
long getOldApprover() const;
|
||||
void setOldApprover(long oldApprover);
|
||||
std::string getComment() const;
|
||||
void setComment(const std::string &comment);
|
||||
std::string getApprovalNodePos() const;
|
||||
void setApprovalNodePos(const std::string &approvalNodePos);
|
||||
|
||||
private:
|
||||
long tid_;
|
||||
long workflowInstanceId_;
|
||||
std::string approvalType_;
|
||||
long newApprover_;
|
||||
long approvalNodeId_;
|
||||
long oldApprover_;
|
||||
std::string comment_;
|
||||
std::string approvalNodePos_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dms_enterprise
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user