Add ListTagResources api.

This commit is contained in:
sdk-team
2022-04-06 03:51:09 +00:00
parent 722e455a40
commit 417b73c84f
41 changed files with 2403 additions and 1609 deletions

View File

@@ -1,3 +1,8 @@
2022-04-06 Version: 1.36.1097
- Add ListTagResources api.
- Add TagResources api.
- Add UntagResources api.
2022-04-06 Version: 1.36.1096 2022-04-06 Version: 1.36.1096
- Support output dagName, dagOwnerId for api listTaskFlowAndScenario. - Support output dagName, dagOwnerId for api listTaskFlowAndScenario.
- Change output DbType to DwDbType for api GetLhSpaceByName. - Change output DbType to DwDbType for api GetLhSpaceByName.

View File

@@ -1 +1 @@
1.36.1096 1.36.1097

View File

@@ -33,8 +33,14 @@ set(hitsdb_public_header_model
include/alibabacloud/hitsdb/model/GetLindormInstanceEngineListResult.h include/alibabacloud/hitsdb/model/GetLindormInstanceEngineListResult.h
include/alibabacloud/hitsdb/model/GetLindormInstanceListRequest.h include/alibabacloud/hitsdb/model/GetLindormInstanceListRequest.h
include/alibabacloud/hitsdb/model/GetLindormInstanceListResult.h include/alibabacloud/hitsdb/model/GetLindormInstanceListResult.h
include/alibabacloud/hitsdb/model/ListTagResourcesRequest.h
include/alibabacloud/hitsdb/model/ListTagResourcesResult.h
include/alibabacloud/hitsdb/model/ReleaseLindormInstanceRequest.h include/alibabacloud/hitsdb/model/ReleaseLindormInstanceRequest.h
include/alibabacloud/hitsdb/model/ReleaseLindormInstanceResult.h include/alibabacloud/hitsdb/model/ReleaseLindormInstanceResult.h
include/alibabacloud/hitsdb/model/TagResourcesRequest.h
include/alibabacloud/hitsdb/model/TagResourcesResult.h
include/alibabacloud/hitsdb/model/UntagResourcesRequest.h
include/alibabacloud/hitsdb/model/UntagResourcesResult.h
include/alibabacloud/hitsdb/model/UpdateInstanceIpWhiteListRequest.h include/alibabacloud/hitsdb/model/UpdateInstanceIpWhiteListRequest.h
include/alibabacloud/hitsdb/model/UpdateInstanceIpWhiteListResult.h include/alibabacloud/hitsdb/model/UpdateInstanceIpWhiteListResult.h
include/alibabacloud/hitsdb/model/UpgradeLindormInstanceRequest.h include/alibabacloud/hitsdb/model/UpgradeLindormInstanceRequest.h
@@ -54,8 +60,14 @@ set(hitsdb_src
src/model/GetLindormInstanceEngineListResult.cc src/model/GetLindormInstanceEngineListResult.cc
src/model/GetLindormInstanceListRequest.cc src/model/GetLindormInstanceListRequest.cc
src/model/GetLindormInstanceListResult.cc src/model/GetLindormInstanceListResult.cc
src/model/ListTagResourcesRequest.cc
src/model/ListTagResourcesResult.cc
src/model/ReleaseLindormInstanceRequest.cc src/model/ReleaseLindormInstanceRequest.cc
src/model/ReleaseLindormInstanceResult.cc src/model/ReleaseLindormInstanceResult.cc
src/model/TagResourcesRequest.cc
src/model/TagResourcesResult.cc
src/model/UntagResourcesRequest.cc
src/model/UntagResourcesResult.cc
src/model/UpdateInstanceIpWhiteListRequest.cc src/model/UpdateInstanceIpWhiteListRequest.cc
src/model/UpdateInstanceIpWhiteListResult.cc src/model/UpdateInstanceIpWhiteListResult.cc
src/model/UpgradeLindormInstanceRequest.cc src/model/UpgradeLindormInstanceRequest.cc

View File

@@ -34,8 +34,14 @@
#include "model/GetLindormInstanceEngineListResult.h" #include "model/GetLindormInstanceEngineListResult.h"
#include "model/GetLindormInstanceListRequest.h" #include "model/GetLindormInstanceListRequest.h"
#include "model/GetLindormInstanceListResult.h" #include "model/GetLindormInstanceListResult.h"
#include "model/ListTagResourcesRequest.h"
#include "model/ListTagResourcesResult.h"
#include "model/ReleaseLindormInstanceRequest.h" #include "model/ReleaseLindormInstanceRequest.h"
#include "model/ReleaseLindormInstanceResult.h" #include "model/ReleaseLindormInstanceResult.h"
#include "model/TagResourcesRequest.h"
#include "model/TagResourcesResult.h"
#include "model/UntagResourcesRequest.h"
#include "model/UntagResourcesResult.h"
#include "model/UpdateInstanceIpWhiteListRequest.h" #include "model/UpdateInstanceIpWhiteListRequest.h"
#include "model/UpdateInstanceIpWhiteListResult.h" #include "model/UpdateInstanceIpWhiteListResult.h"
#include "model/UpgradeLindormInstanceRequest.h" #include "model/UpgradeLindormInstanceRequest.h"
@@ -67,9 +73,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetLindormInstanceListResult> GetLindormInstanceListOutcome; typedef Outcome<Error, Model::GetLindormInstanceListResult> GetLindormInstanceListOutcome;
typedef std::future<GetLindormInstanceListOutcome> GetLindormInstanceListOutcomeCallable; typedef std::future<GetLindormInstanceListOutcome> GetLindormInstanceListOutcomeCallable;
typedef std::function<void(const HitsdbClient*, const Model::GetLindormInstanceListRequest&, const GetLindormInstanceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLindormInstanceListAsyncHandler; typedef std::function<void(const HitsdbClient*, const Model::GetLindormInstanceListRequest&, const GetLindormInstanceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLindormInstanceListAsyncHandler;
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
typedef std::function<void(const HitsdbClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
typedef Outcome<Error, Model::ReleaseLindormInstanceResult> ReleaseLindormInstanceOutcome; typedef Outcome<Error, Model::ReleaseLindormInstanceResult> ReleaseLindormInstanceOutcome;
typedef std::future<ReleaseLindormInstanceOutcome> ReleaseLindormInstanceOutcomeCallable; typedef std::future<ReleaseLindormInstanceOutcome> ReleaseLindormInstanceOutcomeCallable;
typedef std::function<void(const HitsdbClient*, const Model::ReleaseLindormInstanceRequest&, const ReleaseLindormInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReleaseLindormInstanceAsyncHandler; typedef std::function<void(const HitsdbClient*, const Model::ReleaseLindormInstanceRequest&, const ReleaseLindormInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReleaseLindormInstanceAsyncHandler;
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
typedef std::function<void(const HitsdbClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
typedef Outcome<Error, Model::UntagResourcesResult> UntagResourcesOutcome;
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
typedef std::function<void(const HitsdbClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
typedef Outcome<Error, Model::UpdateInstanceIpWhiteListResult> UpdateInstanceIpWhiteListOutcome; typedef Outcome<Error, Model::UpdateInstanceIpWhiteListResult> UpdateInstanceIpWhiteListOutcome;
typedef std::future<UpdateInstanceIpWhiteListOutcome> UpdateInstanceIpWhiteListOutcomeCallable; typedef std::future<UpdateInstanceIpWhiteListOutcome> UpdateInstanceIpWhiteListOutcomeCallable;
typedef std::function<void(const HitsdbClient*, const Model::UpdateInstanceIpWhiteListRequest&, const UpdateInstanceIpWhiteListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateInstanceIpWhiteListAsyncHandler; typedef std::function<void(const HitsdbClient*, const Model::UpdateInstanceIpWhiteListRequest&, const UpdateInstanceIpWhiteListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateInstanceIpWhiteListAsyncHandler;
@@ -99,9 +114,18 @@ namespace AlibabaCloud
GetLindormInstanceListOutcome getLindormInstanceList(const Model::GetLindormInstanceListRequest &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; 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; GetLindormInstanceListOutcomeCallable getLindormInstanceListCallable(const Model::GetLindormInstanceListRequest& request) const;
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
ReleaseLindormInstanceOutcome releaseLindormInstance(const Model::ReleaseLindormInstanceRequest &request)const; ReleaseLindormInstanceOutcome releaseLindormInstance(const Model::ReleaseLindormInstanceRequest &request)const;
void releaseLindormInstanceAsync(const Model::ReleaseLindormInstanceRequest& request, const ReleaseLindormInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void releaseLindormInstanceAsync(const Model::ReleaseLindormInstanceRequest& request, const ReleaseLindormInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReleaseLindormInstanceOutcomeCallable releaseLindormInstanceCallable(const Model::ReleaseLindormInstanceRequest& request) const; ReleaseLindormInstanceOutcomeCallable releaseLindormInstanceCallable(const Model::ReleaseLindormInstanceRequest& request) const;
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const;
void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const;
UpdateInstanceIpWhiteListOutcome updateInstanceIpWhiteList(const Model::UpdateInstanceIpWhiteListRequest &request)const; UpdateInstanceIpWhiteListOutcome updateInstanceIpWhiteList(const Model::UpdateInstanceIpWhiteListRequest &request)const;
void updateInstanceIpWhiteListAsync(const Model::UpdateInstanceIpWhiteListRequest& request, const UpdateInstanceIpWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void updateInstanceIpWhiteListAsync(const Model::UpdateInstanceIpWhiteListRequest& request, const UpdateInstanceIpWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateInstanceIpWhiteListOutcomeCallable updateInstanceIpWhiteListCallable(const Model::UpdateInstanceIpWhiteListRequest& request) const; UpdateInstanceIpWhiteListOutcomeCallable updateInstanceIpWhiteListCallable(const Model::UpdateInstanceIpWhiteListRequest& request) const;

View File

@@ -1,126 +1,120 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_HITSDB_MODEL_CREATELINDORMINSTANCEREQUEST_H_ #ifndef ALIBABACLOUD_HITSDB_MODEL_CREATELINDORMINSTANCEREQUEST_H_
#define ALIBABACLOUD_HITSDB_MODEL_CREATELINDORMINSTANCEREQUEST_H_ #define ALIBABACLOUD_HITSDB_MODEL_CREATELINDORMINSTANCEREQUEST_H_
#include <string> #include <alibabacloud/hitsdb/HitsdbExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/hitsdb/HitsdbExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Hitsdb namespace Hitsdb {
{ namespace Model {
namespace Model class ALIBABACLOUD_HITSDB_EXPORT CreateLindormInstanceRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_HITSDB_EXPORT CreateLindormInstanceRequest : public RpcServiceRequest CreateLindormInstanceRequest();
{ ~CreateLindormInstanceRequest();
long getResourceOwnerId() const;
public: void setResourceOwnerId(long resourceOwnerId);
CreateLindormInstanceRequest(); std::string getClientToken() const;
~CreateLindormInstanceRequest(); void setClientToken(const std::string &clientToken);
std::string getTsdbSpec() const;
long getResourceOwnerId()const; void setTsdbSpec(const std::string &tsdbSpec);
void setResourceOwnerId(long resourceOwnerId); std::string getFilestoreSpec() const;
std::string getClientToken()const; void setFilestoreSpec(const std::string &filestoreSpec);
void setClientToken(const std::string& clientToken); std::string getAccessKeyId() const;
std::string getTsdbSpec()const; void setAccessKeyId(const std::string &accessKeyId);
void setTsdbSpec(const std::string& tsdbSpec); std::string getDuration() const;
std::string getFilestoreSpec()const; void setDuration(const std::string &duration);
void setFilestoreSpec(const std::string& filestoreSpec); std::string getSecurityToken() const;
std::string getAccessKeyId()const; void setSecurityToken(const std::string &securityToken);
void setAccessKeyId(const std::string& accessKeyId); std::string getRegionId() const;
std::string getDuration()const; void setRegionId(const std::string &regionId);
void setDuration(const std::string& duration); int getTsdbNum() const;
std::string getSecurityToken()const; void setTsdbNum(int tsdbNum);
void setSecurityToken(const std::string& securityToken); std::string getDiskCategory() const;
std::string getRegionId()const; void setDiskCategory(const std::string &diskCategory);
void setRegionId(const std::string& regionId); std::string getLindormSpec() const;
int getTsdbNum()const; void setLindormSpec(const std::string &lindormSpec);
void setTsdbNum(int tsdbNum); int getSolrNum() const;
std::string getDiskCategory()const; void setSolrNum(int solrNum);
void setDiskCategory(const std::string& diskCategory); int getColdStorage() const;
std::string getLindormSpec()const; void setColdStorage(int coldStorage);
void setLindormSpec(const std::string& lindormSpec); std::string getInstanceStorage() const;
int getSolrNum()const; void setInstanceStorage(const std::string &instanceStorage);
void setSolrNum(int solrNum); std::string getSolrSpec() const;
int getColdStorage()const; void setSolrSpec(const std::string &solrSpec);
void setColdStorage(int coldStorage); std::string getResourceOwnerAccount() const;
std::string getInstanceStorage()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setInstanceStorage(const std::string& instanceStorage); std::string getOwnerAccount() const;
std::string getSolrSpec()const; void setOwnerAccount(const std::string &ownerAccount);
void setSolrSpec(const std::string& solrSpec); std::string getInstanceAlias() const;
std::string getResourceOwnerAccount()const; void setInstanceAlias(const std::string &instanceAlias);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); int getFilestoreNum() const;
std::string getOwnerAccount()const; void setFilestoreNum(int filestoreNum);
void setOwnerAccount(const std::string& ownerAccount); long getOwnerId() const;
std::string getInstanceAlias()const; void setOwnerId(long ownerId);
void setInstanceAlias(const std::string& instanceAlias); int getLindormNum() const;
int getFilestoreNum()const; void setLindormNum(int lindormNum);
void setFilestoreNum(int filestoreNum); std::string getCoreSpec() const;
long getOwnerId()const; void setCoreSpec(const std::string &coreSpec);
void setOwnerId(long ownerId); std::string getVSwitchId() const;
int getLindormNum()const; void setVSwitchId(const std::string &vSwitchId);
void setLindormNum(int lindormNum); std::string getVPCId() const;
std::string getCoreSpec()const; void setVPCId(const std::string &vPCId);
void setCoreSpec(const std::string& coreSpec); std::string getZoneId() const;
std::string getVSwitchId()const; void setZoneId(const std::string &zoneId);
void setVSwitchId(const std::string& vSwitchId); std::string getPayType() const;
std::string getVPCId()const; void setPayType(const std::string &payType);
void setVPCId(const std::string& vPCId); std::string getPricingCycle() const;
std::string getZoneId()const; void setPricingCycle(const std::string &pricingCycle);
void setZoneId(const std::string& zoneId);
std::string getPayType()const; private:
void setPayType(const std::string& payType); long resourceOwnerId_;
std::string getPricingCycle()const; std::string clientToken_;
void setPricingCycle(const std::string& pricingCycle); std::string tsdbSpec_;
std::string filestoreSpec_;
private: std::string accessKeyId_;
long resourceOwnerId_; std::string duration_;
std::string clientToken_; std::string securityToken_;
std::string tsdbSpec_; std::string regionId_;
std::string filestoreSpec_; int tsdbNum_;
std::string accessKeyId_; std::string diskCategory_;
std::string duration_; std::string lindormSpec_;
std::string securityToken_; int solrNum_;
std::string regionId_; int coldStorage_;
int tsdbNum_; std::string instanceStorage_;
std::string diskCategory_; std::string solrSpec_;
std::string lindormSpec_; std::string resourceOwnerAccount_;
int solrNum_; std::string ownerAccount_;
int coldStorage_; std::string instanceAlias_;
std::string instanceStorage_; int filestoreNum_;
std::string solrSpec_; long ownerId_;
std::string resourceOwnerAccount_; int lindormNum_;
std::string ownerAccount_; std::string coreSpec_;
std::string instanceAlias_; std::string vSwitchId_;
int filestoreNum_; std::string vPCId_;
long ownerId_; std::string zoneId_;
int lindormNum_; std::string payType_;
std::string coreSpec_; std::string pricingCycle_;
std::string vSwitchId_; };
std::string vPCId_; } // namespace Model
std::string zoneId_; } // namespace Hitsdb
std::string payType_; } // namespace AlibabaCloud
std::string pricingCycle_; #endif // !ALIBABACLOUD_HITSDB_MODEL_CREATELINDORMINSTANCEREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_HITSDB_MODEL_CREATELINDORMINSTANCEREQUEST_H_

View File

@@ -1,66 +1,60 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_HITSDB_MODEL_DESCRIBEREGIONSREQUEST_H_ #ifndef ALIBABACLOUD_HITSDB_MODEL_DESCRIBEREGIONSREQUEST_H_
#define ALIBABACLOUD_HITSDB_MODEL_DESCRIBEREGIONSREQUEST_H_ #define ALIBABACLOUD_HITSDB_MODEL_DESCRIBEREGIONSREQUEST_H_
#include <string> #include <alibabacloud/hitsdb/HitsdbExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/hitsdb/HitsdbExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Hitsdb namespace Hitsdb {
{ namespace Model {
namespace Model class ALIBABACLOUD_HITSDB_EXPORT DescribeRegionsRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_HITSDB_EXPORT DescribeRegionsRequest : public RpcServiceRequest DescribeRegionsRequest();
{ ~DescribeRegionsRequest();
long getResourceOwnerId() const;
public: void setResourceOwnerId(long resourceOwnerId);
DescribeRegionsRequest(); std::string getAccessKeyId() const;
~DescribeRegionsRequest(); void setAccessKeyId(const std::string &accessKeyId);
std::string getSecurityToken() const;
long getResourceOwnerId()const; void setSecurityToken(const std::string &securityToken);
void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount() const;
std::string getAccessKeyId()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setAccessKeyId(const std::string& accessKeyId); std::string getOwnerAccount() const;
std::string getSecurityToken()const; void setOwnerAccount(const std::string &ownerAccount);
void setSecurityToken(const std::string& securityToken); long getOwnerId() const;
std::string getResourceOwnerAccount()const; void setOwnerId(long ownerId);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getAcceptLanguage() const;
std::string getOwnerAccount()const; void setAcceptLanguage(const std::string &acceptLanguage);
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const; private:
void setOwnerId(long ownerId); long resourceOwnerId_;
std::string getAcceptLanguage()const; std::string accessKeyId_;
void setAcceptLanguage(const std::string& acceptLanguage); std::string securityToken_;
std::string resourceOwnerAccount_;
private: std::string ownerAccount_;
long resourceOwnerId_; long ownerId_;
std::string accessKeyId_; std::string acceptLanguage_;
std::string securityToken_; };
std::string resourceOwnerAccount_; } // namespace Model
std::string ownerAccount_; } // namespace Hitsdb
long ownerId_; } // namespace AlibabaCloud
std::string acceptLanguage_; #endif // !ALIBABACLOUD_HITSDB_MODEL_DESCRIBEREGIONSREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_HITSDB_MODEL_DESCRIBEREGIONSREQUEST_H_

View File

@@ -1,69 +1,63 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_HITSDB_MODEL_GETINSTANCEIPWHITELISTREQUEST_H_ #ifndef ALIBABACLOUD_HITSDB_MODEL_GETINSTANCEIPWHITELISTREQUEST_H_
#define ALIBABACLOUD_HITSDB_MODEL_GETINSTANCEIPWHITELISTREQUEST_H_ #define ALIBABACLOUD_HITSDB_MODEL_GETINSTANCEIPWHITELISTREQUEST_H_
#include <string> #include <alibabacloud/hitsdb/HitsdbExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/hitsdb/HitsdbExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Hitsdb namespace Hitsdb {
{ namespace Model {
namespace Model class ALIBABACLOUD_HITSDB_EXPORT GetInstanceIpWhiteListRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_HITSDB_EXPORT GetInstanceIpWhiteListRequest : public RpcServiceRequest GetInstanceIpWhiteListRequest();
{ ~GetInstanceIpWhiteListRequest();
long getResourceOwnerId() const;
public: void setResourceOwnerId(long resourceOwnerId);
GetInstanceIpWhiteListRequest(); std::string getAccessKeyId() const;
~GetInstanceIpWhiteListRequest(); void setAccessKeyId(const std::string &accessKeyId);
std::string getSecurityToken() const;
long getResourceOwnerId()const; void setSecurityToken(const std::string &securityToken);
void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount() const;
std::string getAccessKeyId()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setAccessKeyId(const std::string& accessKeyId); std::string getOwnerAccount() const;
std::string getSecurityToken()const; void setOwnerAccount(const std::string &ownerAccount);
void setSecurityToken(const std::string& securityToken); long getOwnerId() const;
std::string getResourceOwnerAccount()const; void setOwnerId(long ownerId);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getGroupName() const;
std::string getOwnerAccount()const; void setGroupName(const std::string &groupName);
void setOwnerAccount(const std::string& ownerAccount); std::string getInstanceId() const;
long getOwnerId()const; void setInstanceId(const std::string &instanceId);
void setOwnerId(long ownerId);
std::string getGroupName()const; private:
void setGroupName(const std::string& groupName); long resourceOwnerId_;
std::string getInstanceId()const; std::string accessKeyId_;
void setInstanceId(const std::string& instanceId); std::string securityToken_;
std::string resourceOwnerAccount_;
private: std::string ownerAccount_;
long resourceOwnerId_; long ownerId_;
std::string accessKeyId_; std::string groupName_;
std::string securityToken_; std::string instanceId_;
std::string resourceOwnerAccount_; };
std::string ownerAccount_; } // namespace Model
long ownerId_; } // namespace Hitsdb
std::string groupName_; } // namespace AlibabaCloud
std::string instanceId_; #endif // !ALIBABACLOUD_HITSDB_MODEL_GETINSTANCEIPWHITELISTREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_HITSDB_MODEL_GETINSTANCEIPWHITELISTREQUEST_H_

View File

@@ -1,69 +1,63 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEENGINELISTREQUEST_H_ #ifndef ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEENGINELISTREQUEST_H_
#define ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEENGINELISTREQUEST_H_ #define ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEENGINELISTREQUEST_H_
#include <string> #include <alibabacloud/hitsdb/HitsdbExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/hitsdb/HitsdbExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Hitsdb namespace Hitsdb {
{ namespace Model {
namespace Model class ALIBABACLOUD_HITSDB_EXPORT GetLindormInstanceEngineListRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_HITSDB_EXPORT GetLindormInstanceEngineListRequest : public RpcServiceRequest GetLindormInstanceEngineListRequest();
{ ~GetLindormInstanceEngineListRequest();
long getResourceOwnerId() const;
public: void setResourceOwnerId(long resourceOwnerId);
GetLindormInstanceEngineListRequest(); std::string getAccessKeyId() const;
~GetLindormInstanceEngineListRequest(); void setAccessKeyId(const std::string &accessKeyId);
std::string getSecurityToken() const;
long getResourceOwnerId()const; void setSecurityToken(const std::string &securityToken);
void setResourceOwnerId(long resourceOwnerId); std::string getRegionId() const;
std::string getAccessKeyId()const; void setRegionId(const std::string &regionId);
void setAccessKeyId(const std::string& accessKeyId); std::string getResourceOwnerAccount() const;
std::string getSecurityToken()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setSecurityToken(const std::string& securityToken); std::string getOwnerAccount() const;
std::string getRegionId()const; void setOwnerAccount(const std::string &ownerAccount);
void setRegionId(const std::string& regionId); long getOwnerId() const;
std::string getResourceOwnerAccount()const; void setOwnerId(long ownerId);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getInstanceId() const;
std::string getOwnerAccount()const; void setInstanceId(const std::string &instanceId);
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const; private:
void setOwnerId(long ownerId); long resourceOwnerId_;
std::string getInstanceId()const; std::string accessKeyId_;
void setInstanceId(const std::string& instanceId); std::string securityToken_;
std::string regionId_;
private: std::string resourceOwnerAccount_;
long resourceOwnerId_; std::string ownerAccount_;
std::string accessKeyId_; long ownerId_;
std::string securityToken_; std::string instanceId_;
std::string regionId_; };
std::string resourceOwnerAccount_; } // namespace Model
std::string ownerAccount_; } // namespace Hitsdb
long ownerId_; } // namespace AlibabaCloud
std::string instanceId_; #endif // !ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEENGINELISTREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEENGINELISTREQUEST_H_

View File

@@ -1,81 +1,82 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCELISTREQUEST_H_ #ifndef ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCELISTREQUEST_H_
#define ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCELISTREQUEST_H_ #define ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCELISTREQUEST_H_
#include <string> #include <alibabacloud/hitsdb/HitsdbExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/hitsdb/HitsdbExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Hitsdb namespace Hitsdb {
{ namespace Model {
namespace Model class ALIBABACLOUD_HITSDB_EXPORT GetLindormInstanceListRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_HITSDB_EXPORT GetLindormInstanceListRequest : public RpcServiceRequest struct Tag {
{ std::string value;
std::string key;
public: };
GetLindormInstanceListRequest(); GetLindormInstanceListRequest();
~GetLindormInstanceListRequest(); ~GetLindormInstanceListRequest();
long getResourceOwnerId() const;
long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId);
void setResourceOwnerId(long resourceOwnerId); int getSupportEngine() const;
int getSupportEngine()const; void setSupportEngine(int supportEngine);
void setSupportEngine(int supportEngine); int getPageNumber() const;
int getPageNumber()const; void setPageNumber(int pageNumber);
void setPageNumber(int pageNumber); std::string getAccessKeyId() const;
std::string getAccessKeyId()const; void setAccessKeyId(const std::string &accessKeyId);
void setAccessKeyId(const std::string& accessKeyId); std::string getSecurityToken() const;
std::string getSecurityToken()const; void setSecurityToken(const std::string &securityToken);
void setSecurityToken(const std::string& securityToken); std::string getRegionId() const;
std::string getRegionId()const; void setRegionId(const std::string &regionId);
void setRegionId(const std::string& regionId); int getPageSize() const;
int getPageSize()const; void setPageSize(int pageSize);
void setPageSize(int pageSize); std::vector<Tag> getTag() const;
std::string getQueryStr()const; void setTag(const std::vector<Tag> &tag);
void setQueryStr(const std::string& queryStr); std::string getQueryStr() const;
std::string getResourceOwnerAccount()const; void setQueryStr(const std::string &queryStr);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getResourceOwnerAccount() const;
std::string getOwnerAccount()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setOwnerAccount(const std::string& ownerAccount); std::string getOwnerAccount() const;
long getOwnerId()const; void setOwnerAccount(const std::string &ownerAccount);
void setOwnerId(long ownerId); long getOwnerId() const;
std::string getServiceType()const; void setOwnerId(long ownerId);
void setServiceType(const std::string& serviceType); std::string getServiceType() const;
void setServiceType(const std::string &serviceType);
private:
long resourceOwnerId_; private:
int supportEngine_; long resourceOwnerId_;
int pageNumber_; int supportEngine_;
std::string accessKeyId_; int pageNumber_;
std::string securityToken_; std::string accessKeyId_;
std::string regionId_; std::string securityToken_;
int pageSize_; std::string regionId_;
std::string queryStr_; int pageSize_;
std::string resourceOwnerAccount_; std::vector<Tag> tag_;
std::string ownerAccount_; std::string queryStr_;
long ownerId_; std::string resourceOwnerAccount_;
std::string serviceType_; std::string ownerAccount_;
long ownerId_;
}; std::string serviceType_;
} };
} } // namespace Model
} } // namespace Hitsdb
#endif // !ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCELISTREQUEST_H_ } // namespace AlibabaCloud
#endif // !ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCELISTREQUEST_H_

View File

@@ -34,6 +34,11 @@ namespace AlibabaCloud
public: public:
struct LindormInstanceSummary struct LindormInstanceSummary
{ {
struct Tag
{
std::string value;
std::string key;
};
long expiredMilliseconds; long expiredMilliseconds;
std::string instanceStorage; std::string instanceStorage;
std::string zoneId; std::string zoneId;
@@ -50,6 +55,7 @@ namespace AlibabaCloud
std::string regionId; std::string regionId;
std::string expireTime; std::string expireTime;
long createMilliseconds; long createMilliseconds;
std::vector<LindormInstanceSummary::Tag> tags;
long aliUid; long aliUid;
}; };

View File

@@ -1,69 +1,63 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEREQUEST_H_ #ifndef ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEREQUEST_H_
#define ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEREQUEST_H_ #define ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEREQUEST_H_
#include <string> #include <alibabacloud/hitsdb/HitsdbExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/hitsdb/HitsdbExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Hitsdb namespace Hitsdb {
{ namespace Model {
namespace Model class ALIBABACLOUD_HITSDB_EXPORT GetLindormInstanceRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_HITSDB_EXPORT GetLindormInstanceRequest : public RpcServiceRequest GetLindormInstanceRequest();
{ ~GetLindormInstanceRequest();
long getResourceOwnerId() const;
public: void setResourceOwnerId(long resourceOwnerId);
GetLindormInstanceRequest(); std::string getAccessKeyId() const;
~GetLindormInstanceRequest(); void setAccessKeyId(const std::string &accessKeyId);
std::string getSecurityToken() const;
long getResourceOwnerId()const; void setSecurityToken(const std::string &securityToken);
void setResourceOwnerId(long resourceOwnerId); std::string getRegionId() const;
std::string getAccessKeyId()const; void setRegionId(const std::string &regionId);
void setAccessKeyId(const std::string& accessKeyId); std::string getResourceOwnerAccount() const;
std::string getSecurityToken()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setSecurityToken(const std::string& securityToken); std::string getOwnerAccount() const;
std::string getRegionId()const; void setOwnerAccount(const std::string &ownerAccount);
void setRegionId(const std::string& regionId); long getOwnerId() const;
std::string getResourceOwnerAccount()const; void setOwnerId(long ownerId);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getInstanceId() const;
std::string getOwnerAccount()const; void setInstanceId(const std::string &instanceId);
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const; private:
void setOwnerId(long ownerId); long resourceOwnerId_;
std::string getInstanceId()const; std::string accessKeyId_;
void setInstanceId(const std::string& instanceId); std::string securityToken_;
std::string regionId_;
private: std::string resourceOwnerAccount_;
long resourceOwnerId_; std::string ownerAccount_;
std::string accessKeyId_; long ownerId_;
std::string securityToken_; std::string instanceId_;
std::string regionId_; };
std::string resourceOwnerAccount_; } // namespace Model
std::string ownerAccount_; } // namespace Hitsdb
long ownerId_; } // namespace AlibabaCloud
std::string instanceId_; #endif // !ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEREQUEST_H_

View File

@@ -54,6 +54,7 @@ namespace AlibabaCloud
bool getAutoRenew()const; bool getAutoRenew()const;
std::string getDiskUsage()const; std::string getDiskUsage()const;
bool getEnableFS()const; bool getEnableFS()const;
bool getEnableShs()const;
bool getEnableCompute()const; bool getEnableCompute()const;
std::string getNetworkType()const; std::string getNetworkType()const;
std::string getServiceType()const; std::string getServiceType()const;
@@ -90,6 +91,7 @@ namespace AlibabaCloud
bool autoRenew_; bool autoRenew_;
std::string diskUsage_; std::string diskUsage_;
bool enableFS_; bool enableFS_;
bool enableShs_;
bool enableCompute_; bool enableCompute_;
std::string networkType_; std::string networkType_;
std::string serviceType_; std::string serviceType_;

View File

@@ -0,0 +1,76 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_HITSDB_MODEL_LISTTAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_HITSDB_MODEL_LISTTAGRESOURCESREQUEST_H_
#include <alibabacloud/hitsdb/HitsdbExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Hitsdb {
namespace Model {
class ALIBABACLOUD_HITSDB_EXPORT ListTagResourcesRequest : public RpcServiceRequest {
public:
struct Tag {
std::string value;
std::string key;
};
ListTagResourcesRequest();
~ListTagResourcesRequest();
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 getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getNextToken() const;
void setNextToken(const std::string &nextToken);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
std::vector<std::string> getResourceId() const;
void setResourceId(const std::vector<std::string> &resourceId);
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 getResourceType() const;
void setResourceType(const std::string &resourceType);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string securityToken_;
std::string regionId_;
std::string nextToken_;
std::vector<Tag> tag_;
std::vector<std::string> resourceId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string resourceType_;
};
} // namespace Model
} // namespace Hitsdb
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_HITSDB_MODEL_LISTTAGRESOURCESREQUEST_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_HITSDB_MODEL_LISTTAGRESOURCESRESULT_H_
#define ALIBABACLOUD_HITSDB_MODEL_LISTTAGRESOURCESRESULT_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 ListTagResourcesResult : public ServiceResult
{
public:
struct TagResource
{
std::string category;
std::string scope;
std::string resourceId;
std::string tagKey;
std::string resourceType;
std::string tagValue;
long aliUid;
};
ListTagResourcesResult();
explicit ListTagResourcesResult(const std::string &payload);
~ListTagResourcesResult();
std::string getNextToken()const;
std::vector<TagResource> getTagResources()const;
protected:
void parse(const std::string &payload);
private:
std::string nextToken_;
std::vector<TagResource> tagResources_;
};
}
}
}
#endif // !ALIBABACLOUD_HITSDB_MODEL_LISTTAGRESOURCESRESULT_H_

View File

@@ -1,66 +1,60 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_HITSDB_MODEL_RELEASELINDORMINSTANCEREQUEST_H_ #ifndef ALIBABACLOUD_HITSDB_MODEL_RELEASELINDORMINSTANCEREQUEST_H_
#define ALIBABACLOUD_HITSDB_MODEL_RELEASELINDORMINSTANCEREQUEST_H_ #define ALIBABACLOUD_HITSDB_MODEL_RELEASELINDORMINSTANCEREQUEST_H_
#include <string> #include <alibabacloud/hitsdb/HitsdbExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/hitsdb/HitsdbExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Hitsdb namespace Hitsdb {
{ namespace Model {
namespace Model class ALIBABACLOUD_HITSDB_EXPORT ReleaseLindormInstanceRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_HITSDB_EXPORT ReleaseLindormInstanceRequest : public RpcServiceRequest ReleaseLindormInstanceRequest();
{ ~ReleaseLindormInstanceRequest();
long getResourceOwnerId() const;
public: void setResourceOwnerId(long resourceOwnerId);
ReleaseLindormInstanceRequest(); std::string getAccessKeyId() const;
~ReleaseLindormInstanceRequest(); void setAccessKeyId(const std::string &accessKeyId);
std::string getSecurityToken() const;
long getResourceOwnerId()const; void setSecurityToken(const std::string &securityToken);
void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount() const;
std::string getAccessKeyId()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setAccessKeyId(const std::string& accessKeyId); std::string getOwnerAccount() const;
std::string getSecurityToken()const; void setOwnerAccount(const std::string &ownerAccount);
void setSecurityToken(const std::string& securityToken); long getOwnerId() const;
std::string getResourceOwnerAccount()const; void setOwnerId(long ownerId);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getInstanceId() const;
std::string getOwnerAccount()const; void setInstanceId(const std::string &instanceId);
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const; private:
void setOwnerId(long ownerId); long resourceOwnerId_;
std::string getInstanceId()const; std::string accessKeyId_;
void setInstanceId(const std::string& instanceId); std::string securityToken_;
std::string resourceOwnerAccount_;
private: std::string ownerAccount_;
long resourceOwnerId_; long ownerId_;
std::string accessKeyId_; std::string instanceId_;
std::string securityToken_; };
std::string resourceOwnerAccount_; } // namespace Model
std::string ownerAccount_; } // namespace Hitsdb
long ownerId_; } // namespace AlibabaCloud
std::string instanceId_; #endif // !ALIBABACLOUD_HITSDB_MODEL_RELEASELINDORMINSTANCEREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_HITSDB_MODEL_RELEASELINDORMINSTANCEREQUEST_H_

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_HITSDB_MODEL_TAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_HITSDB_MODEL_TAGRESOURCESREQUEST_H_
#include <alibabacloud/hitsdb/HitsdbExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Hitsdb {
namespace Model {
class ALIBABACLOUD_HITSDB_EXPORT TagResourcesRequest : public RpcServiceRequest {
public:
struct Tag {
std::string value;
std::string key;
};
TagResourcesRequest();
~TagResourcesRequest();
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::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
std::vector<std::string> getResourceId() const;
void setResourceId(const std::vector<std::string> &resourceId);
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 getResourceType() const;
void setResourceType(const std::string &resourceType);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string securityToken_;
std::vector<Tag> tag_;
std::vector<std::string> resourceId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string resourceType_;
};
} // namespace Model
} // namespace Hitsdb
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_HITSDB_MODEL_TAGRESOURCESREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_HITSDB_MODEL_TAGRESOURCESRESULT_H_
#define ALIBABACLOUD_HITSDB_MODEL_TAGRESOURCESRESULT_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 TagResourcesResult : public ServiceResult
{
public:
TagResourcesResult();
explicit TagResourcesResult(const std::string &payload);
~TagResourcesResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_HITSDB_MODEL_TAGRESOURCESRESULT_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_HITSDB_MODEL_UNTAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_HITSDB_MODEL_UNTAGRESOURCESREQUEST_H_
#include <alibabacloud/hitsdb/HitsdbExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Hitsdb {
namespace Model {
class ALIBABACLOUD_HITSDB_EXPORT UntagResourcesRequest : public RpcServiceRequest {
public:
UntagResourcesRequest();
~UntagResourcesRequest();
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);
bool getAll() const;
void setAll(bool all);
std::vector<std::string> getResourceId() const;
void setResourceId(const std::vector<std::string> &resourceId);
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 getResourceType() const;
void setResourceType(const std::string &resourceType);
std::vector<std::string> getTagKey() const;
void setTagKey(const std::vector<std::string> &tagKey);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string securityToken_;
bool all_;
std::vector<std::string> resourceId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string resourceType_;
std::vector<std::string> tagKey_;
};
} // namespace Model
} // namespace Hitsdb
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_HITSDB_MODEL_UNTAGRESOURCESREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_HITSDB_MODEL_UNTAGRESOURCESRESULT_H_
#define ALIBABACLOUD_HITSDB_MODEL_UNTAGRESOURCESRESULT_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 UntagResourcesResult : public ServiceResult
{
public:
UntagResourcesResult();
explicit UntagResourcesResult(const std::string &payload);
~UntagResourcesResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_HITSDB_MODEL_UNTAGRESOURCESRESULT_H_

View File

@@ -1,72 +1,66 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_HITSDB_MODEL_UPDATEINSTANCEIPWHITELISTREQUEST_H_ #ifndef ALIBABACLOUD_HITSDB_MODEL_UPDATEINSTANCEIPWHITELISTREQUEST_H_
#define ALIBABACLOUD_HITSDB_MODEL_UPDATEINSTANCEIPWHITELISTREQUEST_H_ #define ALIBABACLOUD_HITSDB_MODEL_UPDATEINSTANCEIPWHITELISTREQUEST_H_
#include <string> #include <alibabacloud/hitsdb/HitsdbExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/hitsdb/HitsdbExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Hitsdb namespace Hitsdb {
{ namespace Model {
namespace Model class ALIBABACLOUD_HITSDB_EXPORT UpdateInstanceIpWhiteListRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_HITSDB_EXPORT UpdateInstanceIpWhiteListRequest : public RpcServiceRequest UpdateInstanceIpWhiteListRequest();
{ ~UpdateInstanceIpWhiteListRequest();
long getResourceOwnerId() const;
public: void setResourceOwnerId(long resourceOwnerId);
UpdateInstanceIpWhiteListRequest(); std::string getAccessKeyId() const;
~UpdateInstanceIpWhiteListRequest(); void setAccessKeyId(const std::string &accessKeyId);
std::string getSecurityToken() const;
long getResourceOwnerId()const; void setSecurityToken(const std::string &securityToken);
void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount() const;
std::string getAccessKeyId()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setAccessKeyId(const std::string& accessKeyId); std::string getOwnerAccount() const;
std::string getSecurityToken()const; void setOwnerAccount(const std::string &ownerAccount);
void setSecurityToken(const std::string& securityToken); long getOwnerId() const;
std::string getResourceOwnerAccount()const; void setOwnerId(long ownerId);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getGroupName() const;
std::string getOwnerAccount()const; void setGroupName(const std::string &groupName);
void setOwnerAccount(const std::string& ownerAccount); std::string getSecurityIpList() const;
long getOwnerId()const; void setSecurityIpList(const std::string &securityIpList);
void setOwnerId(long ownerId); std::string getInstanceId() const;
std::string getGroupName()const; void setInstanceId(const std::string &instanceId);
void setGroupName(const std::string& groupName);
std::string getSecurityIpList()const; private:
void setSecurityIpList(const std::string& securityIpList); long resourceOwnerId_;
std::string getInstanceId()const; std::string accessKeyId_;
void setInstanceId(const std::string& instanceId); std::string securityToken_;
std::string resourceOwnerAccount_;
private: std::string ownerAccount_;
long resourceOwnerId_; long ownerId_;
std::string accessKeyId_; std::string groupName_;
std::string securityToken_; std::string securityIpList_;
std::string resourceOwnerAccount_; std::string instanceId_;
std::string ownerAccount_; };
long ownerId_; } // namespace Model
std::string groupName_; } // namespace Hitsdb
std::string securityIpList_; } // namespace AlibabaCloud
std::string instanceId_; #endif // !ALIBABACLOUD_HITSDB_MODEL_UPDATEINSTANCEIPWHITELISTREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_HITSDB_MODEL_UPDATEINSTANCEIPWHITELISTREQUEST_H_

