Compare commits

..

10 Commits

Author SHA1 Message Date
sdk-team
82a3e5c595 Public api AddLivePullStreamInfoConfig. 2019-07-12 12:13:44 +08:00
sdk-team
79d7afefd8 Modify CreateBackupPlan. 2019-07-11 15:36:56 +08:00
sdk-team
d9d4b6f085 Supported library managment for simillarity scene. 2019-07-05 16:41:38 +08:00
sdk-team
c6f3fb19b6 Add TaskCancelStatus for QueryTaskList api. 2019-07-05 14:16:16 +08:00
sdk-team
b69e3ecb0d Supported API DescribeRecordStatisticsy for Query Volume. 2019-07-04 14:08:27 +08:00
sdk-team
c8e94ac56e Supported API DescribeRecordStatisticsSummary for Query Volume. 2019-07-03 13:57:46 +08:00
sdk-team
6825dae756 FnF public version. 2019-07-02 13:54:20 +08:00
sdk-team
3453c560b2 Fix Double to double. 2019-07-02 11:42:57 +08:00
sdk-team
c6effd8aaa Support cloud_essd disk category for API CreateDisk, CreateInstance and RunInstances, and support configurating PerformanceLevel when choose cloud_essd. 2019-07-01 14:54:13 +08:00
sdk-team
015b2ed1d2 Added setting of crop_mode parameter. 2019-06-27 18:09:12 +08:00
1095 changed files with 65355 additions and 33809 deletions

View File

@@ -1,3 +1,47 @@
2019-07-12 Version 1.36.63
- Public api AddLivePullStreamInfoConfig.
2019-07-11 Version 1.36.62
- Modify CreateBackupPlan.
- Modify ConfigureBackupPlan.
- Modify DescribeFullBackupList.
- Modify DescribeRestoreTaskList.
- Add ModifyBackupSourceEndpoint.
- Add ModifyBackupStrategy.
- Add ModifyBackupPlanName.
2019-07-05 Version 1.36.61
- Supported library managment for simillarity scene.
- Remove the local file uploader code which can be downloaded from yundun content security document.
2019-07-05 Version 1.36.60
- Add TaskCancelStatus for QueryTaskList api.
2019-07-04 Version 1.36.59
- Supported API DescribeRecordStatisticsy for Query Volume.
- Supported API DescribeDomainStatistics for Query Volume.
2019-07-03 Version 1.36.58
- Supported API DescribeRecordStatisticsSummary for Query Volume.
- Supported API DescribeDomainStatisticsSummary for Query Volume.
- Supported API DescribeRecordStatisticsHistory for Query Volume.
- Supported API DescribeDomainDnsStatistics for Query Volume.
2019-07-02 Version 1.36.57
- FnF public version.
2019-07-02 Version 1.36.56
- Fix Double to double.
2019-07-01 Version 1.36.55
- Support cloud_essd disk category for API CreateDisk, CreateInstance and RunInstances, and support configurating PerformanceLevel when choose cloud_essd.
- Add ModifyDiskSpec API to support cloud_essd PerformanceLevel modification.
- Add AutoProvisioningGroup interfaces, provide AutoProvisioningGroup function.
- Add RetentionDays to snapshot creating.
2019-06-27 Version 1.36.54
- Added setting of crop_mode parameter.
2019-06-24 Version 1.36.53
- Add some new apis to manage VoD domain, such as AddVodDomain, UpdateVodDomain, DeleteVodDomain, BatchStartVodDomain, BatchStopVodDomain, DescribeVodUserDomains, DescribeVodDomainDetail.
- Add some new apis to manage VoD domain config, such as BatchSetVodDomainConfigs, DescribeVodDomainConfigs, DeleteVodSpecificConfig, SetVodDomainCertificate, DescribeVodCertificateList, DescribeVodDomainCertificateInfo.

View File

@@ -1 +1 @@
1.36.53
1.36.63

View File

