Update by SDK platform.
This commit is contained in:
@@ -33,6 +33,8 @@ set(dds_public_header_model
|
||||
include/alibabacloud/dds/model/CreateBackupResult.h
|
||||
include/alibabacloud/dds/model/CreateDBInstanceRequest.h
|
||||
include/alibabacloud/dds/model/CreateDBInstanceResult.h
|
||||
include/alibabacloud/dds/model/CreateGlobalSecurityIPGroupRequest.h
|
||||
include/alibabacloud/dds/model/CreateGlobalSecurityIPGroupResult.h
|
||||
include/alibabacloud/dds/model/CreateNodeRequest.h
|
||||
include/alibabacloud/dds/model/CreateNodeResult.h
|
||||
include/alibabacloud/dds/model/CreateNodeBatchRequest.h
|
||||
@@ -41,6 +43,8 @@ set(dds_public_header_model
|
||||
include/alibabacloud/dds/model/CreateShardingDBInstanceResult.h
|
||||
include/alibabacloud/dds/model/DeleteDBInstanceRequest.h
|
||||
include/alibabacloud/dds/model/DeleteDBInstanceResult.h
|
||||
include/alibabacloud/dds/model/DeleteGlobalSecurityIPGroupRequest.h
|
||||
include/alibabacloud/dds/model/DeleteGlobalSecurityIPGroupResult.h
|
||||
include/alibabacloud/dds/model/DeleteNodeRequest.h
|
||||
include/alibabacloud/dds/model/DeleteNodeResult.h
|
||||
include/alibabacloud/dds/model/DescribeAccountsRequest.h
|
||||
@@ -83,6 +87,10 @@ set(dds_public_header_model
|
||||
include/alibabacloud/dds/model/DescribeDBInstancesOverviewResult.h
|
||||
include/alibabacloud/dds/model/DescribeErrorLogRecordsRequest.h
|
||||
include/alibabacloud/dds/model/DescribeErrorLogRecordsResult.h
|
||||
include/alibabacloud/dds/model/DescribeGlobalSecurityIPGroupRequest.h
|
||||
include/alibabacloud/dds/model/DescribeGlobalSecurityIPGroupResult.h
|
||||
include/alibabacloud/dds/model/DescribeGlobalSecurityIPGroupRelationRequest.h
|
||||
include/alibabacloud/dds/model/DescribeGlobalSecurityIPGroupRelationResult.h
|
||||
include/alibabacloud/dds/model/DescribeInstanceAutoRenewalAttributeRequest.h
|
||||
include/alibabacloud/dds/model/DescribeInstanceAutoRenewalAttributeResult.h
|
||||
include/alibabacloud/dds/model/DescribeKernelReleaseNotesRequest.h
|
||||
@@ -155,6 +163,12 @@ set(dds_public_header_model
|
||||
include/alibabacloud/dds/model/ModifyDBInstanceSpecResult.h
|
||||
include/alibabacloud/dds/model/ModifyDBInstanceTDERequest.h
|
||||
include/alibabacloud/dds/model/ModifyDBInstanceTDEResult.h
|
||||
include/alibabacloud/dds/model/ModifyGlobalSecurityIPGroupRequest.h
|
||||
include/alibabacloud/dds/model/ModifyGlobalSecurityIPGroupResult.h
|
||||
include/alibabacloud/dds/model/ModifyGlobalSecurityIPGroupNameRequest.h
|
||||
include/alibabacloud/dds/model/ModifyGlobalSecurityIPGroupNameResult.h
|
||||
include/alibabacloud/dds/model/ModifyGlobalSecurityIPGroupRelationRequest.h
|
||||
include/alibabacloud/dds/model/ModifyGlobalSecurityIPGroupRelationResult.h
|
||||
include/alibabacloud/dds/model/ModifyInstanceAutoRenewalAttributeRequest.h
|
||||
include/alibabacloud/dds/model/ModifyInstanceAutoRenewalAttributeResult.h
|
||||
include/alibabacloud/dds/model/ModifyInstanceVpcAuthModeRequest.h
|
||||
@@ -212,6 +226,8 @@ set(dds_src
|
||||
src/model/CreateBackupResult.cc
|
||||
src/model/CreateDBInstanceRequest.cc
|
||||
src/model/CreateDBInstanceResult.cc
|
||||
src/model/CreateGlobalSecurityIPGroupRequest.cc
|
||||
src/model/CreateGlobalSecurityIPGroupResult.cc
|
||||
src/model/CreateNodeRequest.cc
|
||||
src/model/CreateNodeResult.cc
|
||||
src/model/CreateNodeBatchRequest.cc
|
||||
@@ -220,6 +236,8 @@ set(dds_src
|
||||
src/model/CreateShardingDBInstanceResult.cc
|
||||
src/model/DeleteDBInstanceRequest.cc
|
||||
src/model/DeleteDBInstanceResult.cc
|
||||
src/model/DeleteGlobalSecurityIPGroupRequest.cc
|
||||
src/model/DeleteGlobalSecurityIPGroupResult.cc
|
||||
src/model/DeleteNodeRequest.cc
|
||||
src/model/DeleteNodeResult.cc
|
||||
src/model/DescribeAccountsRequest.cc
|
||||
@@ -262,6 +280,10 @@ set(dds_src
|
||||
src/model/DescribeDBInstancesOverviewResult.cc
|
||||
src/model/DescribeErrorLogRecordsRequest.cc
|
||||
src/model/DescribeErrorLogRecordsResult.cc
|
||||
src/model/DescribeGlobalSecurityIPGroupRequest.cc
|
||||
src/model/DescribeGlobalSecurityIPGroupResult.cc
|
||||
src/model/DescribeGlobalSecurityIPGroupRelationRequest.cc
|
||||
src/model/DescribeGlobalSecurityIPGroupRelationResult.cc
|
||||
src/model/DescribeInstanceAutoRenewalAttributeRequest.cc
|
||||
src/model/DescribeInstanceAutoRenewalAttributeResult.cc
|
||||
src/model/DescribeKernelReleaseNotesRequest.cc
|
||||
@@ -334,6 +356,12 @@ set(dds_src
|
||||
src/model/ModifyDBInstanceSpecResult.cc
|
||||
src/model/ModifyDBInstanceTDERequest.cc
|
||||
src/model/ModifyDBInstanceTDEResult.cc
|
||||
src/model/ModifyGlobalSecurityIPGroupRequest.cc
|
||||
src/model/ModifyGlobalSecurityIPGroupResult.cc
|
||||
src/model/ModifyGlobalSecurityIPGroupNameRequest.cc
|
||||
src/model/ModifyGlobalSecurityIPGroupNameResult.cc
|
||||
src/model/ModifyGlobalSecurityIPGroupRelationRequest.cc
|
||||
src/model/ModifyGlobalSecurityIPGroupRelationResult.cc
|
||||
src/model/ModifyInstanceAutoRenewalAttributeRequest.cc
|
||||
src/model/ModifyInstanceAutoRenewalAttributeResult.cc
|
||||
src/model/ModifyInstanceVpcAuthModeRequest.cc
|
||||
|
||||
@@ -34,6 +34,8 @@
|
||||
#include "model/CreateBackupResult.h"
|
||||
#include "model/CreateDBInstanceRequest.h"
|
||||
#include "model/CreateDBInstanceResult.h"
|
||||
#include "model/CreateGlobalSecurityIPGroupRequest.h"
|
||||
#include "model/CreateGlobalSecurityIPGroupResult.h"
|
||||
#include "model/CreateNodeRequest.h"
|
||||
#include "model/CreateNodeResult.h"
|
||||
#include "model/CreateNodeBatchRequest.h"
|
||||
@@ -42,6 +44,8 @@
|
||||
#include "model/CreateShardingDBInstanceResult.h"
|
||||
#include "model/DeleteDBInstanceRequest.h"
|
||||
#include "model/DeleteDBInstanceResult.h"
|
||||
#include "model/DeleteGlobalSecurityIPGroupRequest.h"
|
||||
#include "model/DeleteGlobalSecurityIPGroupResult.h"
|
||||
#include "model/DeleteNodeRequest.h"
|
||||
#include "model/DeleteNodeResult.h"
|
||||
#include "model/DescribeAccountsRequest.h"
|
||||
@@ -84,6 +88,10 @@
|
||||
#include "model/DescribeDBInstancesOverviewResult.h"
|
||||
#include "model/DescribeErrorLogRecordsRequest.h"
|
||||
#include "model/DescribeErrorLogRecordsResult.h"
|
||||
#include "model/DescribeGlobalSecurityIPGroupRequest.h"
|
||||
#include "model/DescribeGlobalSecurityIPGroupResult.h"
|
||||
#include "model/DescribeGlobalSecurityIPGroupRelationRequest.h"
|
||||
#include "model/DescribeGlobalSecurityIPGroupRelationResult.h"
|
||||
#include "model/DescribeInstanceAutoRenewalAttributeRequest.h"
|
||||
#include "model/DescribeInstanceAutoRenewalAttributeResult.h"
|
||||
#include "model/DescribeKernelReleaseNotesRequest.h"
|
||||
@@ -156,6 +164,12 @@
|
||||
#include "model/ModifyDBInstanceSpecResult.h"
|
||||
#include "model/ModifyDBInstanceTDERequest.h"
|
||||
#include "model/ModifyDBInstanceTDEResult.h"
|
||||
#include "model/ModifyGlobalSecurityIPGroupRequest.h"
|
||||
#include "model/ModifyGlobalSecurityIPGroupResult.h"
|
||||
#include "model/ModifyGlobalSecurityIPGroupNameRequest.h"
|
||||
#include "model/ModifyGlobalSecurityIPGroupNameResult.h"
|
||||
#include "model/ModifyGlobalSecurityIPGroupRelationRequest.h"
|
||||
#include "model/ModifyGlobalSecurityIPGroupRelationResult.h"
|
||||
#include "model/ModifyInstanceAutoRenewalAttributeRequest.h"
|
||||
#include "model/ModifyInstanceAutoRenewalAttributeResult.h"
|
||||
#include "model/ModifyInstanceVpcAuthModeRequest.h"
|
||||
@@ -225,6 +239,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateDBInstanceResult> CreateDBInstanceOutcome;
|
||||
typedef std::future<CreateDBInstanceOutcome> CreateDBInstanceOutcomeCallable;
|
||||
typedef std::function<void(const DdsClient*, const Model::CreateDBInstanceRequest&, const CreateDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDBInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateGlobalSecurityIPGroupResult> CreateGlobalSecurityIPGroupOutcome;
|
||||
typedef std::future<CreateGlobalSecurityIPGroupOutcome> CreateGlobalSecurityIPGroupOutcomeCallable;
|
||||
typedef std::function<void(const DdsClient*, const Model::CreateGlobalSecurityIPGroupRequest&, const CreateGlobalSecurityIPGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateGlobalSecurityIPGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateNodeResult> CreateNodeOutcome;
|
||||
typedef std::future<CreateNodeOutcome> CreateNodeOutcomeCallable;
|
||||
typedef std::function<void(const DdsClient*, const Model::CreateNodeRequest&, const CreateNodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateNodeAsyncHandler;
|
||||
@@ -237,6 +254,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteDBInstanceResult> DeleteDBInstanceOutcome;
|
||||
typedef std::future<DeleteDBInstanceOutcome> DeleteDBInstanceOutcomeCallable;
|
||||
typedef std::function<void(const DdsClient*, const Model::DeleteDBInstanceRequest&, const DeleteDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDBInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteGlobalSecurityIPGroupResult> DeleteGlobalSecurityIPGroupOutcome;
|
||||
typedef std::future<DeleteGlobalSecurityIPGroupOutcome> DeleteGlobalSecurityIPGroupOutcomeCallable;
|
||||
typedef std::function<void(const DdsClient*, const Model::DeleteGlobalSecurityIPGroupRequest&, const DeleteGlobalSecurityIPGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteGlobalSecurityIPGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteNodeResult> DeleteNodeOutcome;
|
||||
typedef std::future<DeleteNodeOutcome> DeleteNodeOutcomeCallable;
|
||||
typedef std::function<void(const DdsClient*, const Model::DeleteNodeRequest&, const DeleteNodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteNodeAsyncHandler;
|
||||
@@ -300,6 +320,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeErrorLogRecordsResult> DescribeErrorLogRecordsOutcome;
|
||||
typedef std::future<DescribeErrorLogRecordsOutcome> DescribeErrorLogRecordsOutcomeCallable;
|
||||
typedef std::function<void(const DdsClient*, const Model::DescribeErrorLogRecordsRequest&, const DescribeErrorLogRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeErrorLogRecordsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeGlobalSecurityIPGroupResult> DescribeGlobalSecurityIPGroupOutcome;
|
||||
typedef std::future<DescribeGlobalSecurityIPGroupOutcome> DescribeGlobalSecurityIPGroupOutcomeCallable;
|
||||
typedef std::function<void(const DdsClient*, const Model::DescribeGlobalSecurityIPGroupRequest&, const DescribeGlobalSecurityIPGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGlobalSecurityIPGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeGlobalSecurityIPGroupRelationResult> DescribeGlobalSecurityIPGroupRelationOutcome;
|
||||
typedef std::future<DescribeGlobalSecurityIPGroupRelationOutcome> DescribeGlobalSecurityIPGroupRelationOutcomeCallable;
|
||||
typedef std::function<void(const DdsClient*, const Model::DescribeGlobalSecurityIPGroupRelationRequest&, const DescribeGlobalSecurityIPGroupRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGlobalSecurityIPGroupRelationAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeInstanceAutoRenewalAttributeResult> DescribeInstanceAutoRenewalAttributeOutcome;
|
||||
typedef std::future<DescribeInstanceAutoRenewalAttributeOutcome> DescribeInstanceAutoRenewalAttributeOutcomeCallable;
|
||||
typedef std::function<void(const DdsClient*, const Model::DescribeInstanceAutoRenewalAttributeRequest&, const DescribeInstanceAutoRenewalAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInstanceAutoRenewalAttributeAsyncHandler;
|
||||
@@ -408,6 +434,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyDBInstanceTDEResult> ModifyDBInstanceTDEOutcome;
|
||||
typedef std::future<ModifyDBInstanceTDEOutcome> ModifyDBInstanceTDEOutcomeCallable;
|
||||
typedef std::function<void(const DdsClient*, const Model::ModifyDBInstanceTDERequest&, const ModifyDBInstanceTDEOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBInstanceTDEAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyGlobalSecurityIPGroupResult> ModifyGlobalSecurityIPGroupOutcome;
|
||||
typedef std::future<ModifyGlobalSecurityIPGroupOutcome> ModifyGlobalSecurityIPGroupOutcomeCallable;
|
||||
typedef std::function<void(const DdsClient*, const Model::ModifyGlobalSecurityIPGroupRequest&, const ModifyGlobalSecurityIPGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyGlobalSecurityIPGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyGlobalSecurityIPGroupNameResult> ModifyGlobalSecurityIPGroupNameOutcome;
|
||||
typedef std::future<ModifyGlobalSecurityIPGroupNameOutcome> ModifyGlobalSecurityIPGroupNameOutcomeCallable;
|
||||
typedef std::function<void(const DdsClient*, const Model::ModifyGlobalSecurityIPGroupNameRequest&, const ModifyGlobalSecurityIPGroupNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyGlobalSecurityIPGroupNameAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyGlobalSecurityIPGroupRelationResult> ModifyGlobalSecurityIPGroupRelationOutcome;
|
||||
typedef std::future<ModifyGlobalSecurityIPGroupRelationOutcome> ModifyGlobalSecurityIPGroupRelationOutcomeCallable;
|
||||
typedef std::function<void(const DdsClient*, const Model::ModifyGlobalSecurityIPGroupRelationRequest&, const ModifyGlobalSecurityIPGroupRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyGlobalSecurityIPGroupRelationAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyInstanceAutoRenewalAttributeResult> ModifyInstanceAutoRenewalAttributeOutcome;
|
||||
typedef std::future<ModifyInstanceAutoRenewalAttributeOutcome> ModifyInstanceAutoRenewalAttributeOutcomeCallable;
|
||||
typedef std::function<void(const DdsClient*, const Model::ModifyInstanceAutoRenewalAttributeRequest&, const ModifyInstanceAutoRenewalAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceAutoRenewalAttributeAsyncHandler;
|
||||
@@ -494,6 +529,9 @@ namespace AlibabaCloud
|
||||
CreateDBInstanceOutcome createDBInstance(const Model::CreateDBInstanceRequest &request)const;
|
||||
void createDBInstanceAsync(const Model::CreateDBInstanceRequest& request, const CreateDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDBInstanceOutcomeCallable createDBInstanceCallable(const Model::CreateDBInstanceRequest& request) const;
|
||||
CreateGlobalSecurityIPGroupOutcome createGlobalSecurityIPGroup(const Model::CreateGlobalSecurityIPGroupRequest &request)const;
|
||||
void createGlobalSecurityIPGroupAsync(const Model::CreateGlobalSecurityIPGroupRequest& request, const CreateGlobalSecurityIPGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateGlobalSecurityIPGroupOutcomeCallable createGlobalSecurityIPGroupCallable(const Model::CreateGlobalSecurityIPGroupRequest& request) const;
|
||||
CreateNodeOutcome createNode(const Model::CreateNodeRequest &request)const;
|
||||
void createNodeAsync(const Model::CreateNodeRequest& request, const CreateNodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateNodeOutcomeCallable createNodeCallable(const Model::CreateNodeRequest& request) const;
|
||||
@@ -506,6 +544,9 @@ namespace AlibabaCloud
|
||||
DeleteDBInstanceOutcome deleteDBInstance(const Model::DeleteDBInstanceRequest &request)const;
|
||||
void deleteDBInstanceAsync(const Model::DeleteDBInstanceRequest& request, const DeleteDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDBInstanceOutcomeCallable deleteDBInstanceCallable(const Model::DeleteDBInstanceRequest& request) const;
|
||||
DeleteGlobalSecurityIPGroupOutcome deleteGlobalSecurityIPGroup(const Model::DeleteGlobalSecurityIPGroupRequest &request)const;
|
||||
void deleteGlobalSecurityIPGroupAsync(const Model::DeleteGlobalSecurityIPGroupRequest& request, const DeleteGlobalSecurityIPGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteGlobalSecurityIPGroupOutcomeCallable deleteGlobalSecurityIPGroupCallable(const Model::DeleteGlobalSecurityIPGroupRequest& request) const;
|
||||
DeleteNodeOutcome deleteNode(const Model::DeleteNodeRequest &request)const;
|
||||
void deleteNodeAsync(const Model::DeleteNodeRequest& request, const DeleteNodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteNodeOutcomeCallable deleteNodeCallable(const Model::DeleteNodeRequest& request) const;
|
||||
@@ -569,6 +610,12 @@ namespace AlibabaCloud
|
||||
DescribeErrorLogRecordsOutcome describeErrorLogRecords(const Model::DescribeErrorLogRecordsRequest &request)const;
|
||||
void describeErrorLogRecordsAsync(const Model::DescribeErrorLogRecordsRequest& request, const DescribeErrorLogRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeErrorLogRecordsOutcomeCallable describeErrorLogRecordsCallable(const Model::DescribeErrorLogRecordsRequest& request) const;
|
||||
DescribeGlobalSecurityIPGroupOutcome describeGlobalSecurityIPGroup(const Model::DescribeGlobalSecurityIPGroupRequest &request)const;
|
||||
void describeGlobalSecurityIPGroupAsync(const Model::DescribeGlobalSecurityIPGroupRequest& request, const DescribeGlobalSecurityIPGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeGlobalSecurityIPGroupOutcomeCallable describeGlobalSecurityIPGroupCallable(const Model::DescribeGlobalSecurityIPGroupRequest& request) const;
|
||||
DescribeGlobalSecurityIPGroupRelationOutcome describeGlobalSecurityIPGroupRelation(const Model::DescribeGlobalSecurityIPGroupRelationRequest &request)const;
|
||||
void describeGlobalSecurityIPGroupRelationAsync(const Model::DescribeGlobalSecurityIPGroupRelationRequest& request, const DescribeGlobalSecurityIPGroupRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeGlobalSecurityIPGroupRelationOutcomeCallable describeGlobalSecurityIPGroupRelationCallable(const Model::DescribeGlobalSecurityIPGroupRelationRequest& request) const;
|
||||
DescribeInstanceAutoRenewalAttributeOutcome describeInstanceAutoRenewalAttribute(const Model::DescribeInstanceAutoRenewalAttributeRequest &request)const;
|
||||
void describeInstanceAutoRenewalAttributeAsync(const Model::DescribeInstanceAutoRenewalAttributeRequest& request, const DescribeInstanceAutoRenewalAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeInstanceAutoRenewalAttributeOutcomeCallable describeInstanceAutoRenewalAttributeCallable(const Model::DescribeInstanceAutoRenewalAttributeRequest& request) const;
|
||||
@@ -677,6 +724,15 @@ namespace AlibabaCloud
|
||||
ModifyDBInstanceTDEOutcome modifyDBInstanceTDE(const Model::ModifyDBInstanceTDERequest &request)const;
|
||||
void modifyDBInstanceTDEAsync(const Model::ModifyDBInstanceTDERequest& request, const ModifyDBInstanceTDEAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDBInstanceTDEOutcomeCallable modifyDBInstanceTDECallable(const Model::ModifyDBInstanceTDERequest& request) const;
|
||||
ModifyGlobalSecurityIPGroupOutcome modifyGlobalSecurityIPGroup(const Model::ModifyGlobalSecurityIPGroupRequest &request)const;
|
||||
void modifyGlobalSecurityIPGroupAsync(const Model::ModifyGlobalSecurityIPGroupRequest& request, const ModifyGlobalSecurityIPGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyGlobalSecurityIPGroupOutcomeCallable modifyGlobalSecurityIPGroupCallable(const Model::ModifyGlobalSecurityIPGroupRequest& request) const;
|
||||
ModifyGlobalSecurityIPGroupNameOutcome modifyGlobalSecurityIPGroupName(const Model::ModifyGlobalSecurityIPGroupNameRequest &request)const;
|
||||
void modifyGlobalSecurityIPGroupNameAsync(const Model::ModifyGlobalSecurityIPGroupNameRequest& request, const ModifyGlobalSecurityIPGroupNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyGlobalSecurityIPGroupNameOutcomeCallable modifyGlobalSecurityIPGroupNameCallable(const Model::ModifyGlobalSecurityIPGroupNameRequest& request) const;
|
||||
ModifyGlobalSecurityIPGroupRelationOutcome modifyGlobalSecurityIPGroupRelation(const Model::ModifyGlobalSecurityIPGroupRelationRequest &request)const;
|
||||
void modifyGlobalSecurityIPGroupRelationAsync(const Model::ModifyGlobalSecurityIPGroupRelationRequest& request, const ModifyGlobalSecurityIPGroupRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyGlobalSecurityIPGroupRelationOutcomeCallable modifyGlobalSecurityIPGroupRelationCallable(const Model::ModifyGlobalSecurityIPGroupRelationRequest& request) const;
|
||||
ModifyInstanceAutoRenewalAttributeOutcome modifyInstanceAutoRenewalAttribute(const Model::ModifyInstanceAutoRenewalAttributeRequest &request)const;
|
||||
void modifyInstanceAutoRenewalAttributeAsync(const Model::ModifyInstanceAutoRenewalAttributeRequest& request, const ModifyInstanceAutoRenewalAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyInstanceAutoRenewalAttributeOutcomeCallable modifyInstanceAutoRenewalAttributeCallable(const Model::ModifyInstanceAutoRenewalAttributeRequest& request) const;
|
||||
|
||||
@@ -56,6 +56,8 @@ public:
|
||||
void setDBInstanceDescription(const std::string &dBInstanceDescription);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
std::string getGlobalSecurityGroupIds() const;
|
||||
void setGlobalSecurityGroupIds(const std::string &globalSecurityGroupIds);
|
||||
std::string getBusinessInfo() const;
|
||||
void setBusinessInfo(const std::string &businessInfo);
|
||||
int getPeriod() const;
|
||||
@@ -121,6 +123,7 @@ private:
|
||||
std::string securityToken_;
|
||||
std::string dBInstanceDescription_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string globalSecurityGroupIds_;
|
||||
std::string businessInfo_;
|
||||
int period_;
|
||||
std::string backupId_;
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DDS_MODEL_CREATEGLOBALSECURITYIPGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_DDS_MODEL_CREATEGLOBALSECURITYIPGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dds/DdsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dds {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DDS_EXPORT CreateGlobalSecurityIPGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateGlobalSecurityIPGroupRequest();
|
||||
~CreateGlobalSecurityIPGroupRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getGIpList() const;
|
||||
void setGIpList(const std::string &gIpList);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getSecurityIPType() const;
|
||||
void setSecurityIPType(const std::string &securityIPType);
|
||||
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);
|
||||
std::string getWhitelistNetType() const;
|
||||
void setWhitelistNetType(const std::string &whitelistNetType);
|
||||
std::string getGlobalIgName() const;
|
||||
void setGlobalIgName(const std::string &globalIgName);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string gIpList_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string securityIPType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string whitelistNetType_;
|
||||
std::string globalIgName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dds
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DDS_MODEL_CREATEGLOBALSECURITYIPGROUPREQUEST_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_DDS_MODEL_CREATEGLOBALSECURITYIPGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_DDS_MODEL_CREATEGLOBALSECURITYIPGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dds/DdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DDS_EXPORT CreateGlobalSecurityIPGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct GlobalSecurityIPGroupItem
|
||||
{
|
||||
std::string securityIPType;
|
||||
std::string globalIgName;
|
||||
std::string gIpList;
|
||||
std::string globalSecurityGroupId;
|
||||
std::string regionId;
|
||||
std::string whitelistNetType;
|
||||
};
|
||||
|
||||
|
||||
CreateGlobalSecurityIPGroupResult();
|
||||
explicit CreateGlobalSecurityIPGroupResult(const std::string &payload);
|
||||
~CreateGlobalSecurityIPGroupResult();
|
||||
std::vector<GlobalSecurityIPGroupItem> getGlobalSecurityIPGroup()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<GlobalSecurityIPGroupItem> globalSecurityIPGroup_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DDS_MODEL_CREATEGLOBALSECURITYIPGROUPRESULT_H_
|
||||
@@ -60,6 +60,8 @@ public:
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getDBInstanceDescription() const;
|
||||
void setDBInstanceDescription(const std::string &dBInstanceDescription);
|
||||
std::string getGlobalSecurityGroupIds() const;
|
||||
void setGlobalSecurityGroupIds(const std::string &globalSecurityGroupIds);
|
||||
int getPeriod() const;
|
||||
void setPeriod(int period);
|
||||
std::vector<ConfigServer> getConfigServer() const;
|
||||
@@ -115,6 +117,7 @@ private:
|
||||
std::string resourceGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string dBInstanceDescription_;
|
||||
std::string globalSecurityGroupIds_;
|
||||
int period_;
|
||||
std::vector<ConfigServer> configServer_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -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_DDS_MODEL_DELETEGLOBALSECURITYIPGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_DDS_MODEL_DELETEGLOBALSECURITYIPGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dds/DdsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dds {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DDS_EXPORT DeleteGlobalSecurityIPGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteGlobalSecurityIPGroupRequest();
|
||||
~DeleteGlobalSecurityIPGroupRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getGlobalSecurityGroupId() const;
|
||||
void setGlobalSecurityGroupId(const std::string &globalSecurityGroupId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
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);
|
||||
std::string getGlobalIgName() const;
|
||||
void setGlobalIgName(const std::string &globalIgName);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string globalSecurityGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string globalIgName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dds
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DDS_MODEL_DELETEGLOBALSECURITYIPGROUPREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DDS_MODEL_DELETEGLOBALSECURITYIPGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_DDS_MODEL_DELETEGLOBALSECURITYIPGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dds/DdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DDS_EXPORT DeleteGlobalSecurityIPGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteGlobalSecurityIPGroupResult();
|
||||
explicit DeleteGlobalSecurityIPGroupResult(const std::string &payload);
|
||||
~DeleteGlobalSecurityIPGroupResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DDS_MODEL_DELETEGLOBALSECURITYIPGROUPRESULT_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_DDS_MODEL_DESCRIBEGLOBALSECURITYIPGROUPRELATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_DDS_MODEL_DESCRIBEGLOBALSECURITYIPGROUPRELATIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dds/DdsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dds {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DDS_EXPORT DescribeGlobalSecurityIPGroupRelationRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeGlobalSecurityIPGroupRelationRequest();
|
||||
~DescribeGlobalSecurityIPGroupRelationRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dds
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DDS_MODEL_DESCRIBEGLOBALSECURITYIPGROUPRELATIONREQUEST_H_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DDS_MODEL_DESCRIBEGLOBALSECURITYIPGROUPRELATIONRESULT_H_
|
||||
#define ALIBABACLOUD_DDS_MODEL_DESCRIBEGLOBALSECURITYIPGROUPRELATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dds/DdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DDS_EXPORT DescribeGlobalSecurityIPGroupRelationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct GlobalSecurityIPGroupRelItem
|
||||
{
|
||||
std::string globalIgName;
|
||||
std::string gIpList;
|
||||
std::string globalSecurityGroupId;
|
||||
std::string regionId;
|
||||
std::string whitelistNetType;
|
||||
};
|
||||
|
||||
|
||||
DescribeGlobalSecurityIPGroupRelationResult();
|
||||
explicit DescribeGlobalSecurityIPGroupRelationResult(const std::string &payload);
|
||||
~DescribeGlobalSecurityIPGroupRelationResult();
|
||||
std::string getDBClusterId()const;
|
||||
std::vector<GlobalSecurityIPGroupRelItem> getGlobalSecurityIPGroupRel()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dBClusterId_;
|
||||
std::vector<GlobalSecurityIPGroupRelItem> globalSecurityIPGroupRel_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DDS_MODEL_DESCRIBEGLOBALSECURITYIPGROUPRELATIONRESULT_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_DDS_MODEL_DESCRIBEGLOBALSECURITYIPGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_DDS_MODEL_DESCRIBEGLOBALSECURITYIPGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dds/DdsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dds {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DDS_EXPORT DescribeGlobalSecurityIPGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeGlobalSecurityIPGroupRequest();
|
||||
~DescribeGlobalSecurityIPGroupRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getGlobalSecurityGroupId() const;
|
||||
void setGlobalSecurityGroupId(const std::string &globalSecurityGroupId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
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 resourceGroupId_;
|
||||
std::string globalSecurityGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dds
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DDS_MODEL_DESCRIBEGLOBALSECURITYIPGROUPREQUEST_H_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DDS_MODEL_DESCRIBEGLOBALSECURITYIPGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_DDS_MODEL_DESCRIBEGLOBALSECURITYIPGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dds/DdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DDS_EXPORT DescribeGlobalSecurityIPGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct GlobalSecurityIPGroupItem
|
||||
{
|
||||
std::string securityIPType;
|
||||
std::string globalIgName;
|
||||
std::string gIpList;
|
||||
std::string globalSecurityGroupId;
|
||||
std::string regionId;
|
||||
std::vector<std::string> dBInstances;
|
||||
std::string whitelistNetType;
|
||||
};
|
||||
|
||||
|
||||
DescribeGlobalSecurityIPGroupResult();
|
||||
explicit DescribeGlobalSecurityIPGroupResult(const std::string &payload);
|
||||
~DescribeGlobalSecurityIPGroupResult();
|
||||
std::vector<GlobalSecurityIPGroupItem> getGlobalSecurityIPGroup()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<GlobalSecurityIPGroupItem> globalSecurityIPGroup_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DDS_MODEL_DESCRIBEGLOBALSECURITYIPGROUPRESULT_H_
|
||||
@@ -39,6 +39,16 @@ namespace AlibabaCloud
|
||||
std::string parameterValue;
|
||||
std::string forceRestart;
|
||||
std::string parameterName;
|
||||
std::string characterType;
|
||||
std::string parameterDescription;
|
||||
};
|
||||
struct _Parameter1
|
||||
{
|
||||
std::string checkingCode;
|
||||
bool modifiableStatus;
|
||||
std::string parameterValue;
|
||||
bool forceRestart;
|
||||
std::string parameterName;
|
||||
std::string parameterDescription;
|
||||
};
|
||||
|
||||
@@ -48,7 +58,7 @@ namespace AlibabaCloud
|
||||
~DescribeParametersResult();
|
||||
std::vector<_Parameter> getRunningParameters()const;
|
||||
std::string getEngineVersion()const;
|
||||
std::vector<_Parameter> getConfigParameters()const;
|
||||
std::vector<_Parameter1> getConfigParameters()const;
|
||||
std::string getEngine()const;
|
||||
|
||||
protected:
|
||||
@@ -56,7 +66,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::vector<_Parameter> runningParameters_;
|
||||
std::string engineVersion_;
|
||||
std::vector<_Parameter> configParameters_;
|
||||
std::vector<_Parameter1> configParameters_;
|
||||
std::string engine_;
|
||||
|
||||
};
|
||||
|
||||
@@ -44,6 +44,8 @@ public:
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
int getNewPort() const;
|
||||
void setNewPort(int newPort);
|
||||
std::string getNewConnectionString() const;
|
||||
void setNewConnectionString(const std::string &newConnectionString);
|
||||
long getOwnerId() const;
|
||||
@@ -59,6 +61,7 @@ private:
|
||||
std::string nodeId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
int newPort_;
|
||||
std::string newConnectionString_;
|
||||
long ownerId_;
|
||||
std::string currentConnectionString_;
|
||||
|
||||
@@ -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_DDS_MODEL_MODIFYGLOBALSECURITYIPGROUPNAMEREQUEST_H_
|
||||
#define ALIBABACLOUD_DDS_MODEL_MODIFYGLOBALSECURITYIPGROUPNAMEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dds/DdsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dds {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DDS_EXPORT ModifyGlobalSecurityIPGroupNameRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyGlobalSecurityIPGroupNameRequest();
|
||||
~ModifyGlobalSecurityIPGroupNameRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getGlobalSecurityGroupId() const;
|
||||
void setGlobalSecurityGroupId(const std::string &globalSecurityGroupId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
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);
|
||||
std::string getGlobalIgName() const;
|
||||
void setGlobalIgName(const std::string &globalIgName);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string globalSecurityGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string globalIgName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dds
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DDS_MODEL_MODIFYGLOBALSECURITYIPGROUPNAMEREQUEST_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_DDS_MODEL_MODIFYGLOBALSECURITYIPGROUPNAMERESULT_H_
|
||||
#define ALIBABACLOUD_DDS_MODEL_MODIFYGLOBALSECURITYIPGROUPNAMERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dds/DdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DDS_EXPORT ModifyGlobalSecurityIPGroupNameResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct GlobalSecurityIPGroupItem
|
||||
{
|
||||
std::string securityIPType;
|
||||
std::string globalIgName;
|
||||
std::string gIpList;
|
||||
std::string globalSecurityGroupId;
|
||||
std::string regionId;
|
||||
std::string whitelistNetType;
|
||||
};
|
||||
|
||||
|
||||
ModifyGlobalSecurityIPGroupNameResult();
|
||||
explicit ModifyGlobalSecurityIPGroupNameResult(const std::string &payload);
|
||||
~ModifyGlobalSecurityIPGroupNameResult();
|
||||
std::vector<GlobalSecurityIPGroupItem> getGlobalSecurityIPGroup()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<GlobalSecurityIPGroupItem> globalSecurityIPGroup_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DDS_MODEL_MODIFYGLOBALSECURITYIPGROUPNAMERESULT_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_DDS_MODEL_MODIFYGLOBALSECURITYIPGROUPRELATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_DDS_MODEL_MODIFYGLOBALSECURITYIPGROUPRELATIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dds/DdsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dds {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DDS_EXPORT ModifyGlobalSecurityIPGroupRelationRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyGlobalSecurityIPGroupRelationRequest();
|
||||
~ModifyGlobalSecurityIPGroupRelationRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getGlobalSecurityGroupId() const;
|
||||
void setGlobalSecurityGroupId(const std::string &globalSecurityGroupId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string globalSecurityGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dds
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DDS_MODEL_MODIFYGLOBALSECURITYIPGROUPRELATIONREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DDS_MODEL_MODIFYGLOBALSECURITYIPGROUPRELATIONRESULT_H_
|
||||
#define ALIBABACLOUD_DDS_MODEL_MODIFYGLOBALSECURITYIPGROUPRELATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dds/DdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DDS_EXPORT ModifyGlobalSecurityIPGroupRelationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyGlobalSecurityIPGroupRelationResult();
|
||||
explicit ModifyGlobalSecurityIPGroupRelationResult(const std::string &payload);
|
||||
~ModifyGlobalSecurityIPGroupRelationResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DDS_MODEL_MODIFYGLOBALSECURITYIPGROUPRELATIONRESULT_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_DDS_MODEL_MODIFYGLOBALSECURITYIPGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_DDS_MODEL_MODIFYGLOBALSECURITYIPGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dds/DdsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dds {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DDS_EXPORT ModifyGlobalSecurityIPGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyGlobalSecurityIPGroupRequest();
|
||||
~ModifyGlobalSecurityIPGroupRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getGIpList() const;
|
||||
void setGIpList(const std::string &gIpList);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getGlobalSecurityGroupId() const;
|
||||
void setGlobalSecurityGroupId(const std::string &globalSecurityGroupId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getSecurityIPType() const;
|
||||
void setSecurityIPType(const std::string &securityIPType);
|
||||
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);
|
||||
std::string getWhitelistNetType() const;
|
||||
void setWhitelistNetType(const std::string &whitelistNetType);
|
||||
std::string getGlobalIgName() const;
|
||||
void setGlobalIgName(const std::string &globalIgName);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string gIpList_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string globalSecurityGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string securityIPType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string whitelistNetType_;
|
||||
std::string globalIgName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dds
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DDS_MODEL_MODIFYGLOBALSECURITYIPGROUPREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DDS_MODEL_MODIFYGLOBALSECURITYIPGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_DDS_MODEL_MODIFYGLOBALSECURITYIPGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dds/DdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DDS_EXPORT ModifyGlobalSecurityIPGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyGlobalSecurityIPGroupResult();
|
||||
explicit ModifyGlobalSecurityIPGroupResult(const std::string &payload);
|
||||
~ModifyGlobalSecurityIPGroupResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DDS_MODEL_MODIFYGLOBALSECURITYIPGROUPRESULT_H_
|
||||
@@ -48,6 +48,8 @@ public:
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccountPassword() const;
|
||||
void setAccountPassword(const std::string &accountPassword);
|
||||
std::string getCharacterType() const;
|
||||
void setCharacterType(const std::string &characterType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -59,6 +61,7 @@ private:
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string accountPassword_;
|
||||
std::string characterType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dds
|
||||
|
||||
@@ -267,6 +267,42 @@ DdsClient::CreateDBInstanceOutcomeCallable DdsClient::createDBInstanceCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DdsClient::CreateGlobalSecurityIPGroupOutcome DdsClient::createGlobalSecurityIPGroup(const CreateGlobalSecurityIPGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateGlobalSecurityIPGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateGlobalSecurityIPGroupOutcome(CreateGlobalSecurityIPGroupResult(outcome.result()));
|
||||
else
|
||||
return CreateGlobalSecurityIPGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DdsClient::createGlobalSecurityIPGroupAsync(const CreateGlobalSecurityIPGroupRequest& request, const CreateGlobalSecurityIPGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createGlobalSecurityIPGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DdsClient::CreateGlobalSecurityIPGroupOutcomeCallable DdsClient::createGlobalSecurityIPGroupCallable(const CreateGlobalSecurityIPGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateGlobalSecurityIPGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createGlobalSecurityIPGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DdsClient::CreateNodeOutcome DdsClient::createNode(const CreateNodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -411,6 +447,42 @@ DdsClient::DeleteDBInstanceOutcomeCallable DdsClient::deleteDBInstanceCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DdsClient::DeleteGlobalSecurityIPGroupOutcome DdsClient::deleteGlobalSecurityIPGroup(const DeleteGlobalSecurityIPGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteGlobalSecurityIPGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteGlobalSecurityIPGroupOutcome(DeleteGlobalSecurityIPGroupResult(outcome.result()));
|
||||
else
|
||||
return DeleteGlobalSecurityIPGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DdsClient::deleteGlobalSecurityIPGroupAsync(const DeleteGlobalSecurityIPGroupRequest& request, const DeleteGlobalSecurityIPGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteGlobalSecurityIPGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DdsClient::DeleteGlobalSecurityIPGroupOutcomeCallable DdsClient::deleteGlobalSecurityIPGroupCallable(const DeleteGlobalSecurityIPGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteGlobalSecurityIPGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteGlobalSecurityIPGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DdsClient::DeleteNodeOutcome DdsClient::deleteNode(const DeleteNodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1167,6 +1239,78 @@ DdsClient::DescribeErrorLogRecordsOutcomeCallable DdsClient::describeErrorLogRec
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DdsClient::DescribeGlobalSecurityIPGroupOutcome DdsClient::describeGlobalSecurityIPGroup(const DescribeGlobalSecurityIPGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeGlobalSecurityIPGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeGlobalSecurityIPGroupOutcome(DescribeGlobalSecurityIPGroupResult(outcome.result()));
|
||||
else
|
||||
return DescribeGlobalSecurityIPGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DdsClient::describeGlobalSecurityIPGroupAsync(const DescribeGlobalSecurityIPGroupRequest& request, const DescribeGlobalSecurityIPGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeGlobalSecurityIPGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DdsClient::DescribeGlobalSecurityIPGroupOutcomeCallable DdsClient::describeGlobalSecurityIPGroupCallable(const DescribeGlobalSecurityIPGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeGlobalSecurityIPGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeGlobalSecurityIPGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DdsClient::DescribeGlobalSecurityIPGroupRelationOutcome DdsClient::describeGlobalSecurityIPGroupRelation(const DescribeGlobalSecurityIPGroupRelationRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeGlobalSecurityIPGroupRelationOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeGlobalSecurityIPGroupRelationOutcome(DescribeGlobalSecurityIPGroupRelationResult(outcome.result()));
|
||||
else
|
||||
return DescribeGlobalSecurityIPGroupRelationOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DdsClient::describeGlobalSecurityIPGroupRelationAsync(const DescribeGlobalSecurityIPGroupRelationRequest& request, const DescribeGlobalSecurityIPGroupRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeGlobalSecurityIPGroupRelation(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DdsClient::DescribeGlobalSecurityIPGroupRelationOutcomeCallable DdsClient::describeGlobalSecurityIPGroupRelationCallable(const DescribeGlobalSecurityIPGroupRelationRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeGlobalSecurityIPGroupRelationOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeGlobalSecurityIPGroupRelation(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DdsClient::DescribeInstanceAutoRenewalAttributeOutcome DdsClient::describeInstanceAutoRenewalAttribute(const DescribeInstanceAutoRenewalAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2463,6 +2607,114 @@ DdsClient::ModifyDBInstanceTDEOutcomeCallable DdsClient::modifyDBInstanceTDECall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DdsClient::ModifyGlobalSecurityIPGroupOutcome DdsClient::modifyGlobalSecurityIPGroup(const ModifyGlobalSecurityIPGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyGlobalSecurityIPGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyGlobalSecurityIPGroupOutcome(ModifyGlobalSecurityIPGroupResult(outcome.result()));
|
||||
else
|
||||
return ModifyGlobalSecurityIPGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DdsClient::modifyGlobalSecurityIPGroupAsync(const ModifyGlobalSecurityIPGroupRequest& request, const ModifyGlobalSecurityIPGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyGlobalSecurityIPGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DdsClient::ModifyGlobalSecurityIPGroupOutcomeCallable DdsClient::modifyGlobalSecurityIPGroupCallable(const ModifyGlobalSecurityIPGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyGlobalSecurityIPGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyGlobalSecurityIPGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DdsClient::ModifyGlobalSecurityIPGroupNameOutcome DdsClient::modifyGlobalSecurityIPGroupName(const ModifyGlobalSecurityIPGroupNameRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyGlobalSecurityIPGroupNameOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyGlobalSecurityIPGroupNameOutcome(ModifyGlobalSecurityIPGroupNameResult(outcome.result()));
|
||||
else
|
||||
return ModifyGlobalSecurityIPGroupNameOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DdsClient::modifyGlobalSecurityIPGroupNameAsync(const ModifyGlobalSecurityIPGroupNameRequest& request, const ModifyGlobalSecurityIPGroupNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyGlobalSecurityIPGroupName(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DdsClient::ModifyGlobalSecurityIPGroupNameOutcomeCallable DdsClient::modifyGlobalSecurityIPGroupNameCallable(const ModifyGlobalSecurityIPGroupNameRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyGlobalSecurityIPGroupNameOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyGlobalSecurityIPGroupName(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DdsClient::ModifyGlobalSecurityIPGroupRelationOutcome DdsClient::modifyGlobalSecurityIPGroupRelation(const ModifyGlobalSecurityIPGroupRelationRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyGlobalSecurityIPGroupRelationOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyGlobalSecurityIPGroupRelationOutcome(ModifyGlobalSecurityIPGroupRelationResult(outcome.result()));
|
||||
else
|
||||
return ModifyGlobalSecurityIPGroupRelationOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DdsClient::modifyGlobalSecurityIPGroupRelationAsync(const ModifyGlobalSecurityIPGroupRelationRequest& request, const ModifyGlobalSecurityIPGroupRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyGlobalSecurityIPGroupRelation(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DdsClient::ModifyGlobalSecurityIPGroupRelationOutcomeCallable DdsClient::modifyGlobalSecurityIPGroupRelationCallable(const ModifyGlobalSecurityIPGroupRelationRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyGlobalSecurityIPGroupRelationOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyGlobalSecurityIPGroupRelation(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DdsClient::ModifyInstanceAutoRenewalAttributeOutcome DdsClient::modifyInstanceAutoRenewalAttribute(const ModifyInstanceAutoRenewalAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -129,6 +129,15 @@ void CreateDBInstanceRequest::setTag(const std::vector<CreateDBInstanceRequest::
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateDBInstanceRequest::getGlobalSecurityGroupIds() const {
|
||||
return globalSecurityGroupIds_;
|
||||
}
|
||||
|
||||
void CreateDBInstanceRequest::setGlobalSecurityGroupIds(const std::string &globalSecurityGroupIds) {
|
||||
globalSecurityGroupIds_ = globalSecurityGroupIds;
|
||||
setParameter(std::string("GlobalSecurityGroupIds"), globalSecurityGroupIds);
|
||||
}
|
||||
|
||||
std::string CreateDBInstanceRequest::getBusinessInfo() const {
|
||||
return businessInfo_;
|
||||
}
|
||||
|
||||
135
dds/src/model/CreateGlobalSecurityIPGroupRequest.cc
Normal file
135
dds/src/model/CreateGlobalSecurityIPGroupRequest.cc
Normal file
@@ -0,0 +1,135 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dds/model/CreateGlobalSecurityIPGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Dds::Model::CreateGlobalSecurityIPGroupRequest;
|
||||
|
||||
CreateGlobalSecurityIPGroupRequest::CreateGlobalSecurityIPGroupRequest()
|
||||
: RpcServiceRequest("dds", "2015-12-01", "CreateGlobalSecurityIPGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateGlobalSecurityIPGroupRequest::~CreateGlobalSecurityIPGroupRequest() {}
|
||||
|
||||
long CreateGlobalSecurityIPGroupRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateGlobalSecurityIPGroupRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateGlobalSecurityIPGroupRequest::getGIpList() const {
|
||||
return gIpList_;
|
||||
}
|
||||
|
||||
void CreateGlobalSecurityIPGroupRequest::setGIpList(const std::string &gIpList) {
|
||||
gIpList_ = gIpList;
|
||||
setParameter(std::string("GIpList"), gIpList);
|
||||
}
|
||||
|
||||
std::string CreateGlobalSecurityIPGroupRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateGlobalSecurityIPGroupRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateGlobalSecurityIPGroupRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void CreateGlobalSecurityIPGroupRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateGlobalSecurityIPGroupRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateGlobalSecurityIPGroupRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string CreateGlobalSecurityIPGroupRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateGlobalSecurityIPGroupRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string CreateGlobalSecurityIPGroupRequest::getSecurityIPType() const {
|
||||
return securityIPType_;
|
||||
}
|
||||
|
||||
void CreateGlobalSecurityIPGroupRequest::setSecurityIPType(const std::string &securityIPType) {
|
||||
securityIPType_ = securityIPType;
|
||||
setParameter(std::string("SecurityIPType"), securityIPType);
|
||||
}
|
||||
|
||||
std::string CreateGlobalSecurityIPGroupRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateGlobalSecurityIPGroupRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateGlobalSecurityIPGroupRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateGlobalSecurityIPGroupRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long CreateGlobalSecurityIPGroupRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateGlobalSecurityIPGroupRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateGlobalSecurityIPGroupRequest::getWhitelistNetType() const {
|
||||
return whitelistNetType_;
|
||||
}
|
||||
|
||||
void CreateGlobalSecurityIPGroupRequest::setWhitelistNetType(const std::string &whitelistNetType) {
|
||||
whitelistNetType_ = whitelistNetType;
|
||||
setParameter(std::string("WhitelistNetType"), whitelistNetType);
|
||||
}
|
||||
|
||||
std::string CreateGlobalSecurityIPGroupRequest::getGlobalIgName() const {
|
||||
return globalIgName_;
|
||||
}
|
||||
|
||||
void CreateGlobalSecurityIPGroupRequest::setGlobalIgName(const std::string &globalIgName) {
|
||||
globalIgName_ = globalIgName;
|
||||
setParameter(std::string("GlobalIgName"), globalIgName);
|
||||
}
|
||||
|
||||
67
dds/src/model/CreateGlobalSecurityIPGroupResult.cc
Normal file
67
dds/src/model/CreateGlobalSecurityIPGroupResult.cc
Normal file
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dds/model/CreateGlobalSecurityIPGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dds;
|
||||
using namespace AlibabaCloud::Dds::Model;
|
||||
|
||||
CreateGlobalSecurityIPGroupResult::CreateGlobalSecurityIPGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateGlobalSecurityIPGroupResult::CreateGlobalSecurityIPGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateGlobalSecurityIPGroupResult::~CreateGlobalSecurityIPGroupResult()
|
||||
{}
|
||||
|
||||
void CreateGlobalSecurityIPGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allGlobalSecurityIPGroupNode = value["GlobalSecurityIPGroup"]["GlobalSecurityIPGroupItem"];
|
||||
for (auto valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem : allGlobalSecurityIPGroupNode)
|
||||
{
|
||||
GlobalSecurityIPGroupItem globalSecurityIPGroupObject;
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GlobalSecurityGroupId"].isNull())
|
||||
globalSecurityIPGroupObject.globalSecurityGroupId = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GlobalSecurityGroupId"].asString();
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GlobalIgName"].isNull())
|
||||
globalSecurityIPGroupObject.globalIgName = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GlobalIgName"].asString();
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["SecurityIPType"].isNull())
|
||||
globalSecurityIPGroupObject.securityIPType = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["SecurityIPType"].asString();
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GIpList"].isNull())
|
||||
globalSecurityIPGroupObject.gIpList = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GIpList"].asString();
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["WhitelistNetType"].isNull())
|
||||
globalSecurityIPGroupObject.whitelistNetType = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["WhitelistNetType"].asString();
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["RegionId"].isNull())
|
||||
globalSecurityIPGroupObject.regionId = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["RegionId"].asString();
|
||||
globalSecurityIPGroup_.push_back(globalSecurityIPGroupObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<CreateGlobalSecurityIPGroupResult::GlobalSecurityIPGroupItem> CreateGlobalSecurityIPGroupResult::getGlobalSecurityIPGroup()const
|
||||
{
|
||||
return globalSecurityIPGroup_;
|
||||
}
|
||||
|
||||
@@ -112,6 +112,15 @@ void CreateShardingDBInstanceRequest::setDBInstanceDescription(const std::string
|
||||
setParameter(std::string("DBInstanceDescription"), dBInstanceDescription);
|
||||
}
|
||||
|
||||
std::string CreateShardingDBInstanceRequest::getGlobalSecurityGroupIds() const {
|
||||
return globalSecurityGroupIds_;
|
||||
}
|
||||
|
||||
void CreateShardingDBInstanceRequest::setGlobalSecurityGroupIds(const std::string &globalSecurityGroupIds) {
|
||||
globalSecurityGroupIds_ = globalSecurityGroupIds;
|
||||
setParameter(std::string("GlobalSecurityGroupIds"), globalSecurityGroupIds);
|
||||
}
|
||||
|
||||
int CreateShardingDBInstanceRequest::getPeriod() const {
|
||||
return period_;
|
||||
}
|
||||
|
||||
117
dds/src/model/DeleteGlobalSecurityIPGroupRequest.cc
Normal file
117
dds/src/model/DeleteGlobalSecurityIPGroupRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dds/model/DeleteGlobalSecurityIPGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Dds::Model::DeleteGlobalSecurityIPGroupRequest;
|
||||
|
||||
DeleteGlobalSecurityIPGroupRequest::DeleteGlobalSecurityIPGroupRequest()
|
||||
: RpcServiceRequest("dds", "2015-12-01", "DeleteGlobalSecurityIPGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteGlobalSecurityIPGroupRequest::~DeleteGlobalSecurityIPGroupRequest() {}
|
||||
|
||||
long DeleteGlobalSecurityIPGroupRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteGlobalSecurityIPGroupRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteGlobalSecurityIPGroupRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteGlobalSecurityIPGroupRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteGlobalSecurityIPGroupRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DeleteGlobalSecurityIPGroupRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DeleteGlobalSecurityIPGroupRequest::getGlobalSecurityGroupId() const {
|
||||
return globalSecurityGroupId_;
|
||||
}
|
||||
|
||||
void DeleteGlobalSecurityIPGroupRequest::setGlobalSecurityGroupId(const std::string &globalSecurityGroupId) {
|
||||
globalSecurityGroupId_ = globalSecurityGroupId;
|
||||
setParameter(std::string("GlobalSecurityGroupId"), globalSecurityGroupId);
|
||||
}
|
||||
|
||||
std::string DeleteGlobalSecurityIPGroupRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteGlobalSecurityIPGroupRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteGlobalSecurityIPGroupRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DeleteGlobalSecurityIPGroupRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DeleteGlobalSecurityIPGroupRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteGlobalSecurityIPGroupRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteGlobalSecurityIPGroupRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteGlobalSecurityIPGroupRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long DeleteGlobalSecurityIPGroupRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteGlobalSecurityIPGroupRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteGlobalSecurityIPGroupRequest::getGlobalIgName() const {
|
||||
return globalIgName_;
|
||||
}
|
||||
|
||||
void DeleteGlobalSecurityIPGroupRequest::setGlobalIgName(const std::string &globalIgName) {
|
||||
globalIgName_ = globalIgName;
|
||||
setParameter(std::string("GlobalIgName"), globalIgName);
|
||||
}
|
||||
|
||||
44
dds/src/model/DeleteGlobalSecurityIPGroupResult.cc
Normal file
44
dds/src/model/DeleteGlobalSecurityIPGroupResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dds/model/DeleteGlobalSecurityIPGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dds;
|
||||
using namespace AlibabaCloud::Dds::Model;
|
||||
|
||||
DeleteGlobalSecurityIPGroupResult::DeleteGlobalSecurityIPGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteGlobalSecurityIPGroupResult::DeleteGlobalSecurityIPGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteGlobalSecurityIPGroupResult::~DeleteGlobalSecurityIPGroupResult()
|
||||
{}
|
||||
|
||||
void DeleteGlobalSecurityIPGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
108
dds/src/model/DescribeGlobalSecurityIPGroupRelationRequest.cc
Normal file
108
dds/src/model/DescribeGlobalSecurityIPGroupRelationRequest.cc
Normal file
@@ -0,0 +1,108 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dds/model/DescribeGlobalSecurityIPGroupRelationRequest.h>
|
||||
|
||||
using AlibabaCloud::Dds::Model::DescribeGlobalSecurityIPGroupRelationRequest;
|
||||
|
||||
DescribeGlobalSecurityIPGroupRelationRequest::DescribeGlobalSecurityIPGroupRelationRequest()
|
||||
: RpcServiceRequest("dds", "2015-12-01", "DescribeGlobalSecurityIPGroupRelation") {
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DescribeGlobalSecurityIPGroupRelationRequest::~DescribeGlobalSecurityIPGroupRelationRequest() {}
|
||||
|
||||
long DescribeGlobalSecurityIPGroupRelationRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeGlobalSecurityIPGroupRelationRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeGlobalSecurityIPGroupRelationRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeGlobalSecurityIPGroupRelationRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeGlobalSecurityIPGroupRelationRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DescribeGlobalSecurityIPGroupRelationRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeGlobalSecurityIPGroupRelationRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeGlobalSecurityIPGroupRelationRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeGlobalSecurityIPGroupRelationRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeGlobalSecurityIPGroupRelationRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DescribeGlobalSecurityIPGroupRelationRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeGlobalSecurityIPGroupRelationRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeGlobalSecurityIPGroupRelationRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeGlobalSecurityIPGroupRelationRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeGlobalSecurityIPGroupRelationRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeGlobalSecurityIPGroupRelationRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeGlobalSecurityIPGroupRelationRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeGlobalSecurityIPGroupRelationRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
72
dds/src/model/DescribeGlobalSecurityIPGroupRelationResult.cc
Normal file
72
dds/src/model/DescribeGlobalSecurityIPGroupRelationResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dds/model/DescribeGlobalSecurityIPGroupRelationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dds;
|
||||
using namespace AlibabaCloud::Dds::Model;
|
||||
|
||||
DescribeGlobalSecurityIPGroupRelationResult::DescribeGlobalSecurityIPGroupRelationResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeGlobalSecurityIPGroupRelationResult::DescribeGlobalSecurityIPGroupRelationResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeGlobalSecurityIPGroupRelationResult::~DescribeGlobalSecurityIPGroupRelationResult()
|
||||
{}
|
||||
|
||||
void DescribeGlobalSecurityIPGroupRelationResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allGlobalSecurityIPGroupRelNode = value["GlobalSecurityIPGroupRel"]["GlobalSecurityIPGroupRelItem"];
|
||||
for (auto valueGlobalSecurityIPGroupRelGlobalSecurityIPGroupRelItem : allGlobalSecurityIPGroupRelNode)
|
||||
{
|
||||
GlobalSecurityIPGroupRelItem globalSecurityIPGroupRelObject;
|
||||
if(!valueGlobalSecurityIPGroupRelGlobalSecurityIPGroupRelItem["GlobalSecurityGroupId"].isNull())
|
||||
globalSecurityIPGroupRelObject.globalSecurityGroupId = valueGlobalSecurityIPGroupRelGlobalSecurityIPGroupRelItem["GlobalSecurityGroupId"].asString();
|
||||
if(!valueGlobalSecurityIPGroupRelGlobalSecurityIPGroupRelItem["GIpList"].isNull())
|
||||
globalSecurityIPGroupRelObject.gIpList = valueGlobalSecurityIPGroupRelGlobalSecurityIPGroupRelItem["GIpList"].asString();
|
||||
if(!valueGlobalSecurityIPGroupRelGlobalSecurityIPGroupRelItem["RegionId"].isNull())
|
||||
globalSecurityIPGroupRelObject.regionId = valueGlobalSecurityIPGroupRelGlobalSecurityIPGroupRelItem["RegionId"].asString();
|
||||
if(!valueGlobalSecurityIPGroupRelGlobalSecurityIPGroupRelItem["WhitelistNetType"].isNull())
|
||||
globalSecurityIPGroupRelObject.whitelistNetType = valueGlobalSecurityIPGroupRelGlobalSecurityIPGroupRelItem["WhitelistNetType"].asString();
|
||||
if(!valueGlobalSecurityIPGroupRelGlobalSecurityIPGroupRelItem["GlobalIgName"].isNull())
|
||||
globalSecurityIPGroupRelObject.globalIgName = valueGlobalSecurityIPGroupRelGlobalSecurityIPGroupRelItem["GlobalIgName"].asString();
|
||||
globalSecurityIPGroupRel_.push_back(globalSecurityIPGroupRelObject);
|
||||
}
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeGlobalSecurityIPGroupRelationResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::vector<DescribeGlobalSecurityIPGroupRelationResult::GlobalSecurityIPGroupRelItem> DescribeGlobalSecurityIPGroupRelationResult::getGlobalSecurityIPGroupRel()const
|
||||
{
|
||||
return globalSecurityIPGroupRel_;
|
||||
}
|
||||
|
||||
108
dds/src/model/DescribeGlobalSecurityIPGroupRequest.cc
Normal file
108
dds/src/model/DescribeGlobalSecurityIPGroupRequest.cc
Normal file
@@ -0,0 +1,108 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dds/model/DescribeGlobalSecurityIPGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Dds::Model::DescribeGlobalSecurityIPGroupRequest;
|
||||
|
||||
DescribeGlobalSecurityIPGroupRequest::DescribeGlobalSecurityIPGroupRequest()
|
||||
: RpcServiceRequest("dds", "2015-12-01", "DescribeGlobalSecurityIPGroup") {
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DescribeGlobalSecurityIPGroupRequest::~DescribeGlobalSecurityIPGroupRequest() {}
|
||||
|
||||
long DescribeGlobalSecurityIPGroupRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeGlobalSecurityIPGroupRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeGlobalSecurityIPGroupRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeGlobalSecurityIPGroupRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeGlobalSecurityIPGroupRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DescribeGlobalSecurityIPGroupRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeGlobalSecurityIPGroupRequest::getGlobalSecurityGroupId() const {
|
||||
return globalSecurityGroupId_;
|
||||
}
|
||||
|
||||
void DescribeGlobalSecurityIPGroupRequest::setGlobalSecurityGroupId(const std::string &globalSecurityGroupId) {
|
||||
globalSecurityGroupId_ = globalSecurityGroupId;
|
||||
setParameter(std::string("GlobalSecurityGroupId"), globalSecurityGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeGlobalSecurityIPGroupRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeGlobalSecurityIPGroupRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeGlobalSecurityIPGroupRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeGlobalSecurityIPGroupRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DescribeGlobalSecurityIPGroupRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeGlobalSecurityIPGroupRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeGlobalSecurityIPGroupRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeGlobalSecurityIPGroupRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeGlobalSecurityIPGroupRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeGlobalSecurityIPGroupRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
70
dds/src/model/DescribeGlobalSecurityIPGroupResult.cc
Normal file
70
dds/src/model/DescribeGlobalSecurityIPGroupResult.cc
Normal file
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dds/model/DescribeGlobalSecurityIPGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dds;
|
||||
using namespace AlibabaCloud::Dds::Model;
|
||||
|
||||
DescribeGlobalSecurityIPGroupResult::DescribeGlobalSecurityIPGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeGlobalSecurityIPGroupResult::DescribeGlobalSecurityIPGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeGlobalSecurityIPGroupResult::~DescribeGlobalSecurityIPGroupResult()
|
||||
{}
|
||||
|
||||
void DescribeGlobalSecurityIPGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allGlobalSecurityIPGroupNode = value["GlobalSecurityIPGroup"]["GlobalSecurityIPGroupItem"];
|
||||
for (auto valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem : allGlobalSecurityIPGroupNode)
|
||||
{
|
||||
GlobalSecurityIPGroupItem globalSecurityIPGroupObject;
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GlobalSecurityGroupId"].isNull())
|
||||
globalSecurityIPGroupObject.globalSecurityGroupId = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GlobalSecurityGroupId"].asString();
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GlobalIgName"].isNull())
|
||||
globalSecurityIPGroupObject.globalIgName = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GlobalIgName"].asString();
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["SecurityIPType"].isNull())
|
||||
globalSecurityIPGroupObject.securityIPType = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["SecurityIPType"].asString();
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GIpList"].isNull())
|
||||
globalSecurityIPGroupObject.gIpList = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GIpList"].asString();
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["WhitelistNetType"].isNull())
|
||||
globalSecurityIPGroupObject.whitelistNetType = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["WhitelistNetType"].asString();
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["RegionId"].isNull())
|
||||
globalSecurityIPGroupObject.regionId = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["RegionId"].asString();
|
||||
auto allDBInstances = value["DBInstances"]["DBInstances"];
|
||||
for (auto value : allDBInstances)
|
||||
globalSecurityIPGroupObject.dBInstances.push_back(value.asString());
|
||||
globalSecurityIPGroup_.push_back(globalSecurityIPGroupObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeGlobalSecurityIPGroupResult::GlobalSecurityIPGroupItem> DescribeGlobalSecurityIPGroupResult::getGlobalSecurityIPGroup()const
|
||||
{
|
||||
return globalSecurityIPGroup_;
|
||||
}
|
||||
|
||||
@@ -55,12 +55,14 @@ void DescribeParametersResult::parse(const std::string &payload)
|
||||
runningParametersObject.parameterDescription = valueRunningParametersParameter["ParameterDescription"].asString();
|
||||
if(!valueRunningParametersParameter["ModifiableStatus"].isNull())
|
||||
runningParametersObject.modifiableStatus = valueRunningParametersParameter["ModifiableStatus"].asString();
|
||||
if(!valueRunningParametersParameter["CharacterType"].isNull())
|
||||
runningParametersObject.characterType = valueRunningParametersParameter["CharacterType"].asString();
|
||||
runningParameters_.push_back(runningParametersObject);
|
||||
}
|
||||
auto allConfigParametersNode = value["ConfigParameters"]["Parameter"];
|
||||
for (auto valueConfigParametersParameter : allConfigParametersNode)
|
||||
{
|
||||
_Parameter configParametersObject;
|
||||
_Parameter1 configParametersObject;
|
||||
if(!valueConfigParametersParameter["CheckingCode"].isNull())
|
||||
configParametersObject.checkingCode = valueConfigParametersParameter["CheckingCode"].asString();
|
||||
if(!valueConfigParametersParameter["ParameterName"].isNull())
|
||||
@@ -68,11 +70,11 @@ void DescribeParametersResult::parse(const std::string &payload)
|
||||
if(!valueConfigParametersParameter["ParameterValue"].isNull())
|
||||
configParametersObject.parameterValue = valueConfigParametersParameter["ParameterValue"].asString();
|
||||
if(!valueConfigParametersParameter["ForceRestart"].isNull())
|
||||
configParametersObject.forceRestart = valueConfigParametersParameter["ForceRestart"].asString();
|
||||
configParametersObject.forceRestart = valueConfigParametersParameter["ForceRestart"].asString() == "true";
|
||||
if(!valueConfigParametersParameter["ParameterDescription"].isNull())
|
||||
configParametersObject.parameterDescription = valueConfigParametersParameter["ParameterDescription"].asString();
|
||||
if(!valueConfigParametersParameter["ModifiableStatus"].isNull())
|
||||
configParametersObject.modifiableStatus = valueConfigParametersParameter["ModifiableStatus"].asString();
|
||||
configParametersObject.modifiableStatus = valueConfigParametersParameter["ModifiableStatus"].asString() == "true";
|
||||
configParameters_.push_back(configParametersObject);
|
||||
}
|
||||
if(!value["EngineVersion"].isNull())
|
||||
@@ -92,7 +94,7 @@ std::string DescribeParametersResult::getEngineVersion()const
|
||||
return engineVersion_;
|
||||
}
|
||||
|
||||
std::vector<DescribeParametersResult::_Parameter> DescribeParametersResult::getConfigParameters()const
|
||||
std::vector<DescribeParametersResult::_Parameter1> DescribeParametersResult::getConfigParameters()const
|
||||
{
|
||||
return configParameters_;
|
||||
}
|
||||
|
||||
@@ -88,6 +88,15 @@ void ModifyDBInstanceConnectionStringRequest::setOwnerAccount(const std::string
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
int ModifyDBInstanceConnectionStringRequest::getNewPort() const {
|
||||
return newPort_;
|
||||
}
|
||||
|
||||
void ModifyDBInstanceConnectionStringRequest::setNewPort(int newPort) {
|
||||
newPort_ = newPort;
|
||||
setParameter(std::string("NewPort"), std::to_string(newPort));
|
||||
}
|
||||
|
||||
std::string ModifyDBInstanceConnectionStringRequest::getNewConnectionString() const {
|
||||
return newConnectionString_;
|
||||
}
|
||||
|
||||
117
dds/src/model/ModifyGlobalSecurityIPGroupNameRequest.cc
Normal file
117
dds/src/model/ModifyGlobalSecurityIPGroupNameRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dds/model/ModifyGlobalSecurityIPGroupNameRequest.h>
|
||||
|
||||
using AlibabaCloud::Dds::Model::ModifyGlobalSecurityIPGroupNameRequest;
|
||||
|
||||
ModifyGlobalSecurityIPGroupNameRequest::ModifyGlobalSecurityIPGroupNameRequest()
|
||||
: RpcServiceRequest("dds", "2015-12-01", "ModifyGlobalSecurityIPGroupName") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyGlobalSecurityIPGroupNameRequest::~ModifyGlobalSecurityIPGroupNameRequest() {}
|
||||
|
||||
long ModifyGlobalSecurityIPGroupNameRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupNameRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupNameRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupNameRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupNameRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupNameRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupNameRequest::getGlobalSecurityGroupId() const {
|
||||
return globalSecurityGroupId_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupNameRequest::setGlobalSecurityGroupId(const std::string &globalSecurityGroupId) {
|
||||
globalSecurityGroupId_ = globalSecurityGroupId;
|
||||
setParameter(std::string("GlobalSecurityGroupId"), globalSecurityGroupId);
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupNameRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupNameRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupNameRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupNameRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupNameRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupNameRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupNameRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupNameRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long ModifyGlobalSecurityIPGroupNameRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupNameRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupNameRequest::getGlobalIgName() const {
|
||||
return globalIgName_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupNameRequest::setGlobalIgName(const std::string &globalIgName) {
|
||||
globalIgName_ = globalIgName;
|
||||
setParameter(std::string("GlobalIgName"), globalIgName);
|
||||
}
|
||||
|
||||
67
dds/src/model/ModifyGlobalSecurityIPGroupNameResult.cc
Normal file
67
dds/src/model/ModifyGlobalSecurityIPGroupNameResult.cc
Normal file
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dds/model/ModifyGlobalSecurityIPGroupNameResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dds;
|
||||
using namespace AlibabaCloud::Dds::Model;
|
||||
|
||||
ModifyGlobalSecurityIPGroupNameResult::ModifyGlobalSecurityIPGroupNameResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyGlobalSecurityIPGroupNameResult::ModifyGlobalSecurityIPGroupNameResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyGlobalSecurityIPGroupNameResult::~ModifyGlobalSecurityIPGroupNameResult()
|
||||
{}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupNameResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allGlobalSecurityIPGroupNode = value["GlobalSecurityIPGroup"]["GlobalSecurityIPGroupItem"];
|
||||
for (auto valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem : allGlobalSecurityIPGroupNode)
|
||||
{
|
||||
GlobalSecurityIPGroupItem globalSecurityIPGroupObject;
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GlobalSecurityGroupId"].isNull())
|
||||
globalSecurityIPGroupObject.globalSecurityGroupId = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GlobalSecurityGroupId"].asString();
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GlobalIgName"].isNull())
|
||||
globalSecurityIPGroupObject.globalIgName = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GlobalIgName"].asString();
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["SecurityIPType"].isNull())
|
||||
globalSecurityIPGroupObject.securityIPType = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["SecurityIPType"].asString();
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GIpList"].isNull())
|
||||
globalSecurityIPGroupObject.gIpList = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GIpList"].asString();
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["WhitelistNetType"].isNull())
|
||||
globalSecurityIPGroupObject.whitelistNetType = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["WhitelistNetType"].asString();
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["RegionId"].isNull())
|
||||
globalSecurityIPGroupObject.regionId = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["RegionId"].asString();
|
||||
globalSecurityIPGroup_.push_back(globalSecurityIPGroupObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<ModifyGlobalSecurityIPGroupNameResult::GlobalSecurityIPGroupItem> ModifyGlobalSecurityIPGroupNameResult::getGlobalSecurityIPGroup()const
|
||||
{
|
||||
return globalSecurityIPGroup_;
|
||||
}
|
||||
|
||||
117
dds/src/model/ModifyGlobalSecurityIPGroupRelationRequest.cc
Normal file
117
dds/src/model/ModifyGlobalSecurityIPGroupRelationRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dds/model/ModifyGlobalSecurityIPGroupRelationRequest.h>
|
||||
|
||||
using AlibabaCloud::Dds::Model::ModifyGlobalSecurityIPGroupRelationRequest;
|
||||
|
||||
ModifyGlobalSecurityIPGroupRelationRequest::ModifyGlobalSecurityIPGroupRelationRequest()
|
||||
: RpcServiceRequest("dds", "2015-12-01", "ModifyGlobalSecurityIPGroupRelation") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyGlobalSecurityIPGroupRelationRequest::~ModifyGlobalSecurityIPGroupRelationRequest() {}
|
||||
|
||||
long ModifyGlobalSecurityIPGroupRelationRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupRelationRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupRelationRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupRelationRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupRelationRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupRelationRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupRelationRequest::getGlobalSecurityGroupId() const {
|
||||
return globalSecurityGroupId_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupRelationRequest::setGlobalSecurityGroupId(const std::string &globalSecurityGroupId) {
|
||||
globalSecurityGroupId_ = globalSecurityGroupId;
|
||||
setParameter(std::string("GlobalSecurityGroupId"), globalSecurityGroupId);
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupRelationRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupRelationRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupRelationRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupRelationRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupRelationRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupRelationRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupRelationRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupRelationRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupRelationRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupRelationRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long ModifyGlobalSecurityIPGroupRelationRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupRelationRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
44
dds/src/model/ModifyGlobalSecurityIPGroupRelationResult.cc
Normal file
44
dds/src/model/ModifyGlobalSecurityIPGroupRelationResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dds/model/ModifyGlobalSecurityIPGroupRelationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dds;
|
||||
using namespace AlibabaCloud::Dds::Model;
|
||||
|
||||
ModifyGlobalSecurityIPGroupRelationResult::ModifyGlobalSecurityIPGroupRelationResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyGlobalSecurityIPGroupRelationResult::ModifyGlobalSecurityIPGroupRelationResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyGlobalSecurityIPGroupRelationResult::~ModifyGlobalSecurityIPGroupRelationResult()
|
||||
{}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupRelationResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
144
dds/src/model/ModifyGlobalSecurityIPGroupRequest.cc
Normal file
144
dds/src/model/ModifyGlobalSecurityIPGroupRequest.cc
Normal file
@@ -0,0 +1,144 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dds/model/ModifyGlobalSecurityIPGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Dds::Model::ModifyGlobalSecurityIPGroupRequest;
|
||||
|
||||
ModifyGlobalSecurityIPGroupRequest::ModifyGlobalSecurityIPGroupRequest()
|
||||
: RpcServiceRequest("dds", "2015-12-01", "ModifyGlobalSecurityIPGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyGlobalSecurityIPGroupRequest::~ModifyGlobalSecurityIPGroupRequest() {}
|
||||
|
||||
long ModifyGlobalSecurityIPGroupRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupRequest::getGIpList() const {
|
||||
return gIpList_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupRequest::setGIpList(const std::string &gIpList) {
|
||||
gIpList_ = gIpList;
|
||||
setParameter(std::string("GIpList"), gIpList);
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupRequest::getGlobalSecurityGroupId() const {
|
||||
return globalSecurityGroupId_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupRequest::setGlobalSecurityGroupId(const std::string &globalSecurityGroupId) {
|
||||
globalSecurityGroupId_ = globalSecurityGroupId;
|
||||
setParameter(std::string("GlobalSecurityGroupId"), globalSecurityGroupId);
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupRequest::getSecurityIPType() const {
|
||||
return securityIPType_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupRequest::setSecurityIPType(const std::string &securityIPType) {
|
||||
securityIPType_ = securityIPType;
|
||||
setParameter(std::string("SecurityIPType"), securityIPType);
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long ModifyGlobalSecurityIPGroupRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupRequest::getWhitelistNetType() const {
|
||||
return whitelistNetType_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupRequest::setWhitelistNetType(const std::string &whitelistNetType) {
|
||||
whitelistNetType_ = whitelistNetType;
|
||||
setParameter(std::string("WhitelistNetType"), whitelistNetType);
|
||||
}
|
||||
|
||||
std::string ModifyGlobalSecurityIPGroupRequest::getGlobalIgName() const {
|
||||
return globalIgName_;
|
||||
}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupRequest::setGlobalIgName(const std::string &globalIgName) {
|
||||
globalIgName_ = globalIgName;
|
||||
setParameter(std::string("GlobalIgName"), globalIgName);
|
||||
}
|
||||
|
||||
44
dds/src/model/ModifyGlobalSecurityIPGroupResult.cc
Normal file
44
dds/src/model/ModifyGlobalSecurityIPGroupResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dds/model/ModifyGlobalSecurityIPGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dds;
|
||||
using namespace AlibabaCloud::Dds::Model;
|
||||
|
||||
ModifyGlobalSecurityIPGroupResult::ModifyGlobalSecurityIPGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyGlobalSecurityIPGroupResult::ModifyGlobalSecurityIPGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyGlobalSecurityIPGroupResult::~ModifyGlobalSecurityIPGroupResult()
|
||||
{}
|
||||
|
||||
void ModifyGlobalSecurityIPGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -106,3 +106,12 @@ void ResetAccountPasswordRequest::setAccountPassword(const std::string &accountP
|
||||
setParameter(std::string("AccountPassword"), accountPassword);
|
||||
}
|
||||
|
||||
std::string ResetAccountPasswordRequest::getCharacterType() const {
|
||||
return characterType_;
|
||||
}
|
||||
|
||||
void ResetAccountPasswordRequest::setCharacterType(const std::string &characterType) {
|
||||
characterType_ = characterType;
|
||||
setParameter(std::string("CharacterType"), characterType);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user