View File

@@ -1,126 +1,120 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_HITSDB_MODEL_UPGRADELINDORMINSTANCEREQUEST_H_ #ifndef ALIBABACLOUD_HITSDB_MODEL_UPGRADELINDORMINSTANCEREQUEST_H_
#define ALIBABACLOUD_HITSDB_MODEL_UPGRADELINDORMINSTANCEREQUEST_H_ #define ALIBABACLOUD_HITSDB_MODEL_UPGRADELINDORMINSTANCEREQUEST_H_
#include <string> #include <alibabacloud/hitsdb/HitsdbExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/hitsdb/HitsdbExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Hitsdb namespace Hitsdb {
{ namespace Model {
namespace Model class ALIBABACLOUD_HITSDB_EXPORT UpgradeLindormInstanceRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_HITSDB_EXPORT UpgradeLindormInstanceRequest : public RpcServiceRequest UpgradeLindormInstanceRequest();
{ ~UpgradeLindormInstanceRequest();
long getResourceOwnerId() const;
public: void setResourceOwnerId(long resourceOwnerId);
UpgradeLindormInstanceRequest(); int getPhoenixCoreNum() const;
~UpgradeLindormInstanceRequest(); void setPhoenixCoreNum(int phoenixCoreNum);
std::string getPhoenixCoreSpec() const;
long getResourceOwnerId()const; void setPhoenixCoreSpec(const std::string &phoenixCoreSpec);
void setResourceOwnerId(long resourceOwnerId); std::string getClientToken() const;
int getPhoenixCoreNum()const; void setClientToken(const std::string &clientToken);
void setPhoenixCoreNum(int phoenixCoreNum); std::string getUpgradeType() const;
std::string getPhoenixCoreSpec()const; void setUpgradeType(const std::string &upgradeType);
void setPhoenixCoreSpec(const std::string& phoenixCoreSpec); std::string getTsdbSpec() const;
std::string getClientToken()const; void setTsdbSpec(const std::string &tsdbSpec);
void setClientToken(const std::string& clientToken); std::string getFilestoreSpec() const;
std::string getUpgradeType()const; void setFilestoreSpec(const std::string &filestoreSpec);
void setUpgradeType(const std::string& upgradeType); std::string getAccessKeyId() const;
std::string getTsdbSpec()const; void setAccessKeyId(const std::string &accessKeyId);
void setTsdbSpec(const std::string& tsdbSpec); std::string getSecurityToken() const;
std::string getFilestoreSpec()const; void setSecurityToken(const std::string &securityToken);
void setFilestoreSpec(const std::string& filestoreSpec); std::string getRegionId() const;
std::string getAccessKeyId()const; void setRegionId(const std::string &regionId);
void setAccessKeyId(const std::string& accessKeyId); int getTsdbNum() const;
std::string getSecurityToken()const; void setTsdbNum(int tsdbNum);
void setSecurityToken(const std::string& securityToken); std::string getLindormSpec() const;
std::string getRegionId()const; void setLindormSpec(const std::string &lindormSpec);
void setRegionId(const std::string& regionId); int getSolrNum() const;
int getTsdbNum()const; void setSolrNum(int solrNum);
void setTsdbNum(int tsdbNum); int getColdStorage() const;
std::string getLindormSpec()const; void setColdStorage(int coldStorage);
void setLindormSpec(const std::string& lindormSpec); std::string getSolrSpec() const;
int getSolrNum()const; void setSolrSpec(const std::string &solrSpec);
void setSolrNum(int solrNum); std::string getResourceOwnerAccount() const;
int getColdStorage()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setColdStorage(int coldStorage); std::string getOwnerAccount() const;
std::string getSolrSpec()const; void setOwnerAccount(const std::string &ownerAccount);
void setSolrSpec(const std::string& solrSpec); int getFilestoreNum() const;
std::string getResourceOwnerAccount()const; void setFilestoreNum(int filestoreNum);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); long getOwnerId() const;
std::string getOwnerAccount()const; void setOwnerId(long ownerId);
void setOwnerAccount(const std::string& ownerAccount); int getLindormNum() const;
int getFilestoreNum()const; void setLindormNum(int lindormNum);
void setFilestoreNum(int filestoreNum); std::string getCoreSpec() const;
long getOwnerId()const; void setCoreSpec(const std::string &coreSpec);
void setOwnerId(long ownerId); int getCoreNum() const;
int getLindormNum()const; void setCoreNum(int coreNum);
void setLindormNum(int lindormNum); int getLtsCoreNum() const;
std::string getCoreSpec()const; void setLtsCoreNum(int ltsCoreNum);
void setCoreSpec(const std::string& coreSpec); std::string getInstanceId() const;
int getCoreNum()const; void setInstanceId(const std::string &instanceId);
void setCoreNum(int coreNum); std::string getLtsCoreSpec() const;
int getLtsCoreNum()const; void setLtsCoreSpec(const std::string &ltsCoreSpec);
void setLtsCoreNum(int ltsCoreNum); int getClusterStorage() const;
std::string getInstanceId()const; void setClusterStorage(int clusterStorage);
void setInstanceId(const std::string& instanceId); std::string getZoneId() const;
std::string getLtsCoreSpec()const; void setZoneId(const std::string &zoneId);
void setLtsCoreSpec(const std::string& ltsCoreSpec);
int getClusterStorage()const; private:
void setClusterStorage(int clusterStorage); long resourceOwnerId_;
std::string getZoneId()const; int phoenixCoreNum_;
void setZoneId(const std::string& zoneId); std::string phoenixCoreSpec_;
std::string clientToken_;
private: std::string upgradeType_;
long resourceOwnerId_; std::string tsdbSpec_;
int phoenixCoreNum_; std::string filestoreSpec_;
std::string phoenixCoreSpec_; std::string accessKeyId_;
std::string clientToken_; std::string securityToken_;
std::string upgradeType_; std::string regionId_;
std::string tsdbSpec_; int tsdbNum_;
std::string filestoreSpec_; std::string lindormSpec_;
std::string accessKeyId_; int solrNum_;
std::string securityToken_; int coldStorage_;
std::string regionId_; std::string solrSpec_;
int tsdbNum_; std::string resourceOwnerAccount_;
std::string lindormSpec_; std::string ownerAccount_;
int solrNum_; int filestoreNum_;
int coldStorage_; long ownerId_;
std::string solrSpec_; int lindormNum_;
std::string resourceOwnerAccount_; std::string coreSpec_;
std::string ownerAccount_; int coreNum_;
int filestoreNum_; int ltsCoreNum_;
long ownerId_; std::string instanceId_;
int lindormNum_; std::string ltsCoreSpec_;
std::string coreSpec_; int clusterStorage_;
int coreNum_; std::string zoneId_;
int ltsCoreNum_; };
std::string instanceId_; } // namespace Model
std::string ltsCoreSpec_; } // namespace Hitsdb
int clusterStorage_; } // namespace AlibabaCloud
std::string zoneId_; #endif // !ALIBABACLOUD_HITSDB_MODEL_UPGRADELINDORMINSTANCEREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_HITSDB_MODEL_UPGRADELINDORMINSTANCEREQUEST_H_

