Generated 2015-01-01 for R-kvstore.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2020-03-23 Version: 1.36.330
|
||||
- Generated 2015-01-01 for `R-kvstore`.
|
||||
- Add DescribeSecurityGroupConfiguration API.
|
||||
- Add ModifySecurityGroupConfiguration API.
|
||||
|
||||
2020-03-23 Version: 1.36.329
|
||||
- Generated 2014-08-15 for `Rds`.
|
||||
|
||||
|
||||
@@ -87,6 +87,8 @@ set(r-kvstore_public_header_model
|
||||
include/alibabacloud/r-kvstore/model/DescribeRegionsResult.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeRunningLogRecordsRequest.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeRunningLogRecordsResult.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeSecurityGroupConfigurationRequest.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeSecurityGroupConfigurationResult.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeSecurityIpsRequest.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeSecurityIpsResult.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeSlowLogRecordsRequest.h
|
||||
@@ -141,6 +143,8 @@ set(r-kvstore_public_header_model
|
||||
include/alibabacloud/r-kvstore/model/ModifyInstanceVpcAuthModeResult.h
|
||||
include/alibabacloud/r-kvstore/model/ModifyIntranetAttributeRequest.h
|
||||
include/alibabacloud/r-kvstore/model/ModifyIntranetAttributeResult.h
|
||||
include/alibabacloud/r-kvstore/model/ModifySecurityGroupConfigurationRequest.h
|
||||
include/alibabacloud/r-kvstore/model/ModifySecurityGroupConfigurationResult.h
|
||||
include/alibabacloud/r-kvstore/model/ModifySecurityIpsRequest.h
|
||||
include/alibabacloud/r-kvstore/model/ModifySecurityIpsResult.h
|
||||
include/alibabacloud/r-kvstore/model/ModifyUserClusterHostRequest.h
|
||||
@@ -234,6 +238,8 @@ set(r-kvstore_src
|
||||
src/model/DescribeRegionsResult.cc
|
||||
src/model/DescribeRunningLogRecordsRequest.cc
|
||||
src/model/DescribeRunningLogRecordsResult.cc
|
||||
src/model/DescribeSecurityGroupConfigurationRequest.cc
|
||||
src/model/DescribeSecurityGroupConfigurationResult.cc
|
||||
src/model/DescribeSecurityIpsRequest.cc
|
||||
src/model/DescribeSecurityIpsResult.cc
|
||||
src/model/DescribeSlowLogRecordsRequest.cc
|
||||
@@ -288,6 +294,8 @@ set(r-kvstore_src
|
||||
src/model/ModifyInstanceVpcAuthModeResult.cc
|
||||
src/model/ModifyIntranetAttributeRequest.cc
|
||||
src/model/ModifyIntranetAttributeResult.cc
|
||||
src/model/ModifySecurityGroupConfigurationRequest.cc
|
||||
src/model/ModifySecurityGroupConfigurationResult.cc
|
||||
src/model/ModifySecurityIpsRequest.cc
|
||||
src/model/ModifySecurityIpsResult.cc
|
||||
src/model/ModifyUserClusterHostRequest.cc
|
||||
|
||||
@@ -88,6 +88,8 @@
|
||||
#include "model/DescribeRegionsResult.h"
|
||||
#include "model/DescribeRunningLogRecordsRequest.h"
|
||||
#include "model/DescribeRunningLogRecordsResult.h"
|
||||
#include "model/DescribeSecurityGroupConfigurationRequest.h"
|
||||
#include "model/DescribeSecurityGroupConfigurationResult.h"
|
||||
#include "model/DescribeSecurityIpsRequest.h"
|
||||
#include "model/DescribeSecurityIpsResult.h"
|
||||
#include "model/DescribeSlowLogRecordsRequest.h"
|
||||
@@ -142,6 +144,8 @@
|
||||
#include "model/ModifyInstanceVpcAuthModeResult.h"
|
||||
#include "model/ModifyIntranetAttributeRequest.h"
|
||||
#include "model/ModifyIntranetAttributeResult.h"
|
||||
#include "model/ModifySecurityGroupConfigurationRequest.h"
|
||||
#include "model/ModifySecurityGroupConfigurationResult.h"
|
||||
#include "model/ModifySecurityIpsRequest.h"
|
||||
#include "model/ModifySecurityIpsResult.h"
|
||||
#include "model/ModifyUserClusterHostRequest.h"
|
||||
@@ -274,6 +278,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeRunningLogRecordsResult> DescribeRunningLogRecordsOutcome;
|
||||
typedef std::future<DescribeRunningLogRecordsOutcome> DescribeRunningLogRecordsOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::DescribeRunningLogRecordsRequest&, const DescribeRunningLogRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRunningLogRecordsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSecurityGroupConfigurationResult> DescribeSecurityGroupConfigurationOutcome;
|
||||
typedef std::future<DescribeSecurityGroupConfigurationOutcome> DescribeSecurityGroupConfigurationOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::DescribeSecurityGroupConfigurationRequest&, const DescribeSecurityGroupConfigurationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSecurityGroupConfigurationAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSecurityIpsResult> DescribeSecurityIpsOutcome;
|
||||
typedef std::future<DescribeSecurityIpsOutcome> DescribeSecurityIpsOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::DescribeSecurityIpsRequest&, const DescribeSecurityIpsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSecurityIpsAsyncHandler;
|
||||
@@ -355,6 +362,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyIntranetAttributeResult> ModifyIntranetAttributeOutcome;
|
||||
typedef std::future<ModifyIntranetAttributeOutcome> ModifyIntranetAttributeOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::ModifyIntranetAttributeRequest&, const ModifyIntranetAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyIntranetAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifySecurityGroupConfigurationResult> ModifySecurityGroupConfigurationOutcome;
|
||||
typedef std::future<ModifySecurityGroupConfigurationOutcome> ModifySecurityGroupConfigurationOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::ModifySecurityGroupConfigurationRequest&, const ModifySecurityGroupConfigurationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySecurityGroupConfigurationAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifySecurityIpsResult> ModifySecurityIpsOutcome;
|
||||
typedef std::future<ModifySecurityIpsOutcome> ModifySecurityIpsOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::ModifySecurityIpsRequest&, const ModifySecurityIpsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySecurityIpsAsyncHandler;
|
||||
@@ -495,6 +505,9 @@ namespace AlibabaCloud
|
||||
DescribeRunningLogRecordsOutcome describeRunningLogRecords(const Model::DescribeRunningLogRecordsRequest &request)const;
|
||||
void describeRunningLogRecordsAsync(const Model::DescribeRunningLogRecordsRequest& request, const DescribeRunningLogRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRunningLogRecordsOutcomeCallable describeRunningLogRecordsCallable(const Model::DescribeRunningLogRecordsRequest& request) const;
|
||||
DescribeSecurityGroupConfigurationOutcome describeSecurityGroupConfiguration(const Model::DescribeSecurityGroupConfigurationRequest &request)const;
|
||||
void describeSecurityGroupConfigurationAsync(const Model::DescribeSecurityGroupConfigurationRequest& request, const DescribeSecurityGroupConfigurationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSecurityGroupConfigurationOutcomeCallable describeSecurityGroupConfigurationCallable(const Model::DescribeSecurityGroupConfigurationRequest& request) const;
|
||||
DescribeSecurityIpsOutcome describeSecurityIps(const Model::DescribeSecurityIpsRequest &request)const;
|
||||
void describeSecurityIpsAsync(const Model::DescribeSecurityIpsRequest& request, const DescribeSecurityIpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSecurityIpsOutcomeCallable describeSecurityIpsCallable(const Model::DescribeSecurityIpsRequest& request) const;
|
||||
@@ -576,6 +589,9 @@ namespace AlibabaCloud
|
||||
ModifyIntranetAttributeOutcome modifyIntranetAttribute(const Model::ModifyIntranetAttributeRequest &request)const;
|
||||
void modifyIntranetAttributeAsync(const Model::ModifyIntranetAttributeRequest& request, const ModifyIntranetAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyIntranetAttributeOutcomeCallable modifyIntranetAttributeCallable(const Model::ModifyIntranetAttributeRequest& request) const;
|
||||
ModifySecurityGroupConfigurationOutcome modifySecurityGroupConfiguration(const Model::ModifySecurityGroupConfigurationRequest &request)const;
|
||||
void modifySecurityGroupConfigurationAsync(const Model::ModifySecurityGroupConfigurationRequest& request, const ModifySecurityGroupConfigurationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifySecurityGroupConfigurationOutcomeCallable modifySecurityGroupConfigurationCallable(const Model::ModifySecurityGroupConfigurationRequest& request) const;
|
||||
ModifySecurityIpsOutcome modifySecurityIps(const Model::ModifySecurityIpsRequest &request)const;
|
||||
void modifySecurityIpsAsync(const Model::ModifySecurityIpsRequest& request, const ModifySecurityIpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifySecurityIpsOutcomeCallable modifySecurityIpsCallable(const Model::ModifySecurityIpsRequest& request) const;
|
||||
|
||||
@@ -47,6 +47,10 @@ namespace AlibabaCloud
|
||||
void setIntervalForHistory(const std::string& intervalForHistory);
|
||||
std::string getNodeId()const;
|
||||
void setNodeId(const std::string& nodeId);
|
||||
std::string getAccessType()const;
|
||||
void setAccessType(const std::string& accessType);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
@@ -57,6 +61,8 @@ namespace AlibabaCloud
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getCategory()const;
|
||||
void setCategory(const std::string& category);
|
||||
std::string getMonitorKeys()const;
|
||||
void setMonitorKeys(const std::string& monitorKeys);
|
||||
|
||||
@@ -67,11 +73,14 @@ namespace AlibabaCloud
|
||||
std::string securityToken_;
|
||||
std::string intervalForHistory_;
|
||||
std::string nodeId_;
|
||||
std::string accessType_;
|
||||
std::string product_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
std::string category_;
|
||||
std::string monitorKeys_;
|
||||
|
||||
};
|
||||
|
||||
@@ -57,6 +57,8 @@ namespace AlibabaCloud
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getCategory()const;
|
||||
void setCategory(const std::string& category);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -70,6 +72,7 @@ namespace AlibabaCloud
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string category_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_R_KVSTORE_MODEL_DESCRIBESECURITYGROUPCONFIGURATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBESECURITYGROUPCONFIGURATIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace R_kvstore
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT DescribeSecurityGroupConfigurationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeSecurityGroupConfigurationRequest();
|
||||
~DescribeSecurityGroupConfigurationRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string 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 getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBESECURITYGROUPCONFIGURATIONREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBESECURITYGROUPCONFIGURATIONRESULT_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBESECURITYGROUPCONFIGURATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace R_kvstore
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT DescribeSecurityGroupConfigurationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct EcsSecurityGroupRelation
|
||||
{
|
||||
std::string securityGroupId;
|
||||
std::string regionId;
|
||||
std::string netType;
|
||||
};
|
||||
|
||||
|
||||
DescribeSecurityGroupConfigurationResult();
|
||||
explicit DescribeSecurityGroupConfigurationResult(const std::string &payload);
|
||||
~DescribeSecurityGroupConfigurationResult();
|
||||
std::vector<EcsSecurityGroupRelation> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<EcsSecurityGroupRelation> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBESECURITYGROUPCONFIGURATIONRESULT_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_R_KVSTORE_MODEL_MODIFYSECURITYGROUPCONFIGURATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_MODIFYSECURITYGROUPCONFIGURATIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace R_kvstore
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT ModifySecurityGroupConfigurationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifySecurityGroupConfigurationRequest();
|
||||
~ModifySecurityGroupConfigurationRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSecurityGroupId()const;
|
||||
void setSecurityGroupId(const std::string& securityGroupId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string securityGroupId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string dBInstanceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_MODIFYSECURITYGROUPCONFIGURATIONREQUEST_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_R_KVSTORE_MODEL_MODIFYSECURITYGROUPCONFIGURATIONRESULT_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_MODIFYSECURITYGROUPCONFIGURATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace R_kvstore
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT ModifySecurityGroupConfigurationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifySecurityGroupConfigurationResult();
|
||||
explicit ModifySecurityGroupConfigurationResult(const std::string &payload);
|
||||
~ModifySecurityGroupConfigurationResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_MODIFYSECURITYGROUPCONFIGURATIONRESULT_H_
|
||||
@@ -31,21 +31,21 @@ R_kvstoreClient::R_kvstoreClient(const Credentials &credentials, const ClientCon
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "redisa");
|
||||
}
|
||||
|
||||
R_kvstoreClient::R_kvstoreClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "redisa");
|
||||
}
|
||||
|
||||
R_kvstoreClient::R_kvstoreClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "redisa");
|
||||
}
|
||||
|
||||
R_kvstoreClient::~R_kvstoreClient()
|
||||
@@ -1239,6 +1239,42 @@ R_kvstoreClient::DescribeRunningLogRecordsOutcomeCallable R_kvstoreClient::descr
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
R_kvstoreClient::DescribeSecurityGroupConfigurationOutcome R_kvstoreClient::describeSecurityGroupConfiguration(const DescribeSecurityGroupConfigurationRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeSecurityGroupConfigurationOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeSecurityGroupConfigurationOutcome(DescribeSecurityGroupConfigurationResult(outcome.result()));
|
||||
else
|
||||
return DescribeSecurityGroupConfigurationOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void R_kvstoreClient::describeSecurityGroupConfigurationAsync(const DescribeSecurityGroupConfigurationRequest& request, const DescribeSecurityGroupConfigurationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeSecurityGroupConfiguration(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
R_kvstoreClient::DescribeSecurityGroupConfigurationOutcomeCallable R_kvstoreClient::describeSecurityGroupConfigurationCallable(const DescribeSecurityGroupConfigurationRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeSecurityGroupConfigurationOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeSecurityGroupConfiguration(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
R_kvstoreClient::DescribeSecurityIpsOutcome R_kvstoreClient::describeSecurityIps(const DescribeSecurityIpsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2211,6 +2247,42 @@ R_kvstoreClient::ModifyIntranetAttributeOutcomeCallable R_kvstoreClient::modifyI
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
R_kvstoreClient::ModifySecurityGroupConfigurationOutcome R_kvstoreClient::modifySecurityGroupConfiguration(const ModifySecurityGroupConfigurationRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifySecurityGroupConfigurationOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifySecurityGroupConfigurationOutcome(ModifySecurityGroupConfigurationResult(outcome.result()));
|
||||
else
|
||||
return ModifySecurityGroupConfigurationOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void R_kvstoreClient::modifySecurityGroupConfigurationAsync(const ModifySecurityGroupConfigurationRequest& request, const ModifySecurityGroupConfigurationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifySecurityGroupConfiguration(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
R_kvstoreClient::ModifySecurityGroupConfigurationOutcomeCallable R_kvstoreClient::modifySecurityGroupConfigurationCallable(const ModifySecurityGroupConfigurationRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifySecurityGroupConfigurationOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifySecurityGroupConfiguration(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
R_kvstoreClient::ModifySecurityIpsOutcome R_kvstoreClient::modifySecurityIps(const ModifySecurityIpsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -93,6 +93,28 @@ void DescribeHistoryMonitorValuesRequest::setNodeId(const std::string& nodeId)
|
||||
setParameter("NodeId", nodeId);
|
||||
}
|
||||
|
||||
std::string DescribeHistoryMonitorValuesRequest::getAccessType()const
|
||||
{
|
||||
return accessType_;
|
||||
}
|
||||
|
||||
void DescribeHistoryMonitorValuesRequest::setAccessType(const std::string& accessType)
|
||||
{
|
||||
accessType_ = accessType;
|
||||
setParameter("AccessType", accessType);
|
||||
}
|
||||
|
||||
std::string DescribeHistoryMonitorValuesRequest::getProduct()const
|
||||
{
|
||||
return product_;
|
||||
}
|
||||
|
||||
void DescribeHistoryMonitorValuesRequest::setProduct(const std::string& product)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
}
|
||||
|
||||
std::string DescribeHistoryMonitorValuesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -148,6 +170,17 @@ void DescribeHistoryMonitorValuesRequest::setInstanceId(const std::string& insta
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string DescribeHistoryMonitorValuesRequest::getCategory()const
|
||||
{
|
||||
return category_;
|
||||
}
|
||||
|
||||
void DescribeHistoryMonitorValuesRequest::setCategory(const std::string& category)
|
||||
{
|
||||
category_ = category;
|
||||
setParameter("Category", category);
|
||||
}
|
||||
|
||||
std::string DescribeHistoryMonitorValuesRequest::getMonitorKeys()const
|
||||
{
|
||||
return monitorKeys_;
|
||||
|
||||
@@ -148,3 +148,14 @@ void DescribeInstanceAutoRenewalAttributeRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeInstanceAutoRenewalAttributeRequest::getCategory()const
|
||||
{
|
||||
return category_;
|
||||
}
|
||||
|
||||
void DescribeInstanceAutoRenewalAttributeRequest::setCategory(const std::string& category)
|
||||
{
|
||||
category_ = category;
|
||||
setParameter("Category", category);
|
||||
}
|
||||
|
||||
|
||||
106
r-kvstore/src/model/DescribeSecurityGroupConfigurationRequest.cc
Normal file
106
r-kvstore/src/model/DescribeSecurityGroupConfigurationRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/r-kvstore/model/DescribeSecurityGroupConfigurationRequest.h>
|
||||
|
||||
using AlibabaCloud::R_kvstore::Model::DescribeSecurityGroupConfigurationRequest;
|
||||
|
||||
DescribeSecurityGroupConfigurationRequest::DescribeSecurityGroupConfigurationRequest() :
|
||||
RpcServiceRequest("r-kvstore", "2015-01-01", "DescribeSecurityGroupConfiguration")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeSecurityGroupConfigurationRequest::~DescribeSecurityGroupConfigurationRequest()
|
||||
{}
|
||||
|
||||
long DescribeSecurityGroupConfigurationRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupConfigurationRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeSecurityGroupConfigurationRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupConfigurationRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeSecurityGroupConfigurationRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupConfigurationRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeSecurityGroupConfigurationRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupConfigurationRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeSecurityGroupConfigurationRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupConfigurationRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeSecurityGroupConfigurationRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupConfigurationRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeSecurityGroupConfigurationRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void DescribeSecurityGroupConfigurationRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/r-kvstore/model/DescribeSecurityGroupConfigurationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::R_kvstore;
|
||||
using namespace AlibabaCloud::R_kvstore::Model;
|
||||
|
||||
DescribeSecurityGroupConfigurationResult::DescribeSecurityGroupConfigurationResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeSecurityGroupConfigurationResult::DescribeSecurityGroupConfigurationResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeSecurityGroupConfigurationResult::~DescribeSecurityGroupConfigurationResult()
|
||||
{}
|
||||
|
||||
void DescribeSecurityGroupConfigurationResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["EcsSecurityGroupRelation"];
|
||||
for (auto valueItemsEcsSecurityGroupRelation : allItemsNode)
|
||||
{
|
||||
EcsSecurityGroupRelation itemsObject;
|
||||
if(!valueItemsEcsSecurityGroupRelation["RegionId"].isNull())
|
||||
itemsObject.regionId = valueItemsEcsSecurityGroupRelation["RegionId"].asString();
|
||||
if(!valueItemsEcsSecurityGroupRelation["SecurityGroupId"].isNull())
|
||||
itemsObject.securityGroupId = valueItemsEcsSecurityGroupRelation["SecurityGroupId"].asString();
|
||||
if(!valueItemsEcsSecurityGroupRelation["NetType"].isNull())
|
||||
itemsObject.netType = valueItemsEcsSecurityGroupRelation["NetType"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeSecurityGroupConfigurationResult::EcsSecurityGroupRelation> DescribeSecurityGroupConfigurationResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
117
r-kvstore/src/model/ModifySecurityGroupConfigurationRequest.cc
Normal file
117
r-kvstore/src/model/ModifySecurityGroupConfigurationRequest.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/r-kvstore/model/ModifySecurityGroupConfigurationRequest.h>
|
||||
|
||||
using AlibabaCloud::R_kvstore::Model::ModifySecurityGroupConfigurationRequest;
|
||||
|
||||
ModifySecurityGroupConfigurationRequest::ModifySecurityGroupConfigurationRequest() :
|
||||
RpcServiceRequest("r-kvstore", "2015-01-01", "ModifySecurityGroupConfiguration")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifySecurityGroupConfigurationRequest::~ModifySecurityGroupConfigurationRequest()
|
||||
{}
|
||||
|
||||
long ModifySecurityGroupConfigurationRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ModifySecurityGroupConfigurationRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifySecurityGroupConfigurationRequest::getSecurityGroupId()const
|
||||
{
|
||||
return securityGroupId_;
|
||||
}
|
||||
|
||||
void ModifySecurityGroupConfigurationRequest::setSecurityGroupId(const std::string& securityGroupId)
|
||||
{
|
||||
securityGroupId_ = securityGroupId;
|
||||
setParameter("SecurityGroupId", securityGroupId);
|
||||
}
|
||||
|
||||
std::string ModifySecurityGroupConfigurationRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifySecurityGroupConfigurationRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifySecurityGroupConfigurationRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void ModifySecurityGroupConfigurationRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string ModifySecurityGroupConfigurationRequest::getDBInstanceId()const
|
||||
{
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
void ModifySecurityGroupConfigurationRequest::setDBInstanceId(const std::string& dBInstanceId)
|
||||
{
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter("DBInstanceId", dBInstanceId);
|
||||
}
|
||||
|
||||
std::string ModifySecurityGroupConfigurationRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifySecurityGroupConfigurationRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifySecurityGroupConfigurationRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ModifySecurityGroupConfigurationRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long ModifySecurityGroupConfigurationRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ModifySecurityGroupConfigurationRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -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/r-kvstore/model/ModifySecurityGroupConfigurationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::R_kvstore;
|
||||
using namespace AlibabaCloud::R_kvstore::Model;
|
||||
|
||||
ModifySecurityGroupConfigurationResult::ModifySecurityGroupConfigurationResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifySecurityGroupConfigurationResult::ModifySecurityGroupConfigurationResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifySecurityGroupConfigurationResult::~ModifySecurityGroupConfigurationResult()
|
||||
{}
|
||||
|
||||
void ModifySecurityGroupConfigurationResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user