@@ -20,10 +20,62 @@ set(dbs_public_header
include/alibabacloud/dbs/DbsClient.h
include/alibabacloud/dbs/DbsExport.h )
set(dbs_public_header_model )
set(dbs_public_header_model
include/alibabacloud/dbs/model/DescribeBackupPlanListRequest.h
include/alibabacloud/dbs/model/DescribeBackupPlanListResult.h
include/alibabacloud/dbs/model/RenewBackupPlanRequest.h
include/alibabacloud/dbs/model/RenewBackupPlanResult.h
include/alibabacloud/dbs/model/DescribeFullBackupListRequest.h
include/alibabacloud/dbs/model/DescribeFullBackupListResult.h
include/alibabacloud/dbs/model/DescribeRestoreTaskListRequest.h
include/alibabacloud/dbs/model/DescribeRestoreTaskListResult.h
include/alibabacloud/dbs/model/ModifyBackupPlanNameRequest.h
include/alibabacloud/dbs/model/ModifyBackupPlanNameResult.h
include/alibabacloud/dbs/model/StopBackupPlanRequest.h
include/alibabacloud/dbs/model/StopBackupPlanResult.h
include/alibabacloud/dbs/model/ModifyBackupSourceEndpointRequest.h
include/alibabacloud/dbs/model/ModifyBackupSourceEndpointResult.h
include/alibabacloud/dbs/model/DescribeBackupGatewayListRequest.h
include/alibabacloud/dbs/model/DescribeBackupGatewayListResult.h
include/alibabacloud/dbs/model/ModifyBackupObjectsRequest.h
include/alibabacloud/dbs/model/ModifyBackupObjectsResult.h
include/alibabacloud/dbs/model/CreateRestoreTaskRequest.h
include/alibabacloud/dbs/model/CreateRestoreTaskResult.h
include/alibabacloud/dbs/model/ModifyBackupStrategyRequest.h
include/alibabacloud/dbs/model/ModifyBackupStrategyResult.h
include/alibabacloud/dbs/model/StartRestoreTaskRequest.h
include/alibabacloud/dbs/model/StartRestoreTaskResult.h
include/alibabacloud/dbs/model/DescribeNodeCidrListRequest.h
include/alibabacloud/dbs/model/DescribeNodeCidrListResult.h )
set(dbs_src
src/DbsClient.cc )
src/DbsClient.cc
src/model/DescribeBackupPlanListRequest.cc
src/model/DescribeBackupPlanListResult.cc
src/model/RenewBackupPlanRequest.cc
src/model/RenewBackupPlanResult.cc
src/model/DescribeFullBackupListRequest.cc
src/model/DescribeFullBackupListResult.cc
src/model/DescribeRestoreTaskListRequest.cc
src/model/DescribeRestoreTaskListResult.cc
src/model/ModifyBackupPlanNameRequest.cc
src/model/ModifyBackupPlanNameResult.cc
src/model/StopBackupPlanRequest.cc
src/model/StopBackupPlanResult.cc
src/model/ModifyBackupSourceEndpointRequest.cc
src/model/ModifyBackupSourceEndpointResult.cc
src/model/DescribeBackupGatewayListRequest.cc
src/model/DescribeBackupGatewayListResult.cc
src/model/ModifyBackupObjectsRequest.cc
src/model/ModifyBackupObjectsResult.cc
src/model/CreateRestoreTaskRequest.cc
src/model/CreateRestoreTaskResult.cc
src/model/ModifyBackupStrategyRequest.cc
src/model/ModifyBackupStrategyResult.cc
src/model/StartRestoreTaskRequest.cc
src/model/StartRestoreTaskResult.cc
src/model/DescribeNodeCidrListRequest.cc
src/model/DescribeNodeCidrListResult.cc )
add_library(dbs ${LIB_TYPE}
${dbs_public_header}

View File

@@ -24,28 +24,38 @@
#include "DbsExport.h"
#include "model/DescribeBackupPlanListRequest.h"
#include "model/DescribeBackupPlanListResult.h"
#include "model/StopBackupPlanRequest.h"
#include "model/StopBackupPlanResult.h"
#include "model/CreateBackupPlanRequest.h"
#include "model/CreateBackupPlanResult.h"
#include "model/StartBackupPlanRequest.h"
#include "model/StartBackupPlanResult.h"
#include "model/RenewBackupPlanRequest.h"
#include "model/RenewBackupPlanResult.h"
#include "model/DescribeFullBackupListRequest.h"
#include "model/DescribeFullBackupListResult.h"
#include "model/DescribeRestoreTaskListRequest.h"
#include "model/DescribeRestoreTaskListResult.h"
#include "model/ModifyBackupPlanNameRequest.h"
#include "model/ModifyBackupPlanNameResult.h"
#include "model/StopBackupPlanRequest.h"
#include "model/StopBackupPlanResult.h"
#include "model/ModifyBackupSourceEndpointRequest.h"
#include "model/ModifyBackupSourceEndpointResult.h"
#include "model/DescribeBackupGatewayListRequest.h"
#include "model/DescribeBackupGatewayListResult.h"
#include "model/ModifyBackupObjectsRequest.h"
#include "model/ModifyBackupObjectsResult.h"
#include "model/CreateRestoreTaskRequest.h"
#include "model/CreateRestoreTaskResult.h"
#include "model/DescribeIncrementBackupListRequest.h"
#include "model/DescribeIncrementBackupListResult.h"
#include "model/ConfigureBackupPlanRequest.h"
#include "model/ConfigureBackupPlanResult.h"
#include "model/DescribeFullBackupListRequest.h"
#include "model/DescribeFullBackupListResult.h"
#include "model/ModifyBackupStrategyRequest.h"
#include "model/ModifyBackupStrategyResult.h"
#include "model/StartRestoreTaskRequest.h"
#include "model/StartRestoreTaskResult.h"
#include "model/DescribeNodeCidrListRequest.h"
#include "model/DescribeNodeCidrListResult.h"
#include "model/DescribeRestoreTaskListRequest.h"
#include "model/DescribeRestoreTaskListResult.h"
namespace AlibabaCloud
@@ -58,18 +68,36 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeBackupPlanListResult> DescribeBackupPlanListOutcome;
typedef std::future<DescribeBackupPlanListOutcome> DescribeBackupPlanListOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::DescribeBackupPlanListRequest&, const DescribeBackupPlanListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBackupPlanListAsyncHandler;
typedef Outcome<Error, Model::StopBackupPlanResult> StopBackupPlanOutcome;
typedef std::future<StopBackupPlanOutcome> StopBackupPlanOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::StopBackupPlanRequest&, const StopBackupPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopBackupPlanAsyncHandler;
typedef Outcome<Error, Model::CreateBackupPlanResult> CreateBackupPlanOutcome;
typedef std::future<CreateBackupPlanOutcome> CreateBackupPlanOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::CreateBackupPlanRequest&, const CreateBackupPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateBackupPlanAsyncHandler;
typedef Outcome<Error, Model::StartBackupPlanResult> StartBackupPlanOutcome;
typedef std::future<StartBackupPlanOutcome> StartBackupPlanOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::StartBackupPlanRequest&, const StartBackupPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartBackupPlanAsyncHandler;
typedef Outcome<Error, Model::RenewBackupPlanResult> RenewBackupPlanOutcome;
typedef std::future<RenewBackupPlanOutcome> RenewBackupPlanOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::RenewBackupPlanRequest&, const RenewBackupPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewBackupPlanAsyncHandler;
typedef Outcome<Error, Model::DescribeFullBackupListResult> DescribeFullBackupListOutcome;
typedef std::future<DescribeFullBackupListOutcome> DescribeFullBackupListOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::DescribeFullBackupListRequest&, const DescribeFullBackupListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFullBackupListAsyncHandler;
typedef Outcome<Error, Model::DescribeRestoreTaskListResult> DescribeRestoreTaskListOutcome;
typedef std::future<DescribeRestoreTaskListOutcome> DescribeRestoreTaskListOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::DescribeRestoreTaskListRequest&, const DescribeRestoreTaskListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRestoreTaskListAsyncHandler;
typedef Outcome<Error, Model::ModifyBackupPlanNameResult> ModifyBackupPlanNameOutcome;
typedef std::future<ModifyBackupPlanNameOutcome> ModifyBackupPlanNameOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::ModifyBackupPlanNameRequest&, const ModifyBackupPlanNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyBackupPlanNameAsyncHandler;
typedef Outcome<Error, Model::StopBackupPlanResult> StopBackupPlanOutcome;
typedef std::future<StopBackupPlanOutcome> StopBackupPlanOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::StopBackupPlanRequest&, const StopBackupPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopBackupPlanAsyncHandler;
typedef Outcome<Error, Model::ModifyBackupSourceEndpointResult> ModifyBackupSourceEndpointOutcome;
typedef std::future<ModifyBackupSourceEndpointOutcome> ModifyBackupSourceEndpointOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::ModifyBackupSourceEndpointRequest&, const ModifyBackupSourceEndpointOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyBackupSourceEndpointAsyncHandler;
typedef Outcome<Error, Model::DescribeBackupGatewayListResult> DescribeBackupGatewayListOutcome;
typedef std::future<DescribeBackupGatewayListOutcome> DescribeBackupGatewayListOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::DescribeBackupGatewayListRequest&, const DescribeBackupGatewayListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBackupGatewayListAsyncHandler;
typedef Outcome<Error, Model::ModifyBackupObjectsResult> ModifyBackupObjectsOutcome;
typedef std::future<ModifyBackupObjectsOutcome> ModifyBackupObjectsOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::ModifyBackupObjectsRequest&, const ModifyBackupObjectsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyBackupObjectsAsyncHandler;
typedef Outcome<Error, Model::CreateRestoreTaskResult> CreateRestoreTaskOutcome;
typedef std::future<CreateRestoreTaskOutcome> CreateRestoreTaskOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::CreateRestoreTaskRequest&, const CreateRestoreTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRestoreTaskAsyncHandler;
@@ -79,18 +107,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ConfigureBackupPlanResult> ConfigureBackupPlanOutcome;
typedef std::future<ConfigureBackupPlanOutcome> ConfigureBackupPlanOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::ConfigureBackupPlanRequest&, const ConfigureBackupPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureBackupPlanAsyncHandler;
typedef Outcome<Error, Model::DescribeFullBackupListResult> DescribeFullBackupListOutcome;
typedef std::future<DescribeFullBackupListOutcome> DescribeFullBackupListOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::DescribeFullBackupListRequest&, const DescribeFullBackupListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFullBackupListAsyncHandler;
typedef Outcome<Error, Model::ModifyBackupStrategyResult> ModifyBackupStrategyOutcome;
typedef std::future<ModifyBackupStrategyOutcome> ModifyBackupStrategyOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::ModifyBackupStrategyRequest&, const ModifyBackupStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyBackupStrategyAsyncHandler;
typedef Outcome<Error, Model::StartRestoreTaskResult> StartRestoreTaskOutcome;
typedef std::future<StartRestoreTaskOutcome> StartRestoreTaskOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::StartRestoreTaskRequest&, const StartRestoreTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartRestoreTaskAsyncHandler;
typedef Outcome<Error, Model::DescribeNodeCidrListResult> DescribeNodeCidrListOutcome;
typedef std::future<DescribeNodeCidrListOutcome> DescribeNodeCidrListOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::DescribeNodeCidrListRequest&, const DescribeNodeCidrListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNodeCidrListAsyncHandler;
typedef Outcome<Error, Model::DescribeRestoreTaskListResult> DescribeRestoreTaskListOutcome;
typedef std::future<DescribeRestoreTaskListOutcome> DescribeRestoreTaskListOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::DescribeRestoreTaskListRequest&, const DescribeRestoreTaskListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRestoreTaskListAsyncHandler;
DbsClient(const Credentials &credentials, const ClientConfiguration &configuration);
DbsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
@@ -99,18 +124,36 @@ namespace AlibabaCloud
DescribeBackupPlanListOutcome describeBackupPlanList(const Model::DescribeBackupPlanListRequest &request)const;
void describeBackupPlanListAsync(const Model::DescribeBackupPlanListRequest& request, const DescribeBackupPlanListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeBackupPlanListOutcomeCallable describeBackupPlanListCallable(const Model::DescribeBackupPlanListRequest& request) const;
StopBackupPlanOutcome stopBackupPlan(const Model::StopBackupPlanRequest &request)const;
void stopBackupPlanAsync(const Model::StopBackupPlanRequest& request, const StopBackupPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopBackupPlanOutcomeCallable stopBackupPlanCallable(const Model::StopBackupPlanRequest& request) const;
CreateBackupPlanOutcome createBackupPlan(const Model::CreateBackupPlanRequest &request)const;
void createBackupPlanAsync(const Model::CreateBackupPlanRequest& request, const CreateBackupPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateBackupPlanOutcomeCallable createBackupPlanCallable(const Model::CreateBackupPlanRequest& request) const;
StartBackupPlanOutcome startBackupPlan(const Model::StartBackupPlanRequest &request)const;
void startBackupPlanAsync(const Model::StartBackupPlanRequest& request, const StartBackupPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartBackupPlanOutcomeCallable startBackupPlanCallable(const Model::StartBackupPlanRequest& request) const;
RenewBackupPlanOutcome renewBackupPlan(const Model::RenewBackupPlanRequest &request)const;
void renewBackupPlanAsync(const Model::RenewBackupPlanRequest& request, const RenewBackupPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RenewBackupPlanOutcomeCallable renewBackupPlanCallable(const Model::RenewBackupPlanRequest& request) const;
DescribeFullBackupListOutcome describeFullBackupList(const Model::DescribeFullBackupListRequest &request)const;
void describeFullBackupListAsync(const Model::DescribeFullBackupListRequest& request, const DescribeFullBackupListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeFullBackupListOutcomeCallable describeFullBackupListCallable(const Model::DescribeFullBackupListRequest& request) const;
DescribeRestoreTaskListOutcome describeRestoreTaskList(const Model::DescribeRestoreTaskListRequest &request)const;
void describeRestoreTaskListAsync(const Model::DescribeRestoreTaskListRequest& request, const DescribeRestoreTaskListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRestoreTaskListOutcomeCallable describeRestoreTaskListCallable(const Model::DescribeRestoreTaskListRequest& request) const;
ModifyBackupPlanNameOutcome modifyBackupPlanName(const Model::ModifyBackupPlanNameRequest &request)const;
void modifyBackupPlanNameAsync(const Model::ModifyBackupPlanNameRequest& request, const ModifyBackupPlanNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyBackupPlanNameOutcomeCallable modifyBackupPlanNameCallable(const Model::ModifyBackupPlanNameRequest& request) const;
StopBackupPlanOutcome stopBackupPlan(const Model::StopBackupPlanRequest &request)const;
void stopBackupPlanAsync(const Model::StopBackupPlanRequest& request, const StopBackupPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopBackupPlanOutcomeCallable stopBackupPlanCallable(const Model::StopBackupPlanRequest& request) const;
ModifyBackupSourceEndpointOutcome modifyBackupSourceEndpoint(const Model::ModifyBackupSourceEndpointRequest &request)const;
void modifyBackupSourceEndpointAsync(const Model::ModifyBackupSourceEndpointRequest& request, const ModifyBackupSourceEndpointAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyBackupSourceEndpointOutcomeCallable modifyBackupSourceEndpointCallable(const Model::ModifyBackupSourceEndpointRequest& request) const;
DescribeBackupGatewayListOutcome describeBackupGatewayList(const Model::DescribeBackupGatewayListRequest &request)const;
void describeBackupGatewayListAsync(const Model::DescribeBackupGatewayListRequest& request, const DescribeBackupGatewayListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeBackupGatewayListOutcomeCallable describeBackupGatewayListCallable(const Model::DescribeBackupGatewayListRequest& request) const;
ModifyBackupObjectsOutcome modifyBackupObjects(const Model::ModifyBackupObjectsRequest &request)const;
void modifyBackupObjectsAsync(const Model::ModifyBackupObjectsRequest& request, const ModifyBackupObjectsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyBackupObjectsOutcomeCallable modifyBackupObjectsCallable(const Model::ModifyBackupObjectsRequest& request) const;
CreateRestoreTaskOutcome createRestoreTask(const Model::CreateRestoreTaskRequest &request)const;
void createRestoreTaskAsync(const Model::CreateRestoreTaskRequest& request, const CreateRestoreTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateRestoreTaskOutcomeCallable createRestoreTaskCallable(const Model::CreateRestoreTaskRequest& request) const;
@@ -120,18 +163,15 @@ namespace AlibabaCloud
ConfigureBackupPlanOutcome configureBackupPlan(const Model::ConfigureBackupPlanRequest &request)const;
void configureBackupPlanAsync(const Model::ConfigureBackupPlanRequest& request, const ConfigureBackupPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ConfigureBackupPlanOutcomeCallable configureBackupPlanCallable(const Model::ConfigureBackupPlanRequest& request) const;
DescribeFullBackupListOutcome describeFullBackupList(const Model::DescribeFullBackupListRequest &request)const;
void describeFullBackupListAsync(const Model::DescribeFullBackupListRequest& request, const DescribeFullBackupListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeFullBackupListOutcomeCallable describeFullBackupListCallable(const Model::DescribeFullBackupListRequest& request) const;
ModifyBackupStrategyOutcome modifyBackupStrategy(const Model::ModifyBackupStrategyRequest &request)const;
void modifyBackupStrategyAsync(const Model::ModifyBackupStrategyRequest& request, const ModifyBackupStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyBackupStrategyOutcomeCallable modifyBackupStrategyCallable(const Model::ModifyBackupStrategyRequest& request) const;
StartRestoreTaskOutcome startRestoreTask(const Model::StartRestoreTaskRequest &request)const;
void startRestoreTaskAsync(const Model::StartRestoreTaskRequest& request, const StartRestoreTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartRestoreTaskOutcomeCallable startRestoreTaskCallable(const Model::StartRestoreTaskRequest& request) const;
DescribeNodeCidrListOutcome describeNodeCidrList(const Model::DescribeNodeCidrListRequest &request)const;
void describeNodeCidrListAsync(const Model::DescribeNodeCidrListRequest& request, const DescribeNodeCidrListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeNodeCidrListOutcomeCallable describeNodeCidrListCallable(const Model::DescribeNodeCidrListRequest& request) const;
DescribeRestoreTaskListOutcome describeRestoreTaskList(const Model::DescribeRestoreTaskListRequest &request)const;
void describeRestoreTaskListAsync(const Model::DescribeRestoreTaskListRequest& request, const DescribeRestoreTaskListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRestoreTaskListOutcomeCallable describeRestoreTaskListCallable(const Model::DescribeRestoreTaskListRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -35,35 +35,50 @@ namespace AlibabaCloud
CreateBackupPlanRequest();
~CreateBackupPlanRequest();
std::string getBackupMethod()const;
void setBackupMethod(const std::string& backupMethod);
std::string getDatabaseType()const;
void setDatabaseType(const std::string& databaseType);
std::string getPeriod()const;
void setPeriod(const std::string& period);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getRegion()const;
void setRegion(const std::string& region);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
int getUsedTime()const;
void setUsedTime(int usedTime);
std::string getInstanceClass()const;
void setInstanceClass(const std::string& instanceClass);
std::string getStorageType()const;
void setStorageType(const std::string& storageType);
std::string getBackupMethod()const;
void setBackupMethod(const std::string& backupMethod);
std::string getDatabaseRegion()const;
void setDatabaseRegion(const std::string& databaseRegion);
std::string getStorageRegion()const;
void setStorageRegion(const std::string& storageRegion);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getInstanceType()const;
void setInstanceType(const std::string& instanceType);
std::string getRegion()const;
void setRegion(const std::string& region);
std::string getPayType()const;
void setPayType(const std::string& payType);
private:
std::string backupMethod_;
std::string databaseType_;
std::string period_;
std::string regionId_;
std::string clientToken_;
std::string region_;
std::string ownerId_;
int usedTime_;
std::string instanceClass_;
std::string storageType_;
std::string backupMethod_;
std::string databaseRegion_;
std::string storageRegion_;
std::string regionId_;
std::string instanceType_;
std::string region_;
std::string payType_;
};
}

View File

@@ -71,6 +71,8 @@ namespace AlibabaCloud
void setRestoreObjects(const std::string& restoreObjects);
std::string getRestoreTaskName()const;
void setRestoreTaskName(const std::string& restoreTaskName);
std::string getDuplicateConflict()const;
void setDuplicateConflict(const std::string& duplicateConflict);
std::string getDestinationEndpointPassword()const;
void setDestinationEndpointPassword(const std::string& destinationEndpointPassword);
@@ -93,6 +95,7 @@ namespace AlibabaCloud
std::string destinationEndpointUserName_;
std::string restoreObjects_;
std::string restoreTaskName_;
std::string duplicateConflict_;
std::string destinationEndpointPassword_;
};

View File

@@ -36,11 +36,13 @@ namespace AlibabaCloud
{
std::string sourceEndpointIpPort;
std::string storageMethod;
std::string backupObjects;
long endTime;
long backupSize;
long startTime;
long backupSetExpiredTime;
std::string backupSetId;
std::string errMessage;
std::string backupStatus;
};

View File

@@ -40,6 +40,7 @@ namespace AlibabaCloud
std::string destinationEndpointOracleSID;
std::string backupSetId;
std::string restoreStatus;
std::string errMessage;
std::string destinationEndpointInstanceType;
long restoreTime;
std::string destinationEndpointRegion;
@@ -55,6 +56,7 @@ namespace AlibabaCloud
long restoreTaskCreateTime;
long backupGatewayId;
std::string destinationEndpointInstanceID;
long restoreTaskFinishTime;
};

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPOBJECTSREQUEST_H_
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPOBJECTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbs/DbsExport.h>
namespace AlibabaCloud
{
namespace Dbs
{
namespace Model
{
class ALIBABACLOUD_DBS_EXPORT ModifyBackupObjectsRequest : public RpcServiceRequest
{
public:
ModifyBackupObjectsRequest();
~ModifyBackupObjectsRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getBackupPlanId()const;
void setBackupPlanId(const std::string& backupPlanId);
std::string getBackupObjects()const;
void setBackupObjects(const std::string& backupObjects);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
private:
std::string regionId_;
std::string clientToken_;
std::string backupPlanId_;
std::string backupObjects_;
std::string ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPOBJECTSREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPOBJECTSRESULT_H_
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPOBJECTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dbs/DbsExport.h>
namespace AlibabaCloud
{
namespace Dbs
{
namespace Model
{
class ALIBABACLOUD_DBS_EXPORT ModifyBackupObjectsResult : public ServiceResult
{
public:
ModifyBackupObjectsResult();
explicit ModifyBackupObjectsResult(const std::string &payload);
~ModifyBackupObjectsResult();
int getHttpStatusCode()const;
std::string getBackupPlanId()const;
bool getNeedPrecheck()const;
std::string getErrMessage()const;
bool getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
std::string backupPlanId_;
bool needPrecheck_;
std::string errMessage_;
bool success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPOBJECTSRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPPLANNAMEREQUEST_H_
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPPLANNAMEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbs/DbsExport.h>
namespace AlibabaCloud
{
namespace Dbs
{
namespace Model
{
class ALIBABACLOUD_DBS_EXPORT ModifyBackupPlanNameRequest : public RpcServiceRequest
{
public:
ModifyBackupPlanNameRequest();
~ModifyBackupPlanNameRequest();
std::string getBackupPlanName()const;
void setBackupPlanName(const std::string& backupPlanName);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
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);
private:
std::string backupPlanName_;
std::string regionId_;
std::string clientToken_;
std::string backupPlanId_;
std::string ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPPLANNAMEREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPPLANNAMERESULT_H_
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPPLANNAMERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dbs/DbsExport.h>
namespace AlibabaCloud
{
namespace Dbs
{
namespace Model
{
class ALIBABACLOUD_DBS_EXPORT ModifyBackupPlanNameResult : public ServiceResult
{
public:
ModifyBackupPlanNameResult();
explicit ModifyBackupPlanNameResult(const std::string &payload);
~ModifyBackupPlanNameResult();
int getHttpStatusCode()const;
std::string getBackupPlanId()const;
std::string getErrMessage()const;
bool getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
std::string backupPlanId_;
std::string errMessage_;
bool success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPPLANNAMERESULT_H_

View File

@@ -0,0 +1,90 @@
/*
* 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_DBS_MODEL_MODIFYBACKUPSOURCEENDPOINTREQUEST_H_
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSOURCEENDPOINTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbs/DbsExport.h>
namespace AlibabaCloud
{
namespace Dbs
{
namespace Model
{
class ALIBABACLOUD_DBS_EXPORT ModifyBackupSourceEndpointRequest : public RpcServiceRequest
{
public:
ModifyBackupSourceEndpointRequest();
~ModifyBackupSourceEndpointRequest();
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 getSourceEndpointPassword()const;
void setSourceEndpointPassword(const std::string& sourceEndpointPassword);
std::string getBackupPlanId()const;
void setBackupPlanId(const std::string& backupPlanId);
std::string getBackupObjects()const;
void setBackupObjects(const std::string& backupObjects);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
int getSourceEndpointPort()const;
void setSourceEndpointPort(int sourceEndpointPort);
std::string getSourceEndpointDatabaseName()const;
void setSourceEndpointDatabaseName(const std::string& sourceEndpointDatabaseName);
std::string getSourceEndpointInstanceType()const;
void setSourceEndpointInstanceType(const std::string& sourceEndpointInstanceType);
std::string getSourceEndpointIP()const;
void setSourceEndpointIP(const std::string& sourceEndpointIP);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getSourceEndpointOracleSID()const;
void setSourceEndpointOracleSID(const std::string& sourceEndpointOracleSID);
private:
std::string sourceEndpointRegion_;
long backupGatewayId_;
std::string sourceEndpointInstanceID_;
std::string sourceEndpointUserName_;
std::string clientToken_;
std::string sourceEndpointPassword_;
std::string backupPlanId_;
std::string backupObjects_;
std::string ownerId_;
int sourceEndpointPort_;
std::string sourceEndpointDatabaseName_;
std::string sourceEndpointInstanceType_;
std::string sourceEndpointIP_;
std::string regionId_;
std::string sourceEndpointOracleSID_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSOURCEENDPOINTREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSOURCEENDPOINTRESULT_H_
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSOURCEENDPOINTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dbs/DbsExport.h>
namespace AlibabaCloud
{
namespace Dbs
{
namespace Model
{
class ALIBABACLOUD_DBS_EXPORT ModifyBackupSourceEndpointResult : public ServiceResult
{
public:
ModifyBackupSourceEndpointResult();
explicit ModifyBackupSourceEndpointResult(const std::string &payload);
~ModifyBackupSourceEndpointResult();
int getHttpStatusCode()const;
std::string getBackupPlanId()const;
bool getNeedPrecheck()const;
std::string getErrMessage()const;
bool getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
std::string backupPlanId_;
bool needPrecheck_;
std::string errMessage_;
bool success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSOURCEENDPOINTRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* 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_DBS_MODEL_MODIFYBACKUPSTRATEGYREQUEST_H_
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSTRATEGYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbs/DbsExport.h>
namespace AlibabaCloud
{
namespace Dbs
{
namespace Model
{
class ALIBABACLOUD_DBS_EXPORT ModifyBackupStrategyRequest : public RpcServiceRequest
{
public:
ModifyBackupStrategyRequest();
~ModifyBackupStrategyRequest();
std::string getBackupPeriod()const;
void setBackupPeriod(const std::string& backupPeriod);
std::string getBackupStartTime()const;
void setBackupStartTime(const std::string& backupStartTime);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
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);
private:
std::string backupPeriod_;
std::string backupStartTime_;
std::string regionId_;
std::string clientToken_;
std::string backupPlanId_;
std::string ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSTRATEGYREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSTRATEGYRESULT_H_
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSTRATEGYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dbs/DbsExport.h>
namespace AlibabaCloud
{
namespace Dbs
{
namespace Model
{
class ALIBABACLOUD_DBS_EXPORT ModifyBackupStrategyResult : public ServiceResult
{
public:
ModifyBackupStrategyResult();
explicit ModifyBackupStrategyResult(const std::string &payload);
~ModifyBackupStrategyResult();
int getHttpStatusCode()const;
std::string getBackupPlanId()const;
bool getNeedPrecheck()const;
std::string getErrMessage()const;
bool getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
std::string backupPlanId_;
bool needPrecheck_;
std::string errMessage_;
bool success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSTRATEGYRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* 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_DBS_MODEL_RENEWBACKUPPLANREQUEST_H_
#define ALIBABACLOUD_DBS_MODEL_RENEWBACKUPPLANREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbs/DbsExport.h>
namespace AlibabaCloud
{
namespace Dbs
{
namespace Model
{
class ALIBABACLOUD_DBS_EXPORT RenewBackupPlanRequest : public RpcServiceRequest
{
public:
RenewBackupPlanRequest();
~RenewBackupPlanRequest();
std::string getPeriod()const;
void setPeriod(const std::string& period);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
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);
int getUsedTime()const;
void setUsedTime(int usedTime);
private:
std::string period_;
std::string regionId_;
std::string clientToken_;
std::string backupPlanId_;
std::string ownerId_;
int usedTime_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_RENEWBACKUPPLANREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBS_MODEL_RENEWBACKUPPLANRESULT_H_
#define ALIBABACLOUD_DBS_MODEL_RENEWBACKUPPLANRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dbs/DbsExport.h>
namespace AlibabaCloud
{
namespace Dbs
{
namespace Model
{
class ALIBABACLOUD_DBS_EXPORT RenewBackupPlanResult : public ServiceResult
{
public:
RenewBackupPlanResult();
explicit RenewBackupPlanResult(const std::string &payload);
~RenewBackupPlanResult();
int getHttpStatusCode()const;
std::string getBackupPlanId()const;
std::string getErrMessage()const;
std::string getOrderId()const;
bool getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
std::string backupPlanId_;
std::string errMessage_;
std::string orderId_;
bool success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_RENEWBACKUPPLANRESULT_H_

View File

@@ -87,42 +87,6 @@ DbsClient::DescribeBackupPlanListOutcomeCallable DbsClient::describeBackupPlanLi
return task->get_future();
}
DbsClient::StopBackupPlanOutcome DbsClient::stopBackupPlan(const StopBackupPlanRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return StopBackupPlanOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return StopBackupPlanOutcome(StopBackupPlanResult(outcome.result()));
else
return StopBackupPlanOutcome(outcome.error());
}
void DbsClient::stopBackupPlanAsync(const StopBackupPlanRequest& request, const StopBackupPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, stopBackupPlan(request), context);
};
asyncExecute(new Runnable(fn));
}
DbsClient::StopBackupPlanOutcomeCallable DbsClient::stopBackupPlanCallable(const StopBackupPlanRequest &request) const
{
auto task = std::make_shared<std::packaged_task<StopBackupPlanOutcome()>>(
[this, request]()
{
return this->stopBackupPlan(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DbsClient::CreateBackupPlanOutcome DbsClient::createBackupPlan(const CreateBackupPlanRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -195,6 +159,222 @@ DbsClient::StartBackupPlanOutcomeCallable DbsClient::startBackupPlanCallable(con
return task->get_future();
}
DbsClient::RenewBackupPlanOutcome DbsClient::renewBackupPlan(const RenewBackupPlanRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RenewBackupPlanOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return RenewBackupPlanOutcome(RenewBackupPlanResult(outcome.result()));
else
return RenewBackupPlanOutcome(outcome.error());
}
void DbsClient::renewBackupPlanAsync(const RenewBackupPlanRequest& request, const RenewBackupPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, renewBackupPlan(request), context);
};
asyncExecute(new Runnable(fn));
}
DbsClient::RenewBackupPlanOutcomeCallable DbsClient::renewBackupPlanCallable(const RenewBackupPlanRequest &request) const
{
auto task = std::make_shared<std::packaged_task<RenewBackupPlanOutcome()>>(
[this, request]()
{
return this->renewBackupPlan(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DbsClient::DescribeFullBackupListOutcome DbsClient::describeFullBackupList(const DescribeFullBackupListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeFullBackupListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeFullBackupListOutcome(DescribeFullBackupListResult(outcome.result()));
else
return DescribeFullBackupListOutcome(outcome.error());
}
void DbsClient::describeFullBackupListAsync(const DescribeFullBackupListRequest& request, const DescribeFullBackupListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeFullBackupList(request), context);
};
asyncExecute(new Runnable(fn));
}
DbsClient::DescribeFullBackupListOutcomeCallable DbsClient::describeFullBackupListCallable(const DescribeFullBackupListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeFullBackupListOutcome()>>(
[this, request]()
{
return this->describeFullBackupList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DbsClient::DescribeRestoreTaskListOutcome DbsClient::describeRestoreTaskList(const DescribeRestoreTaskListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeRestoreTaskListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeRestoreTaskListOutcome(DescribeRestoreTaskListResult(outcome.result()));
else
return DescribeRestoreTaskListOutcome(outcome.error());
}
void DbsClient::describeRestoreTaskListAsync(const DescribeRestoreTaskListRequest& request, const DescribeRestoreTaskListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeRestoreTaskList(request), context);
};
asyncExecute(new Runnable(fn));
}
DbsClient::DescribeRestoreTaskListOutcomeCallable DbsClient::describeRestoreTaskListCallable(const DescribeRestoreTaskListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeRestoreTaskListOutcome()>>(
[this, request]()
{
return this->describeRestoreTaskList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DbsClient::ModifyBackupPlanNameOutcome DbsClient::modifyBackupPlanName(const ModifyBackupPlanNameRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyBackupPlanNameOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ModifyBackupPlanNameOutcome(ModifyBackupPlanNameResult(outcome.result()));
else
return ModifyBackupPlanNameOutcome(outcome.error());
}
void DbsClient::modifyBackupPlanNameAsync(const ModifyBackupPlanNameRequest& request, const ModifyBackupPlanNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, modifyBackupPlanName(request), context);
};
asyncExecute(new Runnable(fn));
}
DbsClient::ModifyBackupPlanNameOutcomeCallable DbsClient::modifyBackupPlanNameCallable(const ModifyBackupPlanNameRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ModifyBackupPlanNameOutcome()>>(
[this, request]()
{
return this->modifyBackupPlanName(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DbsClient::StopBackupPlanOutcome DbsClient::stopBackupPlan(const StopBackupPlanRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return StopBackupPlanOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return StopBackupPlanOutcome(StopBackupPlanResult(outcome.result()));
else
return StopBackupPlanOutcome(outcome.error());
}
void DbsClient::stopBackupPlanAsync(const StopBackupPlanRequest& request, const StopBackupPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, stopBackupPlan(request), context);
};
asyncExecute(new Runnable(fn));
}
DbsClient::StopBackupPlanOutcomeCallable DbsClient::stopBackupPlanCallable(const StopBackupPlanRequest &request) const
{
auto task = std::make_shared<std::packaged_task<StopBackupPlanOutcome()>>(
[this, request]()
{
return this->stopBackupPlan(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DbsClient::ModifyBackupSourceEndpointOutcome DbsClient::modifyBackupSourceEndpoint(const ModifyBackupSourceEndpointRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyBackupSourceEndpointOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ModifyBackupSourceEndpointOutcome(ModifyBackupSourceEndpointResult(outcome.result()));
else
return ModifyBackupSourceEndpointOutcome(outcome.error());
}
void DbsClient::modifyBackupSourceEndpointAsync(const ModifyBackupSourceEndpointRequest& request, const ModifyBackupSourceEndpointAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, modifyBackupSourceEndpoint(request), context);
};
asyncExecute(new Runnable(fn));
}
DbsClient::ModifyBackupSourceEndpointOutcomeCallable DbsClient::modifyBackupSourceEndpointCallable(const ModifyBackupSourceEndpointRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ModifyBackupSourceEndpointOutcome()>>(
[this, request]()
{
return this->modifyBackupSourceEndpoint(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DbsClient::DescribeBackupGatewayListOutcome DbsClient::describeBackupGatewayList(const DescribeBackupGatewayListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -231,6 +411,42 @@ DbsClient::DescribeBackupGatewayListOutcomeCallable DbsClient::describeBackupGat
return task->get_future();
}
DbsClient::ModifyBackupObjectsOutcome DbsClient::modifyBackupObjects(const ModifyBackupObjectsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyBackupObjectsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ModifyBackupObjectsOutcome(ModifyBackupObjectsResult(outcome.result()));
else
return ModifyBackupObjectsOutcome(outcome.error());
}
void DbsClient::modifyBackupObjectsAsync(const ModifyBackupObjectsRequest& request, const ModifyBackupObjectsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, modifyBackupObjects(request), context);
};
asyncExecute(new Runnable(fn));
}
DbsClient::ModifyBackupObjectsOutcomeCallable DbsClient::modifyBackupObjectsCallable(const ModifyBackupObjectsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ModifyBackupObjectsOutcome()>>(
[this, request]()
{
return this->modifyBackupObjects(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DbsClient::CreateRestoreTaskOutcome DbsClient::createRestoreTask(const CreateRestoreTaskRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -339,36 +555,36 @@ DbsClient::ConfigureBackupPlanOutcomeCallable DbsClient::configureBackupPlanCall
return task->get_future();
}
DbsClient::DescribeFullBackupListOutcome DbsClient::describeFullBackupList(const DescribeFullBackupListRequest &request) const
DbsClient::ModifyBackupStrategyOutcome DbsClient::modifyBackupStrategy(const ModifyBackupStrategyRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeFullBackupListOutcome(endpointOutcome.error());
return ModifyBackupStrategyOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeFullBackupListOutcome(DescribeFullBackupListResult(outcome.result()));
return ModifyBackupStrategyOutcome(ModifyBackupStrategyResult(outcome.result()));
else
return DescribeFullBackupListOutcome(outcome.error());
return ModifyBackupStrategyOutcome(outcome.error());
}
void DbsClient::describeFullBackupListAsync(const DescribeFullBackupListRequest& request, const DescribeFullBackupListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
void DbsClient::modifyBackupStrategyAsync(const ModifyBackupStrategyRequest& request, const ModifyBackupStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeFullBackupList(request), context);
handler(this, request, modifyBackupStrategy(request), context);
};
asyncExecute(new Runnable(fn));
}
DbsClient::DescribeFullBackupListOutcomeCallable DbsClient::describeFullBackupListCallable(const DescribeFullBackupListRequest &request) const
DbsClient::ModifyBackupStrategyOutcomeCallable DbsClient::modifyBackupStrategyCallable(const ModifyBackupStrategyRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeFullBackupListOutcome()>>(
auto task = std::make_shared<std::packaged_task<ModifyBackupStrategyOutcome()>>(
[this, request]()
{
return this->describeFullBackupList(request);
return this->modifyBackupStrategy(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
@@ -447,39 +663,3 @@ DbsClient::DescribeNodeCidrListOutcomeCallable DbsClient::describeNodeCidrListCa
return task->get_future();
}
DbsClient::DescribeRestoreTaskListOutcome DbsClient::describeRestoreTaskList(const DescribeRestoreTaskListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeRestoreTaskListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeRestoreTaskListOutcome(DescribeRestoreTaskListResult(outcome.result()));
else
return DescribeRestoreTaskListOutcome(outcome.error());
}
void DbsClient::describeRestoreTaskListAsync(const DescribeRestoreTaskListRequest& request, const DescribeRestoreTaskListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeRestoreTaskList(request), context);
};
asyncExecute(new Runnable(fn));
}
DbsClient::DescribeRestoreTaskListOutcomeCallable DbsClient::describeRestoreTaskListCallable(const DescribeRestoreTaskListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeRestoreTaskListOutcome()>>(
[this, request]()
{
return this->describeRestoreTaskList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -25,17 +25,6 @@ CreateBackupPlanRequest::CreateBackupPlanRequest() :
CreateBackupPlanRequest::~CreateBackupPlanRequest()
{}
std::string CreateBackupPlanRequest::getBackupMethod()const
{
return backupMethod_;
}
void CreateBackupPlanRequest::setBackupMethod(const std::string& backupMethod)
{
backupMethod_ = backupMethod;
setCoreParameter("BackupMethod", backupMethod);
}
std::string CreateBackupPlanRequest::getDatabaseType()const
{
return databaseType_;
@@ -58,17 +47,6 @@ void CreateBackupPlanRequest::setPeriod(const std::string& period)
setCoreParameter("Period", period);
}
std::string CreateBackupPlanRequest::getRegionId()const
{
return regionId_;
}
void CreateBackupPlanRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
std::string CreateBackupPlanRequest::getClientToken()const
{
return clientToken_;
@@ -80,17 +58,6 @@ void CreateBackupPlanRequest::setClientToken(const std::string& clientToken)
setCoreParameter("ClientToken", clientToken);
}
std::string CreateBackupPlanRequest::getRegion()const
{
return region_;
}
void CreateBackupPlanRequest::setRegion(const std::string& region)
{
region_ = region;
setCoreParameter("Region", region);
}
std::string CreateBackupPlanRequest::getOwnerId()const
{
return ownerId_;
@@ -124,3 +91,91 @@ void CreateBackupPlanRequest::setInstanceClass(const std::string& instanceClass)
setCoreParameter("InstanceClass", instanceClass);
}
std::string CreateBackupPlanRequest::getStorageType()const
{
return storageType_;
}
void CreateBackupPlanRequest::setStorageType(const std::string& storageType)
{
storageType_ = storageType;
setCoreParameter("StorageType", storageType);
}
std::string CreateBackupPlanRequest::getBackupMethod()const
{
return backupMethod_;
}
void CreateBackupPlanRequest::setBackupMethod(const std::string& backupMethod)
{
backupMethod_ = backupMethod;
setCoreParameter("BackupMethod", backupMethod);
}
std::string CreateBackupPlanRequest::getDatabaseRegion()const
{
return databaseRegion_;
}
void CreateBackupPlanRequest::setDatabaseRegion(const std::string& databaseRegion)
{
databaseRegion_ = databaseRegion;
setCoreParameter("DatabaseRegion", databaseRegion);
}
std::string CreateBackupPlanRequest::getStorageRegion()const
{
return storageRegion_;
}
void CreateBackupPlanRequest::setStorageRegion(const std::string& storageRegion)
{
storageRegion_ = storageRegion;
setCoreParameter("StorageRegion", storageRegion);
}
std::string CreateBackupPlanRequest::getRegionId()const
{
return regionId_;
}
void CreateBackupPlanRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
std::string CreateBackupPlanRequest::getInstanceType()const
{
return instanceType_;
}
void CreateBackupPlanRequest::setInstanceType(const std::string& instanceType)
{
instanceType_ = instanceType;
setCoreParameter("InstanceType", instanceType);
}
std::string CreateBackupPlanRequest::getRegion()const
{
return region_;
}
void CreateBackupPlanRequest::setRegion(const std::string& region)
{
region_ = region;
setCoreParameter("Region", region);
}
std::string CreateBackupPlanRequest::getPayType()const
{
return payType_;
}
void CreateBackupPlanRequest::setPayType(const std::string& payType)
{
payType_ = payType;
setCoreParameter("PayType", payType);
}

View File

@@ -223,6 +223,17 @@ void CreateRestoreTaskRequest::setRestoreTaskName(const std::string& restoreTask
setCoreParameter("RestoreTaskName", restoreTaskName);
}
std::string CreateRestoreTaskRequest::getDuplicateConflict()const
{
return duplicateConflict_;
}
void CreateRestoreTaskRequest::setDuplicateConflict(const std::string& duplicateConflict)
{
duplicateConflict_ = duplicateConflict;
setCoreParameter("DuplicateConflict", duplicateConflict);
}
std::string CreateRestoreTaskRequest::getDestinationEndpointPassword()const
{
return destinationEndpointPassword_;

View File

@@ -60,6 +60,10 @@ void DescribeFullBackupListResult::parse(const std::string &payload)
itemsObject.backupSize = std::stol(value["BackupSize"].asString());
if(!value["StorageMethod"].isNull())
itemsObject.storageMethod = value["StorageMethod"].asString();
if(!value["ErrMessage"].isNull())
itemsObject.errMessage = value["ErrMessage"].asString();
if(!value["BackupObjects"].isNull())
itemsObject.backupObjects = value["BackupObjects"].asString();
items_.push_back(itemsObject);
}
if(!value["Success"].isNull())

View File

@@ -74,6 +74,8 @@ void DescribeRestoreTaskListResult::parse(const std::string &payload)
itemsObject.restoreTime = std::stol(value["RestoreTime"].asString());
if(!value["RestoreTaskCreateTime"].isNull())
itemsObject.restoreTaskCreateTime = std::stol(value["RestoreTaskCreateTime"].asString());
if(!value["RestoreTaskFinishTime"].isNull())
itemsObject.restoreTaskFinishTime = std::stol(value["RestoreTaskFinishTime"].asString());
if(!value["RestoreStatus"].isNull())
itemsObject.restoreStatus = value["RestoreStatus"].asString();
if(!value["RestoreTaskId"].isNull())
@@ -86,6 +88,8 @@ void DescribeRestoreTaskListResult::parse(const std::string &payload)
itemsObject.continuousRestoreProgress = std::stoi(value["ContinuousRestoreProgress"].asString());
if(!value["FullStruAfterRestoreProgress"].isNull())
itemsObject.fullStruAfterRestoreProgress = std::stoi(value["FullStruAfterRestoreProgress"].asString());
if(!value["ErrMessage"].isNull())
itemsObject.errMessage = value["ErrMessage"].asString();
items_.push_back(itemsObject);
}
if(!value["Success"].isNull())

View File

@@ -0,0 +1,82 @@
/*
* 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/dbs/model/ModifyBackupObjectsRequest.h>
using AlibabaCloud::Dbs::Model::ModifyBackupObjectsRequest;
ModifyBackupObjectsRequest::ModifyBackupObjectsRequest() :
RpcServiceRequest("dbs", "2019-03-06", "ModifyBackupObjects")
{}
ModifyBackupObjectsRequest::~ModifyBackupObjectsRequest()
{}
std::string ModifyBackupObjectsRequest::getRegionId()const
{
return regionId_;
}
void ModifyBackupObjectsRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
std::string ModifyBackupObjectsRequest::getClientToken()const
{
return clientToken_;
}
void ModifyBackupObjectsRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
}
std::string ModifyBackupObjectsRequest::getBackupPlanId()const
{
return backupPlanId_;
}
void ModifyBackupObjectsRequest::setBackupPlanId(const std::string& backupPlanId)
{
backupPlanId_ = backupPlanId;
setCoreParameter("BackupPlanId", backupPlanId);
}
std::string ModifyBackupObjectsRequest::getBackupObjects()const
{
return backupObjects_;
}
void ModifyBackupObjectsRequest::setBackupObjects(const std::string& backupObjects)
{
backupObjects_ = backupObjects;
setCoreParameter("BackupObjects", backupObjects);
}
std::string ModifyBackupObjectsRequest::getOwnerId()const
{
return ownerId_;
}
void ModifyBackupObjectsRequest::setOwnerId(const std::string& ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", ownerId);
}

View File

@@ -0,0 +1,87 @@
/*
* 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/dbs/model/ModifyBackupObjectsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dbs;
using namespace AlibabaCloud::Dbs::Model;
ModifyBackupObjectsResult::ModifyBackupObjectsResult() :
ServiceResult()
{}
ModifyBackupObjectsResult::ModifyBackupObjectsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ModifyBackupObjectsResult::~ModifyBackupObjectsResult()
{}
void ModifyBackupObjectsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrCode"].isNull())
errCode_ = value["ErrCode"].asString();
if(!value["ErrMessage"].isNull())
errMessage_ = value["ErrMessage"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["BackupPlanId"].isNull())
backupPlanId_ = value["BackupPlanId"].asString();
if(!value["NeedPrecheck"].isNull())
needPrecheck_ = value["NeedPrecheck"].asString() == "true";
}
int ModifyBackupObjectsResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string ModifyBackupObjectsResult::getBackupPlanId()const
{
return backupPlanId_;
}
bool ModifyBackupObjectsResult::getNeedPrecheck()const
{
return needPrecheck_;
}
std::string ModifyBackupObjectsResult::getErrMessage()const
{
return errMessage_;
}
bool ModifyBackupObjectsResult::getSuccess()const
{
return success_;
}
std::string ModifyBackupObjectsResult::getErrCode()const
{
return errCode_;
}

View File

@@ -0,0 +1,82 @@
/*
* 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/dbs/model/ModifyBackupPlanNameRequest.h>
using AlibabaCloud::Dbs::Model::ModifyBackupPlanNameRequest;
ModifyBackupPlanNameRequest::ModifyBackupPlanNameRequest() :
RpcServiceRequest("dbs", "2019-03-06", "ModifyBackupPlanName")
{}
ModifyBackupPlanNameRequest::~ModifyBackupPlanNameRequest()
{}
std::string ModifyBackupPlanNameRequest::getBackupPlanName()const
{
return backupPlanName_;
}
void ModifyBackupPlanNameRequest::setBackupPlanName(const std::string& backupPlanName)
{
backupPlanName_ = backupPlanName;
setCoreParameter("BackupPlanName", backupPlanName);
}
std::string ModifyBackupPlanNameRequest::getRegionId()const
{
return regionId_;
}
void ModifyBackupPlanNameRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
std::string ModifyBackupPlanNameRequest::getClientToken()const
{
return clientToken_;
}
void ModifyBackupPlanNameRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
}
std::string ModifyBackupPlanNameRequest::getBackupPlanId()const
{
return backupPlanId_;
}
void ModifyBackupPlanNameRequest::setBackupPlanId(const std::string& backupPlanId)
{
backupPlanId_ = backupPlanId;
setCoreParameter("BackupPlanId", backupPlanId);
}
std::string ModifyBackupPlanNameRequest::getOwnerId()const
{
return ownerId_;
}
void ModifyBackupPlanNameRequest::setOwnerId(const std::string& ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", ownerId);
}

View File

@@ -0,0 +1,80 @@
/*
* 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/dbs/model/ModifyBackupPlanNameResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dbs;
using namespace AlibabaCloud::Dbs::Model;
ModifyBackupPlanNameResult::ModifyBackupPlanNameResult() :
ServiceResult()
{}
ModifyBackupPlanNameResult::ModifyBackupPlanNameResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ModifyBackupPlanNameResult::~ModifyBackupPlanNameResult()
{}
void ModifyBackupPlanNameResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrCode"].isNull())
errCode_ = value["ErrCode"].asString();
if(!value["ErrMessage"].isNull())
errMessage_ = value["ErrMessage"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["BackupPlanId"].isNull())
backupPlanId_ = value["BackupPlanId"].asString();
}
int ModifyBackupPlanNameResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string ModifyBackupPlanNameResult::getBackupPlanId()const
{
return backupPlanId_;
}
std::string ModifyBackupPlanNameResult::getErrMessage()const
{
return errMessage_;
}
bool ModifyBackupPlanNameResult::getSuccess()const
{
return success_;
}
std::string ModifyBackupPlanNameResult::getErrCode()const
{
return errCode_;
}

View File

@@ -0,0 +1,192 @@
/*
* 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/dbs/model/ModifyBackupSourceEndpointRequest.h>
using AlibabaCloud::Dbs::Model::ModifyBackupSourceEndpointRequest;
ModifyBackupSourceEndpointRequest::ModifyBackupSourceEndpointRequest() :
RpcServiceRequest("dbs", "2019-03-06", "ModifyBackupSourceEndpoint")
{}
ModifyBackupSourceEndpointRequest::~ModifyBackupSourceEndpointRequest()
{}
std::string ModifyBackupSourceEndpointRequest::getSourceEndpointRegion()const
{
return sourceEndpointRegion_;
}
void ModifyBackupSourceEndpointRequest::setSourceEndpointRegion(const std::string& sourceEndpointRegion)
{
sourceEndpointRegion_ = sourceEndpointRegion;
setCoreParameter("SourceEndpointRegion", sourceEndpointRegion);
}
long ModifyBackupSourceEndpointRequest::getBackupGatewayId()const
{
return backupGatewayId_;
}
void ModifyBackupSourceEndpointRequest::setBackupGatewayId(long backupGatewayId)
{
backupGatewayId_ = backupGatewayId;
setCoreParameter("BackupGatewayId", std::to_string(backupGatewayId));
}
std::string ModifyBackupSourceEndpointRequest::getSourceEndpointInstanceID()const
{
return sourceEndpointInstanceID_;
}
void ModifyBackupSourceEndpointRequest::setSourceEndpointInstanceID(const std::string& sourceEndpointInstanceID)
{
sourceEndpointInstanceID_ = sourceEndpointInstanceID;
setCoreParameter("SourceEndpointInstanceID", sourceEndpointInstanceID);
}
std::string ModifyBackupSourceEndpointRequest::getSourceEndpointUserName()const
{
return sourceEndpointUserName_;
}
void ModifyBackupSourceEndpointRequest::setSourceEndpointUserName(const std::string& sourceEndpointUserName)
{
sourceEndpointUserName_ = sourceEndpointUserName;
setCoreParameter("SourceEndpointUserName", sourceEndpointUserName);
}
std::string ModifyBackupSourceEndpointRequest::getClientToken()const
{
return clientToken_;
}
void ModifyBackupSourceEndpointRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
}
std::string ModifyBackupSourceEndpointRequest::getSourceEndpointPassword()const
{
return sourceEndpointPassword_;
}
void ModifyBackupSourceEndpointRequest::setSourceEndpointPassword(const std::string& sourceEndpointPassword)
{
sourceEndpointPassword_ = sourceEndpointPassword;
setCoreParameter("SourceEndpointPassword", sourceEndpointPassword);
}
std::string ModifyBackupSourceEndpointRequest::getBackupPlanId()const
{
return backupPlanId_;
}
void ModifyBackupSourceEndpointRequest::setBackupPlanId(const std::string& backupPlanId)
{
backupPlanId_ = backupPlanId;
setCoreParameter("BackupPlanId", backupPlanId);
}
std::string ModifyBackupSourceEndpointRequest::getBackupObjects()const
{
return backupObjects_;
}
void ModifyBackupSourceEndpointRequest::setBackupObjects(const std::string& backupObjects)
{
backupObjects_ = backupObjects;
setCoreParameter("BackupObjects", backupObjects);
}
std::string ModifyBackupSourceEndpointRequest::getOwnerId()const
{
return ownerId_;
}
void ModifyBackupSourceEndpointRequest::setOwnerId(const std::string& ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", ownerId);
}
int ModifyBackupSourceEndpointRequest::getSourceEndpointPort()const
{
return sourceEndpointPort_;
}
void ModifyBackupSourceEndpointRequest::setSourceEndpointPort(int sourceEndpointPort)
{
sourceEndpointPort_ = sourceEndpointPort;
setCoreParameter("SourceEndpointPort", std::to_string(sourceEndpointPort));
}
std::string ModifyBackupSourceEndpointRequest::getSourceEndpointDatabaseName()const
{
return sourceEndpointDatabaseName_;
}
void ModifyBackupSourceEndpointRequest::setSourceEndpointDatabaseName(const std::string& sourceEndpointDatabaseName)
{
sourceEndpointDatabaseName_ = sourceEndpointDatabaseName;
setCoreParameter("SourceEndpointDatabaseName", sourceEndpointDatabaseName);
}
std::string ModifyBackupSourceEndpointRequest::getSourceEndpointInstanceType()const
{
return sourceEndpointInstanceType_;
}
void ModifyBackupSourceEndpointRequest::setSourceEndpointInstanceType(const std::string& sourceEndpointInstanceType)
{
sourceEndpointInstanceType_ = sourceEndpointInstanceType;
setCoreParameter("SourceEndpointInstanceType", sourceEndpointInstanceType);
}
std::string ModifyBackupSourceEndpointRequest::getSourceEndpointIP()const
{
return sourceEndpointIP_;
}
void ModifyBackupSourceEndpointRequest::setSourceEndpointIP(const std::string& sourceEndpointIP)
{
sourceEndpointIP_ = sourceEndpointIP;
setCoreParameter("SourceEndpointIP", sourceEndpointIP);
}
std::string ModifyBackupSourceEndpointRequest::getRegionId()const
{
return regionId_;
}
void ModifyBackupSourceEndpointRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
std::string ModifyBackupSourceEndpointRequest::getSourceEndpointOracleSID()const
{
return sourceEndpointOracleSID_;
}
void ModifyBackupSourceEndpointRequest::setSourceEndpointOracleSID(const std::string& sourceEndpointOracleSID)
{
sourceEndpointOracleSID_ = sourceEndpointOracleSID;
setCoreParameter("SourceEndpointOracleSID", sourceEndpointOracleSID);
}

View File

@@ -0,0 +1,87 @@
/*
* 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/dbs/model/ModifyBackupSourceEndpointResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dbs;
using namespace AlibabaCloud::Dbs::Model;
ModifyBackupSourceEndpointResult::ModifyBackupSourceEndpointResult() :
ServiceResult()
{}
ModifyBackupSourceEndpointResult::ModifyBackupSourceEndpointResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ModifyBackupSourceEndpointResult::~ModifyBackupSourceEndpointResult()
{}
void ModifyBackupSourceEndpointResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrCode"].isNull())
errCode_ = value["ErrCode"].asString();
if(!value["ErrMessage"].isNull())
errMessage_ = value["ErrMessage"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["BackupPlanId"].isNull())
backupPlanId_ = value["BackupPlanId"].asString();
if(!value["NeedPrecheck"].isNull())
needPrecheck_ = value["NeedPrecheck"].asString() == "true";
}
int ModifyBackupSourceEndpointResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string ModifyBackupSourceEndpointResult::getBackupPlanId()const
{
return backupPlanId_;
}
bool ModifyBackupSourceEndpointResult::getNeedPrecheck()const
{
return needPrecheck_;
}
std::string ModifyBackupSourceEndpointResult::getErrMessage()const
{
return errMessage_;
}
bool ModifyBackupSourceEndpointResult::getSuccess()const
{
return success_;
}
std::string ModifyBackupSourceEndpointResult::getErrCode()const
{
return errCode_;
}

View File

@@ -0,0 +1,93 @@
/*
* 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/dbs/model/ModifyBackupStrategyRequest.h>
using AlibabaCloud::Dbs::Model::ModifyBackupStrategyRequest;
ModifyBackupStrategyRequest::ModifyBackupStrategyRequest() :
RpcServiceRequest("dbs", "2019-03-06", "ModifyBackupStrategy")
{}
ModifyBackupStrategyRequest::~ModifyBackupStrategyRequest()
{}
std::string ModifyBackupStrategyRequest::getBackupPeriod()const
{
return backupPeriod_;
}
void ModifyBackupStrategyRequest::setBackupPeriod(const std::string& backupPeriod)
{
backupPeriod_ = backupPeriod;
setCoreParameter("BackupPeriod", backupPeriod);
}
std::string ModifyBackupStrategyRequest::getBackupStartTime()const
{
return backupStartTime_;
}
void ModifyBackupStrategyRequest::setBackupStartTime(const std::string& backupStartTime)
{
backupStartTime_ = backupStartTime;
setCoreParameter("BackupStartTime", backupStartTime);
}
std::string ModifyBackupStrategyRequest::getRegionId()const
{
return regionId_;
}
void ModifyBackupStrategyRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
std::string ModifyBackupStrategyRequest::getClientToken()const
{
return clientToken_;
}
void ModifyBackupStrategyRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
}
std::string ModifyBackupStrategyRequest::getBackupPlanId()const
{
return backupPlanId_;
}
void ModifyBackupStrategyRequest::setBackupPlanId(const std::string& backupPlanId)
{
backupPlanId_ = backupPlanId;
setCoreParameter("BackupPlanId", backupPlanId);
}
std::string ModifyBackupStrategyRequest::getOwnerId()const
{
return ownerId_;
}
void ModifyBackupStrategyRequest::setOwnerId(const std::string& ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", ownerId);
}

View File

@@ -0,0 +1,87 @@
/*
* 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/dbs/model/ModifyBackupStrategyResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dbs;
using namespace AlibabaCloud::Dbs::Model;
ModifyBackupStrategyResult::ModifyBackupStrategyResult() :
ServiceResult()
{}
ModifyBackupStrategyResult::ModifyBackupStrategyResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ModifyBackupStrategyResult::~ModifyBackupStrategyResult()
{}
void ModifyBackupStrategyResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrCode"].isNull())
errCode_ = value["ErrCode"].asString();
if(!value["ErrMessage"].isNull())
errMessage_ = value["ErrMessage"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["BackupPlanId"].isNull())
backupPlanId_ = value["BackupPlanId"].asString();
if(!value["NeedPrecheck"].isNull())
needPrecheck_ = value["NeedPrecheck"].asString() == "true";
}
int ModifyBackupStrategyResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string ModifyBackupStrategyResult::getBackupPlanId()const
{
return backupPlanId_;
}
bool ModifyBackupStrategyResult::getNeedPrecheck()const
{
return needPrecheck_;
}
std::string ModifyBackupStrategyResult::getErrMessage()const
{
return errMessage_;
}
bool ModifyBackupStrategyResult::getSuccess()const
{
return success_;
}
std::string ModifyBackupStrategyResult::getErrCode()const
{
return errCode_;
}

View File

@@ -0,0 +1,93 @@
/*
* 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/dbs/model/RenewBackupPlanRequest.h>
using AlibabaCloud::Dbs::Model::RenewBackupPlanRequest;
RenewBackupPlanRequest::RenewBackupPlanRequest() :
RpcServiceRequest("dbs", "2019-03-06", "RenewBackupPlan")
{}
RenewBackupPlanRequest::~RenewBackupPlanRequest()
{}
std::string RenewBackupPlanRequest::getPeriod()const
{
return period_;
}
void RenewBackupPlanRequest::setPeriod(const std::string& period)
{
period_ = period;
setCoreParameter("Period", period);
}
std::string RenewBackupPlanRequest::getRegionId()const
{
return regionId_;
}
void RenewBackupPlanRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
std::string RenewBackupPlanRequest::getClientToken()const
{
return clientToken_;
}
void RenewBackupPlanRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
}
std::string RenewBackupPlanRequest::getBackupPlanId()const
{
return backupPlanId_;
}
void RenewBackupPlanRequest::setBackupPlanId(const std::string& backupPlanId)
{
backupPlanId_ = backupPlanId;
setCoreParameter("BackupPlanId", backupPlanId);
}
std::string RenewBackupPlanRequest::getOwnerId()const
{
return ownerId_;
}
void RenewBackupPlanRequest::setOwnerId(const std::string& ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", ownerId);
}
int RenewBackupPlanRequest::getUsedTime()const
{
return usedTime_;
}
void RenewBackupPlanRequest::setUsedTime(int usedTime)
{
usedTime_ = usedTime;
setCoreParameter("UsedTime", std::to_string(usedTime));
}

View File

@@ -0,0 +1,87 @@
/*
* 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/dbs/model/RenewBackupPlanResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dbs;
using namespace AlibabaCloud::Dbs::Model;
RenewBackupPlanResult::RenewBackupPlanResult() :
ServiceResult()
{}
RenewBackupPlanResult::RenewBackupPlanResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
RenewBackupPlanResult::~RenewBackupPlanResult()
{}
void RenewBackupPlanResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrCode"].isNull())
errCode_ = value["ErrCode"].asString();
if(!value["ErrMessage"].isNull())
errMessage_ = value["ErrMessage"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["BackupPlanId"].isNull())
backupPlanId_ = value["BackupPlanId"].asString();
if(!value["OrderId"].isNull())
orderId_ = value["OrderId"].asString();
}
int RenewBackupPlanResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string RenewBackupPlanResult::getBackupPlanId()const
{
return backupPlanId_;
}
std::string RenewBackupPlanResult::getErrMessage()const
{
return errMessage_;
}
std::string RenewBackupPlanResult::getOrderId()const
{
return orderId_;
}
bool RenewBackupPlanResult::getSuccess()const
{
return success_;
}
std::string RenewBackupPlanResult::getErrCode()const
{
return errCode_;
}

View File

@@ -21,169 +21,537 @@ set(green_public_header
include/alibabacloud/green/GreenExport.h )
set(green_public_header_model
include/alibabacloud/green/model/ImageSyncScanRequest.h
include/alibabacloud/green/model/ImageSyncScanResult.h
include/alibabacloud/green/model/UploadCredentialsRequest.h
include/alibabacloud/green/model/UploadCredentialsResult.h
include/alibabacloud/green/model/GetPersonsRequest.h
include/alibabacloud/green/model/GetPersonsResult.h
include/alibabacloud/green/model/GetPersonRequest.h
include/alibabacloud/green/model/GetPersonResult.h
include/alibabacloud/green/model/DeleteFacesRequest.h
include/alibabacloud/green/model/DeleteFacesResult.h
include/alibabacloud/green/model/DescribeWebsiteIndexPageBaselineRequest.h
include/alibabacloud/green/model/DescribeWebsiteIndexPageBaselineResult.h
include/alibabacloud/green/model/VerifyCustomOcrTemplateRequest.h
include/alibabacloud/green/model/VerifyCustomOcrTemplateResult.h
include/alibabacloud/green/model/DescribeOssIncrementCheckSettingRequest.h
include/alibabacloud/green/model/DescribeOssIncrementCheckSettingResult.h
include/alibabacloud/green/model/DescribeWebsiteScanResultRequest.h
include/alibabacloud/green/model/DescribeWebsiteScanResultResult.h
include/alibabacloud/green/model/UpdateAppPackageRequest.h
include/alibabacloud/green/model/UpdateAppPackageResult.h
include/alibabacloud/green/model/DeleteVideoDnaGroupRequest.h
include/alibabacloud/green/model/DeleteVideoDnaGroupResult.h
include/alibabacloud/green/model/AddVideoDnaRequest.h
include/alibabacloud/green/model/AddVideoDnaResult.h
include/alibabacloud/green/model/VideoFeedbackRequest.h
include/alibabacloud/green/model/VideoFeedbackResult.h
include/alibabacloud/green/model/DeletePersonRequest.h
include/alibabacloud/green/model/DeletePersonResult.h
include/alibabacloud/green/model/VideoSyncScanRequest.h
include/alibabacloud/green/model/VideoSyncScanResult.h
include/alibabacloud/green/model/VideoAsyncScanResultsRequest.h
include/alibabacloud/green/model/VideoAsyncScanResultsResult.h
include/alibabacloud/green/model/UpdateOssCallbackSettingRequest.h
include/alibabacloud/green/model/UpdateOssCallbackSettingResult.h
include/alibabacloud/green/model/DescribeWebsiteInstanceKeyUrlRequest.h
include/alibabacloud/green/model/DescribeWebsiteInstanceKeyUrlResult.h
include/alibabacloud/green/model/DeleteVideoDnaRequest.h
include/alibabacloud/green/model/DeleteVideoDnaResult.h
include/alibabacloud/green/model/AddGroupsRequest.h
include/alibabacloud/green/model/AddGroupsResult.h
include/alibabacloud/green/model/RefundCdiBaseBagRequest.h
include/alibabacloud/green/model/RefundCdiBaseBagResult.h
include/alibabacloud/green/model/UpdateBizTypeSettingRequest.h
include/alibabacloud/green/model/UpdateBizTypeSettingResult.h
include/alibabacloud/green/model/FileAsyncScanRequest.h
include/alibabacloud/green/model/FileAsyncScanResult.h
include/alibabacloud/green/model/DescribeOssResultItemsRequest.h
include/alibabacloud/green/model/DescribeOssResultItemsResult.h
include/alibabacloud/green/model/UpdateWebsiteInstanceStatusRequest.h
include/alibabacloud/green/model/UpdateWebsiteInstanceStatusResult.h
include/alibabacloud/green/model/DescribeBizTypesRequest.h
include/alibabacloud/green/model/DescribeBizTypesResult.h
include/alibabacloud/green/model/RefundCdiBagRequest.h
include/alibabacloud/green/model/RefundCdiBagResult.h
include/alibabacloud/green/model/DeleteImageFromLibRequest.h
include/alibabacloud/green/model/DeleteImageFromLibResult.h
include/alibabacloud/green/model/CreateCdiBaseBagRequest.h
include/alibabacloud/green/model/CreateCdiBaseBagResult.h
include/alibabacloud/green/model/VerifyPhoneRequest.h
include/alibabacloud/green/model/VerifyPhoneResult.h
include/alibabacloud/green/model/ImageDetectionRequest.h
include/alibabacloud/green/model/ImageDetectionResult.h
include/alibabacloud/green/model/DeleteKeywordLibRequest.h
include/alibabacloud/green/model/DeleteKeywordLibResult.h
include/alibabacloud/green/model/ImportKeywordsRequest.h
include/alibabacloud/green/model/ImportKeywordsResult.h
include/alibabacloud/green/model/VoiceCancelScanRequest.h
include/alibabacloud/green/model/VoiceCancelScanResult.h
include/alibabacloud/green/model/SendWebsiteFeedbackRequest.h
include/alibabacloud/green/model/SendWebsiteFeedbackResult.h
include/alibabacloud/green/model/DescribeImageFromLibRequest.h
include/alibabacloud/green/model/DescribeImageFromLibResult.h
include/alibabacloud/green/model/RenewWebSiteInstanceRequest.h
include/alibabacloud/green/model/RenewWebSiteInstanceResult.h
include/alibabacloud/green/model/DescribeViewContentRequest.h
include/alibabacloud/green/model/DescribeViewContentResult.h
include/alibabacloud/green/model/VoiceIdentityRegisterRequest.h
include/alibabacloud/green/model/VoiceIdentityRegisterResult.h
include/alibabacloud/green/model/DescribeWebsiteStatRequest.h
include/alibabacloud/green/model/DescribeWebsiteStatResult.h
include/alibabacloud/green/model/UpdateNotificationSettingRequest.h
include/alibabacloud/green/model/UpdateNotificationSettingResult.h
include/alibabacloud/green/model/DescribeAuditContentItemRequest.h
include/alibabacloud/green/model/DescribeAuditContentItemResult.h
include/alibabacloud/green/model/SearchPersonRequest.h
include/alibabacloud/green/model/SearchPersonResult.h
include/alibabacloud/green/model/MarkOssResultRequest.h
include/alibabacloud/green/model/MarkOssResultResult.h
include/alibabacloud/green/model/DescribeAppInfoRequest.h
include/alibabacloud/green/model/DescribeAppInfoResult.h
include/alibabacloud/green/model/AddSimilarityImageRequest.h
include/alibabacloud/green/model/AddSimilarityImageResult.h
include/alibabacloud/green/model/DescribeCustomOcrTemplateRequest.h
include/alibabacloud/green/model/DescribeCustomOcrTemplateResult.h
include/alibabacloud/green/model/VoiceIdentityUnregisterRequest.h
include/alibabacloud/green/model/VoiceIdentityUnregisterResult.h
include/alibabacloud/green/model/DeleteKeywordRequest.h
include/alibabacloud/green/model/DeleteKeywordResult.h
include/alibabacloud/green/model/CreateWebSiteInstanceRequest.h
include/alibabacloud/green/model/CreateWebSiteInstanceResult.h
include/alibabacloud/green/model/ImageSyncScanRequest.h
include/alibabacloud/green/model/ImageSyncScanResult.h
include/alibabacloud/green/model/GetPersonRequest.h
include/alibabacloud/green/model/GetPersonResult.h
include/alibabacloud/green/model/DescribeWebsiteInstanceIdRequest.h
include/alibabacloud/green/model/DescribeWebsiteInstanceIdResult.h
include/alibabacloud/green/model/MarkWebsiteScanResultRequest.h
include/alibabacloud/green/model/MarkWebsiteScanResultResult.h
include/alibabacloud/green/model/VideoFeedbackRequest.h
include/alibabacloud/green/model/VideoFeedbackResult.h
include/alibabacloud/green/model/ExportKeywordsRequest.h
include/alibabacloud/green/model/ExportKeywordsResult.h
include/alibabacloud/green/model/MarkAuditContentRequest.h
include/alibabacloud/green/model/MarkAuditContentResult.h
include/alibabacloud/green/model/AddGroupsRequest.h
include/alibabacloud/green/model/AddGroupsResult.h
include/alibabacloud/green/model/VerifyEmailRequest.h
include/alibabacloud/green/model/VerifyEmailResult.h
include/alibabacloud/green/model/DescribeWebsiteVerifyInfoRequest.h
include/alibabacloud/green/model/DescribeWebsiteVerifyInfoResult.h
include/alibabacloud/green/model/FileAsyncScanResultsRequest.h
include/alibabacloud/green/model/FileAsyncScanResultsResult.h
include/alibabacloud/green/model/DescribeBizTypeSettingRequest.h
include/alibabacloud/green/model/DescribeBizTypeSettingResult.h
include/alibabacloud/green/model/DescribeSdkUrlRequest.h
include/alibabacloud/green/model/DescribeSdkUrlResult.h
include/alibabacloud/green/model/GetSimilarityLibraryRequest.h
include/alibabacloud/green/model/GetSimilarityLibraryResult.h
include/alibabacloud/green/model/DescribeOssIncrementStatsRequest.h
include/alibabacloud/green/model/DescribeOssIncrementStatsResult.h
include/alibabacloud/green/model/GetSimilarityImageRequest.h
include/alibabacloud/green/model/GetSimilarityImageResult.h
include/alibabacloud/green/model/SendVerifyCodeToEmailRequest.h
include/alibabacloud/green/model/SendVerifyCodeToEmailResult.h
include/alibabacloud/green/model/CreateImageLibRequest.h
include/alibabacloud/green/model/CreateImageLibResult.h
include/alibabacloud/green/model/GetFacesRequest.h
include/alibabacloud/green/model/GetFacesResult.h
include/alibabacloud/green/model/VoiceAsyncScanRequest.h
include/alibabacloud/green/model/VoiceAsyncScanResult.h
include/alibabacloud/green/model/UpdateCustomOcrTemplateRequest.h
include/alibabacloud/green/model/UpdateCustomOcrTemplateResult.h
include/alibabacloud/green/model/UpdateAuditSettingRequest.h
include/alibabacloud/green/model/UpdateAuditSettingResult.h
include/alibabacloud/green/model/GetGroupsRequest.h
include/alibabacloud/green/model/GetGroupsResult.h
include/alibabacloud/green/model/TextScanRequest.h
include/alibabacloud/green/model/TextScanResult.h
include/alibabacloud/green/model/ExportOssResultRequest.h
include/alibabacloud/green/model/ExportOssResultResult.h
include/alibabacloud/green/model/VoiceIdentityStartRegisterRequest.h
include/alibabacloud/green/model/VoiceIdentityStartRegisterResult.h
include/alibabacloud/green/model/DescribeWebsiteInstanceRequest.h
include/alibabacloud/green/model/DescribeWebsiteInstanceResult.h
include/alibabacloud/green/model/DescribeImageLibRequest.h
include/alibabacloud/green/model/DescribeImageLibResult.h
include/alibabacloud/green/model/UpgradeCdiBaseBagRequest.h
include/alibabacloud/green/model/UpgradeCdiBaseBagResult.h
include/alibabacloud/green/model/DescribeUserStatusRequest.h
include/alibabacloud/green/model/DescribeUserStatusResult.h
include/alibabacloud/green/model/GetAddVideoDnaResultsRequest.h
include/alibabacloud/green/model/GetAddVideoDnaResultsResult.h
include/alibabacloud/green/model/DescribeKeywordRequest.h
include/alibabacloud/green/model/DescribeKeywordResult.h
include/alibabacloud/green/model/AddFacesRequest.h
include/alibabacloud/green/model/AddFacesResult.h
include/alibabacloud/green/model/DescribeAuditSettingRequest.h
include/alibabacloud/green/model/DescribeAuditSettingResult.h
include/alibabacloud/green/model/CreateKeywordLibRequest.h
include/alibabacloud/green/model/CreateKeywordLibResult.h
include/alibabacloud/green/model/UpdateOssIncrementCheckSettingRequest.h
include/alibabacloud/green/model/UpdateOssIncrementCheckSettingResult.h
include/alibabacloud/green/model/UploadCredentialsRequest.h
include/alibabacloud/green/model/UploadCredentialsResult.h
include/alibabacloud/green/model/CreateBizTypeRequest.h
include/alibabacloud/green/model/CreateBizTypeResult.h
include/alibabacloud/green/model/GetPersonsRequest.h
include/alibabacloud/green/model/GetPersonsResult.h
include/alibabacloud/green/model/DeleteFacesRequest.h
include/alibabacloud/green/model/DeleteFacesResult.h
include/alibabacloud/green/model/DeletePersonRequest.h
include/alibabacloud/green/model/DeletePersonResult.h
include/alibabacloud/green/model/RefundWebSiteInstanceRequest.h
include/alibabacloud/green/model/RefundWebSiteInstanceResult.h
include/alibabacloud/green/model/SetPersonRequest.h
include/alibabacloud/green/model/SetPersonResult.h
include/alibabacloud/green/model/VoiceIdentityCheckRequest.h
include/alibabacloud/green/model/VoiceIdentityCheckResult.h
include/alibabacloud/green/model/TextFeedbackRequest.h
include/alibabacloud/green/model/TextFeedbackResult.h
include/alibabacloud/green/model/FileAsyncScanResultsRequest.h
include/alibabacloud/green/model/FileAsyncScanResultsResult.h
include/alibabacloud/green/model/CreateWebsiteIndexPageBaselineRequest.h
include/alibabacloud/green/model/CreateWebsiteIndexPageBaselineResult.h
include/alibabacloud/green/model/DeleteGroupsRequest.h
include/alibabacloud/green/model/DeleteGroupsResult.h
include/alibabacloud/green/model/VoiceIdentityStartCheckRequest.h
include/alibabacloud/green/model/VoiceIdentityStartCheckResult.h
include/alibabacloud/green/model/AddVideoDnaGroupRequest.h
include/alibabacloud/green/model/AddVideoDnaGroupResult.h
include/alibabacloud/green/model/ImageAsyncScanRequest.h
include/alibabacloud/green/model/ImageAsyncScanResult.h
include/alibabacloud/green/model/UpdateOssStockStatusRequest.h
include/alibabacloud/green/model/UpdateOssStockStatusResult.h
include/alibabacloud/green/model/DescribeKeywordLibRequest.h
include/alibabacloud/green/model/DescribeKeywordLibResult.h
include/alibabacloud/green/model/DescribeUpdatePackageResultRequest.h
include/alibabacloud/green/model/DescribeUpdatePackageResultResult.h
include/alibabacloud/green/model/VideoAsyncScanRequest.h
include/alibabacloud/green/model/VideoAsyncScanResult.h
include/alibabacloud/green/model/DescribeUploadInfoRequest.h
include/alibabacloud/green/model/DescribeUploadInfoResult.h
include/alibabacloud/green/model/ImageScanFeedbackRequest.h
include/alibabacloud/green/model/ImageScanFeedbackResult.h
include/alibabacloud/green/model/DescribeOpenApiUsageRequest.h
include/alibabacloud/green/model/DescribeOpenApiUsageResult.h
include/alibabacloud/green/model/DeleteSimilarityLibraryRequest.h
include/alibabacloud/green/model/DeleteSimilarityLibraryResult.h
include/alibabacloud/green/model/DescribeOssCallbackSettingRequest.h
include/alibabacloud/green/model/DescribeOssCallbackSettingResult.h
include/alibabacloud/green/model/DescribeImageUploadInfoRequest.h
include/alibabacloud/green/model/DescribeImageUploadInfoResult.h
include/alibabacloud/green/model/ImageResultRequest.h
include/alibabacloud/green/model/ImageResultResult.h
include/alibabacloud/green/model/DeleteSimilarityImageRequest.h
include/alibabacloud/green/model/DeleteSimilarityImageResult.h
include/alibabacloud/green/model/DeleteImageLibRequest.h
include/alibabacloud/green/model/DeleteImageLibResult.h
include/alibabacloud/green/model/AddPersonRequest.h
include/alibabacloud/green/model/AddPersonResult.h
include/alibabacloud/green/model/ListSimilarityLibrariesRequest.h
include/alibabacloud/green/model/ListSimilarityLibrariesResult.h
include/alibabacloud/green/model/DeleteCustomOcrTemplateRequest.h
include/alibabacloud/green/model/DeleteCustomOcrTemplateResult.h
include/alibabacloud/green/model/SampleFeedbackRequest.h
include/alibabacloud/green/model/SampleFeedbackResult.h
include/alibabacloud/green/model/ListSimilarityImagesRequest.h
include/alibabacloud/green/model/ListSimilarityImagesResult.h
include/alibabacloud/green/model/MarkAuditContentItemRequest.h
include/alibabacloud/green/model/MarkAuditContentItemResult.h
include/alibabacloud/green/model/AddVideoDnaRequest.h
include/alibabacloud/green/model/AddVideoDnaResult.h
include/alibabacloud/green/model/VideoSyncScanRequest.h
include/alibabacloud/green/model/VideoSyncScanResult.h
include/alibabacloud/green/model/DeleteNotificationContactsRequest.h
include/alibabacloud/green/model/DeleteNotificationContactsResult.h
include/alibabacloud/green/model/VideoAsyncScanResultsRequest.h
include/alibabacloud/green/model/VideoAsyncScanResultsResult.h
include/alibabacloud/green/model/DescribeOssStockStatusRequest.h
include/alibabacloud/green/model/DescribeOssStockStatusResult.h
include/alibabacloud/green/model/TextKeywordFilterRequest.h
include/alibabacloud/green/model/TextKeywordFilterResult.h
include/alibabacloud/green/model/UpdateImageLibRequest.h
include/alibabacloud/green/model/UpdateImageLibResult.h
include/alibabacloud/green/model/CreatCustomOcrTemplateRequest.h
include/alibabacloud/green/model/CreatCustomOcrTemplateResult.h
include/alibabacloud/green/model/CreateKeywordRequest.h
include/alibabacloud/green/model/CreateKeywordResult.h
include/alibabacloud/green/model/UploadImageToLibRequest.h
include/alibabacloud/green/model/UploadImageToLibResult.h
include/alibabacloud/green/model/UpdateWebsiteInstanceRequest.h
include/alibabacloud/green/model/UpdateWebsiteInstanceResult.h
include/alibabacloud/green/model/DescribeWebsiteScanResultDetailRequest.h
include/alibabacloud/green/model/DescribeWebsiteScanResultDetailResult.h
include/alibabacloud/green/model/AddSimilarityLibraryRequest.h
include/alibabacloud/green/model/AddSimilarityLibraryResult.h
include/alibabacloud/green/model/AddVideoDnaGroupRequest.h
include/alibabacloud/green/model/AddVideoDnaGroupResult.h
include/alibabacloud/green/model/CreateCdiBagRequest.h
include/alibabacloud/green/model/CreateCdiBagResult.h
include/alibabacloud/green/model/UpdateKeywordLibRequest.h
include/alibabacloud/green/model/UpdateKeywordLibResult.h
include/alibabacloud/green/model/ImageAsyncScanRequest.h
include/alibabacloud/green/model/ImageAsyncScanResult.h
include/alibabacloud/green/model/ImageAsyncScanResultsRequest.h
include/alibabacloud/green/model/ImageAsyncScanResultsResult.h
include/alibabacloud/green/model/VoiceAsyncScanResultsRequest.h
include/alibabacloud/green/model/VoiceAsyncScanResultsResult.h
include/alibabacloud/green/model/GetFacesRequest.h
include/alibabacloud/green/model/GetFacesResult.h
include/alibabacloud/green/model/VoiceAsyncScanRequest.h
include/alibabacloud/green/model/VoiceAsyncScanResult.h
include/alibabacloud/green/model/VoiceCancelScanRequest.h
include/alibabacloud/green/model/VoiceCancelScanResult.h
include/alibabacloud/green/model/GetGroupsRequest.h
include/alibabacloud/green/model/GetGroupsResult.h
include/alibabacloud/green/model/TextScanRequest.h
include/alibabacloud/green/model/TextScanResult.h
include/alibabacloud/green/model/VoiceIdentityRegisterRequest.h
include/alibabacloud/green/model/VoiceIdentityRegisterResult.h
include/alibabacloud/green/model/ImageScanFeedbackRequest.h
include/alibabacloud/green/model/ImageScanFeedbackResult.h
include/alibabacloud/green/model/VoiceIdentityStartRegisterRequest.h
include/alibabacloud/green/model/VoiceIdentityStartRegisterResult.h
include/alibabacloud/green/model/DeleteSimilarityImageRequest.h
include/alibabacloud/green/model/DeleteSimilarityImageResult.h
include/alibabacloud/green/model/SearchPersonRequest.h
include/alibabacloud/green/model/SearchPersonResult.h
include/alibabacloud/green/model/GetAddVideoDnaResultsRequest.h
include/alibabacloud/green/model/GetAddVideoDnaResultsResult.h
include/alibabacloud/green/model/AddPersonRequest.h
include/alibabacloud/green/model/AddPersonResult.h
include/alibabacloud/green/model/AddFacesRequest.h
include/alibabacloud/green/model/AddFacesResult.h
include/alibabacloud/green/model/AddSimilarityImageRequest.h
include/alibabacloud/green/model/AddSimilarityImageResult.h
include/alibabacloud/green/model/VoiceIdentityUnregisterRequest.h
include/alibabacloud/green/model/VoiceIdentityUnregisterResult.h )
include/alibabacloud/green/model/ImageResultsRequest.h
include/alibabacloud/green/model/ImageResultsResult.h
include/alibabacloud/green/model/VerifyWebsiteInstanceRequest.h
include/alibabacloud/green/model/VerifyWebsiteInstanceResult.h
include/alibabacloud/green/model/UpdateWebsiteInstanceKeyUrlRequest.h
include/alibabacloud/green/model/UpdateWebsiteInstanceKeyUrlResult.h
include/alibabacloud/green/model/SendVerifyCodeToPhoneRequest.h
include/alibabacloud/green/model/SendVerifyCodeToPhoneResult.h
include/alibabacloud/green/model/DescribeOssIncrementOverviewRequest.h
include/alibabacloud/green/model/DescribeOssIncrementOverviewResult.h
include/alibabacloud/green/model/DescribeNotificationSettingRequest.h
include/alibabacloud/green/model/DescribeNotificationSettingResult.h
include/alibabacloud/green/model/DescribeAuditContentRequest.h
include/alibabacloud/green/model/DescribeAuditContentResult.h )
set(green_src
src/GreenClient.cc
src/model/ImageSyncScanRequest.cc
src/model/ImageSyncScanResult.cc
src/model/UploadCredentialsRequest.cc
src/model/UploadCredentialsResult.cc
src/model/GetPersonsRequest.cc
src/model/GetPersonsResult.cc
src/model/GetPersonRequest.cc
src/model/GetPersonResult.cc
src/model/DeleteFacesRequest.cc
src/model/DeleteFacesResult.cc
src/model/DescribeWebsiteIndexPageBaselineRequest.cc
src/model/DescribeWebsiteIndexPageBaselineResult.cc
src/model/VerifyCustomOcrTemplateRequest.cc
src/model/VerifyCustomOcrTemplateResult.cc
src/model/DescribeOssIncrementCheckSettingRequest.cc
src/model/DescribeOssIncrementCheckSettingResult.cc
src/model/DescribeWebsiteScanResultRequest.cc
src/model/DescribeWebsiteScanResultResult.cc
src/model/UpdateAppPackageRequest.cc
src/model/UpdateAppPackageResult.cc
src/model/DeleteVideoDnaGroupRequest.cc
src/model/DeleteVideoDnaGroupResult.cc
src/model/AddVideoDnaRequest.cc
src/model/AddVideoDnaResult.cc
src/model/VideoFeedbackRequest.cc
src/model/VideoFeedbackResult.cc
src/model/DeletePersonRequest.cc
src/model/DeletePersonResult.cc
src/model/VideoSyncScanRequest.cc
src/model/VideoSyncScanResult.cc
src/model/VideoAsyncScanResultsRequest.cc
src/model/VideoAsyncScanResultsResult.cc
src/model/UpdateOssCallbackSettingRequest.cc
src/model/UpdateOssCallbackSettingResult.cc
src/model/DescribeWebsiteInstanceKeyUrlRequest.cc
src/model/DescribeWebsiteInstanceKeyUrlResult.cc
src/model/DeleteVideoDnaRequest.cc
src/model/DeleteVideoDnaResult.cc
src/model/AddGroupsRequest.cc
src/model/AddGroupsResult.cc
src/model/RefundCdiBaseBagRequest.cc
src/model/RefundCdiBaseBagResult.cc
src/model/UpdateBizTypeSettingRequest.cc
src/model/UpdateBizTypeSettingResult.cc
src/model/FileAsyncScanRequest.cc
src/model/FileAsyncScanResult.cc
src/model/DescribeOssResultItemsRequest.cc
src/model/DescribeOssResultItemsResult.cc
src/model/UpdateWebsiteInstanceStatusRequest.cc
src/model/UpdateWebsiteInstanceStatusResult.cc
src/model/DescribeBizTypesRequest.cc
src/model/DescribeBizTypesResult.cc
src/model/RefundCdiBagRequest.cc
src/model/RefundCdiBagResult.cc
src/model/DeleteImageFromLibRequest.cc
src/model/DeleteImageFromLibResult.cc
src/model/CreateCdiBaseBagRequest.cc
src/model/CreateCdiBaseBagResult.cc
src/model/VerifyPhoneRequest.cc
src/model/VerifyPhoneResult.cc
src/model/ImageDetectionRequest.cc
src/model/ImageDetectionResult.cc
src/model/DeleteKeywordLibRequest.cc
src/model/DeleteKeywordLibResult.cc
src/model/ImportKeywordsRequest.cc
src/model/ImportKeywordsResult.cc
src/model/VoiceCancelScanRequest.cc
src/model/VoiceCancelScanResult.cc
src/model/SendWebsiteFeedbackRequest.cc
src/model/SendWebsiteFeedbackResult.cc
src/model/DescribeImageFromLibRequest.cc
src/model/DescribeImageFromLibResult.cc
src/model/RenewWebSiteInstanceRequest.cc
src/model/RenewWebSiteInstanceResult.cc
src/model/DescribeViewContentRequest.cc
src/model/DescribeViewContentResult.cc
src/model/VoiceIdentityRegisterRequest.cc
src/model/VoiceIdentityRegisterResult.cc
src/model/DescribeWebsiteStatRequest.cc
src/model/DescribeWebsiteStatResult.cc
src/model/UpdateNotificationSettingRequest.cc
src/model/UpdateNotificationSettingResult.cc
src/model/DescribeAuditContentItemRequest.cc
src/model/DescribeAuditContentItemResult.cc
src/model/SearchPersonRequest.cc
src/model/SearchPersonResult.cc
src/model/MarkOssResultRequest.cc
src/model/MarkOssResultResult.cc
src/model/DescribeAppInfoRequest.cc
src/model/DescribeAppInfoResult.cc
src/model/AddSimilarityImageRequest.cc
src/model/AddSimilarityImageResult.cc
src/model/DescribeCustomOcrTemplateRequest.cc
src/model/DescribeCustomOcrTemplateResult.cc
src/model/VoiceIdentityUnregisterRequest.cc
src/model/VoiceIdentityUnregisterResult.cc
src/model/DeleteKeywordRequest.cc
src/model/DeleteKeywordResult.cc
src/model/CreateWebSiteInstanceRequest.cc
src/model/CreateWebSiteInstanceResult.cc
src/model/ImageSyncScanRequest.cc
src/model/ImageSyncScanResult.cc
src/model/GetPersonRequest.cc
src/model/GetPersonResult.cc
src/model/DescribeWebsiteInstanceIdRequest.cc
src/model/DescribeWebsiteInstanceIdResult.cc
src/model/MarkWebsiteScanResultRequest.cc
src/model/MarkWebsiteScanResultResult.cc
src/model/VideoFeedbackRequest.cc
src/model/VideoFeedbackResult.cc
src/model/ExportKeywordsRequest.cc
src/model/ExportKeywordsResult.cc
src/model/MarkAuditContentRequest.cc
src/model/MarkAuditContentResult.cc
src/model/AddGroupsRequest.cc
src/model/AddGroupsResult.cc
src/model/VerifyEmailRequest.cc
src/model/VerifyEmailResult.cc
src/model/DescribeWebsiteVerifyInfoRequest.cc
src/model/DescribeWebsiteVerifyInfoResult.cc
src/model/FileAsyncScanResultsRequest.cc
src/model/FileAsyncScanResultsResult.cc
src/model/DescribeBizTypeSettingRequest.cc
src/model/DescribeBizTypeSettingResult.cc
src/model/DescribeSdkUrlRequest.cc
src/model/DescribeSdkUrlResult.cc
src/model/GetSimilarityLibraryRequest.cc
src/model/GetSimilarityLibraryResult.cc
src/model/DescribeOssIncrementStatsRequest.cc
src/model/DescribeOssIncrementStatsResult.cc
src/model/GetSimilarityImageRequest.cc
src/model/GetSimilarityImageResult.cc
src/model/SendVerifyCodeToEmailRequest.cc
src/model/SendVerifyCodeToEmailResult.cc
src/model/CreateImageLibRequest.cc
src/model/CreateImageLibResult.cc
src/model/GetFacesRequest.cc
src/model/GetFacesResult.cc
src/model/VoiceAsyncScanRequest.cc
src/model/VoiceAsyncScanResult.cc
src/model/UpdateCustomOcrTemplateRequest.cc
src/model/UpdateCustomOcrTemplateResult.cc
src/model/UpdateAuditSettingRequest.cc
src/model/UpdateAuditSettingResult.cc
src/model/GetGroupsRequest.cc
src/model/GetGroupsResult.cc
src/model/TextScanRequest.cc
src/model/TextScanResult.cc
src/model/ExportOssResultRequest.cc
src/model/ExportOssResultResult.cc
src/model/VoiceIdentityStartRegisterRequest.cc
src/model/VoiceIdentityStartRegisterResult.cc
src/model/DescribeWebsiteInstanceRequest.cc
src/model/DescribeWebsiteInstanceResult.cc
src/model/DescribeImageLibRequest.cc
src/model/DescribeImageLibResult.cc
src/model/UpgradeCdiBaseBagRequest.cc
src/model/UpgradeCdiBaseBagResult.cc
src/model/DescribeUserStatusRequest.cc
src/model/DescribeUserStatusResult.cc
src/model/GetAddVideoDnaResultsRequest.cc
src/model/GetAddVideoDnaResultsResult.cc
src/model/DescribeKeywordRequest.cc
src/model/DescribeKeywordResult.cc
src/model/AddFacesRequest.cc
src/model/AddFacesResult.cc
src/model/DescribeAuditSettingRequest.cc
src/model/DescribeAuditSettingResult.cc
src/model/CreateKeywordLibRequest.cc
src/model/CreateKeywordLibResult.cc
src/model/UpdateOssIncrementCheckSettingRequest.cc
src/model/UpdateOssIncrementCheckSettingResult.cc
src/model/UploadCredentialsRequest.cc
src/model/UploadCredentialsResult.cc
src/model/CreateBizTypeRequest.cc
src/model/CreateBizTypeResult.cc
src/model/GetPersonsRequest.cc
src/model/GetPersonsResult.cc
src/model/DeleteFacesRequest.cc
src/model/DeleteFacesResult.cc
src/model/DeletePersonRequest.cc
src/model/DeletePersonResult.cc
src/model/RefundWebSiteInstanceRequest.cc
src/model/RefundWebSiteInstanceResult.cc
src/model/SetPersonRequest.cc
src/model/SetPersonResult.cc
src/model/VoiceIdentityCheckRequest.cc
src/model/VoiceIdentityCheckResult.cc
src/model/TextFeedbackRequest.cc
src/model/TextFeedbackResult.cc
src/model/FileAsyncScanResultsRequest.cc
src/model/FileAsyncScanResultsResult.cc
src/model/CreateWebsiteIndexPageBaselineRequest.cc
src/model/CreateWebsiteIndexPageBaselineResult.cc
src/model/DeleteGroupsRequest.cc
src/model/DeleteGroupsResult.cc
src/model/VoiceIdentityStartCheckRequest.cc
src/model/VoiceIdentityStartCheckResult.cc
src/model/AddVideoDnaGroupRequest.cc
src/model/AddVideoDnaGroupResult.cc
src/model/ImageAsyncScanRequest.cc
src/model/ImageAsyncScanResult.cc
src/model/UpdateOssStockStatusRequest.cc
src/model/UpdateOssStockStatusResult.cc
src/model/DescribeKeywordLibRequest.cc
src/model/DescribeKeywordLibResult.cc
src/model/DescribeUpdatePackageResultRequest.cc
src/model/DescribeUpdatePackageResultResult.cc
src/model/VideoAsyncScanRequest.cc
src/model/VideoAsyncScanResult.cc
src/model/DescribeUploadInfoRequest.cc
src/model/DescribeUploadInfoResult.cc
src/model/ImageScanFeedbackRequest.cc
src/model/ImageScanFeedbackResult.cc
src/model/DescribeOpenApiUsageRequest.cc
src/model/DescribeOpenApiUsageResult.cc
src/model/DeleteSimilarityLibraryRequest.cc
src/model/DeleteSimilarityLibraryResult.cc
src/model/DescribeOssCallbackSettingRequest.cc
src/model/DescribeOssCallbackSettingResult.cc
src/model/DescribeImageUploadInfoRequest.cc
src/model/DescribeImageUploadInfoResult.cc
src/model/ImageResultRequest.cc
src/model/ImageResultResult.cc
src/model/DeleteSimilarityImageRequest.cc
src/model/DeleteSimilarityImageResult.cc
src/model/DeleteImageLibRequest.cc
src/model/DeleteImageLibResult.cc
src/model/AddPersonRequest.cc
src/model/AddPersonResult.cc
src/model/ListSimilarityLibrariesRequest.cc
src/model/ListSimilarityLibrariesResult.cc
src/model/DeleteCustomOcrTemplateRequest.cc
src/model/DeleteCustomOcrTemplateResult.cc
src/model/SampleFeedbackRequest.cc
src/model/SampleFeedbackResult.cc
src/model/ListSimilarityImagesRequest.cc
src/model/ListSimilarityImagesResult.cc
src/model/MarkAuditContentItemRequest.cc
src/model/MarkAuditContentItemResult.cc
src/model/AddVideoDnaRequest.cc
src/model/AddVideoDnaResult.cc
src/model/VideoSyncScanRequest.cc
src/model/VideoSyncScanResult.cc
src/model/DeleteNotificationContactsRequest.cc
src/model/DeleteNotificationContactsResult.cc
src/model/VideoAsyncScanResultsRequest.cc
src/model/VideoAsyncScanResultsResult.cc
src/model/DescribeOssStockStatusRequest.cc
src/model/DescribeOssStockStatusResult.cc
src/model/TextKeywordFilterRequest.cc
src/model/TextKeywordFilterResult.cc
src/model/UpdateImageLibRequest.cc
src/model/UpdateImageLibResult.cc
src/model/CreatCustomOcrTemplateRequest.cc
src/model/CreatCustomOcrTemplateResult.cc
src/model/CreateKeywordRequest.cc
src/model/CreateKeywordResult.cc
src/model/UploadImageToLibRequest.cc
src/model/UploadImageToLibResult.cc
src/model/UpdateWebsiteInstanceRequest.cc
src/model/UpdateWebsiteInstanceResult.cc
src/model/DescribeWebsiteScanResultDetailRequest.cc
src/model/DescribeWebsiteScanResultDetailResult.cc
src/model/AddSimilarityLibraryRequest.cc
src/model/AddSimilarityLibraryResult.cc
src/model/AddVideoDnaGroupRequest.cc
src/model/AddVideoDnaGroupResult.cc
src/model/CreateCdiBagRequest.cc
src/model/CreateCdiBagResult.cc
src/model/UpdateKeywordLibRequest.cc
src/model/UpdateKeywordLibResult.cc
src/model/ImageAsyncScanRequest.cc
src/model/ImageAsyncScanResult.cc
src/model/ImageAsyncScanResultsRequest.cc
src/model/ImageAsyncScanResultsResult.cc
src/model/VoiceAsyncScanResultsRequest.cc
src/model/VoiceAsyncScanResultsResult.cc
src/model/GetFacesRequest.cc
src/model/GetFacesResult.cc
src/model/VoiceAsyncScanRequest.cc
src/model/VoiceAsyncScanResult.cc
src/model/VoiceCancelScanRequest.cc
src/model/VoiceCancelScanResult.cc
src/model/GetGroupsRequest.cc
src/model/GetGroupsResult.cc
src/model/TextScanRequest.cc
src/model/TextScanResult.cc
src/model/VoiceIdentityRegisterRequest.cc
src/model/VoiceIdentityRegisterResult.cc
src/model/ImageScanFeedbackRequest.cc
src/model/ImageScanFeedbackResult.cc
src/model/VoiceIdentityStartRegisterRequest.cc
src/model/VoiceIdentityStartRegisterResult.cc
src/model/DeleteSimilarityImageRequest.cc
src/model/DeleteSimilarityImageResult.cc
src/model/SearchPersonRequest.cc
src/model/SearchPersonResult.cc
src/model/GetAddVideoDnaResultsRequest.cc
src/model/GetAddVideoDnaResultsResult.cc
src/model/AddPersonRequest.cc
src/model/AddPersonResult.cc
src/model/AddFacesRequest.cc
src/model/AddFacesResult.cc
src/model/AddSimilarityImageRequest.cc
src/model/AddSimilarityImageResult.cc
src/model/VoiceIdentityUnregisterRequest.cc
src/model/VoiceIdentityUnregisterResult.cc )
src/model/ImageResultsRequest.cc
src/model/ImageResultsResult.cc
src/model/VerifyWebsiteInstanceRequest.cc
src/model/VerifyWebsiteInstanceResult.cc
src/model/UpdateWebsiteInstanceKeyUrlRequest.cc
src/model/UpdateWebsiteInstanceKeyUrlResult.cc
src/model/SendVerifyCodeToPhoneRequest.cc
src/model/SendVerifyCodeToPhoneResult.cc
src/model/DescribeOssIncrementOverviewRequest.cc
src/model/DescribeOssIncrementOverviewResult.cc
src/model/DescribeNotificationSettingRequest.cc
src/model/DescribeNotificationSettingResult.cc
src/model/DescribeAuditContentRequest.cc
src/model/DescribeAuditContentResult.cc )
add_library(green ${LIB_TYPE}
${green_public_header}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,48 @@
/*
* 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_GREEN_MODEL_ADDSIMILARITYLIBRARYREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_ADDSIMILARITYLIBRARYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT AddSimilarityLibraryRequest : public RoaServiceRequest
{
public:
AddSimilarityLibraryRequest();
~AddSimilarityLibraryRequest();
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
std::string clientInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_ADDSIMILARITYLIBRARYREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_GREEN_MODEL_ADDSIMILARITYLIBRARYRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_ADDSIMILARITYLIBRARYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT AddSimilarityLibraryResult : public ServiceResult
{
public:
AddSimilarityLibraryResult();
explicit AddSimilarityLibraryResult(const std::string &payload);
~AddSimilarityLibraryResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_ADDSIMILARITYLIBRARYRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_CREATCUSTOMOCRTEMPLATEREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_CREATCUSTOMOCRTEMPLATEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT CreatCustomOcrTemplateRequest : public RpcServiceRequest
{
public:
CreatCustomOcrTemplateRequest();
~CreatCustomOcrTemplateRequest();
std::string getImgUrl()const;
void setImgUrl(const std::string& imgUrl);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getReferArea()const;
void setReferArea(const std::string& referArea);
std::string getRecognizeArea()const;
void setRecognizeArea(const std::string& recognizeArea);
std::string getName()const;
void setName(const std::string& name);
private:
std::string imgUrl_;
std::string sourceIp_;
std::string referArea_;
std::string recognizeArea_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATCUSTOMOCRTEMPLATEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_GREEN_MODEL_CREATCUSTOMOCRTEMPLATERESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_CREATCUSTOMOCRTEMPLATERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT CreatCustomOcrTemplateResult : public ServiceResult
{
public:
CreatCustomOcrTemplateResult();
explicit CreatCustomOcrTemplateResult(const std::string &payload);
~CreatCustomOcrTemplateResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATCUSTOMOCRTEMPLATERESULT_H_

View File

@@ -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_GREEN_MODEL_CREATEBIZTYPEREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_CREATEBIZTYPEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT CreateBizTypeRequest : public RpcServiceRequest
{
public:
CreateBizTypeRequest();
~CreateBizTypeRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getIndustryInfo()const;
void setIndustryInfo(const std::string& industryInfo);
std::string getBizTypeName()const;
void setBizTypeName(const std::string& bizTypeName);
std::string getBizTypeImport()const;
void setBizTypeImport(const std::string& bizTypeImport);
private:
std::string sourceIp_;
std::string industryInfo_;
std::string bizTypeName_;
std::string bizTypeImport_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEBIZTYPEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_GREEN_MODEL_CREATEBIZTYPERESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_CREATEBIZTYPERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT CreateBizTypeResult : public ServiceResult
{
public:
CreateBizTypeResult();
explicit CreateBizTypeResult(const std::string &payload);
~CreateBizTypeResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEBIZTYPERESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* 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_GREEN_MODEL_CREATECDIBAGREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_CREATECDIBAGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT CreateCdiBagRequest : public RpcServiceRequest
{
public:
CreateCdiBagRequest();
~CreateCdiBagRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
int getOrderNum()const;
void setOrderNum(int orderNum);
std::string getCommodityCode()const;
void setCommodityCode(const std::string& commodityCode);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getFlowOutSpec()const;
void setFlowOutSpec(int flowOutSpec);
std::string getOrderType()const;
void setOrderType(const std::string& orderType);
private:
std::string clientToken_;
int orderNum_;
std::string commodityCode_;
long ownerId_;
int flowOutSpec_;
std::string orderType_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATECDIBAGREQUEST_H_

View File

@@ -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_GREEN_MODEL_CREATECDIBAGRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_CREATECDIBAGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT CreateCdiBagResult : public ServiceResult
{
public:
CreateCdiBagResult();
explicit CreateCdiBagResult(const std::string &payload);
~CreateCdiBagResult();
std::string getMessage()const;
std::vector<std::string> getInstanceIds()const;
std::string getOrderId()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::vector<std::string> instanceIds_;
std::string orderId_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATECDIBAGRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* 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_GREEN_MODEL_CREATECDIBASEBAGREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_CREATECDIBASEBAGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT CreateCdiBaseBagRequest : public RpcServiceRequest
{
public:
CreateCdiBaseBagRequest();
~CreateCdiBaseBagRequest();
int getDuration()const;
void setDuration(int duration);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getCommodityCode()const;
void setCommodityCode(const std::string& commodityCode);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getFlowOutSpec()const;
void setFlowOutSpec(int flowOutSpec);
std::string getOrderType()const;
void setOrderType(const std::string& orderType);
private:
int duration_;
std::string clientToken_;
std::string commodityCode_;
long ownerId_;
int flowOutSpec_;
std::string orderType_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATECDIBASEBAGREQUEST_H_

View File

@@ -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_GREEN_MODEL_CREATECDIBASEBAGRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_CREATECDIBASEBAGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT CreateCdiBaseBagResult : public ServiceResult
{
public:
CreateCdiBaseBagResult();
explicit CreateCdiBaseBagResult(const std::string &payload);
~CreateCdiBaseBagResult();
std::string getMessage()const;
std::string getInstanceId()const;
std::string getOrderId()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string instanceId_;
std::string orderId_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATECDIBASEBAGRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_CREATEIMAGELIBREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_CREATEIMAGELIBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT CreateImageLibRequest : public RpcServiceRequest
{
public:
CreateImageLibRequest();
~CreateImageLibRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
bool getEnable()const;
void setEnable(bool enable);
std::string getName()const;
void setName(const std::string& name);
std::string getBizTypes()const;
void setBizTypes(const std::string& bizTypes);
std::string getServiceModule()const;
void setServiceModule(const std::string& serviceModule);
std::string getCategory()const;
void setCategory(const std::string& category);
std::string getScene()const;
void setScene(const std::string& scene);
private:
std::string sourceIp_;
bool enable_;
std::string name_;
std::string bizTypes_;
std::string serviceModule_;
std::string category_;
std::string scene_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEIMAGELIBREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_GREEN_MODEL_CREATEIMAGELIBRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_CREATEIMAGELIBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT CreateImageLibResult : public ServiceResult
{
public:
CreateImageLibResult();
explicit CreateImageLibResult(const std::string &payload);
~CreateImageLibResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEIMAGELIBRESULT_H_

View File

@@ -0,0 +1,78 @@
/*
* 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_GREEN_MODEL_CREATEKEYWORDLIBREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDLIBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT CreateKeywordLibRequest : public RpcServiceRequest
{
public:
CreateKeywordLibRequest();
~CreateKeywordLibRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getLibType()const;
void setLibType(const std::string& libType);
bool getEnable()const;
void setEnable(bool enable);
std::string getName()const;
void setName(const std::string& name);
std::string getBizTypes()const;
void setBizTypes(const std::string& bizTypes);
std::string getLanguage()const;
void setLanguage(const std::string& language);
std::string getServiceModule()const;
void setServiceModule(const std::string& serviceModule);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getCategory()const;
void setCategory(const std::string& category);
std::string getMatchMode()const;
void setMatchMode(const std::string& matchMode);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
private:
std::string sourceIp_;
std::string libType_;
bool enable_;
std::string name_;
std::string bizTypes_;
std::string language_;
std::string serviceModule_;
std::string lang_;
std::string category_;
std::string matchMode_;
std::string resourceType_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDLIBREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDLIBRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDLIBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT CreateKeywordLibResult : public ServiceResult
{
public:
CreateKeywordLibResult();
explicit CreateKeywordLibResult(const std::string &payload);
~CreateKeywordLibResult();
std::string getId()const;
protected:
void parse(const std::string &payload);
private:
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDLIBRESULT_H_

View File

@@ -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_GREEN_MODEL_CREATEKEYWORDREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT CreateKeywordRequest : public RpcServiceRequest
{
public:
CreateKeywordRequest();
~CreateKeywordRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getKeywords()const;
void setKeywords(const std::string& keywords);
int getKeywordLibId()const;
void setKeywordLibId(int keywordLibId);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string sourceIp_;
std::string keywords_;
int keywordLibId_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* 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_GREEN_MODEL_CREATEKEYWORDRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT CreateKeywordResult : public ServiceResult
{
public:
CreateKeywordResult();
explicit CreateKeywordResult(const std::string &payload);
~CreateKeywordResult();
std::vector<std::string> getInvalidKeywordList()const;
int getSuccessCount()const;
std::vector<std::string> getValidKeywordList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> invalidKeywordList_;
int successCount_;
std::vector<std::string> validKeywordList_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* 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_GREEN_MODEL_CREATEWEBSITEINSTANCEREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT CreateWebSiteInstanceRequest : public RpcServiceRequest
{
public:
CreateWebSiteInstanceRequest();
~CreateWebSiteInstanceRequest();
int getDuration()const;
void setDuration(int duration);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
int getOrderNum()const;
void setOrderNum(int orderNum);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getPricingCycle()const;
void setPricingCycle(const std::string& pricingCycle);
std::string getOrderType()const;
void setOrderType(const std::string& orderType);
private:
int duration_;
std::string clientToken_;
int orderNum_;
long ownerId_;
std::string pricingCycle_;
std::string orderType_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINSTANCEREQUEST_H_

View File

@@ -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_GREEN_MODEL_CREATEWEBSITEINSTANCERESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINSTANCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT CreateWebSiteInstanceResult : public ServiceResult
{
public:
CreateWebSiteInstanceResult();
explicit CreateWebSiteInstanceResult(const std::string &payload);
~CreateWebSiteInstanceResult();
std::string getMessage()const;
std::vector<std::string> getInstanceIds()const;
std::string getOrderId()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::vector<std::string> instanceIds_;
std::string orderId_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINSTANCERESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINDEXPAGEBASELINEREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINDEXPAGEBASELINEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT CreateWebsiteIndexPageBaselineRequest : public RpcServiceRequest
{
public:
CreateWebsiteIndexPageBaselineRequest();
~CreateWebsiteIndexPageBaselineRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string instanceId_;
std::string sourceIp_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINDEXPAGEBASELINEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_GREEN_MODEL_CREATEWEBSITEINDEXPAGEBASELINERESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINDEXPAGEBASELINERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT CreateWebsiteIndexPageBaselineResult : public ServiceResult
{
public:
CreateWebsiteIndexPageBaselineResult();
explicit CreateWebsiteIndexPageBaselineResult(const std::string &payload);
~CreateWebsiteIndexPageBaselineResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINDEXPAGEBASELINERESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DELETECUSTOMOCRTEMPLATEREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DELETECUSTOMOCRTEMPLATEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DeleteCustomOcrTemplateRequest : public RpcServiceRequest
{
public:
DeleteCustomOcrTemplateRequest();
~DeleteCustomOcrTemplateRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getIds()const;
void setIds(const std::string& ids);
private:
std::string sourceIp_;
std::string ids_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETECUSTOMOCRTEMPLATEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_GREEN_MODEL_DELETECUSTOMOCRTEMPLATERESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_DELETECUSTOMOCRTEMPLATERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DeleteCustomOcrTemplateResult : public ServiceResult
{
public:
DeleteCustomOcrTemplateResult();
explicit DeleteCustomOcrTemplateResult(const std::string &payload);
~DeleteCustomOcrTemplateResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETECUSTOMOCRTEMPLATERESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DELETEIMAGEFROMLIBREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DELETEIMAGEFROMLIBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DeleteImageFromLibRequest : public RpcServiceRequest
{
public:
DeleteImageFromLibRequest();
~DeleteImageFromLibRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getIds()const;
void setIds(const std::string& ids);
private:
std::string sourceIp_;
std::string ids_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEIMAGEFROMLIBREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_GREEN_MODEL_DELETEIMAGEFROMLIBRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_DELETEIMAGEFROMLIBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DeleteImageFromLibResult : public ServiceResult
{
public:
DeleteImageFromLibResult();
explicit DeleteImageFromLibResult(const std::string &payload);
~DeleteImageFromLibResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEIMAGEFROMLIBRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DELETEIMAGELIBREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DELETEIMAGELIBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DeleteImageLibRequest : public RpcServiceRequest
{
public:
DeleteImageLibRequest();
~DeleteImageLibRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getId()const;
void setId(int id);
private:
std::string sourceIp_;
int id_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEIMAGELIBREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_GREEN_MODEL_DELETEIMAGELIBRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_DELETEIMAGELIBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DeleteImageLibResult : public ServiceResult
{
public:
DeleteImageLibResult();
explicit DeleteImageLibResult(const std::string &payload);
~DeleteImageLibResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEIMAGELIBRESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDLIBREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDLIBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DeleteKeywordLibRequest : public RpcServiceRequest
{
public:
DeleteKeywordLibRequest();
~DeleteKeywordLibRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getId()const;
void setId(int id);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string sourceIp_;
int id_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDLIBREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_GREEN_MODEL_DELETEKEYWORDLIBRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDLIBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DeleteKeywordLibResult : public ServiceResult
{
public:
DeleteKeywordLibResult();
explicit DeleteKeywordLibResult(const std::string &payload);
~DeleteKeywordLibResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDLIBRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DeleteKeywordRequest : public RpcServiceRequest
{
public:
DeleteKeywordRequest();
~DeleteKeywordRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getKeywords()const;
void setKeywords(const std::string& keywords);
std::string getKeywordLibId()const;
void setKeywordLibId(const std::string& keywordLibId);
std::string getIds()const;
void setIds(const std::string& ids);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string sourceIp_;
std::string keywords_;
std::string keywordLibId_;
std::string ids_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_GREEN_MODEL_DELETEKEYWORDRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DeleteKeywordResult : public ServiceResult
{
public:
DeleteKeywordResult();
explicit DeleteKeywordResult(const std::string &payload);
~DeleteKeywordResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDRESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DELETENOTIFICATIONCONTACTSREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DELETENOTIFICATIONCONTACTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DeleteNotificationContactsRequest : public RpcServiceRequest
{
public:
DeleteNotificationContactsRequest();
~DeleteNotificationContactsRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getContactTypes()const;
void setContactTypes(const std::string& contactTypes);
private:
std::string sourceIp_;
std::string lang_;
std::string contactTypes_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETENOTIFICATIONCONTACTSREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_GREEN_MODEL_DELETENOTIFICATIONCONTACTSRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_DELETENOTIFICATIONCONTACTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DeleteNotificationContactsResult : public ServiceResult
{
public:
DeleteNotificationContactsResult();
explicit DeleteNotificationContactsResult(const std::string &payload);
~DeleteNotificationContactsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETENOTIFICATIONCONTACTSRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* 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_GREEN_MODEL_DELETESIMILARITYLIBRARYREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DELETESIMILARITYLIBRARYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DeleteSimilarityLibraryRequest : public RoaServiceRequest
{
public:
DeleteSimilarityLibraryRequest();
~DeleteSimilarityLibraryRequest();
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
std::string clientInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETESIMILARITYLIBRARYREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_GREEN_MODEL_DELETESIMILARITYLIBRARYRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_DELETESIMILARITYLIBRARYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DeleteSimilarityLibraryResult : public ServiceResult
{
public:
DeleteSimilarityLibraryResult();
explicit DeleteSimilarityLibraryResult(const std::string &payload);
~DeleteSimilarityLibraryResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETESIMILARITYLIBRARYRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* 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_GREEN_MODEL_DESCRIBEAPPINFOREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEAPPINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeAppInfoRequest : public RpcServiceRequest
{
public:
DescribeAppInfoRequest();
~DescribeAppInfoRequest();
int getTotalCount()const;
void setTotalCount(int totalCount);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getPageSize()const;
void setPageSize(int pageSize);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getPlatform()const;
void setPlatform(const std::string& platform);
private:
int totalCount_;
std::string sourceIp_;
int pageSize_;
int currentPage_;
std::string lang_;
std::string platform_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEAPPINFOREQUEST_H_

View File

@@ -0,0 +1,77 @@
/*
* 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_GREEN_MODEL_DESCRIBEAPPINFORESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEAPPINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeAppInfoResult : public ServiceResult
{
public:
struct AppInfo
{
struct PackageInfo
{
std::string version;
};
struct DebugPackageInfo
{
std::string version;
};
std::string startDate;
int type;
DebugPackageInfo debugPackageInfo;
std::string packageName;
PackageInfo packageInfo;
long id;
std::string icon;
std::string endDate;
std::string name;
};
DescribeAppInfoResult();
explicit DescribeAppInfoResult(const std::string &payload);
~DescribeAppInfoResult();
int getTotalCount()const;
int getPageSize()const;
int getCurrentPage()const;
std::vector<AppInfo> getAppInfoList()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int currentPage_;
std::vector<AppInfo> appInfoList_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEAPPINFORESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTITEMREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTITEMREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeAuditContentItemRequest : public RpcServiceRequest
{
public:
DescribeAuditContentItemRequest();
~DescribeAuditContentItemRequest();
int getTotalCount()const;
void setTotalCount(int totalCount);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getPageSize()const;
void setPageSize(int pageSize);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
private:
int totalCount_;
std::string sourceIp_;
int pageSize_;
int currentPage_;
std::string lang_;
std::string resourceType_;
std::string taskId_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTITEMREQUEST_H_

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTITEMRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTITEMRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeAuditContentItemResult : public ServiceResult
{
public:
struct AuditContentItem
{
int audit;
std::string suggestion;
std::string endTime;
std::string content;
std::string auditResult;
std::string startTime;
int sn;
long id;
std::string parentTaskId;
std::vector<std::string> auditIllegalReasons;
};
DescribeAuditContentItemResult();
explicit DescribeAuditContentItemResult(const std::string &payload);
~DescribeAuditContentItemResult();
int getTotalCount()const;
std::vector<AuditContentItem> getAuditContentItemList()const;
int getPageSize()const;
int getCurrentPage()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::vector<AuditContentItem> auditContentItemList_;
int pageSize_;
int currentPage_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTITEMRESULT_H_

View File

@@ -0,0 +1,99 @@
/*
* 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_GREEN_MODEL_DESCRIBEAUDITCONTENTREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeAuditContentRequest : public RpcServiceRequest
{
public:
DescribeAuditContentRequest();
~DescribeAuditContentRequest();
int getTotalCount()const;
void setTotalCount(int totalCount);
std::string getKeywordId()const;
void setKeywordId(const std::string& keywordId);
std::string getImageId()const;
void setImageId(const std::string& imageId);
std::string getSuggestion()const;
void setSuggestion(const std::string& suggestion);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getLabel()const;
void setLabel(const std::string& label);
std::string getStartDate()const;
void setStartDate(const std::string& startDate);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getScene()const;
void setScene(const std::string& scene);
std::string getBizType()const;
void setBizType(const std::string& bizType);
std::string getEndDate()const;
void setEndDate(const std::string& endDate);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getDataId()const;
void setDataId(const std::string& dataId);
std::string getLibType()const;
void setLibType(const std::string& libType);
std::string getAuditResult()const;
void setAuditResult(const std::string& auditResult);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
private:
int totalCount_;
std::string keywordId_;
std::string imageId_;
std::string suggestion_;
int currentPage_;
std::string label_;
std::string startDate_;
std::string resourceType_;
std::string scene_;
std::string bizType_;
std::string endDate_;
std::string sourceIp_;
std::string dataId_;
std::string libType_;
std::string auditResult_;
int pageSize_;
std::string lang_;
std::string taskId_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTREQUEST_H_

View File

@@ -0,0 +1,88 @@
/*
* 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_GREEN_MODEL_DESCRIBEAUDITCONTENTRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeAuditContentResult : public ServiceResult
{
public:
struct AuditContent
{
struct Result
{
std::string suggestion;
std::string label;
std::string scene;
};
struct FrameResult
{
std::string label;
std::string url;
int offset;
};
std::string taskId;
std::string auditResult;
std::string bizType;
std::string requestTime;
std::string thumbnail;
std::string url;
std::vector<std::string> auditIllegalReasons;
std::string newUrl;
std::string scanFinishedTime;
int audit;
std::string suggestion;
std::string dataId;
std::vector<AuditContent::Result> results;
std::vector<AuditContent::FrameResult> frameResults;
std::string content;
long id;
};
DescribeAuditContentResult();
explicit DescribeAuditContentResult(const std::string &payload);
~DescribeAuditContentResult();
int getTotalCount()const;
int getPageSize()const;
int getCurrentPage()const;
std::vector<AuditContent> getAuditContentList()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int currentPage_;
std::vector<AuditContent> auditContentList_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITSETTINGREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITSETTINGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeAuditSettingRequest : public RpcServiceRequest
{
public:
DescribeAuditSettingRequest();
~DescribeAuditSettingRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string sourceIp_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITSETTINGREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITSETTINGRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITSETTINGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeAuditSettingResult : public ServiceResult
{
public:
struct AuditRange
{
bool pass;
bool block;
bool review;
};
DescribeAuditSettingResult();
explicit DescribeAuditSettingResult(const std::string &payload);
~DescribeAuditSettingResult();
AuditRange getAuditRange()const;
std::string getCallback()const;
std::string getSeed()const;
protected:
void parse(const std::string &payload);
private:
AuditRange auditRange_;
std::string callback_;
std::string seed_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITSETTINGRESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESETTINGREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESETTINGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeBizTypeSettingRequest : public RpcServiceRequest
{
public:
DescribeBizTypeSettingRequest();
~DescribeBizTypeSettingRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getBizTypeName()const;
void setBizTypeName(const std::string& bizTypeName);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
private:
std::string sourceIp_;
std::string bizTypeName_;
std::string resourceType_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESETTINGREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESETTINGRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESETTINGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeBizTypeSettingResult : public ServiceResult
{
public:
struct Terrorism
{
std::vector<std::string> categories;
};
struct Porn
{
std::vector<std::string> categories1;
};
DescribeBizTypeSettingResult();
explicit DescribeBizTypeSettingResult(const std::string &payload);
~DescribeBizTypeSettingResult();
Terrorism getTerrorism()const;
Porn getPorn()const;
protected:
void parse(const std::string &payload);
private:
Terrorism terrorism_;
Porn porn_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESETTINGRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeBizTypesRequest : public RpcServiceRequest
{
public:
DescribeBizTypesRequest();
~DescribeBizTypesRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
bool getImportFlag()const;
void setImportFlag(bool importFlag);
private:
std::string sourceIp_;
bool importFlag_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeBizTypesResult : public ServiceResult
{
public:
DescribeBizTypesResult();
explicit DescribeBizTypesResult(const std::string &payload);
~DescribeBizTypesResult();
std::vector<std::string> getBizTypeList()const;
int getTotalCount()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> bizTypeList_;
int totalCount_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBECUSTOMOCRTEMPLATEREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBECUSTOMOCRTEMPLATEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeCustomOcrTemplateRequest : public RpcServiceRequest
{
public:
DescribeCustomOcrTemplateRequest();
~DescribeCustomOcrTemplateRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getIds()const;
void setIds(const std::string& ids);
private:
std::string sourceIp_;
std::string ids_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBECUSTOMOCRTEMPLATEREQUEST_H_

View File

@@ -0,0 +1,78 @@
/*
* 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_GREEN_MODEL_DESCRIBECUSTOMOCRTEMPLATERESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBECUSTOMOCRTEMPLATERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeCustomOcrTemplateResult : public ServiceResult
{
public:
struct OcrTemplate
{
struct Item
{
int x;
int y;
int height;
int width;
std::string name;
};
struct Item
{
int x;
int y;
int height;
int width;
std::string name;
};
std::vector<OcrTemplate::Item> referArea;
int status;
std::vector<OcrTemplate::Item> recognizeArea;
long id;
std::string imgUrl;
std::string name;
};
DescribeCustomOcrTemplateResult();
explicit DescribeCustomOcrTemplateResult(const std::string &payload);
~DescribeCustomOcrTemplateResult();
int getTotalCount()const;
std::vector<OcrTemplate> getOcrTemplateList()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::vector<OcrTemplate> ocrTemplateList_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBECUSTOMOCRTEMPLATERESULT_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEFROMLIBREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEFROMLIBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeImageFromLibRequest : public RpcServiceRequest
{
public:
DescribeImageFromLibRequest();
~DescribeImageFromLibRequest();
int getTotalCount()const;
void setTotalCount(int totalCount);
std::string getEndDate()const;
void setEndDate(const std::string& endDate);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getImageLibId()const;
void setImageLibId(int imageLibId);
int getPageSize()const;
void setPageSize(int pageSize);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
long getId()const;
void setId(long id);
std::string getStartDate()const;
void setStartDate(const std::string& startDate);
private:
int totalCount_;
std::string endDate_;
std::string sourceIp_;
int imageLibId_;
int pageSize_;
int currentPage_;
long id_;
std::string startDate_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEFROMLIBREQUEST_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEFROMLIBRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEFROMLIBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeImageFromLibResult : public ServiceResult
{
public:
struct ImageFromLib
{
long videoHitCount;
std::string createTime;
long imageHitCount;
long id;
std::string image;
std::string thumbnail;
};
DescribeImageFromLibResult();
explicit DescribeImageFromLibResult(const std::string &payload);
~DescribeImageFromLibResult();
int getTotalCount()const;
int getPageSize()const;
int getCurrentPage()const;
std::vector<ImageFromLib> getImageFromLibList()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int currentPage_;
std::vector<ImageFromLib> imageFromLibList_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEFROMLIBRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGELIBREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGELIBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeImageLibRequest : public RpcServiceRequest
{
public:
DescribeImageLibRequest();
~DescribeImageLibRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getServiceModule()const;
void setServiceModule(const std::string& serviceModule);
private:
std::string sourceIp_;
std::string serviceModule_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGELIBREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_GREEN_MODEL_DESCRIBEIMAGELIBRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGELIBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeImageLibResult : public ServiceResult
{
public:
struct ImageLib
{
int imageCount;
std::string category;
std::string modifiedTime;
std::vector<std::string> bizTypes;
std::string enable;
int id;
std::string scene;
std::string code;
std::string source;
std::string name;
std::string serviceModule;
};
DescribeImageLibResult();
explicit DescribeImageLibResult(const std::string &payload);
~DescribeImageLibResult();
int getTotalCount()const;
std::vector<ImageLib> getImageLibList()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::vector<ImageLib> imageLibList_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGELIBRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* 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_GREEN_MODEL_DESCRIBEIMAGEUPLOADINFOREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEUPLOADINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeImageUploadInfoRequest : public RpcServiceRequest
{
public:
DescribeImageUploadInfoRequest();
~DescribeImageUploadInfoRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
private:
std::string sourceIp_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEUPLOADINFOREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEUPLOADINFORESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEUPLOADINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeImageUploadInfoResult : public ServiceResult
{
public:
DescribeImageUploadInfoResult();
explicit DescribeImageUploadInfoResult(const std::string &payload);
~DescribeImageUploadInfoResult();
std::string getPolicy()const;
int getExpire()const;
std::string getAccessid()const;
std::string getSignature()const;
std::string getHost()const;
std::string getFolder()const;
protected:
void parse(const std::string &payload);
private:
std::string policy_;
int expire_;
std::string accessid_;
std::string signature_;
std::string host_;
std::string folder_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEUPLOADINFORESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDLIBREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDLIBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeKeywordLibRequest : public RpcServiceRequest
{
public:
DescribeKeywordLibRequest();
~DescribeKeywordLibRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getServiceModule()const;
void setServiceModule(const std::string& serviceModule);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string sourceIp_;
std::string serviceModule_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDLIBREQUEST_H_

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDLIBRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDLIBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeKeywordLibResult : public ServiceResult
{
public:
struct KeywordLib
{
std::string matchMode;
std::string category;
std::vector<std::string> bizTypes;
std::string resourceType;
int count;
std::string libType;
std::string code;
std::string source;
std::string name;
std::string serviceModule;
std::string modifiedTime;
std::string language;
bool enable;
int id;
};
DescribeKeywordLibResult();
explicit DescribeKeywordLibResult(const std::string &payload);
~DescribeKeywordLibResult();
std::vector<KeywordLib> getKeywordLibList()const;
int getTotalCount()const;
protected:
void parse(const std::string &payload);
private:
std::vector<KeywordLib> keywordLibList_;
int totalCount_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDLIBRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeKeywordRequest : public RpcServiceRequest
{
public:
DescribeKeywordRequest();
~DescribeKeywordRequest();
int getTotalCount()const;
void setTotalCount(int totalCount);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getKeywordLibId()const;
void setKeywordLibId(int keywordLibId);
int getPageSize()const;
void setPageSize(int pageSize);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getKeyword()const;
void setKeyword(const std::string& keyword);
private:
int totalCount_;
std::string sourceIp_;
int keywordLibId_;
int pageSize_;
int currentPage_;
std::string lang_;
std::string keyword_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDREQUEST_H_

View File

@@ -0,0 +1,64 @@
/*
* 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_GREEN_MODEL_DESCRIBEKEYWORDRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeKeywordResult : public ServiceResult
{
public:
struct Keyword
{
std::string keyword;
int hitCount;
std::string createTime;
int id;
};
DescribeKeywordResult();
explicit DescribeKeywordResult(const std::string &payload);
~DescribeKeywordResult();
int getTotalCount()const;
int getPageSize()const;
int getCurrentPage()const;
std::vector<Keyword> getKeywordList()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int currentPage_;
std::vector<Keyword> keywordList_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBENOTIFICATIONSETTINGREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBENOTIFICATIONSETTINGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeNotificationSettingRequest : public RpcServiceRequest
{
public:
DescribeNotificationSettingRequest();
~DescribeNotificationSettingRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string sourceIp_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBENOTIFICATIONSETTINGREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBENOTIFICATIONSETTINGRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBENOTIFICATIONSETTINGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeNotificationSettingResult : public ServiceResult
{
public:
DescribeNotificationSettingResult();
explicit DescribeNotificationSettingResult(const std::string &payload);
~DescribeNotificationSettingResult();
std::string getEmail()const;
std::string getPhone()const;
int getScheduleMessageTime()const;
int getScheduleMessageTimeZone()const;
std::vector<std::string> getReminderModeList()const;
std::vector<std::string> getRealtimeMessageList()const;
protected:
void parse(const std::string &payload);
private:
std::string email_;
std::string phone_;
int scheduleMessageTime_;
int scheduleMessageTimeZone_;
std::vector<std::string> reminderModeList_;
std::vector<std::string> realtimeMessageList_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBENOTIFICATIONSETTINGRESULT_H_

View File

@@ -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_GREEN_MODEL_DESCRIBEOPENAPIUSAGEREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEOPENAPIUSAGEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeOpenApiUsageRequest : public RpcServiceRequest
{
public:
DescribeOpenApiUsageRequest();
~DescribeOpenApiUsageRequest();
std::string getEndDate()const;
void setEndDate(const std::string& endDate);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getStartDate()const;
void setStartDate(const std::string& startDate);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
private:
std::string endDate_;
std::string sourceIp_;
std::string startDate_;
std::string resourceType_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEOPENAPIUSAGEREQUEST_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEOPENAPIUSAGERESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEOPENAPIUSAGERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeOpenApiUsageResult : public ServiceResult
{
public:
struct OpenApiUsage
{
int passDuration;
int blockDuration;
std::string resourceType;
std::string scene;
std::string date;
int totalDuration;
int totalCount;
int innerTotalCount;
int blockCount;
int passCount;
int reviewCount;
int outerTotalCount;
int reviewDuration;
};
DescribeOpenApiUsageResult();
explicit DescribeOpenApiUsageResult(const std::string &payload);
~DescribeOpenApiUsageResult();
int getTotalCount()const;
std::vector<OpenApiUsage> getOpenApiUsageList()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::vector<OpenApiUsage> openApiUsageList_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEOPENAPIUSAGERESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* 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_GREEN_MODEL_DESCRIBEOSSCALLBACKSETTINGREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSCALLBACKSETTINGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeOssCallbackSettingRequest : public RpcServiceRequest
{
public:
DescribeOssCallbackSettingRequest();
~DescribeOssCallbackSettingRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
private:
std::string sourceIp_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSCALLBACKSETTINGREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSCALLBACKSETTINGRESULT_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSCALLBACKSETTINGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeOssCallbackSettingResult : public ServiceResult
{
public:
DescribeOssCallbackSettingResult();
explicit DescribeOssCallbackSettingResult(const std::string &payload);
~DescribeOssCallbackSettingResult();
std::string getCallbackUrl()const;
std::vector<std::string> getScanCallbackSuggestions()const;
bool getAuditCallback()const;
bool getScanCallback()const;
std::vector<std::string> getServiceModules()const;
std::string getCallbackSeed()const;
protected:
void parse(const std::string &payload);
private:
std::string callbackUrl_;
std::vector<std::string> scanCallbackSuggestions_;
bool auditCallback_;
bool scanCallback_;
std::vector<std::string> serviceModules_;
std::string callbackSeed_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSCALLBACKSETTINGRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSINCREMENTCHECKSETTINGREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSINCREMENTCHECKSETTINGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DescribeOssIncrementCheckSettingRequest : public RpcServiceRequest
{
public:
DescribeOssIncrementCheckSettingRequest();
~DescribeOssIncrementCheckSettingRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string sourceIp_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEOSSINCREMENTCHECKSETTINGREQUEST_H_

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