View File

@@ -267,6 +267,42 @@ HitsdbClient::GetLindormInstanceListOutcomeCallable HitsdbClient::getLindormInst
return task->get_future(); return task->get_future();
} }
HitsdbClient::ListTagResourcesOutcome HitsdbClient::listTagResources(const ListTagResourcesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListTagResourcesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListTagResourcesOutcome(ListTagResourcesResult(outcome.result()));
else
return ListTagResourcesOutcome(outcome.error());
}
void HitsdbClient::listTagResourcesAsync(const ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listTagResources(request), context);
};
asyncExecute(new Runnable(fn));
}
HitsdbClient::ListTagResourcesOutcomeCallable HitsdbClient::listTagResourcesCallable(const ListTagResourcesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListTagResourcesOutcome()>>(
[this, request]()
{
return this->listTagResources(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
HitsdbClient::ReleaseLindormInstanceOutcome HitsdbClient::releaseLindormInstance(const ReleaseLindormInstanceRequest &request) const HitsdbClient::ReleaseLindormInstanceOutcome HitsdbClient::releaseLindormInstance(const ReleaseLindormInstanceRequest &request) const
{ {
auto endpointOutcome = endpointProvider_->getEndpoint(); auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -303,6 +339,78 @@ HitsdbClient::ReleaseLindormInstanceOutcomeCallable HitsdbClient::releaseLindorm
return task->get_future(); return task->get_future();
} }
HitsdbClient::TagResourcesOutcome HitsdbClient::tagResources(const TagResourcesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return TagResourcesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return TagResourcesOutcome(TagResourcesResult(outcome.result()));
else
return TagResourcesOutcome(outcome.error());
}
void HitsdbClient::tagResourcesAsync(const TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, tagResources(request), context);
};
asyncExecute(new Runnable(fn));
}
HitsdbClient::TagResourcesOutcomeCallable HitsdbClient::tagResourcesCallable(const TagResourcesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<TagResourcesOutcome()>>(
[this, request]()
{
return this->tagResources(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
HitsdbClient::UntagResourcesOutcome HitsdbClient::untagResources(const UntagResourcesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UntagResourcesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UntagResourcesOutcome(UntagResourcesResult(outcome.result()));
else
return UntagResourcesOutcome(outcome.error());
}
void HitsdbClient::untagResourcesAsync(const UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, untagResources(request), context);
};
asyncExecute(new Runnable(fn));
}
HitsdbClient::UntagResourcesOutcomeCallable HitsdbClient::untagResourcesCallable(const UntagResourcesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UntagResourcesOutcome()>>(
[this, request]()
{
return this->untagResources(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
HitsdbClient::UpdateInstanceIpWhiteListOutcome HitsdbClient::updateInstanceIpWhiteList(const UpdateInstanceIpWhiteListRequest &request) const HitsdbClient::UpdateInstanceIpWhiteListOutcome HitsdbClient::updateInstanceIpWhiteList(const UpdateInstanceIpWhiteListRequest &request) const
{ {
auto endpointOutcome = endpointProvider_->getEndpoint(); auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -1,326 +1,270 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/hitsdb/model/CreateLindormInstanceRequest.h> #include <alibabacloud/hitsdb/model/CreateLindormInstanceRequest.h>
using AlibabaCloud::Hitsdb::Model::CreateLindormInstanceRequest; using AlibabaCloud::Hitsdb::Model::CreateLindormInstanceRequest;
CreateLindormInstanceRequest::CreateLindormInstanceRequest() : CreateLindormInstanceRequest::CreateLindormInstanceRequest()
RpcServiceRequest("hitsdb", "2020-06-15", "CreateLindormInstance") : RpcServiceRequest("hitsdb", "2020-06-15", "CreateLindormInstance") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
CreateLindormInstanceRequest::~CreateLindormInstanceRequest()
{}
long CreateLindormInstanceRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
} }
void CreateLindormInstanceRequest::setResourceOwnerId(long resourceOwnerId) CreateLindormInstanceRequest::~CreateLindormInstanceRequest() {}
{
resourceOwnerId_ = resourceOwnerId; long CreateLindormInstanceRequest::getResourceOwnerId() const {
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); return resourceOwnerId_;
} }
std::string CreateLindormInstanceRequest::getClientToken()const void CreateLindormInstanceRequest::setResourceOwnerId(long resourceOwnerId) {
{ resourceOwnerId_ = resourceOwnerId;
return clientToken_; setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
} }
void CreateLindormInstanceRequest::setClientToken(const std::string& clientToken) std::string CreateLindormInstanceRequest::getClientToken() const {
{ return clientToken_;
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
} }
std::string CreateLindormInstanceRequest::getTsdbSpec()const void CreateLindormInstanceRequest::setClientToken(const std::string &clientToken) {
{ clientToken_ = clientToken;
return tsdbSpec_; setParameter(std::string("ClientToken"), clientToken);
} }
void CreateLindormInstanceRequest::setTsdbSpec(const std::string& tsdbSpec) std::string CreateLindormInstanceRequest::getTsdbSpec() const {
{ return tsdbSpec_;
tsdbSpec_ = tsdbSpec;
setParameter("TsdbSpec", tsdbSpec);
} }
std::string CreateLindormInstanceRequest::getFilestoreSpec()const void CreateLindormInstanceRequest::setTsdbSpec(const std::string &tsdbSpec) {
{ tsdbSpec_ = tsdbSpec;
return filestoreSpec_; setParameter(std::string("TsdbSpec"), tsdbSpec);
} }
void CreateLindormInstanceRequest::setFilestoreSpec(const std::string& filestoreSpec) std::string CreateLindormInstanceRequest::getFilestoreSpec() const {
{ return filestoreSpec_;
filestoreSpec_ = filestoreSpec;
setParameter("FilestoreSpec", filestoreSpec);
} }
std::string CreateLindormInstanceRequest::getAccessKeyId()const void CreateLindormInstanceRequest::setFilestoreSpec(const std::string &filestoreSpec) {
{ filestoreSpec_ = filestoreSpec;
return accessKeyId_; setParameter(std::string("FilestoreSpec"), filestoreSpec);
} }
void CreateLindormInstanceRequest::setAccessKeyId(const std::string& accessKeyId) std::string CreateLindormInstanceRequest::getAccessKeyId() const {
{ return accessKeyId_;
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
} }
std::string CreateLindormInstanceRequest::getDuration()const void CreateLindormInstanceRequest::setAccessKeyId(const std::string &accessKeyId) {
{ accessKeyId_ = accessKeyId;
return duration_; setParameter(std::string("AccessKeyId"), accessKeyId);
} }
void CreateLindormInstanceRequest::setDuration(const std::string& duration) std::string CreateLindormInstanceRequest::getDuration() const {
{ return duration_;
duration_ = duration;
setParameter("Duration", duration);
} }
std::string CreateLindormInstanceRequest::getSecurityToken()const void CreateLindormInstanceRequest::setDuration(const std::string &duration) {
{ duration_ = duration;
return securityToken_; setParameter(std::string("Duration"), duration);
} }
void CreateLindormInstanceRequest::setSecurityToken(const std::string& securityToken) std::string CreateLindormInstanceRequest::getSecurityToken() const {
{ return securityToken_;
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
} }
std::string CreateLindormInstanceRequest::getRegionId()const void CreateLindormInstanceRequest::setSecurityToken(const std::string &securityToken) {
{ securityToken_ = securityToken;
return regionId_; setParameter(std::string("SecurityToken"), securityToken);
} }
void CreateLindormInstanceRequest::setRegionId(const std::string& regionId) std::string CreateLindormInstanceRequest::getRegionId() const {
{ return regionId_;
regionId_ = regionId;
setParameter("RegionId", regionId);
} }
int CreateLindormInstanceRequest::getTsdbNum()const void CreateLindormInstanceRequest::setRegionId(const std::string &regionId) {
{ regionId_ = regionId;
return tsdbNum_; setParameter(std::string("RegionId"), regionId);
} }
void CreateLindormInstanceRequest::setTsdbNum(int tsdbNum) int CreateLindormInstanceRequest::getTsdbNum() const {
{ return tsdbNum_;
tsdbNum_ = tsdbNum;
setParameter("TsdbNum", std::to_string(tsdbNum));
} }
std::string CreateLindormInstanceRequest::getDiskCategory()const void CreateLindormInstanceRequest::setTsdbNum(int tsdbNum) {
{ tsdbNum_ = tsdbNum;
return diskCategory_; setParameter(std::string("TsdbNum"), std::to_string(tsdbNum));
} }
void CreateLindormInstanceRequest::setDiskCategory(const std::string& diskCategory) std::string CreateLindormInstanceRequest::getDiskCategory() const {
{ return diskCategory_;
diskCategory_ = diskCategory;
setParameter("DiskCategory", diskCategory);
} }
std::string CreateLindormInstanceRequest::getLindormSpec()const void CreateLindormInstanceRequest::setDiskCategory(const std::string &diskCategory) {
{ diskCategory_ = diskCategory;
return lindormSpec_; setParameter(std::string("DiskCategory"), diskCategory);
} }
void CreateLindormInstanceRequest::setLindormSpec(const std::string& lindormSpec) std::string CreateLindormInstanceRequest::getLindormSpec() const {
{ return lindormSpec_;
lindormSpec_ = lindormSpec;
setParameter("LindormSpec", lindormSpec);
} }
int CreateLindormInstanceRequest::getSolrNum()const void CreateLindormInstanceRequest::setLindormSpec(const std::string &lindormSpec) {
{ lindormSpec_ = lindormSpec;
return solrNum_; setParameter(std::string("LindormSpec"), lindormSpec);
} }
void CreateLindormInstanceRequest::setSolrNum(int solrNum) int CreateLindormInstanceRequest::getSolrNum() const {
{ return solrNum_;
solrNum_ = solrNum;
setParameter("SolrNum", std::to_string(solrNum));
} }
int CreateLindormInstanceRequest::getColdStorage()const void CreateLindormInstanceRequest::setSolrNum(int solrNum) {
{ solrNum_ = solrNum;
return coldStorage_; setParameter(std::string("SolrNum"), std::to_string(solrNum));
} }
void CreateLindormInstanceRequest::setColdStorage(int coldStorage) int CreateLindormInstanceRequest::getColdStorage() const {
{ return coldStorage_;
coldStorage_ = coldStorage;
setParameter("ColdStorage", std::to_string(coldStorage));
} }
std::string CreateLindormInstanceRequest::getInstanceStorage()const void CreateLindormInstanceRequest::setColdStorage(int coldStorage) {
{ coldStorage_ = coldStorage;
return instanceStorage_; setParameter(std::string("ColdStorage"), std::to_string(coldStorage));
} }
void CreateLindormInstanceRequest::setInstanceStorage(const std::string& instanceStorage) std::string CreateLindormInstanceRequest::getInstanceStorage() const {
{ return instanceStorage_;
instanceStorage_ = instanceStorage;
setParameter("InstanceStorage", instanceStorage);
} }
std::string CreateLindormInstanceRequest::getSolrSpec()const void CreateLindormInstanceRequest::setInstanceStorage(const std::string &instanceStorage) {
{ instanceStorage_ = instanceStorage;
return solrSpec_; setParameter(std::string("InstanceStorage"), instanceStorage);
} }
void CreateLindormInstanceRequest::setSolrSpec(const std::string& solrSpec) std::string CreateLindormInstanceRequest::getSolrSpec() const {
{ return solrSpec_;
solrSpec_ = solrSpec;
setParameter("SolrSpec", solrSpec);
} }
std::string CreateLindormInstanceRequest::getResourceOwnerAccount()const void CreateLindormInstanceRequest::setSolrSpec(const std::string &solrSpec) {
{ solrSpec_ = solrSpec;
return resourceOwnerAccount_; setParameter(std::string("SolrSpec"), solrSpec);
} }
void CreateLindormInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) std::string CreateLindormInstanceRequest::getResourceOwnerAccount() const {
{ return resourceOwnerAccount_;
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
} }
std::string CreateLindormInstanceRequest::getOwnerAccount()const void CreateLindormInstanceRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
{ resourceOwnerAccount_ = resourceOwnerAccount;
return ownerAccount_; setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
} }
void CreateLindormInstanceRequest::setOwnerAccount(const std::string& ownerAccount) std::string CreateLindormInstanceRequest::getOwnerAccount() const {
{ return ownerAccount_;
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
} }
std::string CreateLindormInstanceRequest::getInstanceAlias()const void CreateLindormInstanceRequest::setOwnerAccount(const std::string &ownerAccount) {
{ ownerAccount_ = ownerAccount;
return instanceAlias_; setParameter(std::string("OwnerAccount"), ownerAccount);
} }
void CreateLindormInstanceRequest::setInstanceAlias(const std::string& instanceAlias) std::string CreateLindormInstanceRequest::getInstanceAlias() const {
{ return instanceAlias_;
instanceAlias_ = instanceAlias;
setParameter("InstanceAlias", instanceAlias);
} }
int CreateLindormInstanceRequest::getFilestoreNum()const void CreateLindormInstanceRequest::setInstanceAlias(const std::string &instanceAlias) {
{ instanceAlias_ = instanceAlias;
return filestoreNum_; setParameter(std::string("InstanceAlias"), instanceAlias);
} }
void CreateLindormInstanceRequest::setFilestoreNum(int filestoreNum) int CreateLindormInstanceRequest::getFilestoreNum() const {
{ return filestoreNum_;
filestoreNum_ = filestoreNum;
setParameter("FilestoreNum", std::to_string(filestoreNum));
} }
long CreateLindormInstanceRequest::getOwnerId()const void CreateLindormInstanceRequest::setFilestoreNum(int filestoreNum) {
{ filestoreNum_ = filestoreNum;
return ownerId_; setParameter(std::string("FilestoreNum"), std::to_string(filestoreNum));
} }
void CreateLindormInstanceRequest::setOwnerId(long ownerId) long CreateLindormInstanceRequest::getOwnerId() const {
{ return ownerId_;
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
} }
int CreateLindormInstanceRequest::getLindormNum()const void CreateLindormInstanceRequest::setOwnerId(long ownerId) {
{ ownerId_ = ownerId;
return lindormNum_; setParameter(std::string("OwnerId"), std::to_string(ownerId));
} }
void CreateLindormInstanceRequest::setLindormNum(int lindormNum) int CreateLindormInstanceRequest::getLindormNum() const {
{ return lindormNum_;
lindormNum_ = lindormNum;
setParameter("LindormNum", std::to_string(lindormNum));
} }
std::string CreateLindormInstanceRequest::getCoreSpec()const void CreateLindormInstanceRequest::setLindormNum(int lindormNum) {
{ lindormNum_ = lindormNum;
return coreSpec_; setParameter(std::string("LindormNum"), std::to_string(lindormNum));
} }
void CreateLindormInstanceRequest::setCoreSpec(const std::string& coreSpec) std::string CreateLindormInstanceRequest::getCoreSpec() const {
{ return coreSpec_;
coreSpec_ = coreSpec;
setParameter("CoreSpec", coreSpec);
} }
std::string CreateLindormInstanceRequest::getVSwitchId()const void CreateLindormInstanceRequest::setCoreSpec(const std::string &coreSpec) {
{ coreSpec_ = coreSpec;
return vSwitchId_; setParameter(std::string("CoreSpec"), coreSpec);
} }
void CreateLindormInstanceRequest::setVSwitchId(const std::string& vSwitchId) std::string CreateLindormInstanceRequest::getVSwitchId() const {
{ return vSwitchId_;
vSwitchId_ = vSwitchId;
setParameter("VSwitchId", vSwitchId);
} }
std::string CreateLindormInstanceRequest::getVPCId()const void CreateLindormInstanceRequest::setVSwitchId(const std::string &vSwitchId) {
{ vSwitchId_ = vSwitchId;
return vPCId_; setParameter(std::string("VSwitchId"), vSwitchId);
} }
void CreateLindormInstanceRequest::setVPCId(const std::string& vPCId) std::string CreateLindormInstanceRequest::getVPCId() const {
{ return vPCId_;
vPCId_ = vPCId;
setParameter("VPCId", vPCId);
} }
std::string CreateLindormInstanceRequest::getZoneId()const void CreateLindormInstanceRequest::setVPCId(const std::string &vPCId) {
{ vPCId_ = vPCId;
return zoneId_; setParameter(std::string("VPCId"), vPCId);
} }
void CreateLindormInstanceRequest::setZoneId(const std::string& zoneId) std::string CreateLindormInstanceRequest::getZoneId() const {
{ return zoneId_;
zoneId_ = zoneId;
setParameter("ZoneId", zoneId);
} }
std::string CreateLindormInstanceRequest::getPayType()const void CreateLindormInstanceRequest::setZoneId(const std::string &zoneId) {
{ zoneId_ = zoneId;
return payType_; setParameter(std::string("ZoneId"), zoneId);
} }
void CreateLindormInstanceRequest::setPayType(const std::string& payType) std::string CreateLindormInstanceRequest::getPayType() const {
{ return payType_;
payType_ = payType;
setParameter("PayType", payType);
} }
std::string CreateLindormInstanceRequest::getPricingCycle()const void CreateLindormInstanceRequest::setPayType(const std::string &payType) {
{ payType_ = payType;
return pricingCycle_; setParameter(std::string("PayType"), payType);
} }
void CreateLindormInstanceRequest::setPricingCycle(const std::string& pricingCycle) std::string CreateLindormInstanceRequest::getPricingCycle() const {
{ return pricingCycle_;
pricingCycle_ = pricingCycle; }
setParameter("PricingCycle", pricingCycle);
void CreateLindormInstanceRequest::setPricingCycle(const std::string &pricingCycle) {
pricingCycle_ = pricingCycle;
setParameter(std::string("PricingCycle"), pricingCycle);
} }

View File

@@ -1,106 +1,90 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/hitsdb/model/DescribeRegionsRequest.h> #include <alibabacloud/hitsdb/model/DescribeRegionsRequest.h>
using AlibabaCloud::Hitsdb::Model::DescribeRegionsRequest; using AlibabaCloud::Hitsdb::Model::DescribeRegionsRequest;
DescribeRegionsRequest::DescribeRegionsRequest() : DescribeRegionsRequest::DescribeRegionsRequest()
RpcServiceRequest("hitsdb", "2020-06-15", "DescribeRegions") : RpcServiceRequest("hitsdb", "2020-06-15", "DescribeRegions") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
DescribeRegionsRequest::~DescribeRegionsRequest()
{}
long DescribeRegionsRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
} }
void DescribeRegionsRequest::setResourceOwnerId(long resourceOwnerId) DescribeRegionsRequest::~DescribeRegionsRequest() {}
{
resourceOwnerId_ = resourceOwnerId; long DescribeRegionsRequest::getResourceOwnerId() const {
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); return resourceOwnerId_;
} }
std::string DescribeRegionsRequest::getAccessKeyId()const void DescribeRegionsRequest::setResourceOwnerId(long resourceOwnerId) {
{ resourceOwnerId_ = resourceOwnerId;
return accessKeyId_; setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
} }
void DescribeRegionsRequest::setAccessKeyId(const std::string& accessKeyId) std::string DescribeRegionsRequest::getAccessKeyId() const {
{ return accessKeyId_;
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
} }
std::string DescribeRegionsRequest::getSecurityToken()const void DescribeRegionsRequest::setAccessKeyId(const std::string &accessKeyId) {
{ accessKeyId_ = accessKeyId;
return securityToken_; setParameter(std::string("AccessKeyId"), accessKeyId);
} }
void DescribeRegionsRequest::setSecurityToken(const std::string& securityToken) std::string DescribeRegionsRequest::getSecurityToken() const {
{ return securityToken_;
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
} }
std::string DescribeRegionsRequest::getResourceOwnerAccount()const void DescribeRegionsRequest::setSecurityToken(const std::string &securityToken) {
{ securityToken_ = securityToken;
return resourceOwnerAccount_; setParameter(std::string("SecurityToken"), securityToken);
} }
void DescribeRegionsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) std::string DescribeRegionsRequest::getResourceOwnerAccount() const {
{ return resourceOwnerAccount_;
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
} }
std::string DescribeRegionsRequest::getOwnerAccount()const void DescribeRegionsRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
{ resourceOwnerAccount_ = resourceOwnerAccount;
return ownerAccount_; setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
} }
void DescribeRegionsRequest::setOwnerAccount(const std::string& ownerAccount) std::string DescribeRegionsRequest::getOwnerAccount() const {
{ return ownerAccount_;
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
} }
long DescribeRegionsRequest::getOwnerId()const void DescribeRegionsRequest::setOwnerAccount(const std::string &ownerAccount) {
{ ownerAccount_ = ownerAccount;
return ownerId_; setParameter(std::string("OwnerAccount"), ownerAccount);
} }
void DescribeRegionsRequest::setOwnerId(long ownerId) long DescribeRegionsRequest::getOwnerId() const {
{ return ownerId_;
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
} }
std::string DescribeRegionsRequest::getAcceptLanguage()const void DescribeRegionsRequest::setOwnerId(long ownerId) {
{ ownerId_ = ownerId;
return acceptLanguage_; setParameter(std::string("OwnerId"), std::to_string(ownerId));
} }
void DescribeRegionsRequest::setAcceptLanguage(const std::string& acceptLanguage) std::string DescribeRegionsRequest::getAcceptLanguage() const {
{ return acceptLanguage_;
acceptLanguage_ = acceptLanguage; }
setParameter("AcceptLanguage", acceptLanguage);
void DescribeRegionsRequest::setAcceptLanguage(const std::string &acceptLanguage) {
acceptLanguage_ = acceptLanguage;
setParameter(std::string("AcceptLanguage"), acceptLanguage);
} }

