Add ListTagResources api.
This commit is contained in:
@@ -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
|
||||
- Support output dagName, dagOwnerId for api listTaskFlowAndScenario.
|
||||
- Change output DbType to DwDbType for api GetLhSpaceByName.
|
||||
|
||||
@@ -33,8 +33,14 @@ set(hitsdb_public_header_model
|
||||
include/alibabacloud/hitsdb/model/GetLindormInstanceEngineListResult.h
|
||||
include/alibabacloud/hitsdb/model/GetLindormInstanceListRequest.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/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/UpdateInstanceIpWhiteListResult.h
|
||||
include/alibabacloud/hitsdb/model/UpgradeLindormInstanceRequest.h
|
||||
@@ -54,8 +60,14 @@ set(hitsdb_src
|
||||
src/model/GetLindormInstanceEngineListResult.cc
|
||||
src/model/GetLindormInstanceListRequest.cc
|
||||
src/model/GetLindormInstanceListResult.cc
|
||||
src/model/ListTagResourcesRequest.cc
|
||||
src/model/ListTagResourcesResult.cc
|
||||
src/model/ReleaseLindormInstanceRequest.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/UpdateInstanceIpWhiteListResult.cc
|
||||
src/model/UpgradeLindormInstanceRequest.cc
|
||||
|
||||
@@ -34,8 +34,14 @@
|
||||
#include "model/GetLindormInstanceEngineListResult.h"
|
||||
#include "model/GetLindormInstanceListRequest.h"
|
||||
#include "model/GetLindormInstanceListResult.h"
|
||||
#include "model/ListTagResourcesRequest.h"
|
||||
#include "model/ListTagResourcesResult.h"
|
||||
#include "model/ReleaseLindormInstanceRequest.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/UpdateInstanceIpWhiteListResult.h"
|
||||
#include "model/UpgradeLindormInstanceRequest.h"
|
||||
@@ -67,9 +73,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetLindormInstanceListResult> GetLindormInstanceListOutcome;
|
||||
typedef std::future<GetLindormInstanceListOutcome> GetLindormInstanceListOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::GetLindormInstanceListRequest&, const GetLindormInstanceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLindormInstanceListAsyncHandler;
|
||||
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 std::future<ReleaseLindormInstanceOutcome> ReleaseLindormInstanceOutcomeCallable;
|
||||
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 std::future<UpdateInstanceIpWhiteListOutcome> UpdateInstanceIpWhiteListOutcomeCallable;
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
|
||||
@@ -1,126 +1,120 @@
|
||||
/*
|
||||
* 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_CREATELINDORMINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_CREATELINDORMINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT CreateLindormInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateLindormInstanceRequest();
|
||||
~CreateLindormInstanceRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getTsdbSpec()const;
|
||||
void setTsdbSpec(const std::string& tsdbSpec);
|
||||
std::string getFilestoreSpec()const;
|
||||
void setFilestoreSpec(const std::string& filestoreSpec);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDuration()const;
|
||||
void setDuration(const std::string& duration);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getTsdbNum()const;
|
||||
void setTsdbNum(int tsdbNum);
|
||||
std::string getDiskCategory()const;
|
||||
void setDiskCategory(const std::string& diskCategory);
|
||||
std::string getLindormSpec()const;
|
||||
void setLindormSpec(const std::string& lindormSpec);
|
||||
int getSolrNum()const;
|
||||
void setSolrNum(int solrNum);
|
||||
int getColdStorage()const;
|
||||
void setColdStorage(int coldStorage);
|
||||
std::string getInstanceStorage()const;
|
||||
void setInstanceStorage(const std::string& instanceStorage);
|
||||
std::string getSolrSpec()const;
|
||||
void setSolrSpec(const std::string& solrSpec);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getInstanceAlias()const;
|
||||
void setInstanceAlias(const std::string& instanceAlias);
|
||||
int getFilestoreNum()const;
|
||||
void setFilestoreNum(int filestoreNum);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getLindormNum()const;
|
||||
void setLindormNum(int lindormNum);
|
||||
std::string getCoreSpec()const;
|
||||
void setCoreSpec(const std::string& coreSpec);
|
||||
std::string getVSwitchId()const;
|
||||
void setVSwitchId(const std::string& vSwitchId);
|
||||
std::string getVPCId()const;
|
||||
void setVPCId(const std::string& vPCId);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
std::string getPayType()const;
|
||||
void setPayType(const std::string& payType);
|
||||
std::string getPricingCycle()const;
|
||||
void setPricingCycle(const std::string& pricingCycle);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string tsdbSpec_;
|
||||
std::string filestoreSpec_;
|
||||
std::string accessKeyId_;
|
||||
std::string duration_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
int tsdbNum_;
|
||||
std::string diskCategory_;
|
||||
std::string lindormSpec_;
|
||||
int solrNum_;
|
||||
int coldStorage_;
|
||||
std::string instanceStorage_;
|
||||
std::string solrSpec_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string instanceAlias_;
|
||||
int filestoreNum_;
|
||||
long ownerId_;
|
||||
int lindormNum_;
|
||||
std::string coreSpec_;
|
||||
std::string vSwitchId_;
|
||||
std::string vPCId_;
|
||||
std::string zoneId_;
|
||||
std::string payType_;
|
||||
std::string pricingCycle_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_CREATELINDORMINSTANCEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_CREATELINDORMINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_CREATELINDORMINSTANCEREQUEST_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 CreateLindormInstanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateLindormInstanceRequest();
|
||||
~CreateLindormInstanceRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getTsdbSpec() const;
|
||||
void setTsdbSpec(const std::string &tsdbSpec);
|
||||
std::string getFilestoreSpec() const;
|
||||
void setFilestoreSpec(const std::string &filestoreSpec);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDuration() const;
|
||||
void setDuration(const std::string &duration);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
int getTsdbNum() const;
|
||||
void setTsdbNum(int tsdbNum);
|
||||
std::string getDiskCategory() const;
|
||||
void setDiskCategory(const std::string &diskCategory);
|
||||
std::string getLindormSpec() const;
|
||||
void setLindormSpec(const std::string &lindormSpec);
|
||||
int getSolrNum() const;
|
||||
void setSolrNum(int solrNum);
|
||||
int getColdStorage() const;
|
||||
void setColdStorage(int coldStorage);
|
||||
std::string getInstanceStorage() const;
|
||||
void setInstanceStorage(const std::string &instanceStorage);
|
||||
std::string getSolrSpec() const;
|
||||
void setSolrSpec(const std::string &solrSpec);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
std::string getInstanceAlias() const;
|
||||
void setInstanceAlias(const std::string &instanceAlias);
|
||||
int getFilestoreNum() const;
|
||||
void setFilestoreNum(int filestoreNum);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getLindormNum() const;
|
||||
void setLindormNum(int lindormNum);
|
||||
std::string getCoreSpec() const;
|
||||
void setCoreSpec(const std::string &coreSpec);
|
||||
std::string getVSwitchId() const;
|
||||
void setVSwitchId(const std::string &vSwitchId);
|
||||
std::string getVPCId() const;
|
||||
void setVPCId(const std::string &vPCId);
|
||||
std::string getZoneId() const;
|
||||
void setZoneId(const std::string &zoneId);
|
||||
std::string getPayType() const;
|
||||
void setPayType(const std::string &payType);
|
||||
std::string getPricingCycle() const;
|
||||
void setPricingCycle(const std::string &pricingCycle);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string tsdbSpec_;
|
||||
std::string filestoreSpec_;
|
||||
std::string accessKeyId_;
|
||||
std::string duration_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
int tsdbNum_;
|
||||
std::string diskCategory_;
|
||||
std::string lindormSpec_;
|
||||
int solrNum_;
|
||||
int coldStorage_;
|
||||
std::string instanceStorage_;
|
||||
std::string solrSpec_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string instanceAlias_;
|
||||
int filestoreNum_;
|
||||
long ownerId_;
|
||||
int lindormNum_;
|
||||
std::string coreSpec_;
|
||||
std::string vSwitchId_;
|
||||
std::string vPCId_;
|
||||
std::string zoneId_;
|
||||
std::string payType_;
|
||||
std::string pricingCycle_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Hitsdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_CREATELINDORMINSTANCEREQUEST_H_
|
||||
|
||||
@@ -1,66 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT DescribeRegionsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRegionsRequest();
|
||||
~DescribeRegionsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAcceptLanguage()const;
|
||||
void setAcceptLanguage(const std::string& acceptLanguage);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string acceptLanguage_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_DESCRIBEREGIONSREQUEST_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 DescribeRegionsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeRegionsRequest();
|
||||
~DescribeRegionsRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAcceptLanguage() const;
|
||||
void setAcceptLanguage(const std::string &acceptLanguage);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string acceptLanguage_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Hitsdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
|
||||
@@ -1,69 +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_GETINSTANCEIPWHITELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_GETINSTANCEIPWHITELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT GetInstanceIpWhiteListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetInstanceIpWhiteListRequest();
|
||||
~GetInstanceIpWhiteListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getGroupName()const;
|
||||
void setGroupName(const std::string& groupName);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string groupName_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_GETINSTANCEIPWHITELISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_GETINSTANCEIPWHITELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_GETINSTANCEIPWHITELISTREQUEST_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 GetInstanceIpWhiteListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetInstanceIpWhiteListRequest();
|
||||
~GetInstanceIpWhiteListRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getGroupName() const;
|
||||
void setGroupName(const std::string &groupName);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string groupName_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Hitsdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_GETINSTANCEIPWHITELISTREQUEST_H_
|
||||
|
||||
@@ -1,69 +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_GETLINDORMINSTANCEENGINELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEENGINELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT GetLindormInstanceEngineListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetLindormInstanceEngineListRequest();
|
||||
~GetLindormInstanceEngineListRequest();
|
||||
|
||||
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 getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEENGINELISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEENGINELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEENGINELISTREQUEST_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 GetLindormInstanceEngineListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetLindormInstanceEngineListRequest();
|
||||
~GetLindormInstanceEngineListRequest();
|
||||
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 ®ionId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Hitsdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEENGINELISTREQUEST_H_
|
||||
|
||||
@@ -1,81 +1,82 @@
|
||||
/*
|
||||
* 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_GETLINDORMINSTANCELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT GetLindormInstanceListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetLindormInstanceListRequest();
|
||||
~GetLindormInstanceListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
int getSupportEngine()const;
|
||||
void setSupportEngine(int supportEngine);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getQueryStr()const;
|
||||
void setQueryStr(const std::string& queryStr);
|
||||
std::string 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 getServiceType()const;
|
||||
void setServiceType(const std::string& serviceType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
int supportEngine_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string queryStr_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string serviceType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCELISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCELISTREQUEST_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 GetLindormInstanceListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
GetLindormInstanceListRequest();
|
||||
~GetLindormInstanceListRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
int getSupportEngine() const;
|
||||
void setSupportEngine(int supportEngine);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
std::string getQueryStr() const;
|
||||
void setQueryStr(const std::string &queryStr);
|
||||
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 getServiceType() const;
|
||||
void setServiceType(const std::string &serviceType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
int supportEngine_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string queryStr_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string serviceType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Hitsdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCELISTREQUEST_H_
|
||||
|
||||
@@ -34,6 +34,11 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct LindormInstanceSummary
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
long expiredMilliseconds;
|
||||
std::string instanceStorage;
|
||||
std::string zoneId;
|
||||
@@ -50,6 +55,7 @@ namespace AlibabaCloud
|
||||
std::string regionId;
|
||||
std::string expireTime;
|
||||
long createMilliseconds;
|
||||
std::vector<LindormInstanceSummary::Tag> tags;
|
||||
long aliUid;
|
||||
};
|
||||
|
||||
|
||||
@@ -1,69 +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_GETLINDORMINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT GetLindormInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetLindormInstanceRequest();
|
||||
~GetLindormInstanceRequest();
|
||||
|
||||
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 getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEREQUEST_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 GetLindormInstanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetLindormInstanceRequest();
|
||||
~GetLindormInstanceRequest();
|
||||
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 ®ionId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Hitsdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_GETLINDORMINSTANCEREQUEST_H_
|
||||
|
||||
@@ -54,6 +54,7 @@ namespace AlibabaCloud
|
||||
bool getAutoRenew()const;
|
||||
std::string getDiskUsage()const;
|
||||
bool getEnableFS()const;
|
||||
bool getEnableShs()const;
|
||||
bool getEnableCompute()const;
|
||||
std::string getNetworkType()const;
|
||||
std::string getServiceType()const;
|
||||
@@ -90,6 +91,7 @@ namespace AlibabaCloud
|
||||
bool autoRenew_;
|
||||
std::string diskUsage_;
|
||||
bool enableFS_;
|
||||
bool enableShs_;
|
||||
bool enableCompute_;
|
||||
std::string networkType_;
|
||||
std::string serviceType_;
|
||||
|
||||
@@ -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 ®ionId);
|
||||
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_
|
||||
@@ -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_
|
||||
@@ -1,66 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_RELEASELINDORMINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_RELEASELINDORMINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT ReleaseLindormInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ReleaseLindormInstanceRequest();
|
||||
~ReleaseLindormInstanceRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_RELEASELINDORMINSTANCEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_RELEASELINDORMINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_RELEASELINDORMINSTANCEREQUEST_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 ReleaseLindormInstanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ReleaseLindormInstanceRequest();
|
||||
~ReleaseLindormInstanceRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Hitsdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_RELEASELINDORMINSTANCEREQUEST_H_
|
||||
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -1,72 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_UPDATEINSTANCEIPWHITELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_UPDATEINSTANCEIPWHITELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT UpdateInstanceIpWhiteListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateInstanceIpWhiteListRequest();
|
||||
~UpdateInstanceIpWhiteListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getGroupName()const;
|
||||
void setGroupName(const std::string& groupName);
|
||||
std::string getSecurityIpList()const;
|
||||
void setSecurityIpList(const std::string& securityIpList);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string groupName_;
|
||||
std::string securityIpList_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_UPDATEINSTANCEIPWHITELISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_UPDATEINSTANCEIPWHITELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_UPDATEINSTANCEIPWHITELISTREQUEST_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 UpdateInstanceIpWhiteListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UpdateInstanceIpWhiteListRequest();
|
||||
~UpdateInstanceIpWhiteListRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getGroupName() const;
|
||||
void setGroupName(const std::string &groupName);
|
||||
std::string getSecurityIpList() const;
|
||||
void setSecurityIpList(const std::string &securityIpList);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string groupName_;
|
||||
std::string securityIpList_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Hitsdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_UPDATEINSTANCEIPWHITELISTREQUEST_H_
|
||||
|
||||
@@ -1,126 +1,120 @@
|
||||
/*
|
||||
* 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_UPGRADELINDORMINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_UPGRADELINDORMINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT UpgradeLindormInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpgradeLindormInstanceRequest();
|
||||
~UpgradeLindormInstanceRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
int getPhoenixCoreNum()const;
|
||||
void setPhoenixCoreNum(int phoenixCoreNum);
|
||||
std::string getPhoenixCoreSpec()const;
|
||||
void setPhoenixCoreSpec(const std::string& phoenixCoreSpec);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getUpgradeType()const;
|
||||
void setUpgradeType(const std::string& upgradeType);
|
||||
std::string getTsdbSpec()const;
|
||||
void setTsdbSpec(const std::string& tsdbSpec);
|
||||
std::string getFilestoreSpec()const;
|
||||
void setFilestoreSpec(const std::string& filestoreSpec);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getTsdbNum()const;
|
||||
void setTsdbNum(int tsdbNum);
|
||||
std::string getLindormSpec()const;
|
||||
void setLindormSpec(const std::string& lindormSpec);
|
||||
int getSolrNum()const;
|
||||
void setSolrNum(int solrNum);
|
||||
int getColdStorage()const;
|
||||
void setColdStorage(int coldStorage);
|
||||
std::string getSolrSpec()const;
|
||||
void setSolrSpec(const std::string& solrSpec);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
int getFilestoreNum()const;
|
||||
void setFilestoreNum(int filestoreNum);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getLindormNum()const;
|
||||
void setLindormNum(int lindormNum);
|
||||
std::string getCoreSpec()const;
|
||||
void setCoreSpec(const std::string& coreSpec);
|
||||
int getCoreNum()const;
|
||||
void setCoreNum(int coreNum);
|
||||
int getLtsCoreNum()const;
|
||||
void setLtsCoreNum(int ltsCoreNum);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getLtsCoreSpec()const;
|
||||
void setLtsCoreSpec(const std::string& ltsCoreSpec);
|
||||
int getClusterStorage()const;
|
||||
void setClusterStorage(int clusterStorage);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
int phoenixCoreNum_;
|
||||
std::string phoenixCoreSpec_;
|
||||
std::string clientToken_;
|
||||
std::string upgradeType_;
|
||||
std::string tsdbSpec_;
|
||||
std::string filestoreSpec_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
int tsdbNum_;
|
||||
std::string lindormSpec_;
|
||||
int solrNum_;
|
||||
int coldStorage_;
|
||||
std::string solrSpec_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
int filestoreNum_;
|
||||
long ownerId_;
|
||||
int lindormNum_;
|
||||
std::string coreSpec_;
|
||||
int coreNum_;
|
||||
int ltsCoreNum_;
|
||||
std::string instanceId_;
|
||||
std::string ltsCoreSpec_;
|
||||
int clusterStorage_;
|
||||
std::string zoneId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_UPGRADELINDORMINSTANCEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_UPGRADELINDORMINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_UPGRADELINDORMINSTANCEREQUEST_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 UpgradeLindormInstanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UpgradeLindormInstanceRequest();
|
||||
~UpgradeLindormInstanceRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
int getPhoenixCoreNum() const;
|
||||
void setPhoenixCoreNum(int phoenixCoreNum);
|
||||
std::string getPhoenixCoreSpec() const;
|
||||
void setPhoenixCoreSpec(const std::string &phoenixCoreSpec);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getUpgradeType() const;
|
||||
void setUpgradeType(const std::string &upgradeType);
|
||||
std::string getTsdbSpec() const;
|
||||
void setTsdbSpec(const std::string &tsdbSpec);
|
||||
std::string getFilestoreSpec() const;
|
||||
void setFilestoreSpec(const std::string &filestoreSpec);
|
||||
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 ®ionId);
|
||||
int getTsdbNum() const;
|
||||
void setTsdbNum(int tsdbNum);
|
||||
std::string getLindormSpec() const;
|
||||
void setLindormSpec(const std::string &lindormSpec);
|
||||
int getSolrNum() const;
|
||||
void setSolrNum(int solrNum);
|
||||
int getColdStorage() const;
|
||||
void setColdStorage(int coldStorage);
|
||||
std::string getSolrSpec() const;
|
||||
void setSolrSpec(const std::string &solrSpec);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
int getFilestoreNum() const;
|
||||
void setFilestoreNum(int filestoreNum);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getLindormNum() const;
|
||||
void setLindormNum(int lindormNum);
|
||||
std::string getCoreSpec() const;
|
||||
void setCoreSpec(const std::string &coreSpec);
|
||||
int getCoreNum() const;
|
||||
void setCoreNum(int coreNum);
|
||||
int getLtsCoreNum() const;
|
||||
void setLtsCoreNum(int ltsCoreNum);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getLtsCoreSpec() const;
|
||||
void setLtsCoreSpec(const std::string <sCoreSpec);
|
||||
int getClusterStorage() const;
|
||||
void setClusterStorage(int clusterStorage);
|
||||
std::string getZoneId() const;
|
||||
void setZoneId(const std::string &zoneId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
int phoenixCoreNum_;
|
||||
std::string phoenixCoreSpec_;
|
||||
std::string clientToken_;
|
||||
std::string upgradeType_;
|
||||
std::string tsdbSpec_;
|
||||
std::string filestoreSpec_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
int tsdbNum_;
|
||||
std::string lindormSpec_;
|
||||
int solrNum_;
|
||||
int coldStorage_;
|
||||
std::string solrSpec_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
int filestoreNum_;
|
||||
long ownerId_;
|
||||
int lindormNum_;
|
||||
std::string coreSpec_;
|
||||
int coreNum_;
|
||||
int ltsCoreNum_;
|
||||
std::string instanceId_;
|
||||
std::string ltsCoreSpec_;
|
||||
int clusterStorage_;
|
||||
std::string zoneId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Hitsdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_UPGRADELINDORMINSTANCEREQUEST_H_
|
||||
|
||||
@@ -267,6 +267,42 @@ HitsdbClient::GetLindormInstanceListOutcomeCallable HitsdbClient::getLindormInst
|
||||
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
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -303,6 +339,78 @@ HitsdbClient::ReleaseLindormInstanceOutcomeCallable HitsdbClient::releaseLindorm
|
||||
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
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -1,326 +1,270 @@
|
||||
/*
|
||||
* 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/CreateLindormInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::CreateLindormInstanceRequest;
|
||||
|
||||
CreateLindormInstanceRequest::CreateLindormInstanceRequest() :
|
||||
RpcServiceRequest("hitsdb", "2020-06-15", "CreateLindormInstance")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateLindormInstanceRequest::~CreateLindormInstanceRequest()
|
||||
{}
|
||||
|
||||
long CreateLindormInstanceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/CreateLindormInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::CreateLindormInstanceRequest;
|
||||
|
||||
CreateLindormInstanceRequest::CreateLindormInstanceRequest()
|
||||
: RpcServiceRequest("hitsdb", "2020-06-15", "CreateLindormInstance") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
CreateLindormInstanceRequest::~CreateLindormInstanceRequest() {}
|
||||
|
||||
long CreateLindormInstanceRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
std::string CreateLindormInstanceRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
void CreateLindormInstanceRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
std::string CreateLindormInstanceRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string CreateLindormInstanceRequest::getTsdbSpec()const
|
||||
{
|
||||
return tsdbSpec_;
|
||||
void CreateLindormInstanceRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setTsdbSpec(const std::string& tsdbSpec)
|
||||
{
|
||||
tsdbSpec_ = tsdbSpec;
|
||||
setParameter("TsdbSpec", tsdbSpec);
|
||||
std::string CreateLindormInstanceRequest::getTsdbSpec() const {
|
||||
return tsdbSpec_;
|
||||
}
|
||||
|
||||
std::string CreateLindormInstanceRequest::getFilestoreSpec()const
|
||||
{
|
||||
return filestoreSpec_;
|
||||
void CreateLindormInstanceRequest::setTsdbSpec(const std::string &tsdbSpec) {
|
||||
tsdbSpec_ = tsdbSpec;
|
||||
setParameter(std::string("TsdbSpec"), tsdbSpec);
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setFilestoreSpec(const std::string& filestoreSpec)
|
||||
{
|
||||
filestoreSpec_ = filestoreSpec;
|
||||
setParameter("FilestoreSpec", filestoreSpec);
|
||||
std::string CreateLindormInstanceRequest::getFilestoreSpec() const {
|
||||
return filestoreSpec_;
|
||||
}
|
||||
|
||||
std::string CreateLindormInstanceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void CreateLindormInstanceRequest::setFilestoreSpec(const std::string &filestoreSpec) {
|
||||
filestoreSpec_ = filestoreSpec;
|
||||
setParameter(std::string("FilestoreSpec"), filestoreSpec);
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string CreateLindormInstanceRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string CreateLindormInstanceRequest::getDuration()const
|
||||
{
|
||||
return duration_;
|
||||
void CreateLindormInstanceRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setDuration(const std::string& duration)
|
||||
{
|
||||
duration_ = duration;
|
||||
setParameter("Duration", duration);
|
||||
std::string CreateLindormInstanceRequest::getDuration() const {
|
||||
return duration_;
|
||||
}
|
||||
|
||||
std::string CreateLindormInstanceRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void CreateLindormInstanceRequest::setDuration(const std::string &duration) {
|
||||
duration_ = duration;
|
||||
setParameter(std::string("Duration"), duration);
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string CreateLindormInstanceRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string CreateLindormInstanceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void CreateLindormInstanceRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string CreateLindormInstanceRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
int CreateLindormInstanceRequest::getTsdbNum()const
|
||||
{
|
||||
return tsdbNum_;
|
||||
void CreateLindormInstanceRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setTsdbNum(int tsdbNum)
|
||||
{
|
||||
tsdbNum_ = tsdbNum;
|
||||
setParameter("TsdbNum", std::to_string(tsdbNum));
|
||||
int CreateLindormInstanceRequest::getTsdbNum() const {
|
||||
return tsdbNum_;
|
||||
}
|
||||
|
||||
std::string CreateLindormInstanceRequest::getDiskCategory()const
|
||||
{
|
||||
return diskCategory_;
|
||||
void CreateLindormInstanceRequest::setTsdbNum(int tsdbNum) {
|
||||
tsdbNum_ = tsdbNum;
|
||||
setParameter(std::string("TsdbNum"), std::to_string(tsdbNum));
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setDiskCategory(const std::string& diskCategory)
|
||||
{
|
||||
diskCategory_ = diskCategory;
|
||||
setParameter("DiskCategory", diskCategory);
|
||||
std::string CreateLindormInstanceRequest::getDiskCategory() const {
|
||||
return diskCategory_;
|
||||
}
|
||||
|
||||
std::string CreateLindormInstanceRequest::getLindormSpec()const
|
||||
{
|
||||
return lindormSpec_;
|
||||
void CreateLindormInstanceRequest::setDiskCategory(const std::string &diskCategory) {
|
||||
diskCategory_ = diskCategory;
|
||||
setParameter(std::string("DiskCategory"), diskCategory);
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setLindormSpec(const std::string& lindormSpec)
|
||||
{
|
||||
lindormSpec_ = lindormSpec;
|
||||
setParameter("LindormSpec", lindormSpec);
|
||||
std::string CreateLindormInstanceRequest::getLindormSpec() const {
|
||||
return lindormSpec_;
|
||||
}
|
||||
|
||||
int CreateLindormInstanceRequest::getSolrNum()const
|
||||
{
|
||||
return solrNum_;
|
||||
void CreateLindormInstanceRequest::setLindormSpec(const std::string &lindormSpec) {
|
||||
lindormSpec_ = lindormSpec;
|
||||
setParameter(std::string("LindormSpec"), lindormSpec);
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setSolrNum(int solrNum)
|
||||
{
|
||||
solrNum_ = solrNum;
|
||||
setParameter("SolrNum", std::to_string(solrNum));
|
||||
int CreateLindormInstanceRequest::getSolrNum() const {
|
||||
return solrNum_;
|
||||
}
|
||||
|
||||
int CreateLindormInstanceRequest::getColdStorage()const
|
||||
{
|
||||
return coldStorage_;
|
||||
void CreateLindormInstanceRequest::setSolrNum(int solrNum) {
|
||||
solrNum_ = solrNum;
|
||||
setParameter(std::string("SolrNum"), std::to_string(solrNum));
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setColdStorage(int coldStorage)
|
||||
{
|
||||
coldStorage_ = coldStorage;
|
||||
setParameter("ColdStorage", std::to_string(coldStorage));
|
||||
int CreateLindormInstanceRequest::getColdStorage() const {
|
||||
return coldStorage_;
|
||||
}
|
||||
|
||||
std::string CreateLindormInstanceRequest::getInstanceStorage()const
|
||||
{
|
||||
return instanceStorage_;
|
||||
void CreateLindormInstanceRequest::setColdStorage(int coldStorage) {
|
||||
coldStorage_ = coldStorage;
|
||||
setParameter(std::string("ColdStorage"), std::to_string(coldStorage));
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setInstanceStorage(const std::string& instanceStorage)
|
||||
{
|
||||
instanceStorage_ = instanceStorage;
|
||||
setParameter("InstanceStorage", instanceStorage);
|
||||
std::string CreateLindormInstanceRequest::getInstanceStorage() const {
|
||||
return instanceStorage_;
|
||||
}
|
||||
|
||||
std::string CreateLindormInstanceRequest::getSolrSpec()const
|
||||
{
|
||||
return solrSpec_;
|
||||
void CreateLindormInstanceRequest::setInstanceStorage(const std::string &instanceStorage) {
|
||||
instanceStorage_ = instanceStorage;
|
||||
setParameter(std::string("InstanceStorage"), instanceStorage);
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setSolrSpec(const std::string& solrSpec)
|
||||
{
|
||||
solrSpec_ = solrSpec;
|
||||
setParameter("SolrSpec", solrSpec);
|
||||
std::string CreateLindormInstanceRequest::getSolrSpec() const {
|
||||
return solrSpec_;
|
||||
}
|
||||
|
||||
std::string CreateLindormInstanceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
void CreateLindormInstanceRequest::setSolrSpec(const std::string &solrSpec) {
|
||||
solrSpec_ = solrSpec;
|
||||
setParameter(std::string("SolrSpec"), solrSpec);
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
std::string CreateLindormInstanceRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string CreateLindormInstanceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
void CreateLindormInstanceRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
std::string CreateLindormInstanceRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string CreateLindormInstanceRequest::getInstanceAlias()const
|
||||
{
|
||||
return instanceAlias_;
|
||||
void CreateLindormInstanceRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setInstanceAlias(const std::string& instanceAlias)
|
||||
{
|
||||
instanceAlias_ = instanceAlias;
|
||||
setParameter("InstanceAlias", instanceAlias);
|
||||
std::string CreateLindormInstanceRequest::getInstanceAlias() const {
|
||||
return instanceAlias_;
|
||||
}
|
||||
|
||||
int CreateLindormInstanceRequest::getFilestoreNum()const
|
||||
{
|
||||
return filestoreNum_;
|
||||
void CreateLindormInstanceRequest::setInstanceAlias(const std::string &instanceAlias) {
|
||||
instanceAlias_ = instanceAlias;
|
||||
setParameter(std::string("InstanceAlias"), instanceAlias);
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setFilestoreNum(int filestoreNum)
|
||||
{
|
||||
filestoreNum_ = filestoreNum;
|
||||
setParameter("FilestoreNum", std::to_string(filestoreNum));
|
||||
int CreateLindormInstanceRequest::getFilestoreNum() const {
|
||||
return filestoreNum_;
|
||||
}
|
||||
|
||||
long CreateLindormInstanceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void CreateLindormInstanceRequest::setFilestoreNum(int filestoreNum) {
|
||||
filestoreNum_ = filestoreNum;
|
||||
setParameter(std::string("FilestoreNum"), std::to_string(filestoreNum));
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long CreateLindormInstanceRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
int CreateLindormInstanceRequest::getLindormNum()const
|
||||
{
|
||||
return lindormNum_;
|
||||
void CreateLindormInstanceRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setLindormNum(int lindormNum)
|
||||
{
|
||||
lindormNum_ = lindormNum;
|
||||
setParameter("LindormNum", std::to_string(lindormNum));
|
||||
int CreateLindormInstanceRequest::getLindormNum() const {
|
||||
return lindormNum_;
|
||||
}
|
||||
|
||||
std::string CreateLindormInstanceRequest::getCoreSpec()const
|
||||
{
|
||||
return coreSpec_;
|
||||
void CreateLindormInstanceRequest::setLindormNum(int lindormNum) {
|
||||
lindormNum_ = lindormNum;
|
||||
setParameter(std::string("LindormNum"), std::to_string(lindormNum));
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setCoreSpec(const std::string& coreSpec)
|
||||
{
|
||||
coreSpec_ = coreSpec;
|
||||
setParameter("CoreSpec", coreSpec);
|
||||
std::string CreateLindormInstanceRequest::getCoreSpec() const {
|
||||
return coreSpec_;
|
||||
}
|
||||
|
||||
std::string CreateLindormInstanceRequest::getVSwitchId()const
|
||||
{
|
||||
return vSwitchId_;
|
||||
void CreateLindormInstanceRequest::setCoreSpec(const std::string &coreSpec) {
|
||||
coreSpec_ = coreSpec;
|
||||
setParameter(std::string("CoreSpec"), coreSpec);
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setVSwitchId(const std::string& vSwitchId)
|
||||
{
|
||||
vSwitchId_ = vSwitchId;
|
||||
setParameter("VSwitchId", vSwitchId);
|
||||
std::string CreateLindormInstanceRequest::getVSwitchId() const {
|
||||
return vSwitchId_;
|
||||
}
|
||||
|
||||
std::string CreateLindormInstanceRequest::getVPCId()const
|
||||
{
|
||||
return vPCId_;
|
||||
void CreateLindormInstanceRequest::setVSwitchId(const std::string &vSwitchId) {
|
||||
vSwitchId_ = vSwitchId;
|
||||
setParameter(std::string("VSwitchId"), vSwitchId);
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setVPCId(const std::string& vPCId)
|
||||
{
|
||||
vPCId_ = vPCId;
|
||||
setParameter("VPCId", vPCId);
|
||||
std::string CreateLindormInstanceRequest::getVPCId() const {
|
||||
return vPCId_;
|
||||
}
|
||||
|
||||
std::string CreateLindormInstanceRequest::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
void CreateLindormInstanceRequest::setVPCId(const std::string &vPCId) {
|
||||
vPCId_ = vPCId;
|
||||
setParameter(std::string("VPCId"), vPCId);
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
zoneId_ = zoneId;
|
||||
setParameter("ZoneId", zoneId);
|
||||
std::string CreateLindormInstanceRequest::getZoneId() const {
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
std::string CreateLindormInstanceRequest::getPayType()const
|
||||
{
|
||||
return payType_;
|
||||
void CreateLindormInstanceRequest::setZoneId(const std::string &zoneId) {
|
||||
zoneId_ = zoneId;
|
||||
setParameter(std::string("ZoneId"), zoneId);
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setPayType(const std::string& payType)
|
||||
{
|
||||
payType_ = payType;
|
||||
setParameter("PayType", payType);
|
||||
std::string CreateLindormInstanceRequest::getPayType() const {
|
||||
return payType_;
|
||||
}
|
||||
|
||||
std::string CreateLindormInstanceRequest::getPricingCycle()const
|
||||
{
|
||||
return pricingCycle_;
|
||||
void CreateLindormInstanceRequest::setPayType(const std::string &payType) {
|
||||
payType_ = payType;
|
||||
setParameter(std::string("PayType"), payType);
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setPricingCycle(const std::string& pricingCycle)
|
||||
{
|
||||
pricingCycle_ = pricingCycle;
|
||||
setParameter("PricingCycle", pricingCycle);
|
||||
std::string CreateLindormInstanceRequest::getPricingCycle() const {
|
||||
return pricingCycle_;
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setPricingCycle(const std::string &pricingCycle) {
|
||||
pricingCycle_ = pricingCycle;
|
||||
setParameter(std::string("PricingCycle"), pricingCycle);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,106 +1,90 @@
|
||||
/*
|
||||
* 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/DescribeRegionsRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::DescribeRegionsRequest;
|
||||
|
||||
DescribeRegionsRequest::DescribeRegionsRequest() :
|
||||
RpcServiceRequest("hitsdb", "2020-06-15", "DescribeRegions")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeRegionsRequest::~DescribeRegionsRequest()
|
||||
{}
|
||||
|
||||
long DescribeRegionsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/DescribeRegionsRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::DescribeRegionsRequest;
|
||||
|
||||
DescribeRegionsRequest::DescribeRegionsRequest()
|
||||
: RpcServiceRequest("hitsdb", "2020-06-15", "DescribeRegions") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeRegionsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
DescribeRegionsRequest::~DescribeRegionsRequest() {}
|
||||
|
||||
long DescribeRegionsRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
std::string DescribeRegionsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void DescribeRegionsRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DescribeRegionsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string DescribeRegionsRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DescribeRegionsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void DescribeRegionsRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void DescribeRegionsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string DescribeRegionsRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string DescribeRegionsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
void DescribeRegionsRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void DescribeRegionsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
std::string DescribeRegionsRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeRegionsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
void DescribeRegionsRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DescribeRegionsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
std::string DescribeRegionsRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
long DescribeRegionsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeRegionsRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
void DescribeRegionsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DescribeRegionsRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DescribeRegionsRequest::getAcceptLanguage()const
|
||||
{
|
||||
return acceptLanguage_;
|
||||
void DescribeRegionsRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DescribeRegionsRequest::setAcceptLanguage(const std::string& acceptLanguage)
|
||||
{
|
||||
acceptLanguage_ = acceptLanguage;
|
||||
setParameter("AcceptLanguage", acceptLanguage);
|
||||
std::string DescribeRegionsRequest::getAcceptLanguage() const {
|
||||
return acceptLanguage_;
|
||||
}
|
||||
|
||||
void DescribeRegionsRequest::setAcceptLanguage(const std::string &acceptLanguage) {
|
||||
acceptLanguage_ = acceptLanguage;
|
||||
setParameter(std::string("AcceptLanguage"), acceptLanguage);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,12 +43,12 @@ void DescribeRegionsResult::parse(const std::string &payload)
|
||||
for (auto valueRegionsRegion : allRegionsNode)
|
||||
{
|
||||
Region regionsObject;
|
||||
if(!valueRegionsRegion["RegionId"].isNull())
|
||||
regionsObject.regionId = valueRegionsRegion["RegionId"].asString();
|
||||
if(!valueRegionsRegion["LocalName"].isNull())
|
||||
regionsObject.localName = valueRegionsRegion["LocalName"].asString();
|
||||
if(!valueRegionsRegion["RegionEndpoint"].isNull())
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,117 +1,99 @@
|
||||
/*
|
||||
* 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/GetInstanceIpWhiteListRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::GetInstanceIpWhiteListRequest;
|
||||
|
||||
GetInstanceIpWhiteListRequest::GetInstanceIpWhiteListRequest() :
|
||||
RpcServiceRequest("hitsdb", "2020-06-15", "GetInstanceIpWhiteList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetInstanceIpWhiteListRequest::~GetInstanceIpWhiteListRequest()
|
||||
{}
|
||||
|
||||
long GetInstanceIpWhiteListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/GetInstanceIpWhiteListRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::GetInstanceIpWhiteListRequest;
|
||||
|
||||
GetInstanceIpWhiteListRequest::GetInstanceIpWhiteListRequest()
|
||||
: RpcServiceRequest("hitsdb", "2020-06-15", "GetInstanceIpWhiteList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetInstanceIpWhiteListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
GetInstanceIpWhiteListRequest::~GetInstanceIpWhiteListRequest() {}
|
||||
|
||||
long GetInstanceIpWhiteListRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
std::string GetInstanceIpWhiteListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void GetInstanceIpWhiteListRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void GetInstanceIpWhiteListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string GetInstanceIpWhiteListRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string GetInstanceIpWhiteListRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void GetInstanceIpWhiteListRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void GetInstanceIpWhiteListRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string GetInstanceIpWhiteListRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string GetInstanceIpWhiteListRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
void GetInstanceIpWhiteListRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void GetInstanceIpWhiteListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
std::string GetInstanceIpWhiteListRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string GetInstanceIpWhiteListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
void GetInstanceIpWhiteListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void GetInstanceIpWhiteListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
std::string GetInstanceIpWhiteListRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
long GetInstanceIpWhiteListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void GetInstanceIpWhiteListRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
void GetInstanceIpWhiteListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long GetInstanceIpWhiteListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string GetInstanceIpWhiteListRequest::getGroupName()const
|
||||
{
|
||||
return groupName_;
|
||||
void GetInstanceIpWhiteListRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void GetInstanceIpWhiteListRequest::setGroupName(const std::string& groupName)
|
||||
{
|
||||
groupName_ = groupName;
|
||||
setParameter("GroupName", groupName);
|
||||
std::string GetInstanceIpWhiteListRequest::getGroupName() const {
|
||||
return groupName_;
|
||||
}
|
||||
|
||||
std::string GetInstanceIpWhiteListRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void GetInstanceIpWhiteListRequest::setGroupName(const std::string &groupName) {
|
||||
groupName_ = groupName;
|
||||
setParameter(std::string("GroupName"), groupName);
|
||||
}
|
||||
|
||||
void GetInstanceIpWhiteListRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string GetInstanceIpWhiteListRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void GetInstanceIpWhiteListRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,117 +1,99 @@
|
||||
/*
|
||||
* 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/GetLindormInstanceEngineListRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::GetLindormInstanceEngineListRequest;
|
||||
|
||||
GetLindormInstanceEngineListRequest::GetLindormInstanceEngineListRequest() :
|
||||
RpcServiceRequest("hitsdb", "2020-06-15", "GetLindormInstanceEngineList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetLindormInstanceEngineListRequest::~GetLindormInstanceEngineListRequest()
|
||||
{}
|
||||
|
||||
long GetLindormInstanceEngineListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/GetLindormInstanceEngineListRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::GetLindormInstanceEngineListRequest;
|
||||
|
||||
GetLindormInstanceEngineListRequest::GetLindormInstanceEngineListRequest()
|
||||
: RpcServiceRequest("hitsdb", "2020-06-15", "GetLindormInstanceEngineList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetLindormInstanceEngineListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
GetLindormInstanceEngineListRequest::~GetLindormInstanceEngineListRequest() {}
|
||||
|
||||
long GetLindormInstanceEngineListRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceEngineListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void GetLindormInstanceEngineListRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void GetLindormInstanceEngineListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string GetLindormInstanceEngineListRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceEngineListRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void GetLindormInstanceEngineListRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void GetLindormInstanceEngineListRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string GetLindormInstanceEngineListRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceEngineListRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void GetLindormInstanceEngineListRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void GetLindormInstanceEngineListRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string GetLindormInstanceEngineListRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceEngineListRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
void GetLindormInstanceEngineListRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void GetLindormInstanceEngineListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
std::string GetLindormInstanceEngineListRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceEngineListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
void GetLindormInstanceEngineListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void GetLindormInstanceEngineListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
std::string GetLindormInstanceEngineListRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
long GetLindormInstanceEngineListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void GetLindormInstanceEngineListRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
void GetLindormInstanceEngineListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long GetLindormInstanceEngineListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceEngineListRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void GetLindormInstanceEngineListRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void GetLindormInstanceEngineListRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string GetLindormInstanceEngineListRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceEngineListRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -49,14 +49,14 @@ void GetLindormInstanceEngineListResult::parse(const std::string &payload)
|
||||
for (auto valueEngineListEngineInfoNetInfoListNetInfo : allNetInfoListNode)
|
||||
{
|
||||
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())
|
||||
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);
|
||||
}
|
||||
engineList_.push_back(engineListObject);
|
||||
|
||||
@@ -1,161 +1,149 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/GetLindormInstanceListRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::GetLindormInstanceListRequest;
|
||||
|
||||
GetLindormInstanceListRequest::GetLindormInstanceListRequest() :
|
||||
RpcServiceRequest("hitsdb", "2020-06-15", "GetLindormInstanceList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetLindormInstanceListRequest::~GetLindormInstanceListRequest()
|
||||
{}
|
||||
|
||||
long GetLindormInstanceListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/GetLindormInstanceListRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::GetLindormInstanceListRequest;
|
||||
|
||||
GetLindormInstanceListRequest::GetLindormInstanceListRequest()
|
||||
: RpcServiceRequest("hitsdb", "2020-06-15", "GetLindormInstanceList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
GetLindormInstanceListRequest::~GetLindormInstanceListRequest() {}
|
||||
|
||||
long GetLindormInstanceListRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
int GetLindormInstanceListRequest::getSupportEngine()const
|
||||
{
|
||||
return supportEngine_;
|
||||
void GetLindormInstanceListRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setSupportEngine(int supportEngine)
|
||||
{
|
||||
supportEngine_ = supportEngine;
|
||||
setParameter("SupportEngine", std::to_string(supportEngine));
|
||||
int GetLindormInstanceListRequest::getSupportEngine() const {
|
||||
return supportEngine_;
|
||||
}
|
||||
|
||||
int GetLindormInstanceListRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
void GetLindormInstanceListRequest::setSupportEngine(int supportEngine) {
|
||||
supportEngine_ = supportEngine;
|
||||
setParameter(std::string("SupportEngine"), std::to_string(supportEngine));
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
int GetLindormInstanceListRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void GetLindormInstanceListRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string GetLindormInstanceListRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceListRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void GetLindormInstanceListRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string GetLindormInstanceListRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceListRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void GetLindormInstanceListRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string GetLindormInstanceListRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
int GetLindormInstanceListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void GetLindormInstanceListRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int GetLindormInstanceListRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceListRequest::getQueryStr()const
|
||||
{
|
||||
return queryStr_;
|
||||
void GetLindormInstanceListRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setQueryStr(const std::string& queryStr)
|
||||
{
|
||||
queryStr_ = queryStr;
|
||||
setParameter("QueryStr", queryStr);
|
||||
std::vector<GetLindormInstanceListRequest::Tag> GetLindormInstanceListRequest::getTag() const {
|
||||
return tag_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceListRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
void GetLindormInstanceListRequest::setTag(const std::vector<GetLindormInstanceListRequest::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);
|
||||
}
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
std::string GetLindormInstanceListRequest::getQueryStr() const {
|
||||
return queryStr_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
void GetLindormInstanceListRequest::setQueryStr(const std::string &queryStr) {
|
||||
queryStr_ = queryStr;
|
||||
setParameter(std::string("QueryStr"), queryStr);
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
std::string GetLindormInstanceListRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
long GetLindormInstanceListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void GetLindormInstanceListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
std::string GetLindormInstanceListRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceListRequest::getServiceType()const
|
||||
{
|
||||
return serviceType_;
|
||||
void GetLindormInstanceListRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
void GetLindormInstanceListRequest::setServiceType(const std::string& serviceType)
|
||||
{
|
||||
serviceType_ = serviceType;
|
||||
setParameter("ServiceType", serviceType);
|
||||
long GetLindormInstanceListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
@@ -77,6 +77,16 @@ void GetLindormInstanceListResult::parse(const std::string &payload)
|
||||
instanceListObject.expiredMilliseconds = std::stol(valueInstanceListLindormInstanceSummary["ExpiredMilliseconds"].asString());
|
||||
if(!valueInstanceListLindormInstanceSummary["EnableStream"].isNull())
|
||||
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);
|
||||
}
|
||||
if(!value["PageNumber"].isNull())
|
||||
|
||||
@@ -1,117 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/GetLindormInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::GetLindormInstanceRequest;
|
||||
|
||||
GetLindormInstanceRequest::GetLindormInstanceRequest() :
|
||||
RpcServiceRequest("hitsdb", "2020-06-15", "GetLindormInstance")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetLindormInstanceRequest::~GetLindormInstanceRequest()
|
||||
{}
|
||||
|
||||
long GetLindormInstanceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/GetLindormInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::GetLindormInstanceRequest;
|
||||
|
||||
GetLindormInstanceRequest::GetLindormInstanceRequest()
|
||||
: RpcServiceRequest("hitsdb", "2020-06-15", "GetLindormInstance") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetLindormInstanceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
GetLindormInstanceRequest::~GetLindormInstanceRequest() {}
|
||||
|
||||
long GetLindormInstanceRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void GetLindormInstanceRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void GetLindormInstanceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string GetLindormInstanceRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void GetLindormInstanceRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void GetLindormInstanceRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string GetLindormInstanceRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void GetLindormInstanceRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void GetLindormInstanceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string GetLindormInstanceRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
void GetLindormInstanceRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void GetLindormInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
std::string GetLindormInstanceRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
void GetLindormInstanceRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void GetLindormInstanceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
std::string GetLindormInstanceRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
long GetLindormInstanceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void GetLindormInstanceRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
void GetLindormInstanceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long GetLindormInstanceRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string GetLindormInstanceRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void GetLindormInstanceRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void GetLindormInstanceRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string GetLindormInstanceRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void GetLindormInstanceRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -121,6 +121,8 @@ void GetLindormInstanceResult::parse(const std::string &payload)
|
||||
enableCdc_ = value["EnableCdc"].asString() == "true";
|
||||
if(!value["EnableStream"].isNull())
|
||||
enableStream_ = value["EnableStream"].asString() == "true";
|
||||
if(!value["EnableShs"].isNull())
|
||||
enableShs_ = value["EnableShs"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
@@ -159,6 +161,11 @@ bool GetLindormInstanceResult::getEnableFS()const
|
||||
return enableFS_;
|
||||
}
|
||||
|
||||
bool GetLindormInstanceResult::getEnableShs()const
|
||||
{
|
||||
return enableShs_;
|
||||
}
|
||||
|
||||
bool GetLindormInstanceResult::getEnableCompute()const
|
||||
{
|
||||
return enableCompute_;
|
||||
|
||||
130
hitsdb/src/model/ListTagResourcesRequest.cc
Normal file
130
hitsdb/src/model/ListTagResourcesRequest.cc
Normal 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 ®ionId) {
|
||||
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);
|
||||
}
|
||||
|
||||
76
hitsdb/src/model/ListTagResourcesResult.cc
Normal file
76
hitsdb/src/model/ListTagResourcesResult.cc
Normal 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_;
|
||||
}
|
||||
|
||||
@@ -1,106 +1,90 @@
|
||||
/*
|
||||
* 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/ReleaseLindormInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::ReleaseLindormInstanceRequest;
|
||||
|
||||
ReleaseLindormInstanceRequest::ReleaseLindormInstanceRequest() :
|
||||
RpcServiceRequest("hitsdb", "2020-06-15", "ReleaseLindormInstance")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ReleaseLindormInstanceRequest::~ReleaseLindormInstanceRequest()
|
||||
{}
|
||||
|
||||
long ReleaseLindormInstanceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/ReleaseLindormInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::ReleaseLindormInstanceRequest;
|
||||
|
||||
ReleaseLindormInstanceRequest::ReleaseLindormInstanceRequest()
|
||||
: RpcServiceRequest("hitsdb", "2020-06-15", "ReleaseLindormInstance") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void ReleaseLindormInstanceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
ReleaseLindormInstanceRequest::~ReleaseLindormInstanceRequest() {}
|
||||
|
||||
long ReleaseLindormInstanceRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
std::string ReleaseLindormInstanceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void ReleaseLindormInstanceRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void ReleaseLindormInstanceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string ReleaseLindormInstanceRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string ReleaseLindormInstanceRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void ReleaseLindormInstanceRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void ReleaseLindormInstanceRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string ReleaseLindormInstanceRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string ReleaseLindormInstanceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
void ReleaseLindormInstanceRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void ReleaseLindormInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
std::string ReleaseLindormInstanceRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string ReleaseLindormInstanceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
void ReleaseLindormInstanceRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void ReleaseLindormInstanceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
std::string ReleaseLindormInstanceRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
long ReleaseLindormInstanceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void ReleaseLindormInstanceRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
void ReleaseLindormInstanceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long ReleaseLindormInstanceRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string ReleaseLindormInstanceRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void ReleaseLindormInstanceRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void ReleaseLindormInstanceRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string ReleaseLindormInstanceRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ReleaseLindormInstanceRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
|
||||
112
hitsdb/src/model/TagResourcesRequest.cc
Normal file
112
hitsdb/src/model/TagResourcesRequest.cc
Normal 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);
|
||||
}
|
||||
|
||||
44
hitsdb/src/model/TagResourcesResult.cc
Normal file
44
hitsdb/src/model/TagResourcesResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/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());
|
||||
|
||||
}
|
||||
|
||||
115
hitsdb/src/model/UntagResourcesRequest.cc
Normal file
115
hitsdb/src/model/UntagResourcesRequest.cc
Normal 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;
|
||||
}
|
||||
|
||||
44
hitsdb/src/model/UntagResourcesResult.cc
Normal file
44
hitsdb/src/model/UntagResourcesResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/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());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,128 +1,108 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/UpdateInstanceIpWhiteListRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::UpdateInstanceIpWhiteListRequest;
|
||||
|
||||
UpdateInstanceIpWhiteListRequest::UpdateInstanceIpWhiteListRequest() :
|
||||
RpcServiceRequest("hitsdb", "2020-06-15", "UpdateInstanceIpWhiteList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateInstanceIpWhiteListRequest::~UpdateInstanceIpWhiteListRequest()
|
||||
{}
|
||||
|
||||
long UpdateInstanceIpWhiteListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/UpdateInstanceIpWhiteListRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::UpdateInstanceIpWhiteListRequest;
|
||||
|
||||
UpdateInstanceIpWhiteListRequest::UpdateInstanceIpWhiteListRequest()
|
||||
: RpcServiceRequest("hitsdb", "2020-06-15", "UpdateInstanceIpWhiteList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void UpdateInstanceIpWhiteListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
UpdateInstanceIpWhiteListRequest::~UpdateInstanceIpWhiteListRequest() {}
|
||||
|
||||
long UpdateInstanceIpWhiteListRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
std::string UpdateInstanceIpWhiteListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void UpdateInstanceIpWhiteListRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void UpdateInstanceIpWhiteListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string UpdateInstanceIpWhiteListRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string UpdateInstanceIpWhiteListRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void UpdateInstanceIpWhiteListRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void UpdateInstanceIpWhiteListRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string UpdateInstanceIpWhiteListRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string UpdateInstanceIpWhiteListRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
void UpdateInstanceIpWhiteListRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void UpdateInstanceIpWhiteListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
std::string UpdateInstanceIpWhiteListRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string UpdateInstanceIpWhiteListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
void UpdateInstanceIpWhiteListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void UpdateInstanceIpWhiteListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
std::string UpdateInstanceIpWhiteListRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
long UpdateInstanceIpWhiteListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void UpdateInstanceIpWhiteListRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
void UpdateInstanceIpWhiteListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long UpdateInstanceIpWhiteListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string UpdateInstanceIpWhiteListRequest::getGroupName()const
|
||||
{
|
||||
return groupName_;
|
||||
void UpdateInstanceIpWhiteListRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void UpdateInstanceIpWhiteListRequest::setGroupName(const std::string& groupName)
|
||||
{
|
||||
groupName_ = groupName;
|
||||
setParameter("GroupName", groupName);
|
||||
std::string UpdateInstanceIpWhiteListRequest::getGroupName() const {
|
||||
return groupName_;
|
||||
}
|
||||
|
||||
std::string UpdateInstanceIpWhiteListRequest::getSecurityIpList()const
|
||||
{
|
||||
return securityIpList_;
|
||||
void UpdateInstanceIpWhiteListRequest::setGroupName(const std::string &groupName) {
|
||||
groupName_ = groupName;
|
||||
setParameter(std::string("GroupName"), groupName);
|
||||
}
|
||||
|
||||
void UpdateInstanceIpWhiteListRequest::setSecurityIpList(const std::string& securityIpList)
|
||||
{
|
||||
securityIpList_ = securityIpList;
|
||||
setParameter("SecurityIpList", securityIpList);
|
||||
std::string UpdateInstanceIpWhiteListRequest::getSecurityIpList() const {
|
||||
return securityIpList_;
|
||||
}
|
||||
|
||||
std::string UpdateInstanceIpWhiteListRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void UpdateInstanceIpWhiteListRequest::setSecurityIpList(const std::string &securityIpList) {
|
||||
securityIpList_ = securityIpList;
|
||||
setParameter(std::string("SecurityIpList"), securityIpList);
|
||||
}
|
||||
|
||||
void UpdateInstanceIpWhiteListRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string UpdateInstanceIpWhiteListRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void UpdateInstanceIpWhiteListRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,326 +1,270 @@
|
||||
/*
|
||||
* 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/UpgradeLindormInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::UpgradeLindormInstanceRequest;
|
||||
|
||||
UpgradeLindormInstanceRequest::UpgradeLindormInstanceRequest() :
|
||||
RpcServiceRequest("hitsdb", "2020-06-15", "UpgradeLindormInstance")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpgradeLindormInstanceRequest::~UpgradeLindormInstanceRequest()
|
||||
{}
|
||||
|
||||
long UpgradeLindormInstanceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/UpgradeLindormInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::UpgradeLindormInstanceRequest;
|
||||
|
||||
UpgradeLindormInstanceRequest::UpgradeLindormInstanceRequest()
|
||||
: RpcServiceRequest("hitsdb", "2020-06-15", "UpgradeLindormInstance") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
UpgradeLindormInstanceRequest::~UpgradeLindormInstanceRequest() {}
|
||||
|
||||
long UpgradeLindormInstanceRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
int UpgradeLindormInstanceRequest::getPhoenixCoreNum()const
|
||||
{
|
||||
return phoenixCoreNum_;
|
||||
void UpgradeLindormInstanceRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setPhoenixCoreNum(int phoenixCoreNum)
|
||||
{
|
||||
phoenixCoreNum_ = phoenixCoreNum;
|
||||
setParameter("PhoenixCoreNum", std::to_string(phoenixCoreNum));
|
||||
int UpgradeLindormInstanceRequest::getPhoenixCoreNum() const {
|
||||
return phoenixCoreNum_;
|
||||
}
|
||||
|
||||
std::string UpgradeLindormInstanceRequest::getPhoenixCoreSpec()const
|
||||
{
|
||||
return phoenixCoreSpec_;
|
||||
void UpgradeLindormInstanceRequest::setPhoenixCoreNum(int phoenixCoreNum) {
|
||||
phoenixCoreNum_ = phoenixCoreNum;
|
||||
setParameter(std::string("PhoenixCoreNum"), std::to_string(phoenixCoreNum));
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setPhoenixCoreSpec(const std::string& phoenixCoreSpec)
|
||||
{
|
||||
phoenixCoreSpec_ = phoenixCoreSpec;
|
||||
setParameter("PhoenixCoreSpec", phoenixCoreSpec);
|
||||
std::string UpgradeLindormInstanceRequest::getPhoenixCoreSpec() const {
|
||||
return phoenixCoreSpec_;
|
||||
}
|
||||
|
||||
std::string UpgradeLindormInstanceRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
void UpgradeLindormInstanceRequest::setPhoenixCoreSpec(const std::string &phoenixCoreSpec) {
|
||||
phoenixCoreSpec_ = phoenixCoreSpec;
|
||||
setParameter(std::string("PhoenixCoreSpec"), phoenixCoreSpec);
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
std::string UpgradeLindormInstanceRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string UpgradeLindormInstanceRequest::getUpgradeType()const
|
||||
{
|
||||
return upgradeType_;
|
||||
void UpgradeLindormInstanceRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setUpgradeType(const std::string& upgradeType)
|
||||
{
|
||||
upgradeType_ = upgradeType;
|
||||
setParameter("UpgradeType", upgradeType);
|
||||
std::string UpgradeLindormInstanceRequest::getUpgradeType() const {
|
||||
return upgradeType_;
|
||||
}
|
||||
|
||||
std::string UpgradeLindormInstanceRequest::getTsdbSpec()const
|
||||
{
|
||||
return tsdbSpec_;
|
||||
void UpgradeLindormInstanceRequest::setUpgradeType(const std::string &upgradeType) {
|
||||
upgradeType_ = upgradeType;
|
||||
setParameter(std::string("UpgradeType"), upgradeType);
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setTsdbSpec(const std::string& tsdbSpec)
|
||||
{
|
||||
tsdbSpec_ = tsdbSpec;
|
||||
setParameter("TsdbSpec", tsdbSpec);
|
||||
std::string UpgradeLindormInstanceRequest::getTsdbSpec() const {
|
||||
return tsdbSpec_;
|
||||
}
|
||||
|
||||
std::string UpgradeLindormInstanceRequest::getFilestoreSpec()const
|
||||
{
|
||||
return filestoreSpec_;
|
||||
void UpgradeLindormInstanceRequest::setTsdbSpec(const std::string &tsdbSpec) {
|
||||
tsdbSpec_ = tsdbSpec;
|
||||
setParameter(std::string("TsdbSpec"), tsdbSpec);
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setFilestoreSpec(const std::string& filestoreSpec)
|
||||
{
|
||||
filestoreSpec_ = filestoreSpec;
|
||||
setParameter("FilestoreSpec", filestoreSpec);
|
||||
std::string UpgradeLindormInstanceRequest::getFilestoreSpec() const {
|
||||
return filestoreSpec_;
|
||||
}
|
||||
|
||||
std::string UpgradeLindormInstanceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void UpgradeLindormInstanceRequest::setFilestoreSpec(const std::string &filestoreSpec) {
|
||||
filestoreSpec_ = filestoreSpec;
|
||||
setParameter(std::string("FilestoreSpec"), filestoreSpec);
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string UpgradeLindormInstanceRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string UpgradeLindormInstanceRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void UpgradeLindormInstanceRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string UpgradeLindormInstanceRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string UpgradeLindormInstanceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void UpgradeLindormInstanceRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string UpgradeLindormInstanceRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
int UpgradeLindormInstanceRequest::getTsdbNum()const
|
||||
{
|
||||
return tsdbNum_;
|
||||
void UpgradeLindormInstanceRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setTsdbNum(int tsdbNum)
|
||||
{
|
||||
tsdbNum_ = tsdbNum;
|
||||
setParameter("TsdbNum", std::to_string(tsdbNum));
|
||||
int UpgradeLindormInstanceRequest::getTsdbNum() const {
|
||||
return tsdbNum_;
|
||||
}
|
||||
|
||||
std::string UpgradeLindormInstanceRequest::getLindormSpec()const
|
||||
{
|
||||
return lindormSpec_;
|
||||
void UpgradeLindormInstanceRequest::setTsdbNum(int tsdbNum) {
|
||||
tsdbNum_ = tsdbNum;
|
||||
setParameter(std::string("TsdbNum"), std::to_string(tsdbNum));
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setLindormSpec(const std::string& lindormSpec)
|
||||
{
|
||||
lindormSpec_ = lindormSpec;
|
||||
setParameter("LindormSpec", lindormSpec);
|
||||
std::string UpgradeLindormInstanceRequest::getLindormSpec() const {
|
||||
return lindormSpec_;
|
||||
}
|
||||
|
||||
int UpgradeLindormInstanceRequest::getSolrNum()const
|
||||
{
|
||||
return solrNum_;
|
||||
void UpgradeLindormInstanceRequest::setLindormSpec(const std::string &lindormSpec) {
|
||||
lindormSpec_ = lindormSpec;
|
||||
setParameter(std::string("LindormSpec"), lindormSpec);
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setSolrNum(int solrNum)
|
||||
{
|
||||
solrNum_ = solrNum;
|
||||
setParameter("SolrNum", std::to_string(solrNum));
|
||||
int UpgradeLindormInstanceRequest::getSolrNum() const {
|
||||
return solrNum_;
|
||||
}
|
||||
|
||||
int UpgradeLindormInstanceRequest::getColdStorage()const
|
||||
{
|
||||
return coldStorage_;
|
||||
void UpgradeLindormInstanceRequest::setSolrNum(int solrNum) {
|
||||
solrNum_ = solrNum;
|
||||
setParameter(std::string("SolrNum"), std::to_string(solrNum));
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setColdStorage(int coldStorage)
|
||||
{
|
||||
coldStorage_ = coldStorage;
|
||||
setParameter("ColdStorage", std::to_string(coldStorage));
|
||||
int UpgradeLindormInstanceRequest::getColdStorage() const {
|
||||
return coldStorage_;
|
||||
}
|
||||
|
||||
std::string UpgradeLindormInstanceRequest::getSolrSpec()const
|
||||
{
|
||||
return solrSpec_;
|
||||
void UpgradeLindormInstanceRequest::setColdStorage(int coldStorage) {
|
||||
coldStorage_ = coldStorage;
|
||||
setParameter(std::string("ColdStorage"), std::to_string(coldStorage));
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setSolrSpec(const std::string& solrSpec)
|
||||
{
|
||||
solrSpec_ = solrSpec;
|
||||
setParameter("SolrSpec", solrSpec);
|
||||
std::string UpgradeLindormInstanceRequest::getSolrSpec() const {
|
||||
return solrSpec_;
|
||||
}
|
||||
|
||||
std::string UpgradeLindormInstanceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
void UpgradeLindormInstanceRequest::setSolrSpec(const std::string &solrSpec) {
|
||||
solrSpec_ = solrSpec;
|
||||
setParameter(std::string("SolrSpec"), solrSpec);
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
std::string UpgradeLindormInstanceRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string UpgradeLindormInstanceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
void UpgradeLindormInstanceRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
std::string UpgradeLindormInstanceRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
int UpgradeLindormInstanceRequest::getFilestoreNum()const
|
||||
{
|
||||
return filestoreNum_;
|
||||
void UpgradeLindormInstanceRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setFilestoreNum(int filestoreNum)
|
||||
{
|
||||
filestoreNum_ = filestoreNum;
|
||||
setParameter("FilestoreNum", std::to_string(filestoreNum));
|
||||
int UpgradeLindormInstanceRequest::getFilestoreNum() const {
|
||||
return filestoreNum_;
|
||||
}
|
||||
|
||||
long UpgradeLindormInstanceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void UpgradeLindormInstanceRequest::setFilestoreNum(int filestoreNum) {
|
||||
filestoreNum_ = filestoreNum;
|
||||
setParameter(std::string("FilestoreNum"), std::to_string(filestoreNum));
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long UpgradeLindormInstanceRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
int UpgradeLindormInstanceRequest::getLindormNum()const
|
||||
{
|
||||
return lindormNum_;
|
||||
void UpgradeLindormInstanceRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setLindormNum(int lindormNum)
|
||||
{
|
||||
lindormNum_ = lindormNum;
|
||||
setParameter("LindormNum", std::to_string(lindormNum));
|
||||
int UpgradeLindormInstanceRequest::getLindormNum() const {
|
||||
return lindormNum_;
|
||||
}
|
||||
|
||||
std::string UpgradeLindormInstanceRequest::getCoreSpec()const
|
||||
{
|
||||
return coreSpec_;
|
||||
void UpgradeLindormInstanceRequest::setLindormNum(int lindormNum) {
|
||||
lindormNum_ = lindormNum;
|
||||
setParameter(std::string("LindormNum"), std::to_string(lindormNum));
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setCoreSpec(const std::string& coreSpec)
|
||||
{
|
||||
coreSpec_ = coreSpec;
|
||||
setParameter("CoreSpec", coreSpec);
|
||||
std::string UpgradeLindormInstanceRequest::getCoreSpec() const {
|
||||
return coreSpec_;
|
||||
}
|
||||
|
||||
int UpgradeLindormInstanceRequest::getCoreNum()const
|
||||
{
|
||||
return coreNum_;
|
||||
void UpgradeLindormInstanceRequest::setCoreSpec(const std::string &coreSpec) {
|
||||
coreSpec_ = coreSpec;
|
||||
setParameter(std::string("CoreSpec"), coreSpec);
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setCoreNum(int coreNum)
|
||||
{
|
||||
coreNum_ = coreNum;
|
||||
setParameter("CoreNum", std::to_string(coreNum));
|
||||
int UpgradeLindormInstanceRequest::getCoreNum() const {
|
||||
return coreNum_;
|
||||
}
|
||||
|
||||
int UpgradeLindormInstanceRequest::getLtsCoreNum()const
|
||||
{
|
||||
return ltsCoreNum_;
|
||||
void UpgradeLindormInstanceRequest::setCoreNum(int coreNum) {
|
||||
coreNum_ = coreNum;
|
||||
setParameter(std::string("CoreNum"), std::to_string(coreNum));
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setLtsCoreNum(int ltsCoreNum)
|
||||
{
|
||||
ltsCoreNum_ = ltsCoreNum;
|
||||
setParameter("LtsCoreNum", std::to_string(ltsCoreNum));
|
||||
int UpgradeLindormInstanceRequest::getLtsCoreNum() const {
|
||||
return ltsCoreNum_;
|
||||
}
|
||||
|
||||
std::string UpgradeLindormInstanceRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void UpgradeLindormInstanceRequest::setLtsCoreNum(int ltsCoreNum) {
|
||||
ltsCoreNum_ = ltsCoreNum;
|
||||
setParameter(std::string("LtsCoreNum"), std::to_string(ltsCoreNum));
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string UpgradeLindormInstanceRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string UpgradeLindormInstanceRequest::getLtsCoreSpec()const
|
||||
{
|
||||
return ltsCoreSpec_;
|
||||
void UpgradeLindormInstanceRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setLtsCoreSpec(const std::string& ltsCoreSpec)
|
||||
{
|
||||
ltsCoreSpec_ = ltsCoreSpec;
|
||||
setParameter("LtsCoreSpec", ltsCoreSpec);
|
||||
std::string UpgradeLindormInstanceRequest::getLtsCoreSpec() const {
|
||||
return ltsCoreSpec_;
|
||||
}
|
||||
|
||||
int UpgradeLindormInstanceRequest::getClusterStorage()const
|
||||
{
|
||||
return clusterStorage_;
|
||||
void UpgradeLindormInstanceRequest::setLtsCoreSpec(const std::string <sCoreSpec) {
|
||||
ltsCoreSpec_ = ltsCoreSpec;
|
||||
setParameter(std::string("LtsCoreSpec"), ltsCoreSpec);
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setClusterStorage(int clusterStorage)
|
||||
{
|
||||
clusterStorage_ = clusterStorage;
|
||||
setParameter("ClusterStorage", std::to_string(clusterStorage));
|
||||
int UpgradeLindormInstanceRequest::getClusterStorage() const {
|
||||
return clusterStorage_;
|
||||
}
|
||||
|
||||
std::string UpgradeLindormInstanceRequest::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
void UpgradeLindormInstanceRequest::setClusterStorage(int clusterStorage) {
|
||||
clusterStorage_ = clusterStorage;
|
||||
setParameter(std::string("ClusterStorage"), std::to_string(clusterStorage));
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
zoneId_ = zoneId;
|
||||
setParameter("ZoneId", zoneId);
|
||||
std::string UpgradeLindormInstanceRequest::getZoneId() const {
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
void UpgradeLindormInstanceRequest::setZoneId(const std::string &zoneId) {
|
||||
zoneId_ = zoneId;
|
||||
setParameter(std::string("ZoneId"), zoneId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user