Compare commits
23 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d769c974ab | ||
|
|
4d0d947bf1 | ||
|
|
2738249b7d | ||
|
|
6f1c636c7e | ||
|
|
70047f9bc7 | ||
|
|
6088526cd8 | ||
|
|
0e02d3bc63 | ||
|
|
f289e0290b | ||
|
|
3e25f8bde6 | ||
|
|
84d7d5b467 | ||
|
|
e57fc8314f | ||
|
|
60b042fbe6 | ||
|
|
70d2fb850d | ||
|
|
0cb799a37d | ||
|
|
812a50b07f | ||
|
|
a4f9a98de3 | ||
|
|
6f44f27802 | ||
|
|
b64262402e | ||
|
|
4d79d51820 | ||
|
|
44130b741e | ||
|
|
1ac661d847 | ||
|
|
401f5f7e4c | ||
|
|
eee5186ffd |
89
CHANGELOG
89
CHANGELOG
@@ -1,3 +1,92 @@
|
||||
2020-07-27 Version: 1.36.539
|
||||
- Add HSF apis.
|
||||
|
||||
2020-07-24 Version: 1.36.538
|
||||
- Edit ListTraceApp api with add tags.
|
||||
- Edit SearchTraceAppByName api with add tags.
|
||||
- Edut SearchTraceAppByPage api with add tags.
|
||||
|
||||
2020-07-24 Version: 1.36.537
|
||||
- Add DescribeBackupTasks.
|
||||
|
||||
2020-07-24 Version: 1.36.536
|
||||
- Support GetImageCroppingSuggestions API.
|
||||
- Add Remarks to face group related APIs.
|
||||
- Add Model parameter to blind watermark related APIs.
|
||||
|
||||
2020-07-24 Version: 1.36.535
|
||||
- First build.
|
||||
|
||||
2020-07-23 Version: 1.36.534
|
||||
- Supported CloudGame.
|
||||
|
||||
2020-07-23 Version: 1.36.533
|
||||
- Supported AAA for BBB.
|
||||
- Fixed bugs for CCC.
|
||||
|
||||
2020-07-23 Version: 1.36.532
|
||||
- Add AddSecretBlacklist and DeleteSecretBlacklist.
|
||||
- Suppoort ASR.
|
||||
|
||||
2020-07-23 Version: 1.36.531
|
||||
- Add GenerateAndExportDataKey, ExportDataKey, ReEncrypt api.
|
||||
|
||||
2020-07-23 Version: 1.36.530
|
||||
- Add GenerateAndExportDataKey, ExportDataKey, ReEncrypt api.
|
||||
|
||||
2020-07-22 Version: 1.36.529
|
||||
- Generated 2015-01-01 for `R-kvstore`.
|
||||
- Add SyncDtsStatus API.
|
||||
|
||||
2020-07-22 Version: 1.36.528
|
||||
- Add snapshot settings.
|
||||
- Add ElasticTask.
|
||||
|
||||
2020-07-22 Version: 1.36.527
|
||||
- Add SourceId for SearchFace.
|
||||
|
||||
2020-07-22 Version: 1.36.526
|
||||
- Add source id for file uploader.
|
||||
|
||||
2020-07-22 Version: 1.36.525
|
||||
- Add source id for file uploader.
|
||||
|
||||
2020-07-21 Version: 1.36.524
|
||||
- Support Tag API.
|
||||
|
||||
2020-07-21 Version: 1.36.523
|
||||
- Add algorithm type for ListPerson.
|
||||
|
||||
2020-07-17 Version: 1.36.522
|
||||
- Add DescribeRegions.
|
||||
- Modify DescribeFullBackupList.
|
||||
- Modify DescribeBackupPlanList.
|
||||
- Modify DescribeRestoreRangeInfo.
|
||||
|
||||
2020-07-17 Version: 1.36.521
|
||||
- Add DescribeDBClusterAuditLogCollector.
|
||||
- Add DescribeBackupPolicy.
|
||||
- Support polardb for pgsql and oracle customize endpoints.
|
||||
|
||||
2020-07-17 Version: 1.36.520
|
||||
- Public beta version.
|
||||
- Add Api Overseas.
|
||||
|
||||
2020-07-15 Version: 1.36.519
|
||||
- Edit ListTraceApp api.
|
||||
- Edit SearchTraceAppByName api.
|
||||
- Edut SearchTraceAppByPage api.
|
||||
|
||||
2020-07-15 Version: 1.36.518
|
||||
- Modify ConfigureBackupPlan.
|
||||
- Modify DescribeFullBackupList.
|
||||
- Modify DescribeBackupPlanList.
|
||||
- Modify DescribeRestoreRangeInfo.
|
||||
|
||||
2020-07-15 Version: 1.36.517
|
||||
- Support ModifyImageAttribute by LaunchPermission.
|
||||
- Support ImageFamily.
|
||||
|
||||
2020-07-14 Version: 1.36.516
|
||||
- Add ListEventAlgorithmResult API.
|
||||
|
||||
|
||||
@@ -35,6 +35,10 @@ set(adb_public_header_model
|
||||
include/alibabacloud/adb/model/DescribeAccountsResult.h
|
||||
include/alibabacloud/adb/model/DescribeAllDataSourceRequest.h
|
||||
include/alibabacloud/adb/model/DescribeAllDataSourceResult.h
|
||||
include/alibabacloud/adb/model/DescribeAuditLogConfigRequest.h
|
||||
include/alibabacloud/adb/model/DescribeAuditLogConfigResult.h
|
||||
include/alibabacloud/adb/model/DescribeAuditLogRecordsRequest.h
|
||||
include/alibabacloud/adb/model/DescribeAuditLogRecordsResult.h
|
||||
include/alibabacloud/adb/model/DescribeAutoRenewAttributeRequest.h
|
||||
include/alibabacloud/adb/model/DescribeAutoRenewAttributeResult.h
|
||||
include/alibabacloud/adb/model/DescribeAvailableResourceRequest.h
|
||||
@@ -57,10 +61,6 @@ set(adb_public_header_model
|
||||
include/alibabacloud/adb/model/DescribeDBClustersResult.h
|
||||
include/alibabacloud/adb/model/DescribeInclinedTablesRequest.h
|
||||
include/alibabacloud/adb/model/DescribeInclinedTablesResult.h
|
||||
include/alibabacloud/adb/model/DescribeLogStoreKeysRequest.h
|
||||
include/alibabacloud/adb/model/DescribeLogStoreKeysResult.h
|
||||
include/alibabacloud/adb/model/DescribeLoghubDetailRequest.h
|
||||
include/alibabacloud/adb/model/DescribeLoghubDetailResult.h
|
||||
include/alibabacloud/adb/model/DescribeOperatorPermissionRequest.h
|
||||
include/alibabacloud/adb/model/DescribeOperatorPermissionResult.h
|
||||
include/alibabacloud/adb/model/DescribeProcessListRequest.h
|
||||
@@ -75,6 +75,8 @@ set(adb_public_header_model
|
||||
include/alibabacloud/adb/model/DescribeSlowLogTrendResult.h
|
||||
include/alibabacloud/adb/model/DescribeTableDetailRequest.h
|
||||
include/alibabacloud/adb/model/DescribeTableDetailResult.h
|
||||
include/alibabacloud/adb/model/DescribeTablePartitionDiagnoseRequest.h
|
||||
include/alibabacloud/adb/model/DescribeTablePartitionDiagnoseResult.h
|
||||
include/alibabacloud/adb/model/DescribeTablesRequest.h
|
||||
include/alibabacloud/adb/model/DescribeTablesResult.h
|
||||
include/alibabacloud/adb/model/DescribeTaskInfoRequest.h
|
||||
@@ -87,6 +89,8 @@ set(adb_public_header_model
|
||||
include/alibabacloud/adb/model/ListTagResourcesResult.h
|
||||
include/alibabacloud/adb/model/ModifyAccountDescriptionRequest.h
|
||||
include/alibabacloud/adb/model/ModifyAccountDescriptionResult.h
|
||||
include/alibabacloud/adb/model/ModifyAuditLogConfigRequest.h
|
||||
include/alibabacloud/adb/model/ModifyAuditLogConfigResult.h
|
||||
include/alibabacloud/adb/model/ModifyAutoRenewAttributeRequest.h
|
||||
include/alibabacloud/adb/model/ModifyAutoRenewAttributeResult.h
|
||||
include/alibabacloud/adb/model/ModifyBackupPolicyRequest.h
|
||||
@@ -130,6 +134,10 @@ set(adb_src
|
||||
src/model/DescribeAccountsResult.cc
|
||||
src/model/DescribeAllDataSourceRequest.cc
|
||||
src/model/DescribeAllDataSourceResult.cc
|
||||
src/model/DescribeAuditLogConfigRequest.cc
|
||||
src/model/DescribeAuditLogConfigResult.cc
|
||||
src/model/DescribeAuditLogRecordsRequest.cc
|
||||
src/model/DescribeAuditLogRecordsResult.cc
|
||||
src/model/DescribeAutoRenewAttributeRequest.cc
|
||||
src/model/DescribeAutoRenewAttributeResult.cc
|
||||
src/model/DescribeAvailableResourceRequest.cc
|
||||
@@ -152,10 +160,6 @@ set(adb_src
|
||||
src/model/DescribeDBClustersResult.cc
|
||||
src/model/DescribeInclinedTablesRequest.cc
|
||||
src/model/DescribeInclinedTablesResult.cc
|
||||
src/model/DescribeLogStoreKeysRequest.cc
|
||||
src/model/DescribeLogStoreKeysResult.cc
|
||||
src/model/DescribeLoghubDetailRequest.cc
|
||||
src/model/DescribeLoghubDetailResult.cc
|
||||
src/model/DescribeOperatorPermissionRequest.cc
|
||||
src/model/DescribeOperatorPermissionResult.cc
|
||||
src/model/DescribeProcessListRequest.cc
|
||||
@@ -170,6 +174,8 @@ set(adb_src
|
||||
src/model/DescribeSlowLogTrendResult.cc
|
||||
src/model/DescribeTableDetailRequest.cc
|
||||
src/model/DescribeTableDetailResult.cc
|
||||
src/model/DescribeTablePartitionDiagnoseRequest.cc
|
||||
src/model/DescribeTablePartitionDiagnoseResult.cc
|
||||
src/model/DescribeTablesRequest.cc
|
||||
src/model/DescribeTablesResult.cc
|
||||
src/model/DescribeTaskInfoRequest.cc
|
||||
@@ -182,6 +188,8 @@ set(adb_src
|
||||
src/model/ListTagResourcesResult.cc
|
||||
src/model/ModifyAccountDescriptionRequest.cc
|
||||
src/model/ModifyAccountDescriptionResult.cc
|
||||
src/model/ModifyAuditLogConfigRequest.cc
|
||||
src/model/ModifyAuditLogConfigResult.cc
|
||||
src/model/ModifyAutoRenewAttributeRequest.cc
|
||||
src/model/ModifyAutoRenewAttributeResult.cc
|
||||
src/model/ModifyBackupPolicyRequest.cc
|
||||
|
||||
@@ -36,6 +36,10 @@
|
||||
#include "model/DescribeAccountsResult.h"
|
||||
#include "model/DescribeAllDataSourceRequest.h"
|
||||
#include "model/DescribeAllDataSourceResult.h"
|
||||
#include "model/DescribeAuditLogConfigRequest.h"
|
||||
#include "model/DescribeAuditLogConfigResult.h"
|
||||
#include "model/DescribeAuditLogRecordsRequest.h"
|
||||
#include "model/DescribeAuditLogRecordsResult.h"
|
||||
#include "model/DescribeAutoRenewAttributeRequest.h"
|
||||
#include "model/DescribeAutoRenewAttributeResult.h"
|
||||
#include "model/DescribeAvailableResourceRequest.h"
|
||||
@@ -58,10 +62,6 @@
|
||||
#include "model/DescribeDBClustersResult.h"
|
||||
#include "model/DescribeInclinedTablesRequest.h"
|
||||
#include "model/DescribeInclinedTablesResult.h"
|
||||
#include "model/DescribeLogStoreKeysRequest.h"
|
||||
#include "model/DescribeLogStoreKeysResult.h"
|
||||
#include "model/DescribeLoghubDetailRequest.h"
|
||||
#include "model/DescribeLoghubDetailResult.h"
|
||||
#include "model/DescribeOperatorPermissionRequest.h"
|
||||
#include "model/DescribeOperatorPermissionResult.h"
|
||||
#include "model/DescribeProcessListRequest.h"
|
||||
@@ -76,6 +76,8 @@
|
||||
#include "model/DescribeSlowLogTrendResult.h"
|
||||
#include "model/DescribeTableDetailRequest.h"
|
||||
#include "model/DescribeTableDetailResult.h"
|
||||
#include "model/DescribeTablePartitionDiagnoseRequest.h"
|
||||
#include "model/DescribeTablePartitionDiagnoseResult.h"
|
||||
#include "model/DescribeTablesRequest.h"
|
||||
#include "model/DescribeTablesResult.h"
|
||||
#include "model/DescribeTaskInfoRequest.h"
|
||||
@@ -88,6 +90,8 @@
|
||||
#include "model/ListTagResourcesResult.h"
|
||||
#include "model/ModifyAccountDescriptionRequest.h"
|
||||
#include "model/ModifyAccountDescriptionResult.h"
|
||||
#include "model/ModifyAuditLogConfigRequest.h"
|
||||
#include "model/ModifyAuditLogConfigResult.h"
|
||||
#include "model/ModifyAutoRenewAttributeRequest.h"
|
||||
#include "model/ModifyAutoRenewAttributeResult.h"
|
||||
#include "model/ModifyBackupPolicyRequest.h"
|
||||
@@ -144,6 +148,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeAllDataSourceResult> DescribeAllDataSourceOutcome;
|
||||
typedef std::future<DescribeAllDataSourceOutcome> DescribeAllDataSourceOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeAllDataSourceRequest&, const DescribeAllDataSourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAllDataSourceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAuditLogConfigResult> DescribeAuditLogConfigOutcome;
|
||||
typedef std::future<DescribeAuditLogConfigOutcome> DescribeAuditLogConfigOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeAuditLogConfigRequest&, const DescribeAuditLogConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAuditLogConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAuditLogRecordsResult> DescribeAuditLogRecordsOutcome;
|
||||
typedef std::future<DescribeAuditLogRecordsOutcome> DescribeAuditLogRecordsOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeAuditLogRecordsRequest&, const DescribeAuditLogRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAuditLogRecordsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAutoRenewAttributeResult> DescribeAutoRenewAttributeOutcome;
|
||||
typedef std::future<DescribeAutoRenewAttributeOutcome> DescribeAutoRenewAttributeOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeAutoRenewAttributeRequest&, const DescribeAutoRenewAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAutoRenewAttributeAsyncHandler;
|
||||
@@ -177,12 +187,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeInclinedTablesResult> DescribeInclinedTablesOutcome;
|
||||
typedef std::future<DescribeInclinedTablesOutcome> DescribeInclinedTablesOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeInclinedTablesRequest&, const DescribeInclinedTablesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInclinedTablesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLogStoreKeysResult> DescribeLogStoreKeysOutcome;
|
||||
typedef std::future<DescribeLogStoreKeysOutcome> DescribeLogStoreKeysOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeLogStoreKeysRequest&, const DescribeLogStoreKeysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLogStoreKeysAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLoghubDetailResult> DescribeLoghubDetailOutcome;
|
||||
typedef std::future<DescribeLoghubDetailOutcome> DescribeLoghubDetailOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeLoghubDetailRequest&, const DescribeLoghubDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLoghubDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeOperatorPermissionResult> DescribeOperatorPermissionOutcome;
|
||||
typedef std::future<DescribeOperatorPermissionOutcome> DescribeOperatorPermissionOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeOperatorPermissionRequest&, const DescribeOperatorPermissionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOperatorPermissionAsyncHandler;
|
||||
@@ -204,6 +208,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeTableDetailResult> DescribeTableDetailOutcome;
|
||||
typedef std::future<DescribeTableDetailOutcome> DescribeTableDetailOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeTableDetailRequest&, const DescribeTableDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTableDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeTablePartitionDiagnoseResult> DescribeTablePartitionDiagnoseOutcome;
|
||||
typedef std::future<DescribeTablePartitionDiagnoseOutcome> DescribeTablePartitionDiagnoseOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeTablePartitionDiagnoseRequest&, const DescribeTablePartitionDiagnoseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTablePartitionDiagnoseAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeTablesResult> DescribeTablesOutcome;
|
||||
typedef std::future<DescribeTablesOutcome> DescribeTablesOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeTablesRequest&, const DescribeTablesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTablesAsyncHandler;
|
||||
@@ -222,6 +229,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyAccountDescriptionResult> ModifyAccountDescriptionOutcome;
|
||||
typedef std::future<ModifyAccountDescriptionOutcome> ModifyAccountDescriptionOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::ModifyAccountDescriptionRequest&, const ModifyAccountDescriptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAccountDescriptionAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyAuditLogConfigResult> ModifyAuditLogConfigOutcome;
|
||||
typedef std::future<ModifyAuditLogConfigOutcome> ModifyAuditLogConfigOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::ModifyAuditLogConfigRequest&, const ModifyAuditLogConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAuditLogConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyAutoRenewAttributeResult> ModifyAutoRenewAttributeOutcome;
|
||||
typedef std::future<ModifyAutoRenewAttributeOutcome> ModifyAutoRenewAttributeOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::ModifyAutoRenewAttributeRequest&, const ModifyAutoRenewAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAutoRenewAttributeAsyncHandler;
|
||||
@@ -287,6 +297,12 @@ namespace AlibabaCloud
|
||||
DescribeAllDataSourceOutcome describeAllDataSource(const Model::DescribeAllDataSourceRequest &request)const;
|
||||
void describeAllDataSourceAsync(const Model::DescribeAllDataSourceRequest& request, const DescribeAllDataSourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAllDataSourceOutcomeCallable describeAllDataSourceCallable(const Model::DescribeAllDataSourceRequest& request) const;
|
||||
DescribeAuditLogConfigOutcome describeAuditLogConfig(const Model::DescribeAuditLogConfigRequest &request)const;
|
||||
void describeAuditLogConfigAsync(const Model::DescribeAuditLogConfigRequest& request, const DescribeAuditLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAuditLogConfigOutcomeCallable describeAuditLogConfigCallable(const Model::DescribeAuditLogConfigRequest& request) const;
|
||||
DescribeAuditLogRecordsOutcome describeAuditLogRecords(const Model::DescribeAuditLogRecordsRequest &request)const;
|
||||
void describeAuditLogRecordsAsync(const Model::DescribeAuditLogRecordsRequest& request, const DescribeAuditLogRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAuditLogRecordsOutcomeCallable describeAuditLogRecordsCallable(const Model::DescribeAuditLogRecordsRequest& request) const;
|
||||
DescribeAutoRenewAttributeOutcome describeAutoRenewAttribute(const Model::DescribeAutoRenewAttributeRequest &request)const;
|
||||
void describeAutoRenewAttributeAsync(const Model::DescribeAutoRenewAttributeRequest& request, const DescribeAutoRenewAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAutoRenewAttributeOutcomeCallable describeAutoRenewAttributeCallable(const Model::DescribeAutoRenewAttributeRequest& request) const;
|
||||
@@ -320,12 +336,6 @@ namespace AlibabaCloud
|
||||
DescribeInclinedTablesOutcome describeInclinedTables(const Model::DescribeInclinedTablesRequest &request)const;
|
||||
void describeInclinedTablesAsync(const Model::DescribeInclinedTablesRequest& request, const DescribeInclinedTablesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeInclinedTablesOutcomeCallable describeInclinedTablesCallable(const Model::DescribeInclinedTablesRequest& request) const;
|
||||
DescribeLogStoreKeysOutcome describeLogStoreKeys(const Model::DescribeLogStoreKeysRequest &request)const;
|
||||
void describeLogStoreKeysAsync(const Model::DescribeLogStoreKeysRequest& request, const DescribeLogStoreKeysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLogStoreKeysOutcomeCallable describeLogStoreKeysCallable(const Model::DescribeLogStoreKeysRequest& request) const;
|
||||
DescribeLoghubDetailOutcome describeLoghubDetail(const Model::DescribeLoghubDetailRequest &request)const;
|
||||
void describeLoghubDetailAsync(const Model::DescribeLoghubDetailRequest& request, const DescribeLoghubDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLoghubDetailOutcomeCallable describeLoghubDetailCallable(const Model::DescribeLoghubDetailRequest& request) const;
|
||||
DescribeOperatorPermissionOutcome describeOperatorPermission(const Model::DescribeOperatorPermissionRequest &request)const;
|
||||
void describeOperatorPermissionAsync(const Model::DescribeOperatorPermissionRequest& request, const DescribeOperatorPermissionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeOperatorPermissionOutcomeCallable describeOperatorPermissionCallable(const Model::DescribeOperatorPermissionRequest& request) const;
|
||||
@@ -347,6 +357,9 @@ namespace AlibabaCloud
|
||||
DescribeTableDetailOutcome describeTableDetail(const Model::DescribeTableDetailRequest &request)const;
|
||||
void describeTableDetailAsync(const Model::DescribeTableDetailRequest& request, const DescribeTableDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTableDetailOutcomeCallable describeTableDetailCallable(const Model::DescribeTableDetailRequest& request) const;
|
||||
DescribeTablePartitionDiagnoseOutcome describeTablePartitionDiagnose(const Model::DescribeTablePartitionDiagnoseRequest &request)const;
|
||||
void describeTablePartitionDiagnoseAsync(const Model::DescribeTablePartitionDiagnoseRequest& request, const DescribeTablePartitionDiagnoseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTablePartitionDiagnoseOutcomeCallable describeTablePartitionDiagnoseCallable(const Model::DescribeTablePartitionDiagnoseRequest& request) const;
|
||||
DescribeTablesOutcome describeTables(const Model::DescribeTablesRequest &request)const;
|
||||
void describeTablesAsync(const Model::DescribeTablesRequest& request, const DescribeTablesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTablesOutcomeCallable describeTablesCallable(const Model::DescribeTablesRequest& request) const;
|
||||
@@ -365,6 +378,9 @@ namespace AlibabaCloud
|
||||
ModifyAccountDescriptionOutcome modifyAccountDescription(const Model::ModifyAccountDescriptionRequest &request)const;
|
||||
void modifyAccountDescriptionAsync(const Model::ModifyAccountDescriptionRequest& request, const ModifyAccountDescriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyAccountDescriptionOutcomeCallable modifyAccountDescriptionCallable(const Model::ModifyAccountDescriptionRequest& request) const;
|
||||
ModifyAuditLogConfigOutcome modifyAuditLogConfig(const Model::ModifyAuditLogConfigRequest &request)const;
|
||||
void modifyAuditLogConfigAsync(const Model::ModifyAuditLogConfigRequest& request, const ModifyAuditLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyAuditLogConfigOutcomeCallable modifyAuditLogConfigCallable(const Model::ModifyAuditLogConfigRequest& request) const;
|
||||
ModifyAutoRenewAttributeOutcome modifyAutoRenewAttribute(const Model::ModifyAutoRenewAttributeRequest &request)const;
|
||||
void modifyAutoRenewAttributeAsync(const Model::ModifyAutoRenewAttributeRequest& request, const ModifyAutoRenewAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyAutoRenewAttributeOutcomeCallable modifyAutoRenewAttributeCallable(const Model::ModifyAutoRenewAttributeRequest& request) const;
|
||||
|
||||
@@ -41,8 +41,16 @@ namespace AlibabaCloud
|
||||
void setDBClusterDescription(const std::string& dBClusterDescription);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getStorageType()const;
|
||||
void setStorageType(const std::string& storageType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getMode()const;
|
||||
void setMode(const std::string& mode);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getStorageResource()const;
|
||||
void setStorageResource(const std::string& storageResource);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDBClusterCategory()const;
|
||||
@@ -69,10 +77,14 @@ namespace AlibabaCloud
|
||||
void setVSwitchId(const std::string& vSwitchId);
|
||||
std::string getDBNodeStorage()const;
|
||||
void setDBNodeStorage(const std::string& dBNodeStorage);
|
||||
std::string getExecutorCount()const;
|
||||
void setExecutorCount(const std::string& executorCount);
|
||||
std::string getVPCId()const;
|
||||
void setVPCId(const std::string& vPCId);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
std::string getComputeResource()const;
|
||||
void setComputeResource(const std::string& computeResource);
|
||||
std::string getPayType()const;
|
||||
void setPayType(const std::string& payType);
|
||||
|
||||
@@ -80,7 +92,11 @@ namespace AlibabaCloud
|
||||
long resourceOwnerId_;
|
||||
std::string dBClusterDescription_;
|
||||
std::string clientToken_;
|
||||
std::string storageType_;
|
||||
std::string accessKeyId_;
|
||||
std::string mode_;
|
||||
std::string resourceGroupId_;
|
||||
std::string storageResource_;
|
||||
std::string regionId_;
|
||||
std::string dBClusterCategory_;
|
||||
std::string dBClusterNetworkType_;
|
||||
@@ -94,8 +110,10 @@ namespace AlibabaCloud
|
||||
std::string usedTime_;
|
||||
std::string vSwitchId_;
|
||||
std::string dBNodeStorage_;
|
||||
std::string executorCount_;
|
||||
std::string vPCId_;
|
||||
std::string zoneId_;
|
||||
std::string computeResource_;
|
||||
std::string payType_;
|
||||
|
||||
};
|
||||
|
||||
@@ -37,12 +37,14 @@ namespace AlibabaCloud
|
||||
CreateDBClusterResult();
|
||||
explicit CreateDBClusterResult(const std::string &payload);
|
||||
~CreateDBClusterResult();
|
||||
std::string getResourceGroupId()const;
|
||||
std::string getDBClusterId()const;
|
||||
std::string getOrderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string resourceGroupId_;
|
||||
std::string dBClusterId_;
|
||||
std::string orderId_;
|
||||
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBELOGHUBDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBELOGHUBDETAILREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGCONFIGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,12 +28,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeLoghubDetailRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeAuditLogConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeLoghubDetailRequest();
|
||||
~DescribeLoghubDetailRequest();
|
||||
DescribeAuditLogConfigRequest();
|
||||
~DescribeAuditLogConfigRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
@@ -41,29 +41,26 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getExportName()const;
|
||||
void setExportName(const std::string& exportName);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string projectName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string exportName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBELOGHUBDETAILREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGCONFIGREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBELOGSTOREKEYSRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBELOGSTOREKEYSRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGCONFIGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,23 +29,25 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeLogStoreKeysResult : public ServiceResult
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeAuditLogConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeLogStoreKeysResult();
|
||||
explicit DescribeLogStoreKeysResult(const std::string &payload);
|
||||
~DescribeLogStoreKeysResult();
|
||||
std::vector<std::string> getLogStoreKeys()const;
|
||||
DescribeAuditLogConfigResult();
|
||||
explicit DescribeAuditLogConfigResult(const std::string &payload);
|
||||
~DescribeAuditLogConfigResult();
|
||||
std::string getAuditLogStatus()const;
|
||||
std::string getDBClusterId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> logStoreKeys_;
|
||||
std::string auditLogStatus_;
|
||||
std::string dBClusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBELOGSTOREKEYSRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGCONFIGRESULT_H_
|
||||
@@ -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_ADB_MODEL_DESCRIBEAUDITLOGRECORDSREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGRECORDSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeAuditLogRecordsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAuditLogRecordsRequest();
|
||||
~DescribeAuditLogRecordsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getHostAddress()const;
|
||||
void setHostAddress(const std::string& hostAddress);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getSqlType()const;
|
||||
void setSqlType(const std::string& sqlType);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getQueryKeyword()const;
|
||||
void setQueryKeyword(const std::string& queryKeyword);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getDBName()const;
|
||||
void setDBName(const std::string& dBName);
|
||||
std::string getSucceed()const;
|
||||
void setSucceed(const std::string& succeed);
|
||||
std::string getUser()const;
|
||||
void setUser(const std::string& user);
|
||||
std::string getOrderType()const;
|
||||
void setOrderType(const std::string& orderType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string startTime_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string hostAddress_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string sqlType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
std::string queryKeyword_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string dBName_;
|
||||
std::string succeed_;
|
||||
std::string user_;
|
||||
std::string orderType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGRECORDSREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* 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_ADB_MODEL_DESCRIBEAUDITLOGRECORDSRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGRECORDSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeAuditLogRecordsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SlowLogRecord
|
||||
{
|
||||
std::string connId;
|
||||
std::string executeTime;
|
||||
std::string totalTime;
|
||||
std::string dBName;
|
||||
std::string processID;
|
||||
std::string hostAddress;
|
||||
std::string sQLType;
|
||||
std::string sQLText;
|
||||
std::string succeed;
|
||||
};
|
||||
|
||||
|
||||
DescribeAuditLogRecordsResult();
|
||||
explicit DescribeAuditLogRecordsResult(const std::string &payload);
|
||||
~DescribeAuditLogRecordsResult();
|
||||
std::string getTotalCount()const;
|
||||
std::string getPageSize()const;
|
||||
std::string getPageNumber()const;
|
||||
std::string getDBClusterId()const;
|
||||
std::vector<SlowLogRecord> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string totalCount_;
|
||||
std::string pageSize_;
|
||||
std::string pageNumber_;
|
||||
std::string dBClusterId_;
|
||||
std::vector<SlowLogRecord> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGRECORDSRESULT_H_
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
@@ -58,6 +60,7 @@ namespace AlibabaCloud
|
||||
long resourceOwnerId_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string resourceOwnerAccount_;
|
||||
|
||||
@@ -34,30 +34,53 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct AvailableZone
|
||||
{
|
||||
struct SupportedSerial
|
||||
struct SupportedModeItem
|
||||
{
|
||||
struct SupportedInstanceClass
|
||||
struct SupportedSerialListItem
|
||||
{
|
||||
struct SupportedNodeCount
|
||||
struct SupportedFlexibleResourceItem
|
||||
{
|
||||
struct NodeCount
|
||||
{
|
||||
std::string maxCount;
|
||||
std::string step;
|
||||
std::string minCount;
|
||||
};
|
||||
NodeCount nodeCount;
|
||||
std::vector<std::string> storageSize;
|
||||
std::string storageType;
|
||||
std::vector<std::string> supportedStorageResource;
|
||||
std::vector<std::string> supportedComputeResource;
|
||||
};
|
||||
std::string instanceClass;
|
||||
std::vector<SupportedInstanceClass::SupportedNodeCount> supportedNodeCountList;
|
||||
std::string tips;
|
||||
struct SupportedInstanceClass
|
||||
{
|
||||
struct SupportedNodeCount
|
||||
{
|
||||
struct NodeCount
|
||||
{
|
||||
std::string maxCount;
|
||||
std::string step;
|
||||
std::string minCount;
|
||||
};
|
||||
NodeCount nodeCount;
|
||||
std::vector<std::string> storageSize;
|
||||
};
|
||||
struct SupportedExecutor
|
||||
{
|
||||
struct NodeCount1
|
||||
{
|
||||
std::string maxCount;
|
||||
std::string step;
|
||||
std::string minCount;
|
||||
};
|
||||
NodeCount1 nodeCount1;
|
||||
};
|
||||
std::vector<SupportedInstanceClass::SupportedExecutor> supportedExecutorList;
|
||||
std::string instanceClass;
|
||||
std::vector<SupportedInstanceClass::SupportedNodeCount> supportedNodeCountList;
|
||||
std::string tips;
|
||||
};
|
||||
std::string serial;
|
||||
std::vector<SupportedSerialListItem::SupportedFlexibleResourceItem> supportedFlexibleResource;
|
||||
std::vector<SupportedSerialListItem::SupportedInstanceClass> supportedInstanceClassList;
|
||||
};
|
||||
std::string serial;
|
||||
std::vector<SupportedSerial::SupportedInstanceClass> supportedInstanceClassList;
|
||||
std::string mode;
|
||||
std::vector<SupportedModeItem::SupportedSerialListItem> supportedSerialList;
|
||||
};
|
||||
std::string zoneId;
|
||||
std::vector<AvailableZone::SupportedSerial> supportedSerialList;
|
||||
std::vector<AvailableZone::SupportedModeItem> supportedMode;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -39,15 +39,19 @@ namespace AlibabaCloud
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
std::string storageResource;
|
||||
std::string category;
|
||||
std::string resourceGroupId;
|
||||
int port;
|
||||
std::string dBClusterId;
|
||||
std::string dBClusterNetworkType;
|
||||
std::string dBClusterType;
|
||||
std::string diskType;
|
||||
std::string dBVersion;
|
||||
std::string dtsJobId;
|
||||
long dBNodeCount;
|
||||
std::string commodityCode;
|
||||
std::string executorCount;
|
||||
std::string lockReason;
|
||||
std::string maintainTime;
|
||||
std::vector<DBCluster::Tag> tags;
|
||||
@@ -57,7 +61,9 @@ namespace AlibabaCloud
|
||||
std::string vPCId;
|
||||
std::string dBClusterStatus;
|
||||
std::string vSwitchId;
|
||||
std::string mode;
|
||||
std::string dBClusterDescription;
|
||||
std::string computeResource;
|
||||
std::string expired;
|
||||
std::string lockMode;
|
||||
std::string payType;
|
||||
|
||||
@@ -51,6 +51,8 @@ namespace AlibabaCloud
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
@@ -72,6 +74,7 @@ namespace AlibabaCloud
|
||||
std::string dBClusterStatus_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::vector<Tag> tag_;
|
||||
|
||||
@@ -39,25 +39,39 @@ namespace AlibabaCloud
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
long dBNodeStorage;
|
||||
std::string storageResource;
|
||||
std::string category;
|
||||
std::string dBClusterStatus;
|
||||
std::string createTime;
|
||||
std::string resourceGroupId;
|
||||
std::string port;
|
||||
std::string dBClusterId;
|
||||
std::string dBClusterDescription;
|
||||
std::string expired;
|
||||
std::string payType;
|
||||
std::string lockMode;
|
||||
std::string dBNodeClass;
|
||||
std::string dBClusterNetworkType;
|
||||
std::string dBClusterType;
|
||||
std::string diskType;
|
||||
std::string dBVersion;
|
||||
std::string dtsJobId;
|
||||
long dBNodeCount;
|
||||
std::string commodityCode;
|
||||
std::string regionId;
|
||||
std::string expireTime;
|
||||
std::string executorCount;
|
||||
std::string lockReason;
|
||||
std::vector<DBCluster::Tag> tags;
|
||||
std::string engine;
|
||||
long dBNodeStorage;
|
||||
std::string zoneId;
|
||||
std::string vPCId;
|
||||
std::string dBClusterStatus;
|
||||
std::string createTime;
|
||||
std::string vSwitchId;
|
||||
std::string mode;
|
||||
std::string dBClusterDescription;
|
||||
std::string computeResource;
|
||||
std::string expired;
|
||||
std::string payType;
|
||||
std::string lockMode;
|
||||
std::string dBNodeClass;
|
||||
std::string vPCCloudInstanceId;
|
||||
std::string regionId;
|
||||
std::string expireTime;
|
||||
std::string connectionString;
|
||||
std::string rdsInstanceId;
|
||||
};
|
||||
|
||||
|
||||
@@ -1,78 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBELOGHUBDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBELOGHUBDETAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeLoghubDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct LoghubInfo
|
||||
{
|
||||
struct LogHubStore
|
||||
{
|
||||
std::string type;
|
||||
std::string logKey;
|
||||
std::string fieldKey;
|
||||
};
|
||||
std::string description;
|
||||
std::string userName;
|
||||
std::string zoneId;
|
||||
std::string projectName;
|
||||
std::string deliverName;
|
||||
std::string deliverTime;
|
||||
std::string dBClusterId;
|
||||
std::string dBType;
|
||||
std::string tableName;
|
||||
bool filterDirtyData;
|
||||
std::string accessSecret;
|
||||
std::string logStoreName;
|
||||
std::string domainUrl;
|
||||
std::vector<LogHubStore> logHubStores;
|
||||
std::string regionId;
|
||||
std::string accessKey;
|
||||
std::string schemaName;
|
||||
std::string password;
|
||||
};
|
||||
|
||||
|
||||
DescribeLoghubDetailResult();
|
||||
explicit DescribeLoghubDetailResult(const std::string &payload);
|
||||
~DescribeLoghubDetailResult();
|
||||
LoghubInfo getLoghubInfo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
LoghubInfo loghubInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBELOGHUBDETAILRESULT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBETABLEPARTITIONDIAGNOSEREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBETABLEPARTITIONDIAGNOSEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeTablePartitionDiagnoseRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeTablePartitionDiagnoseRequest();
|
||||
~DescribeTablePartitionDiagnoseRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBETABLEPARTITIONDIAGNOSEREQUEST_H_
|
||||
@@ -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_ADB_MODEL_DESCRIBETABLEPARTITIONDIAGNOSERESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBETABLEPARTITIONDIAGNOSERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeTablePartitionDiagnoseResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TablePartitionDiagnose
|
||||
{
|
||||
std::string tableName;
|
||||
int partitionNumber;
|
||||
std::string partitionDetail;
|
||||
std::string schemaName;
|
||||
};
|
||||
|
||||
|
||||
DescribeTablePartitionDiagnoseResult();
|
||||
explicit DescribeTablePartitionDiagnoseResult(const std::string &payload);
|
||||
~DescribeTablePartitionDiagnoseResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
int getDBClusterId()const;
|
||||
long getSuggestMaxRecordsPerPartition()const;
|
||||
std::vector<TablePartitionDiagnose> getItems()const;
|
||||
long getSuggestMinRecordsPerPartition()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
int dBClusterId_;
|
||||
long suggestMaxRecordsPerPartition_;
|
||||
std::vector<TablePartitionDiagnose> items_;
|
||||
long suggestMinRecordsPerPartition_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBETABLEPARTITIONDIAGNOSERESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBELOGSTOREKEYSREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBELOGSTOREKEYSREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_MODIFYAUDITLOGCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_MODIFYAUDITLOGCONFIGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,12 +28,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeLogStoreKeysRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_ADB_EXPORT ModifyAuditLogConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeLogStoreKeysRequest();
|
||||
~DescribeLogStoreKeysRequest();
|
||||
ModifyAuditLogConfigRequest();
|
||||
~ModifyAuditLogConfigRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
@@ -41,29 +41,29 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getLogStoreName()const;
|
||||
void setLogStoreName(const std::string& logStoreName);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAuditLogStatus()const;
|
||||
void setAuditLogStatus(const std::string& auditLogStatus);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string projectName_;
|
||||
std::string logStoreName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string auditLogStatus_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBELOGSTOREKEYSREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYAUDITLOGCONFIGREQUEST_H_
|
||||
@@ -14,22 +14,22 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_R_KVSTORE_MODEL_MODIFYAUDITLOGCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_MODIFYAUDITLOGCONFIGRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_MODIFYAUDITLOGCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_MODIFYAUDITLOGCONFIGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace R_kvstore
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT ModifyAuditLogConfigResult : public ServiceResult
|
||||
class ALIBABACLOUD_ADB_EXPORT ModifyAuditLogConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_MODIFYAUDITLOGCONFIGRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYAUDITLOGCONFIGRESULT_H_
|
||||
@@ -39,8 +39,12 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getStorageResource()const;
|
||||
void setStorageResource(const std::string& storageResource);
|
||||
std::string getDBNodeClass()const;
|
||||
void setDBNodeClass(const std::string& dBNodeClass);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
@@ -53,20 +57,28 @@ namespace AlibabaCloud
|
||||
void setDBNodeGroupCount(const std::string& dBNodeGroupCount);
|
||||
std::string getDBNodeStorage()const;
|
||||
void setDBNodeStorage(const std::string& dBNodeStorage);
|
||||
std::string getExecutorCount()const;
|
||||
void setExecutorCount(const std::string& executorCount);
|
||||
std::string getModifyType()const;
|
||||
void setModifyType(const std::string& modifyType);
|
||||
std::string getComputeResource()const;
|
||||
void setComputeResource(const std::string& computeResource);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string storageResource_;
|
||||
std::string dBNodeClass_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string dBNodeGroupCount_;
|
||||
std::string dBNodeStorage_;
|
||||
std::string executorCount_;
|
||||
std::string modifyType_;
|
||||
std::string computeResource_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -303,6 +303,78 @@ AdbClient::DescribeAllDataSourceOutcomeCallable AdbClient::describeAllDataSource
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeAuditLogConfigOutcome AdbClient::describeAuditLogConfig(const DescribeAuditLogConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeAuditLogConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeAuditLogConfigOutcome(DescribeAuditLogConfigResult(outcome.result()));
|
||||
else
|
||||
return DescribeAuditLogConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeAuditLogConfigAsync(const DescribeAuditLogConfigRequest& request, const DescribeAuditLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeAuditLogConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeAuditLogConfigOutcomeCallable AdbClient::describeAuditLogConfigCallable(const DescribeAuditLogConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeAuditLogConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeAuditLogConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeAuditLogRecordsOutcome AdbClient::describeAuditLogRecords(const DescribeAuditLogRecordsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeAuditLogRecordsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeAuditLogRecordsOutcome(DescribeAuditLogRecordsResult(outcome.result()));
|
||||
else
|
||||
return DescribeAuditLogRecordsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeAuditLogRecordsAsync(const DescribeAuditLogRecordsRequest& request, const DescribeAuditLogRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeAuditLogRecords(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeAuditLogRecordsOutcomeCallable AdbClient::describeAuditLogRecordsCallable(const DescribeAuditLogRecordsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeAuditLogRecordsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeAuditLogRecords(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeAutoRenewAttributeOutcome AdbClient::describeAutoRenewAttribute(const DescribeAutoRenewAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -699,78 +771,6 @@ AdbClient::DescribeInclinedTablesOutcomeCallable AdbClient::describeInclinedTabl
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeLogStoreKeysOutcome AdbClient::describeLogStoreKeys(const DescribeLogStoreKeysRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLogStoreKeysOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLogStoreKeysOutcome(DescribeLogStoreKeysResult(outcome.result()));
|
||||
else
|
||||
return DescribeLogStoreKeysOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeLogStoreKeysAsync(const DescribeLogStoreKeysRequest& request, const DescribeLogStoreKeysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLogStoreKeys(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeLogStoreKeysOutcomeCallable AdbClient::describeLogStoreKeysCallable(const DescribeLogStoreKeysRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLogStoreKeysOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLogStoreKeys(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeLoghubDetailOutcome AdbClient::describeLoghubDetail(const DescribeLoghubDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLoghubDetailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLoghubDetailOutcome(DescribeLoghubDetailResult(outcome.result()));
|
||||
else
|
||||
return DescribeLoghubDetailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeLoghubDetailAsync(const DescribeLoghubDetailRequest& request, const DescribeLoghubDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLoghubDetail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeLoghubDetailOutcomeCallable AdbClient::describeLoghubDetailCallable(const DescribeLoghubDetailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLoghubDetailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLoghubDetail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeOperatorPermissionOutcome AdbClient::describeOperatorPermission(const DescribeOperatorPermissionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1023,6 +1023,42 @@ AdbClient::DescribeTableDetailOutcomeCallable AdbClient::describeTableDetailCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeTablePartitionDiagnoseOutcome AdbClient::describeTablePartitionDiagnose(const DescribeTablePartitionDiagnoseRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeTablePartitionDiagnoseOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeTablePartitionDiagnoseOutcome(DescribeTablePartitionDiagnoseResult(outcome.result()));
|
||||
else
|
||||
return DescribeTablePartitionDiagnoseOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeTablePartitionDiagnoseAsync(const DescribeTablePartitionDiagnoseRequest& request, const DescribeTablePartitionDiagnoseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeTablePartitionDiagnose(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeTablePartitionDiagnoseOutcomeCallable AdbClient::describeTablePartitionDiagnoseCallable(const DescribeTablePartitionDiagnoseRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeTablePartitionDiagnoseOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeTablePartitionDiagnose(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeTablesOutcome AdbClient::describeTables(const DescribeTablesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1239,6 +1275,42 @@ AdbClient::ModifyAccountDescriptionOutcomeCallable AdbClient::modifyAccountDescr
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::ModifyAuditLogConfigOutcome AdbClient::modifyAuditLogConfig(const ModifyAuditLogConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyAuditLogConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyAuditLogConfigOutcome(ModifyAuditLogConfigResult(outcome.result()));
|
||||
else
|
||||
return ModifyAuditLogConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::modifyAuditLogConfigAsync(const ModifyAuditLogConfigRequest& request, const ModifyAuditLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyAuditLogConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::ModifyAuditLogConfigOutcomeCallable AdbClient::modifyAuditLogConfigCallable(const ModifyAuditLogConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyAuditLogConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyAuditLogConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::ModifyAutoRenewAttributeOutcome AdbClient::modifyAutoRenewAttribute(const ModifyAutoRenewAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -60,6 +60,17 @@ void CreateDBClusterRequest::setClientToken(const std::string& clientToken)
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getStorageType()const
|
||||
{
|
||||
return storageType_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setStorageType(const std::string& storageType)
|
||||
{
|
||||
storageType_ = storageType;
|
||||
setParameter("StorageType", storageType);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -71,6 +82,39 @@ void CreateDBClusterRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getMode()const
|
||||
{
|
||||
return mode_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setMode(const std::string& mode)
|
||||
{
|
||||
mode_ = mode;
|
||||
setParameter("Mode", mode);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getStorageResource()const
|
||||
{
|
||||
return storageResource_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setStorageResource(const std::string& storageResource)
|
||||
{
|
||||
storageResource_ = storageResource;
|
||||
setParameter("StorageResource", storageResource);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -214,6 +258,17 @@ void CreateDBClusterRequest::setDBNodeStorage(const std::string& dBNodeStorage)
|
||||
setParameter("DBNodeStorage", dBNodeStorage);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getExecutorCount()const
|
||||
{
|
||||
return executorCount_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setExecutorCount(const std::string& executorCount)
|
||||
{
|
||||
executorCount_ = executorCount;
|
||||
setParameter("ExecutorCount", executorCount);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getVPCId()const
|
||||
{
|
||||
return vPCId_;
|
||||
@@ -236,6 +291,17 @@ void CreateDBClusterRequest::setZoneId(const std::string& zoneId)
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getComputeResource()const
|
||||
{
|
||||
return computeResource_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setComputeResource(const std::string& computeResource)
|
||||
{
|
||||
computeResource_ = computeResource;
|
||||
setParameter("ComputeResource", computeResource);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getPayType()const
|
||||
{
|
||||
return payType_;
|
||||
|
||||
@@ -43,9 +43,16 @@ void CreateDBClusterResult::parse(const std::string &payload)
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = value["OrderId"].asString();
|
||||
if(!value["ResourceGroupId"].isNull())
|
||||
resourceGroupId_ = value["ResourceGroupId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateDBClusterResult::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
std::string CreateDBClusterResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
|
||||
106
adb/src/model/DescribeAuditLogConfigRequest.cc
Normal file
106
adb/src/model/DescribeAuditLogConfigRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeAuditLogConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeAuditLogConfigRequest;
|
||||
|
||||
DescribeAuditLogConfigRequest::DescribeAuditLogConfigRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "DescribeAuditLogConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAuditLogConfigRequest::~DescribeAuditLogConfigRequest()
|
||||
{}
|
||||
|
||||
long DescribeAuditLogConfigRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogConfigRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogConfigRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogConfigRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogConfigRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogConfigRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogConfigRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogConfigRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogConfigRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogConfigRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeAuditLogConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -14,39 +14,45 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeLogStoreKeysResult.h>
|
||||
#include <alibabacloud/adb/model/DescribeAuditLogConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeLogStoreKeysResult::DescribeLogStoreKeysResult() :
|
||||
DescribeAuditLogConfigResult::DescribeAuditLogConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeLogStoreKeysResult::DescribeLogStoreKeysResult(const std::string &payload) :
|
||||
DescribeAuditLogConfigResult::DescribeAuditLogConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeLogStoreKeysResult::~DescribeLogStoreKeysResult()
|
||||
DescribeAuditLogConfigResult::~DescribeAuditLogConfigResult()
|
||||
{}
|
||||
|
||||
void DescribeLogStoreKeysResult::parse(const std::string &payload)
|
||||
void DescribeAuditLogConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allLogStoreKeys = value["LogStoreKeys"]["LogStoreKey"];
|
||||
for (const auto &item : allLogStoreKeys)
|
||||
logStoreKeys_.push_back(item.asString());
|
||||
if(!value["AuditLogStatus"].isNull())
|
||||
auditLogStatus_ = value["AuditLogStatus"].asString();
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeLogStoreKeysResult::getLogStoreKeys()const
|
||||
std::string DescribeAuditLogConfigResult::getAuditLogStatus()const
|
||||
{
|
||||
return logStoreKeys_;
|
||||
return auditLogStatus_;
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogConfigResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
227
adb/src/model/DescribeAuditLogRecordsRequest.cc
Normal file
227
adb/src/model/DescribeAuditLogRecordsRequest.cc
Normal file
@@ -0,0 +1,227 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeAuditLogRecordsRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeAuditLogRecordsRequest;
|
||||
|
||||
DescribeAuditLogRecordsRequest::DescribeAuditLogRecordsRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "DescribeAuditLogRecords")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAuditLogRecordsRequest::~DescribeAuditLogRecordsRequest()
|
||||
{}
|
||||
|
||||
long DescribeAuditLogRecordsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
int DescribeAuditLogRecordsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getHostAddress()const
|
||||
{
|
||||
return hostAddress_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setHostAddress(const std::string& hostAddress)
|
||||
{
|
||||
hostAddress_ = hostAddress;
|
||||
setParameter("HostAddress", hostAddress);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
int DescribeAuditLogRecordsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getSqlType()const
|
||||
{
|
||||
return sqlType_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setSqlType(const std::string& sqlType)
|
||||
{
|
||||
sqlType_ = sqlType;
|
||||
setParameter("SqlType", sqlType);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getQueryKeyword()const
|
||||
{
|
||||
return queryKeyword_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setQueryKeyword(const std::string& queryKeyword)
|
||||
{
|
||||
queryKeyword_ = queryKeyword;
|
||||
setParameter("QueryKeyword", queryKeyword);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeAuditLogRecordsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getDBName()const
|
||||
{
|
||||
return dBName_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setDBName(const std::string& dBName)
|
||||
{
|
||||
dBName_ = dBName;
|
||||
setParameter("DBName", dBName);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getSucceed()const
|
||||
{
|
||||
return succeed_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setSucceed(const std::string& succeed)
|
||||
{
|
||||
succeed_ = succeed;
|
||||
setParameter("Succeed", succeed);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getUser()const
|
||||
{
|
||||
return user_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setUser(const std::string& user)
|
||||
{
|
||||
user_ = user;
|
||||
setParameter("User", user);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getOrderType()const
|
||||
{
|
||||
return orderType_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setOrderType(const std::string& orderType)
|
||||
{
|
||||
orderType_ = orderType;
|
||||
setParameter("OrderType", orderType);
|
||||
}
|
||||
|
||||
101
adb/src/model/DescribeAuditLogRecordsResult.cc
Normal file
101
adb/src/model/DescribeAuditLogRecordsResult.cc
Normal file
@@ -0,0 +1,101 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeAuditLogRecordsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeAuditLogRecordsResult::DescribeAuditLogRecordsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAuditLogRecordsResult::DescribeAuditLogRecordsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAuditLogRecordsResult::~DescribeAuditLogRecordsResult()
|
||||
{}
|
||||
|
||||
void DescribeAuditLogRecordsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["SlowLogRecord"];
|
||||
for (auto valueItemsSlowLogRecord : allItemsNode)
|
||||
{
|
||||
SlowLogRecord itemsObject;
|
||||
if(!valueItemsSlowLogRecord["HostAddress"].isNull())
|
||||
itemsObject.hostAddress = valueItemsSlowLogRecord["HostAddress"].asString();
|
||||
if(!valueItemsSlowLogRecord["DBName"].isNull())
|
||||
itemsObject.dBName = valueItemsSlowLogRecord["DBName"].asString();
|
||||
if(!valueItemsSlowLogRecord["SQLText"].isNull())
|
||||
itemsObject.sQLText = valueItemsSlowLogRecord["SQLText"].asString();
|
||||
if(!valueItemsSlowLogRecord["SQLType"].isNull())
|
||||
itemsObject.sQLType = valueItemsSlowLogRecord["SQLType"].asString();
|
||||
if(!valueItemsSlowLogRecord["ConnId"].isNull())
|
||||
itemsObject.connId = valueItemsSlowLogRecord["ConnId"].asString();
|
||||
if(!valueItemsSlowLogRecord["ExecuteTime"].isNull())
|
||||
itemsObject.executeTime = valueItemsSlowLogRecord["ExecuteTime"].asString();
|
||||
if(!valueItemsSlowLogRecord["Succeed"].isNull())
|
||||
itemsObject.succeed = valueItemsSlowLogRecord["Succeed"].asString();
|
||||
if(!valueItemsSlowLogRecord["TotalTime"].isNull())
|
||||
itemsObject.totalTime = valueItemsSlowLogRecord["TotalTime"].asString();
|
||||
if(!valueItemsSlowLogRecord["ProcessID"].isNull())
|
||||
itemsObject.processID = valueItemsSlowLogRecord["ProcessID"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = value["TotalCount"].asString();
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = value["PageNumber"].asString();
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = value["PageSize"].asString();
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAuditLogRecordsResult::SlowLogRecord> DescribeAuditLogRecordsResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
@@ -60,6 +60,17 @@ void DescribeAutoRenewAttributeRequest::setAccessKeyId(const std::string& access
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeAutoRenewAttributeRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DescribeAutoRenewAttributeRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeAutoRenewAttributeRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
|
||||
@@ -45,39 +45,74 @@ void DescribeAvailableResourceResult::parse(const std::string &payload)
|
||||
AvailableZone availableZoneListObject;
|
||||
if(!valueAvailableZoneListAvailableZone["ZoneId"].isNull())
|
||||
availableZoneListObject.zoneId = valueAvailableZoneListAvailableZone["ZoneId"].asString();
|
||||
auto allSupportedSerialListNode = allAvailableZoneListNode["SupportedSerialList"]["SupportedSerial"];
|
||||
for (auto allAvailableZoneListNodeSupportedSerialListSupportedSerial : allSupportedSerialListNode)
|
||||
auto allSupportedModeNode = allAvailableZoneListNode["SupportedMode"]["SupportedModeItem"];
|
||||
for (auto allAvailableZoneListNodeSupportedModeSupportedModeItem : allSupportedModeNode)
|
||||
{
|
||||
AvailableZone::SupportedSerial supportedSerialListObject;
|
||||
if(!allAvailableZoneListNodeSupportedSerialListSupportedSerial["Serial"].isNull())
|
||||
supportedSerialListObject.serial = allAvailableZoneListNodeSupportedSerialListSupportedSerial["Serial"].asString();
|
||||
auto allSupportedInstanceClassListNode = allSupportedSerialListNode["SupportedInstanceClassList"]["SupportedInstanceClass"];
|
||||
for (auto allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass : allSupportedInstanceClassListNode)
|
||||
AvailableZone::SupportedModeItem supportedModeObject;
|
||||
if(!allAvailableZoneListNodeSupportedModeSupportedModeItem["Mode"].isNull())
|
||||
supportedModeObject.mode = allAvailableZoneListNodeSupportedModeSupportedModeItem["Mode"].asString();
|
||||
auto allSupportedSerialListNode = allSupportedModeNode["SupportedSerialList"]["SupportedSerialListItem"];
|
||||
for (auto allSupportedModeNodeSupportedSerialListSupportedSerialListItem : allSupportedSerialListNode)
|
||||
{
|
||||
AvailableZone::SupportedSerial::SupportedInstanceClass supportedInstanceClassListObject;
|
||||
if(!allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["InstanceClass"].isNull())
|
||||
supportedInstanceClassListObject.instanceClass = allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["InstanceClass"].asString();
|
||||
if(!allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["Tips"].isNull())
|
||||
supportedInstanceClassListObject.tips = allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["Tips"].asString();
|
||||
auto allSupportedNodeCountListNode = allSupportedInstanceClassListNode["SupportedNodeCountList"]["SupportedNodeCount"];
|
||||
for (auto allSupportedInstanceClassListNodeSupportedNodeCountListSupportedNodeCount : allSupportedNodeCountListNode)
|
||||
AvailableZone::SupportedModeItem::SupportedSerialListItem supportedSerialListObject;
|
||||
if(!allSupportedModeNodeSupportedSerialListSupportedSerialListItem["Serial"].isNull())
|
||||
supportedSerialListObject.serial = allSupportedModeNodeSupportedSerialListSupportedSerialListItem["Serial"].asString();
|
||||
auto allSupportedFlexibleResourceNode = allSupportedSerialListNode["SupportedFlexibleResource"]["SupportedFlexibleResourceItem"];
|
||||
for (auto allSupportedSerialListNodeSupportedFlexibleResourceSupportedFlexibleResourceItem : allSupportedFlexibleResourceNode)
|
||||
{
|
||||
AvailableZone::SupportedSerial::SupportedInstanceClass::SupportedNodeCount supportedNodeCountListObject;
|
||||
auto nodeCountNode = value["NodeCount"];
|
||||
if(!nodeCountNode["MinCount"].isNull())
|
||||
supportedNodeCountListObject.nodeCount.minCount = nodeCountNode["MinCount"].asString();
|
||||
if(!nodeCountNode["MaxCount"].isNull())
|
||||
supportedNodeCountListObject.nodeCount.maxCount = nodeCountNode["MaxCount"].asString();
|
||||
if(!nodeCountNode["Step"].isNull())
|
||||
supportedNodeCountListObject.nodeCount.step = nodeCountNode["Step"].asString();
|
||||
auto allStorageSize = value["StorageSize"]["StorageSize"];
|
||||
for (auto value : allStorageSize)
|
||||
supportedNodeCountListObject.storageSize.push_back(value.asString());
|
||||
supportedInstanceClassListObject.supportedNodeCountList.push_back(supportedNodeCountListObject);
|
||||
AvailableZone::SupportedModeItem::SupportedSerialListItem::SupportedFlexibleResourceItem supportedFlexibleResourceObject;
|
||||
if(!allSupportedSerialListNodeSupportedFlexibleResourceSupportedFlexibleResourceItem["StorageType"].isNull())
|
||||
supportedFlexibleResourceObject.storageType = allSupportedSerialListNodeSupportedFlexibleResourceSupportedFlexibleResourceItem["StorageType"].asString();
|
||||
auto allSupportedStorageResource = value["SupportedStorageResource"]["SupportedStorageResource"];
|
||||
for (auto value : allSupportedStorageResource)
|
||||
supportedFlexibleResourceObject.supportedStorageResource.push_back(value.asString());
|
||||
auto allSupportedComputeResource = value["SupportedComputeResource"]["SupportedComputeResource"];
|
||||
for (auto value : allSupportedComputeResource)
|
||||
supportedFlexibleResourceObject.supportedComputeResource.push_back(value.asString());
|
||||
supportedSerialListObject.supportedFlexibleResource.push_back(supportedFlexibleResourceObject);
|
||||
}
|
||||
supportedSerialListObject.supportedInstanceClassList.push_back(supportedInstanceClassListObject);
|
||||
auto allSupportedInstanceClassListNode = allSupportedSerialListNode["SupportedInstanceClassList"]["SupportedInstanceClass"];
|
||||
for (auto allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass : allSupportedInstanceClassListNode)
|
||||
{
|
||||
AvailableZone::SupportedModeItem::SupportedSerialListItem::SupportedInstanceClass supportedInstanceClassListObject;
|
||||
if(!allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["InstanceClass"].isNull())
|
||||
supportedInstanceClassListObject.instanceClass = allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["InstanceClass"].asString();
|
||||
if(!allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["Tips"].isNull())
|
||||
supportedInstanceClassListObject.tips = allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["Tips"].asString();
|
||||
auto allSupportedNodeCountListNode = allSupportedInstanceClassListNode["SupportedNodeCountList"]["SupportedNodeCount"];
|
||||
for (auto allSupportedInstanceClassListNodeSupportedNodeCountListSupportedNodeCount : allSupportedNodeCountListNode)
|
||||
{
|
||||
AvailableZone::SupportedModeItem::SupportedSerialListItem::SupportedInstanceClass::SupportedNodeCount supportedNodeCountListObject;
|
||||
auto nodeCountNode = value["NodeCount"];
|
||||
if(!nodeCountNode["MinCount"].isNull())
|
||||
supportedNodeCountListObject.nodeCount.minCount = nodeCountNode["MinCount"].asString();
|
||||
if(!nodeCountNode["MaxCount"].isNull())
|
||||
supportedNodeCountListObject.nodeCount.maxCount = nodeCountNode["MaxCount"].asString();
|
||||
if(!nodeCountNode["Step"].isNull())
|
||||
supportedNodeCountListObject.nodeCount.step = nodeCountNode["Step"].asString();
|
||||
auto allStorageSize = value["StorageSize"]["StorageSize"];
|
||||
for (auto value : allStorageSize)
|
||||
supportedNodeCountListObject.storageSize.push_back(value.asString());
|
||||
supportedInstanceClassListObject.supportedNodeCountList.push_back(supportedNodeCountListObject);
|
||||
}
|
||||
auto allSupportedExecutorListNode = allSupportedInstanceClassListNode["SupportedExecutorList"]["SupportedExecutor"];
|
||||
for (auto allSupportedInstanceClassListNodeSupportedExecutorListSupportedExecutor : allSupportedExecutorListNode)
|
||||
{
|
||||
AvailableZone::SupportedModeItem::SupportedSerialListItem::SupportedInstanceClass::SupportedExecutor supportedExecutorListObject;
|
||||
auto nodeCount1Node = value["NodeCount"];
|
||||
if(!nodeCount1Node["MinCount"].isNull())
|
||||
supportedExecutorListObject.nodeCount1.minCount = nodeCount1Node["MinCount"].asString();
|
||||
if(!nodeCount1Node["MaxCount"].isNull())
|
||||
supportedExecutorListObject.nodeCount1.maxCount = nodeCount1Node["MaxCount"].asString();
|
||||
if(!nodeCount1Node["Step"].isNull())
|
||||
supportedExecutorListObject.nodeCount1.step = nodeCount1Node["Step"].asString();
|
||||
supportedInstanceClassListObject.supportedExecutorList.push_back(supportedExecutorListObject);
|
||||
}
|
||||
supportedSerialListObject.supportedInstanceClassList.push_back(supportedInstanceClassListObject);
|
||||
}
|
||||
supportedModeObject.supportedSerialList.push_back(supportedSerialListObject);
|
||||
}
|
||||
availableZoneListObject.supportedSerialList.push_back(supportedSerialListObject);
|
||||
availableZoneListObject.supportedMode.push_back(supportedModeObject);
|
||||
}
|
||||
availableZoneList_.push_back(availableZoneListObject);
|
||||
}
|
||||
|
||||
@@ -99,6 +99,18 @@ void DescribeDBClusterAttributeResult::parse(const std::string &payload)
|
||||
itemsObject.rdsInstanceId = valueItemsDBCluster["RdsInstanceId"].asString();
|
||||
if(!valueItemsDBCluster["DtsJobId"].isNull())
|
||||
itemsObject.dtsJobId = valueItemsDBCluster["DtsJobId"].asString();
|
||||
if(!valueItemsDBCluster["ExecutorCount"].isNull())
|
||||
itemsObject.executorCount = valueItemsDBCluster["ExecutorCount"].asString();
|
||||
if(!valueItemsDBCluster["DiskType"].isNull())
|
||||
itemsObject.diskType = valueItemsDBCluster["DiskType"].asString();
|
||||
if(!valueItemsDBCluster["ComputeResource"].isNull())
|
||||
itemsObject.computeResource = valueItemsDBCluster["ComputeResource"].asString();
|
||||
if(!valueItemsDBCluster["StorageResource"].isNull())
|
||||
itemsObject.storageResource = valueItemsDBCluster["StorageResource"].asString();
|
||||
if(!valueItemsDBCluster["Mode"].isNull())
|
||||
itemsObject.mode = valueItemsDBCluster["Mode"].asString();
|
||||
if(!valueItemsDBCluster["ResourceGroupId"].isNull())
|
||||
itemsObject.resourceGroupId = valueItemsDBCluster["ResourceGroupId"].asString();
|
||||
auto allTagsNode = allItemsNode["Tags"]["Tag"];
|
||||
for (auto allItemsNodeTagsTag : allTagsNode)
|
||||
{
|
||||
|
||||
@@ -82,6 +82,17 @@ void DescribeDBClustersRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClustersRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DescribeDBClustersRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClustersRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
|
||||
@@ -81,6 +81,34 @@ void DescribeDBClustersResult::parse(const std::string &payload)
|
||||
itemsObject.rdsInstanceId = valueItemsDBCluster["RdsInstanceId"].asString();
|
||||
if(!valueItemsDBCluster["DtsJobId"].isNull())
|
||||
itemsObject.dtsJobId = valueItemsDBCluster["DtsJobId"].asString();
|
||||
if(!valueItemsDBCluster["ExecutorCount"].isNull())
|
||||
itemsObject.executorCount = valueItemsDBCluster["ExecutorCount"].asString();
|
||||
if(!valueItemsDBCluster["DiskType"].isNull())
|
||||
itemsObject.diskType = valueItemsDBCluster["DiskType"].asString();
|
||||
if(!valueItemsDBCluster["VPCCloudInstanceId"].isNull())
|
||||
itemsObject.vPCCloudInstanceId = valueItemsDBCluster["VPCCloudInstanceId"].asString();
|
||||
if(!valueItemsDBCluster["Engine"].isNull())
|
||||
itemsObject.engine = valueItemsDBCluster["Engine"].asString();
|
||||
if(!valueItemsDBCluster["DBClusterNetworkType"].isNull())
|
||||
itemsObject.dBClusterNetworkType = valueItemsDBCluster["DBClusterNetworkType"].asString();
|
||||
if(!valueItemsDBCluster["VPCId"].isNull())
|
||||
itemsObject.vPCId = valueItemsDBCluster["VPCId"].asString();
|
||||
if(!valueItemsDBCluster["VSwitchId"].isNull())
|
||||
itemsObject.vSwitchId = valueItemsDBCluster["VSwitchId"].asString();
|
||||
if(!valueItemsDBCluster["ZoneId"].isNull())
|
||||
itemsObject.zoneId = valueItemsDBCluster["ZoneId"].asString();
|
||||
if(!valueItemsDBCluster["ConnectionString"].isNull())
|
||||
itemsObject.connectionString = valueItemsDBCluster["ConnectionString"].asString();
|
||||
if(!valueItemsDBCluster["Port"].isNull())
|
||||
itemsObject.port = valueItemsDBCluster["Port"].asString();
|
||||
if(!valueItemsDBCluster["ComputeResource"].isNull())
|
||||
itemsObject.computeResource = valueItemsDBCluster["ComputeResource"].asString();
|
||||
if(!valueItemsDBCluster["StorageResource"].isNull())
|
||||
itemsObject.storageResource = valueItemsDBCluster["StorageResource"].asString();
|
||||
if(!valueItemsDBCluster["Mode"].isNull())
|
||||
itemsObject.mode = valueItemsDBCluster["Mode"].asString();
|
||||
if(!valueItemsDBCluster["ResourceGroupId"].isNull())
|
||||
itemsObject.resourceGroupId = valueItemsDBCluster["ResourceGroupId"].asString();
|
||||
auto allTagsNode = allItemsNode["Tags"]["Tag"];
|
||||
for (auto allItemsNodeTagsTag : allTagsNode)
|
||||
{
|
||||
|
||||
@@ -1,117 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeLogStoreKeysRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeLogStoreKeysRequest;
|
||||
|
||||
DescribeLogStoreKeysRequest::DescribeLogStoreKeysRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "DescribeLogStoreKeys")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeLogStoreKeysRequest::~DescribeLogStoreKeysRequest()
|
||||
{}
|
||||
|
||||
long DescribeLogStoreKeysRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeLogStoreKeysRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeLogStoreKeysRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeLogStoreKeysRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeLogStoreKeysRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeLogStoreKeysRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeLogStoreKeysRequest::getProjectName()const
|
||||
{
|
||||
return projectName_;
|
||||
}
|
||||
|
||||
void DescribeLogStoreKeysRequest::setProjectName(const std::string& projectName)
|
||||
{
|
||||
projectName_ = projectName;
|
||||
setParameter("ProjectName", projectName);
|
||||
}
|
||||
|
||||
std::string DescribeLogStoreKeysRequest::getLogStoreName()const
|
||||
{
|
||||
return logStoreName_;
|
||||
}
|
||||
|
||||
void DescribeLogStoreKeysRequest::setLogStoreName(const std::string& logStoreName)
|
||||
{
|
||||
logStoreName_ = logStoreName;
|
||||
setParameter("LogStoreName", logStoreName);
|
||||
}
|
||||
|
||||
std::string DescribeLogStoreKeysRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeLogStoreKeysRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeLogStoreKeysRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeLogStoreKeysRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeLogStoreKeysRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLogStoreKeysRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,117 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeLoghubDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeLoghubDetailRequest;
|
||||
|
||||
DescribeLoghubDetailRequest::DescribeLoghubDetailRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "DescribeLoghubDetail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeLoghubDetailRequest::~DescribeLoghubDetailRequest()
|
||||
{}
|
||||
|
||||
long DescribeLoghubDetailRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeLoghubDetailRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeLoghubDetailRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeLoghubDetailRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeLoghubDetailRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeLoghubDetailRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeLoghubDetailRequest::getProjectName()const
|
||||
{
|
||||
return projectName_;
|
||||
}
|
||||
|
||||
void DescribeLoghubDetailRequest::setProjectName(const std::string& projectName)
|
||||
{
|
||||
projectName_ = projectName;
|
||||
setParameter("ProjectName", projectName);
|
||||
}
|
||||
|
||||
std::string DescribeLoghubDetailRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeLoghubDetailRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeLoghubDetailRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeLoghubDetailRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeLoghubDetailRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLoghubDetailRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeLoghubDetailRequest::getExportName()const
|
||||
{
|
||||
return exportName_;
|
||||
}
|
||||
|
||||
void DescribeLoghubDetailRequest::setExportName(const std::string& exportName)
|
||||
{
|
||||
exportName_ = exportName;
|
||||
setParameter("ExportName", exportName);
|
||||
}
|
||||
|
||||
@@ -1,96 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeLoghubDetailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeLoghubDetailResult::DescribeLoghubDetailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeLoghubDetailResult::DescribeLoghubDetailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeLoghubDetailResult::~DescribeLoghubDetailResult()
|
||||
{}
|
||||
|
||||
void DescribeLoghubDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto loghubInfoNode = value["LoghubInfo"];
|
||||
if(!loghubInfoNode["ProjectName"].isNull())
|
||||
loghubInfo_.projectName = loghubInfoNode["ProjectName"].asString();
|
||||
if(!loghubInfoNode["LogStoreName"].isNull())
|
||||
loghubInfo_.logStoreName = loghubInfoNode["LogStoreName"].asString();
|
||||
if(!loghubInfoNode["DeliverName"].isNull())
|
||||
loghubInfo_.deliverName = loghubInfoNode["DeliverName"].asString();
|
||||
if(!loghubInfoNode["DeliverTime"].isNull())
|
||||
loghubInfo_.deliverTime = loghubInfoNode["DeliverTime"].asString();
|
||||
if(!loghubInfoNode["DomainUrl"].isNull())
|
||||
loghubInfo_.domainUrl = loghubInfoNode["DomainUrl"].asString();
|
||||
if(!loghubInfoNode["Description"].isNull())
|
||||
loghubInfo_.description = loghubInfoNode["Description"].asString();
|
||||
if(!loghubInfoNode["SchemaName"].isNull())
|
||||
loghubInfo_.schemaName = loghubInfoNode["SchemaName"].asString();
|
||||
if(!loghubInfoNode["TableName"].isNull())
|
||||
loghubInfo_.tableName = loghubInfoNode["TableName"].asString();
|
||||
if(!loghubInfoNode["RegionId"].isNull())
|
||||
loghubInfo_.regionId = loghubInfoNode["RegionId"].asString();
|
||||
if(!loghubInfoNode["ZoneId"].isNull())
|
||||
loghubInfo_.zoneId = loghubInfoNode["ZoneId"].asString();
|
||||
if(!loghubInfoNode["UserName"].isNull())
|
||||
loghubInfo_.userName = loghubInfoNode["UserName"].asString();
|
||||
if(!loghubInfoNode["Password"].isNull())
|
||||
loghubInfo_.password = loghubInfoNode["Password"].asString();
|
||||
if(!loghubInfoNode["FilterDirtyData"].isNull())
|
||||
loghubInfo_.filterDirtyData = loghubInfoNode["FilterDirtyData"].asString() == "true";
|
||||
if(!loghubInfoNode["AccessKey"].isNull())
|
||||
loghubInfo_.accessKey = loghubInfoNode["AccessKey"].asString();
|
||||
if(!loghubInfoNode["AccessSecret"].isNull())
|
||||
loghubInfo_.accessSecret = loghubInfoNode["AccessSecret"].asString();
|
||||
if(!loghubInfoNode["DBType"].isNull())
|
||||
loghubInfo_.dBType = loghubInfoNode["DBType"].asString();
|
||||
if(!loghubInfoNode["DBClusterId"].isNull())
|
||||
loghubInfo_.dBClusterId = loghubInfoNode["DBClusterId"].asString();
|
||||
auto allLogHubStoresNode = loghubInfoNode["LogHubStores"]["LogHubStore"];
|
||||
for (auto loghubInfoNodeLogHubStoresLogHubStore : allLogHubStoresNode)
|
||||
{
|
||||
LoghubInfo::LogHubStore logHubStoreObject;
|
||||
if(!loghubInfoNodeLogHubStoresLogHubStore["LogKey"].isNull())
|
||||
logHubStoreObject.logKey = loghubInfoNodeLogHubStoresLogHubStore["LogKey"].asString();
|
||||
if(!loghubInfoNodeLogHubStoresLogHubStore["FieldKey"].isNull())
|
||||
logHubStoreObject.fieldKey = loghubInfoNodeLogHubStoresLogHubStore["FieldKey"].asString();
|
||||
if(!loghubInfoNodeLogHubStoresLogHubStore["Type"].isNull())
|
||||
logHubStoreObject.type = loghubInfoNodeLogHubStoresLogHubStore["Type"].asString();
|
||||
loghubInfo_.logHubStores.push_back(logHubStoreObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
DescribeLoghubDetailResult::LoghubInfo DescribeLoghubDetailResult::getLoghubInfo()const
|
||||
{
|
||||
return loghubInfo_;
|
||||
}
|
||||
|
||||
128
adb/src/model/DescribeTablePartitionDiagnoseRequest.cc
Normal file
128
adb/src/model/DescribeTablePartitionDiagnoseRequest.cc
Normal file
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeTablePartitionDiagnoseRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeTablePartitionDiagnoseRequest;
|
||||
|
||||
DescribeTablePartitionDiagnoseRequest::DescribeTablePartitionDiagnoseRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "DescribeTablePartitionDiagnose")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeTablePartitionDiagnoseRequest::~DescribeTablePartitionDiagnoseRequest()
|
||||
{}
|
||||
|
||||
long DescribeTablePartitionDiagnoseRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeTablePartitionDiagnoseRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int DescribeTablePartitionDiagnoseRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeTablePartitionDiagnoseRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeTablePartitionDiagnoseRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeTablePartitionDiagnoseRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeTablePartitionDiagnoseRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeTablePartitionDiagnoseRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
int DescribeTablePartitionDiagnoseRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeTablePartitionDiagnoseRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeTablePartitionDiagnoseRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeTablePartitionDiagnoseRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeTablePartitionDiagnoseRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeTablePartitionDiagnoseRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeTablePartitionDiagnoseRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeTablePartitionDiagnoseRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeTablePartitionDiagnoseRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeTablePartitionDiagnoseRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
105
adb/src/model/DescribeTablePartitionDiagnoseResult.cc
Normal file
105
adb/src/model/DescribeTablePartitionDiagnoseResult.cc
Normal file
@@ -0,0 +1,105 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeTablePartitionDiagnoseResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeTablePartitionDiagnoseResult::DescribeTablePartitionDiagnoseResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeTablePartitionDiagnoseResult::DescribeTablePartitionDiagnoseResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeTablePartitionDiagnoseResult::~DescribeTablePartitionDiagnoseResult()
|
||||
{}
|
||||
|
||||
void DescribeTablePartitionDiagnoseResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["TablePartitionDiagnose"];
|
||||
for (auto valueItemsTablePartitionDiagnose : allItemsNode)
|
||||
{
|
||||
TablePartitionDiagnose itemsObject;
|
||||
if(!valueItemsTablePartitionDiagnose["SchemaName"].isNull())
|
||||
itemsObject.schemaName = valueItemsTablePartitionDiagnose["SchemaName"].asString();
|
||||
if(!valueItemsTablePartitionDiagnose["TableName"].isNull())
|
||||
itemsObject.tableName = valueItemsTablePartitionDiagnose["TableName"].asString();
|
||||
if(!valueItemsTablePartitionDiagnose["PartitionNumber"].isNull())
|
||||
itemsObject.partitionNumber = std::stoi(valueItemsTablePartitionDiagnose["PartitionNumber"].asString());
|
||||
if(!valueItemsTablePartitionDiagnose["PartitionDetail"].isNull())
|
||||
itemsObject.partitionDetail = valueItemsTablePartitionDiagnose["PartitionDetail"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = std::stoi(value["DBClusterId"].asString());
|
||||
if(!value["SuggestMinRecordsPerPartition"].isNull())
|
||||
suggestMinRecordsPerPartition_ = std::stol(value["SuggestMinRecordsPerPartition"].asString());
|
||||
if(!value["SuggestMaxRecordsPerPartition"].isNull())
|
||||
suggestMaxRecordsPerPartition_ = std::stol(value["SuggestMaxRecordsPerPartition"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeTablePartitionDiagnoseResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
int DescribeTablePartitionDiagnoseResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeTablePartitionDiagnoseResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
int DescribeTablePartitionDiagnoseResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
long DescribeTablePartitionDiagnoseResult::getSuggestMaxRecordsPerPartition()const
|
||||
{
|
||||
return suggestMaxRecordsPerPartition_;
|
||||
}
|
||||
|
||||
std::vector<DescribeTablePartitionDiagnoseResult::TablePartitionDiagnose> DescribeTablePartitionDiagnoseResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
long DescribeTablePartitionDiagnoseResult::getSuggestMinRecordsPerPartition()const
|
||||
{
|
||||
return suggestMinRecordsPerPartition_;
|
||||
}
|
||||
|
||||
@@ -14,12 +14,12 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/r-kvstore/model/ModifyAuditLogConfigRequest.h>
|
||||
#include <alibabacloud/adb/model/ModifyAuditLogConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::R_kvstore::Model::ModifyAuditLogConfigRequest;
|
||||
using AlibabaCloud::Adb::Model::ModifyAuditLogConfigRequest;
|
||||
|
||||
ModifyAuditLogConfigRequest::ModifyAuditLogConfigRequest() :
|
||||
RpcServiceRequest("r-kvstore", "2015-01-01", "ModifyAuditLogConfig")
|
||||
RpcServiceRequest("adb", "2019-03-15", "ModifyAuditLogConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
@@ -49,37 +49,15 @@ void ModifyAuditLogConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyAuditLogConfigRequest::getSecurityToken()const
|
||||
std::string ModifyAuditLogConfigRequest::getRegionId()const
|
||||
{
|
||||
return securityToken_;
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ModifyAuditLogConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
void ModifyAuditLogConfigRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string ModifyAuditLogConfigRequest::getAuditCommand()const
|
||||
{
|
||||
return auditCommand_;
|
||||
}
|
||||
|
||||
void ModifyAuditLogConfigRequest::setAuditCommand(const std::string& auditCommand)
|
||||
{
|
||||
auditCommand_ = auditCommand;
|
||||
setParameter("AuditCommand", auditCommand);
|
||||
}
|
||||
|
||||
std::string ModifyAuditLogConfigRequest::getRetention()const
|
||||
{
|
||||
return retention_;
|
||||
}
|
||||
|
||||
void ModifyAuditLogConfigRequest::setRetention(const std::string& retention)
|
||||
{
|
||||
retention_ = retention;
|
||||
setParameter("Retention", retention);
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ModifyAuditLogConfigRequest::getResourceOwnerAccount()const
|
||||
@@ -93,6 +71,17 @@ void ModifyAuditLogConfigRequest::setResourceOwnerAccount(const std::string& res
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyAuditLogConfigRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void ModifyAuditLogConfigRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string ModifyAuditLogConfigRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -115,14 +104,14 @@ void ModifyAuditLogConfigRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyAuditLogConfigRequest::getInstanceId()const
|
||||
std::string ModifyAuditLogConfigRequest::getAuditLogStatus()const
|
||||
{
|
||||
return instanceId_;
|
||||
return auditLogStatus_;
|
||||
}
|
||||
|
||||
void ModifyAuditLogConfigRequest::setInstanceId(const std::string& instanceId)
|
||||
void ModifyAuditLogConfigRequest::setAuditLogStatus(const std::string& auditLogStatus)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
auditLogStatus_ = auditLogStatus;
|
||||
setParameter("AuditLogStatus", auditLogStatus);
|
||||
}
|
||||
|
||||
@@ -14,11 +14,11 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/r-kvstore/model/ModifyAuditLogConfigResult.h>
|
||||
#include <alibabacloud/adb/model/ModifyAuditLogConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::R_kvstore;
|
||||
using namespace AlibabaCloud::R_kvstore::Model;
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
ModifyAuditLogConfigResult::ModifyAuditLogConfigResult() :
|
||||
ServiceResult()
|
||||
@@ -49,6 +49,17 @@ void ModifyDBClusterRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterRequest::getStorageResource()const
|
||||
{
|
||||
return storageResource_;
|
||||
}
|
||||
|
||||
void ModifyDBClusterRequest::setStorageResource(const std::string& storageResource)
|
||||
{
|
||||
storageResource_ = storageResource;
|
||||
setParameter("StorageResource", storageResource);
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterRequest::getDBNodeClass()const
|
||||
{
|
||||
return dBNodeClass_;
|
||||
@@ -60,6 +71,17 @@ void ModifyDBClusterRequest::setDBNodeClass(const std::string& dBNodeClass)
|
||||
setParameter("DBNodeClass", dBNodeClass);
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ModifyDBClusterRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -126,6 +148,17 @@ void ModifyDBClusterRequest::setDBNodeStorage(const std::string& dBNodeStorage)
|
||||
setParameter("DBNodeStorage", dBNodeStorage);
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterRequest::getExecutorCount()const
|
||||
{
|
||||
return executorCount_;
|
||||
}
|
||||
|
||||
void ModifyDBClusterRequest::setExecutorCount(const std::string& executorCount)
|
||||
{
|
||||
executorCount_ = executorCount;
|
||||
setParameter("ExecutorCount", executorCount);
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterRequest::getModifyType()const
|
||||
{
|
||||
return modifyType_;
|
||||
@@ -137,3 +170,14 @@ void ModifyDBClusterRequest::setModifyType(const std::string& modifyType)
|
||||
setParameter("ModifyType", modifyType);
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterRequest::getComputeResource()const
|
||||
{
|
||||
return computeResource_;
|
||||
}
|
||||
|
||||
void ModifyDBClusterRequest::setComputeResource(const std::string& computeResource)
|
||||
{
|
||||
computeResource_ = computeResource;
|
||||
setParameter("ComputeResource", computeResource);
|
||||
}
|
||||
|
||||
|
||||
@@ -45,6 +45,8 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/CreateUserResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateUserInternationalRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateUserInternationalResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CustomGonggeLayoutRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CustomGonggeLayoutResult.h
|
||||
include/alibabacloud/aliyuncvc/model/DeleteDeviceRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/DeleteDeviceResult.h
|
||||
include/alibabacloud/aliyuncvc/model/DeleteLiveRequest.h
|
||||
@@ -134,6 +136,8 @@ set(aliyuncvc_src
|
||||
src/model/CreateUserResult.cc
|
||||
src/model/CreateUserInternationalRequest.cc
|
||||
src/model/CreateUserInternationalResult.cc
|
||||
src/model/CustomGonggeLayoutRequest.cc
|
||||
src/model/CustomGonggeLayoutResult.cc
|
||||
src/model/DeleteDeviceRequest.cc
|
||||
src/model/DeleteDeviceResult.cc
|
||||
src/model/DeleteLiveRequest.cc
|
||||
|
||||
@@ -46,6 +46,8 @@
|
||||
#include "model/CreateUserResult.h"
|
||||
#include "model/CreateUserInternationalRequest.h"
|
||||
#include "model/CreateUserInternationalResult.h"
|
||||
#include "model/CustomGonggeLayoutRequest.h"
|
||||
#include "model/CustomGonggeLayoutResult.h"
|
||||
#include "model/DeleteDeviceRequest.h"
|
||||
#include "model/DeleteDeviceResult.h"
|
||||
#include "model/DeleteLiveRequest.h"
|
||||
@@ -153,6 +155,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateUserInternationalResult> CreateUserInternationalOutcome;
|
||||
typedef std::future<CreateUserInternationalOutcome> CreateUserInternationalOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::CreateUserInternationalRequest&, const CreateUserInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUserInternationalAsyncHandler;
|
||||
typedef Outcome<Error, Model::CustomGonggeLayoutResult> CustomGonggeLayoutOutcome;
|
||||
typedef std::future<CustomGonggeLayoutOutcome> CustomGonggeLayoutOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::CustomGonggeLayoutRequest&, const CustomGonggeLayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CustomGonggeLayoutAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDeviceResult> DeleteDeviceOutcome;
|
||||
typedef std::future<DeleteDeviceOutcome> DeleteDeviceOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::DeleteDeviceRequest&, const DeleteDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDeviceAsyncHandler;
|
||||
@@ -287,6 +292,9 @@ namespace AlibabaCloud
|
||||
CreateUserInternationalOutcome createUserInternational(const Model::CreateUserInternationalRequest &request)const;
|
||||
void createUserInternationalAsync(const Model::CreateUserInternationalRequest& request, const CreateUserInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateUserInternationalOutcomeCallable createUserInternationalCallable(const Model::CreateUserInternationalRequest& request) const;
|
||||
CustomGonggeLayoutOutcome customGonggeLayout(const Model::CustomGonggeLayoutRequest &request)const;
|
||||
void customGonggeLayoutAsync(const Model::CustomGonggeLayoutRequest& request, const CustomGonggeLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CustomGonggeLayoutOutcomeCallable customGonggeLayoutCallable(const Model::CustomGonggeLayoutRequest& request) const;
|
||||
DeleteDeviceOutcome deleteDevice(const Model::DeleteDeviceRequest &request)const;
|
||||
void deleteDeviceAsync(const Model::DeleteDeviceRequest& request, const DeleteDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDeviceOutcomeCallable deleteDeviceCallable(const Model::DeleteDeviceRequest& request) const;
|
||||
|
||||
@@ -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_ALIYUNCVC_MODEL_CUSTOMGONGGELAYOUTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CUSTOMGONGGELAYOUTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT CustomGonggeLayoutRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CustomGonggeLayoutRequest();
|
||||
~CustomGonggeLayoutRequest();
|
||||
|
||||
std::string getMeetingUUID()const;
|
||||
void setMeetingUUID(const std::string& meetingUUID);
|
||||
std::string getLayoutSolution()const;
|
||||
void setLayoutSolution(const std::string& layoutSolution);
|
||||
|
||||
private:
|
||||
std::string meetingUUID_;
|
||||
std::string layoutSolution_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CUSTOMGONGGELAYOUTREQUEST_H_
|
||||
@@ -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_ALIYUNCVC_MODEL_CUSTOMGONGGELAYOUTRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CUSTOMGONGGELAYOUTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT CustomGonggeLayoutResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CustomGonggeLayoutResult();
|
||||
explicit CustomGonggeLayoutResult(const std::string &payload);
|
||||
~CustomGonggeLayoutResult();
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CUSTOMGONGGELAYOUTRESULT_H_
|
||||
@@ -483,6 +483,42 @@ AliyuncvcClient::CreateUserInternationalOutcomeCallable AliyuncvcClient::createU
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::CustomGonggeLayoutOutcome AliyuncvcClient::customGonggeLayout(const CustomGonggeLayoutRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CustomGonggeLayoutOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CustomGonggeLayoutOutcome(CustomGonggeLayoutResult(outcome.result()));
|
||||
else
|
||||
return CustomGonggeLayoutOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::customGonggeLayoutAsync(const CustomGonggeLayoutRequest& request, const CustomGonggeLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, customGonggeLayout(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::CustomGonggeLayoutOutcomeCallable AliyuncvcClient::customGonggeLayoutCallable(const CustomGonggeLayoutRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CustomGonggeLayoutOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->customGonggeLayout(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::DeleteDeviceOutcome AliyuncvcClient::deleteDevice(const DeleteDeviceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
51
aliyuncvc/src/model/CustomGonggeLayoutRequest.cc
Normal file
51
aliyuncvc/src/model/CustomGonggeLayoutRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/CustomGonggeLayoutRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::CustomGonggeLayoutRequest;
|
||||
|
||||
CustomGonggeLayoutRequest::CustomGonggeLayoutRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "CustomGonggeLayout")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CustomGonggeLayoutRequest::~CustomGonggeLayoutRequest()
|
||||
{}
|
||||
|
||||
std::string CustomGonggeLayoutRequest::getMeetingUUID()const
|
||||
{
|
||||
return meetingUUID_;
|
||||
}
|
||||
|
||||
void CustomGonggeLayoutRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
{
|
||||
meetingUUID_ = meetingUUID;
|
||||
setBodyParameter("MeetingUUID", meetingUUID);
|
||||
}
|
||||
|
||||
std::string CustomGonggeLayoutRequest::getLayoutSolution()const
|
||||
{
|
||||
return layoutSolution_;
|
||||
}
|
||||
|
||||
void CustomGonggeLayoutRequest::setLayoutSolution(const std::string& layoutSolution)
|
||||
{
|
||||
layoutSolution_ = layoutSolution;
|
||||
setBodyParameter("LayoutSolution", layoutSolution);
|
||||
}
|
||||
|
||||
65
aliyuncvc/src/model/CustomGonggeLayoutResult.cc
Normal file
65
aliyuncvc/src/model/CustomGonggeLayoutResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/CustomGonggeLayoutResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
CustomGonggeLayoutResult::CustomGonggeLayoutResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CustomGonggeLayoutResult::CustomGonggeLayoutResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CustomGonggeLayoutResult::~CustomGonggeLayoutResult()
|
||||
{}
|
||||
|
||||
void CustomGonggeLayoutResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CustomGonggeLayoutResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int CustomGonggeLayoutResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool CustomGonggeLayoutResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -29,6 +29,8 @@ set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/CheckDataConsistencyResult.h
|
||||
include/alibabacloud/arms/model/CheckServiceLinkedRoleForDeletingRequest.h
|
||||
include/alibabacloud/arms/model/CheckServiceLinkedRoleForDeletingResult.h
|
||||
include/alibabacloud/arms/model/ConfigAppRequest.h
|
||||
include/alibabacloud/arms/model/ConfigAppResult.h
|
||||
include/alibabacloud/arms/model/CreateAlertContactRequest.h
|
||||
include/alibabacloud/arms/model/CreateAlertContactResult.h
|
||||
include/alibabacloud/arms/model/CreateAlertContactGroupRequest.h
|
||||
@@ -122,6 +124,8 @@ set(arms_src
|
||||
src/model/CheckDataConsistencyResult.cc
|
||||
src/model/CheckServiceLinkedRoleForDeletingRequest.cc
|
||||
src/model/CheckServiceLinkedRoleForDeletingResult.cc
|
||||
src/model/ConfigAppRequest.cc
|
||||
src/model/ConfigAppResult.cc
|
||||
src/model/CreateAlertContactRequest.cc
|
||||
src/model/CreateAlertContactResult.cc
|
||||
src/model/CreateAlertContactGroupRequest.cc
|
||||
|
||||
@@ -30,6 +30,8 @@
|
||||
#include "model/CheckDataConsistencyResult.h"
|
||||
#include "model/CheckServiceLinkedRoleForDeletingRequest.h"
|
||||
#include "model/CheckServiceLinkedRoleForDeletingResult.h"
|
||||
#include "model/ConfigAppRequest.h"
|
||||
#include "model/ConfigAppResult.h"
|
||||
#include "model/CreateAlertContactRequest.h"
|
||||
#include "model/CreateAlertContactResult.h"
|
||||
#include "model/CreateAlertContactGroupRequest.h"
|
||||
@@ -133,6 +135,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CheckServiceLinkedRoleForDeletingResult> CheckServiceLinkedRoleForDeletingOutcome;
|
||||
typedef std::future<CheckServiceLinkedRoleForDeletingOutcome> CheckServiceLinkedRoleForDeletingOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::CheckServiceLinkedRoleForDeletingRequest&, const CheckServiceLinkedRoleForDeletingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckServiceLinkedRoleForDeletingAsyncHandler;
|
||||
typedef Outcome<Error, Model::ConfigAppResult> ConfigAppOutcome;
|
||||
typedef std::future<ConfigAppOutcome> ConfigAppOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::ConfigAppRequest&, const ConfigAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigAppAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateAlertContactResult> CreateAlertContactOutcome;
|
||||
typedef std::future<CreateAlertContactOutcome> CreateAlertContactOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::CreateAlertContactRequest&, const CreateAlertContactOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAlertContactAsyncHandler;
|
||||
@@ -273,6 +278,9 @@ namespace AlibabaCloud
|
||||
CheckServiceLinkedRoleForDeletingOutcome checkServiceLinkedRoleForDeleting(const Model::CheckServiceLinkedRoleForDeletingRequest &request)const;
|
||||
void checkServiceLinkedRoleForDeletingAsync(const Model::CheckServiceLinkedRoleForDeletingRequest& request, const CheckServiceLinkedRoleForDeletingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CheckServiceLinkedRoleForDeletingOutcomeCallable checkServiceLinkedRoleForDeletingCallable(const Model::CheckServiceLinkedRoleForDeletingRequest& request) const;
|
||||
ConfigAppOutcome configApp(const Model::ConfigAppRequest &request)const;
|
||||
void configAppAsync(const Model::ConfigAppRequest& request, const ConfigAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConfigAppOutcomeCallable configAppCallable(const Model::ConfigAppRequest& request) const;
|
||||
CreateAlertContactOutcome createAlertContact(const Model::CreateAlertContactRequest &request)const;
|
||||
void createAlertContactAsync(const Model::CreateAlertContactRequest& request, const CreateAlertContactAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateAlertContactOutcomeCallable createAlertContactCallable(const Model::CreateAlertContactRequest& request) const;
|
||||
|
||||
54
arms/include/alibabacloud/arms/model/ConfigAppRequest.h
Normal file
54
arms/include/alibabacloud/arms/model/ConfigAppRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CONFIGAPPREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CONFIGAPPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT ConfigAppRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ConfigAppRequest();
|
||||
~ConfigAppRequest();
|
||||
|
||||
std::string getAppIds()const;
|
||||
void setAppIds(const std::string& appIds);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getEnable()const;
|
||||
void setEnable(const std::string& enable);
|
||||
|
||||
private:
|
||||
std::string appIds_;
|
||||
std::string regionId_;
|
||||
std::string enable_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CONFIGAPPREQUEST_H_
|
||||
@@ -14,36 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DELETELIVEDOMAINMAPPINGRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DELETELIVEDOMAINMAPPINGRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CONFIGAPPRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CONFIGAPPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DeleteLiveDomainMappingResult : public ServiceResult
|
||||
class ALIBABACLOUD_ARMS_EXPORT ConfigAppResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteLiveDomainMappingResult();
|
||||
explicit DeleteLiveDomainMappingResult(const std::string &payload);
|
||||
~DeleteLiveDomainMappingResult();
|
||||
ConfigAppResult();
|
||||
explicit ConfigAppResult(const std::string &payload);
|
||||
~ConfigAppResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DELETELIVEDOMAINMAPPINGRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CONFIGAPPRESULT_H_
|
||||
@@ -40,6 +40,8 @@ namespace AlibabaCloud
|
||||
long createTime;
|
||||
long updateTime;
|
||||
std::string pid;
|
||||
bool show;
|
||||
std::vector<std::string> labels;
|
||||
std::string regionId;
|
||||
std::string appName;
|
||||
};
|
||||
|
||||
@@ -40,6 +40,8 @@ namespace AlibabaCloud
|
||||
long createTime;
|
||||
long updateTime;
|
||||
std::string pid;
|
||||
bool show;
|
||||
std::vector<std::string> labels;
|
||||
std::string regionId;
|
||||
std::string appName;
|
||||
};
|
||||
|
||||
@@ -42,6 +42,8 @@ namespace AlibabaCloud
|
||||
long createTime;
|
||||
long updateTime;
|
||||
std::string pid;
|
||||
bool show;
|
||||
std::vector<std::string> labels;
|
||||
std::string regionId;
|
||||
std::string appName;
|
||||
};
|
||||
|
||||
@@ -195,6 +195,42 @@ ARMSClient::CheckServiceLinkedRoleForDeletingOutcomeCallable ARMSClient::checkSe
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::ConfigAppOutcome ARMSClient::configApp(const ConfigAppRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ConfigAppOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ConfigAppOutcome(ConfigAppResult(outcome.result()));
|
||||
else
|
||||
return ConfigAppOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::configAppAsync(const ConfigAppRequest& request, const ConfigAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, configApp(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::ConfigAppOutcomeCallable ARMSClient::configAppCallable(const ConfigAppRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ConfigAppOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->configApp(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::CreateAlertContactOutcome ARMSClient::createAlertContact(const CreateAlertContactRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
62
arms/src/model/ConfigAppRequest.cc
Normal file
62
arms/src/model/ConfigAppRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/ConfigAppRequest.h>
|
||||
|
||||
using AlibabaCloud::ARMS::Model::ConfigAppRequest;
|
||||
|
||||
ConfigAppRequest::ConfigAppRequest() :
|
||||
RpcServiceRequest("arms", "2019-08-08", "ConfigApp")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ConfigAppRequest::~ConfigAppRequest()
|
||||
{}
|
||||
|
||||
std::string ConfigAppRequest::getAppIds()const
|
||||
{
|
||||
return appIds_;
|
||||
}
|
||||
|
||||
void ConfigAppRequest::setAppIds(const std::string& appIds)
|
||||
{
|
||||
appIds_ = appIds;
|
||||
setParameter("AppIds", appIds);
|
||||
}
|
||||
|
||||
std::string ConfigAppRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ConfigAppRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ConfigAppRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void ConfigAppRequest::setEnable(const std::string& enable)
|
||||
{
|
||||
enable_ = enable;
|
||||
setParameter("Enable", enable);
|
||||
}
|
||||
|
||||
@@ -14,31 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DeleteLiveAppRecordConfigResult.h>
|
||||
#include <alibabacloud/arms/model/ConfigAppResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
DeleteLiveAppRecordConfigResult::DeleteLiveAppRecordConfigResult() :
|
||||
ConfigAppResult::ConfigAppResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteLiveAppRecordConfigResult::DeleteLiveAppRecordConfigResult(const std::string &payload) :
|
||||
ConfigAppResult::ConfigAppResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteLiveAppRecordConfigResult::~DeleteLiveAppRecordConfigResult()
|
||||
ConfigAppResult::~ConfigAppResult()
|
||||
{}
|
||||
|
||||
void DeleteLiveAppRecordConfigResult::parse(const std::string &payload)
|
||||
void ConfigAppResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ConfigAppResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -59,6 +59,11 @@ void ListTraceAppsResult::parse(const std::string &payload)
|
||||
traceAppsObject.updateTime = std::stol(valueTraceAppsTraceApp["UpdateTime"].asString());
|
||||
if(!valueTraceAppsTraceApp["RegionId"].isNull())
|
||||
traceAppsObject.regionId = valueTraceAppsTraceApp["RegionId"].asString();
|
||||
if(!valueTraceAppsTraceApp["Show"].isNull())
|
||||
traceAppsObject.show = valueTraceAppsTraceApp["Show"].asString() == "true";
|
||||
auto allLabels = value["Labels"]["Labels"];
|
||||
for (auto value : allLabels)
|
||||
traceAppsObject.labels.push_back(value.asString());
|
||||
traceApps_.push_back(traceAppsObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
|
||||
@@ -59,6 +59,11 @@ void SearchTraceAppByNameResult::parse(const std::string &payload)
|
||||
traceAppsObject.createTime = std::stol(valueTraceAppsTraceApp["CreateTime"].asString());
|
||||
if(!valueTraceAppsTraceApp["UpdateTime"].isNull())
|
||||
traceAppsObject.updateTime = std::stol(valueTraceAppsTraceApp["UpdateTime"].asString());
|
||||
if(!valueTraceAppsTraceApp["Show"].isNull())
|
||||
traceAppsObject.show = valueTraceAppsTraceApp["Show"].asString() == "true";
|
||||
auto allLabels = value["Labels"]["Labels"];
|
||||
for (auto value : allLabels)
|
||||
traceAppsObject.labels.push_back(value.asString());
|
||||
traceApps_.push_back(traceAppsObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -66,6 +66,11 @@ void SearchTraceAppByPageResult::parse(const std::string &payload)
|
||||
traceAppObject.createTime = std::stol(pageBeanNodeTraceAppsTraceApp["CreateTime"].asString());
|
||||
if(!pageBeanNodeTraceAppsTraceApp["UpdateTime"].isNull())
|
||||
traceAppObject.updateTime = std::stol(pageBeanNodeTraceAppsTraceApp["UpdateTime"].asString());
|
||||
if(!pageBeanNodeTraceAppsTraceApp["Show"].isNull())
|
||||
traceAppObject.show = pageBeanNodeTraceAppsTraceApp["Show"].asString() == "true";
|
||||
auto allLabels = value["Labels"]["Labels"];
|
||||
for (auto value : allLabels)
|
||||
traceAppObject.labels.push_back(value.asString());
|
||||
pageBean_.traceApps.push_back(traceAppObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -67,14 +67,6 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DeleteFCTriggerResult.h
|
||||
include/alibabacloud/cdn/model/DeleteHttpHeaderConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteHttpHeaderConfigResult.h
|
||||
include/alibabacloud/cdn/model/DeleteLiveAppRecordConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteLiveAppRecordConfigResult.h
|
||||
include/alibabacloud/cdn/model/DeleteLiveAppSnapshotConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteLiveAppSnapshotConfigResult.h
|
||||
include/alibabacloud/cdn/model/DeleteLiveDomainMappingRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteLiveDomainMappingResult.h
|
||||
include/alibabacloud/cdn/model/DeleteLiveStreamTranscodeRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteLiveStreamTranscodeResult.h
|
||||
include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryResult.h
|
||||
include/alibabacloud/cdn/model/DeleteSpecificConfigRequest.h
|
||||
@@ -85,6 +77,8 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DeleteUsageDetailDataExportTaskResult.h
|
||||
include/alibabacloud/cdn/model/DeleteUserUsageDataExportTaskRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteUserUsageDataExportTaskResult.h
|
||||
include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnCertificateDetailRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnCertificateDetailResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnCertificateListRequest.h
|
||||
@@ -111,6 +105,10 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeCdnTypesResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnUserBillTypeRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnUserBillTypeResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnUserConfigsRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnUserConfigsResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnUserQuotaRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnUserQuotaResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageRequest.h
|
||||
@@ -137,6 +135,8 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeDomainConfigsResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainCustomLogConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainCustomLogConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainFileSizeProportionDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainFileSizeProportionDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainFlowDataRequest.h
|
||||
@@ -151,6 +151,8 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeDomainISPDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainPathDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainPathDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainPvDataRequest.h
|
||||
@@ -261,6 +263,8 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeRealtimeDeliveryAccResult.h
|
||||
include/alibabacloud/cdn/model/DescribeRefreshQuotaRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeRefreshQuotaResult.h
|
||||
include/alibabacloud/cdn/model/DescribeRefreshTaskByIdRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeRefreshTaskByIdResult.h
|
||||
include/alibabacloud/cdn/model/DescribeRefreshTasksRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeRefreshTasksResult.h
|
||||
include/alibabacloud/cdn/model/DescribeStagingIpRequest.h
|
||||
@@ -397,12 +401,8 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/SetWaitingRoomConfigResult.h
|
||||
include/alibabacloud/cdn/model/StartCdnDomainRequest.h
|
||||
include/alibabacloud/cdn/model/StartCdnDomainResult.h
|
||||
include/alibabacloud/cdn/model/StartMixStreamsServiceRequest.h
|
||||
include/alibabacloud/cdn/model/StartMixStreamsServiceResult.h
|
||||
include/alibabacloud/cdn/model/StopCdnDomainRequest.h
|
||||
include/alibabacloud/cdn/model/StopCdnDomainResult.h
|
||||
include/alibabacloud/cdn/model/StopMixStreamsServiceRequest.h
|
||||
include/alibabacloud/cdn/model/StopMixStreamsServiceResult.h
|
||||
include/alibabacloud/cdn/model/TagResourcesRequest.h
|
||||
include/alibabacloud/cdn/model/TagResourcesResult.h
|
||||
include/alibabacloud/cdn/model/UntagResourcesRequest.h
|
||||
@@ -460,14 +460,6 @@ set(cdn_src
|
||||
src/model/DeleteFCTriggerResult.cc
|
||||
src/model/DeleteHttpHeaderConfigRequest.cc
|
||||
src/model/DeleteHttpHeaderConfigResult.cc
|
||||
src/model/DeleteLiveAppRecordConfigRequest.cc
|
||||
src/model/DeleteLiveAppRecordConfigResult.cc
|
||||
src/model/DeleteLiveAppSnapshotConfigRequest.cc
|
||||
src/model/DeleteLiveAppSnapshotConfigResult.cc
|
||||
src/model/DeleteLiveDomainMappingRequest.cc
|
||||
src/model/DeleteLiveDomainMappingResult.cc
|
||||
src/model/DeleteLiveStreamTranscodeRequest.cc
|
||||
src/model/DeleteLiveStreamTranscodeResult.cc
|
||||
src/model/DeleteRealtimeLogDeliveryRequest.cc
|
||||
src/model/DeleteRealtimeLogDeliveryResult.cc
|
||||
src/model/DeleteSpecificConfigRequest.cc
|
||||
@@ -478,6 +470,8 @@ set(cdn_src
|
||||
src/model/DeleteUsageDetailDataExportTaskResult.cc
|
||||
src/model/DeleteUserUsageDataExportTaskRequest.cc
|
||||
src/model/DeleteUserUsageDataExportTaskResult.cc
|
||||
src/model/DescribeActiveVersionOfConfigGroupRequest.cc
|
||||
src/model/DescribeActiveVersionOfConfigGroupResult.cc
|
||||
src/model/DescribeCdnCertificateDetailRequest.cc
|
||||
src/model/DescribeCdnCertificateDetailResult.cc
|
||||
src/model/DescribeCdnCertificateListRequest.cc
|
||||
@@ -504,6 +498,10 @@ set(cdn_src
|
||||
src/model/DescribeCdnTypesResult.cc
|
||||
src/model/DescribeCdnUserBillPredictionRequest.cc
|
||||
src/model/DescribeCdnUserBillPredictionResult.cc
|
||||
src/model/DescribeCdnUserBillTypeRequest.cc
|
||||
src/model/DescribeCdnUserBillTypeResult.cc
|
||||
src/model/DescribeCdnUserConfigsRequest.cc
|
||||
src/model/DescribeCdnUserConfigsResult.cc
|
||||
src/model/DescribeCdnUserQuotaRequest.cc
|
||||
src/model/DescribeCdnUserQuotaResult.cc
|
||||
src/model/DescribeCdnUserResourcePackageRequest.cc
|
||||
@@ -530,6 +528,8 @@ set(cdn_src
|
||||
src/model/DescribeDomainConfigsResult.cc
|
||||
src/model/DescribeDomainCustomLogConfigRequest.cc
|
||||
src/model/DescribeDomainCustomLogConfigResult.cc
|
||||
src/model/DescribeDomainDetailDataByLayerRequest.cc
|
||||
src/model/DescribeDomainDetailDataByLayerResult.cc
|
||||
src/model/DescribeDomainFileSizeProportionDataRequest.cc
|
||||
src/model/DescribeDomainFileSizeProportionDataResult.cc
|
||||
src/model/DescribeDomainFlowDataRequest.cc
|
||||
@@ -544,6 +544,8 @@ set(cdn_src
|
||||
src/model/DescribeDomainISPDataResult.cc
|
||||
src/model/DescribeDomainMax95BpsDataRequest.cc
|
||||
src/model/DescribeDomainMax95BpsDataResult.cc
|
||||
src/model/DescribeDomainNamesOfVersionRequest.cc
|
||||
src/model/DescribeDomainNamesOfVersionResult.cc
|
||||
src/model/DescribeDomainPathDataRequest.cc
|
||||
src/model/DescribeDomainPathDataResult.cc
|
||||
src/model/DescribeDomainPvDataRequest.cc
|
||||
@@ -654,6 +656,8 @@ set(cdn_src
|
||||
src/model/DescribeRealtimeDeliveryAccResult.cc
|
||||
src/model/DescribeRefreshQuotaRequest.cc
|
||||
src/model/DescribeRefreshQuotaResult.cc
|
||||
src/model/DescribeRefreshTaskByIdRequest.cc
|
||||
src/model/DescribeRefreshTaskByIdResult.cc
|
||||
src/model/DescribeRefreshTasksRequest.cc
|
||||
src/model/DescribeRefreshTasksResult.cc
|
||||
src/model/DescribeStagingIpRequest.cc
|
||||
@@ -790,12 +794,8 @@ set(cdn_src
|
||||
src/model/SetWaitingRoomConfigResult.cc
|
||||
src/model/StartCdnDomainRequest.cc
|
||||
src/model/StartCdnDomainResult.cc
|
||||
src/model/StartMixStreamsServiceRequest.cc
|
||||
src/model/StartMixStreamsServiceResult.cc
|
||||
src/model/StopCdnDomainRequest.cc
|
||||
src/model/StopCdnDomainResult.cc
|
||||
src/model/StopMixStreamsServiceRequest.cc
|
||||
src/model/StopMixStreamsServiceResult.cc
|
||||
src/model/TagResourcesRequest.cc
|
||||
src/model/TagResourcesResult.cc
|
||||
src/model/UntagResourcesRequest.cc
|
||||
|
||||
@@ -68,14 +68,6 @@
|
||||
#include "model/DeleteFCTriggerResult.h"
|
||||
#include "model/DeleteHttpHeaderConfigRequest.h"
|
||||
#include "model/DeleteHttpHeaderConfigResult.h"
|
||||
#include "model/DeleteLiveAppRecordConfigRequest.h"
|
||||
#include "model/DeleteLiveAppRecordConfigResult.h"
|
||||
#include "model/DeleteLiveAppSnapshotConfigRequest.h"
|
||||
#include "model/DeleteLiveAppSnapshotConfigResult.h"
|
||||
#include "model/DeleteLiveDomainMappingRequest.h"
|
||||
#include "model/DeleteLiveDomainMappingResult.h"
|
||||
#include "model/DeleteLiveStreamTranscodeRequest.h"
|
||||
#include "model/DeleteLiveStreamTranscodeResult.h"
|
||||
#include "model/DeleteRealtimeLogDeliveryRequest.h"
|
||||
#include "model/DeleteRealtimeLogDeliveryResult.h"
|
||||
#include "model/DeleteSpecificConfigRequest.h"
|
||||
@@ -86,6 +78,8 @@
|
||||
#include "model/DeleteUsageDetailDataExportTaskResult.h"
|
||||
#include "model/DeleteUserUsageDataExportTaskRequest.h"
|
||||
#include "model/DeleteUserUsageDataExportTaskResult.h"
|
||||
#include "model/DescribeActiveVersionOfConfigGroupRequest.h"
|
||||
#include "model/DescribeActiveVersionOfConfigGroupResult.h"
|
||||
#include "model/DescribeCdnCertificateDetailRequest.h"
|
||||
#include "model/DescribeCdnCertificateDetailResult.h"
|
||||
#include "model/DescribeCdnCertificateListRequest.h"
|
||||
@@ -112,6 +106,10 @@
|
||||
#include "model/DescribeCdnTypesResult.h"
|
||||
#include "model/DescribeCdnUserBillPredictionRequest.h"
|
||||
#include "model/DescribeCdnUserBillPredictionResult.h"
|
||||
#include "model/DescribeCdnUserBillTypeRequest.h"
|
||||
#include "model/DescribeCdnUserBillTypeResult.h"
|
||||
#include "model/DescribeCdnUserConfigsRequest.h"
|
||||
#include "model/DescribeCdnUserConfigsResult.h"
|
||||
#include "model/DescribeCdnUserQuotaRequest.h"
|
||||
#include "model/DescribeCdnUserQuotaResult.h"
|
||||
#include "model/DescribeCdnUserResourcePackageRequest.h"
|
||||
@@ -138,6 +136,8 @@
|
||||
#include "model/DescribeDomainConfigsResult.h"
|
||||
#include "model/DescribeDomainCustomLogConfigRequest.h"
|
||||
#include "model/DescribeDomainCustomLogConfigResult.h"
|
||||
#include "model/DescribeDomainDetailDataByLayerRequest.h"
|
||||
#include "model/DescribeDomainDetailDataByLayerResult.h"
|
||||
#include "model/DescribeDomainFileSizeProportionDataRequest.h"
|
||||
#include "model/DescribeDomainFileSizeProportionDataResult.h"
|
||||
#include "model/DescribeDomainFlowDataRequest.h"
|
||||
@@ -152,6 +152,8 @@
|
||||
#include "model/DescribeDomainISPDataResult.h"
|
||||
#include "model/DescribeDomainMax95BpsDataRequest.h"
|
||||
#include "model/DescribeDomainMax95BpsDataResult.h"
|
||||
#include "model/DescribeDomainNamesOfVersionRequest.h"
|
||||
#include "model/DescribeDomainNamesOfVersionResult.h"
|
||||
#include "model/DescribeDomainPathDataRequest.h"
|
||||
#include "model/DescribeDomainPathDataResult.h"
|
||||
#include "model/DescribeDomainPvDataRequest.h"
|
||||
@@ -262,6 +264,8 @@
|
||||
#include "model/DescribeRealtimeDeliveryAccResult.h"
|
||||
#include "model/DescribeRefreshQuotaRequest.h"
|
||||
#include "model/DescribeRefreshQuotaResult.h"
|
||||
#include "model/DescribeRefreshTaskByIdRequest.h"
|
||||
#include "model/DescribeRefreshTaskByIdResult.h"
|
||||
#include "model/DescribeRefreshTasksRequest.h"
|
||||
#include "model/DescribeRefreshTasksResult.h"
|
||||
#include "model/DescribeStagingIpRequest.h"
|
||||
@@ -398,12 +402,8 @@
|
||||
#include "model/SetWaitingRoomConfigResult.h"
|
||||
#include "model/StartCdnDomainRequest.h"
|
||||
#include "model/StartCdnDomainResult.h"
|
||||
#include "model/StartMixStreamsServiceRequest.h"
|
||||
#include "model/StartMixStreamsServiceResult.h"
|
||||
#include "model/StopCdnDomainRequest.h"
|
||||
#include "model/StopCdnDomainResult.h"
|
||||
#include "model/StopMixStreamsServiceRequest.h"
|
||||
#include "model/StopMixStreamsServiceResult.h"
|
||||
#include "model/TagResourcesRequest.h"
|
||||
#include "model/TagResourcesResult.h"
|
||||
#include "model/UntagResourcesRequest.h"
|
||||
@@ -490,18 +490,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteHttpHeaderConfigResult> DeleteHttpHeaderConfigOutcome;
|
||||
typedef std::future<DeleteHttpHeaderConfigOutcome> DeleteHttpHeaderConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DeleteHttpHeaderConfigRequest&, const DeleteHttpHeaderConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteHttpHeaderConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteLiveAppRecordConfigResult> DeleteLiveAppRecordConfigOutcome;
|
||||
typedef std::future<DeleteLiveAppRecordConfigOutcome> DeleteLiveAppRecordConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DeleteLiveAppRecordConfigRequest&, const DeleteLiveAppRecordConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLiveAppRecordConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteLiveAppSnapshotConfigResult> DeleteLiveAppSnapshotConfigOutcome;
|
||||
typedef std::future<DeleteLiveAppSnapshotConfigOutcome> DeleteLiveAppSnapshotConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DeleteLiveAppSnapshotConfigRequest&, const DeleteLiveAppSnapshotConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLiveAppSnapshotConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteLiveDomainMappingResult> DeleteLiveDomainMappingOutcome;
|
||||
typedef std::future<DeleteLiveDomainMappingOutcome> DeleteLiveDomainMappingOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DeleteLiveDomainMappingRequest&, const DeleteLiveDomainMappingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLiveDomainMappingAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteLiveStreamTranscodeResult> DeleteLiveStreamTranscodeOutcome;
|
||||
typedef std::future<DeleteLiveStreamTranscodeOutcome> DeleteLiveStreamTranscodeOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DeleteLiveStreamTranscodeRequest&, const DeleteLiveStreamTranscodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLiveStreamTranscodeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteRealtimeLogDeliveryResult> DeleteRealtimeLogDeliveryOutcome;
|
||||
typedef std::future<DeleteRealtimeLogDeliveryOutcome> DeleteRealtimeLogDeliveryOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DeleteRealtimeLogDeliveryRequest&, const DeleteRealtimeLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRealtimeLogDeliveryAsyncHandler;
|
||||
@@ -517,6 +505,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteUserUsageDataExportTaskResult> DeleteUserUsageDataExportTaskOutcome;
|
||||
typedef std::future<DeleteUserUsageDataExportTaskOutcome> DeleteUserUsageDataExportTaskOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DeleteUserUsageDataExportTaskRequest&, const DeleteUserUsageDataExportTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteUserUsageDataExportTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeActiveVersionOfConfigGroupResult> DescribeActiveVersionOfConfigGroupOutcome;
|
||||
typedef std::future<DescribeActiveVersionOfConfigGroupOutcome> DescribeActiveVersionOfConfigGroupOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeActiveVersionOfConfigGroupRequest&, const DescribeActiveVersionOfConfigGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeActiveVersionOfConfigGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCdnCertificateDetailResult> DescribeCdnCertificateDetailOutcome;
|
||||
typedef std::future<DescribeCdnCertificateDetailOutcome> DescribeCdnCertificateDetailOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeCdnCertificateDetailRequest&, const DescribeCdnCertificateDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnCertificateDetailAsyncHandler;
|
||||
@@ -556,6 +547,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeCdnUserBillPredictionResult> DescribeCdnUserBillPredictionOutcome;
|
||||
typedef std::future<DescribeCdnUserBillPredictionOutcome> DescribeCdnUserBillPredictionOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeCdnUserBillPredictionRequest&, const DescribeCdnUserBillPredictionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnUserBillPredictionAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCdnUserBillTypeResult> DescribeCdnUserBillTypeOutcome;
|
||||
typedef std::future<DescribeCdnUserBillTypeOutcome> DescribeCdnUserBillTypeOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeCdnUserBillTypeRequest&, const DescribeCdnUserBillTypeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnUserBillTypeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCdnUserConfigsResult> DescribeCdnUserConfigsOutcome;
|
||||
typedef std::future<DescribeCdnUserConfigsOutcome> DescribeCdnUserConfigsOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeCdnUserConfigsRequest&, const DescribeCdnUserConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnUserConfigsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCdnUserQuotaResult> DescribeCdnUserQuotaOutcome;
|
||||
typedef std::future<DescribeCdnUserQuotaOutcome> DescribeCdnUserQuotaOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeCdnUserQuotaRequest&, const DescribeCdnUserQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnUserQuotaAsyncHandler;
|
||||
@@ -595,6 +592,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDomainCustomLogConfigResult> DescribeDomainCustomLogConfigOutcome;
|
||||
typedef std::future<DescribeDomainCustomLogConfigOutcome> DescribeDomainCustomLogConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainCustomLogConfigRequest&, const DescribeDomainCustomLogConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainCustomLogConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainDetailDataByLayerResult> DescribeDomainDetailDataByLayerOutcome;
|
||||
typedef std::future<DescribeDomainDetailDataByLayerOutcome> DescribeDomainDetailDataByLayerOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainDetailDataByLayerRequest&, const DescribeDomainDetailDataByLayerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainDetailDataByLayerAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainFileSizeProportionDataResult> DescribeDomainFileSizeProportionDataOutcome;
|
||||
typedef std::future<DescribeDomainFileSizeProportionDataOutcome> DescribeDomainFileSizeProportionDataOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainFileSizeProportionDataRequest&, const DescribeDomainFileSizeProportionDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainFileSizeProportionDataAsyncHandler;
|
||||
@@ -616,6 +616,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDomainMax95BpsDataResult> DescribeDomainMax95BpsDataOutcome;
|
||||
typedef std::future<DescribeDomainMax95BpsDataOutcome> DescribeDomainMax95BpsDataOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainMax95BpsDataRequest&, const DescribeDomainMax95BpsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainMax95BpsDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainNamesOfVersionResult> DescribeDomainNamesOfVersionOutcome;
|
||||
typedef std::future<DescribeDomainNamesOfVersionOutcome> DescribeDomainNamesOfVersionOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainNamesOfVersionRequest&, const DescribeDomainNamesOfVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainNamesOfVersionAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainPathDataResult> DescribeDomainPathDataOutcome;
|
||||
typedef std::future<DescribeDomainPathDataOutcome> DescribeDomainPathDataOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainPathDataRequest&, const DescribeDomainPathDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainPathDataAsyncHandler;
|
||||
@@ -781,6 +784,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeRefreshQuotaResult> DescribeRefreshQuotaOutcome;
|
||||
typedef std::future<DescribeRefreshQuotaOutcome> DescribeRefreshQuotaOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeRefreshQuotaRequest&, const DescribeRefreshQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRefreshQuotaAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRefreshTaskByIdResult> DescribeRefreshTaskByIdOutcome;
|
||||
typedef std::future<DescribeRefreshTaskByIdOutcome> DescribeRefreshTaskByIdOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeRefreshTaskByIdRequest&, const DescribeRefreshTaskByIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRefreshTaskByIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRefreshTasksResult> DescribeRefreshTasksOutcome;
|
||||
typedef std::future<DescribeRefreshTasksOutcome> DescribeRefreshTasksOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeRefreshTasksRequest&, const DescribeRefreshTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRefreshTasksAsyncHandler;
|
||||
@@ -985,15 +991,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::StartCdnDomainResult> StartCdnDomainOutcome;
|
||||
typedef std::future<StartCdnDomainOutcome> StartCdnDomainOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::StartCdnDomainRequest&, const StartCdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartCdnDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartMixStreamsServiceResult> StartMixStreamsServiceOutcome;
|
||||
typedef std::future<StartMixStreamsServiceOutcome> StartMixStreamsServiceOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::StartMixStreamsServiceRequest&, const StartMixStreamsServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartMixStreamsServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopCdnDomainResult> StopCdnDomainOutcome;
|
||||
typedef std::future<StopCdnDomainOutcome> StopCdnDomainOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::StopCdnDomainRequest&, const StopCdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopCdnDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopMixStreamsServiceResult> StopMixStreamsServiceOutcome;
|
||||
typedef std::future<StopMixStreamsServiceOutcome> StopMixStreamsServiceOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::StopMixStreamsServiceRequest&, const StopMixStreamsServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopMixStreamsServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
|
||||
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
|
||||
@@ -1080,18 +1080,6 @@ namespace AlibabaCloud
|
||||
DeleteHttpHeaderConfigOutcome deleteHttpHeaderConfig(const Model::DeleteHttpHeaderConfigRequest &request)const;
|
||||
void deleteHttpHeaderConfigAsync(const Model::DeleteHttpHeaderConfigRequest& request, const DeleteHttpHeaderConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteHttpHeaderConfigOutcomeCallable deleteHttpHeaderConfigCallable(const Model::DeleteHttpHeaderConfigRequest& request) const;
|
||||
DeleteLiveAppRecordConfigOutcome deleteLiveAppRecordConfig(const Model::DeleteLiveAppRecordConfigRequest &request)const;
|
||||
void deleteLiveAppRecordConfigAsync(const Model::DeleteLiveAppRecordConfigRequest& request, const DeleteLiveAppRecordConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteLiveAppRecordConfigOutcomeCallable deleteLiveAppRecordConfigCallable(const Model::DeleteLiveAppRecordConfigRequest& request) const;
|
||||
DeleteLiveAppSnapshotConfigOutcome deleteLiveAppSnapshotConfig(const Model::DeleteLiveAppSnapshotConfigRequest &request)const;
|
||||
void deleteLiveAppSnapshotConfigAsync(const Model::DeleteLiveAppSnapshotConfigRequest& request, const DeleteLiveAppSnapshotConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteLiveAppSnapshotConfigOutcomeCallable deleteLiveAppSnapshotConfigCallable(const Model::DeleteLiveAppSnapshotConfigRequest& request) const;
|
||||
DeleteLiveDomainMappingOutcome deleteLiveDomainMapping(const Model::DeleteLiveDomainMappingRequest &request)const;
|
||||
void deleteLiveDomainMappingAsync(const Model::DeleteLiveDomainMappingRequest& request, const DeleteLiveDomainMappingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteLiveDomainMappingOutcomeCallable deleteLiveDomainMappingCallable(const Model::DeleteLiveDomainMappingRequest& request) const;
|
||||
DeleteLiveStreamTranscodeOutcome deleteLiveStreamTranscode(const Model::DeleteLiveStreamTranscodeRequest &request)const;
|
||||
void deleteLiveStreamTranscodeAsync(const Model::DeleteLiveStreamTranscodeRequest& request, const DeleteLiveStreamTranscodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteLiveStreamTranscodeOutcomeCallable deleteLiveStreamTranscodeCallable(const Model::DeleteLiveStreamTranscodeRequest& request) const;
|
||||
DeleteRealtimeLogDeliveryOutcome deleteRealtimeLogDelivery(const Model::DeleteRealtimeLogDeliveryRequest &request)const;
|
||||
void deleteRealtimeLogDeliveryAsync(const Model::DeleteRealtimeLogDeliveryRequest& request, const DeleteRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteRealtimeLogDeliveryOutcomeCallable deleteRealtimeLogDeliveryCallable(const Model::DeleteRealtimeLogDeliveryRequest& request) const;
|
||||
@@ -1107,6 +1095,9 @@ namespace AlibabaCloud
|
||||
DeleteUserUsageDataExportTaskOutcome deleteUserUsageDataExportTask(const Model::DeleteUserUsageDataExportTaskRequest &request)const;
|
||||
void deleteUserUsageDataExportTaskAsync(const Model::DeleteUserUsageDataExportTaskRequest& request, const DeleteUserUsageDataExportTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteUserUsageDataExportTaskOutcomeCallable deleteUserUsageDataExportTaskCallable(const Model::DeleteUserUsageDataExportTaskRequest& request) const;
|
||||
DescribeActiveVersionOfConfigGroupOutcome describeActiveVersionOfConfigGroup(const Model::DescribeActiveVersionOfConfigGroupRequest &request)const;
|
||||
void describeActiveVersionOfConfigGroupAsync(const Model::DescribeActiveVersionOfConfigGroupRequest& request, const DescribeActiveVersionOfConfigGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeActiveVersionOfConfigGroupOutcomeCallable describeActiveVersionOfConfigGroupCallable(const Model::DescribeActiveVersionOfConfigGroupRequest& request) const;
|
||||
DescribeCdnCertificateDetailOutcome describeCdnCertificateDetail(const Model::DescribeCdnCertificateDetailRequest &request)const;
|
||||
void describeCdnCertificateDetailAsync(const Model::DescribeCdnCertificateDetailRequest& request, const DescribeCdnCertificateDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCdnCertificateDetailOutcomeCallable describeCdnCertificateDetailCallable(const Model::DescribeCdnCertificateDetailRequest& request) const;
|
||||
@@ -1146,6 +1137,12 @@ namespace AlibabaCloud
|
||||
DescribeCdnUserBillPredictionOutcome describeCdnUserBillPrediction(const Model::DescribeCdnUserBillPredictionRequest &request)const;
|
||||
void describeCdnUserBillPredictionAsync(const Model::DescribeCdnUserBillPredictionRequest& request, const DescribeCdnUserBillPredictionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCdnUserBillPredictionOutcomeCallable describeCdnUserBillPredictionCallable(const Model::DescribeCdnUserBillPredictionRequest& request) const;
|
||||
DescribeCdnUserBillTypeOutcome describeCdnUserBillType(const Model::DescribeCdnUserBillTypeRequest &request)const;
|
||||
void describeCdnUserBillTypeAsync(const Model::DescribeCdnUserBillTypeRequest& request, const DescribeCdnUserBillTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCdnUserBillTypeOutcomeCallable describeCdnUserBillTypeCallable(const Model::DescribeCdnUserBillTypeRequest& request) const;
|
||||
DescribeCdnUserConfigsOutcome describeCdnUserConfigs(const Model::DescribeCdnUserConfigsRequest &request)const;
|
||||
void describeCdnUserConfigsAsync(const Model::DescribeCdnUserConfigsRequest& request, const DescribeCdnUserConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCdnUserConfigsOutcomeCallable describeCdnUserConfigsCallable(const Model::DescribeCdnUserConfigsRequest& request) const;
|
||||
DescribeCdnUserQuotaOutcome describeCdnUserQuota(const Model::DescribeCdnUserQuotaRequest &request)const;
|
||||
void describeCdnUserQuotaAsync(const Model::DescribeCdnUserQuotaRequest& request, const DescribeCdnUserQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCdnUserQuotaOutcomeCallable describeCdnUserQuotaCallable(const Model::DescribeCdnUserQuotaRequest& request) const;
|
||||
@@ -1185,6 +1182,9 @@ namespace AlibabaCloud
|
||||
DescribeDomainCustomLogConfigOutcome describeDomainCustomLogConfig(const Model::DescribeDomainCustomLogConfigRequest &request)const;
|
||||
void describeDomainCustomLogConfigAsync(const Model::DescribeDomainCustomLogConfigRequest& request, const DescribeDomainCustomLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainCustomLogConfigOutcomeCallable describeDomainCustomLogConfigCallable(const Model::DescribeDomainCustomLogConfigRequest& request) const;
|
||||
DescribeDomainDetailDataByLayerOutcome describeDomainDetailDataByLayer(const Model::DescribeDomainDetailDataByLayerRequest &request)const;
|
||||
void describeDomainDetailDataByLayerAsync(const Model::DescribeDomainDetailDataByLayerRequest& request, const DescribeDomainDetailDataByLayerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainDetailDataByLayerOutcomeCallable describeDomainDetailDataByLayerCallable(const Model::DescribeDomainDetailDataByLayerRequest& request) const;
|
||||
DescribeDomainFileSizeProportionDataOutcome describeDomainFileSizeProportionData(const Model::DescribeDomainFileSizeProportionDataRequest &request)const;
|
||||
void describeDomainFileSizeProportionDataAsync(const Model::DescribeDomainFileSizeProportionDataRequest& request, const DescribeDomainFileSizeProportionDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainFileSizeProportionDataOutcomeCallable describeDomainFileSizeProportionDataCallable(const Model::DescribeDomainFileSizeProportionDataRequest& request) const;
|
||||
@@ -1206,6 +1206,9 @@ namespace AlibabaCloud
|
||||
DescribeDomainMax95BpsDataOutcome describeDomainMax95BpsData(const Model::DescribeDomainMax95BpsDataRequest &request)const;
|
||||
void describeDomainMax95BpsDataAsync(const Model::DescribeDomainMax95BpsDataRequest& request, const DescribeDomainMax95BpsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainMax95BpsDataOutcomeCallable describeDomainMax95BpsDataCallable(const Model::DescribeDomainMax95BpsDataRequest& request) const;
|
||||
DescribeDomainNamesOfVersionOutcome describeDomainNamesOfVersion(const Model::DescribeDomainNamesOfVersionRequest &request)const;
|
||||
void describeDomainNamesOfVersionAsync(const Model::DescribeDomainNamesOfVersionRequest& request, const DescribeDomainNamesOfVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainNamesOfVersionOutcomeCallable describeDomainNamesOfVersionCallable(const Model::DescribeDomainNamesOfVersionRequest& request) const;
|
||||
DescribeDomainPathDataOutcome describeDomainPathData(const Model::DescribeDomainPathDataRequest &request)const;
|
||||
void describeDomainPathDataAsync(const Model::DescribeDomainPathDataRequest& request, const DescribeDomainPathDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainPathDataOutcomeCallable describeDomainPathDataCallable(const Model::DescribeDomainPathDataRequest& request) const;
|
||||
@@ -1371,6 +1374,9 @@ namespace AlibabaCloud
|
||||
DescribeRefreshQuotaOutcome describeRefreshQuota(const Model::DescribeRefreshQuotaRequest &request)const;
|
||||
void describeRefreshQuotaAsync(const Model::DescribeRefreshQuotaRequest& request, const DescribeRefreshQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRefreshQuotaOutcomeCallable describeRefreshQuotaCallable(const Model::DescribeRefreshQuotaRequest& request) const;
|
||||
DescribeRefreshTaskByIdOutcome describeRefreshTaskById(const Model::DescribeRefreshTaskByIdRequest &request)const;
|
||||
void describeRefreshTaskByIdAsync(const Model::DescribeRefreshTaskByIdRequest& request, const DescribeRefreshTaskByIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRefreshTaskByIdOutcomeCallable describeRefreshTaskByIdCallable(const Model::DescribeRefreshTaskByIdRequest& request) const;
|
||||
DescribeRefreshTasksOutcome describeRefreshTasks(const Model::DescribeRefreshTasksRequest &request)const;
|
||||
void describeRefreshTasksAsync(const Model::DescribeRefreshTasksRequest& request, const DescribeRefreshTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRefreshTasksOutcomeCallable describeRefreshTasksCallable(const Model::DescribeRefreshTasksRequest& request) const;
|
||||
@@ -1575,15 +1581,9 @@ namespace AlibabaCloud
|
||||
StartCdnDomainOutcome startCdnDomain(const Model::StartCdnDomainRequest &request)const;
|
||||
void startCdnDomainAsync(const Model::StartCdnDomainRequest& request, const StartCdnDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartCdnDomainOutcomeCallable startCdnDomainCallable(const Model::StartCdnDomainRequest& request) const;
|
||||
StartMixStreamsServiceOutcome startMixStreamsService(const Model::StartMixStreamsServiceRequest &request)const;
|
||||
void startMixStreamsServiceAsync(const Model::StartMixStreamsServiceRequest& request, const StartMixStreamsServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartMixStreamsServiceOutcomeCallable startMixStreamsServiceCallable(const Model::StartMixStreamsServiceRequest& request) const;
|
||||
StopCdnDomainOutcome stopCdnDomain(const Model::StopCdnDomainRequest &request)const;
|
||||
void stopCdnDomainAsync(const Model::StopCdnDomainRequest& request, const StopCdnDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopCdnDomainOutcomeCallable stopCdnDomainCallable(const Model::StopCdnDomainRequest& request) const;
|
||||
StopMixStreamsServiceOutcome stopMixStreamsService(const Model::StopMixStreamsServiceRequest &request)const;
|
||||
void stopMixStreamsServiceAsync(const Model::StopMixStreamsServiceRequest& request, const StopMixStreamsServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopMixStreamsServiceOutcomeCallable stopMixStreamsServiceCallable(const Model::StopMixStreamsServiceRequest& request) const;
|
||||
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
|
||||
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DELETELIVESTREAMTRANSCODEREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DELETELIVESTREAMTRANSCODEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DeleteLiveStreamTranscodeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteLiveStreamTranscodeRequest();
|
||||
~DeleteLiveStreamTranscodeRequest();
|
||||
|
||||
std::string get_Template()const;
|
||||
void set_Template(const std::string& _template);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getApp()const;
|
||||
void setApp(const std::string& app);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getDomain()const;
|
||||
void setDomain(const std::string& domain);
|
||||
|
||||
private:
|
||||
std::string _template_;
|
||||
std::string securityToken_;
|
||||
std::string app_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string domain_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DELETELIVESTREAMTRANSCODEREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPRECORDCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPRECORDCONFIGREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,30 +28,27 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DeleteLiveAppRecordConfigRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeActiveVersionOfConfigGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteLiveAppRecordConfigRequest();
|
||||
~DeleteLiveAppRecordConfigRequest();
|
||||
DescribeActiveVersionOfConfigGroupRequest();
|
||||
~DescribeActiveVersionOfConfigGroupRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppName()const;
|
||||
void setAppName(const std::string& appName);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getEnv()const;
|
||||
void setEnv(const std::string& env);
|
||||
std::string getConfigGroupId()const;
|
||||
void setConfigGroupId(const std::string& configGroupId);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string appName_;
|
||||
std::string securityToken_;
|
||||
std::string env_;
|
||||
std::string configGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPRECORDCONFIGREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPREQUEST_H_
|
||||
@@ -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_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeActiveVersionOfConfigGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeActiveVersionOfConfigGroupResult();
|
||||
explicit DescribeActiveVersionOfConfigGroupResult(const std::string &payload);
|
||||
~DescribeActiveVersionOfConfigGroupResult();
|
||||
std::string getVersionId()const;
|
||||
std::string getStatus()const;
|
||||
std::string getConfigGroupId()const;
|
||||
std::string getBaseVersionId()const;
|
||||
std::string getDescription()const;
|
||||
std::string getCreateTime()const;
|
||||
std::string getUpdateTime()const;
|
||||
std::string get_Operator()const;
|
||||
long getSeqId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string versionId_;
|
||||
std::string status_;
|
||||
std::string configGroupId_;
|
||||
std::string baseVersionId_;
|
||||
std::string description_;
|
||||
std::string createTime_;
|
||||
std::string updateTime_;
|
||||
std::string _operator_;
|
||||
long seqId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DELETELIVEDOMAINMAPPINGREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DELETELIVEDOMAINMAPPINGREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPEREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,30 +28,27 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DeleteLiveDomainMappingRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserBillTypeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteLiveDomainMappingRequest();
|
||||
~DeleteLiveDomainMappingRequest();
|
||||
DescribeCdnUserBillTypeRequest();
|
||||
~DescribeCdnUserBillTypeRequest();
|
||||
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPullDomain()const;
|
||||
void setPullDomain(const std::string& pullDomain);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getPushDomain()const;
|
||||
void setPushDomain(const std::string& pushDomain);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string pullDomain_;
|
||||
std::string securityToken_;
|
||||
std::string pushDomain_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DELETELIVEDOMAINMAPPINGREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPEREQUEST_H_
|
||||
@@ -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_CDN_MODEL_DESCRIBECDNUSERBILLTYPERESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserBillTypeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct BillTypeDataItem
|
||||
{
|
||||
std::string billType;
|
||||
std::string billingCycle;
|
||||
std::string endTime;
|
||||
std::string startTime;
|
||||
std::string product;
|
||||
std::string dimension;
|
||||
};
|
||||
|
||||
|
||||
DescribeCdnUserBillTypeResult();
|
||||
explicit DescribeCdnUserBillTypeResult(const std::string &payload);
|
||||
~DescribeCdnUserBillTypeResult();
|
||||
std::vector<BillTypeDataItem> getBillTypeData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<BillTypeDataItem> billTypeData_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPERESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPSNAPSHOTCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPSNAPSHOTCONFIGREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,30 +28,24 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DeleteLiveAppSnapshotConfigRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserConfigsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteLiveAppSnapshotConfigRequest();
|
||||
~DeleteLiveAppSnapshotConfigRequest();
|
||||
DescribeCdnUserConfigsRequest();
|
||||
~DescribeCdnUserConfigsRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getFunctionName()const;
|
||||
void setFunctionName(const std::string& functionName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppName()const;
|
||||
void setAppName(const std::string& appName);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
std::string functionName_;
|
||||
long ownerId_;
|
||||
std::string appName_;
|
||||
std::string securityToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPSNAPSHOTCONFIGREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_STARTMIXSTREAMSSERVICERESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_STARTMIXSTREAMSSERVICERESULT_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,29 +29,29 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT StartMixStreamsServiceResult : public ServiceResult
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserConfigsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MixStreamsInfo
|
||||
struct Config
|
||||
{
|
||||
std::string streamName;
|
||||
std::string domainName;
|
||||
std::string appName;
|
||||
std::string functionName;
|
||||
std::string argValue;
|
||||
std::string argName;
|
||||
};
|
||||
|
||||
|
||||
StartMixStreamsServiceResult();
|
||||
explicit StartMixStreamsServiceResult(const std::string &payload);
|
||||
~StartMixStreamsServiceResult();
|
||||
std::vector<MixStreamsInfo> getMixStreamsInfoList()const;
|
||||
DescribeCdnUserConfigsResult();
|
||||
explicit DescribeCdnUserConfigsResult(const std::string &payload);
|
||||
~DescribeCdnUserConfigsResult();
|
||||
std::vector<Config> getConfigs()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<MixStreamsInfo> mixStreamsInfoList_;
|
||||
std::vector<Config> configs_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_STARTMIXSTREAMSSERVICERESULT_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSRESULT_H_
|
||||
@@ -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_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeDomainDetailDataByLayerRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDomainDetailDataByLayerRequest();
|
||||
~DescribeDomainDetailDataByLayerRequest();
|
||||
|
||||
std::string getLocationNameEn()const;
|
||||
void setLocationNameEn(const std::string& locationNameEn);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getIspNameEn()const;
|
||||
void setIspNameEn(const std::string& ispNameEn);
|
||||
std::string getLayer()const;
|
||||
void setLayer(const std::string& layer);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getField()const;
|
||||
void setField(const std::string& field);
|
||||
|
||||
private:
|
||||
std::string locationNameEn_;
|
||||
std::string startTime_;
|
||||
std::string ispNameEn_;
|
||||
std::string layer_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string field_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeDomainDetailDataByLayerResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DataModule
|
||||
{
|
||||
long acc;
|
||||
float ipv6Bps;
|
||||
std::string httpCode;
|
||||
float ipv6Qps;
|
||||
float bps;
|
||||
long traf;
|
||||
long ipv6Acc;
|
||||
std::string domainName;
|
||||
float qps;
|
||||
long ipv6Traf;
|
||||
std::string timeStamp;
|
||||
};
|
||||
|
||||
|
||||
DescribeDomainDetailDataByLayerResult();
|
||||
explicit DescribeDomainDetailDataByLayerResult(const std::string &payload);
|
||||
~DescribeDomainDetailDataByLayerResult();
|
||||
std::vector<DataModule> getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DataModule> data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERRESULT_H_
|
||||
@@ -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_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeDomainNamesOfVersionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDomainNamesOfVersionRequest();
|
||||
~DescribeDomainNamesOfVersionRequest();
|
||||
|
||||
std::string getVersionId()const;
|
||||
void setVersionId(const std::string& versionId);
|
||||
std::string getPageSize()const;
|
||||
void setPageSize(const std::string& pageSize);
|
||||
int getPageIndex()const;
|
||||
void setPageIndex(int pageIndex);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string versionId_;
|
||||
std::string pageSize_;
|
||||
int pageIndex_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_STOPMIXSTREAMSSERVICERESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_STOPMIXSTREAMSSERVICERESULT_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,29 +29,30 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT StopMixStreamsServiceResult : public ServiceResult
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeDomainNamesOfVersionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MixStreamsInfo
|
||||
struct Content
|
||||
{
|
||||
std::string streamName;
|
||||
std::string domainId;
|
||||
std::string domainName;
|
||||
std::string appName;
|
||||
};
|
||||
|
||||
|
||||
StopMixStreamsServiceResult();
|
||||
explicit StopMixStreamsServiceResult(const std::string &payload);
|
||||
~StopMixStreamsServiceResult();
|
||||
std::vector<MixStreamsInfo> getMixStreamsInfoList()const;
|
||||
DescribeDomainNamesOfVersionResult();
|
||||
explicit DescribeDomainNamesOfVersionResult(const std::string &payload);
|
||||
~DescribeDomainNamesOfVersionResult();
|
||||
int getTotalCount()const;
|
||||
std::vector<Content> getContents()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<MixStreamsInfo> mixStreamsInfoList_;
|
||||
int totalCount_;
|
||||
std::vector<Content> contents_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_STOPMIXSTREAMSSERVICERESULT_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONRESULT_H_
|
||||
@@ -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_CDN_MODEL_DESCRIBEREFRESHTASKBYIDREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKBYIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeRefreshTaskByIdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRefreshTaskByIdRequest();
|
||||
~DescribeRefreshTaskByIdRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
std::string taskId_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKBYIDREQUEST_H_
|
||||
@@ -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_CDN_MODEL_DESCRIBEREFRESHTASKBYIDRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKBYIDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeRefreshTaskByIdResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CDNTask
|
||||
{
|
||||
std::string status;
|
||||
std::string objectType;
|
||||
std::string objectPath;
|
||||
std::string taskId;
|
||||
std::string description;
|
||||
std::string creationTime;
|
||||
std::string process;
|
||||
};
|
||||
|
||||
|
||||
DescribeRefreshTaskByIdResult();
|
||||
explicit DescribeRefreshTaskByIdResult(const std::string &payload);
|
||||
~DescribeRefreshTaskByIdResult();
|
||||
long getTotalCount()const;
|
||||
std::vector<CDNTask> getTasks()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::vector<CDNTask> tasks_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKBYIDRESULT_H_
|
||||
@@ -41,8 +41,6 @@ namespace AlibabaCloud
|
||||
DescribeTagResourcesRequest();
|
||||
~DescribeTagResourcesRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getScope()const;
|
||||
void setScope(const std::string& scope);
|
||||
std::vector<Tag> getTag()const;
|
||||
@@ -55,7 +53,6 @@ namespace AlibabaCloud
|
||||
void setResourceType(const std::string& resourceType);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string scope_;
|
||||
std::vector<Tag> tag_;
|
||||
std::vector<std::string> resourceId_;
|
||||
|
||||
@@ -59,6 +59,8 @@ namespace AlibabaCloud
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
std::string getFuncFilter()const;
|
||||
void setFuncFilter(const std::string& funcFilter);
|
||||
std::string getCoverage()const;
|
||||
void setCoverage(const std::string& coverage);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
@@ -82,6 +84,7 @@ namespace AlibabaCloud
|
||||
int pageSize_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string funcFilter_;
|
||||
std::string coverage_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string funcId_;
|
||||
|
||||
@@ -47,6 +47,7 @@ namespace AlibabaCloud
|
||||
std::string resourceGroupId;
|
||||
std::string domainName;
|
||||
std::string gmtModified;
|
||||
std::string coverage;
|
||||
std::string cdnType;
|
||||
std::string gmtCreated;
|
||||
std::vector<PageData::Source> sources;
|
||||
|
||||
@@ -35,20 +35,20 @@ namespace AlibabaCloud
|
||||
PushObjectCacheRequest();
|
||||
~PushObjectCacheRequest();
|
||||
|
||||
std::string getArea()const;
|
||||
void setArea(const std::string& area);
|
||||
std::string getObjectPath()const;
|
||||
void setObjectPath(const std::string& objectPath);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getArea()const;
|
||||
void setArea(const std::string& area);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string area_;
|
||||
std::string objectPath_;
|
||||
long ownerId_;
|
||||
std::string securityToken_;
|
||||
std::string area_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -53,8 +53,6 @@ namespace AlibabaCloud
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
|
||||
private:
|
||||
std::string serverCertificate_;
|
||||
@@ -66,7 +64,6 @@ namespace AlibabaCloud
|
||||
std::string certName_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string region_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,75 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_STARTMIXSTREAMSSERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_STARTMIXSTREAMSSERVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT StartMixStreamsServiceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StartMixStreamsServiceRequest();
|
||||
~StartMixStreamsServiceRequest();
|
||||
|
||||
std::string getMixStreamName()const;
|
||||
void setMixStreamName(const std::string& mixStreamName);
|
||||
std::string getMixAppName()const;
|
||||
void setMixAppName(const std::string& mixAppName);
|
||||
std::string getMainStreamName()const;
|
||||
void setMainStreamName(const std::string& mainStreamName);
|
||||
std::string getMixType()const;
|
||||
void setMixType(const std::string& mixType);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getMainDomainName()const;
|
||||
void setMainDomainName(const std::string& mainDomainName);
|
||||
std::string getMixTemplate()const;
|
||||
void setMixTemplate(const std::string& mixTemplate);
|
||||
std::string getMixDomainName()const;
|
||||
void setMixDomainName(const std::string& mixDomainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getMainAppName()const;
|
||||
void setMainAppName(const std::string& mainAppName);
|
||||
|
||||
private:
|
||||
std::string mixStreamName_;
|
||||
std::string mixAppName_;
|
||||
std::string mainStreamName_;
|
||||
std::string mixType_;
|
||||
std::string securityToken_;
|
||||
std::string mainDomainName_;
|
||||
std::string mixTemplate_;
|
||||
std::string mixDomainName_;
|
||||
long ownerId_;
|
||||
std::string mainAppName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_STARTMIXSTREAMSSERVICEREQUEST_H_
|
||||
@@ -1,69 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_STOPMIXSTREAMSSERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_STOPMIXSTREAMSSERVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT StopMixStreamsServiceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StopMixStreamsServiceRequest();
|
||||
~StopMixStreamsServiceRequest();
|
||||
|
||||
std::string getMixStreamName()const;
|
||||
void setMixStreamName(const std::string& mixStreamName);
|
||||
std::string getMixAppName()const;
|
||||
void setMixAppName(const std::string& mixAppName);
|
||||
std::string getMainStreamName()const;
|
||||
void setMainStreamName(const std::string& mainStreamName);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getMainDomainName()const;
|
||||
void setMainDomainName(const std::string& mainDomainName);
|
||||
std::string getMixDomainName()const;
|
||||
void setMixDomainName(const std::string& mixDomainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getMainAppName()const;
|
||||
void setMainAppName(const std::string& mainAppName);
|
||||
|
||||
private:
|
||||
std::string mixStreamName_;
|
||||
std::string mixAppName_;
|
||||
std::string mainStreamName_;
|
||||
std::string securityToken_;
|
||||
std::string mainDomainName_;
|
||||
std::string mixDomainName_;
|
||||
long ownerId_;
|
||||
std::string mainAppName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_STOPMIXSTREAMSSERVICEREQUEST_H_
|
||||
@@ -879,150 +879,6 @@ CdnClient::DeleteHttpHeaderConfigOutcomeCallable CdnClient::deleteHttpHeaderConf
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DeleteLiveAppRecordConfigOutcome CdnClient::deleteLiveAppRecordConfig(const DeleteLiveAppRecordConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteLiveAppRecordConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteLiveAppRecordConfigOutcome(DeleteLiveAppRecordConfigResult(outcome.result()));
|
||||
else
|
||||
return DeleteLiveAppRecordConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::deleteLiveAppRecordConfigAsync(const DeleteLiveAppRecordConfigRequest& request, const DeleteLiveAppRecordConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteLiveAppRecordConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DeleteLiveAppRecordConfigOutcomeCallable CdnClient::deleteLiveAppRecordConfigCallable(const DeleteLiveAppRecordConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteLiveAppRecordConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteLiveAppRecordConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DeleteLiveAppSnapshotConfigOutcome CdnClient::deleteLiveAppSnapshotConfig(const DeleteLiveAppSnapshotConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteLiveAppSnapshotConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteLiveAppSnapshotConfigOutcome(DeleteLiveAppSnapshotConfigResult(outcome.result()));
|
||||
else
|
||||
return DeleteLiveAppSnapshotConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::deleteLiveAppSnapshotConfigAsync(const DeleteLiveAppSnapshotConfigRequest& request, const DeleteLiveAppSnapshotConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteLiveAppSnapshotConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DeleteLiveAppSnapshotConfigOutcomeCallable CdnClient::deleteLiveAppSnapshotConfigCallable(const DeleteLiveAppSnapshotConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteLiveAppSnapshotConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteLiveAppSnapshotConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DeleteLiveDomainMappingOutcome CdnClient::deleteLiveDomainMapping(const DeleteLiveDomainMappingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteLiveDomainMappingOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteLiveDomainMappingOutcome(DeleteLiveDomainMappingResult(outcome.result()));
|
||||
else
|
||||
return DeleteLiveDomainMappingOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::deleteLiveDomainMappingAsync(const DeleteLiveDomainMappingRequest& request, const DeleteLiveDomainMappingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteLiveDomainMapping(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DeleteLiveDomainMappingOutcomeCallable CdnClient::deleteLiveDomainMappingCallable(const DeleteLiveDomainMappingRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteLiveDomainMappingOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteLiveDomainMapping(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DeleteLiveStreamTranscodeOutcome CdnClient::deleteLiveStreamTranscode(const DeleteLiveStreamTranscodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteLiveStreamTranscodeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteLiveStreamTranscodeOutcome(DeleteLiveStreamTranscodeResult(outcome.result()));
|
||||
else
|
||||
return DeleteLiveStreamTranscodeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::deleteLiveStreamTranscodeAsync(const DeleteLiveStreamTranscodeRequest& request, const DeleteLiveStreamTranscodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteLiveStreamTranscode(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DeleteLiveStreamTranscodeOutcomeCallable CdnClient::deleteLiveStreamTranscodeCallable(const DeleteLiveStreamTranscodeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteLiveStreamTranscodeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteLiveStreamTranscode(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DeleteRealtimeLogDeliveryOutcome CdnClient::deleteRealtimeLogDelivery(const DeleteRealtimeLogDeliveryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1203,6 +1059,42 @@ CdnClient::DeleteUserUsageDataExportTaskOutcomeCallable CdnClient::deleteUserUsa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeActiveVersionOfConfigGroupOutcome CdnClient::describeActiveVersionOfConfigGroup(const DescribeActiveVersionOfConfigGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeActiveVersionOfConfigGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeActiveVersionOfConfigGroupOutcome(DescribeActiveVersionOfConfigGroupResult(outcome.result()));
|
||||
else
|
||||
return DescribeActiveVersionOfConfigGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeActiveVersionOfConfigGroupAsync(const DescribeActiveVersionOfConfigGroupRequest& request, const DescribeActiveVersionOfConfigGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeActiveVersionOfConfigGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeActiveVersionOfConfigGroupOutcomeCallable CdnClient::describeActiveVersionOfConfigGroupCallable(const DescribeActiveVersionOfConfigGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeActiveVersionOfConfigGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeActiveVersionOfConfigGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeCdnCertificateDetailOutcome CdnClient::describeCdnCertificateDetail(const DescribeCdnCertificateDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1671,6 +1563,78 @@ CdnClient::DescribeCdnUserBillPredictionOutcomeCallable CdnClient::describeCdnUs
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeCdnUserBillTypeOutcome CdnClient::describeCdnUserBillType(const DescribeCdnUserBillTypeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeCdnUserBillTypeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeCdnUserBillTypeOutcome(DescribeCdnUserBillTypeResult(outcome.result()));
|
||||
else
|
||||
return DescribeCdnUserBillTypeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeCdnUserBillTypeAsync(const DescribeCdnUserBillTypeRequest& request, const DescribeCdnUserBillTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeCdnUserBillType(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeCdnUserBillTypeOutcomeCallable CdnClient::describeCdnUserBillTypeCallable(const DescribeCdnUserBillTypeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeCdnUserBillTypeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeCdnUserBillType(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeCdnUserConfigsOutcome CdnClient::describeCdnUserConfigs(const DescribeCdnUserConfigsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeCdnUserConfigsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeCdnUserConfigsOutcome(DescribeCdnUserConfigsResult(outcome.result()));
|
||||
else
|
||||
return DescribeCdnUserConfigsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeCdnUserConfigsAsync(const DescribeCdnUserConfigsRequest& request, const DescribeCdnUserConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeCdnUserConfigs(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeCdnUserConfigsOutcomeCallable CdnClient::describeCdnUserConfigsCallable(const DescribeCdnUserConfigsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeCdnUserConfigsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeCdnUserConfigs(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeCdnUserQuotaOutcome CdnClient::describeCdnUserQuota(const DescribeCdnUserQuotaRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2139,6 +2103,42 @@ CdnClient::DescribeDomainCustomLogConfigOutcomeCallable CdnClient::describeDomai
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeDomainDetailDataByLayerOutcome CdnClient::describeDomainDetailDataByLayer(const DescribeDomainDetailDataByLayerRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDomainDetailDataByLayerOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDomainDetailDataByLayerOutcome(DescribeDomainDetailDataByLayerResult(outcome.result()));
|
||||
else
|
||||
return DescribeDomainDetailDataByLayerOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeDomainDetailDataByLayerAsync(const DescribeDomainDetailDataByLayerRequest& request, const DescribeDomainDetailDataByLayerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDomainDetailDataByLayer(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeDomainDetailDataByLayerOutcomeCallable CdnClient::describeDomainDetailDataByLayerCallable(const DescribeDomainDetailDataByLayerRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDomainDetailDataByLayerOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDomainDetailDataByLayer(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeDomainFileSizeProportionDataOutcome CdnClient::describeDomainFileSizeProportionData(const DescribeDomainFileSizeProportionDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2391,6 +2391,42 @@ CdnClient::DescribeDomainMax95BpsDataOutcomeCallable CdnClient::describeDomainMa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeDomainNamesOfVersionOutcome CdnClient::describeDomainNamesOfVersion(const DescribeDomainNamesOfVersionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDomainNamesOfVersionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDomainNamesOfVersionOutcome(DescribeDomainNamesOfVersionResult(outcome.result()));
|
||||
else
|
||||
return DescribeDomainNamesOfVersionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeDomainNamesOfVersionAsync(const DescribeDomainNamesOfVersionRequest& request, const DescribeDomainNamesOfVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDomainNamesOfVersion(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeDomainNamesOfVersionOutcomeCallable CdnClient::describeDomainNamesOfVersionCallable(const DescribeDomainNamesOfVersionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDomainNamesOfVersionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDomainNamesOfVersion(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeDomainPathDataOutcome CdnClient::describeDomainPathData(const DescribeDomainPathDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4371,6 +4407,42 @@ CdnClient::DescribeRefreshQuotaOutcomeCallable CdnClient::describeRefreshQuotaCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeRefreshTaskByIdOutcome CdnClient::describeRefreshTaskById(const DescribeRefreshTaskByIdRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeRefreshTaskByIdOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeRefreshTaskByIdOutcome(DescribeRefreshTaskByIdResult(outcome.result()));
|
||||
else
|
||||
return DescribeRefreshTaskByIdOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeRefreshTaskByIdAsync(const DescribeRefreshTaskByIdRequest& request, const DescribeRefreshTaskByIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeRefreshTaskById(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeRefreshTaskByIdOutcomeCallable CdnClient::describeRefreshTaskByIdCallable(const DescribeRefreshTaskByIdRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeRefreshTaskByIdOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeRefreshTaskById(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeRefreshTasksOutcome CdnClient::describeRefreshTasks(const DescribeRefreshTasksRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -6819,42 +6891,6 @@ CdnClient::StartCdnDomainOutcomeCallable CdnClient::startCdnDomainCallable(const
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::StartMixStreamsServiceOutcome CdnClient::startMixStreamsService(const StartMixStreamsServiceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StartMixStreamsServiceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StartMixStreamsServiceOutcome(StartMixStreamsServiceResult(outcome.result()));
|
||||
else
|
||||
return StartMixStreamsServiceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::startMixStreamsServiceAsync(const StartMixStreamsServiceRequest& request, const StartMixStreamsServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, startMixStreamsService(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::StartMixStreamsServiceOutcomeCallable CdnClient::startMixStreamsServiceCallable(const StartMixStreamsServiceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StartMixStreamsServiceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->startMixStreamsService(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::StopCdnDomainOutcome CdnClient::stopCdnDomain(const StopCdnDomainRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -6891,42 +6927,6 @@ CdnClient::StopCdnDomainOutcomeCallable CdnClient::stopCdnDomainCallable(const S
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::StopMixStreamsServiceOutcome CdnClient::stopMixStreamsService(const StopMixStreamsServiceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StopMixStreamsServiceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StopMixStreamsServiceOutcome(StopMixStreamsServiceResult(outcome.result()));
|
||||
else
|
||||
return StopMixStreamsServiceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::stopMixStreamsServiceAsync(const StopMixStreamsServiceRequest& request, const StopMixStreamsServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, stopMixStreamsService(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::StopMixStreamsServiceOutcomeCallable CdnClient::stopMixStreamsServiceCallable(const StopMixStreamsServiceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StopMixStreamsServiceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->stopMixStreamsService(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::TagResourcesOutcome CdnClient::tagResources(const TagResourcesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DeleteLiveAppRecordConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DeleteLiveAppRecordConfigRequest;
|
||||
|
||||
DeleteLiveAppRecordConfigRequest::DeleteLiveAppRecordConfigRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DeleteLiveAppRecordConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveAppRecordConfigRequest::~DeleteLiveAppRecordConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveAppRecordConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppRecordConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DeleteLiveAppRecordConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppRecordConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteLiveAppRecordConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppRecordConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string DeleteLiveAppRecordConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppRecordConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DeleteLiveAppSnapshotConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DeleteLiveAppSnapshotConfigRequest;
|
||||
|
||||
DeleteLiveAppSnapshotConfigRequest::DeleteLiveAppSnapshotConfigRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DeleteLiveAppSnapshotConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveAppSnapshotConfigRequest::~DeleteLiveAppSnapshotConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveAppSnapshotConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppSnapshotConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DeleteLiveAppSnapshotConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppSnapshotConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteLiveAppSnapshotConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppSnapshotConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string DeleteLiveAppSnapshotConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppSnapshotConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DeleteLiveDomainMappingRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DeleteLiveDomainMappingRequest;
|
||||
|
||||
DeleteLiveDomainMappingRequest::DeleteLiveDomainMappingRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DeleteLiveDomainMapping")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveDomainMappingRequest::~DeleteLiveDomainMappingRequest()
|
||||
{}
|
||||
|
||||
long DeleteLiveDomainMappingRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveDomainMappingRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteLiveDomainMappingRequest::getPullDomain()const
|
||||
{
|
||||
return pullDomain_;
|
||||
}
|
||||
|
||||
void DeleteLiveDomainMappingRequest::setPullDomain(const std::string& pullDomain)
|
||||
{
|
||||
pullDomain_ = pullDomain;
|
||||
setParameter("PullDomain", pullDomain);
|
||||
}
|
||||
|
||||
std::string DeleteLiveDomainMappingRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteLiveDomainMappingRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteLiveDomainMappingRequest::getPushDomain()const
|
||||
{
|
||||
return pushDomain_;
|
||||
}
|
||||
|
||||
void DeleteLiveDomainMappingRequest::setPushDomain(const std::string& pushDomain)
|
||||
{
|
||||
pushDomain_ = pushDomain;
|
||||
setParameter("PushDomain", pushDomain);
|
||||
}
|
||||
|
||||
@@ -1,95 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DeleteLiveStreamTranscodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DeleteLiveStreamTranscodeRequest;
|
||||
|
||||
DeleteLiveStreamTranscodeRequest::DeleteLiveStreamTranscodeRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DeleteLiveStreamTranscode")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveStreamTranscodeRequest::~DeleteLiveStreamTranscodeRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveStreamTranscodeRequest::get_Template()const
|
||||
{
|
||||
return _template_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamTranscodeRequest::set_Template(const std::string& _template)
|
||||
{
|
||||
_template_ = _template;
|
||||
setParameter("_Template", _template);
|
||||
}
|
||||
|
||||
std::string DeleteLiveStreamTranscodeRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamTranscodeRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteLiveStreamTranscodeRequest::getApp()const
|
||||
{
|
||||
return app_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamTranscodeRequest::setApp(const std::string& app)
|
||||
{
|
||||
app_ = app;
|
||||
setParameter("App", app);
|
||||
}
|
||||
|
||||
std::string DeleteLiveStreamTranscodeRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamTranscodeRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DeleteLiveStreamTranscodeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamTranscodeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteLiveStreamTranscodeRequest::getDomain()const
|
||||
{
|
||||
return domain_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamTranscodeRequest::setDomain(const std::string& domain)
|
||||
{
|
||||
domain_ = domain;
|
||||
setParameter("Domain", domain);
|
||||
}
|
||||
|
||||
62
cdn/src/model/DescribeActiveVersionOfConfigGroupRequest.cc
Normal file
62
cdn/src/model/DescribeActiveVersionOfConfigGroupRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeActiveVersionOfConfigGroupRequest;
|
||||
|
||||
DescribeActiveVersionOfConfigGroupRequest::DescribeActiveVersionOfConfigGroupRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "DescribeActiveVersionOfConfigGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeActiveVersionOfConfigGroupRequest::~DescribeActiveVersionOfConfigGroupRequest()
|
||||
{}
|
||||
|
||||
long DescribeActiveVersionOfConfigGroupRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeActiveVersionOfConfigGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeActiveVersionOfConfigGroupRequest::getEnv()const
|
||||
{
|
||||
return env_;
|
||||
}
|
||||
|
||||
void DescribeActiveVersionOfConfigGroupRequest::setEnv(const std::string& env)
|
||||
{
|
||||
env_ = env;
|
||||
setParameter("Env", env);
|
||||
}
|
||||
|
||||
std::string DescribeActiveVersionOfConfigGroupRequest::getConfigGroupId()const
|
||||
{
|
||||
return configGroupId_;
|
||||
}
|
||||
|
||||
void DescribeActiveVersionOfConfigGroupRequest::setConfigGroupId(const std::string& configGroupId)
|
||||
{
|
||||
configGroupId_ = configGroupId;
|
||||
setParameter("ConfigGroupId", configGroupId);
|
||||
}
|
||||
|
||||
107
cdn/src/model/DescribeActiveVersionOfConfigGroupResult.cc
Normal file
107
cdn/src/model/DescribeActiveVersionOfConfigGroupResult.cc
Normal file
@@ -0,0 +1,107 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeActiveVersionOfConfigGroupResult::DescribeActiveVersionOfConfigGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeActiveVersionOfConfigGroupResult::DescribeActiveVersionOfConfigGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeActiveVersionOfConfigGroupResult::~DescribeActiveVersionOfConfigGroupResult()
|
||||
{}
|
||||
|
||||
void DescribeActiveVersionOfConfigGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["VersionId"].isNull())
|
||||
versionId_ = value["VersionId"].asString();
|
||||
if(!value["ConfigGroupId"].isNull())
|
||||
configGroupId_ = value["ConfigGroupId"].asString();
|
||||
if(!value["BaseVersionId"].isNull())
|
||||
baseVersionId_ = value["BaseVersionId"].asString();
|
||||
if(!value["Description"].isNull())
|
||||
description_ = value["Description"].asString();
|
||||
if(!value["SeqId"].isNull())
|
||||
seqId_ = std::stol(value["SeqId"].asString());
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString();
|
||||
if(!value["Operator"].isNull())
|
||||
_operator_ = value["Operator"].asString();
|
||||
if(!value["CreateTime"].isNull())
|
||||
createTime_ = value["CreateTime"].asString();
|
||||
if(!value["UpdateTime"].isNull())
|
||||
updateTime_ = value["UpdateTime"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeActiveVersionOfConfigGroupResult::getVersionId()const
|
||||
{
|
||||
return versionId_;
|
||||
}
|
||||
|
||||
std::string DescribeActiveVersionOfConfigGroupResult::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
std::string DescribeActiveVersionOfConfigGroupResult::getConfigGroupId()const
|
||||
{
|
||||
return configGroupId_;
|
||||
}
|
||||
|
||||
std::string DescribeActiveVersionOfConfigGroupResult::getBaseVersionId()const
|
||||
{
|
||||
return baseVersionId_;
|
||||
}
|
||||
|
||||
std::string DescribeActiveVersionOfConfigGroupResult::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
std::string DescribeActiveVersionOfConfigGroupResult::getCreateTime()const
|
||||
{
|
||||
return createTime_;
|
||||
}
|
||||
|
||||
std::string DescribeActiveVersionOfConfigGroupResult::getUpdateTime()const
|
||||
{
|
||||
return updateTime_;
|
||||
}
|
||||
|
||||
std::string DescribeActiveVersionOfConfigGroupResult::get_Operator()const
|
||||
{
|
||||
return _operator_;
|
||||
}
|
||||
|
||||
long DescribeActiveVersionOfConfigGroupResult::getSeqId()const
|
||||
{
|
||||
return seqId_;
|
||||
}
|
||||
|
||||
62
cdn/src/model/DescribeCdnUserBillTypeRequest.cc
Normal file
62
cdn/src/model/DescribeCdnUserBillTypeRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DescribeCdnUserBillTypeRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeCdnUserBillTypeRequest;
|
||||
|
||||
DescribeCdnUserBillTypeRequest::DescribeCdnUserBillTypeRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnUserBillType")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeCdnUserBillTypeRequest::~DescribeCdnUserBillTypeRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeCdnUserBillTypeRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeCdnUserBillTypeRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeCdnUserBillTypeRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeCdnUserBillTypeRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeCdnUserBillTypeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCdnUserBillTypeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
67
cdn/src/model/DescribeCdnUserBillTypeResult.cc
Normal file
67
cdn/src/model/DescribeCdnUserBillTypeResult.cc
Normal 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DescribeCdnUserBillTypeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeCdnUserBillTypeResult::DescribeCdnUserBillTypeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeCdnUserBillTypeResult::DescribeCdnUserBillTypeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeCdnUserBillTypeResult::~DescribeCdnUserBillTypeResult()
|
||||
{}
|
||||
|
||||
void DescribeCdnUserBillTypeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allBillTypeDataNode = value["BillTypeData"]["BillTypeDataItem"];
|
||||
for (auto valueBillTypeDataBillTypeDataItem : allBillTypeDataNode)
|
||||
{
|
||||
BillTypeDataItem billTypeDataObject;
|
||||
if(!valueBillTypeDataBillTypeDataItem["StartTime"].isNull())
|
||||
billTypeDataObject.startTime = valueBillTypeDataBillTypeDataItem["StartTime"].asString();
|
||||
if(!valueBillTypeDataBillTypeDataItem["EndTime"].isNull())
|
||||
billTypeDataObject.endTime = valueBillTypeDataBillTypeDataItem["EndTime"].asString();
|
||||
if(!valueBillTypeDataBillTypeDataItem["Product"].isNull())
|
||||
billTypeDataObject.product = valueBillTypeDataBillTypeDataItem["Product"].asString();
|
||||
if(!valueBillTypeDataBillTypeDataItem["Dimension"].isNull())
|
||||
billTypeDataObject.dimension = valueBillTypeDataBillTypeDataItem["Dimension"].asString();
|
||||
if(!valueBillTypeDataBillTypeDataItem["BillType"].isNull())
|
||||
billTypeDataObject.billType = valueBillTypeDataBillTypeDataItem["BillType"].asString();
|
||||
if(!valueBillTypeDataBillTypeDataItem["BillingCycle"].isNull())
|
||||
billTypeDataObject.billingCycle = valueBillTypeDataBillTypeDataItem["BillingCycle"].asString();
|
||||
billTypeData_.push_back(billTypeDataObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeCdnUserBillTypeResult::BillTypeDataItem> DescribeCdnUserBillTypeResult::getBillTypeData()const
|
||||
{
|
||||
return billTypeData_;
|
||||
}
|
||||
|
||||
51
cdn/src/model/DescribeCdnUserConfigsRequest.cc
Normal file
51
cdn/src/model/DescribeCdnUserConfigsRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DescribeCdnUserConfigsRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeCdnUserConfigsRequest;
|
||||
|
||||
DescribeCdnUserConfigsRequest::DescribeCdnUserConfigsRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnUserConfigs")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeCdnUserConfigsRequest::~DescribeCdnUserConfigsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeCdnUserConfigsRequest::getFunctionName()const
|
||||
{
|
||||
return functionName_;
|
||||
}
|
||||
|
||||
void DescribeCdnUserConfigsRequest::setFunctionName(const std::string& functionName)
|
||||
{
|
||||
functionName_ = functionName;
|
||||
setParameter("FunctionName", functionName);
|
||||
}
|
||||
|
||||
long DescribeCdnUserConfigsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCdnUserConfigsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
61
cdn/src/model/DescribeCdnUserConfigsResult.cc
Normal file
61
cdn/src/model/DescribeCdnUserConfigsResult.cc
Normal 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DescribeCdnUserConfigsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeCdnUserConfigsResult::DescribeCdnUserConfigsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeCdnUserConfigsResult::DescribeCdnUserConfigsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeCdnUserConfigsResult::~DescribeCdnUserConfigsResult()
|
||||
{}
|
||||
|
||||
void DescribeCdnUserConfigsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allConfigsNode = value["Configs"]["Config"];
|
||||
for (auto valueConfigsConfig : allConfigsNode)
|
||||
{
|
||||
Config configsObject;
|
||||
if(!valueConfigsConfig["ArgValue"].isNull())
|
||||
configsObject.argValue = valueConfigsConfig["ArgValue"].asString();
|
||||
if(!valueConfigsConfig["ArgName"].isNull())
|
||||
configsObject.argName = valueConfigsConfig["ArgName"].asString();
|
||||
if(!valueConfigsConfig["FunctionName"].isNull())
|
||||
configsObject.functionName = valueConfigsConfig["FunctionName"].asString();
|
||||
configs_.push_back(configsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeCdnUserConfigsResult::Config> DescribeCdnUserConfigsResult::getConfigs()const
|
||||
{
|
||||
return configs_;
|
||||
}
|
||||
|
||||
117
cdn/src/model/DescribeDomainDetailDataByLayerRequest.cc
Normal file
117
cdn/src/model/DescribeDomainDetailDataByLayerRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DescribeDomainDetailDataByLayerRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeDomainDetailDataByLayerRequest;
|
||||
|
||||
DescribeDomainDetailDataByLayerRequest::DescribeDomainDetailDataByLayerRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainDetailDataByLayer")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DescribeDomainDetailDataByLayerRequest::~DescribeDomainDetailDataByLayerRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDomainDetailDataByLayerRequest::getLocationNameEn()const
|
||||
{
|
||||
return locationNameEn_;
|
||||
}
|
||||
|
||||
void DescribeDomainDetailDataByLayerRequest::setLocationNameEn(const std::string& locationNameEn)
|
||||
{
|
||||
locationNameEn_ = locationNameEn;
|
||||
setParameter("LocationNameEn", locationNameEn);
|
||||
}
|
||||
|
||||
std::string DescribeDomainDetailDataByLayerRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeDomainDetailDataByLayerRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeDomainDetailDataByLayerRequest::getIspNameEn()const
|
||||
{
|
||||
return ispNameEn_;
|
||||
}
|
||||
|
||||
void DescribeDomainDetailDataByLayerRequest::setIspNameEn(const std::string& ispNameEn)
|
||||
{
|
||||
ispNameEn_ = ispNameEn;
|
||||
setParameter("IspNameEn", ispNameEn);
|
||||
}
|
||||
|
||||
std::string DescribeDomainDetailDataByLayerRequest::getLayer()const
|
||||
{
|
||||
return layer_;
|
||||
}
|
||||
|
||||
void DescribeDomainDetailDataByLayerRequest::setLayer(const std::string& layer)
|
||||
{
|
||||
layer_ = layer;
|
||||
setParameter("Layer", layer);
|
||||
}
|
||||
|
||||
std::string DescribeDomainDetailDataByLayerRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeDomainDetailDataByLayerRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeDomainDetailDataByLayerRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeDomainDetailDataByLayerRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeDomainDetailDataByLayerRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDomainDetailDataByLayerRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeDomainDetailDataByLayerRequest::getField()const
|
||||
{
|
||||
return field_;
|
||||
}
|
||||
|
||||
void DescribeDomainDetailDataByLayerRequest::setField(const std::string& field)
|
||||
{
|
||||
field_ = field;
|
||||
setParameter("Field", field);
|
||||
}
|
||||
|
||||
77
cdn/src/model/DescribeDomainDetailDataByLayerResult.cc
Normal file
77
cdn/src/model/DescribeDomainDetailDataByLayerResult.cc
Normal 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DescribeDomainDetailDataByLayerResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeDomainDetailDataByLayerResult::DescribeDomainDetailDataByLayerResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDomainDetailDataByLayerResult::DescribeDomainDetailDataByLayerResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDomainDetailDataByLayerResult::~DescribeDomainDetailDataByLayerResult()
|
||||
{}
|
||||
|
||||
void DescribeDomainDetailDataByLayerResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["DataModule"];
|
||||
for (auto valueDataDataModule : allDataNode)
|
||||
{
|
||||
DataModule dataObject;
|
||||
if(!valueDataDataModule["TimeStamp"].isNull())
|
||||
dataObject.timeStamp = valueDataDataModule["TimeStamp"].asString();
|
||||
if(!valueDataDataModule["DomainName"].isNull())
|
||||
dataObject.domainName = valueDataDataModule["DomainName"].asString();
|
||||
if(!valueDataDataModule["Bps"].isNull())
|
||||
dataObject.bps = std::stof(valueDataDataModule["Bps"].asString());
|
||||
if(!valueDataDataModule["Qps"].isNull())
|
||||
dataObject.qps = std::stof(valueDataDataModule["Qps"].asString());
|
||||
if(!valueDataDataModule["Traf"].isNull())
|
||||
dataObject.traf = std::stol(valueDataDataModule["Traf"].asString());
|
||||
if(!valueDataDataModule["Acc"].isNull())
|
||||
dataObject.acc = std::stol(valueDataDataModule["Acc"].asString());
|
||||
if(!valueDataDataModule["Ipv6Traf"].isNull())
|
||||
dataObject.ipv6Traf = std::stol(valueDataDataModule["Ipv6Traf"].asString());
|
||||
if(!valueDataDataModule["Ipv6Bps"].isNull())
|
||||
dataObject.ipv6Bps = std::stof(valueDataDataModule["Ipv6Bps"].asString());
|
||||
if(!valueDataDataModule["Ipv6Acc"].isNull())
|
||||
dataObject.ipv6Acc = std::stol(valueDataDataModule["Ipv6Acc"].asString());
|
||||
if(!valueDataDataModule["Ipv6Qps"].isNull())
|
||||
dataObject.ipv6Qps = std::stof(valueDataDataModule["Ipv6Qps"].asString());
|
||||
if(!valueDataDataModule["HttpCode"].isNull())
|
||||
dataObject.httpCode = valueDataDataModule["HttpCode"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDomainDetailDataByLayerResult::DataModule> DescribeDomainDetailDataByLayerResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
73
cdn/src/model/DescribeDomainNamesOfVersionRequest.cc
Normal file
73
cdn/src/model/DescribeDomainNamesOfVersionRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DescribeDomainNamesOfVersionRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeDomainNamesOfVersionRequest;
|
||||
|
||||
DescribeDomainNamesOfVersionRequest::DescribeDomainNamesOfVersionRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainNamesOfVersion")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDomainNamesOfVersionRequest::~DescribeDomainNamesOfVersionRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDomainNamesOfVersionRequest::getVersionId()const
|
||||
{
|
||||
return versionId_;
|
||||
}
|
||||
|
||||
void DescribeDomainNamesOfVersionRequest::setVersionId(const std::string& versionId)
|
||||
{
|
||||
versionId_ = versionId;
|
||||
setParameter("VersionId", versionId);
|
||||
}
|
||||
|
||||
std::string DescribeDomainNamesOfVersionRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeDomainNamesOfVersionRequest::setPageSize(const std::string& pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", pageSize);
|
||||
}
|
||||
|
||||
int DescribeDomainNamesOfVersionRequest::getPageIndex()const
|
||||
{
|
||||
return pageIndex_;
|
||||
}
|
||||
|
||||
void DescribeDomainNamesOfVersionRequest::setPageIndex(int pageIndex)
|
||||
{
|
||||
pageIndex_ = pageIndex;
|
||||
setParameter("PageIndex", std::to_string(pageIndex));
|
||||
}
|
||||
|
||||
long DescribeDomainNamesOfVersionRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDomainNamesOfVersionRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
66
cdn/src/model/DescribeDomainNamesOfVersionResult.cc
Normal file
66
cdn/src/model/DescribeDomainNamesOfVersionResult.cc
Normal file
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DescribeDomainNamesOfVersionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeDomainNamesOfVersionResult::DescribeDomainNamesOfVersionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDomainNamesOfVersionResult::DescribeDomainNamesOfVersionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDomainNamesOfVersionResult::~DescribeDomainNamesOfVersionResult()
|
||||
{}
|
||||
|
||||
void DescribeDomainNamesOfVersionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allContentsNode = value["Contents"]["content"];
|
||||
for (auto valueContentscontent : allContentsNode)
|
||||
{
|
||||
Content contentsObject;
|
||||
if(!valueContentscontent["DomainId"].isNull())
|
||||
contentsObject.domainId = valueContentscontent["DomainId"].asString();
|
||||
if(!valueContentscontent["DomainName"].isNull())
|
||||
contentsObject.domainName = valueContentscontent["DomainName"].asString();
|
||||
contents_.push_back(contentsObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeDomainNamesOfVersionResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDomainNamesOfVersionResult::Content> DescribeDomainNamesOfVersionResult::getContents()const
|
||||
{
|
||||
return contents_;
|
||||
}
|
||||
|
||||
@@ -53,8 +53,8 @@ void DescribeRefreshQuotaResult::parse(const std::string &payload)
|
||||
blockQuota_ = value["BlockQuota"].asString();
|
||||
if(!value["PreloadRemain"].isNull())
|
||||
preloadRemain_ = value["PreloadRemain"].asString();
|
||||
if(!value["blockRemain"].isNull())
|
||||
blockRemain_ = value["blockRemain"].asString();
|
||||
if(!value["BlockRemain"].isNull())
|
||||
blockRemain_ = value["BlockRemain"].asString();
|
||||
if(!value["RegexQuota"].isNull())
|
||||
regexQuota_ = value["RegexQuota"].asString();
|
||||
if(!value["RegexRemain"].isNull())
|
||||
|
||||
73
cdn/src/model/DescribeRefreshTaskByIdRequest.cc
Normal file
73
cdn/src/model/DescribeRefreshTaskByIdRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DescribeRefreshTaskByIdRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeRefreshTaskByIdRequest;
|
||||
|
||||
DescribeRefreshTaskByIdRequest::DescribeRefreshTaskByIdRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "DescribeRefreshTaskById")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeRefreshTaskByIdRequest::~DescribeRefreshTaskByIdRequest()
|
||||
{}
|
||||
|
||||
int DescribeRefreshTaskByIdRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeRefreshTaskByIdRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int DescribeRefreshTaskByIdRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeRefreshTaskByIdRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeRefreshTaskByIdRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void DescribeRefreshTaskByIdRequest::setTaskId(const std::string& taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setParameter("TaskId", taskId);
|
||||
}
|
||||
|
||||
long DescribeRefreshTaskByIdRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeRefreshTaskByIdRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user