View File

@@ -43,12 +43,12 @@ void DescribeRegionsResult::parse(const std::string &payload)
for (auto valueRegionsRegion : allRegionsNode) for (auto valueRegionsRegion : allRegionsNode)
{ {
Region regionsObject; Region regionsObject;
if(!valueRegionsRegion["RegionId"].isNull())
regionsObject.regionId = valueRegionsRegion["RegionId"].asString();
if(!valueRegionsRegion["LocalName"].isNull())
regionsObject.localName = valueRegionsRegion["LocalName"].asString();
if(!valueRegionsRegion["RegionEndpoint"].isNull()) if(!valueRegionsRegion["RegionEndpoint"].isNull())
regionsObject.regionEndpoint = valueRegionsRegion["RegionEndpoint"].asString(); regionsObject.regionEndpoint = valueRegionsRegion["RegionEndpoint"].asString();
if(!valueRegionsRegion["LocalName"].isNull())
regionsObject.localName = valueRegionsRegion["LocalName"].asString();
if(!valueRegionsRegion["RegionId"].isNull())
regionsObject.regionId = valueRegionsRegion["RegionId"].asString();
regions_.push_back(regionsObject); regions_.push_back(regionsObject);
} }

View File

@@ -1,117 +1,99 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/hitsdb/model/GetInstanceIpWhiteListRequest.h> #include <alibabacloud/hitsdb/model/GetInstanceIpWhiteListRequest.h>
using AlibabaCloud::Hitsdb::Model::GetInstanceIpWhiteListRequest; using AlibabaCloud::Hitsdb::Model::GetInstanceIpWhiteListRequest;
GetInstanceIpWhiteListRequest::GetInstanceIpWhiteListRequest() : GetInstanceIpWhiteListRequest::GetInstanceIpWhiteListRequest()
RpcServiceRequest("hitsdb", "2020-06-15", "GetInstanceIpWhiteList") : RpcServiceRequest("hitsdb", "2020-06-15", "GetInstanceIpWhiteList") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
GetInstanceIpWhiteListRequest::~GetInstanceIpWhiteListRequest()
{}
long GetInstanceIpWhiteListRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
} }
void GetInstanceIpWhiteListRequest::setResourceOwnerId(long resourceOwnerId) GetInstanceIpWhiteListRequest::~GetInstanceIpWhiteListRequest() {}
{
resourceOwnerId_ = resourceOwnerId; long GetInstanceIpWhiteListRequest::getResourceOwnerId() const {
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); return resourceOwnerId_;
} }
std::string GetInstanceIpWhiteListRequest::getAccessKeyId()const void GetInstanceIpWhiteListRequest::setResourceOwnerId(long resourceOwnerId) {
{ resourceOwnerId_ = resourceOwnerId;
return accessKeyId_; setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
} }
void GetInstanceIpWhiteListRequest::setAccessKeyId(const std::string& accessKeyId) std::string GetInstanceIpWhiteListRequest::getAccessKeyId() const {
{ return accessKeyId_;
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
} }
std::string GetInstanceIpWhiteListRequest::getSecurityToken()const void GetInstanceIpWhiteListRequest::setAccessKeyId(const std::string &accessKeyId) {
{ accessKeyId_ = accessKeyId;
return securityToken_; setParameter(std::string("AccessKeyId"), accessKeyId);
} }
void GetInstanceIpWhiteListRequest::setSecurityToken(const std::string& securityToken) std::string GetInstanceIpWhiteListRequest::getSecurityToken() const {
{ return securityToken_;
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
} }
std::string GetInstanceIpWhiteListRequest::getResourceOwnerAccount()const void GetInstanceIpWhiteListRequest::setSecurityToken(const std::string &securityToken) {
{ securityToken_ = securityToken;
return resourceOwnerAccount_; setParameter(std::string("SecurityToken"), securityToken);
} }
void GetInstanceIpWhiteListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) std::string GetInstanceIpWhiteListRequest::getResourceOwnerAccount() const {
{ return resourceOwnerAccount_;
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
} }
std::string GetInstanceIpWhiteListRequest::getOwnerAccount()const void GetInstanceIpWhiteListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
{ resourceOwnerAccount_ = resourceOwnerAccount;
return ownerAccount_; setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
} }
void GetInstanceIpWhiteListRequest::setOwnerAccount(const std::string& ownerAccount) std::string GetInstanceIpWhiteListRequest::getOwnerAccount() const {
{ return ownerAccount_;
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
} }
long GetInstanceIpWhiteListRequest::getOwnerId()const void GetInstanceIpWhiteListRequest::setOwnerAccount(const std::string &ownerAccount) {
{ ownerAccount_ = ownerAccount;
return ownerId_; setParameter(std::string("OwnerAccount"), ownerAccount);
} }
void GetInstanceIpWhiteListRequest::setOwnerId(long ownerId) long GetInstanceIpWhiteListRequest::getOwnerId() const {
{ return ownerId_;
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
} }
std::string GetInstanceIpWhiteListRequest::getGroupName()const void GetInstanceIpWhiteListRequest::setOwnerId(long ownerId) {
{ ownerId_ = ownerId;
return groupName_; setParameter(std::string("OwnerId"), std::to_string(ownerId));
} }
void GetInstanceIpWhiteListRequest::setGroupName(const std::string& groupName) std::string GetInstanceIpWhiteListRequest::getGroupName() const {
{ return groupName_;
groupName_ = groupName;
setParameter("GroupName", groupName);
} }
std::string GetInstanceIpWhiteListRequest::getInstanceId()const void GetInstanceIpWhiteListRequest::setGroupName(const std::string &groupName) {
{ groupName_ = groupName;
return instanceId_; setParameter(std::string("GroupName"), groupName);
} }
void GetInstanceIpWhiteListRequest::setInstanceId(const std::string& instanceId) std::string GetInstanceIpWhiteListRequest::getInstanceId() const {
{ return instanceId_;
instanceId_ = instanceId; }
setParameter("InstanceId", instanceId);
void GetInstanceIpWhiteListRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
} }

