Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d63c8b343d |
@@ -1,3 +1,6 @@
|
||||
2021-06-24 Version: 1.36.798
|
||||
- Create Lindorm Open api.
|
||||
|
||||
2021-06-24 Version: 1.36.797
|
||||
- Update QueryBillOverview, QuerySettleBill, QueryAccountBill, DescribeInstanceBill and support trusteeship bill query.
|
||||
|
||||
|
||||
@@ -21,61 +21,21 @@ set(hitsdb_public_header
|
||||
include/alibabacloud/hitsdb/HitsdbExport.h )
|
||||
|
||||
set(hitsdb_public_header_model
|
||||
include/alibabacloud/hitsdb/model/CreateHiTSDBInstanceRequest.h
|
||||
include/alibabacloud/hitsdb/model/CreateHiTSDBInstanceResult.h
|
||||
include/alibabacloud/hitsdb/model/DeleteHiTSDBInstanceRequest.h
|
||||
include/alibabacloud/hitsdb/model/DeleteHiTSDBInstanceResult.h
|
||||
include/alibabacloud/hitsdb/model/DescribeHiTSDBInstanceRequest.h
|
||||
include/alibabacloud/hitsdb/model/DescribeHiTSDBInstanceResult.h
|
||||
include/alibabacloud/hitsdb/model/DescribeHiTSDBInstanceListRequest.h
|
||||
include/alibabacloud/hitsdb/model/DescribeHiTSDBInstanceListResult.h
|
||||
include/alibabacloud/hitsdb/model/DescribeHiTSDBInstanceSecurityIpListRequest.h
|
||||
include/alibabacloud/hitsdb/model/DescribeHiTSDBInstanceSecurityIpListResult.h
|
||||
include/alibabacloud/hitsdb/model/DescribeRegionsRequest.h
|
||||
include/alibabacloud/hitsdb/model/DescribeRegionsResult.h
|
||||
include/alibabacloud/hitsdb/model/DescribeZonesRequest.h
|
||||
include/alibabacloud/hitsdb/model/DescribeZonesResult.h
|
||||
include/alibabacloud/hitsdb/model/ModifyHiTSDBInstanceClassRequest.h
|
||||
include/alibabacloud/hitsdb/model/ModifyHiTSDBInstanceClassResult.h
|
||||
include/alibabacloud/hitsdb/model/ModifyHiTSDBInstanceSecurityIpListRequest.h
|
||||
include/alibabacloud/hitsdb/model/ModifyHiTSDBInstanceSecurityIpListResult.h
|
||||
include/alibabacloud/hitsdb/model/RenameHiTSDBInstanceAliasRequest.h
|
||||
include/alibabacloud/hitsdb/model/RenameHiTSDBInstanceAliasResult.h
|
||||
include/alibabacloud/hitsdb/model/RenewTSDBInstanceRequest.h
|
||||
include/alibabacloud/hitsdb/model/RenewTSDBInstanceResult.h
|
||||
include/alibabacloud/hitsdb/model/RestartHiTSDBInstanceRequest.h
|
||||
include/alibabacloud/hitsdb/model/RestartHiTSDBInstanceResult.h
|
||||
include/alibabacloud/hitsdb/model/SwitchHiTSDBInstancePublicNetRequest.h
|
||||
include/alibabacloud/hitsdb/model/SwitchHiTSDBInstancePublicNetResult.h )
|
||||
include/alibabacloud/hitsdb/model/GetLindormInstanceRequest.h
|
||||
include/alibabacloud/hitsdb/model/GetLindormInstanceResult.h
|
||||
include/alibabacloud/hitsdb/model/GetLindormInstanceListRequest.h
|
||||
include/alibabacloud/hitsdb/model/GetLindormInstanceListResult.h )
|
||||
|
||||
set(hitsdb_src
|
||||
src/HitsdbClient.cc
|
||||
src/model/CreateHiTSDBInstanceRequest.cc
|
||||
src/model/CreateHiTSDBInstanceResult.cc
|
||||
src/model/DeleteHiTSDBInstanceRequest.cc
|
||||
src/model/DeleteHiTSDBInstanceResult.cc
|
||||
src/model/DescribeHiTSDBInstanceRequest.cc
|
||||
src/model/DescribeHiTSDBInstanceResult.cc
|
||||
src/model/DescribeHiTSDBInstanceListRequest.cc
|
||||
src/model/DescribeHiTSDBInstanceListResult.cc
|
||||
src/model/DescribeHiTSDBInstanceSecurityIpListRequest.cc
|
||||
src/model/DescribeHiTSDBInstanceSecurityIpListResult.cc
|
||||
src/model/DescribeRegionsRequest.cc
|
||||
src/model/DescribeRegionsResult.cc
|
||||
src/model/DescribeZonesRequest.cc
|
||||
src/model/DescribeZonesResult.cc
|
||||
src/model/ModifyHiTSDBInstanceClassRequest.cc
|
||||
src/model/ModifyHiTSDBInstanceClassResult.cc
|
||||
src/model/ModifyHiTSDBInstanceSecurityIpListRequest.cc
|
||||
src/model/ModifyHiTSDBInstanceSecurityIpListResult.cc
|
||||
src/model/RenameHiTSDBInstanceAliasRequest.cc
|
||||
src/model/RenameHiTSDBInstanceAliasResult.cc
|
||||
src/model/RenewTSDBInstanceRequest.cc
|
||||
src/model/RenewTSDBInstanceResult.cc
|
||||
src/model/RestartHiTSDBInstanceRequest.cc
|
||||
src/model/RestartHiTSDBInstanceResult.cc
|
||||
src/model/SwitchHiTSDBInstancePublicNetRequest.cc
|
||||
src/model/SwitchHiTSDBInstancePublicNetResult.cc )
|
||||
src/model/GetLindormInstanceRequest.cc
|
||||
src/model/GetLindormInstanceResult.cc
|
||||
src/model/GetLindormInstanceListRequest.cc
|
||||
src/model/GetLindormInstanceListResult.cc )
|
||||
|
||||
add_library(hitsdb ${LIB_TYPE}
|
||||
${hitsdb_public_header}
|
||||
|
||||
@@ -22,32 +22,12 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "HitsdbExport.h"
|
||||
#include "model/CreateHiTSDBInstanceRequest.h"
|
||||
#include "model/CreateHiTSDBInstanceResult.h"
|
||||
#include "model/DeleteHiTSDBInstanceRequest.h"
|
||||
#include "model/DeleteHiTSDBInstanceResult.h"
|
||||
#include "model/DescribeHiTSDBInstanceRequest.h"
|
||||
#include "model/DescribeHiTSDBInstanceResult.h"
|
||||
#include "model/DescribeHiTSDBInstanceListRequest.h"
|
||||
#include "model/DescribeHiTSDBInstanceListResult.h"
|
||||
#include "model/DescribeHiTSDBInstanceSecurityIpListRequest.h"
|
||||
#include "model/DescribeHiTSDBInstanceSecurityIpListResult.h"
|
||||
#include "model/DescribeRegionsRequest.h"
|
||||
#include "model/DescribeRegionsResult.h"
|
||||
#include "model/DescribeZonesRequest.h"
|
||||
#include "model/DescribeZonesResult.h"
|
||||
#include "model/ModifyHiTSDBInstanceClassRequest.h"
|
||||
#include "model/ModifyHiTSDBInstanceClassResult.h"
|
||||
#include "model/ModifyHiTSDBInstanceSecurityIpListRequest.h"
|
||||
#include "model/ModifyHiTSDBInstanceSecurityIpListResult.h"
|
||||
#include "model/RenameHiTSDBInstanceAliasRequest.h"
|
||||
#include "model/RenameHiTSDBInstanceAliasResult.h"
|
||||
#include "model/RenewTSDBInstanceRequest.h"
|
||||
#include "model/RenewTSDBInstanceResult.h"
|
||||
#include "model/RestartHiTSDBInstanceRequest.h"
|
||||
#include "model/RestartHiTSDBInstanceResult.h"
|
||||
#include "model/SwitchHiTSDBInstancePublicNetRequest.h"
|
||||
#include "model/SwitchHiTSDBInstancePublicNetResult.h"
|
||||
#include "model/GetLindormInstanceRequest.h"
|
||||
#include "model/GetLindormInstanceResult.h"
|
||||
#include "model/GetLindormInstanceListRequest.h"
|
||||
#include "model/GetLindormInstanceListResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -57,89 +37,29 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_HITSDB_EXPORT HitsdbClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::CreateHiTSDBInstanceResult> CreateHiTSDBInstanceOutcome;
|
||||
typedef std::future<CreateHiTSDBInstanceOutcome> CreateHiTSDBInstanceOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::CreateHiTSDBInstanceRequest&, const CreateHiTSDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateHiTSDBInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteHiTSDBInstanceResult> DeleteHiTSDBInstanceOutcome;
|
||||
typedef std::future<DeleteHiTSDBInstanceOutcome> DeleteHiTSDBInstanceOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::DeleteHiTSDBInstanceRequest&, const DeleteHiTSDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteHiTSDBInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeHiTSDBInstanceResult> DescribeHiTSDBInstanceOutcome;
|
||||
typedef std::future<DescribeHiTSDBInstanceOutcome> DescribeHiTSDBInstanceOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::DescribeHiTSDBInstanceRequest&, const DescribeHiTSDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeHiTSDBInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeHiTSDBInstanceListResult> DescribeHiTSDBInstanceListOutcome;
|
||||
typedef std::future<DescribeHiTSDBInstanceListOutcome> DescribeHiTSDBInstanceListOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::DescribeHiTSDBInstanceListRequest&, const DescribeHiTSDBInstanceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeHiTSDBInstanceListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeHiTSDBInstanceSecurityIpListResult> DescribeHiTSDBInstanceSecurityIpListOutcome;
|
||||
typedef std::future<DescribeHiTSDBInstanceSecurityIpListOutcome> DescribeHiTSDBInstanceSecurityIpListOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::DescribeHiTSDBInstanceSecurityIpListRequest&, const DescribeHiTSDBInstanceSecurityIpListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeHiTSDBInstanceSecurityIpListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome;
|
||||
typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeZonesResult> DescribeZonesOutcome;
|
||||
typedef std::future<DescribeZonesOutcome> DescribeZonesOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::DescribeZonesRequest&, const DescribeZonesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeZonesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyHiTSDBInstanceClassResult> ModifyHiTSDBInstanceClassOutcome;
|
||||
typedef std::future<ModifyHiTSDBInstanceClassOutcome> ModifyHiTSDBInstanceClassOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::ModifyHiTSDBInstanceClassRequest&, const ModifyHiTSDBInstanceClassOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyHiTSDBInstanceClassAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyHiTSDBInstanceSecurityIpListResult> ModifyHiTSDBInstanceSecurityIpListOutcome;
|
||||
typedef std::future<ModifyHiTSDBInstanceSecurityIpListOutcome> ModifyHiTSDBInstanceSecurityIpListOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::ModifyHiTSDBInstanceSecurityIpListRequest&, const ModifyHiTSDBInstanceSecurityIpListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyHiTSDBInstanceSecurityIpListAsyncHandler;
|
||||
typedef Outcome<Error, Model::RenameHiTSDBInstanceAliasResult> RenameHiTSDBInstanceAliasOutcome;
|
||||
typedef std::future<RenameHiTSDBInstanceAliasOutcome> RenameHiTSDBInstanceAliasOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::RenameHiTSDBInstanceAliasRequest&, const RenameHiTSDBInstanceAliasOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenameHiTSDBInstanceAliasAsyncHandler;
|
||||
typedef Outcome<Error, Model::RenewTSDBInstanceResult> RenewTSDBInstanceOutcome;
|
||||
typedef std::future<RenewTSDBInstanceOutcome> RenewTSDBInstanceOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::RenewTSDBInstanceRequest&, const RenewTSDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewTSDBInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::RestartHiTSDBInstanceResult> RestartHiTSDBInstanceOutcome;
|
||||
typedef std::future<RestartHiTSDBInstanceOutcome> RestartHiTSDBInstanceOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::RestartHiTSDBInstanceRequest&, const RestartHiTSDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestartHiTSDBInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::SwitchHiTSDBInstancePublicNetResult> SwitchHiTSDBInstancePublicNetOutcome;
|
||||
typedef std::future<SwitchHiTSDBInstancePublicNetOutcome> SwitchHiTSDBInstancePublicNetOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::SwitchHiTSDBInstancePublicNetRequest&, const SwitchHiTSDBInstancePublicNetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SwitchHiTSDBInstancePublicNetAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetLindormInstanceResult> GetLindormInstanceOutcome;
|
||||
typedef std::future<GetLindormInstanceOutcome> GetLindormInstanceOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::GetLindormInstanceRequest&, const GetLindormInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLindormInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetLindormInstanceListResult> GetLindormInstanceListOutcome;
|
||||
typedef std::future<GetLindormInstanceListOutcome> GetLindormInstanceListOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::GetLindormInstanceListRequest&, const GetLindormInstanceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLindormInstanceListAsyncHandler;
|
||||
|
||||
HitsdbClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
HitsdbClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
HitsdbClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~HitsdbClient();
|
||||
CreateHiTSDBInstanceOutcome createHiTSDBInstance(const Model::CreateHiTSDBInstanceRequest &request)const;
|
||||
void createHiTSDBInstanceAsync(const Model::CreateHiTSDBInstanceRequest& request, const CreateHiTSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateHiTSDBInstanceOutcomeCallable createHiTSDBInstanceCallable(const Model::CreateHiTSDBInstanceRequest& request) const;
|
||||
DeleteHiTSDBInstanceOutcome deleteHiTSDBInstance(const Model::DeleteHiTSDBInstanceRequest &request)const;
|
||||
void deleteHiTSDBInstanceAsync(const Model::DeleteHiTSDBInstanceRequest& request, const DeleteHiTSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteHiTSDBInstanceOutcomeCallable deleteHiTSDBInstanceCallable(const Model::DeleteHiTSDBInstanceRequest& request) const;
|
||||
DescribeHiTSDBInstanceOutcome describeHiTSDBInstance(const Model::DescribeHiTSDBInstanceRequest &request)const;
|
||||
void describeHiTSDBInstanceAsync(const Model::DescribeHiTSDBInstanceRequest& request, const DescribeHiTSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeHiTSDBInstanceOutcomeCallable describeHiTSDBInstanceCallable(const Model::DescribeHiTSDBInstanceRequest& request) const;
|
||||
DescribeHiTSDBInstanceListOutcome describeHiTSDBInstanceList(const Model::DescribeHiTSDBInstanceListRequest &request)const;
|
||||
void describeHiTSDBInstanceListAsync(const Model::DescribeHiTSDBInstanceListRequest& request, const DescribeHiTSDBInstanceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeHiTSDBInstanceListOutcomeCallable describeHiTSDBInstanceListCallable(const Model::DescribeHiTSDBInstanceListRequest& request) const;
|
||||
DescribeHiTSDBInstanceSecurityIpListOutcome describeHiTSDBInstanceSecurityIpList(const Model::DescribeHiTSDBInstanceSecurityIpListRequest &request)const;
|
||||
void describeHiTSDBInstanceSecurityIpListAsync(const Model::DescribeHiTSDBInstanceSecurityIpListRequest& request, const DescribeHiTSDBInstanceSecurityIpListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeHiTSDBInstanceSecurityIpListOutcomeCallable describeHiTSDBInstanceSecurityIpListCallable(const Model::DescribeHiTSDBInstanceSecurityIpListRequest& request) const;
|
||||
DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const;
|
||||
void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRegionsOutcomeCallable describeRegionsCallable(const Model::DescribeRegionsRequest& request) const;
|
||||
DescribeZonesOutcome describeZones(const Model::DescribeZonesRequest &request)const;
|
||||
void describeZonesAsync(const Model::DescribeZonesRequest& request, const DescribeZonesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeZonesOutcomeCallable describeZonesCallable(const Model::DescribeZonesRequest& request) const;
|
||||
ModifyHiTSDBInstanceClassOutcome modifyHiTSDBInstanceClass(const Model::ModifyHiTSDBInstanceClassRequest &request)const;
|
||||
void modifyHiTSDBInstanceClassAsync(const Model::ModifyHiTSDBInstanceClassRequest& request, const ModifyHiTSDBInstanceClassAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyHiTSDBInstanceClassOutcomeCallable modifyHiTSDBInstanceClassCallable(const Model::ModifyHiTSDBInstanceClassRequest& request) const;
|
||||
ModifyHiTSDBInstanceSecurityIpListOutcome modifyHiTSDBInstanceSecurityIpList(const Model::ModifyHiTSDBInstanceSecurityIpListRequest &request)const;
|
||||
void modifyHiTSDBInstanceSecurityIpListAsync(const Model::ModifyHiTSDBInstanceSecurityIpListRequest& request, const ModifyHiTSDBInstanceSecurityIpListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyHiTSDBInstanceSecurityIpListOutcomeCallable modifyHiTSDBInstanceSecurityIpListCallable(const Model::ModifyHiTSDBInstanceSecurityIpListRequest& request) const;
|
||||
RenameHiTSDBInstanceAliasOutcome renameHiTSDBInstanceAlias(const Model::RenameHiTSDBInstanceAliasRequest &request)const;
|
||||
void renameHiTSDBInstanceAliasAsync(const Model::RenameHiTSDBInstanceAliasRequest& request, const RenameHiTSDBInstanceAliasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RenameHiTSDBInstanceAliasOutcomeCallable renameHiTSDBInstanceAliasCallable(const Model::RenameHiTSDBInstanceAliasRequest& request) const;
|
||||
RenewTSDBInstanceOutcome renewTSDBInstance(const Model::RenewTSDBInstanceRequest &request)const;
|
||||
void renewTSDBInstanceAsync(const Model::RenewTSDBInstanceRequest& request, const RenewTSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RenewTSDBInstanceOutcomeCallable renewTSDBInstanceCallable(const Model::RenewTSDBInstanceRequest& request) const;
|
||||
RestartHiTSDBInstanceOutcome restartHiTSDBInstance(const Model::RestartHiTSDBInstanceRequest &request)const;
|
||||
void restartHiTSDBInstanceAsync(const Model::RestartHiTSDBInstanceRequest& request, const RestartHiTSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RestartHiTSDBInstanceOutcomeCallable restartHiTSDBInstanceCallable(const Model::RestartHiTSDBInstanceRequest& request) const;
|
||||
SwitchHiTSDBInstancePublicNetOutcome switchHiTSDBInstancePublicNet(const Model::SwitchHiTSDBInstancePublicNetRequest &request)const;
|
||||
void switchHiTSDBInstancePublicNetAsync(const Model::SwitchHiTSDBInstancePublicNetRequest& request, const SwitchHiTSDBInstancePublicNetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SwitchHiTSDBInstancePublicNetOutcomeCallable switchHiTSDBInstancePublicNetCallable(const Model::SwitchHiTSDBInstancePublicNetRequest& request) const;
|
||||
GetLindormInstanceOutcome getLindormInstance(const Model::GetLindormInstanceRequest &request)const;
|
||||
void getLindormInstanceAsync(const Model::GetLindormInstanceRequest& request, const GetLindormInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetLindormInstanceOutcomeCallable getLindormInstanceCallable(const Model::GetLindormInstanceRequest& request) const;
|
||||
GetLindormInstanceListOutcome getLindormInstanceList(const Model::GetLindormInstanceListRequest &request)const;
|
||||
void getLindormInstanceListAsync(const Model::GetLindormInstanceListRequest& request, const GetLindormInstanceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetLindormInstanceListOutcomeCallable getLindormInstanceListCallable(const Model::GetLindormInstanceListRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -1,123 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_CREATEHITSDBINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_CREATEHITSDBINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT CreateHiTSDBInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateHiTSDBInstanceRequest();
|
||||
~CreateHiTSDBInstanceRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getInstanceClass()const;
|
||||
void setInstanceClass(const std::string& instanceClass);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDuration()const;
|
||||
void setDuration(const std::string& duration);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getMaxSeriesPerDatabase()const;
|
||||
void setMaxSeriesPerDatabase(const std::string& maxSeriesPerDatabase);
|
||||
std::string getDiskCategory()const;
|
||||
void setDiskCategory(const std::string& diskCategory);
|
||||
std::string getMaxTimelineLimit()const;
|
||||
void setMaxTimelineLimit(const std::string& maxTimelineLimit);
|
||||
std::string getInstanceStorage()const;
|
||||
void setInstanceStorage(const std::string& instanceStorage);
|
||||
std::string getEngineType()const;
|
||||
void setEngineType(const std::string& engineType);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getInstanceAlias()const;
|
||||
void setInstanceAlias(const std::string& instanceAlias);
|
||||
std::string getMaxDatabaseLimit()const;
|
||||
void setMaxDatabaseLimit(const std::string& maxDatabaseLimit);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVSwitchId()const;
|
||||
void setVSwitchId(const std::string& vSwitchId);
|
||||
std::string getInstanceName()const;
|
||||
void setInstanceName(const std::string& instanceName);
|
||||
std::string getInstanceTps()const;
|
||||
void setInstanceTps(const std::string& instanceTps);
|
||||
std::string getVPCId()const;
|
||||
void setVPCId(const std::string& vPCId);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
std::string getTSDBVersion()const;
|
||||
void setTSDBVersion(const std::string& tSDBVersion);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
std::string getPayType()const;
|
||||
void setPayType(const std::string& payType);
|
||||
std::string getPricingCycle()const;
|
||||
void setPricingCycle(const std::string& pricingCycle);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string instanceClass_;
|
||||
std::string accessKeyId_;
|
||||
std::string duration_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string maxSeriesPerDatabase_;
|
||||
std::string diskCategory_;
|
||||
std::string maxTimelineLimit_;
|
||||
std::string instanceStorage_;
|
||||
std::string engineType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string instanceAlias_;
|
||||
std::string maxDatabaseLimit_;
|
||||
long ownerId_;
|
||||
std::string vSwitchId_;
|
||||
std::string instanceName_;
|
||||
std::string instanceTps_;
|
||||
std::string vPCId_;
|
||||
std::string zoneId_;
|
||||
std::string tSDBVersion_;
|
||||
std::string appKey_;
|
||||
std::string payType_;
|
||||
std::string pricingCycle_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_CREATEHITSDBINSTANCEREQUEST_H_
|
||||
@@ -1,53 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_CREATEHITSDBINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_CREATEHITSDBINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT CreateHiTSDBInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateHiTSDBInstanceResult();
|
||||
explicit CreateHiTSDBInstanceResult(const std::string &payload);
|
||||
~CreateHiTSDBInstanceResult();
|
||||
std::string getInstanceId()const;
|
||||
long getOrderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string instanceId_;
|
||||
long orderId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_CREATEHITSDBINSTANCERESULT_H_
|
||||
@@ -1,69 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_DELETEHITSDBINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_DELETEHITSDBINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT DeleteHiTSDBInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteHiTSDBInstanceRequest();
|
||||
~DeleteHiTSDBInstanceRequest();
|
||||
|
||||
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);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
std::string appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DELETEHITSDBINSTANCEREQUEST_H_
|
||||
@@ -1,49 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_DELETEHITSDBINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_DELETEHITSDBINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT DeleteHiTSDBInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteHiTSDBInstanceResult();
|
||||
explicit DeleteHiTSDBInstanceResult(const std::string &payload);
|
||||
~DeleteHiTSDBInstanceResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DELETEHITSDBINSTANCERESULT_H_
|
||||
@@ -1,69 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT DescribeHiTSDBInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeHiTSDBInstanceRequest();
|
||||
~DescribeHiTSDBInstanceRequest();
|
||||
|
||||
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);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
std::string appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCEREQUEST_H_
|
||||
@@ -1,117 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT DescribeHiTSDBInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SecurityIp
|
||||
{
|
||||
std::string ip;
|
||||
};
|
||||
|
||||
|
||||
DescribeHiTSDBInstanceResult();
|
||||
explicit DescribeHiTSDBInstanceResult(const std::string &payload);
|
||||
~DescribeHiTSDBInstanceResult();
|
||||
std::string getAutoRenew()const;
|
||||
std::string getGmtCreated()const;
|
||||
std::string getCpuNumber()const;
|
||||
std::string getInstanceAlias()const;
|
||||
std::string getInstanceStatus()const;
|
||||
std::string getNetworkType()const;
|
||||
std::string getGmtExpire()const;
|
||||
std::string getMemSize()const;
|
||||
long getExpiredTime()const;
|
||||
std::string getMaxTimelineLimit()const;
|
||||
std::string getReverseVpcPort()const;
|
||||
std::string getPaymentType()const;
|
||||
std::string getPublicConnectionString()const;
|
||||
std::string getEngineType()const;
|
||||
std::string getInstanceTps()const;
|
||||
std::string getRDSStatus()const;
|
||||
std::string getStatus()const;
|
||||
std::string getInstanceStorage()const;
|
||||
std::string getZoneId()const;
|
||||
std::string getInstanceId()const;
|
||||
long getCreateTime()const;
|
||||
std::string getDiskCategory()const;
|
||||
std::string getInstanceClass()const;
|
||||
std::string getVswitchId()const;
|
||||
int getSeries()const;
|
||||
std::string getVpcId()const;
|
||||
std::vector<SecurityIp> getSecurityIpList()const;
|
||||
std::string getChargeType()const;
|
||||
std::string getReverseVpcIp()const;
|
||||
std::string getInstanceDescription()const;
|
||||
std::string getRegionId()const;
|
||||
std::string getConnectionString()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string autoRenew_;
|
||||
std::string gmtCreated_;
|
||||
std::string cpuNumber_;
|
||||
std::string instanceAlias_;
|
||||
std::string instanceStatus_;
|
||||
std::string networkType_;
|
||||
std::string gmtExpire_;
|
||||
std::string memSize_;
|
||||
long expiredTime_;
|
||||
std::string maxTimelineLimit_;
|
||||
std::string reverseVpcPort_;
|
||||
std::string paymentType_;
|
||||
std::string publicConnectionString_;
|
||||
std::string engineType_;
|
||||
std::string instanceTps_;
|
||||
std::string rDSStatus_;
|
||||
std::string status_;
|
||||
std::string instanceStorage_;
|
||||
std::string zoneId_;
|
||||
std::string instanceId_;
|
||||
long createTime_;
|
||||
std::string diskCategory_;
|
||||
std::string instanceClass_;
|
||||
std::string vswitchId_;
|
||||
int series_;
|
||||
std::string vpcId_;
|
||||
std::vector<SecurityIp> securityIpList_;
|
||||
std::string chargeType_;
|
||||
std::string reverseVpcIp_;
|
||||
std::string instanceDescription_;
|
||||
std::string regionId_;
|
||||
std::string connectionString_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCERESULT_H_
|
||||
@@ -1,69 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCESECURITYIPLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCESECURITYIPLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT DescribeHiTSDBInstanceSecurityIpListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeHiTSDBInstanceSecurityIpListRequest();
|
||||
~DescribeHiTSDBInstanceSecurityIpListRequest();
|
||||
|
||||
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 getGroupName()const;
|
||||
void setGroupName(const std::string& groupName);
|
||||
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 groupName_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCESECURITYIPLISTREQUEST_H_
|
||||
@@ -1,55 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCESECURITYIPLISTRESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCESECURITYIPLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT DescribeHiTSDBInstanceSecurityIpListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SecurityIp
|
||||
{
|
||||
std::string ip;
|
||||
};
|
||||
|
||||
|
||||
DescribeHiTSDBInstanceSecurityIpListResult();
|
||||
explicit DescribeHiTSDBInstanceSecurityIpListResult(const std::string &payload);
|
||||
~DescribeHiTSDBInstanceSecurityIpListResult();
|
||||
std::vector<SecurityIp> getSecurityIpList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<SecurityIp> securityIpList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCESECURITYIPLISTRESULT_H_
|
||||
@@ -1,66 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_DESCRIBEZONESREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_DESCRIBEZONESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT DescribeZonesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeZonesRequest();
|
||||
~DescribeZonesRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getLanguage()const;
|
||||
void setLanguage(const std::string& language);
|
||||
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);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string language_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DESCRIBEZONESREQUEST_H_
|
||||
@@ -1,56 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_DESCRIBEZONESRESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_DESCRIBEZONESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT DescribeZonesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ZoneModel
|
||||
{
|
||||
std::string zoneId;
|
||||
std::string localName;
|
||||
};
|
||||
|
||||
|
||||
DescribeZonesResult();
|
||||
explicit DescribeZonesResult(const std::string &payload);
|
||||
~DescribeZonesResult();
|
||||
std::vector<ZoneModel> getZoneList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ZoneModel> zoneList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DESCRIBEZONESRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCELISTREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,54 +28,54 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT DescribeHiTSDBInstanceListRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_HITSDB_EXPORT GetLindormInstanceListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeHiTSDBInstanceListRequest();
|
||||
~DescribeHiTSDBInstanceListRequest();
|
||||
GetLindormInstanceListRequest();
|
||||
~GetLindormInstanceListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getStatusList()const;
|
||||
void setStatusList(const std::string& statusList);
|
||||
int getSupportEngine()const;
|
||||
void setSupportEngine(int supportEngine);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getQueryStr()const;
|
||||
void setQueryStr(const std::string& queryStr);
|
||||
std::string getEngineType()const;
|
||||
void setEngineType(const std::string& engineType);
|
||||
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 getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
std::string getServiceType()const;
|
||||
void setServiceType(const std::string& serviceType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string statusList_;
|
||||
int supportEngine_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string queryStr_;
|
||||
std::string engineType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string appKey_;
|
||||
std::string serviceType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCELISTREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCELISTREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCELISTRESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCELISTRESULT_H_
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCELISTRESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,44 +29,37 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT DescribeHiTSDBInstanceListResult : public ServiceResult
|
||||
class ALIBABACLOUD_HITSDB_EXPORT GetLindormInstanceListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Instance
|
||||
struct LindormInstanceSummary
|
||||
{
|
||||
std::string status;
|
||||
long expiredMilliseconds;
|
||||
std::string instanceStorage;
|
||||
std::string zoneId;
|
||||
std::string instanceId;
|
||||
std::string maxSeriesPerDatabase;
|
||||
long createTime;
|
||||
std::string instanceClass;
|
||||
std::string gmtCreated;
|
||||
std::string lockMode;
|
||||
std::string vswitchId;
|
||||
std::string createTime;
|
||||
std::string payType;
|
||||
std::string vpcId;
|
||||
std::string instanceAlias;
|
||||
std::string userId;
|
||||
std::string instanceStatus;
|
||||
std::string chargeType;
|
||||
std::string networkType;
|
||||
std::string gmtExpire;
|
||||
long expiredTime;
|
||||
std::string paymentType;
|
||||
std::string instanceDescription;
|
||||
std::string serviceType;
|
||||
std::string engineType;
|
||||
std::string regionId;
|
||||
std::string instanceTps;
|
||||
std::string expireTime;
|
||||
long createMilliseconds;
|
||||
long aliUid;
|
||||
};
|
||||
|
||||
|
||||
DescribeHiTSDBInstanceListResult();
|
||||
explicit DescribeHiTSDBInstanceListResult(const std::string &payload);
|
||||
~DescribeHiTSDBInstanceListResult();
|
||||
GetLindormInstanceListResult();
|
||||
explicit GetLindormInstanceListResult(const std::string &payload);
|
||||
~GetLindormInstanceListResult();
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
int getTotal()const;
|
||||
std::vector<Instance> getInstanceList()const;
|
||||
std::vector<LindormInstanceSummary> getInstanceList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -74,10 +67,10 @@ namespace AlibabaCloud
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
int total_;
|
||||
std::vector<Instance> instanceList_;
|
||||
std::vector<LindormInstanceSummary> instanceList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCELISTRESULT_H_
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCELISTRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_RESTARTHITSDBINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_RESTARTHITSDBINSTANCEREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,12 +28,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT RestartHiTSDBInstanceRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_HITSDB_EXPORT GetLindormInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RestartHiTSDBInstanceRequest();
|
||||
~RestartHiTSDBInstanceRequest();
|
||||
GetLindormInstanceRequest();
|
||||
~GetLindormInstanceRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
@@ -54,6 +56,7 @@ namespace AlibabaCloud
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
@@ -63,4 +66,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_RESTARTHITSDBINSTANCEREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEREQUEST_H_
|
||||
@@ -0,0 +1,112 @@
|
||||
/*
|
||||
* 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_HITSDB_MODEL_GETLINDORMINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT GetLindormInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Engine
|
||||
{
|
||||
std::string memorySize;
|
||||
std::string cpuCount;
|
||||
std::string version;
|
||||
std::string engine;
|
||||
bool isLastVersion;
|
||||
std::string coreCount;
|
||||
};
|
||||
|
||||
|
||||
GetLindormInstanceResult();
|
||||
explicit GetLindormInstanceResult(const std::string &payload);
|
||||
~GetLindormInstanceResult();
|
||||
long getExpiredMilliseconds()const;
|
||||
std::vector<Engine> getEngineList()const;
|
||||
std::string getDiskThreshold()const;
|
||||
bool getEnableBDS()const;
|
||||
bool getAutoRenew()const;
|
||||
std::string getDiskUsage()const;
|
||||
bool getEnableFS()const;
|
||||
std::string getInstanceAlias()const;
|
||||
std::string getInstanceStatus()const;
|
||||
std::string getNetworkType()const;
|
||||
std::string getServiceType()const;
|
||||
int getEngineType()const;
|
||||
long getCreateMilliseconds()const;
|
||||
std::string getInstanceStorage()const;
|
||||
std::string getZoneId()const;
|
||||
std::string getInstanceId()const;
|
||||
std::string getCreateTime()const;
|
||||
int getColdStorage()const;
|
||||
std::string getDiskCategory()const;
|
||||
std::string getPayType()const;
|
||||
std::string getDeletionProtection()const;
|
||||
std::string getVswitchId()const;
|
||||
std::string getVpcId()const;
|
||||
bool getEnablePhoenix()const;
|
||||
std::string getRegionId()const;
|
||||
std::string getExpireTime()const;
|
||||
long getAliUid()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long expiredMilliseconds_;
|
||||
std::vector<Engine> engineList_;
|
||||
std::string diskThreshold_;
|
||||
bool enableBDS_;
|
||||
bool autoRenew_;
|
||||
std::string diskUsage_;
|
||||
bool enableFS_;
|
||||
std::string instanceAlias_;
|
||||
std::string instanceStatus_;
|
||||
std::string networkType_;
|
||||
std::string serviceType_;
|
||||
int engineType_;
|
||||
long createMilliseconds_;
|
||||
std::string instanceStorage_;
|
||||
std::string zoneId_;
|
||||
std::string instanceId_;
|
||||
std::string createTime_;
|
||||
int coldStorage_;
|
||||
std::string diskCategory_;
|
||||
std::string payType_;
|
||||
std::string deletionProtection_;
|
||||
std::string vswitchId_;
|
||||
std::string vpcId_;
|
||||
bool enablePhoenix_;
|
||||
std::string regionId_;
|
||||
std::string expireTime_;
|
||||
long aliUid_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCERESULT_H_
|
||||
@@ -1,75 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_MODIFYHITSDBINSTANCECLASSREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_MODIFYHITSDBINSTANCECLASSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT ModifyHiTSDBInstanceClassRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyHiTSDBInstanceClassRequest();
|
||||
~ModifyHiTSDBInstanceClassRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getInstanceClass()const;
|
||||
void setInstanceClass(const std::string& instanceClass);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getInstanceStorage()const;
|
||||
void setInstanceStorage(const std::string& instanceStorage);
|
||||
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);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string instanceClass_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string instanceStorage_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
std::string appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_MODIFYHITSDBINSTANCECLASSREQUEST_H_
|
||||
@@ -1,49 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_MODIFYHITSDBINSTANCECLASSRESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_MODIFYHITSDBINSTANCECLASSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT ModifyHiTSDBInstanceClassResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyHiTSDBInstanceClassResult();
|
||||
explicit ModifyHiTSDBInstanceClassResult(const std::string &payload);
|
||||
~ModifyHiTSDBInstanceClassResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_MODIFYHITSDBINSTANCECLASSRESULT_H_
|
||||
@@ -1,72 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_MODIFYHITSDBINSTANCESECURITYIPLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_MODIFYHITSDBINSTANCESECURITYIPLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT ModifyHiTSDBInstanceSecurityIpListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyHiTSDBInstanceSecurityIpListRequest();
|
||||
~ModifyHiTSDBInstanceSecurityIpListRequest();
|
||||
|
||||
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 getGroupName()const;
|
||||
void setGroupName(const std::string& groupName);
|
||||
std::string getSecurityIpList()const;
|
||||
void setSecurityIpList(const std::string& securityIpList);
|
||||
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 groupName_;
|
||||
std::string securityIpList_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_MODIFYHITSDBINSTANCESECURITYIPLISTREQUEST_H_
|
||||
@@ -1,49 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_MODIFYHITSDBINSTANCESECURITYIPLISTRESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_MODIFYHITSDBINSTANCESECURITYIPLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT ModifyHiTSDBInstanceSecurityIpListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyHiTSDBInstanceSecurityIpListResult();
|
||||
explicit ModifyHiTSDBInstanceSecurityIpListResult(const std::string &payload);
|
||||
~ModifyHiTSDBInstanceSecurityIpListResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_MODIFYHITSDBINSTANCESECURITYIPLISTRESULT_H_
|
||||
@@ -1,72 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_RENAMEHITSDBINSTANCEALIASREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_RENAMEHITSDBINSTANCEALIASREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT RenameHiTSDBInstanceAliasRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RenameHiTSDBInstanceAliasRequest();
|
||||
~RenameHiTSDBInstanceAliasRequest();
|
||||
|
||||
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);
|
||||
std::string getInstanceAlias()const;
|
||||
void setInstanceAlias(const std::string& instanceAlias);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string instanceAlias_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
std::string appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_RENAMEHITSDBINSTANCEALIASREQUEST_H_
|
||||
@@ -1,49 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_RENAMEHITSDBINSTANCEALIASRESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_RENAMEHITSDBINSTANCEALIASRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT RenameHiTSDBInstanceAliasResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RenameHiTSDBInstanceAliasResult();
|
||||
explicit RenameHiTSDBInstanceAliasResult(const std::string &payload);
|
||||
~RenameHiTSDBInstanceAliasResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_RENAMEHITSDBINSTANCEALIASRESULT_H_
|
||||
@@ -1,75 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_RENEWTSDBINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_RENEWTSDBINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT RenewTSDBInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RenewTSDBInstanceRequest();
|
||||
~RenewTSDBInstanceRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getDuration()const;
|
||||
void setDuration(int duration);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
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);
|
||||
std::string getPricingCycle()const;
|
||||
void setPricingCycle(const std::string& pricingCycle);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
int duration_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
std::string pricingCycle_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_RENEWTSDBINSTANCEREQUEST_H_
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_RENEWTSDBINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_RENEWTSDBINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT RenewTSDBInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RenewTSDBInstanceResult();
|
||||
explicit RenewTSDBInstanceResult(const std::string &payload);
|
||||
~RenewTSDBInstanceResult();
|
||||
long getOrderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long orderId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_RENEWTSDBINSTANCERESULT_H_
|
||||
@@ -1,49 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_RESTARTHITSDBINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_RESTARTHITSDBINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT RestartHiTSDBInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RestartHiTSDBInstanceResult();
|
||||
explicit RestartHiTSDBInstanceResult(const std::string &payload);
|
||||
~RestartHiTSDBInstanceResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_RESTARTHITSDBINSTANCERESULT_H_
|
||||
@@ -1,69 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_SWITCHHITSDBINSTANCEPUBLICNETREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_SWITCHHITSDBINSTANCEPUBLICNETREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT SwitchHiTSDBInstancePublicNetRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SwitchHiTSDBInstancePublicNetRequest();
|
||||
~SwitchHiTSDBInstancePublicNetRequest();
|
||||
|
||||
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);
|
||||
long getSwitchAction()const;
|
||||
void setSwitchAction(long switchAction);
|
||||
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_;
|
||||
long switchAction_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_SWITCHHITSDBINSTANCEPUBLICNETREQUEST_H_
|
||||
@@ -1,49 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_SWITCHHITSDBINSTANCEPUBLICNETRESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_SWITCHHITSDBINSTANCEPUBLICNETRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT SwitchHiTSDBInstancePublicNetResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SwitchHiTSDBInstancePublicNetResult();
|
||||
explicit SwitchHiTSDBInstancePublicNetResult(const std::string &payload);
|
||||
~SwitchHiTSDBInstancePublicNetResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_SWITCHHITSDBINSTANCEPUBLICNETRESULT_H_
|
||||
@@ -51,186 +51,6 @@ HitsdbClient::HitsdbClient(const std::string & accessKeyId, const std::string &
|
||||
HitsdbClient::~HitsdbClient()
|
||||
{}
|
||||
|
||||
HitsdbClient::CreateHiTSDBInstanceOutcome HitsdbClient::createHiTSDBInstance(const CreateHiTSDBInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateHiTSDBInstanceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateHiTSDBInstanceOutcome(CreateHiTSDBInstanceResult(outcome.result()));
|
||||
else
|
||||
return CreateHiTSDBInstanceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::createHiTSDBInstanceAsync(const CreateHiTSDBInstanceRequest& request, const CreateHiTSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createHiTSDBInstance(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::CreateHiTSDBInstanceOutcomeCallable HitsdbClient::createHiTSDBInstanceCallable(const CreateHiTSDBInstanceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateHiTSDBInstanceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createHiTSDBInstance(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::DeleteHiTSDBInstanceOutcome HitsdbClient::deleteHiTSDBInstance(const DeleteHiTSDBInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteHiTSDBInstanceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteHiTSDBInstanceOutcome(DeleteHiTSDBInstanceResult(outcome.result()));
|
||||
else
|
||||
return DeleteHiTSDBInstanceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::deleteHiTSDBInstanceAsync(const DeleteHiTSDBInstanceRequest& request, const DeleteHiTSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteHiTSDBInstance(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::DeleteHiTSDBInstanceOutcomeCallable HitsdbClient::deleteHiTSDBInstanceCallable(const DeleteHiTSDBInstanceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteHiTSDBInstanceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteHiTSDBInstance(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::DescribeHiTSDBInstanceOutcome HitsdbClient::describeHiTSDBInstance(const DescribeHiTSDBInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeHiTSDBInstanceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeHiTSDBInstanceOutcome(DescribeHiTSDBInstanceResult(outcome.result()));
|
||||
else
|
||||
return DescribeHiTSDBInstanceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::describeHiTSDBInstanceAsync(const DescribeHiTSDBInstanceRequest& request, const DescribeHiTSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeHiTSDBInstance(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::DescribeHiTSDBInstanceOutcomeCallable HitsdbClient::describeHiTSDBInstanceCallable(const DescribeHiTSDBInstanceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeHiTSDBInstanceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeHiTSDBInstance(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::DescribeHiTSDBInstanceListOutcome HitsdbClient::describeHiTSDBInstanceList(const DescribeHiTSDBInstanceListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeHiTSDBInstanceListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeHiTSDBInstanceListOutcome(DescribeHiTSDBInstanceListResult(outcome.result()));
|
||||
else
|
||||
return DescribeHiTSDBInstanceListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::describeHiTSDBInstanceListAsync(const DescribeHiTSDBInstanceListRequest& request, const DescribeHiTSDBInstanceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeHiTSDBInstanceList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::DescribeHiTSDBInstanceListOutcomeCallable HitsdbClient::describeHiTSDBInstanceListCallable(const DescribeHiTSDBInstanceListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeHiTSDBInstanceListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeHiTSDBInstanceList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::DescribeHiTSDBInstanceSecurityIpListOutcome HitsdbClient::describeHiTSDBInstanceSecurityIpList(const DescribeHiTSDBInstanceSecurityIpListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeHiTSDBInstanceSecurityIpListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeHiTSDBInstanceSecurityIpListOutcome(DescribeHiTSDBInstanceSecurityIpListResult(outcome.result()));
|
||||
else
|
||||
return DescribeHiTSDBInstanceSecurityIpListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::describeHiTSDBInstanceSecurityIpListAsync(const DescribeHiTSDBInstanceSecurityIpListRequest& request, const DescribeHiTSDBInstanceSecurityIpListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeHiTSDBInstanceSecurityIpList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::DescribeHiTSDBInstanceSecurityIpListOutcomeCallable HitsdbClient::describeHiTSDBInstanceSecurityIpListCallable(const DescribeHiTSDBInstanceSecurityIpListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeHiTSDBInstanceSecurityIpListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeHiTSDBInstanceSecurityIpList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::DescribeRegionsOutcome HitsdbClient::describeRegions(const DescribeRegionsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -267,252 +87,72 @@ HitsdbClient::DescribeRegionsOutcomeCallable HitsdbClient::describeRegionsCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::DescribeZonesOutcome HitsdbClient::describeZones(const DescribeZonesRequest &request) const
|
||||
HitsdbClient::GetLindormInstanceOutcome HitsdbClient::getLindormInstance(const GetLindormInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeZonesOutcome(endpointOutcome.error());
|
||||
return GetLindormInstanceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeZonesOutcome(DescribeZonesResult(outcome.result()));
|
||||
return GetLindormInstanceOutcome(GetLindormInstanceResult(outcome.result()));
|
||||
else
|
||||
return DescribeZonesOutcome(outcome.error());
|
||||
return GetLindormInstanceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::describeZonesAsync(const DescribeZonesRequest& request, const DescribeZonesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void HitsdbClient::getLindormInstanceAsync(const GetLindormInstanceRequest& request, const GetLindormInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeZones(request), context);
|
||||
handler(this, request, getLindormInstance(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::DescribeZonesOutcomeCallable HitsdbClient::describeZonesCallable(const DescribeZonesRequest &request) const
|
||||
HitsdbClient::GetLindormInstanceOutcomeCallable HitsdbClient::getLindormInstanceCallable(const GetLindormInstanceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeZonesOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<GetLindormInstanceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeZones(request);
|
||||
return this->getLindormInstance(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::ModifyHiTSDBInstanceClassOutcome HitsdbClient::modifyHiTSDBInstanceClass(const ModifyHiTSDBInstanceClassRequest &request) const
|
||||
HitsdbClient::GetLindormInstanceListOutcome HitsdbClient::getLindormInstanceList(const GetLindormInstanceListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyHiTSDBInstanceClassOutcome(endpointOutcome.error());
|
||||
return GetLindormInstanceListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyHiTSDBInstanceClassOutcome(ModifyHiTSDBInstanceClassResult(outcome.result()));
|
||||
return GetLindormInstanceListOutcome(GetLindormInstanceListResult(outcome.result()));
|
||||
else
|
||||
return ModifyHiTSDBInstanceClassOutcome(outcome.error());
|
||||
return GetLindormInstanceListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::modifyHiTSDBInstanceClassAsync(const ModifyHiTSDBInstanceClassRequest& request, const ModifyHiTSDBInstanceClassAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void HitsdbClient::getLindormInstanceListAsync(const GetLindormInstanceListRequest& request, const GetLindormInstanceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyHiTSDBInstanceClass(request), context);
|
||||
handler(this, request, getLindormInstanceList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::ModifyHiTSDBInstanceClassOutcomeCallable HitsdbClient::modifyHiTSDBInstanceClassCallable(const ModifyHiTSDBInstanceClassRequest &request) const
|
||||
HitsdbClient::GetLindormInstanceListOutcomeCallable HitsdbClient::getLindormInstanceListCallable(const GetLindormInstanceListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyHiTSDBInstanceClassOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<GetLindormInstanceListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyHiTSDBInstanceClass(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::ModifyHiTSDBInstanceSecurityIpListOutcome HitsdbClient::modifyHiTSDBInstanceSecurityIpList(const ModifyHiTSDBInstanceSecurityIpListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyHiTSDBInstanceSecurityIpListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyHiTSDBInstanceSecurityIpListOutcome(ModifyHiTSDBInstanceSecurityIpListResult(outcome.result()));
|
||||
else
|
||||
return ModifyHiTSDBInstanceSecurityIpListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::modifyHiTSDBInstanceSecurityIpListAsync(const ModifyHiTSDBInstanceSecurityIpListRequest& request, const ModifyHiTSDBInstanceSecurityIpListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyHiTSDBInstanceSecurityIpList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::ModifyHiTSDBInstanceSecurityIpListOutcomeCallable HitsdbClient::modifyHiTSDBInstanceSecurityIpListCallable(const ModifyHiTSDBInstanceSecurityIpListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyHiTSDBInstanceSecurityIpListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyHiTSDBInstanceSecurityIpList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::RenameHiTSDBInstanceAliasOutcome HitsdbClient::renameHiTSDBInstanceAlias(const RenameHiTSDBInstanceAliasRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RenameHiTSDBInstanceAliasOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RenameHiTSDBInstanceAliasOutcome(RenameHiTSDBInstanceAliasResult(outcome.result()));
|
||||
else
|
||||
return RenameHiTSDBInstanceAliasOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::renameHiTSDBInstanceAliasAsync(const RenameHiTSDBInstanceAliasRequest& request, const RenameHiTSDBInstanceAliasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, renameHiTSDBInstanceAlias(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::RenameHiTSDBInstanceAliasOutcomeCallable HitsdbClient::renameHiTSDBInstanceAliasCallable(const RenameHiTSDBInstanceAliasRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RenameHiTSDBInstanceAliasOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->renameHiTSDBInstanceAlias(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::RenewTSDBInstanceOutcome HitsdbClient::renewTSDBInstance(const RenewTSDBInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RenewTSDBInstanceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RenewTSDBInstanceOutcome(RenewTSDBInstanceResult(outcome.result()));
|
||||
else
|
||||
return RenewTSDBInstanceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::renewTSDBInstanceAsync(const RenewTSDBInstanceRequest& request, const RenewTSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, renewTSDBInstance(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::RenewTSDBInstanceOutcomeCallable HitsdbClient::renewTSDBInstanceCallable(const RenewTSDBInstanceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RenewTSDBInstanceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->renewTSDBInstance(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::RestartHiTSDBInstanceOutcome HitsdbClient::restartHiTSDBInstance(const RestartHiTSDBInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RestartHiTSDBInstanceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RestartHiTSDBInstanceOutcome(RestartHiTSDBInstanceResult(outcome.result()));
|
||||
else
|
||||
return RestartHiTSDBInstanceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::restartHiTSDBInstanceAsync(const RestartHiTSDBInstanceRequest& request, const RestartHiTSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, restartHiTSDBInstance(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::RestartHiTSDBInstanceOutcomeCallable HitsdbClient::restartHiTSDBInstanceCallable(const RestartHiTSDBInstanceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RestartHiTSDBInstanceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->restartHiTSDBInstance(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::SwitchHiTSDBInstancePublicNetOutcome HitsdbClient::switchHiTSDBInstancePublicNet(const SwitchHiTSDBInstancePublicNetRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SwitchHiTSDBInstancePublicNetOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SwitchHiTSDBInstancePublicNetOutcome(SwitchHiTSDBInstancePublicNetResult(outcome.result()));
|
||||
else
|
||||
return SwitchHiTSDBInstancePublicNetOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::switchHiTSDBInstancePublicNetAsync(const SwitchHiTSDBInstancePublicNetRequest& request, const SwitchHiTSDBInstancePublicNetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, switchHiTSDBInstancePublicNet(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::SwitchHiTSDBInstancePublicNetOutcomeCallable HitsdbClient::switchHiTSDBInstancePublicNetCallable(const SwitchHiTSDBInstancePublicNetRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SwitchHiTSDBInstancePublicNetOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->switchHiTSDBInstancePublicNet(request);
|
||||
return this->getLindormInstanceList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
|
||||
@@ -1,315 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/CreateHiTSDBInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::CreateHiTSDBInstanceRequest;
|
||||
|
||||
CreateHiTSDBInstanceRequest::CreateHiTSDBInstanceRequest() :
|
||||
RpcServiceRequest("hitsdb", "2017-06-01", "CreateHiTSDBInstance")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateHiTSDBInstanceRequest::~CreateHiTSDBInstanceRequest()
|
||||
{}
|
||||
|
||||
long CreateHiTSDBInstanceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getInstanceClass()const
|
||||
{
|
||||
return instanceClass_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setInstanceClass(const std::string& instanceClass)
|
||||
{
|
||||
instanceClass_ = instanceClass;
|
||||
setParameter("InstanceClass", instanceClass);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getDuration()const
|
||||
{
|
||||
return duration_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setDuration(const std::string& duration)
|
||||
{
|
||||
duration_ = duration;
|
||||
setParameter("Duration", duration);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getMaxSeriesPerDatabase()const
|
||||
{
|
||||
return maxSeriesPerDatabase_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setMaxSeriesPerDatabase(const std::string& maxSeriesPerDatabase)
|
||||
{
|
||||
maxSeriesPerDatabase_ = maxSeriesPerDatabase;
|
||||
setParameter("MaxSeriesPerDatabase", maxSeriesPerDatabase);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getDiskCategory()const
|
||||
{
|
||||
return diskCategory_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setDiskCategory(const std::string& diskCategory)
|
||||
{
|
||||
diskCategory_ = diskCategory;
|
||||
setParameter("DiskCategory", diskCategory);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getMaxTimelineLimit()const
|
||||
{
|
||||
return maxTimelineLimit_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setMaxTimelineLimit(const std::string& maxTimelineLimit)
|
||||
{
|
||||
maxTimelineLimit_ = maxTimelineLimit;
|
||||
setParameter("MaxTimelineLimit", maxTimelineLimit);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getInstanceStorage()const
|
||||
{
|
||||
return instanceStorage_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setInstanceStorage(const std::string& instanceStorage)
|
||||
{
|
||||
instanceStorage_ = instanceStorage;
|
||||
setParameter("InstanceStorage", instanceStorage);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getEngineType()const
|
||||
{
|
||||
return engineType_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setEngineType(const std::string& engineType)
|
||||
{
|
||||
engineType_ = engineType;
|
||||
setParameter("EngineType", engineType);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getInstanceAlias()const
|
||||
{
|
||||
return instanceAlias_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setInstanceAlias(const std::string& instanceAlias)
|
||||
{
|
||||
instanceAlias_ = instanceAlias;
|
||||
setParameter("InstanceAlias", instanceAlias);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getMaxDatabaseLimit()const
|
||||
{
|
||||
return maxDatabaseLimit_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setMaxDatabaseLimit(const std::string& maxDatabaseLimit)
|
||||
{
|
||||
maxDatabaseLimit_ = maxDatabaseLimit;
|
||||
setParameter("MaxDatabaseLimit", maxDatabaseLimit);
|
||||
}
|
||||
|
||||
long CreateHiTSDBInstanceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getVSwitchId()const
|
||||
{
|
||||
return vSwitchId_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setVSwitchId(const std::string& vSwitchId)
|
||||
{
|
||||
vSwitchId_ = vSwitchId;
|
||||
setParameter("VSwitchId", vSwitchId);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getInstanceName()const
|
||||
{
|
||||
return instanceName_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setInstanceName(const std::string& instanceName)
|
||||
{
|
||||
instanceName_ = instanceName;
|
||||
setParameter("InstanceName", instanceName);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getInstanceTps()const
|
||||
{
|
||||
return instanceTps_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setInstanceTps(const std::string& instanceTps)
|
||||
{
|
||||
instanceTps_ = instanceTps;
|
||||
setParameter("InstanceTps", instanceTps);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getVPCId()const
|
||||
{
|
||||
return vPCId_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setVPCId(const std::string& vPCId)
|
||||
{
|
||||
vPCId_ = vPCId;
|
||||
setParameter("VPCId", vPCId);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
zoneId_ = zoneId;
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getTSDBVersion()const
|
||||
{
|
||||
return tSDBVersion_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setTSDBVersion(const std::string& tSDBVersion)
|
||||
{
|
||||
tSDBVersion_ = tSDBVersion;
|
||||
setParameter("TSDBVersion", tSDBVersion);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getPayType()const
|
||||
{
|
||||
return payType_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setPayType(const std::string& payType)
|
||||
{
|
||||
payType_ = payType;
|
||||
setParameter("PayType", payType);
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceRequest::getPricingCycle()const
|
||||
{
|
||||
return pricingCycle_;
|
||||
}
|
||||
|
||||
void CreateHiTSDBInstanceRequest::setPricingCycle(const std::string& pricingCycle)
|
||||
{
|
||||
pricingCycle_ = pricingCycle;
|
||||
setParameter("PricingCycle", pricingCycle);
|
||||
}
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/CreateHiTSDBInstanceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
CreateHiTSDBInstanceResult::CreateHiTSDBInstanceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateHiTSDBInstanceResult::CreateHiTSDBInstanceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateHiTSDBInstanceResult::~CreateHiTSDBInstanceResult()
|
||||
{}
|
||||
|
||||
void CreateHiTSDBInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["InstanceId"].isNull())
|
||||
instanceId_ = value["InstanceId"].asString();
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = std::stol(value["OrderId"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string CreateHiTSDBInstanceResult::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
long CreateHiTSDBInstanceResult::getOrderId()const
|
||||
{
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
@@ -1,117 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/DeleteHiTSDBInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::DeleteHiTSDBInstanceRequest;
|
||||
|
||||
DeleteHiTSDBInstanceRequest::DeleteHiTSDBInstanceRequest() :
|
||||
RpcServiceRequest("hitsdb", "2017-06-01", "DeleteHiTSDBInstance")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteHiTSDBInstanceRequest::~DeleteHiTSDBInstanceRequest()
|
||||
{}
|
||||
|
||||
long DeleteHiTSDBInstanceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteHiTSDBInstanceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteHiTSDBInstanceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteHiTSDBInstanceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteHiTSDBInstanceRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteHiTSDBInstanceRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteHiTSDBInstanceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteHiTSDBInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteHiTSDBInstanceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteHiTSDBInstanceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DeleteHiTSDBInstanceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteHiTSDBInstanceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteHiTSDBInstanceRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void DeleteHiTSDBInstanceRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string DeleteHiTSDBInstanceRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void DeleteHiTSDBInstanceRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/DeleteHiTSDBInstanceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
DeleteHiTSDBInstanceResult::DeleteHiTSDBInstanceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteHiTSDBInstanceResult::DeleteHiTSDBInstanceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteHiTSDBInstanceResult::~DeleteHiTSDBInstanceResult()
|
||||
{}
|
||||
|
||||
void DeleteHiTSDBInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,161 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/DescribeHiTSDBInstanceListRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::DescribeHiTSDBInstanceListRequest;
|
||||
|
||||
DescribeHiTSDBInstanceListRequest::DescribeHiTSDBInstanceListRequest() :
|
||||
RpcServiceRequest("hitsdb", "2017-06-01", "DescribeHiTSDBInstanceList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeHiTSDBInstanceListRequest::~DescribeHiTSDBInstanceListRequest()
|
||||
{}
|
||||
|
||||
long DescribeHiTSDBInstanceListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceListRequest::getStatusList()const
|
||||
{
|
||||
return statusList_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceListRequest::setStatusList(const std::string& statusList)
|
||||
{
|
||||
statusList_ = statusList;
|
||||
setParameter("StatusList", statusList);
|
||||
}
|
||||
|
||||
int DescribeHiTSDBInstanceListRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceListRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceListRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceListRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
int DescribeHiTSDBInstanceListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceListRequest::getQueryStr()const
|
||||
{
|
||||
return queryStr_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceListRequest::setQueryStr(const std::string& queryStr)
|
||||
{
|
||||
queryStr_ = queryStr;
|
||||
setParameter("QueryStr", queryStr);
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceListRequest::getEngineType()const
|
||||
{
|
||||
return engineType_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceListRequest::setEngineType(const std::string& engineType)
|
||||
{
|
||||
engineType_ = engineType;
|
||||
setParameter("EngineType", engineType);
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceListRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeHiTSDBInstanceListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceListRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceListRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
@@ -1,122 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/DescribeHiTSDBInstanceListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
DescribeHiTSDBInstanceListResult::DescribeHiTSDBInstanceListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeHiTSDBInstanceListResult::DescribeHiTSDBInstanceListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeHiTSDBInstanceListResult::~DescribeHiTSDBInstanceListResult()
|
||||
{}
|
||||
|
||||
void DescribeHiTSDBInstanceListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allInstanceListNode = value["InstanceList"]["Instance"];
|
||||
for (auto valueInstanceListInstance : allInstanceListNode)
|
||||
{
|
||||
Instance instanceListObject;
|
||||
if(!valueInstanceListInstance["InstanceId"].isNull())
|
||||
instanceListObject.instanceId = valueInstanceListInstance["InstanceId"].asString();
|
||||
if(!valueInstanceListInstance["InstanceAlias"].isNull())
|
||||
instanceListObject.instanceAlias = valueInstanceListInstance["InstanceAlias"].asString();
|
||||
if(!valueInstanceListInstance["InstanceDescription"].isNull())
|
||||
instanceListObject.instanceDescription = valueInstanceListInstance["InstanceDescription"].asString();
|
||||
if(!valueInstanceListInstance["UserId"].isNull())
|
||||
instanceListObject.userId = valueInstanceListInstance["UserId"].asString();
|
||||
if(!valueInstanceListInstance["RegionId"].isNull())
|
||||
instanceListObject.regionId = valueInstanceListInstance["RegionId"].asString();
|
||||
if(!valueInstanceListInstance["ZoneId"].isNull())
|
||||
instanceListObject.zoneId = valueInstanceListInstance["ZoneId"].asString();
|
||||
if(!valueInstanceListInstance["InstanceStatus"].isNull())
|
||||
instanceListObject.instanceStatus = valueInstanceListInstance["InstanceStatus"].asString();
|
||||
if(!valueInstanceListInstance["ChargeType"].isNull())
|
||||
instanceListObject.chargeType = valueInstanceListInstance["ChargeType"].asString();
|
||||
if(!valueInstanceListInstance["NetworkType"].isNull())
|
||||
instanceListObject.networkType = valueInstanceListInstance["NetworkType"].asString();
|
||||
if(!valueInstanceListInstance["GmtCreated"].isNull())
|
||||
instanceListObject.gmtCreated = valueInstanceListInstance["GmtCreated"].asString();
|
||||
if(!valueInstanceListInstance["GmtExpire"].isNull())
|
||||
instanceListObject.gmtExpire = valueInstanceListInstance["GmtExpire"].asString();
|
||||
if(!valueInstanceListInstance["InstanceClass"].isNull())
|
||||
instanceListObject.instanceClass = valueInstanceListInstance["InstanceClass"].asString();
|
||||
if(!valueInstanceListInstance["InstanceStorage"].isNull())
|
||||
instanceListObject.instanceStorage = valueInstanceListInstance["InstanceStorage"].asString();
|
||||
if(!valueInstanceListInstance["InstanceTps"].isNull())
|
||||
instanceListObject.instanceTps = valueInstanceListInstance["InstanceTps"].asString();
|
||||
if(!valueInstanceListInstance["LockMode"].isNull())
|
||||
instanceListObject.lockMode = valueInstanceListInstance["LockMode"].asString();
|
||||
if(!valueInstanceListInstance["EngineType"].isNull())
|
||||
instanceListObject.engineType = valueInstanceListInstance["EngineType"].asString();
|
||||
if(!valueInstanceListInstance["MaxSeriesPerDatabase"].isNull())
|
||||
instanceListObject.maxSeriesPerDatabase = valueInstanceListInstance["MaxSeriesPerDatabase"].asString();
|
||||
if(!valueInstanceListInstance["VpcId"].isNull())
|
||||
instanceListObject.vpcId = valueInstanceListInstance["VpcId"].asString();
|
||||
if(!valueInstanceListInstance["VswitchId"].isNull())
|
||||
instanceListObject.vswitchId = valueInstanceListInstance["VswitchId"].asString();
|
||||
if(!valueInstanceListInstance["Status"].isNull())
|
||||
instanceListObject.status = valueInstanceListInstance["Status"].asString();
|
||||
if(!valueInstanceListInstance["PaymentType"].isNull())
|
||||
instanceListObject.paymentType = valueInstanceListInstance["PaymentType"].asString();
|
||||
if(!valueInstanceListInstance["CreateTime"].isNull())
|
||||
instanceListObject.createTime = std::stol(valueInstanceListInstance["CreateTime"].asString());
|
||||
if(!valueInstanceListInstance["ExpiredTime"].isNull())
|
||||
instanceListObject.expiredTime = std::stol(valueInstanceListInstance["ExpiredTime"].asString());
|
||||
instanceList_.push_back(instanceListObject);
|
||||
}
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["Total"].isNull())
|
||||
total_ = std::stoi(value["Total"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeHiTSDBInstanceListResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeHiTSDBInstanceListResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
int DescribeHiTSDBInstanceListResult::getTotal()const
|
||||
{
|
||||
return total_;
|
||||
}
|
||||
|
||||
std::vector<DescribeHiTSDBInstanceListResult::Instance> DescribeHiTSDBInstanceListResult::getInstanceList()const
|
||||
{
|
||||
return instanceList_;
|
||||
}
|
||||
|
||||
@@ -1,117 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/DescribeHiTSDBInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::DescribeHiTSDBInstanceRequest;
|
||||
|
||||
DescribeHiTSDBInstanceRequest::DescribeHiTSDBInstanceRequest() :
|
||||
RpcServiceRequest("hitsdb", "2017-06-01", "DescribeHiTSDBInstance")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeHiTSDBInstanceRequest::~DescribeHiTSDBInstanceRequest()
|
||||
{}
|
||||
|
||||
long DescribeHiTSDBInstanceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeHiTSDBInstanceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
@@ -1,274 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/DescribeHiTSDBInstanceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
DescribeHiTSDBInstanceResult::DescribeHiTSDBInstanceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeHiTSDBInstanceResult::DescribeHiTSDBInstanceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeHiTSDBInstanceResult::~DescribeHiTSDBInstanceResult()
|
||||
{}
|
||||
|
||||
void DescribeHiTSDBInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allSecurityIpListNode = value["SecurityIpList"]["SecurityIp"];
|
||||
for (auto valueSecurityIpListSecurityIp : allSecurityIpListNode)
|
||||
{
|
||||
SecurityIp securityIpListObject;
|
||||
if(!valueSecurityIpListSecurityIp["Ip"].isNull())
|
||||
securityIpListObject.ip = valueSecurityIpListSecurityIp["Ip"].asString();
|
||||
securityIpList_.push_back(securityIpListObject);
|
||||
}
|
||||
if(!value["InstanceId"].isNull())
|
||||
instanceId_ = value["InstanceId"].asString();
|
||||
if(!value["InstanceAlias"].isNull())
|
||||
instanceAlias_ = value["InstanceAlias"].asString();
|
||||
if(!value["InstanceDescription"].isNull())
|
||||
instanceDescription_ = value["InstanceDescription"].asString();
|
||||
if(!value["RegionId"].isNull())
|
||||
regionId_ = value["RegionId"].asString();
|
||||
if(!value["ZoneId"].isNull())
|
||||
zoneId_ = value["ZoneId"].asString();
|
||||
if(!value["InstanceStatus"].isNull())
|
||||
instanceStatus_ = value["InstanceStatus"].asString();
|
||||
if(!value["ChargeType"].isNull())
|
||||
chargeType_ = value["ChargeType"].asString();
|
||||
if(!value["NetworkType"].isNull())
|
||||
networkType_ = value["NetworkType"].asString();
|
||||
if(!value["GmtCreated"].isNull())
|
||||
gmtCreated_ = value["GmtCreated"].asString();
|
||||
if(!value["GmtExpire"].isNull())
|
||||
gmtExpire_ = value["GmtExpire"].asString();
|
||||
if(!value["InstanceClass"].isNull())
|
||||
instanceClass_ = value["InstanceClass"].asString();
|
||||
if(!value["MaxTimelineLimit"].isNull())
|
||||
maxTimelineLimit_ = value["MaxTimelineLimit"].asString();
|
||||
if(!value["InstanceStorage"].isNull())
|
||||
instanceStorage_ = value["InstanceStorage"].asString();
|
||||
if(!value["InstanceTps"].isNull())
|
||||
instanceTps_ = value["InstanceTps"].asString();
|
||||
if(!value["ReverseVpcIp"].isNull())
|
||||
reverseVpcIp_ = value["ReverseVpcIp"].asString();
|
||||
if(!value["ReverseVpcPort"].isNull())
|
||||
reverseVpcPort_ = value["ReverseVpcPort"].asString();
|
||||
if(!value["VpcId"].isNull())
|
||||
vpcId_ = value["VpcId"].asString();
|
||||
if(!value["VswitchId"].isNull())
|
||||
vswitchId_ = value["VswitchId"].asString();
|
||||
if(!value["ConnectionString"].isNull())
|
||||
connectionString_ = value["ConnectionString"].asString();
|
||||
if(!value["PublicConnectionString"].isNull())
|
||||
publicConnectionString_ = value["PublicConnectionString"].asString();
|
||||
if(!value["AutoRenew"].isNull())
|
||||
autoRenew_ = value["AutoRenew"].asString();
|
||||
if(!value["EngineType"].isNull())
|
||||
engineType_ = value["EngineType"].asString();
|
||||
if(!value["CpuNumber"].isNull())
|
||||
cpuNumber_ = value["CpuNumber"].asString();
|
||||
if(!value["MemSize"].isNull())
|
||||
memSize_ = value["MemSize"].asString();
|
||||
if(!value["Series"].isNull())
|
||||
series_ = std::stoi(value["Series"].asString());
|
||||
if(!value["RDSStatus"].isNull())
|
||||
rDSStatus_ = value["RDSStatus"].asString();
|
||||
if(!value["DiskCategory"].isNull())
|
||||
diskCategory_ = value["DiskCategory"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString();
|
||||
if(!value["PaymentType"].isNull())
|
||||
paymentType_ = value["PaymentType"].asString();
|
||||
if(!value["CreateTime"].isNull())
|
||||
createTime_ = std::stol(value["CreateTime"].asString());
|
||||
if(!value["ExpiredTime"].isNull())
|
||||
expiredTime_ = std::stol(value["ExpiredTime"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getAutoRenew()const
|
||||
{
|
||||
return autoRenew_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getGmtCreated()const
|
||||
{
|
||||
return gmtCreated_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getCpuNumber()const
|
||||
{
|
||||
return cpuNumber_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getInstanceAlias()const
|
||||
{
|
||||
return instanceAlias_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getInstanceStatus()const
|
||||
{
|
||||
return instanceStatus_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getNetworkType()const
|
||||
{
|
||||
return networkType_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getGmtExpire()const
|
||||
{
|
||||
return gmtExpire_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getMemSize()const
|
||||
{
|
||||
return memSize_;
|
||||
}
|
||||
|
||||
long DescribeHiTSDBInstanceResult::getExpiredTime()const
|
||||
{
|
||||
return expiredTime_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getMaxTimelineLimit()const
|
||||
{
|
||||
return maxTimelineLimit_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getReverseVpcPort()const
|
||||
{
|
||||
return reverseVpcPort_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getPaymentType()const
|
||||
{
|
||||
return paymentType_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getPublicConnectionString()const
|
||||
{
|
||||
return publicConnectionString_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getEngineType()const
|
||||
{
|
||||
return engineType_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getInstanceTps()const
|
||||
{
|
||||
return instanceTps_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getRDSStatus()const
|
||||
{
|
||||
return rDSStatus_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getInstanceStorage()const
|
||||
{
|
||||
return instanceStorage_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
long DescribeHiTSDBInstanceResult::getCreateTime()const
|
||||
{
|
||||
return createTime_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getDiskCategory()const
|
||||
{
|
||||
return diskCategory_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getInstanceClass()const
|
||||
{
|
||||
return instanceClass_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getVswitchId()const
|
||||
{
|
||||
return vswitchId_;
|
||||
}
|
||||
|
||||
int DescribeHiTSDBInstanceResult::getSeries()const
|
||||
{
|
||||
return series_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getVpcId()const
|
||||
{
|
||||
return vpcId_;
|
||||
}
|
||||
|
||||
std::vector<DescribeHiTSDBInstanceResult::SecurityIp> DescribeHiTSDBInstanceResult::getSecurityIpList()const
|
||||
{
|
||||
return securityIpList_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getChargeType()const
|
||||
{
|
||||
return chargeType_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getReverseVpcIp()const
|
||||
{
|
||||
return reverseVpcIp_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getInstanceDescription()const
|
||||
{
|
||||
return instanceDescription_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceResult::getConnectionString()const
|
||||
{
|
||||
return connectionString_;
|
||||
}
|
||||
|
||||
@@ -1,117 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/DescribeHiTSDBInstanceSecurityIpListRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::DescribeHiTSDBInstanceSecurityIpListRequest;
|
||||
|
||||
DescribeHiTSDBInstanceSecurityIpListRequest::DescribeHiTSDBInstanceSecurityIpListRequest() :
|
||||
RpcServiceRequest("hitsdb", "2017-06-01", "DescribeHiTSDBInstanceSecurityIpList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeHiTSDBInstanceSecurityIpListRequest::~DescribeHiTSDBInstanceSecurityIpListRequest()
|
||||
{}
|
||||
|
||||
long DescribeHiTSDBInstanceSecurityIpListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceSecurityIpListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceSecurityIpListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceSecurityIpListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceSecurityIpListRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceSecurityIpListRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceSecurityIpListRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceSecurityIpListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceSecurityIpListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceSecurityIpListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeHiTSDBInstanceSecurityIpListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceSecurityIpListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceSecurityIpListRequest::getGroupName()const
|
||||
{
|
||||
return groupName_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceSecurityIpListRequest::setGroupName(const std::string& groupName)
|
||||
{
|
||||
groupName_ = groupName;
|
||||
setParameter("GroupName", groupName);
|
||||
}
|
||||
|
||||
std::string DescribeHiTSDBInstanceSecurityIpListRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void DescribeHiTSDBInstanceSecurityIpListRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/DescribeHiTSDBInstanceSecurityIpListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
DescribeHiTSDBInstanceSecurityIpListResult::DescribeHiTSDBInstanceSecurityIpListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeHiTSDBInstanceSecurityIpListResult::DescribeHiTSDBInstanceSecurityIpListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeHiTSDBInstanceSecurityIpListResult::~DescribeHiTSDBInstanceSecurityIpListResult()
|
||||
{}
|
||||
|
||||
void DescribeHiTSDBInstanceSecurityIpListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allSecurityIpListNode = value["SecurityIpList"]["SecurityIp"];
|
||||
for (auto valueSecurityIpListSecurityIp : allSecurityIpListNode)
|
||||
{
|
||||
SecurityIp securityIpListObject;
|
||||
if(!valueSecurityIpListSecurityIp["Ip"].isNull())
|
||||
securityIpListObject.ip = valueSecurityIpListSecurityIp["Ip"].asString();
|
||||
securityIpList_.push_back(securityIpListObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeHiTSDBInstanceSecurityIpListResult::SecurityIp> DescribeHiTSDBInstanceSecurityIpListResult::getSecurityIpList()const
|
||||
{
|
||||
return securityIpList_;
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Hitsdb::Model::DescribeRegionsRequest;
|
||||
|
||||
DescribeRegionsRequest::DescribeRegionsRequest() :
|
||||
RpcServiceRequest("hitsdb", "2017-06-01", "DescribeRegions")
|
||||
RpcServiceRequest("hitsdb", "2020-06-15", "DescribeRegions")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
@@ -1,106 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/DescribeZonesRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::DescribeZonesRequest;
|
||||
|
||||
DescribeZonesRequest::DescribeZonesRequest() :
|
||||
RpcServiceRequest("hitsdb", "2017-06-01", "DescribeZones")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeZonesRequest::~DescribeZonesRequest()
|
||||
{}
|
||||
|
||||
long DescribeZonesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeZonesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeZonesRequest::getLanguage()const
|
||||
{
|
||||
return language_;
|
||||
}
|
||||
|
||||
void DescribeZonesRequest::setLanguage(const std::string& language)
|
||||
{
|
||||
language_ = language;
|
||||
setParameter("Language", language);
|
||||
}
|
||||
|
||||
std::string DescribeZonesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeZonesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeZonesRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeZonesRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeZonesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeZonesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeZonesRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeZonesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeZonesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeZonesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/DescribeZonesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
DescribeZonesResult::DescribeZonesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeZonesResult::DescribeZonesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeZonesResult::~DescribeZonesResult()
|
||||
{}
|
||||
|
||||
void DescribeZonesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allZoneListNode = value["ZoneList"]["ZoneModel"];
|
||||
for (auto valueZoneListZoneModel : allZoneListNode)
|
||||
{
|
||||
ZoneModel zoneListObject;
|
||||
if(!valueZoneListZoneModel["ZoneId"].isNull())
|
||||
zoneListObject.zoneId = valueZoneListZoneModel["ZoneId"].asString();
|
||||
if(!valueZoneListZoneModel["LocalName"].isNull())
|
||||
zoneListObject.localName = valueZoneListZoneModel["LocalName"].asString();
|
||||
zoneList_.push_back(zoneListObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeZonesResult::ZoneModel> DescribeZonesResult::getZoneList()const
|
||||
{
|
||||
return zoneList_;
|
||||
}
|
||||
|
||||
161
hitsdb/src/model/GetLindormInstanceListRequest.cc
Normal file
161
hitsdb/src/model/GetLindormInstanceListRequest.cc
Normal file
@@ -0,0 +1,161 @@
|
||||
/*
|
||||
* 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/hitsdb/model/GetLindormInstanceListRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::GetLindormInstanceListRequest;
|
||||
|
||||
GetLindormInstanceListRequest::GetLindormInstanceListRequest() :
|
||||
RpcServiceRequest("hitsdb", "2020-06-15", "GetLindormInstanceList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetLindormInstanceListRequest::~GetLindormInstanceListRequest()
|
||||
{}
|
||||
|
||||
long GetLindormInstanceListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int GetLindormInstanceListRequest::getSupportEngine()const
|
||||
{
|
||||
return supportEngine_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setSupportEngine(int supportEngine)
|
||||
{
|
||||
supportEngine_ = supportEngine;
|
||||
setParameter("SupportEngine", std::to_string(supportEngine));
|
||||
}
|
||||
|
||||
int GetLindormInstanceListRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceListRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceListRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
int GetLindormInstanceListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceListRequest::getQueryStr()const
|
||||
{
|
||||
return queryStr_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setQueryStr(const std::string& queryStr)
|
||||
{
|
||||
queryStr_ = queryStr;
|
||||
setParameter("QueryStr", queryStr);
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceListRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long GetLindormInstanceListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceListRequest::getServiceType()const
|
||||
{
|
||||
return serviceType_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setServiceType(const std::string& serviceType)
|
||||
{
|
||||
serviceType_ = serviceType;
|
||||
setParameter("ServiceType", serviceType);
|
||||
}
|
||||
|
||||
108
hitsdb/src/model/GetLindormInstanceListResult.cc
Normal file
108
hitsdb/src/model/GetLindormInstanceListResult.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/hitsdb/model/GetLindormInstanceListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
GetLindormInstanceListResult::GetLindormInstanceListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetLindormInstanceListResult::GetLindormInstanceListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetLindormInstanceListResult::~GetLindormInstanceListResult()
|
||||
{}
|
||||
|
||||
void GetLindormInstanceListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allInstanceListNode = value["InstanceList"]["LindormInstanceSummary"];
|
||||
for (auto valueInstanceListLindormInstanceSummary : allInstanceListNode)
|
||||
{
|
||||
LindormInstanceSummary instanceListObject;
|
||||
if(!valueInstanceListLindormInstanceSummary["InstanceId"].isNull())
|
||||
instanceListObject.instanceId = valueInstanceListLindormInstanceSummary["InstanceId"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["InstanceAlias"].isNull())
|
||||
instanceListObject.instanceAlias = valueInstanceListLindormInstanceSummary["InstanceAlias"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["RegionId"].isNull())
|
||||
instanceListObject.regionId = valueInstanceListLindormInstanceSummary["RegionId"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["ZoneId"].isNull())
|
||||
instanceListObject.zoneId = valueInstanceListLindormInstanceSummary["ZoneId"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["InstanceStatus"].isNull())
|
||||
instanceListObject.instanceStatus = valueInstanceListLindormInstanceSummary["InstanceStatus"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["PayType"].isNull())
|
||||
instanceListObject.payType = valueInstanceListLindormInstanceSummary["PayType"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["NetworkType"].isNull())
|
||||
instanceListObject.networkType = valueInstanceListLindormInstanceSummary["NetworkType"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["CreateTime"].isNull())
|
||||
instanceListObject.createTime = valueInstanceListLindormInstanceSummary["CreateTime"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["ExpireTime"].isNull())
|
||||
instanceListObject.expireTime = valueInstanceListLindormInstanceSummary["ExpireTime"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["InstanceStorage"].isNull())
|
||||
instanceListObject.instanceStorage = valueInstanceListLindormInstanceSummary["InstanceStorage"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["ServiceType"].isNull())
|
||||
instanceListObject.serviceType = valueInstanceListLindormInstanceSummary["ServiceType"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["EngineType"].isNull())
|
||||
instanceListObject.engineType = valueInstanceListLindormInstanceSummary["EngineType"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["AliUid"].isNull())
|
||||
instanceListObject.aliUid = std::stol(valueInstanceListLindormInstanceSummary["AliUid"].asString());
|
||||
if(!valueInstanceListLindormInstanceSummary["VpcId"].isNull())
|
||||
instanceListObject.vpcId = valueInstanceListLindormInstanceSummary["VpcId"].asString();
|
||||
if(!valueInstanceListLindormInstanceSummary["CreateMilliseconds"].isNull())
|
||||
instanceListObject.createMilliseconds = std::stol(valueInstanceListLindormInstanceSummary["CreateMilliseconds"].asString());
|
||||
if(!valueInstanceListLindormInstanceSummary["ExpiredMilliseconds"].isNull())
|
||||
instanceListObject.expiredMilliseconds = std::stol(valueInstanceListLindormInstanceSummary["ExpiredMilliseconds"].asString());
|
||||
instanceList_.push_back(instanceListObject);
|
||||
}
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["Total"].isNull())
|
||||
total_ = std::stoi(value["Total"].asString());
|
||||
|
||||
}
|
||||
|
||||
int GetLindormInstanceListResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int GetLindormInstanceListResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
int GetLindormInstanceListResult::getTotal()const
|
||||
{
|
||||
return total_;
|
||||
}
|
||||
|
||||
std::vector<GetLindormInstanceListResult::LindormInstanceSummary> GetLindormInstanceListResult::getInstanceList()const
|
||||
{
|
||||
return instanceList_;
|
||||
}
|
||||
|
||||
117
hitsdb/src/model/GetLindormInstanceRequest.cc
Normal file
117
hitsdb/src/model/GetLindormInstanceRequest.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/hitsdb/model/GetLindormInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::GetLindormInstanceRequest;
|
||||
|
||||
GetLindormInstanceRequest::GetLindormInstanceRequest() :
|
||||
RpcServiceRequest("hitsdb", "2020-06-15", "GetLindormInstance")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetLindormInstanceRequest::~GetLindormInstanceRequest()
|
||||
{}
|
||||
|
||||
long GetLindormInstanceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long GetLindormInstanceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
249
hitsdb/src/model/GetLindormInstanceResult.cc
Normal file
249
hitsdb/src/model/GetLindormInstanceResult.cc
Normal file
@@ -0,0 +1,249 @@
|
||||
/*
|
||||
* 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/hitsdb/model/GetLindormInstanceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
GetLindormInstanceResult::GetLindormInstanceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetLindormInstanceResult::GetLindormInstanceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetLindormInstanceResult::~GetLindormInstanceResult()
|
||||
{}
|
||||
|
||||
void GetLindormInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allEngineListNode = value["EngineList"]["Engine"];
|
||||
for (auto valueEngineListEngine : allEngineListNode)
|
||||
{
|
||||
Engine engineListObject;
|
||||
if(!valueEngineListEngine["Engine"].isNull())
|
||||
engineListObject.engine = valueEngineListEngine["Engine"].asString();
|
||||
if(!valueEngineListEngine["Version"].isNull())
|
||||
engineListObject.version = valueEngineListEngine["Version"].asString();
|
||||
if(!valueEngineListEngine["CpuCount"].isNull())
|
||||
engineListObject.cpuCount = valueEngineListEngine["CpuCount"].asString();
|
||||
if(!valueEngineListEngine["MemorySize"].isNull())
|
||||
engineListObject.memorySize = valueEngineListEngine["MemorySize"].asString();
|
||||
if(!valueEngineListEngine["CoreCount"].isNull())
|
||||
engineListObject.coreCount = valueEngineListEngine["CoreCount"].asString();
|
||||
if(!valueEngineListEngine["IsLastVersion"].isNull())
|
||||
engineListObject.isLastVersion = valueEngineListEngine["IsLastVersion"].asString() == "true";
|
||||
engineList_.push_back(engineListObject);
|
||||
}
|
||||
if(!value["InstanceId"].isNull())
|
||||
instanceId_ = value["InstanceId"].asString();
|
||||
if(!value["InstanceAlias"].isNull())
|
||||
instanceAlias_ = value["InstanceAlias"].asString();
|
||||
if(!value["RegionId"].isNull())
|
||||
regionId_ = value["RegionId"].asString();
|
||||
if(!value["ZoneId"].isNull())
|
||||
zoneId_ = value["ZoneId"].asString();
|
||||
if(!value["InstanceStatus"].isNull())
|
||||
instanceStatus_ = value["InstanceStatus"].asString();
|
||||
if(!value["PayType"].isNull())
|
||||
payType_ = value["PayType"].asString();
|
||||
if(!value["NetworkType"].isNull())
|
||||
networkType_ = value["NetworkType"].asString();
|
||||
if(!value["CreateTime"].isNull())
|
||||
createTime_ = value["CreateTime"].asString();
|
||||
if(!value["ExpireTime"].isNull())
|
||||
expireTime_ = value["ExpireTime"].asString();
|
||||
if(!value["InstanceStorage"].isNull())
|
||||
instanceStorage_ = value["InstanceStorage"].asString();
|
||||
if(!value["VpcId"].isNull())
|
||||
vpcId_ = value["VpcId"].asString();
|
||||
if(!value["VswitchId"].isNull())
|
||||
vswitchId_ = value["VswitchId"].asString();
|
||||
if(!value["AutoRenew"].isNull())
|
||||
autoRenew_ = value["AutoRenew"].asString() == "true";
|
||||
if(!value["EngineType"].isNull())
|
||||
engineType_ = std::stoi(value["EngineType"].asString());
|
||||
if(!value["ServiceType"].isNull())
|
||||
serviceType_ = value["ServiceType"].asString();
|
||||
if(!value["DeletionProtection"].isNull())
|
||||
deletionProtection_ = value["DeletionProtection"].asString();
|
||||
if(!value["DiskCategory"].isNull())
|
||||
diskCategory_ = value["DiskCategory"].asString();
|
||||
if(!value["ColdStorage"].isNull())
|
||||
coldStorage_ = std::stoi(value["ColdStorage"].asString());
|
||||
if(!value["EnableBDS"].isNull())
|
||||
enableBDS_ = value["EnableBDS"].asString() == "true";
|
||||
if(!value["AliUid"].isNull())
|
||||
aliUid_ = std::stol(value["AliUid"].asString());
|
||||
if(!value["EnableFS"].isNull())
|
||||
enableFS_ = value["EnableFS"].asString() == "true";
|
||||
if(!value["EnablePhoenix"].isNull())
|
||||
enablePhoenix_ = value["EnablePhoenix"].asString() == "true";
|
||||
if(!value["DiskUsage"].isNull())
|
||||
diskUsage_ = value["DiskUsage"].asString();
|
||||
if(!value["DiskThreshold"].isNull())
|
||||
diskThreshold_ = value["DiskThreshold"].asString();
|
||||
if(!value["CreateMilliseconds"].isNull())
|
||||
createMilliseconds_ = std::stol(value["CreateMilliseconds"].asString());
|
||||
if(!value["ExpiredMilliseconds"].isNull())
|
||||
expiredMilliseconds_ = std::stol(value["ExpiredMilliseconds"].asString());
|
||||
|
||||
}
|
||||
|
||||
long GetLindormInstanceResult::getExpiredMilliseconds()const
|
||||
{
|
||||
return expiredMilliseconds_;
|
||||
}
|
||||
|
||||
std::vector<GetLindormInstanceResult::Engine> GetLindormInstanceResult::getEngineList()const
|
||||
{
|
||||
return engineList_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getDiskThreshold()const
|
||||
{
|
||||
return diskThreshold_;
|
||||
}
|
||||
|
||||
bool GetLindormInstanceResult::getEnableBDS()const
|
||||
{
|
||||
return enableBDS_;
|
||||
}
|
||||
|
||||
bool GetLindormInstanceResult::getAutoRenew()const
|
||||
{
|
||||
return autoRenew_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getDiskUsage()const
|
||||
{
|
||||
return diskUsage_;
|
||||
}
|
||||
|
||||
bool GetLindormInstanceResult::getEnableFS()const
|
||||
{
|
||||
return enableFS_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getInstanceAlias()const
|
||||
{
|
||||
return instanceAlias_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getInstanceStatus()const
|
||||
{
|
||||
return instanceStatus_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getNetworkType()const
|
||||
{
|
||||
return networkType_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getServiceType()const
|
||||
{
|
||||
return serviceType_;
|
||||
}
|
||||
|
||||
int GetLindormInstanceResult::getEngineType()const
|
||||
{
|
||||
return engineType_;
|
||||
}
|
||||
|
||||
long GetLindormInstanceResult::getCreateMilliseconds()const
|
||||
{
|
||||
return createMilliseconds_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getInstanceStorage()const
|
||||
{
|
||||
return instanceStorage_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getCreateTime()const
|
||||
{
|
||||
return createTime_;
|
||||
}
|
||||
|
||||
int GetLindormInstanceResult::getColdStorage()const
|
||||
{
|
||||
return coldStorage_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getDiskCategory()const
|
||||
{
|
||||
return diskCategory_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getPayType()const
|
||||
{
|
||||
return payType_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getDeletionProtection()const
|
||||
{
|
||||
return deletionProtection_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getVswitchId()const
|
||||
{
|
||||
return vswitchId_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getVpcId()const
|
||||
{
|
||||
return vpcId_;
|
||||
}
|
||||
|
||||
bool GetLindormInstanceResult::getEnablePhoenix()const
|
||||
{
|
||||
return enablePhoenix_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceResult::getExpireTime()const
|
||||
{
|
||||
return expireTime_;
|
||||
}
|
||||
|
||||
long GetLindormInstanceResult::getAliUid()const
|
||||
{
|
||||
return aliUid_;
|
||||
}
|
||||
|
||||
@@ -1,139 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/ModifyHiTSDBInstanceClassRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::ModifyHiTSDBInstanceClassRequest;
|
||||
|
||||
ModifyHiTSDBInstanceClassRequest::ModifyHiTSDBInstanceClassRequest() :
|
||||
RpcServiceRequest("hitsdb", "2017-06-01", "ModifyHiTSDBInstanceClass")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyHiTSDBInstanceClassRequest::~ModifyHiTSDBInstanceClassRequest()
|
||||
{}
|
||||
|
||||
long ModifyHiTSDBInstanceClassRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceClassRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceClassRequest::getInstanceClass()const
|
||||
{
|
||||
return instanceClass_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceClassRequest::setInstanceClass(const std::string& instanceClass)
|
||||
{
|
||||
instanceClass_ = instanceClass;
|
||||
setParameter("InstanceClass", instanceClass);
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceClassRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceClassRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceClassRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceClassRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceClassRequest::getInstanceStorage()const
|
||||
{
|
||||
return instanceStorage_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceClassRequest::setInstanceStorage(const std::string& instanceStorage)
|
||||
{
|
||||
instanceStorage_ = instanceStorage;
|
||||
setParameter("InstanceStorage", instanceStorage);
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceClassRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceClassRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceClassRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceClassRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long ModifyHiTSDBInstanceClassRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceClassRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceClassRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceClassRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceClassRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceClassRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/ModifyHiTSDBInstanceClassResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
ModifyHiTSDBInstanceClassResult::ModifyHiTSDBInstanceClassResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyHiTSDBInstanceClassResult::ModifyHiTSDBInstanceClassResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyHiTSDBInstanceClassResult::~ModifyHiTSDBInstanceClassResult()
|
||||
{}
|
||||
|
||||
void ModifyHiTSDBInstanceClassResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,128 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/ModifyHiTSDBInstanceSecurityIpListRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::ModifyHiTSDBInstanceSecurityIpListRequest;
|
||||
|
||||
ModifyHiTSDBInstanceSecurityIpListRequest::ModifyHiTSDBInstanceSecurityIpListRequest() :
|
||||
RpcServiceRequest("hitsdb", "2017-06-01", "ModifyHiTSDBInstanceSecurityIpList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyHiTSDBInstanceSecurityIpListRequest::~ModifyHiTSDBInstanceSecurityIpListRequest()
|
||||
{}
|
||||
|
||||
long ModifyHiTSDBInstanceSecurityIpListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceSecurityIpListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceSecurityIpListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceSecurityIpListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceSecurityIpListRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceSecurityIpListRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceSecurityIpListRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceSecurityIpListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceSecurityIpListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceSecurityIpListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long ModifyHiTSDBInstanceSecurityIpListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceSecurityIpListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceSecurityIpListRequest::getGroupName()const
|
||||
{
|
||||
return groupName_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceSecurityIpListRequest::setGroupName(const std::string& groupName)
|
||||
{
|
||||
groupName_ = groupName;
|
||||
setParameter("GroupName", groupName);
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceSecurityIpListRequest::getSecurityIpList()const
|
||||
{
|
||||
return securityIpList_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceSecurityIpListRequest::setSecurityIpList(const std::string& securityIpList)
|
||||
{
|
||||
securityIpList_ = securityIpList;
|
||||
setParameter("SecurityIpList", securityIpList);
|
||||
}
|
||||
|
||||
std::string ModifyHiTSDBInstanceSecurityIpListRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ModifyHiTSDBInstanceSecurityIpListRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/ModifyHiTSDBInstanceSecurityIpListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
ModifyHiTSDBInstanceSecurityIpListResult::ModifyHiTSDBInstanceSecurityIpListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyHiTSDBInstanceSecurityIpListResult::ModifyHiTSDBInstanceSecurityIpListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyHiTSDBInstanceSecurityIpListResult::~ModifyHiTSDBInstanceSecurityIpListResult()
|
||||
{}
|
||||
|
||||
void ModifyHiTSDBInstanceSecurityIpListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,128 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/RenameHiTSDBInstanceAliasRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::RenameHiTSDBInstanceAliasRequest;
|
||||
|
||||
RenameHiTSDBInstanceAliasRequest::RenameHiTSDBInstanceAliasRequest() :
|
||||
RpcServiceRequest("hitsdb", "2017-06-01", "RenameHiTSDBInstanceAlias")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RenameHiTSDBInstanceAliasRequest::~RenameHiTSDBInstanceAliasRequest()
|
||||
{}
|
||||
|
||||
long RenameHiTSDBInstanceAliasRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void RenameHiTSDBInstanceAliasRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string RenameHiTSDBInstanceAliasRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void RenameHiTSDBInstanceAliasRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string RenameHiTSDBInstanceAliasRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void RenameHiTSDBInstanceAliasRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string RenameHiTSDBInstanceAliasRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void RenameHiTSDBInstanceAliasRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string RenameHiTSDBInstanceAliasRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void RenameHiTSDBInstanceAliasRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string RenameHiTSDBInstanceAliasRequest::getInstanceAlias()const
|
||||
{
|
||||
return instanceAlias_;
|
||||
}
|
||||
|
||||
void RenameHiTSDBInstanceAliasRequest::setInstanceAlias(const std::string& instanceAlias)
|
||||
{
|
||||
instanceAlias_ = instanceAlias;
|
||||
setParameter("InstanceAlias", instanceAlias);
|
||||
}
|
||||
|
||||
long RenameHiTSDBInstanceAliasRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void RenameHiTSDBInstanceAliasRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string RenameHiTSDBInstanceAliasRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void RenameHiTSDBInstanceAliasRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string RenameHiTSDBInstanceAliasRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void RenameHiTSDBInstanceAliasRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/RenameHiTSDBInstanceAliasResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
RenameHiTSDBInstanceAliasResult::RenameHiTSDBInstanceAliasResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RenameHiTSDBInstanceAliasResult::RenameHiTSDBInstanceAliasResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RenameHiTSDBInstanceAliasResult::~RenameHiTSDBInstanceAliasResult()
|
||||
{}
|
||||
|
||||
void RenameHiTSDBInstanceAliasResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,139 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/RenewTSDBInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::RenewTSDBInstanceRequest;
|
||||
|
||||
RenewTSDBInstanceRequest::RenewTSDBInstanceRequest() :
|
||||
RpcServiceRequest("hitsdb", "2017-06-01", "RenewTSDBInstance")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RenewTSDBInstanceRequest::~RenewTSDBInstanceRequest()
|
||||
{}
|
||||
|
||||
long RenewTSDBInstanceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void RenewTSDBInstanceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string RenewTSDBInstanceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void RenewTSDBInstanceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int RenewTSDBInstanceRequest::getDuration()const
|
||||
{
|
||||
return duration_;
|
||||
}
|
||||
|
||||
void RenewTSDBInstanceRequest::setDuration(int duration)
|
||||
{
|
||||
duration_ = duration;
|
||||
setParameter("Duration", std::to_string(duration));
|
||||
}
|
||||
|
||||
std::string RenewTSDBInstanceRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void RenewTSDBInstanceRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string RenewTSDBInstanceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void RenewTSDBInstanceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string RenewTSDBInstanceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void RenewTSDBInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string RenewTSDBInstanceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void RenewTSDBInstanceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long RenewTSDBInstanceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void RenewTSDBInstanceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string RenewTSDBInstanceRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void RenewTSDBInstanceRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string RenewTSDBInstanceRequest::getPricingCycle()const
|
||||
{
|
||||
return pricingCycle_;
|
||||
}
|
||||
|
||||
void RenewTSDBInstanceRequest::setPricingCycle(const std::string& pricingCycle)
|
||||
{
|
||||
pricingCycle_ = pricingCycle;
|
||||
setParameter("PricingCycle", pricingCycle);
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/RenewTSDBInstanceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
RenewTSDBInstanceResult::RenewTSDBInstanceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RenewTSDBInstanceResult::RenewTSDBInstanceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RenewTSDBInstanceResult::~RenewTSDBInstanceResult()
|
||||
{}
|
||||
|
||||
void RenewTSDBInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = std::stol(value["OrderId"].asString());
|
||||
|
||||
}
|
||||
|
||||
long RenewTSDBInstanceResult::getOrderId()const
|
||||
{
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
@@ -1,106 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/RestartHiTSDBInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::RestartHiTSDBInstanceRequest;
|
||||
|
||||
RestartHiTSDBInstanceRequest::RestartHiTSDBInstanceRequest() :
|
||||
RpcServiceRequest("hitsdb", "2017-06-01", "RestartHiTSDBInstance")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RestartHiTSDBInstanceRequest::~RestartHiTSDBInstanceRequest()
|
||||
{}
|
||||
|
||||
long RestartHiTSDBInstanceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void RestartHiTSDBInstanceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string RestartHiTSDBInstanceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void RestartHiTSDBInstanceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string RestartHiTSDBInstanceRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void RestartHiTSDBInstanceRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string RestartHiTSDBInstanceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void RestartHiTSDBInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string RestartHiTSDBInstanceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void RestartHiTSDBInstanceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long RestartHiTSDBInstanceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void RestartHiTSDBInstanceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string RestartHiTSDBInstanceRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void RestartHiTSDBInstanceRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/RestartHiTSDBInstanceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
RestartHiTSDBInstanceResult::RestartHiTSDBInstanceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RestartHiTSDBInstanceResult::RestartHiTSDBInstanceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RestartHiTSDBInstanceResult::~RestartHiTSDBInstanceResult()
|
||||
{}
|
||||
|
||||
void RestartHiTSDBInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,117 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/SwitchHiTSDBInstancePublicNetRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::SwitchHiTSDBInstancePublicNetRequest;
|
||||
|
||||
SwitchHiTSDBInstancePublicNetRequest::SwitchHiTSDBInstancePublicNetRequest() :
|
||||
RpcServiceRequest("hitsdb", "2017-06-01", "SwitchHiTSDBInstancePublicNet")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SwitchHiTSDBInstancePublicNetRequest::~SwitchHiTSDBInstancePublicNetRequest()
|
||||
{}
|
||||
|
||||
long SwitchHiTSDBInstancePublicNetRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void SwitchHiTSDBInstancePublicNetRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string SwitchHiTSDBInstancePublicNetRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void SwitchHiTSDBInstancePublicNetRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string SwitchHiTSDBInstancePublicNetRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void SwitchHiTSDBInstancePublicNetRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
long SwitchHiTSDBInstancePublicNetRequest::getSwitchAction()const
|
||||
{
|
||||
return switchAction_;
|
||||
}
|
||||
|
||||
void SwitchHiTSDBInstancePublicNetRequest::setSwitchAction(long switchAction)
|
||||
{
|
||||
switchAction_ = switchAction;
|
||||
setParameter("SwitchAction", std::to_string(switchAction));
|
||||
}
|
||||
|
||||
std::string SwitchHiTSDBInstancePublicNetRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void SwitchHiTSDBInstancePublicNetRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string SwitchHiTSDBInstancePublicNetRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void SwitchHiTSDBInstancePublicNetRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long SwitchHiTSDBInstancePublicNetRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void SwitchHiTSDBInstancePublicNetRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string SwitchHiTSDBInstancePublicNetRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void SwitchHiTSDBInstancePublicNetRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/SwitchHiTSDBInstancePublicNetResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
SwitchHiTSDBInstancePublicNetResult::SwitchHiTSDBInstancePublicNetResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SwitchHiTSDBInstancePublicNetResult::SwitchHiTSDBInstancePublicNetResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SwitchHiTSDBInstancePublicNetResult::~SwitchHiTSDBInstancePublicNetResult()
|
||||
{}
|
||||
|
||||
void SwitchHiTSDBInstancePublicNetResult::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