From b452038de4c8e075a1d8c52a95e3796b650d58d5 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Fri, 17 Jan 2020 15:29:33 +0800 Subject: [PATCH] Supported Add the history event signature function. --- CHANGELOG | 3 + VERSION | 2 +- rds/CMakeLists.txt | 32 ++ rds/include/alibabacloud/rds/RdsClient.h | 64 ++++ .../DescribeDBInstancePerformanceRequest.h | 3 + .../DescribeDBInstancesForCloneRequest.h | 3 + .../DescribeDBInstancesOverviewRequest.h | 78 +++++ .../model/DescribeDBInstancesOverviewResult.h | 76 +++++ .../model/DescribeNextEventForSignRequest.h | 60 ++++ .../model/DescribeNextEventForSignResult.h | 56 ++++ .../model/DescribeSQLCollectorPolicyRequest.h | 66 ++++ .../model/DescribeSQLCollectorPolicyResult.h | 53 ++++ .../DescribeSQLCollectorRetentionRequest.h | 66 ++++ .../DescribeSQLCollectorRetentionResult.h | 55 ++++ .../model/DescribeSignedEventActionsRequest.h | 66 ++++ .../model/DescribeSignedEventActionsResult.h | 66 ++++ .../ModifyActionEventVerifyPolicyRequest.h | 63 ++++ .../ModifyActionEventVerifyPolicyResult.h | 53 ++++ .../rds/model/ModifyDBInstanceSpecRequest.h | 3 + .../ModifySQLCollectorRetentionRequest.h | 69 +++++ .../model/ModifySQLCollectorRetentionResult.h | 55 ++++ .../rds/model/SignEventActionRequest.h | 66 ++++ .../rds/model/SignEventActionResult.h | 53 ++++ rds/src/RdsClient.cc | 288 ++++++++++++++++++ .../DescribeDBInstancePerformanceRequest.cc | 11 + .../DescribeDBInstancesForCloneRequest.cc | 11 + .../DescribeDBInstancesOverviewRequest.cc | 150 +++++++++ .../DescribeDBInstancesOverviewResult.cc | 95 ++++++ .../model/DescribeNextEventForSignRequest.cc | 84 +++++ .../model/DescribeNextEventForSignResult.cc | 59 ++++ .../DescribeSQLCollectorPolicyRequest.cc | 106 +++++++ .../model/DescribeSQLCollectorPolicyResult.cc | 58 ++++ .../DescribeSQLCollectorRetentionRequest.cc | 106 +++++++ .../DescribeSQLCollectorRetentionResult.cc | 65 ++++ .../DescribeSignedEventActionsRequest.cc | 106 +++++++ .../model/DescribeSignedEventActionsResult.cc | 91 ++++++ .../ModifyActionEventVerifyPolicyRequest.cc | 95 ++++++ .../ModifyActionEventVerifyPolicyResult.cc | 58 ++++ rds/src/model/ModifyDBInstanceSpecRequest.cc | 11 + .../ModifySQLCollectorRetentionRequest.cc | 117 +++++++ .../ModifySQLCollectorRetentionResult.cc | 65 ++++ rds/src/model/SignEventActionRequest.cc | 106 +++++++ rds/src/model/SignEventActionResult.cc | 58 ++++ 43 files changed, 2850 insertions(+), 1 deletion(-) create mode 100644 rds/include/alibabacloud/rds/model/DescribeDBInstancesOverviewRequest.h create mode 100644 rds/include/alibabacloud/rds/model/DescribeDBInstancesOverviewResult.h create mode 100644 rds/include/alibabacloud/rds/model/DescribeNextEventForSignRequest.h create mode 100644 rds/include/alibabacloud/rds/model/DescribeNextEventForSignResult.h create mode 100644 rds/include/alibabacloud/rds/model/DescribeSQLCollectorPolicyRequest.h create mode 100644 rds/include/alibabacloud/rds/model/DescribeSQLCollectorPolicyResult.h create mode 100644 rds/include/alibabacloud/rds/model/DescribeSQLCollectorRetentionRequest.h create mode 100644 rds/include/alibabacloud/rds/model/DescribeSQLCollectorRetentionResult.h create mode 100644 rds/include/alibabacloud/rds/model/DescribeSignedEventActionsRequest.h create mode 100644 rds/include/alibabacloud/rds/model/DescribeSignedEventActionsResult.h create mode 100644 rds/include/alibabacloud/rds/model/ModifyActionEventVerifyPolicyRequest.h create mode 100644 rds/include/alibabacloud/rds/model/ModifyActionEventVerifyPolicyResult.h create mode 100644 rds/include/alibabacloud/rds/model/ModifySQLCollectorRetentionRequest.h create mode 100644 rds/include/alibabacloud/rds/model/ModifySQLCollectorRetentionResult.h create mode 100644 rds/include/alibabacloud/rds/model/SignEventActionRequest.h create mode 100644 rds/include/alibabacloud/rds/model/SignEventActionResult.h create mode 100644 rds/src/model/DescribeDBInstancesOverviewRequest.cc create mode 100644 rds/src/model/DescribeDBInstancesOverviewResult.cc create mode 100644 rds/src/model/DescribeNextEventForSignRequest.cc create mode 100644 rds/src/model/DescribeNextEventForSignResult.cc create mode 100644 rds/src/model/DescribeSQLCollectorPolicyRequest.cc create mode 100644 rds/src/model/DescribeSQLCollectorPolicyResult.cc create mode 100644 rds/src/model/DescribeSQLCollectorRetentionRequest.cc create mode 100644 rds/src/model/DescribeSQLCollectorRetentionResult.cc create mode 100644 rds/src/model/DescribeSignedEventActionsRequest.cc create mode 100644 rds/src/model/DescribeSignedEventActionsResult.cc create mode 100644 rds/src/model/ModifyActionEventVerifyPolicyRequest.cc create mode 100644 rds/src/model/ModifyActionEventVerifyPolicyResult.cc create mode 100644 rds/src/model/ModifySQLCollectorRetentionRequest.cc create mode 100644 rds/src/model/ModifySQLCollectorRetentionResult.cc create mode 100644 rds/src/model/SignEventActionRequest.cc create mode 100644 rds/src/model/SignEventActionResult.cc diff --git a/CHANGELOG b/CHANGELOG index d3699d914..7ab72ea2d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2020-01-17 Version 1.36.246 +- Supported Add the history event signature function. + 2020-01-16 Version 1.36.245 - Fix the result value of DeleteSiteMonitors. diff --git a/VERSION b/VERSION index b499b276f..ce422ad07 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.245 \ No newline at end of file +1.36.246 \ No newline at end of file diff --git a/rds/CMakeLists.txt b/rds/CMakeLists.txt index 96711d6e6..2353ecd78 100644 --- a/rds/CMakeLists.txt +++ b/rds/CMakeLists.txt @@ -163,6 +163,8 @@ set(rds_public_header_model include/alibabacloud/rds/model/DescribeDBInstancesByPerformanceResult.h include/alibabacloud/rds/model/DescribeDBInstancesForCloneRequest.h include/alibabacloud/rds/model/DescribeDBInstancesForCloneResult.h + include/alibabacloud/rds/model/DescribeDBInstancesOverviewRequest.h + include/alibabacloud/rds/model/DescribeDBInstancesOverviewResult.h include/alibabacloud/rds/model/DescribeDBProxyRequest.h include/alibabacloud/rds/model/DescribeDBProxyResult.h include/alibabacloud/rds/model/DescribeDBProxyEndpointRequest.h @@ -203,6 +205,8 @@ set(rds_public_header_model include/alibabacloud/rds/model/DescribeMigrateTasksForSQLServerResult.h include/alibabacloud/rds/model/DescribeModifyParameterLogRequest.h include/alibabacloud/rds/model/DescribeModifyParameterLogResult.h + include/alibabacloud/rds/model/DescribeNextEventForSignRequest.h + include/alibabacloud/rds/model/DescribeNextEventForSignResult.h include/alibabacloud/rds/model/DescribeOssDownloadsRequest.h include/alibabacloud/rds/model/DescribeOssDownloadsResult.h include/alibabacloud/rds/model/DescribeOssDownloadsForSQLServerRequest.h @@ -225,6 +229,10 @@ set(rds_public_header_model include/alibabacloud/rds/model/DescribeRenewalPriceResult.h include/alibabacloud/rds/model/DescribeResourceUsageRequest.h include/alibabacloud/rds/model/DescribeResourceUsageResult.h + include/alibabacloud/rds/model/DescribeSQLCollectorPolicyRequest.h + include/alibabacloud/rds/model/DescribeSQLCollectorPolicyResult.h + include/alibabacloud/rds/model/DescribeSQLCollectorRetentionRequest.h + include/alibabacloud/rds/model/DescribeSQLCollectorRetentionResult.h include/alibabacloud/rds/model/DescribeSQLLogFilesRequest.h include/alibabacloud/rds/model/DescribeSQLLogFilesResult.h include/alibabacloud/rds/model/DescribeSQLLogRecordsRequest.h @@ -237,6 +245,8 @@ set(rds_public_header_model include/alibabacloud/rds/model/DescribeSQLReportsResult.h include/alibabacloud/rds/model/DescribeSecurityGroupConfigurationRequest.h include/alibabacloud/rds/model/DescribeSecurityGroupConfigurationResult.h + include/alibabacloud/rds/model/DescribeSignedEventActionsRequest.h + include/alibabacloud/rds/model/DescribeSignedEventActionsResult.h include/alibabacloud/rds/model/DescribeSlowLogRecordsRequest.h include/alibabacloud/rds/model/DescribeSlowLogRecordsResult.h include/alibabacloud/rds/model/DescribeSlowLogsRequest.h @@ -269,6 +279,8 @@ set(rds_public_header_model include/alibabacloud/rds/model/ModifyAccountDescriptionResult.h include/alibabacloud/rds/model/ModifyActionEventPolicyRequest.h include/alibabacloud/rds/model/ModifyActionEventPolicyResult.h + include/alibabacloud/rds/model/ModifyActionEventVerifyPolicyRequest.h + include/alibabacloud/rds/model/ModifyActionEventVerifyPolicyResult.h include/alibabacloud/rds/model/ModifyBackupPolicyRequest.h include/alibabacloud/rds/model/ModifyBackupPolicyResult.h include/alibabacloud/rds/model/ModifyCollationTimeZoneRequest.h @@ -335,6 +347,8 @@ set(rds_public_header_model include/alibabacloud/rds/model/ModifyResourceGroupResult.h include/alibabacloud/rds/model/ModifySQLCollectorPolicyRequest.h include/alibabacloud/rds/model/ModifySQLCollectorPolicyResult.h + include/alibabacloud/rds/model/ModifySQLCollectorRetentionRequest.h + include/alibabacloud/rds/model/ModifySQLCollectorRetentionResult.h include/alibabacloud/rds/model/ModifySecurityGroupConfigurationRequest.h include/alibabacloud/rds/model/ModifySecurityGroupConfigurationResult.h include/alibabacloud/rds/model/ModifySecurityIpsRequest.h @@ -375,6 +389,8 @@ set(rds_public_header_model include/alibabacloud/rds/model/RevokeAccountPrivilegeResult.h include/alibabacloud/rds/model/RevokeOperatorPermissionRequest.h include/alibabacloud/rds/model/RevokeOperatorPermissionResult.h + include/alibabacloud/rds/model/SignEventActionRequest.h + include/alibabacloud/rds/model/SignEventActionResult.h include/alibabacloud/rds/model/SwitchDBInstanceHARequest.h include/alibabacloud/rds/model/SwitchDBInstanceHAResult.h include/alibabacloud/rds/model/SwitchDBInstanceNetTypeRequest.h @@ -536,6 +552,8 @@ set(rds_src src/model/DescribeDBInstancesByPerformanceResult.cc src/model/DescribeDBInstancesForCloneRequest.cc src/model/DescribeDBInstancesForCloneResult.cc + src/model/DescribeDBInstancesOverviewRequest.cc + src/model/DescribeDBInstancesOverviewResult.cc src/model/DescribeDBProxyRequest.cc src/model/DescribeDBProxyResult.cc src/model/DescribeDBProxyEndpointRequest.cc @@ -576,6 +594,8 @@ set(rds_src src/model/DescribeMigrateTasksForSQLServerResult.cc src/model/DescribeModifyParameterLogRequest.cc src/model/DescribeModifyParameterLogResult.cc + src/model/DescribeNextEventForSignRequest.cc + src/model/DescribeNextEventForSignResult.cc src/model/DescribeOssDownloadsRequest.cc src/model/DescribeOssDownloadsResult.cc src/model/DescribeOssDownloadsForSQLServerRequest.cc @@ -598,6 +618,10 @@ set(rds_src src/model/DescribeRenewalPriceResult.cc src/model/DescribeResourceUsageRequest.cc src/model/DescribeResourceUsageResult.cc + src/model/DescribeSQLCollectorPolicyRequest.cc + src/model/DescribeSQLCollectorPolicyResult.cc + src/model/DescribeSQLCollectorRetentionRequest.cc + src/model/DescribeSQLCollectorRetentionResult.cc src/model/DescribeSQLLogFilesRequest.cc src/model/DescribeSQLLogFilesResult.cc src/model/DescribeSQLLogRecordsRequest.cc @@ -610,6 +634,8 @@ set(rds_src src/model/DescribeSQLReportsResult.cc src/model/DescribeSecurityGroupConfigurationRequest.cc src/model/DescribeSecurityGroupConfigurationResult.cc + src/model/DescribeSignedEventActionsRequest.cc + src/model/DescribeSignedEventActionsResult.cc src/model/DescribeSlowLogRecordsRequest.cc src/model/DescribeSlowLogRecordsResult.cc src/model/DescribeSlowLogsRequest.cc @@ -642,6 +668,8 @@ set(rds_src src/model/ModifyAccountDescriptionResult.cc src/model/ModifyActionEventPolicyRequest.cc src/model/ModifyActionEventPolicyResult.cc + src/model/ModifyActionEventVerifyPolicyRequest.cc + src/model/ModifyActionEventVerifyPolicyResult.cc src/model/ModifyBackupPolicyRequest.cc src/model/ModifyBackupPolicyResult.cc src/model/ModifyCollationTimeZoneRequest.cc @@ -708,6 +736,8 @@ set(rds_src src/model/ModifyResourceGroupResult.cc src/model/ModifySQLCollectorPolicyRequest.cc src/model/ModifySQLCollectorPolicyResult.cc + src/model/ModifySQLCollectorRetentionRequest.cc + src/model/ModifySQLCollectorRetentionResult.cc src/model/ModifySecurityGroupConfigurationRequest.cc src/model/ModifySecurityGroupConfigurationResult.cc src/model/ModifySecurityIpsRequest.cc @@ -748,6 +778,8 @@ set(rds_src src/model/RevokeAccountPrivilegeResult.cc src/model/RevokeOperatorPermissionRequest.cc src/model/RevokeOperatorPermissionResult.cc + src/model/SignEventActionRequest.cc + src/model/SignEventActionResult.cc src/model/SwitchDBInstanceHARequest.cc src/model/SwitchDBInstanceHAResult.cc src/model/SwitchDBInstanceNetTypeRequest.cc diff --git a/rds/include/alibabacloud/rds/RdsClient.h b/rds/include/alibabacloud/rds/RdsClient.h index c9ddf4b1d..922a1e150 100644 --- a/rds/include/alibabacloud/rds/RdsClient.h +++ b/rds/include/alibabacloud/rds/RdsClient.h @@ -164,6 +164,8 @@ #include "model/DescribeDBInstancesByPerformanceResult.h" #include "model/DescribeDBInstancesForCloneRequest.h" #include "model/DescribeDBInstancesForCloneResult.h" +#include "model/DescribeDBInstancesOverviewRequest.h" +#include "model/DescribeDBInstancesOverviewResult.h" #include "model/DescribeDBProxyRequest.h" #include "model/DescribeDBProxyResult.h" #include "model/DescribeDBProxyEndpointRequest.h" @@ -204,6 +206,8 @@ #include "model/DescribeMigrateTasksForSQLServerResult.h" #include "model/DescribeModifyParameterLogRequest.h" #include "model/DescribeModifyParameterLogResult.h" +#include "model/DescribeNextEventForSignRequest.h" +#include "model/DescribeNextEventForSignResult.h" #include "model/DescribeOssDownloadsRequest.h" #include "model/DescribeOssDownloadsResult.h" #include "model/DescribeOssDownloadsForSQLServerRequest.h" @@ -226,6 +230,10 @@ #include "model/DescribeRenewalPriceResult.h" #include "model/DescribeResourceUsageRequest.h" #include "model/DescribeResourceUsageResult.h" +#include "model/DescribeSQLCollectorPolicyRequest.h" +#include "model/DescribeSQLCollectorPolicyResult.h" +#include "model/DescribeSQLCollectorRetentionRequest.h" +#include "model/DescribeSQLCollectorRetentionResult.h" #include "model/DescribeSQLLogFilesRequest.h" #include "model/DescribeSQLLogFilesResult.h" #include "model/DescribeSQLLogRecordsRequest.h" @@ -238,6 +246,8 @@ #include "model/DescribeSQLReportsResult.h" #include "model/DescribeSecurityGroupConfigurationRequest.h" #include "model/DescribeSecurityGroupConfigurationResult.h" +#include "model/DescribeSignedEventActionsRequest.h" +#include "model/DescribeSignedEventActionsResult.h" #include "model/DescribeSlowLogRecordsRequest.h" #include "model/DescribeSlowLogRecordsResult.h" #include "model/DescribeSlowLogsRequest.h" @@ -270,6 +280,8 @@ #include "model/ModifyAccountDescriptionResult.h" #include "model/ModifyActionEventPolicyRequest.h" #include "model/ModifyActionEventPolicyResult.h" +#include "model/ModifyActionEventVerifyPolicyRequest.h" +#include "model/ModifyActionEventVerifyPolicyResult.h" #include "model/ModifyBackupPolicyRequest.h" #include "model/ModifyBackupPolicyResult.h" #include "model/ModifyCollationTimeZoneRequest.h" @@ -336,6 +348,8 @@ #include "model/ModifyResourceGroupResult.h" #include "model/ModifySQLCollectorPolicyRequest.h" #include "model/ModifySQLCollectorPolicyResult.h" +#include "model/ModifySQLCollectorRetentionRequest.h" +#include "model/ModifySQLCollectorRetentionResult.h" #include "model/ModifySecurityGroupConfigurationRequest.h" #include "model/ModifySecurityGroupConfigurationResult.h" #include "model/ModifySecurityIpsRequest.h" @@ -376,6 +390,8 @@ #include "model/RevokeAccountPrivilegeResult.h" #include "model/RevokeOperatorPermissionRequest.h" #include "model/RevokeOperatorPermissionResult.h" +#include "model/SignEventActionRequest.h" +#include "model/SignEventActionResult.h" #include "model/SwitchDBInstanceHARequest.h" #include "model/SwitchDBInstanceHAResult.h" #include "model/SwitchDBInstanceNetTypeRequest.h" @@ -614,6 +630,9 @@ namespace AlibabaCloud typedef Outcome DescribeDBInstancesForCloneOutcome; typedef std::future DescribeDBInstancesForCloneOutcomeCallable; typedef std::function&)> DescribeDBInstancesForCloneAsyncHandler; + typedef Outcome DescribeDBInstancesOverviewOutcome; + typedef std::future DescribeDBInstancesOverviewOutcomeCallable; + typedef std::function&)> DescribeDBInstancesOverviewAsyncHandler; typedef Outcome DescribeDBProxyOutcome; typedef std::future DescribeDBProxyOutcomeCallable; typedef std::function&)> DescribeDBProxyAsyncHandler; @@ -674,6 +693,9 @@ namespace AlibabaCloud typedef Outcome DescribeModifyParameterLogOutcome; typedef std::future DescribeModifyParameterLogOutcomeCallable; typedef std::function&)> DescribeModifyParameterLogAsyncHandler; + typedef Outcome DescribeNextEventForSignOutcome; + typedef std::future DescribeNextEventForSignOutcomeCallable; + typedef std::function&)> DescribeNextEventForSignAsyncHandler; typedef Outcome DescribeOssDownloadsOutcome; typedef std::future DescribeOssDownloadsOutcomeCallable; typedef std::function&)> DescribeOssDownloadsAsyncHandler; @@ -707,6 +729,12 @@ namespace AlibabaCloud typedef Outcome DescribeResourceUsageOutcome; typedef std::future DescribeResourceUsageOutcomeCallable; typedef std::function&)> DescribeResourceUsageAsyncHandler; + typedef Outcome DescribeSQLCollectorPolicyOutcome; + typedef std::future DescribeSQLCollectorPolicyOutcomeCallable; + typedef std::function&)> DescribeSQLCollectorPolicyAsyncHandler; + typedef Outcome DescribeSQLCollectorRetentionOutcome; + typedef std::future DescribeSQLCollectorRetentionOutcomeCallable; + typedef std::function&)> DescribeSQLCollectorRetentionAsyncHandler; typedef Outcome DescribeSQLLogFilesOutcome; typedef std::future DescribeSQLLogFilesOutcomeCallable; typedef std::function&)> DescribeSQLLogFilesAsyncHandler; @@ -725,6 +753,9 @@ namespace AlibabaCloud typedef Outcome DescribeSecurityGroupConfigurationOutcome; typedef std::future DescribeSecurityGroupConfigurationOutcomeCallable; typedef std::function&)> DescribeSecurityGroupConfigurationAsyncHandler; + typedef Outcome DescribeSignedEventActionsOutcome; + typedef std::future DescribeSignedEventActionsOutcomeCallable; + typedef std::function&)> DescribeSignedEventActionsAsyncHandler; typedef Outcome DescribeSlowLogRecordsOutcome; typedef std::future DescribeSlowLogRecordsOutcomeCallable; typedef std::function&)> DescribeSlowLogRecordsAsyncHandler; @@ -773,6 +804,9 @@ namespace AlibabaCloud typedef Outcome ModifyActionEventPolicyOutcome; typedef std::future ModifyActionEventPolicyOutcomeCallable; typedef std::function&)> ModifyActionEventPolicyAsyncHandler; + typedef Outcome ModifyActionEventVerifyPolicyOutcome; + typedef std::future ModifyActionEventVerifyPolicyOutcomeCallable; + typedef std::function&)> ModifyActionEventVerifyPolicyAsyncHandler; typedef Outcome ModifyBackupPolicyOutcome; typedef std::future ModifyBackupPolicyOutcomeCallable; typedef std::function&)> ModifyBackupPolicyAsyncHandler; @@ -872,6 +906,9 @@ namespace AlibabaCloud typedef Outcome ModifySQLCollectorPolicyOutcome; typedef std::future ModifySQLCollectorPolicyOutcomeCallable; typedef std::function&)> ModifySQLCollectorPolicyAsyncHandler; + typedef Outcome ModifySQLCollectorRetentionOutcome; + typedef std::future ModifySQLCollectorRetentionOutcomeCallable; + typedef std::function&)> ModifySQLCollectorRetentionAsyncHandler; typedef Outcome ModifySecurityGroupConfigurationOutcome; typedef std::future ModifySecurityGroupConfigurationOutcomeCallable; typedef std::function&)> ModifySecurityGroupConfigurationAsyncHandler; @@ -932,6 +969,9 @@ namespace AlibabaCloud typedef Outcome RevokeOperatorPermissionOutcome; typedef std::future RevokeOperatorPermissionOutcomeCallable; typedef std::function&)> RevokeOperatorPermissionAsyncHandler; + typedef Outcome SignEventActionOutcome; + typedef std::future SignEventActionOutcomeCallable; + typedef std::function&)> SignEventActionAsyncHandler; typedef Outcome SwitchDBInstanceHAOutcome; typedef std::future SwitchDBInstanceHAOutcomeCallable; typedef std::function&)> SwitchDBInstanceHAAsyncHandler; @@ -1174,6 +1214,9 @@ namespace AlibabaCloud DescribeDBInstancesForCloneOutcome describeDBInstancesForClone(const Model::DescribeDBInstancesForCloneRequest &request)const; void describeDBInstancesForCloneAsync(const Model::DescribeDBInstancesForCloneRequest& request, const DescribeDBInstancesForCloneAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDBInstancesForCloneOutcomeCallable describeDBInstancesForCloneCallable(const Model::DescribeDBInstancesForCloneRequest& request) const; + DescribeDBInstancesOverviewOutcome describeDBInstancesOverview(const Model::DescribeDBInstancesOverviewRequest &request)const; + void describeDBInstancesOverviewAsync(const Model::DescribeDBInstancesOverviewRequest& request, const DescribeDBInstancesOverviewAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDBInstancesOverviewOutcomeCallable describeDBInstancesOverviewCallable(const Model::DescribeDBInstancesOverviewRequest& request) const; DescribeDBProxyOutcome describeDBProxy(const Model::DescribeDBProxyRequest &request)const; void describeDBProxyAsync(const Model::DescribeDBProxyRequest& request, const DescribeDBProxyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDBProxyOutcomeCallable describeDBProxyCallable(const Model::DescribeDBProxyRequest& request) const; @@ -1234,6 +1277,9 @@ namespace AlibabaCloud DescribeModifyParameterLogOutcome describeModifyParameterLog(const Model::DescribeModifyParameterLogRequest &request)const; void describeModifyParameterLogAsync(const Model::DescribeModifyParameterLogRequest& request, const DescribeModifyParameterLogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeModifyParameterLogOutcomeCallable describeModifyParameterLogCallable(const Model::DescribeModifyParameterLogRequest& request) const; + DescribeNextEventForSignOutcome describeNextEventForSign(const Model::DescribeNextEventForSignRequest &request)const; + void describeNextEventForSignAsync(const Model::DescribeNextEventForSignRequest& request, const DescribeNextEventForSignAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeNextEventForSignOutcomeCallable describeNextEventForSignCallable(const Model::DescribeNextEventForSignRequest& request) const; DescribeOssDownloadsOutcome describeOssDownloads(const Model::DescribeOssDownloadsRequest &request)const; void describeOssDownloadsAsync(const Model::DescribeOssDownloadsRequest& request, const DescribeOssDownloadsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeOssDownloadsOutcomeCallable describeOssDownloadsCallable(const Model::DescribeOssDownloadsRequest& request) const; @@ -1267,6 +1313,12 @@ namespace AlibabaCloud DescribeResourceUsageOutcome describeResourceUsage(const Model::DescribeResourceUsageRequest &request)const; void describeResourceUsageAsync(const Model::DescribeResourceUsageRequest& request, const DescribeResourceUsageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeResourceUsageOutcomeCallable describeResourceUsageCallable(const Model::DescribeResourceUsageRequest& request) const; + DescribeSQLCollectorPolicyOutcome describeSQLCollectorPolicy(const Model::DescribeSQLCollectorPolicyRequest &request)const; + void describeSQLCollectorPolicyAsync(const Model::DescribeSQLCollectorPolicyRequest& request, const DescribeSQLCollectorPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSQLCollectorPolicyOutcomeCallable describeSQLCollectorPolicyCallable(const Model::DescribeSQLCollectorPolicyRequest& request) const; + DescribeSQLCollectorRetentionOutcome describeSQLCollectorRetention(const Model::DescribeSQLCollectorRetentionRequest &request)const; + void describeSQLCollectorRetentionAsync(const Model::DescribeSQLCollectorRetentionRequest& request, const DescribeSQLCollectorRetentionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSQLCollectorRetentionOutcomeCallable describeSQLCollectorRetentionCallable(const Model::DescribeSQLCollectorRetentionRequest& request) const; DescribeSQLLogFilesOutcome describeSQLLogFiles(const Model::DescribeSQLLogFilesRequest &request)const; void describeSQLLogFilesAsync(const Model::DescribeSQLLogFilesRequest& request, const DescribeSQLLogFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSQLLogFilesOutcomeCallable describeSQLLogFilesCallable(const Model::DescribeSQLLogFilesRequest& request) const; @@ -1285,6 +1337,9 @@ namespace AlibabaCloud DescribeSecurityGroupConfigurationOutcome describeSecurityGroupConfiguration(const Model::DescribeSecurityGroupConfigurationRequest &request)const; void describeSecurityGroupConfigurationAsync(const Model::DescribeSecurityGroupConfigurationRequest& request, const DescribeSecurityGroupConfigurationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSecurityGroupConfigurationOutcomeCallable describeSecurityGroupConfigurationCallable(const Model::DescribeSecurityGroupConfigurationRequest& request) const; + DescribeSignedEventActionsOutcome describeSignedEventActions(const Model::DescribeSignedEventActionsRequest &request)const; + void describeSignedEventActionsAsync(const Model::DescribeSignedEventActionsRequest& request, const DescribeSignedEventActionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSignedEventActionsOutcomeCallable describeSignedEventActionsCallable(const Model::DescribeSignedEventActionsRequest& request) const; DescribeSlowLogRecordsOutcome describeSlowLogRecords(const Model::DescribeSlowLogRecordsRequest &request)const; void describeSlowLogRecordsAsync(const Model::DescribeSlowLogRecordsRequest& request, const DescribeSlowLogRecordsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSlowLogRecordsOutcomeCallable describeSlowLogRecordsCallable(const Model::DescribeSlowLogRecordsRequest& request) const; @@ -1333,6 +1388,9 @@ namespace AlibabaCloud ModifyActionEventPolicyOutcome modifyActionEventPolicy(const Model::ModifyActionEventPolicyRequest &request)const; void modifyActionEventPolicyAsync(const Model::ModifyActionEventPolicyRequest& request, const ModifyActionEventPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyActionEventPolicyOutcomeCallable modifyActionEventPolicyCallable(const Model::ModifyActionEventPolicyRequest& request) const; + ModifyActionEventVerifyPolicyOutcome modifyActionEventVerifyPolicy(const Model::ModifyActionEventVerifyPolicyRequest &request)const; + void modifyActionEventVerifyPolicyAsync(const Model::ModifyActionEventVerifyPolicyRequest& request, const ModifyActionEventVerifyPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyActionEventVerifyPolicyOutcomeCallable modifyActionEventVerifyPolicyCallable(const Model::ModifyActionEventVerifyPolicyRequest& request) const; ModifyBackupPolicyOutcome modifyBackupPolicy(const Model::ModifyBackupPolicyRequest &request)const; void modifyBackupPolicyAsync(const Model::ModifyBackupPolicyRequest& request, const ModifyBackupPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyBackupPolicyOutcomeCallable modifyBackupPolicyCallable(const Model::ModifyBackupPolicyRequest& request) const; @@ -1432,6 +1490,9 @@ namespace AlibabaCloud ModifySQLCollectorPolicyOutcome modifySQLCollectorPolicy(const Model::ModifySQLCollectorPolicyRequest &request)const; void modifySQLCollectorPolicyAsync(const Model::ModifySQLCollectorPolicyRequest& request, const ModifySQLCollectorPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifySQLCollectorPolicyOutcomeCallable modifySQLCollectorPolicyCallable(const Model::ModifySQLCollectorPolicyRequest& request) const; + ModifySQLCollectorRetentionOutcome modifySQLCollectorRetention(const Model::ModifySQLCollectorRetentionRequest &request)const; + void modifySQLCollectorRetentionAsync(const Model::ModifySQLCollectorRetentionRequest& request, const ModifySQLCollectorRetentionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifySQLCollectorRetentionOutcomeCallable modifySQLCollectorRetentionCallable(const Model::ModifySQLCollectorRetentionRequest& request) const; ModifySecurityGroupConfigurationOutcome modifySecurityGroupConfiguration(const Model::ModifySecurityGroupConfigurationRequest &request)const; void modifySecurityGroupConfigurationAsync(const Model::ModifySecurityGroupConfigurationRequest& request, const ModifySecurityGroupConfigurationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifySecurityGroupConfigurationOutcomeCallable modifySecurityGroupConfigurationCallable(const Model::ModifySecurityGroupConfigurationRequest& request) const; @@ -1492,6 +1553,9 @@ namespace AlibabaCloud RevokeOperatorPermissionOutcome revokeOperatorPermission(const Model::RevokeOperatorPermissionRequest &request)const; void revokeOperatorPermissionAsync(const Model::RevokeOperatorPermissionRequest& request, const RevokeOperatorPermissionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RevokeOperatorPermissionOutcomeCallable revokeOperatorPermissionCallable(const Model::RevokeOperatorPermissionRequest& request) const; + SignEventActionOutcome signEventAction(const Model::SignEventActionRequest &request)const; + void signEventActionAsync(const Model::SignEventActionRequest& request, const SignEventActionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SignEventActionOutcomeCallable signEventActionCallable(const Model::SignEventActionRequest& request) const; SwitchDBInstanceHAOutcome switchDBInstanceHA(const Model::SwitchDBInstanceHARequest &request)const; void switchDBInstanceHAAsync(const Model::SwitchDBInstanceHARequest& request, const SwitchDBInstanceHAAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SwitchDBInstanceHAOutcomeCallable switchDBInstanceHACallable(const Model::SwitchDBInstanceHARequest& request) const; diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstancePerformanceRequest.h b/rds/include/alibabacloud/rds/model/DescribeDBInstancePerformanceRequest.h index 6667f10bc..d897f00fa 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstancePerformanceRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstancePerformanceRequest.h @@ -53,6 +53,8 @@ namespace AlibabaCloud void setEndTime(const std::string& endTime); long getOwnerId()const; void setOwnerId(long ownerId); + bool getUseNullWhenMissingPoint()const; + void setUseNullWhenMissingPoint(bool useNullWhenMissingPoint); private: long resourceOwnerId_; @@ -64,6 +66,7 @@ namespace AlibabaCloud std::string ownerAccount_; std::string endTime_; long ownerId_; + bool useNullWhenMissingPoint_; }; } diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstancesForCloneRequest.h b/rds/include/alibabacloud/rds/model/DescribeDBInstancesForCloneRequest.h index b44110397..06dc9652d 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstancesForCloneRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstancesForCloneRequest.h @@ -57,6 +57,8 @@ namespace AlibabaCloud void setEngine(const std::string& engine); std::string getRegionId()const; void setRegionId(const std::string& regionId); + std::string getCurrentInstanceId()const; + void setCurrentInstanceId(const std::string& currentInstanceId); int getPageSize()const; void setPageSize(int pageSize); std::string getDBInstanceStatus()const; @@ -98,6 +100,7 @@ namespace AlibabaCloud std::string expired_; std::string engine_; std::string regionId_; + std::string currentInstanceId_; int pageSize_; std::string dBInstanceStatus_; std::string dBInstanceId_; diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstancesOverviewRequest.h b/rds/include/alibabacloud/rds/model/DescribeDBInstancesOverviewRequest.h new file mode 100644 index 000000000..796351f81 --- /dev/null +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstancesOverviewRequest.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESOVERVIEWREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESOVERVIEWREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstancesOverviewRequest : public RpcServiceRequest + { + + public: + DescribeDBInstancesOverviewRequest(); + ~DescribeDBInstancesOverviewRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getExpired()const; + void setExpired(const std::string& expired); + std::string getEngine()const; + void setEngine(const std::string& engine); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getDBInstanceId()const; + void setDBInstanceId(const std::string& dBInstanceId); + std::string getProxyId()const; + void setProxyId(const std::string& proxyId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getZoneId()const; + void setZoneId(const std::string& zoneId); + + private: + long resourceOwnerId_; + std::string clientToken_; + std::string accessKeyId_; + std::string expired_; + std::string engine_; + std::string regionId_; + std::string dBInstanceId_; + std::string proxyId_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string zoneId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESOVERVIEWREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstancesOverviewResult.h b/rds/include/alibabacloud/rds/model/DescribeDBInstancesOverviewResult.h new file mode 100644 index 000000000..b21f7f457 --- /dev/null +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstancesOverviewResult.h @@ -0,0 +1,76 @@ +/* + * 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_RDS_MODEL_DESCRIBEDBINSTANCESOVERVIEWRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESOVERVIEWRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstancesOverviewResult : public ServiceResult + { + public: + struct RegionModel + { + struct TypeModel + { + struct InstanceModel + { + std::string createdTime; + std::string zoneId; + std::string dBInstanceStatus; + std::string dBInstanceId; + std::string region; + std::string payType; + std::string lockMode; + std::string expireTime; + std::string engine; + }; + std::vector instanceModels; + int count; + std::string instanceDateType; + }; + int totalCount; + std::string region; + std::vector typeModels; + std::string engineCount; + }; + + + DescribeDBInstancesOverviewResult(); + explicit DescribeDBInstancesOverviewResult(const std::string &payload); + ~DescribeDBInstancesOverviewResult(); + std::vector getRegions()const; + + protected: + void parse(const std::string &payload); + private: + std::vector regions_; + + }; + } + } +} +#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESOVERVIEWRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeNextEventForSignRequest.h b/rds/include/alibabacloud/rds/model/DescribeNextEventForSignRequest.h new file mode 100644 index 000000000..ec0084b99 --- /dev/null +++ b/rds/include/alibabacloud/rds/model/DescribeNextEventForSignRequest.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_RDS_MODEL_DESCRIBENEXTEVENTFORSIGNREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBENEXTEVENTFORSIGNREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeNextEventForSignRequest : public RpcServiceRequest + { + + public: + DescribeNextEventForSignRequest(); + ~DescribeNextEventForSignRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + + private: + long resourceOwnerId_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string accessKeyId_; + std::string regionId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBENEXTEVENTFORSIGNREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeNextEventForSignResult.h b/rds/include/alibabacloud/rds/model/DescribeNextEventForSignResult.h new file mode 100644 index 000000000..84b73de9c --- /dev/null +++ b/rds/include/alibabacloud/rds/model/DescribeNextEventForSignResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBENEXTEVENTFORSIGNRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBENEXTEVENTFORSIGNRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeNextEventForSignResult : public ServiceResult + { + public: + struct EventItemsItem + { + int eventId; + std::string eventContent; + }; + + + DescribeNextEventForSignResult(); + explicit DescribeNextEventForSignResult(const std::string &payload); + ~DescribeNextEventForSignResult(); + std::vector getEventItems()const; + + protected: + void parse(const std::string &payload); + private: + std::vector eventItems_; + + }; + } + } +} +#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBENEXTEVENTFORSIGNRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeSQLCollectorPolicyRequest.h b/rds/include/alibabacloud/rds/model/DescribeSQLCollectorPolicyRequest.h new file mode 100644 index 000000000..f449c575e --- /dev/null +++ b/rds/include/alibabacloud/rds/model/DescribeSQLCollectorPolicyRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBESQLCOLLECTORPOLICYREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLCOLLECTORPOLICYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeSQLCollectorPolicyRequest : public RpcServiceRequest + { + + public: + DescribeSQLCollectorPolicyRequest(); + ~DescribeSQLCollectorPolicyRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + std::string getOwnerAccount()const; + void setOwnerAccount(const std::string& ownerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getDBInstanceId()const; + void setDBInstanceId(const std::string& dBInstanceId); + + private: + long resourceOwnerId_; + std::string resourceOwnerAccount_; + std::string clientToken_; + std::string ownerAccount_; + long ownerId_; + std::string accessKeyId_; + std::string dBInstanceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESQLCOLLECTORPOLICYREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeSQLCollectorPolicyResult.h b/rds/include/alibabacloud/rds/model/DescribeSQLCollectorPolicyResult.h new file mode 100644 index 000000000..76454c0d8 --- /dev/null +++ b/rds/include/alibabacloud/rds/model/DescribeSQLCollectorPolicyResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBESQLCOLLECTORPOLICYRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLCOLLECTORPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeSQLCollectorPolicyResult : public ServiceResult + { + public: + + + DescribeSQLCollectorPolicyResult(); + explicit DescribeSQLCollectorPolicyResult(const std::string &payload); + ~DescribeSQLCollectorPolicyResult(); + int getStoragePeriod()const; + std::string getSQLCollectorStatus()const; + + protected: + void parse(const std::string &payload); + private: + int storagePeriod_; + std::string sQLCollectorStatus_; + + }; + } + } +} +#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESQLCOLLECTORPOLICYRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeSQLCollectorRetentionRequest.h b/rds/include/alibabacloud/rds/model/DescribeSQLCollectorRetentionRequest.h new file mode 100644 index 000000000..972c4e6c9 --- /dev/null +++ b/rds/include/alibabacloud/rds/model/DescribeSQLCollectorRetentionRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBESQLCOLLECTORRETENTIONREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLCOLLECTORRETENTIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeSQLCollectorRetentionRequest : public RpcServiceRequest + { + + public: + DescribeSQLCollectorRetentionRequest(); + ~DescribeSQLCollectorRetentionRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getDBInstanceId()const; + void setDBInstanceId(const std::string& dBInstanceId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getOwnerAccount()const; + void setOwnerAccount(const std::string& ownerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + long resourceOwnerId_; + std::string accessKeyId_; + std::string securityToken_; + std::string dBInstanceId_; + std::string resourceOwnerAccount_; + std::string ownerAccount_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESQLCOLLECTORRETENTIONREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeSQLCollectorRetentionResult.h b/rds/include/alibabacloud/rds/model/DescribeSQLCollectorRetentionResult.h new file mode 100644 index 000000000..2ad6c5cf8 --- /dev/null +++ b/rds/include/alibabacloud/rds/model/DescribeSQLCollectorRetentionResult.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_RDS_MODEL_DESCRIBESQLCOLLECTORRETENTIONRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLCOLLECTORRETENTIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeSQLCollectorRetentionResult : public ServiceResult + { + public: + + + DescribeSQLCollectorRetentionResult(); + explicit DescribeSQLCollectorRetentionResult(const std::string &payload); + ~DescribeSQLCollectorRetentionResult(); + std::string getConfigValue()const; + int getDBInstanceID()const; + std::string getDBInstanceName()const; + + protected: + void parse(const std::string &payload); + private: + std::string configValue_; + int dBInstanceID_; + std::string dBInstanceName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESQLCOLLECTORRETENTIONRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeSignedEventActionsRequest.h b/rds/include/alibabacloud/rds/model/DescribeSignedEventActionsRequest.h new file mode 100644 index 000000000..a2fb55331 --- /dev/null +++ b/rds/include/alibabacloud/rds/model/DescribeSignedEventActionsRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBESIGNEDEVENTACTIONSREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBESIGNEDEVENTACTIONSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeSignedEventActionsRequest : public RpcServiceRequest + { + + public: + DescribeSignedEventActionsRequest(); + ~DescribeSignedEventActionsRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + int getBeginEventId()const; + void setBeginEventId(int beginEventId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + 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); + + private: + long resourceOwnerId_; + int beginEventId_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string accessKeyId_; + std::string regionId_; + int pageSize_; + + }; + } + } +} +#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESIGNEDEVENTACTIONSREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeSignedEventActionsResult.h b/rds/include/alibabacloud/rds/model/DescribeSignedEventActionsResult.h new file mode 100644 index 000000000..6af2f3741 --- /dev/null +++ b/rds/include/alibabacloud/rds/model/DescribeSignedEventActionsResult.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBESIGNEDEVENTACTIONSRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBESIGNEDEVENTACTIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeSignedEventActionsResult : public ServiceResult + { + public: + struct EventItemsItem + { + int eventId; + std::string eventContent; + std::string eventSig; + std::string eventRcpt; + }; + + + DescribeSignedEventActionsResult(); + explicit DescribeSignedEventActionsResult(const std::string &payload); + ~DescribeSignedEventActionsResult(); + std::vector getEventItems()const; + int getPageRecordCount()const; + bool getToEnd()const; + bool getFromBegin()const; + int getNextPageEventId()const; + + protected: + void parse(const std::string &payload); + private: + std::vector eventItems_; + int pageRecordCount_; + bool toEnd_; + bool fromBegin_; + int nextPageEventId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESIGNEDEVENTACTIONSRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyActionEventVerifyPolicyRequest.h b/rds/include/alibabacloud/rds/model/ModifyActionEventVerifyPolicyRequest.h new file mode 100644 index 000000000..e08ca7e82 --- /dev/null +++ b/rds/include/alibabacloud/rds/model/ModifyActionEventVerifyPolicyRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYACTIONEVENTVERIFYPOLICYREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYACTIONEVENTVERIFYPOLICYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyActionEventVerifyPolicyRequest : public RpcServiceRequest + { + + public: + ModifyActionEventVerifyPolicyRequest(); + ~ModifyActionEventVerifyPolicyRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getUserPublicKey()const; + void setUserPublicKey(const std::string& userPublicKey); + + private: + long resourceOwnerId_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string accessKeyId_; + std::string regionId_; + std::string userPublicKey_; + + }; + } + } +} +#endif // !ALIBABACLOUD_RDS_MODEL_MODIFYACTIONEVENTVERIFYPOLICYREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyActionEventVerifyPolicyResult.h b/rds/include/alibabacloud/rds/model/ModifyActionEventVerifyPolicyResult.h new file mode 100644 index 000000000..8a02d6558 --- /dev/null +++ b/rds/include/alibabacloud/rds/model/ModifyActionEventVerifyPolicyResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYACTIONEVENTVERIFYPOLICYRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYACTIONEVENTVERIFYPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyActionEventVerifyPolicyResult : public ServiceResult + { + public: + + + ModifyActionEventVerifyPolicyResult(); + explicit ModifyActionEventVerifyPolicyResult(const std::string &payload); + ~ModifyActionEventVerifyPolicyResult(); + std::string getRegionId()const; + std::string getServerPublicKey()const; + + protected: + void parse(const std::string &payload); + private: + std::string regionId_; + std::string serverPublicKey_; + + }; + } + } +} +#endif // !ALIBABACLOUD_RDS_MODEL_MODIFYACTIONEVENTVERIFYPOLICYRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBInstanceSpecRequest.h b/rds/include/alibabacloud/rds/model/ModifyDBInstanceSpecRequest.h index 8bb8eb735..a357a6de3 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBInstanceSpecRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBInstanceSpecRequest.h @@ -51,6 +51,8 @@ namespace AlibabaCloud void setDBInstanceId(const std::string& dBInstanceId); std::string getDBInstanceStorageType()const; void setDBInstanceStorageType(const std::string& dBInstanceStorageType); + std::string getSourceBiz()const; + void setSourceBiz(const std::string& sourceBiz); std::string getDirection()const; void setDirection(const std::string& direction); std::string getResourceOwnerAccount()const; @@ -73,6 +75,7 @@ namespace AlibabaCloud std::string effectiveTime_; std::string dBInstanceId_; std::string dBInstanceStorageType_; + std::string sourceBiz_; std::string direction_; std::string resourceOwnerAccount_; std::string ownerAccount_; diff --git a/rds/include/alibabacloud/rds/model/ModifySQLCollectorRetentionRequest.h b/rds/include/alibabacloud/rds/model/ModifySQLCollectorRetentionRequest.h new file mode 100644 index 000000000..87e51f7be --- /dev/null +++ b/rds/include/alibabacloud/rds/model/ModifySQLCollectorRetentionRequest.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_RDS_MODEL_MODIFYSQLCOLLECTORRETENTIONREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYSQLCOLLECTORRETENTIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifySQLCollectorRetentionRequest : public RpcServiceRequest + { + + public: + ModifySQLCollectorRetentionRequest(); + ~ModifySQLCollectorRetentionRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getDBInstanceId()const; + void setDBInstanceId(const std::string& dBInstanceId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getOwnerAccount()const; + void setOwnerAccount(const std::string& ownerAccount); + std::string getConfigValue()const; + void setConfigValue(const std::string& configValue); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + long resourceOwnerId_; + std::string accessKeyId_; + std::string securityToken_; + std::string dBInstanceId_; + std::string resourceOwnerAccount_; + std::string ownerAccount_; + std::string configValue_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_RDS_MODEL_MODIFYSQLCOLLECTORRETENTIONREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifySQLCollectorRetentionResult.h b/rds/include/alibabacloud/rds/model/ModifySQLCollectorRetentionResult.h new file mode 100644 index 000000000..9801b0be6 --- /dev/null +++ b/rds/include/alibabacloud/rds/model/ModifySQLCollectorRetentionResult.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_RDS_MODEL_MODIFYSQLCOLLECTORRETENTIONRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYSQLCOLLECTORRETENTIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifySQLCollectorRetentionResult : public ServiceResult + { + public: + + + ModifySQLCollectorRetentionResult(); + explicit ModifySQLCollectorRetentionResult(const std::string &payload); + ~ModifySQLCollectorRetentionResult(); + int getTaskId()const; + int getDBInstanceID()const; + std::string getDBInstanceName()const; + + protected: + void parse(const std::string &payload); + private: + int taskId_; + int dBInstanceID_; + std::string dBInstanceName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_RDS_MODEL_MODIFYSQLCOLLECTORRETENTIONRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/SignEventActionRequest.h b/rds/include/alibabacloud/rds/model/SignEventActionRequest.h new file mode 100644 index 000000000..b5633d9d4 --- /dev/null +++ b/rds/include/alibabacloud/rds/model/SignEventActionRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_RDS_MODEL_SIGNEVENTACTIONREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_SIGNEVENTACTIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT SignEventActionRequest : public RpcServiceRequest + { + + public: + SignEventActionRequest(); + ~SignEventActionRequest(); + + int getEventId()const; + void setEventId(int eventId); + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getEventSig()const; + void setEventSig(const std::string& eventSig); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + + private: + int eventId_; + long resourceOwnerId_; + std::string eventSig_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string accessKeyId_; + std::string regionId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_RDS_MODEL_SIGNEVENTACTIONREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/SignEventActionResult.h b/rds/include/alibabacloud/rds/model/SignEventActionResult.h new file mode 100644 index 000000000..5060d78b6 --- /dev/null +++ b/rds/include/alibabacloud/rds/model/SignEventActionResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_RDS_MODEL_SIGNEVENTACTIONRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_SIGNEVENTACTIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT SignEventActionResult : public ServiceResult + { + public: + + + SignEventActionResult(); + explicit SignEventActionResult(const std::string &payload); + ~SignEventActionResult(); + std::string getEventId()const; + std::string getEventRcpt()const; + + protected: + void parse(const std::string &payload); + private: + std::string eventId_; + std::string eventRcpt_; + + }; + } + } +} +#endif // !ALIBABACLOUD_RDS_MODEL_SIGNEVENTACTIONRESULT_H_ \ No newline at end of file diff --git a/rds/src/RdsClient.cc b/rds/src/RdsClient.cc index 38b730e5b..8fa6293ee 100644 --- a/rds/src/RdsClient.cc +++ b/rds/src/RdsClient.cc @@ -2607,6 +2607,42 @@ RdsClient::DescribeDBInstancesForCloneOutcomeCallable RdsClient::describeDBInsta return task->get_future(); } +RdsClient::DescribeDBInstancesOverviewOutcome RdsClient::describeDBInstancesOverview(const DescribeDBInstancesOverviewRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDBInstancesOverviewOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDBInstancesOverviewOutcome(DescribeDBInstancesOverviewResult(outcome.result())); + else + return DescribeDBInstancesOverviewOutcome(outcome.error()); +} + +void RdsClient::describeDBInstancesOverviewAsync(const DescribeDBInstancesOverviewRequest& request, const DescribeDBInstancesOverviewAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDBInstancesOverview(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeDBInstancesOverviewOutcomeCallable RdsClient::describeDBInstancesOverviewCallable(const DescribeDBInstancesOverviewRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDBInstancesOverview(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + RdsClient::DescribeDBProxyOutcome RdsClient::describeDBProxy(const DescribeDBProxyRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3327,6 +3363,42 @@ RdsClient::DescribeModifyParameterLogOutcomeCallable RdsClient::describeModifyPa return task->get_future(); } +RdsClient::DescribeNextEventForSignOutcome RdsClient::describeNextEventForSign(const DescribeNextEventForSignRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeNextEventForSignOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeNextEventForSignOutcome(DescribeNextEventForSignResult(outcome.result())); + else + return DescribeNextEventForSignOutcome(outcome.error()); +} + +void RdsClient::describeNextEventForSignAsync(const DescribeNextEventForSignRequest& request, const DescribeNextEventForSignAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeNextEventForSign(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeNextEventForSignOutcomeCallable RdsClient::describeNextEventForSignCallable(const DescribeNextEventForSignRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeNextEventForSign(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + RdsClient::DescribeOssDownloadsOutcome RdsClient::describeOssDownloads(const DescribeOssDownloadsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3723,6 +3795,78 @@ RdsClient::DescribeResourceUsageOutcomeCallable RdsClient::describeResourceUsage return task->get_future(); } +RdsClient::DescribeSQLCollectorPolicyOutcome RdsClient::describeSQLCollectorPolicy(const DescribeSQLCollectorPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSQLCollectorPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSQLCollectorPolicyOutcome(DescribeSQLCollectorPolicyResult(outcome.result())); + else + return DescribeSQLCollectorPolicyOutcome(outcome.error()); +} + +void RdsClient::describeSQLCollectorPolicyAsync(const DescribeSQLCollectorPolicyRequest& request, const DescribeSQLCollectorPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSQLCollectorPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeSQLCollectorPolicyOutcomeCallable RdsClient::describeSQLCollectorPolicyCallable(const DescribeSQLCollectorPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSQLCollectorPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeSQLCollectorRetentionOutcome RdsClient::describeSQLCollectorRetention(const DescribeSQLCollectorRetentionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSQLCollectorRetentionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSQLCollectorRetentionOutcome(DescribeSQLCollectorRetentionResult(outcome.result())); + else + return DescribeSQLCollectorRetentionOutcome(outcome.error()); +} + +void RdsClient::describeSQLCollectorRetentionAsync(const DescribeSQLCollectorRetentionRequest& request, const DescribeSQLCollectorRetentionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSQLCollectorRetention(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeSQLCollectorRetentionOutcomeCallable RdsClient::describeSQLCollectorRetentionCallable(const DescribeSQLCollectorRetentionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSQLCollectorRetention(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + RdsClient::DescribeSQLLogFilesOutcome RdsClient::describeSQLLogFiles(const DescribeSQLLogFilesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3939,6 +4083,42 @@ RdsClient::DescribeSecurityGroupConfigurationOutcomeCallable RdsClient::describe return task->get_future(); } +RdsClient::DescribeSignedEventActionsOutcome RdsClient::describeSignedEventActions(const DescribeSignedEventActionsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSignedEventActionsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSignedEventActionsOutcome(DescribeSignedEventActionsResult(outcome.result())); + else + return DescribeSignedEventActionsOutcome(outcome.error()); +} + +void RdsClient::describeSignedEventActionsAsync(const DescribeSignedEventActionsRequest& request, const DescribeSignedEventActionsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSignedEventActions(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeSignedEventActionsOutcomeCallable RdsClient::describeSignedEventActionsCallable(const DescribeSignedEventActionsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSignedEventActions(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + RdsClient::DescribeSlowLogRecordsOutcome RdsClient::describeSlowLogRecords(const DescribeSlowLogRecordsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4515,6 +4695,42 @@ RdsClient::ModifyActionEventPolicyOutcomeCallable RdsClient::modifyActionEventPo return task->get_future(); } +RdsClient::ModifyActionEventVerifyPolicyOutcome RdsClient::modifyActionEventVerifyPolicy(const ModifyActionEventVerifyPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyActionEventVerifyPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyActionEventVerifyPolicyOutcome(ModifyActionEventVerifyPolicyResult(outcome.result())); + else + return ModifyActionEventVerifyPolicyOutcome(outcome.error()); +} + +void RdsClient::modifyActionEventVerifyPolicyAsync(const ModifyActionEventVerifyPolicyRequest& request, const ModifyActionEventVerifyPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyActionEventVerifyPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifyActionEventVerifyPolicyOutcomeCallable RdsClient::modifyActionEventVerifyPolicyCallable(const ModifyActionEventVerifyPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyActionEventVerifyPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + RdsClient::ModifyBackupPolicyOutcome RdsClient::modifyBackupPolicy(const ModifyBackupPolicyRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5703,6 +5919,42 @@ RdsClient::ModifySQLCollectorPolicyOutcomeCallable RdsClient::modifySQLCollector return task->get_future(); } +RdsClient::ModifySQLCollectorRetentionOutcome RdsClient::modifySQLCollectorRetention(const ModifySQLCollectorRetentionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifySQLCollectorRetentionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifySQLCollectorRetentionOutcome(ModifySQLCollectorRetentionResult(outcome.result())); + else + return ModifySQLCollectorRetentionOutcome(outcome.error()); +} + +void RdsClient::modifySQLCollectorRetentionAsync(const ModifySQLCollectorRetentionRequest& request, const ModifySQLCollectorRetentionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifySQLCollectorRetention(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifySQLCollectorRetentionOutcomeCallable RdsClient::modifySQLCollectorRetentionCallable(const ModifySQLCollectorRetentionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifySQLCollectorRetention(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + RdsClient::ModifySecurityGroupConfigurationOutcome RdsClient::modifySecurityGroupConfiguration(const ModifySecurityGroupConfigurationRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6423,6 +6675,42 @@ RdsClient::RevokeOperatorPermissionOutcomeCallable RdsClient::revokeOperatorPerm return task->get_future(); } +RdsClient::SignEventActionOutcome RdsClient::signEventAction(const SignEventActionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SignEventActionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SignEventActionOutcome(SignEventActionResult(outcome.result())); + else + return SignEventActionOutcome(outcome.error()); +} + +void RdsClient::signEventActionAsync(const SignEventActionRequest& request, const SignEventActionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, signEventAction(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::SignEventActionOutcomeCallable RdsClient::signEventActionCallable(const SignEventActionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->signEventAction(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + RdsClient::SwitchDBInstanceHAOutcome RdsClient::switchDBInstanceHA(const SwitchDBInstanceHARequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/rds/src/model/DescribeDBInstancePerformanceRequest.cc b/rds/src/model/DescribeDBInstancePerformanceRequest.cc index 5c3a7437c..bf3463825 100644 --- a/rds/src/model/DescribeDBInstancePerformanceRequest.cc +++ b/rds/src/model/DescribeDBInstancePerformanceRequest.cc @@ -126,3 +126,14 @@ void DescribeDBInstancePerformanceRequest::setOwnerId(long ownerId) setCoreParameter("OwnerId", std::to_string(ownerId)); } +bool DescribeDBInstancePerformanceRequest::getUseNullWhenMissingPoint()const +{ + return useNullWhenMissingPoint_; +} + +void DescribeDBInstancePerformanceRequest::setUseNullWhenMissingPoint(bool useNullWhenMissingPoint) +{ + useNullWhenMissingPoint_ = useNullWhenMissingPoint; + setCoreParameter("UseNullWhenMissingPoint", useNullWhenMissingPoint ? "true" : "false"); +} + diff --git a/rds/src/model/DescribeDBInstancesForCloneRequest.cc b/rds/src/model/DescribeDBInstancesForCloneRequest.cc index af21b71d7..be8c4d9d4 100644 --- a/rds/src/model/DescribeDBInstancesForCloneRequest.cc +++ b/rds/src/model/DescribeDBInstancesForCloneRequest.cc @@ -148,6 +148,17 @@ void DescribeDBInstancesForCloneRequest::setRegionId(const std::string& regionId setCoreParameter("RegionId", regionId); } +std::string DescribeDBInstancesForCloneRequest::getCurrentInstanceId()const +{ + return currentInstanceId_; +} + +void DescribeDBInstancesForCloneRequest::setCurrentInstanceId(const std::string& currentInstanceId) +{ + currentInstanceId_ = currentInstanceId; + setCoreParameter("CurrentInstanceId", currentInstanceId); +} + int DescribeDBInstancesForCloneRequest::getPageSize()const { return pageSize_; diff --git a/rds/src/model/DescribeDBInstancesOverviewRequest.cc b/rds/src/model/DescribeDBInstancesOverviewRequest.cc new file mode 100644 index 000000000..bdfa43f54 --- /dev/null +++ b/rds/src/model/DescribeDBInstancesOverviewRequest.cc @@ -0,0 +1,150 @@ +/* + * 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 + +using AlibabaCloud::Rds::Model::DescribeDBInstancesOverviewRequest; + +DescribeDBInstancesOverviewRequest::DescribeDBInstancesOverviewRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstancesOverview") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDBInstancesOverviewRequest::~DescribeDBInstancesOverviewRequest() +{} + +long DescribeDBInstancesOverviewRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeDBInstancesOverviewRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeDBInstancesOverviewRequest::getClientToken()const +{ + return clientToken_; +} + +void DescribeDBInstancesOverviewRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setCoreParameter("ClientToken", clientToken); +} + +std::string DescribeDBInstancesOverviewRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeDBInstancesOverviewRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeDBInstancesOverviewRequest::getExpired()const +{ + return expired_; +} + +void DescribeDBInstancesOverviewRequest::setExpired(const std::string& expired) +{ + expired_ = expired; + setCoreParameter("Expired", expired); +} + +std::string DescribeDBInstancesOverviewRequest::getEngine()const +{ + return engine_; +} + +void DescribeDBInstancesOverviewRequest::setEngine(const std::string& engine) +{ + engine_ = engine; + setCoreParameter("Engine", engine); +} + +std::string DescribeDBInstancesOverviewRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeDBInstancesOverviewRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + +std::string DescribeDBInstancesOverviewRequest::getDBInstanceId()const +{ + return dBInstanceId_; +} + +void DescribeDBInstancesOverviewRequest::setDBInstanceId(const std::string& dBInstanceId) +{ + dBInstanceId_ = dBInstanceId; + setCoreParameter("DBInstanceId", dBInstanceId); +} + +std::string DescribeDBInstancesOverviewRequest::getProxyId()const +{ + return proxyId_; +} + +void DescribeDBInstancesOverviewRequest::setProxyId(const std::string& proxyId) +{ + proxyId_ = proxyId; + setCoreParameter("ProxyId", proxyId); +} + +std::string DescribeDBInstancesOverviewRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void DescribeDBInstancesOverviewRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +long DescribeDBInstancesOverviewRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDBInstancesOverviewRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeDBInstancesOverviewRequest::getZoneId()const +{ + return zoneId_; +} + +void DescribeDBInstancesOverviewRequest::setZoneId(const std::string& zoneId) +{ + zoneId_ = zoneId; + setCoreParameter("ZoneId", zoneId); +} + diff --git a/rds/src/model/DescribeDBInstancesOverviewResult.cc b/rds/src/model/DescribeDBInstancesOverviewResult.cc new file mode 100644 index 000000000..4458c87aa --- /dev/null +++ b/rds/src/model/DescribeDBInstancesOverviewResult.cc @@ -0,0 +1,95 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeDBInstancesOverviewResult::DescribeDBInstancesOverviewResult() : + ServiceResult() +{} + +DescribeDBInstancesOverviewResult::DescribeDBInstancesOverviewResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDBInstancesOverviewResult::~DescribeDBInstancesOverviewResult() +{} + +void DescribeDBInstancesOverviewResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allRegionsNode = value["Regions"]["RegionModel"]; + for (auto valueRegionsRegionModel : allRegionsNode) + { + RegionModel regionsObject; + if(!valueRegionsRegionModel["Region"].isNull()) + regionsObject.region = valueRegionsRegionModel["Region"].asString(); + if(!valueRegionsRegionModel["EngineCount"].isNull()) + regionsObject.engineCount = valueRegionsRegionModel["EngineCount"].asString(); + if(!valueRegionsRegionModel["TotalCount"].isNull()) + regionsObject.totalCount = std::stoi(valueRegionsRegionModel["TotalCount"].asString()); + auto allTypeModelsNode = allRegionsNode["TypeModels"]["TypeModel"]; + for (auto allRegionsNodeTypeModelsTypeModel : allTypeModelsNode) + { + RegionModel::TypeModel typeModelsObject; + if(!allRegionsNodeTypeModelsTypeModel["InstanceDateType"].isNull()) + typeModelsObject.instanceDateType = allRegionsNodeTypeModelsTypeModel["InstanceDateType"].asString(); + if(!allRegionsNodeTypeModelsTypeModel["Count"].isNull()) + typeModelsObject.count = std::stoi(allRegionsNodeTypeModelsTypeModel["Count"].asString()); + auto allInstanceModelsNode = allTypeModelsNode["InstanceModels"]["InstanceModel"]; + for (auto allTypeModelsNodeInstanceModelsInstanceModel : allInstanceModelsNode) + { + RegionModel::TypeModel::InstanceModel instanceModelsObject; + if(!allTypeModelsNodeInstanceModelsInstanceModel["DBInstanceId"].isNull()) + instanceModelsObject.dBInstanceId = allTypeModelsNodeInstanceModelsInstanceModel["DBInstanceId"].asString(); + if(!allTypeModelsNodeInstanceModelsInstanceModel["Region"].isNull()) + instanceModelsObject.region = allTypeModelsNodeInstanceModelsInstanceModel["Region"].asString(); + if(!allTypeModelsNodeInstanceModelsInstanceModel["ZoneId"].isNull()) + instanceModelsObject.zoneId = allTypeModelsNodeInstanceModelsInstanceModel["ZoneId"].asString(); + if(!allTypeModelsNodeInstanceModelsInstanceModel["Engine"].isNull()) + instanceModelsObject.engine = allTypeModelsNodeInstanceModelsInstanceModel["Engine"].asString(); + if(!allTypeModelsNodeInstanceModelsInstanceModel["PayType"].isNull()) + instanceModelsObject.payType = allTypeModelsNodeInstanceModelsInstanceModel["PayType"].asString(); + if(!allTypeModelsNodeInstanceModelsInstanceModel["CreatedTime"].isNull()) + instanceModelsObject.createdTime = allTypeModelsNodeInstanceModelsInstanceModel["CreatedTime"].asString(); + if(!allTypeModelsNodeInstanceModelsInstanceModel["ExpireTime"].isNull()) + instanceModelsObject.expireTime = allTypeModelsNodeInstanceModelsInstanceModel["ExpireTime"].asString(); + if(!allTypeModelsNodeInstanceModelsInstanceModel["LockMode"].isNull()) + instanceModelsObject.lockMode = allTypeModelsNodeInstanceModelsInstanceModel["LockMode"].asString(); + if(!allTypeModelsNodeInstanceModelsInstanceModel["DBInstanceStatus"].isNull()) + instanceModelsObject.dBInstanceStatus = allTypeModelsNodeInstanceModelsInstanceModel["DBInstanceStatus"].asString(); + typeModelsObject.instanceModels.push_back(instanceModelsObject); + } + regionsObject.typeModels.push_back(typeModelsObject); + } + regions_.push_back(regionsObject); + } + +} + +std::vector DescribeDBInstancesOverviewResult::getRegions()const +{ + return regions_; +} + diff --git a/rds/src/model/DescribeNextEventForSignRequest.cc b/rds/src/model/DescribeNextEventForSignRequest.cc new file mode 100644 index 000000000..1aac497be --- /dev/null +++ b/rds/src/model/DescribeNextEventForSignRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeNextEventForSignRequest; + +DescribeNextEventForSignRequest::DescribeNextEventForSignRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeNextEventForSign") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeNextEventForSignRequest::~DescribeNextEventForSignRequest() +{} + +long DescribeNextEventForSignRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeNextEventForSignRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeNextEventForSignRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void DescribeNextEventForSignRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +long DescribeNextEventForSignRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeNextEventForSignRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeNextEventForSignRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeNextEventForSignRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeNextEventForSignRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeNextEventForSignRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + diff --git a/rds/src/model/DescribeNextEventForSignResult.cc b/rds/src/model/DescribeNextEventForSignResult.cc new file mode 100644 index 000000000..6daa2e639 --- /dev/null +++ b/rds/src/model/DescribeNextEventForSignResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeNextEventForSignResult::DescribeNextEventForSignResult() : + ServiceResult() +{} + +DescribeNextEventForSignResult::DescribeNextEventForSignResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeNextEventForSignResult::~DescribeNextEventForSignResult() +{} + +void DescribeNextEventForSignResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allEventItemsNode = value["EventItems"]["EventItemsItem"]; + for (auto valueEventItemsEventItemsItem : allEventItemsNode) + { + EventItemsItem eventItemsObject; + if(!valueEventItemsEventItemsItem["EventId"].isNull()) + eventItemsObject.eventId = std::stoi(valueEventItemsEventItemsItem["EventId"].asString()); + if(!valueEventItemsEventItemsItem["EventContent"].isNull()) + eventItemsObject.eventContent = valueEventItemsEventItemsItem["EventContent"].asString(); + eventItems_.push_back(eventItemsObject); + } + +} + +std::vector DescribeNextEventForSignResult::getEventItems()const +{ + return eventItems_; +} + diff --git a/rds/src/model/DescribeSQLCollectorPolicyRequest.cc b/rds/src/model/DescribeSQLCollectorPolicyRequest.cc new file mode 100644 index 000000000..4950e3b7b --- /dev/null +++ b/rds/src/model/DescribeSQLCollectorPolicyRequest.cc @@ -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 + +using AlibabaCloud::Rds::Model::DescribeSQLCollectorPolicyRequest; + +DescribeSQLCollectorPolicyRequest::DescribeSQLCollectorPolicyRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeSQLCollectorPolicy") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeSQLCollectorPolicyRequest::~DescribeSQLCollectorPolicyRequest() +{} + +long DescribeSQLCollectorPolicyRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeSQLCollectorPolicyRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeSQLCollectorPolicyRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void DescribeSQLCollectorPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string DescribeSQLCollectorPolicyRequest::getClientToken()const +{ + return clientToken_; +} + +void DescribeSQLCollectorPolicyRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setCoreParameter("ClientToken", clientToken); +} + +std::string DescribeSQLCollectorPolicyRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void DescribeSQLCollectorPolicyRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setCoreParameter("OwnerAccount", ownerAccount); +} + +long DescribeSQLCollectorPolicyRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeSQLCollectorPolicyRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeSQLCollectorPolicyRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeSQLCollectorPolicyRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeSQLCollectorPolicyRequest::getDBInstanceId()const +{ + return dBInstanceId_; +} + +void DescribeSQLCollectorPolicyRequest::setDBInstanceId(const std::string& dBInstanceId) +{ + dBInstanceId_ = dBInstanceId; + setCoreParameter("DBInstanceId", dBInstanceId); +} + diff --git a/rds/src/model/DescribeSQLCollectorPolicyResult.cc b/rds/src/model/DescribeSQLCollectorPolicyResult.cc new file mode 100644 index 000000000..78b7799b7 --- /dev/null +++ b/rds/src/model/DescribeSQLCollectorPolicyResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeSQLCollectorPolicyResult::DescribeSQLCollectorPolicyResult() : + ServiceResult() +{} + +DescribeSQLCollectorPolicyResult::DescribeSQLCollectorPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSQLCollectorPolicyResult::~DescribeSQLCollectorPolicyResult() +{} + +void DescribeSQLCollectorPolicyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["SQLCollectorStatus"].isNull()) + sQLCollectorStatus_ = value["SQLCollectorStatus"].asString(); + if(!value["StoragePeriod"].isNull()) + storagePeriod_ = std::stoi(value["StoragePeriod"].asString()); + +} + +int DescribeSQLCollectorPolicyResult::getStoragePeriod()const +{ + return storagePeriod_; +} + +std::string DescribeSQLCollectorPolicyResult::getSQLCollectorStatus()const +{ + return sQLCollectorStatus_; +} + diff --git a/rds/src/model/DescribeSQLCollectorRetentionRequest.cc b/rds/src/model/DescribeSQLCollectorRetentionRequest.cc new file mode 100644 index 000000000..f3360ef37 --- /dev/null +++ b/rds/src/model/DescribeSQLCollectorRetentionRequest.cc @@ -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 + +using AlibabaCloud::Rds::Model::DescribeSQLCollectorRetentionRequest; + +DescribeSQLCollectorRetentionRequest::DescribeSQLCollectorRetentionRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeSQLCollectorRetention") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeSQLCollectorRetentionRequest::~DescribeSQLCollectorRetentionRequest() +{} + +long DescribeSQLCollectorRetentionRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeSQLCollectorRetentionRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeSQLCollectorRetentionRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeSQLCollectorRetentionRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeSQLCollectorRetentionRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeSQLCollectorRetentionRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeSQLCollectorRetentionRequest::getDBInstanceId()const +{ + return dBInstanceId_; +} + +void DescribeSQLCollectorRetentionRequest::setDBInstanceId(const std::string& dBInstanceId) +{ + dBInstanceId_ = dBInstanceId; + setCoreParameter("DBInstanceId", dBInstanceId); +} + +std::string DescribeSQLCollectorRetentionRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void DescribeSQLCollectorRetentionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string DescribeSQLCollectorRetentionRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void DescribeSQLCollectorRetentionRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setCoreParameter("OwnerAccount", ownerAccount); +} + +long DescribeSQLCollectorRetentionRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeSQLCollectorRetentionRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/rds/src/model/DescribeSQLCollectorRetentionResult.cc b/rds/src/model/DescribeSQLCollectorRetentionResult.cc new file mode 100644 index 000000000..476303f04 --- /dev/null +++ b/rds/src/model/DescribeSQLCollectorRetentionResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeSQLCollectorRetentionResult::DescribeSQLCollectorRetentionResult() : + ServiceResult() +{} + +DescribeSQLCollectorRetentionResult::DescribeSQLCollectorRetentionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSQLCollectorRetentionResult::~DescribeSQLCollectorRetentionResult() +{} + +void DescribeSQLCollectorRetentionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["DBInstanceID"].isNull()) + dBInstanceID_ = std::stoi(value["DBInstanceID"].asString()); + if(!value["DBInstanceName"].isNull()) + dBInstanceName_ = value["DBInstanceName"].asString(); + if(!value["ConfigValue"].isNull()) + configValue_ = value["ConfigValue"].asString(); + +} + +std::string DescribeSQLCollectorRetentionResult::getConfigValue()const +{ + return configValue_; +} + +int DescribeSQLCollectorRetentionResult::getDBInstanceID()const +{ + return dBInstanceID_; +} + +std::string DescribeSQLCollectorRetentionResult::getDBInstanceName()const +{ + return dBInstanceName_; +} + diff --git a/rds/src/model/DescribeSignedEventActionsRequest.cc b/rds/src/model/DescribeSignedEventActionsRequest.cc new file mode 100644 index 000000000..2fdb6f706 --- /dev/null +++ b/rds/src/model/DescribeSignedEventActionsRequest.cc @@ -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 + +using AlibabaCloud::Rds::Model::DescribeSignedEventActionsRequest; + +DescribeSignedEventActionsRequest::DescribeSignedEventActionsRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeSignedEventActions") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeSignedEventActionsRequest::~DescribeSignedEventActionsRequest() +{} + +long DescribeSignedEventActionsRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeSignedEventActionsRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +int DescribeSignedEventActionsRequest::getBeginEventId()const +{ + return beginEventId_; +} + +void DescribeSignedEventActionsRequest::setBeginEventId(int beginEventId) +{ + beginEventId_ = beginEventId; + setCoreParameter("BeginEventId", std::to_string(beginEventId)); +} + +std::string DescribeSignedEventActionsRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void DescribeSignedEventActionsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +long DescribeSignedEventActionsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeSignedEventActionsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeSignedEventActionsRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeSignedEventActionsRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeSignedEventActionsRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeSignedEventActionsRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + +int DescribeSignedEventActionsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeSignedEventActionsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + diff --git a/rds/src/model/DescribeSignedEventActionsResult.cc b/rds/src/model/DescribeSignedEventActionsResult.cc new file mode 100644 index 000000000..bc0626116 --- /dev/null +++ b/rds/src/model/DescribeSignedEventActionsResult.cc @@ -0,0 +1,91 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeSignedEventActionsResult::DescribeSignedEventActionsResult() : + ServiceResult() +{} + +DescribeSignedEventActionsResult::DescribeSignedEventActionsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSignedEventActionsResult::~DescribeSignedEventActionsResult() +{} + +void DescribeSignedEventActionsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allEventItemsNode = value["EventItems"]["EventItemsItem"]; + for (auto valueEventItemsEventItemsItem : allEventItemsNode) + { + EventItemsItem eventItemsObject; + if(!valueEventItemsEventItemsItem["EventId"].isNull()) + eventItemsObject.eventId = std::stoi(valueEventItemsEventItemsItem["EventId"].asString()); + if(!valueEventItemsEventItemsItem["EventContent"].isNull()) + eventItemsObject.eventContent = valueEventItemsEventItemsItem["EventContent"].asString(); + if(!valueEventItemsEventItemsItem["EventSig"].isNull()) + eventItemsObject.eventSig = valueEventItemsEventItemsItem["EventSig"].asString(); + if(!valueEventItemsEventItemsItem["EventRcpt"].isNull()) + eventItemsObject.eventRcpt = valueEventItemsEventItemsItem["EventRcpt"].asString(); + eventItems_.push_back(eventItemsObject); + } + if(!value["NextPageEventId"].isNull()) + nextPageEventId_ = std::stoi(value["NextPageEventId"].asString()); + if(!value["PageRecordCount"].isNull()) + pageRecordCount_ = std::stoi(value["PageRecordCount"].asString()); + if(!value["FromBegin"].isNull()) + fromBegin_ = value["FromBegin"].asString() == "true"; + if(!value["ToEnd"].isNull()) + toEnd_ = value["ToEnd"].asString() == "true"; + +} + +std::vector DescribeSignedEventActionsResult::getEventItems()const +{ + return eventItems_; +} + +int DescribeSignedEventActionsResult::getPageRecordCount()const +{ + return pageRecordCount_; +} + +bool DescribeSignedEventActionsResult::getToEnd()const +{ + return toEnd_; +} + +bool DescribeSignedEventActionsResult::getFromBegin()const +{ + return fromBegin_; +} + +int DescribeSignedEventActionsResult::getNextPageEventId()const +{ + return nextPageEventId_; +} + diff --git a/rds/src/model/ModifyActionEventVerifyPolicyRequest.cc b/rds/src/model/ModifyActionEventVerifyPolicyRequest.cc new file mode 100644 index 000000000..a93c26814 --- /dev/null +++ b/rds/src/model/ModifyActionEventVerifyPolicyRequest.cc @@ -0,0 +1,95 @@ +/* + * 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 + +using AlibabaCloud::Rds::Model::ModifyActionEventVerifyPolicyRequest; + +ModifyActionEventVerifyPolicyRequest::ModifyActionEventVerifyPolicyRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifyActionEventVerifyPolicy") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyActionEventVerifyPolicyRequest::~ModifyActionEventVerifyPolicyRequest() +{} + +long ModifyActionEventVerifyPolicyRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ModifyActionEventVerifyPolicyRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ModifyActionEventVerifyPolicyRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void ModifyActionEventVerifyPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +long ModifyActionEventVerifyPolicyRequest::getOwnerId()const +{ + return ownerId_; +} + +void ModifyActionEventVerifyPolicyRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string ModifyActionEventVerifyPolicyRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ModifyActionEventVerifyPolicyRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string ModifyActionEventVerifyPolicyRequest::getRegionId()const +{ + return regionId_; +} + +void ModifyActionEventVerifyPolicyRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + +std::string ModifyActionEventVerifyPolicyRequest::getUserPublicKey()const +{ + return userPublicKey_; +} + +void ModifyActionEventVerifyPolicyRequest::setUserPublicKey(const std::string& userPublicKey) +{ + userPublicKey_ = userPublicKey; + setCoreParameter("UserPublicKey", userPublicKey); +} + diff --git a/rds/src/model/ModifyActionEventVerifyPolicyResult.cc b/rds/src/model/ModifyActionEventVerifyPolicyResult.cc new file mode 100644 index 000000000..1d4bbcf91 --- /dev/null +++ b/rds/src/model/ModifyActionEventVerifyPolicyResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifyActionEventVerifyPolicyResult::ModifyActionEventVerifyPolicyResult() : + ServiceResult() +{} + +ModifyActionEventVerifyPolicyResult::ModifyActionEventVerifyPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyActionEventVerifyPolicyResult::~ModifyActionEventVerifyPolicyResult() +{} + +void ModifyActionEventVerifyPolicyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["RegionId"].isNull()) + regionId_ = value["RegionId"].asString(); + if(!value["ServerPublicKey"].isNull()) + serverPublicKey_ = value["ServerPublicKey"].asString(); + +} + +std::string ModifyActionEventVerifyPolicyResult::getRegionId()const +{ + return regionId_; +} + +std::string ModifyActionEventVerifyPolicyResult::getServerPublicKey()const +{ + return serverPublicKey_; +} + diff --git a/rds/src/model/ModifyDBInstanceSpecRequest.cc b/rds/src/model/ModifyDBInstanceSpecRequest.cc index 58255fb83..4179ff08e 100644 --- a/rds/src/model/ModifyDBInstanceSpecRequest.cc +++ b/rds/src/model/ModifyDBInstanceSpecRequest.cc @@ -115,6 +115,17 @@ void ModifyDBInstanceSpecRequest::setDBInstanceStorageType(const std::string& dB setCoreParameter("DBInstanceStorageType", dBInstanceStorageType); } +std::string ModifyDBInstanceSpecRequest::getSourceBiz()const +{ + return sourceBiz_; +} + +void ModifyDBInstanceSpecRequest::setSourceBiz(const std::string& sourceBiz) +{ + sourceBiz_ = sourceBiz; + setCoreParameter("SourceBiz", sourceBiz); +} + std::string ModifyDBInstanceSpecRequest::getDirection()const { return direction_; diff --git a/rds/src/model/ModifySQLCollectorRetentionRequest.cc b/rds/src/model/ModifySQLCollectorRetentionRequest.cc new file mode 100644 index 000000000..6313b2ba0 --- /dev/null +++ b/rds/src/model/ModifySQLCollectorRetentionRequest.cc @@ -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 + +using AlibabaCloud::Rds::Model::ModifySQLCollectorRetentionRequest; + +ModifySQLCollectorRetentionRequest::ModifySQLCollectorRetentionRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifySQLCollectorRetention") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifySQLCollectorRetentionRequest::~ModifySQLCollectorRetentionRequest() +{} + +long ModifySQLCollectorRetentionRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ModifySQLCollectorRetentionRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ModifySQLCollectorRetentionRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ModifySQLCollectorRetentionRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string ModifySQLCollectorRetentionRequest::getSecurityToken()const +{ + return securityToken_; +} + +void ModifySQLCollectorRetentionRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string ModifySQLCollectorRetentionRequest::getDBInstanceId()const +{ + return dBInstanceId_; +} + +void ModifySQLCollectorRetentionRequest::setDBInstanceId(const std::string& dBInstanceId) +{ + dBInstanceId_ = dBInstanceId; + setCoreParameter("DBInstanceId", dBInstanceId); +} + +std::string ModifySQLCollectorRetentionRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void ModifySQLCollectorRetentionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string ModifySQLCollectorRetentionRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void ModifySQLCollectorRetentionRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setCoreParameter("OwnerAccount", ownerAccount); +} + +std::string ModifySQLCollectorRetentionRequest::getConfigValue()const +{ + return configValue_; +} + +void ModifySQLCollectorRetentionRequest::setConfigValue(const std::string& configValue) +{ + configValue_ = configValue; + setCoreParameter("ConfigValue", configValue); +} + +long ModifySQLCollectorRetentionRequest::getOwnerId()const +{ + return ownerId_; +} + +void ModifySQLCollectorRetentionRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/rds/src/model/ModifySQLCollectorRetentionResult.cc b/rds/src/model/ModifySQLCollectorRetentionResult.cc new file mode 100644 index 000000000..a0515d871 --- /dev/null +++ b/rds/src/model/ModifySQLCollectorRetentionResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifySQLCollectorRetentionResult::ModifySQLCollectorRetentionResult() : + ServiceResult() +{} + +ModifySQLCollectorRetentionResult::ModifySQLCollectorRetentionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifySQLCollectorRetentionResult::~ModifySQLCollectorRetentionResult() +{} + +void ModifySQLCollectorRetentionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["DBInstanceID"].isNull()) + dBInstanceID_ = std::stoi(value["DBInstanceID"].asString()); + if(!value["DBInstanceName"].isNull()) + dBInstanceName_ = value["DBInstanceName"].asString(); + if(!value["TaskId"].isNull()) + taskId_ = std::stoi(value["TaskId"].asString()); + +} + +int ModifySQLCollectorRetentionResult::getTaskId()const +{ + return taskId_; +} + +int ModifySQLCollectorRetentionResult::getDBInstanceID()const +{ + return dBInstanceID_; +} + +std::string ModifySQLCollectorRetentionResult::getDBInstanceName()const +{ + return dBInstanceName_; +} + diff --git a/rds/src/model/SignEventActionRequest.cc b/rds/src/model/SignEventActionRequest.cc new file mode 100644 index 000000000..c02e16007 --- /dev/null +++ b/rds/src/model/SignEventActionRequest.cc @@ -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 + +using AlibabaCloud::Rds::Model::SignEventActionRequest; + +SignEventActionRequest::SignEventActionRequest() : + RpcServiceRequest("rds", "2014-08-15", "SignEventAction") +{ + setMethod(HttpRequest::Method::Post); +} + +SignEventActionRequest::~SignEventActionRequest() +{} + +int SignEventActionRequest::getEventId()const +{ + return eventId_; +} + +void SignEventActionRequest::setEventId(int eventId) +{ + eventId_ = eventId; + setCoreParameter("EventId", std::to_string(eventId)); +} + +long SignEventActionRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void SignEventActionRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string SignEventActionRequest::getEventSig()const +{ + return eventSig_; +} + +void SignEventActionRequest::setEventSig(const std::string& eventSig) +{ + eventSig_ = eventSig; + setCoreParameter("EventSig", eventSig); +} + +std::string SignEventActionRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void SignEventActionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +long SignEventActionRequest::getOwnerId()const +{ + return ownerId_; +} + +void SignEventActionRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string SignEventActionRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SignEventActionRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string SignEventActionRequest::getRegionId()const +{ + return regionId_; +} + +void SignEventActionRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + diff --git a/rds/src/model/SignEventActionResult.cc b/rds/src/model/SignEventActionResult.cc new file mode 100644 index 000000000..ae514cfd7 --- /dev/null +++ b/rds/src/model/SignEventActionResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +SignEventActionResult::SignEventActionResult() : + ServiceResult() +{} + +SignEventActionResult::SignEventActionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SignEventActionResult::~SignEventActionResult() +{} + +void SignEventActionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["EventId"].isNull()) + eventId_ = value["EventId"].asString(); + if(!value["EventRcpt"].isNull()) + eventRcpt_ = value["EventRcpt"].asString(); + +} + +std::string SignEventActionResult::getEventId()const +{ + return eventId_; +} + +std::string SignEventActionResult::getEventRcpt()const +{ + return eventRcpt_; +} +