View File

@@ -1,117 +1,99 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/hitsdb/model/GetLindormInstanceEngineListRequest.h> #include <alibabacloud/hitsdb/model/GetLindormInstanceEngineListRequest.h>
using AlibabaCloud::Hitsdb::Model::GetLindormInstanceEngineListRequest; using AlibabaCloud::Hitsdb::Model::GetLindormInstanceEngineListRequest;
GetLindormInstanceEngineListRequest::GetLindormInstanceEngineListRequest() : GetLindormInstanceEngineListRequest::GetLindormInstanceEngineListRequest()
RpcServiceRequest("hitsdb", "2020-06-15", "GetLindormInstanceEngineList") : RpcServiceRequest("hitsdb", "2020-06-15", "GetLindormInstanceEngineList") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
GetLindormInstanceEngineListRequest::~GetLindormInstanceEngineListRequest()
{}
long GetLindormInstanceEngineListRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
} }
void GetLindormInstanceEngineListRequest::setResourceOwnerId(long resourceOwnerId) GetLindormInstanceEngineListRequest::~GetLindormInstanceEngineListRequest() {}
{
resourceOwnerId_ = resourceOwnerId; long GetLindormInstanceEngineListRequest::getResourceOwnerId() const {
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); return resourceOwnerId_;
} }
std::string GetLindormInstanceEngineListRequest::getAccessKeyId()const void GetLindormInstanceEngineListRequest::setResourceOwnerId(long resourceOwnerId) {
{ resourceOwnerId_ = resourceOwnerId;
return accessKeyId_; setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
} }
void GetLindormInstanceEngineListRequest::setAccessKeyId(const std::string& accessKeyId) std::string GetLindormInstanceEngineListRequest::getAccessKeyId() const {
{ return accessKeyId_;
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
} }
std::string GetLindormInstanceEngineListRequest::getSecurityToken()const void GetLindormInstanceEngineListRequest::setAccessKeyId(const std::string &accessKeyId) {
{ accessKeyId_ = accessKeyId;
return securityToken_; setParameter(std::string("AccessKeyId"), accessKeyId);
} }
void GetLindormInstanceEngineListRequest::setSecurityToken(const std::string& securityToken) std::string GetLindormInstanceEngineListRequest::getSecurityToken() const {
{ return securityToken_;
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
} }
std::string GetLindormInstanceEngineListRequest::getRegionId()const void GetLindormInstanceEngineListRequest::setSecurityToken(const std::string &securityToken) {
{ securityToken_ = securityToken;
return regionId_; setParameter(std::string("SecurityToken"), securityToken);
} }
void GetLindormInstanceEngineListRequest::setRegionId(const std::string& regionId) std::string GetLindormInstanceEngineListRequest::getRegionId() const {
{ return regionId_;
regionId_ = regionId;
setParameter("RegionId", regionId);
} }
std::string GetLindormInstanceEngineListRequest::getResourceOwnerAccount()const void GetLindormInstanceEngineListRequest::setRegionId(const std::string &regionId) {
{ regionId_ = regionId;
return resourceOwnerAccount_; setParameter(std::string("RegionId"), regionId);
} }
void GetLindormInstanceEngineListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) std::string GetLindormInstanceEngineListRequest::getResourceOwnerAccount() const {
{ return resourceOwnerAccount_;
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
} }
std::string GetLindormInstanceEngineListRequest::getOwnerAccount()const void GetLindormInstanceEngineListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
{ resourceOwnerAccount_ = resourceOwnerAccount;
return ownerAccount_; setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
} }
void GetLindormInstanceEngineListRequest::setOwnerAccount(const std::string& ownerAccount) std::string GetLindormInstanceEngineListRequest::getOwnerAccount() const {
{ return ownerAccount_;
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
} }
long GetLindormInstanceEngineListRequest::getOwnerId()const void GetLindormInstanceEngineListRequest::setOwnerAccount(const std::string &ownerAccount) {
{ ownerAccount_ = ownerAccount;
return ownerId_; setParameter(std::string("OwnerAccount"), ownerAccount);
} }
void GetLindormInstanceEngineListRequest::setOwnerId(long ownerId) long GetLindormInstanceEngineListRequest::getOwnerId() const {
{ return ownerId_;
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
} }
std::string GetLindormInstanceEngineListRequest::getInstanceId()const void GetLindormInstanceEngineListRequest::setOwnerId(long ownerId) {
{ ownerId_ = ownerId;
return instanceId_; setParameter(std::string("OwnerId"), std::to_string(ownerId));
} }
void GetLindormInstanceEngineListRequest::setInstanceId(const std::string& instanceId) std::string GetLindormInstanceEngineListRequest::getInstanceId() const {
{ return instanceId_;
instanceId_ = instanceId; }
setParameter("InstanceId", instanceId);
void GetLindormInstanceEngineListRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
} }

View File

@@ -49,14 +49,14 @@ void GetLindormInstanceEngineListResult::parse(const std::string &payload)
for (auto valueEngineListEngineInfoNetInfoListNetInfo : allNetInfoListNode) for (auto valueEngineListEngineInfoNetInfoListNetInfo : allNetInfoListNode)
{ {
EngineInfo::NetInfo netInfoListObject; EngineInfo::NetInfo netInfoListObject;
if(!valueEngineListEngineInfoNetInfoListNetInfo["NetType"].isNull())
netInfoListObject.netType = valueEngineListEngineInfoNetInfoListNetInfo["NetType"].asString();
if(!valueEngineListEngineInfoNetInfoListNetInfo["ConnectionString"].isNull())
netInfoListObject.connectionString = valueEngineListEngineInfoNetInfoListNetInfo["ConnectionString"].asString();
if(!valueEngineListEngineInfoNetInfoListNetInfo["Port"].isNull())
netInfoListObject.port = std::stoi(valueEngineListEngineInfoNetInfoListNetInfo["Port"].asString());
if(!valueEngineListEngineInfoNetInfoListNetInfo["AccessType"].isNull()) if(!valueEngineListEngineInfoNetInfoListNetInfo["AccessType"].isNull())
netInfoListObject.accessType = std::stoi(valueEngineListEngineInfoNetInfoListNetInfo["AccessType"].asString()); netInfoListObject.accessType = std::stoi(valueEngineListEngineInfoNetInfoListNetInfo["AccessType"].asString());
if(!valueEngineListEngineInfoNetInfoListNetInfo["Port"].isNull())
netInfoListObject.port = std::stoi(valueEngineListEngineInfoNetInfoListNetInfo["Port"].asString());
if(!valueEngineListEngineInfoNetInfoListNetInfo["ConnectionString"].isNull())
netInfoListObject.connectionString = valueEngineListEngineInfoNetInfoListNetInfo["ConnectionString"].asString();
if(!valueEngineListEngineInfoNetInfoListNetInfo["NetType"].isNull())
netInfoListObject.netType = valueEngineListEngineInfoNetInfoListNetInfo["NetType"].asString();
engineListObject.netInfoList.push_back(netInfoListObject); engineListObject.netInfoList.push_back(netInfoListObject);
} }
engineList_.push_back(engineListObject); engineList_.push_back(engineListObject);

View File

@@ -1,161 +1,149 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/hitsdb/model/GetLindormInstanceListRequest.h> #include <alibabacloud/hitsdb/model/GetLindormInstanceListRequest.h>
using AlibabaCloud::Hitsdb::Model::GetLindormInstanceListRequest; using AlibabaCloud::Hitsdb::Model::GetLindormInstanceListRequest;
GetLindormInstanceListRequest::GetLindormInstanceListRequest() : GetLindormInstanceListRequest::GetLindormInstanceListRequest()
RpcServiceRequest("hitsdb", "2020-06-15", "GetLindormInstanceList") : RpcServiceRequest("hitsdb", "2020-06-15", "GetLindormInstanceList") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
GetLindormInstanceListRequest::~GetLindormInstanceListRequest()
{}
long GetLindormInstanceListRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
} }
void GetLindormInstanceListRequest::setResourceOwnerId(long resourceOwnerId) GetLindormInstanceListRequest::~GetLindormInstanceListRequest() {}
{
resourceOwnerId_ = resourceOwnerId; long GetLindormInstanceListRequest::getResourceOwnerId() const {
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); return resourceOwnerId_;
} }
int GetLindormInstanceListRequest::getSupportEngine()const void GetLindormInstanceListRequest::setResourceOwnerId(long resourceOwnerId) {
{ resourceOwnerId_ = resourceOwnerId;
return supportEngine_; setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
} }
void GetLindormInstanceListRequest::setSupportEngine(int supportEngine) int GetLindormInstanceListRequest::getSupportEngine() const {
{ return supportEngine_;
supportEngine_ = supportEngine;
setParameter("SupportEngine", std::to_string(supportEngine));
} }
int GetLindormInstanceListRequest::getPageNumber()const void GetLindormInstanceListRequest::setSupportEngine(int supportEngine) {
{ supportEngine_ = supportEngine;
return pageNumber_; setParameter(std::string("SupportEngine"), std::to_string(supportEngine));
} }
void GetLindormInstanceListRequest::setPageNumber(int pageNumber) int GetLindormInstanceListRequest::getPageNumber() const {
{ return pageNumber_;
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
} }
std::string GetLindormInstanceListRequest::getAccessKeyId()const void GetLindormInstanceListRequest::setPageNumber(int pageNumber) {
{ pageNumber_ = pageNumber;
return accessKeyId_; setParameter(std::string("PageNumber"), std::to_string(pageNumber));
} }
void GetLindormInstanceListRequest::setAccessKeyId(const std::string& accessKeyId) std::string GetLindormInstanceListRequest::getAccessKeyId() const {
{ return accessKeyId_;
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
} }
std::string GetLindormInstanceListRequest::getSecurityToken()const void GetLindormInstanceListRequest::setAccessKeyId(const std::string &accessKeyId) {
{ accessKeyId_ = accessKeyId;
return securityToken_; setParameter(std::string("AccessKeyId"), accessKeyId);
} }
void GetLindormInstanceListRequest::setSecurityToken(const std::string& securityToken) std::string GetLindormInstanceListRequest::getSecurityToken() const {
{ return securityToken_;
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
} }
std::string GetLindormInstanceListRequest::getRegionId()const void GetLindormInstanceListRequest::setSecurityToken(const std::string &securityToken) {
{ securityToken_ = securityToken;
return regionId_; setParameter(std::string("SecurityToken"), securityToken);
} }
void GetLindormInstanceListRequest::setRegionId(const std::string& regionId) std::string GetLindormInstanceListRequest::getRegionId() const {
{ return regionId_;
regionId_ = regionId;
setParameter("RegionId", regionId);
} }
int GetLindormInstanceListRequest::getPageSize()const void GetLindormInstanceListRequest::setRegionId(const std::string &regionId) {
{ regionId_ = regionId;
return pageSize_; setParameter(std::string("RegionId"), regionId);
} }
void GetLindormInstanceListRequest::setPageSize(int pageSize) int GetLindormInstanceListRequest::getPageSize() const {
{ return pageSize_;
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
} }
std::string GetLindormInstanceListRequest::getQueryStr()const void GetLindormInstanceListRequest::setPageSize(int pageSize) {
{ pageSize_ = pageSize;
return queryStr_; setParameter(std::string("PageSize"), std::to_string(pageSize));
} }
void GetLindormInstanceListRequest::setQueryStr(const std::string& queryStr) std::vector<GetLindormInstanceListRequest::Tag> GetLindormInstanceListRequest::getTag() const {
{ return tag_;
queryStr_ = queryStr;
setParameter("QueryStr", queryStr);
} }
std::string GetLindormInstanceListRequest::getResourceOwnerAccount()const void GetLindormInstanceListRequest::setTag(const std::vector<GetLindormInstanceListRequest::Tag> &tag) {
{ tag_ = tag;
return resourceOwnerAccount_; for(int dep1 = 0; dep1 != tag.size(); dep1++) {
auto tagObj = tag.at(dep1);
std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1);
setParameter(tagObjStr + ".Value", tagObj.value);
setParameter(tagObjStr + ".Key", tagObj.key);
}
} }
void GetLindormInstanceListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) std::string GetLindormInstanceListRequest::getQueryStr() const {
{ return queryStr_;
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
} }
std::string GetLindormInstanceListRequest::getOwnerAccount()const void GetLindormInstanceListRequest::setQueryStr(const std::string &queryStr) {
{ queryStr_ = queryStr;
return ownerAccount_; setParameter(std::string("QueryStr"), queryStr);
} }
void GetLindormInstanceListRequest::setOwnerAccount(const std::string& ownerAccount) std::string GetLindormInstanceListRequest::getResourceOwnerAccount() const {
{ return resourceOwnerAccount_;
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
} }
long GetLindormInstanceListRequest::getOwnerId()const void GetLindormInstanceListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
{ resourceOwnerAccount_ = resourceOwnerAccount;
return ownerId_; setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
} }
void GetLindormInstanceListRequest::setOwnerId(long ownerId) std::string GetLindormInstanceListRequest::getOwnerAccount() const {
{ return ownerAccount_;
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
} }
std::string GetLindormInstanceListRequest::getServiceType()const void GetLindormInstanceListRequest::setOwnerAccount(const std::string &ownerAccount) {
{ ownerAccount_ = ownerAccount;
return serviceType_; setParameter(std::string("OwnerAccount"), ownerAccount);
} }
void GetLindormInstanceListRequest::setServiceType(const std::string& serviceType) long GetLindormInstanceListRequest::getOwnerId() const {
{ return ownerId_;
serviceType_ = serviceType; }
setParameter("ServiceType", serviceType);
void GetLindormInstanceListRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
std::string GetLindormInstanceListRequest::getServiceType() const {
return serviceType_;
}
void GetLindormInstanceListRequest::setServiceType(const std::string &serviceType) {
serviceType_ = serviceType;
setParameter(std::string("ServiceType"), serviceType);
} }

View File

@@ -77,6 +77,16 @@ void GetLindormInstanceListResult::parse(const std::string &payload)
instanceListObject.expiredMilliseconds = std::stol(valueInstanceListLindormInstanceSummary["ExpiredMilliseconds"].asString()); instanceListObject.expiredMilliseconds = std::stol(valueInstanceListLindormInstanceSummary["ExpiredMilliseconds"].asString());
if(!valueInstanceListLindormInstanceSummary["EnableStream"].isNull()) if(!valueInstanceListLindormInstanceSummary["EnableStream"].isNull())
instanceListObject.enableStream = valueInstanceListLindormInstanceSummary["EnableStream"].asString() == "true"; instanceListObject.enableStream = valueInstanceListLindormInstanceSummary["EnableStream"].asString() == "true";
auto allTagsNode = valueInstanceListLindormInstanceSummary["Tags"]["Tag"];
for (auto valueInstanceListLindormInstanceSummaryTagsTag : allTagsNode)
{
LindormInstanceSummary::Tag tagsObject;
if(!valueInstanceListLindormInstanceSummaryTagsTag["Key"].isNull())
tagsObject.key = valueInstanceListLindormInstanceSummaryTagsTag["Key"].asString();
if(!valueInstanceListLindormInstanceSummaryTagsTag["Value"].isNull())
tagsObject.value = valueInstanceListLindormInstanceSummaryTagsTag["Value"].asString();
instanceListObject.tags.push_back(tagsObject);
}
instanceList_.push_back(instanceListObject); instanceList_.push_back(instanceListObject);
} }
if(!value["PageNumber"].isNull()) if(!value["PageNumber"].isNull())

View File

@@ -1,117 +1,99 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/hitsdb/model/GetLindormInstanceRequest.h> #include <alibabacloud/hitsdb/model/GetLindormInstanceRequest.h>
using AlibabaCloud::Hitsdb::Model::GetLindormInstanceRequest; using AlibabaCloud::Hitsdb::Model::GetLindormInstanceRequest;
GetLindormInstanceRequest::GetLindormInstanceRequest() : GetLindormInstanceRequest::GetLindormInstanceRequest()
RpcServiceRequest("hitsdb", "2020-06-15", "GetLindormInstance") : RpcServiceRequest("hitsdb", "2020-06-15", "GetLindormInstance") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
GetLindormInstanceRequest::~GetLindormInstanceRequest()
{}
long GetLindormInstanceRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
} }
void GetLindormInstanceRequest::setResourceOwnerId(long resourceOwnerId) GetLindormInstanceRequest::~GetLindormInstanceRequest() {}
{
resourceOwnerId_ = resourceOwnerId; long GetLindormInstanceRequest::getResourceOwnerId() const {
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); return resourceOwnerId_;
} }
std::string GetLindormInstanceRequest::getAccessKeyId()const void GetLindormInstanceRequest::setResourceOwnerId(long resourceOwnerId) {
{ resourceOwnerId_ = resourceOwnerId;
return accessKeyId_; setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
} }
void GetLindormInstanceRequest::setAccessKeyId(const std::string& accessKeyId) std::string GetLindormInstanceRequest::getAccessKeyId() const {
{ return accessKeyId_;
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
} }
std::string GetLindormInstanceRequest::getSecurityToken()const void GetLindormInstanceRequest::setAccessKeyId(const std::string &accessKeyId) {
{ accessKeyId_ = accessKeyId;
return securityToken_; setParameter(std::string("AccessKeyId"), accessKeyId);
} }
void GetLindormInstanceRequest::setSecurityToken(const std::string& securityToken) std::string GetLindormInstanceRequest::getSecurityToken() const {
{ return securityToken_;
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
} }
std::string GetLindormInstanceRequest::getRegionId()const void GetLindormInstanceRequest::setSecurityToken(const std::string &securityToken) {
{ securityToken_ = securityToken;
return regionId_; setParameter(std::string("SecurityToken"), securityToken);
} }
void GetLindormInstanceRequest::setRegionId(const std::string& regionId) std::string GetLindormInstanceRequest::getRegionId() const {
{ return regionId_;
regionId_ = regionId;
setParameter("RegionId", regionId);
} }
std::string GetLindormInstanceRequest::getResourceOwnerAccount()const void GetLindormInstanceRequest::setRegionId(const std::string &regionId) {
{ regionId_ = regionId;
return resourceOwnerAccount_; setParameter(std::string("RegionId"), regionId);
} }
void GetLindormInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) std::string GetLindormInstanceRequest::getResourceOwnerAccount() const {
{ return resourceOwnerAccount_;
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
} }
std::string GetLindormInstanceRequest::getOwnerAccount()const void GetLindormInstanceRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
{ resourceOwnerAccount_ = resourceOwnerAccount;
return ownerAccount_; setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
} }
void GetLindormInstanceRequest::setOwnerAccount(const std::string& ownerAccount) std::string GetLindormInstanceRequest::getOwnerAccount() const {
{ return ownerAccount_;
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
} }
long GetLindormInstanceRequest::getOwnerId()const void GetLindormInstanceRequest::setOwnerAccount(const std::string &ownerAccount) {
{ ownerAccount_ = ownerAccount;
return ownerId_; setParameter(std::string("OwnerAccount"), ownerAccount);
} }
void GetLindormInstanceRequest::setOwnerId(long ownerId) long GetLindormInstanceRequest::getOwnerId() const {
{ return ownerId_;
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
} }
std::string GetLindormInstanceRequest::getInstanceId()const void GetLindormInstanceRequest::setOwnerId(long ownerId) {
{ ownerId_ = ownerId;
return instanceId_; setParameter(std::string("OwnerId"), std::to_string(ownerId));
} }
void GetLindormInstanceRequest::setInstanceId(const std::string& instanceId) std::string GetLindormInstanceRequest::getInstanceId() const {
{ return instanceId_;
instanceId_ = instanceId; }
setParameter("InstanceId", instanceId);
void GetLindormInstanceRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
} }

View File

@@ -121,6 +121,8 @@ void GetLindormInstanceResult::parse(const std::string &payload)
enableCdc_ = value["EnableCdc"].asString() == "true"; enableCdc_ = value["EnableCdc"].asString() == "true";
if(!value["EnableStream"].isNull()) if(!value["EnableStream"].isNull())
enableStream_ = value["EnableStream"].asString() == "true"; enableStream_ = value["EnableStream"].asString() == "true";
if(!value["EnableShs"].isNull())
enableShs_ = value["EnableShs"].asString() == "true";
} }
@@ -159,6 +161,11 @@ bool GetLindormInstanceResult::getEnableFS()const
return enableFS_; return enableFS_;
} }
bool GetLindormInstanceResult::getEnableShs()const
{
return enableShs_;
}
bool GetLindormInstanceResult::getEnableCompute()const bool GetLindormInstanceResult::getEnableCompute()const
{ {
return enableCompute_; return enableCompute_;

View File

@@ -0,0 +1,130 @@
/*
* 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/ListTagResourcesRequest.h>
using AlibabaCloud::Hitsdb::Model::ListTagResourcesRequest;
ListTagResourcesRequest::ListTagResourcesRequest()
: RpcServiceRequest("hitsdb", "2020-06-15", "ListTagResources") {
setMethod(HttpRequest::Method::Post);
}
ListTagResourcesRequest::~ListTagResourcesRequest() {}
long ListTagResourcesRequest::getResourceOwnerId() const {
return resourceOwnerId_;
}
void ListTagResourcesRequest::setResourceOwnerId(long resourceOwnerId) {
resourceOwnerId_ = resourceOwnerId;
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
}
std::string ListTagResourcesRequest::getAccessKeyId() const {
return accessKeyId_;
}
void ListTagResourcesRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string ListTagResourcesRequest::getSecurityToken() const {
return securityToken_;
}
void ListTagResourcesRequest::setSecurityToken(const std::string &securityToken) {
securityToken_ = securityToken;
setParameter(std::string("SecurityToken"), securityToken);
}
std::string ListTagResourcesRequest::getRegionId() const {
return regionId_;
}
void ListTagResourcesRequest::setRegionId(const std::string &regionId) {
regionId_ = regionId;
setParameter(std::string("RegionId"), regionId);
}
std::string ListTagResourcesRequest::getNextToken() const {
return nextToken_;
}
void ListTagResourcesRequest::setNextToken(const std::string &nextToken) {
nextToken_ = nextToken;
setParameter(std::string("NextToken"), nextToken);
}
std::vector<ListTagResourcesRequest::Tag> ListTagResourcesRequest::getTag() const {
return tag_;
}
void ListTagResourcesRequest::setTag(const std::vector<ListTagResourcesRequest::Tag> &tag) {
tag_ = tag;
for(int dep1 = 0; dep1 != tag.size(); dep1++) {
auto tagObj = tag.at(dep1);
std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1);
setParameter(tagObjStr + ".Value", tagObj.value);
setParameter(tagObjStr + ".Key", tagObj.key);
}
}
std::vector<std::string> ListTagResourcesRequest::getResourceId() const {
return resourceId_;
}
void ListTagResourcesRequest::setResourceId(const std::vector<std::string> &resourceId) {
resourceId_ = resourceId;
}
std::string ListTagResourcesRequest::getResourceOwnerAccount() const {
return resourceOwnerAccount_;
}
void ListTagResourcesRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
}
std::string ListTagResourcesRequest::getOwnerAccount() const {
return ownerAccount_;
}
void ListTagResourcesRequest::setOwnerAccount(const std::string &ownerAccount) {
ownerAccount_ = ownerAccount;
setParameter(std::string("OwnerAccount"), ownerAccount);
}
long ListTagResourcesRequest::getOwnerId() const {
return ownerId_;
}
void ListTagResourcesRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
std::string ListTagResourcesRequest::getResourceType() const {
return resourceType_;
}
void ListTagResourcesRequest::setResourceType(const std::string &resourceType) {
resourceType_ = resourceType;
setParameter(std::string("ResourceType"), resourceType);
}

View File

@@ -0,0 +1,76 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/hitsdb/model/ListTagResourcesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Hitsdb;
using namespace AlibabaCloud::Hitsdb::Model;
ListTagResourcesResult::ListTagResourcesResult() :
ServiceResult()
{}
ListTagResourcesResult::ListTagResourcesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListTagResourcesResult::~ListTagResourcesResult()
{}
void ListTagResourcesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allTagResourcesNode = value["TagResources"]["TagResource"];
for (auto valueTagResourcesTagResource : allTagResourcesNode)
{
TagResource tagResourcesObject;
if(!valueTagResourcesTagResource["ResourceType"].isNull())
tagResourcesObject.resourceType = valueTagResourcesTagResource["ResourceType"].asString();
if(!valueTagResourcesTagResource["TagValue"].isNull())
tagResourcesObject.tagValue = valueTagResourcesTagResource["TagValue"].asString();
if(!valueTagResourcesTagResource["ResourceId"].isNull())
tagResourcesObject.resourceId = valueTagResourcesTagResource["ResourceId"].asString();
if(!valueTagResourcesTagResource["TagKey"].isNull())
tagResourcesObject.tagKey = valueTagResourcesTagResource["TagKey"].asString();
if(!valueTagResourcesTagResource["Category"].isNull())
tagResourcesObject.category = valueTagResourcesTagResource["Category"].asString();
if(!valueTagResourcesTagResource["Scope"].isNull())
tagResourcesObject.scope = valueTagResourcesTagResource["Scope"].asString();
if(!valueTagResourcesTagResource["AliUid"].isNull())
tagResourcesObject.aliUid = std::stol(valueTagResourcesTagResource["AliUid"].asString());
tagResources_.push_back(tagResourcesObject);
}
if(!value["NextToken"].isNull())
nextToken_ = value["NextToken"].asString();
}
std::string ListTagResourcesResult::getNextToken()const
{
return nextToken_;
}
std::vector<ListTagResourcesResult::TagResource> ListTagResourcesResult::getTagResources()const
{
return tagResources_;
}

View File

@@ -1,106 +1,90 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/hitsdb/model/ReleaseLindormInstanceRequest.h> #include <alibabacloud/hitsdb/model/ReleaseLindormInstanceRequest.h>
using AlibabaCloud::Hitsdb::Model::ReleaseLindormInstanceRequest; using AlibabaCloud::Hitsdb::Model::ReleaseLindormInstanceRequest;
ReleaseLindormInstanceRequest::ReleaseLindormInstanceRequest() : ReleaseLindormInstanceRequest::ReleaseLindormInstanceRequest()
RpcServiceRequest("hitsdb", "2020-06-15", "ReleaseLindormInstance") : RpcServiceRequest("hitsdb", "2020-06-15", "ReleaseLindormInstance") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
ReleaseLindormInstanceRequest::~ReleaseLindormInstanceRequest()
{}
long ReleaseLindormInstanceRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
} }
void ReleaseLindormInstanceRequest::setResourceOwnerId(long resourceOwnerId) ReleaseLindormInstanceRequest::~ReleaseLindormInstanceRequest() {}
{
resourceOwnerId_ = resourceOwnerId; long ReleaseLindormInstanceRequest::getResourceOwnerId() const {
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); return resourceOwnerId_;
} }
std::string ReleaseLindormInstanceRequest::getAccessKeyId()const void ReleaseLindormInstanceRequest::setResourceOwnerId(long resourceOwnerId) {
{ resourceOwnerId_ = resourceOwnerId;
return accessKeyId_; setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
} }
void ReleaseLindormInstanceRequest::setAccessKeyId(const std::string& accessKeyId) std::string ReleaseLindormInstanceRequest::getAccessKeyId() const {
{ return accessKeyId_;
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
} }
std::string ReleaseLindormInstanceRequest::getSecurityToken()const void ReleaseLindormInstanceRequest::setAccessKeyId(const std::string &accessKeyId) {
{ accessKeyId_ = accessKeyId;
return securityToken_; setParameter(std::string("AccessKeyId"), accessKeyId);
} }
void ReleaseLindormInstanceRequest::setSecurityToken(const std::string& securityToken) std::string ReleaseLindormInstanceRequest::getSecurityToken() const {
{ return securityToken_;
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
} }
std::string ReleaseLindormInstanceRequest::getResourceOwnerAccount()const void ReleaseLindormInstanceRequest::setSecurityToken(const std::string &securityToken) {
{ securityToken_ = securityToken;
return resourceOwnerAccount_; setParameter(std::string("SecurityToken"), securityToken);
} }
void ReleaseLindormInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) std::string ReleaseLindormInstanceRequest::getResourceOwnerAccount() const {
{ return resourceOwnerAccount_;
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
} }
std::string ReleaseLindormInstanceRequest::getOwnerAccount()const void ReleaseLindormInstanceRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
{ resourceOwnerAccount_ = resourceOwnerAccount;
return ownerAccount_; setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
} }
void ReleaseLindormInstanceRequest::setOwnerAccount(const std::string& ownerAccount) std::string ReleaseLindormInstanceRequest::getOwnerAccount() const {
{ return ownerAccount_;
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
} }
long ReleaseLindormInstanceRequest::getOwnerId()const void ReleaseLindormInstanceRequest::setOwnerAccount(const std::string &ownerAccount) {
{ ownerAccount_ = ownerAccount;
return ownerId_; setParameter(std::string("OwnerAccount"), ownerAccount);
} }
void ReleaseLindormInstanceRequest::setOwnerId(long ownerId) long ReleaseLindormInstanceRequest::getOwnerId() const {
{ return ownerId_;
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
} }
std::string ReleaseLindormInstanceRequest::getInstanceId()const void ReleaseLindormInstanceRequest::setOwnerId(long ownerId) {
{ ownerId_ = ownerId;
return instanceId_; setParameter(std::string("OwnerId"), std::to_string(ownerId));
} }
void ReleaseLindormInstanceRequest::setInstanceId(const std::string& instanceId) std::string ReleaseLindormInstanceRequest::getInstanceId() const {
{ return instanceId_;
instanceId_ = instanceId; }
setParameter("InstanceId", instanceId);
void ReleaseLindormInstanceRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
} }

View File

@@ -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.
*/
#include <alibabacloud/hitsdb/model/TagResourcesRequest.h>
using AlibabaCloud::Hitsdb::Model::TagResourcesRequest;
TagResourcesRequest::TagResourcesRequest()
: RpcServiceRequest("hitsdb", "2020-06-15", "TagResources") {
setMethod(HttpRequest::Method::Post);
}
TagResourcesRequest::~TagResourcesRequest() {}
long TagResourcesRequest::getResourceOwnerId() const {
return resourceOwnerId_;
}
void TagResourcesRequest::setResourceOwnerId(long resourceOwnerId) {
resourceOwnerId_ = resourceOwnerId;
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
}
std::string TagResourcesRequest::getAccessKeyId() const {
return accessKeyId_;
}
void TagResourcesRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string TagResourcesRequest::getSecurityToken() const {
return securityToken_;
}
void TagResourcesRequest::setSecurityToken(const std::string &securityToken) {
securityToken_ = securityToken;
setParameter(std::string("SecurityToken"), securityToken);
}
std::vector<TagResourcesRequest::Tag> TagResourcesRequest::getTag() const {
return tag_;
}
void TagResourcesRequest::setTag(const std::vector<TagResourcesRequest::Tag> &tag) {
tag_ = tag;
for(int dep1 = 0; dep1 != tag.size(); dep1++) {
auto tagObj = tag.at(dep1);
std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1);
setParameter(tagObjStr + ".Value", tagObj.value);
setParameter(tagObjStr + ".Key", tagObj.key);
}
}
std::vector<std::string> TagResourcesRequest::getResourceId() const {
return resourceId_;
}
void TagResourcesRequest::setResourceId(const std::vector<std::string> &resourceId) {
resourceId_ = resourceId;
}
std::string TagResourcesRequest::getResourceOwnerAccount() const {
return resourceOwnerAccount_;
}
void TagResourcesRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
}
std::string TagResourcesRequest::getOwnerAccount() const {
return ownerAccount_;
}
void TagResourcesRequest::setOwnerAccount(const std::string &ownerAccount) {
ownerAccount_ = ownerAccount;
setParameter(std::string("OwnerAccount"), ownerAccount);
}
long TagResourcesRequest::getOwnerId() const {
return ownerId_;
}
void TagResourcesRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
std::string TagResourcesRequest::getResourceType() const {
return resourceType_;
}
void TagResourcesRequest::setResourceType(const std::string &resourceType) {
resourceType_ = resourceType;
setParameter(std::string("ResourceType"), resourceType);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/hitsdb/model/TagResourcesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Hitsdb;
using namespace AlibabaCloud::Hitsdb::Model;
TagResourcesResult::TagResourcesResult() :
ServiceResult()
{}
TagResourcesResult::TagResourcesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
TagResourcesResult::~TagResourcesResult()
{}
void TagResourcesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,115 @@
/*
* 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/UntagResourcesRequest.h>
using AlibabaCloud::Hitsdb::Model::UntagResourcesRequest;
UntagResourcesRequest::UntagResourcesRequest()
: RpcServiceRequest("hitsdb", "2020-06-15", "UntagResources") {
setMethod(HttpRequest::Method::Post);
}
UntagResourcesRequest::~UntagResourcesRequest() {}
long UntagResourcesRequest::getResourceOwnerId() const {
return resourceOwnerId_;
}
void UntagResourcesRequest::setResourceOwnerId(long resourceOwnerId) {
resourceOwnerId_ = resourceOwnerId;
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
}
std::string UntagResourcesRequest::getAccessKeyId() const {
return accessKeyId_;
}
void UntagResourcesRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string UntagResourcesRequest::getSecurityToken() const {
return securityToken_;
}
void UntagResourcesRequest::setSecurityToken(const std::string &securityToken) {
securityToken_ = securityToken;
setParameter(std::string("SecurityToken"), securityToken);
}
bool UntagResourcesRequest::getAll() const {
return all_;
}
void UntagResourcesRequest::setAll(bool all) {
all_ = all;
setParameter(std::string("All"), all ? "true" : "false");
}
std::vector<std::string> UntagResourcesRequest::getResourceId() const {
return resourceId_;
}
void UntagResourcesRequest::setResourceId(const std::vector<std::string> &resourceId) {
resourceId_ = resourceId;
}
std::string UntagResourcesRequest::getResourceOwnerAccount() const {
return resourceOwnerAccount_;
}
void UntagResourcesRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
}
std::string UntagResourcesRequest::getOwnerAccount() const {
return ownerAccount_;
}
void UntagResourcesRequest::setOwnerAccount(const std::string &ownerAccount) {
ownerAccount_ = ownerAccount;
setParameter(std::string("OwnerAccount"), ownerAccount);
}
long UntagResourcesRequest::getOwnerId() const {
return ownerId_;
}
void UntagResourcesRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
std::string UntagResourcesRequest::getResourceType() const {
return resourceType_;
}
void UntagResourcesRequest::setResourceType(const std::string &resourceType) {
resourceType_ = resourceType;
setParameter(std::string("ResourceType"), resourceType);
}
std::vector<std::string> UntagResourcesRequest::getTagKey() const {
return tagKey_;
}
void UntagResourcesRequest::setTagKey(const std::vector<std::string> &tagKey) {
tagKey_ = tagKey;
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/hitsdb/model/UntagResourcesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Hitsdb;
using namespace AlibabaCloud::Hitsdb::Model;
UntagResourcesResult::UntagResourcesResult() :
ServiceResult()
{}
UntagResourcesResult::UntagResourcesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
UntagResourcesResult::~UntagResourcesResult()
{}
void UntagResourcesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,128 +1,108 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/hitsdb/model/UpdateInstanceIpWhiteListRequest.h> #include <alibabacloud/hitsdb/model/UpdateInstanceIpWhiteListRequest.h>
using AlibabaCloud::Hitsdb::Model::UpdateInstanceIpWhiteListRequest; using AlibabaCloud::Hitsdb::Model::UpdateInstanceIpWhiteListRequest;
UpdateInstanceIpWhiteListRequest::UpdateInstanceIpWhiteListRequest() : UpdateInstanceIpWhiteListRequest::UpdateInstanceIpWhiteListRequest()
RpcServiceRequest("hitsdb", "2020-06-15", "UpdateInstanceIpWhiteList") : RpcServiceRequest("hitsdb", "2020-06-15", "UpdateInstanceIpWhiteList") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
UpdateInstanceIpWhiteListRequest::~UpdateInstanceIpWhiteListRequest()
{}
long UpdateInstanceIpWhiteListRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
} }
void UpdateInstanceIpWhiteListRequest::setResourceOwnerId(long resourceOwnerId) UpdateInstanceIpWhiteListRequest::~UpdateInstanceIpWhiteListRequest() {}
{
resourceOwnerId_ = resourceOwnerId; long UpdateInstanceIpWhiteListRequest::getResourceOwnerId() const {
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); return resourceOwnerId_;
} }
std::string UpdateInstanceIpWhiteListRequest::getAccessKeyId()const void UpdateInstanceIpWhiteListRequest::setResourceOwnerId(long resourceOwnerId) {
{ resourceOwnerId_ = resourceOwnerId;
return accessKeyId_; setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
} }
void UpdateInstanceIpWhiteListRequest::setAccessKeyId(const std::string& accessKeyId) std::string UpdateInstanceIpWhiteListRequest::getAccessKeyId() const {
{ return accessKeyId_;
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
} }
std::string UpdateInstanceIpWhiteListRequest::getSecurityToken()const void UpdateInstanceIpWhiteListRequest::setAccessKeyId(const std::string &accessKeyId) {
{ accessKeyId_ = accessKeyId;
return securityToken_; setParameter(std::string("AccessKeyId"), accessKeyId);
} }
void UpdateInstanceIpWhiteListRequest::setSecurityToken(const std::string& securityToken) std::string UpdateInstanceIpWhiteListRequest::getSecurityToken() const {
{ return securityToken_;
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
} }
std::string UpdateInstanceIpWhiteListRequest::getResourceOwnerAccount()const void UpdateInstanceIpWhiteListRequest::setSecurityToken(const std::string &securityToken) {
{ securityToken_ = securityToken;
return resourceOwnerAccount_; setParameter(std::string("SecurityToken"), securityToken);
} }
void UpdateInstanceIpWhiteListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) std::string UpdateInstanceIpWhiteListRequest::getResourceOwnerAccount() const {
{ return resourceOwnerAccount_;
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
} }
std::string UpdateInstanceIpWhiteListRequest::getOwnerAccount()const void UpdateInstanceIpWhiteListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
{ resourceOwnerAccount_ = resourceOwnerAccount;
return ownerAccount_; setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
} }
void UpdateInstanceIpWhiteListRequest::setOwnerAccount(const std::string& ownerAccount) std::string UpdateInstanceIpWhiteListRequest::getOwnerAccount() const {
{ return ownerAccount_;
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
} }
long UpdateInstanceIpWhiteListRequest::getOwnerId()const void UpdateInstanceIpWhiteListRequest::setOwnerAccount(const std::string &ownerAccount) {
{ ownerAccount_ = ownerAccount;
return ownerId_; setParameter(std::string("OwnerAccount"), ownerAccount);
} }
void UpdateInstanceIpWhiteListRequest::setOwnerId(long ownerId) long UpdateInstanceIpWhiteListRequest::getOwnerId() const {
{ return ownerId_;
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
} }
std::string UpdateInstanceIpWhiteListRequest::getGroupName()const void UpdateInstanceIpWhiteListRequest::setOwnerId(long ownerId) {
{ ownerId_ = ownerId;
return groupName_; setParameter(std::string("OwnerId"), std::to_string(ownerId));
} }
void UpdateInstanceIpWhiteListRequest::setGroupName(const std::string& groupName) std::string UpdateInstanceIpWhiteListRequest::getGroupName() const {
{ return groupName_;
groupName_ = groupName;
setParameter("GroupName", groupName);
} }
std::string UpdateInstanceIpWhiteListRequest::getSecurityIpList()const void UpdateInstanceIpWhiteListRequest::setGroupName(const std::string &groupName) {
{ groupName_ = groupName;
return securityIpList_; setParameter(std::string("GroupName"), groupName);
} }
void UpdateInstanceIpWhiteListRequest::setSecurityIpList(const std::string& securityIpList) std::string UpdateInstanceIpWhiteListRequest::getSecurityIpList() const {
{ return securityIpList_;
securityIpList_ = securityIpList;
setParameter("SecurityIpList", securityIpList);
} }
std::string UpdateInstanceIpWhiteListRequest::getInstanceId()const void UpdateInstanceIpWhiteListRequest::setSecurityIpList(const std::string &securityIpList) {
{ securityIpList_ = securityIpList;
return instanceId_; setParameter(std::string("SecurityIpList"), securityIpList);
} }
void UpdateInstanceIpWhiteListRequest::setInstanceId(const std::string& instanceId) std::string UpdateInstanceIpWhiteListRequest::getInstanceId() const {
{ return instanceId_;
instanceId_ = instanceId; }
setParameter("InstanceId", instanceId);
void UpdateInstanceIpWhiteListRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
} }

View File

@@ -1,326 +1,270 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/hitsdb/model/UpgradeLindormInstanceRequest.h> #include <alibabacloud/hitsdb/model/UpgradeLindormInstanceRequest.h>
using AlibabaCloud::Hitsdb::Model::UpgradeLindormInstanceRequest; using AlibabaCloud::Hitsdb::Model::UpgradeLindormInstanceRequest;
UpgradeLindormInstanceRequest::UpgradeLindormInstanceRequest() : UpgradeLindormInstanceRequest::UpgradeLindormInstanceRequest()
RpcServiceRequest("hitsdb", "2020-06-15", "UpgradeLindormInstance") : RpcServiceRequest("hitsdb", "2020-06-15", "UpgradeLindormInstance") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
UpgradeLindormInstanceRequest::~UpgradeLindormInstanceRequest()
{}
long UpgradeLindormInstanceRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
} }
void UpgradeLindormInstanceRequest::setResourceOwnerId(long resourceOwnerId) UpgradeLindormInstanceRequest::~UpgradeLindormInstanceRequest() {}
{
resourceOwnerId_ = resourceOwnerId; long UpgradeLindormInstanceRequest::getResourceOwnerId() const {
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); return resourceOwnerId_;
} }
int UpgradeLindormInstanceRequest::getPhoenixCoreNum()const void UpgradeLindormInstanceRequest::setResourceOwnerId(long resourceOwnerId) {
{ resourceOwnerId_ = resourceOwnerId;
return phoenixCoreNum_; setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
} }
void UpgradeLindormInstanceRequest::setPhoenixCoreNum(int phoenixCoreNum) int UpgradeLindormInstanceRequest::getPhoenixCoreNum() const {
{ return phoenixCoreNum_;
phoenixCoreNum_ = phoenixCoreNum;
setParameter("PhoenixCoreNum", std::to_string(phoenixCoreNum));
} }
std::string UpgradeLindormInstanceRequest::getPhoenixCoreSpec()const void UpgradeLindormInstanceRequest::setPhoenixCoreNum(int phoenixCoreNum) {
{ phoenixCoreNum_ = phoenixCoreNum;
return phoenixCoreSpec_; setParameter(std::string("PhoenixCoreNum"), std::to_string(phoenixCoreNum));
} }
void UpgradeLindormInstanceRequest::setPhoenixCoreSpec(const std::string& phoenixCoreSpec) std::string UpgradeLindormInstanceRequest::getPhoenixCoreSpec() const {
{ return phoenixCoreSpec_;
phoenixCoreSpec_ = phoenixCoreSpec;
setParameter("PhoenixCoreSpec", phoenixCoreSpec);
} }
std::string UpgradeLindormInstanceRequest::getClientToken()const void UpgradeLindormInstanceRequest::setPhoenixCoreSpec(const std::string &phoenixCoreSpec) {
{ phoenixCoreSpec_ = phoenixCoreSpec;
return clientToken_; setParameter(std::string("PhoenixCoreSpec"), phoenixCoreSpec);
} }
void UpgradeLindormInstanceRequest::setClientToken(const std::string& clientToken) std::string UpgradeLindormInstanceRequest::getClientToken() const {
{ return clientToken_;
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
} }
std::string UpgradeLindormInstanceRequest::getUpgradeType()const void UpgradeLindormInstanceRequest::setClientToken(const std::string &clientToken) {
{ clientToken_ = clientToken;
return upgradeType_; setParameter(std::string("ClientToken"), clientToken);
} }
void UpgradeLindormInstanceRequest::setUpgradeType(const std::string& upgradeType) std::string UpgradeLindormInstanceRequest::getUpgradeType() const {
{ return upgradeType_;
upgradeType_ = upgradeType;
setParameter("UpgradeType", upgradeType);
} }
std::string UpgradeLindormInstanceRequest::getTsdbSpec()const void UpgradeLindormInstanceRequest::setUpgradeType(const std::string &upgradeType) {
{ upgradeType_ = upgradeType;
return tsdbSpec_; setParameter(std::string("UpgradeType"), upgradeType);
} }
void UpgradeLindormInstanceRequest::setTsdbSpec(const std::string& tsdbSpec) std::string UpgradeLindormInstanceRequest::getTsdbSpec() const {
{ return tsdbSpec_;
tsdbSpec_ = tsdbSpec;
setParameter("TsdbSpec", tsdbSpec);
} }
std::string UpgradeLindormInstanceRequest::getFilestoreSpec()const void UpgradeLindormInstanceRequest::setTsdbSpec(const std::string &tsdbSpec) {
{ tsdbSpec_ = tsdbSpec;
return filestoreSpec_; setParameter(std::string("TsdbSpec"), tsdbSpec);
} }
void UpgradeLindormInstanceRequest::setFilestoreSpec(const std::string& filestoreSpec) std::string UpgradeLindormInstanceRequest::getFilestoreSpec() const {
{ return filestoreSpec_;
filestoreSpec_ = filestoreSpec;
setParameter("FilestoreSpec", filestoreSpec);
} }
std::string UpgradeLindormInstanceRequest::getAccessKeyId()const void UpgradeLindormInstanceRequest::setFilestoreSpec(const std::string &filestoreSpec) {
{ filestoreSpec_ = filestoreSpec;
return accessKeyId_; setParameter(std::string("FilestoreSpec"), filestoreSpec);
} }
void UpgradeLindormInstanceRequest::setAccessKeyId(const std::string& accessKeyId) std::string UpgradeLindormInstanceRequest::getAccessKeyId() const {
{ return accessKeyId_;
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
} }
std::string UpgradeLindormInstanceRequest::getSecurityToken()const void UpgradeLindormInstanceRequest::setAccessKeyId(const std::string &accessKeyId) {
{ accessKeyId_ = accessKeyId;
return securityToken_; setParameter(std::string("AccessKeyId"), accessKeyId);
} }
void UpgradeLindormInstanceRequest::setSecurityToken(const std::string& securityToken) std::string UpgradeLindormInstanceRequest::getSecurityToken() const {
{ return securityToken_;
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
} }
std::string UpgradeLindormInstanceRequest::getRegionId()const void UpgradeLindormInstanceRequest::setSecurityToken(const std::string &securityToken) {
{ securityToken_ = securityToken;
return regionId_; setParameter(std::string("SecurityToken"), securityToken);
} }
void UpgradeLindormInstanceRequest::setRegionId(const std::string& regionId) std::string UpgradeLindormInstanceRequest::getRegionId() const {
{ return regionId_;
regionId_ = regionId;
setParameter("RegionId", regionId);
} }
int UpgradeLindormInstanceRequest::getTsdbNum()const void UpgradeLindormInstanceRequest::setRegionId(const std::string &regionId) {
{ regionId_ = regionId;
return tsdbNum_; setParameter(std::string("RegionId"), regionId);
} }
void UpgradeLindormInstanceRequest::setTsdbNum(int tsdbNum) int UpgradeLindormInstanceRequest::getTsdbNum() const {
{ return tsdbNum_;
tsdbNum_ = tsdbNum;
setParameter("TsdbNum", std::to_string(tsdbNum));
} }
std::string UpgradeLindormInstanceRequest::getLindormSpec()const void UpgradeLindormInstanceRequest::setTsdbNum(int tsdbNum) {
{ tsdbNum_ = tsdbNum;
return lindormSpec_; setParameter(std::string("TsdbNum"), std::to_string(tsdbNum));
} }
void UpgradeLindormInstanceRequest::setLindormSpec(const std::string& lindormSpec) std::string UpgradeLindormInstanceRequest::getLindormSpec() const {
{ return lindormSpec_;
lindormSpec_ = lindormSpec;
setParameter("LindormSpec", lindormSpec);
} }
int UpgradeLindormInstanceRequest::getSolrNum()const void UpgradeLindormInstanceRequest::setLindormSpec(const std::string &lindormSpec) {
{ lindormSpec_ = lindormSpec;
return solrNum_; setParameter(std::string("LindormSpec"), lindormSpec);
} }
void UpgradeLindormInstanceRequest::setSolrNum(int solrNum) int UpgradeLindormInstanceRequest::getSolrNum() const {
{ return solrNum_;
solrNum_ = solrNum;
setParameter("SolrNum", std::to_string(solrNum));
} }
int UpgradeLindormInstanceRequest::getColdStorage()const void UpgradeLindormInstanceRequest::setSolrNum(int solrNum) {
{ solrNum_ = solrNum;
return coldStorage_; setParameter(std::string("SolrNum"), std::to_string(solrNum));
} }
void UpgradeLindormInstanceRequest::setColdStorage(int coldStorage) int UpgradeLindormInstanceRequest::getColdStorage() const {
{ return coldStorage_;
coldStorage_ = coldStorage;
setParameter("ColdStorage", std::to_string(coldStorage));
} }
std::string UpgradeLindormInstanceRequest::getSolrSpec()const void UpgradeLindormInstanceRequest::setColdStorage(int coldStorage) {
{ coldStorage_ = coldStorage;
return solrSpec_; setParameter(std::string("ColdStorage"), std::to_string(coldStorage));
} }
void UpgradeLindormInstanceRequest::setSolrSpec(const std::string& solrSpec) std::string UpgradeLindormInstanceRequest::getSolrSpec() const {
{ return solrSpec_;
solrSpec_ = solrSpec;
setParameter("SolrSpec", solrSpec);
} }
std::string UpgradeLindormInstanceRequest::getResourceOwnerAccount()const void UpgradeLindormInstanceRequest::setSolrSpec(const std::string &solrSpec) {
{ solrSpec_ = solrSpec;
return resourceOwnerAccount_; setParameter(std::string("SolrSpec"), solrSpec);
} }
void UpgradeLindormInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) std::string UpgradeLindormInstanceRequest::getResourceOwnerAccount() const {
{ return resourceOwnerAccount_;
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
} }
std::string UpgradeLindormInstanceRequest::getOwnerAccount()const void UpgradeLindormInstanceRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
{ resourceOwnerAccount_ = resourceOwnerAccount;
return ownerAccount_; setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
} }
void UpgradeLindormInstanceRequest::setOwnerAccount(const std::string& ownerAccount) std::string UpgradeLindormInstanceRequest::getOwnerAccount() const {
{ return ownerAccount_;
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
} }
int UpgradeLindormInstanceRequest::getFilestoreNum()const void UpgradeLindormInstanceRequest::setOwnerAccount(const std::string &ownerAccount) {
{ ownerAccount_ = ownerAccount;
return filestoreNum_; setParameter(std::string("OwnerAccount"), ownerAccount);
} }
void UpgradeLindormInstanceRequest::setFilestoreNum(int filestoreNum) int UpgradeLindormInstanceRequest::getFilestoreNum() const {
{ return filestoreNum_;
filestoreNum_ = filestoreNum;
setParameter("FilestoreNum", std::to_string(filestoreNum));
} }
long UpgradeLindormInstanceRequest::getOwnerId()const void UpgradeLindormInstanceRequest::setFilestoreNum(int filestoreNum) {
{ filestoreNum_ = filestoreNum;
return ownerId_; setParameter(std::string("FilestoreNum"), std::to_string(filestoreNum));
} }
void UpgradeLindormInstanceRequest::setOwnerId(long ownerId) long UpgradeLindormInstanceRequest::getOwnerId() const {
{ return ownerId_;
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
} }
int UpgradeLindormInstanceRequest::getLindormNum()const void UpgradeLindormInstanceRequest::setOwnerId(long ownerId) {
{ ownerId_ = ownerId;
return lindormNum_; setParameter(std::string("OwnerId"), std::to_string(ownerId));
} }
void UpgradeLindormInstanceRequest::setLindormNum(int lindormNum) int UpgradeLindormInstanceRequest::getLindormNum() const {
{ return lindormNum_;
lindormNum_ = lindormNum;
setParameter("LindormNum", std::to_string(lindormNum));
} }
std::string UpgradeLindormInstanceRequest::getCoreSpec()const void UpgradeLindormInstanceRequest::setLindormNum(int lindormNum) {
{ lindormNum_ = lindormNum;
return coreSpec_; setParameter(std::string("LindormNum"), std::to_string(lindormNum));
} }
void UpgradeLindormInstanceRequest::setCoreSpec(const std::string& coreSpec) std::string UpgradeLindormInstanceRequest::getCoreSpec() const {
{ return coreSpec_;
coreSpec_ = coreSpec;
setParameter("CoreSpec", coreSpec);
} }
int UpgradeLindormInstanceRequest::getCoreNum()const void UpgradeLindormInstanceRequest::setCoreSpec(const std::string &coreSpec) {
{ coreSpec_ = coreSpec;
return coreNum_; setParameter(std::string("CoreSpec"), coreSpec);
} }
void UpgradeLindormInstanceRequest::setCoreNum(int coreNum) int UpgradeLindormInstanceRequest::getCoreNum() const {
{ return coreNum_;
coreNum_ = coreNum;
setParameter("CoreNum", std::to_string(coreNum));
} }
int UpgradeLindormInstanceRequest::getLtsCoreNum()const void UpgradeLindormInstanceRequest::setCoreNum(int coreNum) {
{ coreNum_ = coreNum;
return ltsCoreNum_; setParameter(std::string("CoreNum"), std::to_string(coreNum));
} }
void UpgradeLindormInstanceRequest::setLtsCoreNum(int ltsCoreNum) int UpgradeLindormInstanceRequest::getLtsCoreNum() const {
{ return ltsCoreNum_;
ltsCoreNum_ = ltsCoreNum;
setParameter("LtsCoreNum", std::to_string(ltsCoreNum));
} }
std::string UpgradeLindormInstanceRequest::getInstanceId()const void UpgradeLindormInstanceRequest::setLtsCoreNum(int ltsCoreNum) {
{ ltsCoreNum_ = ltsCoreNum;
return instanceId_; setParameter(std::string("LtsCoreNum"), std::to_string(ltsCoreNum));
} }
void UpgradeLindormInstanceRequest::setInstanceId(const std::string& instanceId) std::string UpgradeLindormInstanceRequest::getInstanceId() const {
{ return instanceId_;
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
} }
std::string UpgradeLindormInstanceRequest::getLtsCoreSpec()const void UpgradeLindormInstanceRequest::setInstanceId(const std::string &instanceId) {
{ instanceId_ = instanceId;
return ltsCoreSpec_; setParameter(std::string("InstanceId"), instanceId);
} }
void UpgradeLindormInstanceRequest::setLtsCoreSpec(const std::string& ltsCoreSpec) std::string UpgradeLindormInstanceRequest::getLtsCoreSpec() const {
{ return ltsCoreSpec_;
ltsCoreSpec_ = ltsCoreSpec;
setParameter("LtsCoreSpec", ltsCoreSpec);
} }
int UpgradeLindormInstanceRequest::getClusterStorage()const void UpgradeLindormInstanceRequest::setLtsCoreSpec(const std::string &ltsCoreSpec) {
{ ltsCoreSpec_ = ltsCoreSpec;
return clusterStorage_; setParameter(std::string("LtsCoreSpec"), ltsCoreSpec);
} }
void UpgradeLindormInstanceRequest::setClusterStorage(int clusterStorage) int UpgradeLindormInstanceRequest::getClusterStorage() const {
{ return clusterStorage_;
clusterStorage_ = clusterStorage;
setParameter("ClusterStorage", std::to_string(clusterStorage));
} }
std::string UpgradeLindormInstanceRequest::getZoneId()const void UpgradeLindormInstanceRequest::setClusterStorage(int clusterStorage) {
{ clusterStorage_ = clusterStorage;
return zoneId_; setParameter(std::string("ClusterStorage"), std::to_string(clusterStorage));
} }
void UpgradeLindormInstanceRequest::setZoneId(const std::string& zoneId) std::string UpgradeLindormInstanceRequest::getZoneId() const {
{ return zoneId_;
zoneId_ = zoneId; }
setParameter("ZoneId", zoneId);
void UpgradeLindormInstanceRequest::setZoneId(const std::string &zoneId) {
zoneId_ = zoneId;
setParameter(std::string("ZoneId"), zoneId);
} }